Skill release method, device and equipment in game and storage medium
By responding to the second touch operation and long-press sliding operation of the skill control in the game interface, the skill combination is determined and cast, which solves the problem of inconvenient skill casting in portrait mode and improves the accuracy and convenience of operation.
Patent Information
- Application Number
- CN202410693281.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-08-30
AI Technical Summary
When the game scene in landscape mode is converted to portrait mode, the layout change of skill controls makes it difficult for users to quickly click and cast skill combinations with one hand, causing inconvenient operation and low accuracy.
Determine the target skill combination by responding to the second touch operation of multiple skill controls in the graphical user interface, and control the controlled virtual character to cast the skill of the combination at the end of the second touch operation, using the first long press and slide The combination of operations optimizes the casting of skill combinations.
It realizes the quick and accurate casting of skill combinations in vertical screen mode, improves the user's operational convenience and flexibility, reduces the cost of one-handed operation, and improves the gaming experience.
Smart Images

Figure CN118557970A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game technology, and in particular to a skill casting method in a game, a skill casting device in a game, a corresponding electronic device, and a corresponding computer-readable storage medium. Background Art
[0002] The game scenes provided by the graphical user interface may involve game scenes in a horizontal screen mode and game scenes in a vertical screen mode.
[0003] Among them, when the game scene in horizontal screen mode is converted to that in vertical screen mode, the layout of the skill controls on the graphical user interface is changed, resulting in the user's control space not allowing two-handed operation. Due to the condition of one-handed holding, the input accuracy of the game skills is required to be high, and it is difficult to achieve rapid clicking of the skill controls with one hand in a short period of time. The inconvenience of game operation can easily lead to the continuous casting of skill combinations. Summary of the invention
[0004] In view of the above problems, embodiments of the present invention are proposed to provide a method for casting skills in a game, a device for casting skills in a game, a corresponding electronic device, and a corresponding computer-readable storage medium that overcome the above problems or at least partially solve the above problems.
[0005] The embodiment of the present invention discloses a method for casting a skill in a game, and provides a graphical user interface through a terminal device. The method includes:
[0006] Displaying a game scene in a vertical screen mode in the graphical user interface, wherein the game scene includes a controlled virtual character, and the controlled virtual character is configured with a plurality of game skills;
[0007] Displaying skill controls corresponding to the plurality of game skills in the graphical user interface, wherein the skill controls are configured to control the controlled virtual character to perform the corresponding game skills in the game scene in response to a first touch operation;
[0008] In response to a second touch operation on the plurality of skill controls, determining a target skill combination from the game skills corresponding to the plurality of skill controls according to the second touch operation, wherein the target skill combination includes at least part of the game skills corresponding to the plurality of skill controls;
[0009] In response to the second touch operation ending, the controlled virtual character is controlled to perform the game skill corresponding to the target skill combination in the game scene.
[0010] The embodiment of the present invention further discloses a skill casting device in a game, which provides a graphical user interface through a terminal device, and the device includes:
[0011] A game scene display module, used to display a game scene in a vertical screen mode in the graphical user interface, wherein the game scene includes a controlled virtual character, and the controlled virtual character is configured with multiple game skills;
[0012] A skill control display module, used for displaying skill controls corresponding to the plurality of game skills in the graphical user interface, wherein the skill controls are configured to control the controlled virtual character to perform the corresponding game skills in the game scene in response to a first touch operation;
[0013] a skill combination determination module, configured to respond to a second touch operation on the plurality of skill controls, and determine a target skill combination from the game skills corresponding to the plurality of skill controls according to the second touch operation, wherein the target skill combination includes at least part of the game skills corresponding to the plurality of skill controls;
[0014] The game skill casting module is used to control the controlled virtual character to cast the game skill corresponding to the target skill combination in the game scene in response to the end of the second touch operation.
[0015] An embodiment of the present invention further discloses an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, any one of the skill casting methods in the game is implemented.
[0016] The embodiment of the present invention further discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the skill casting method in any one of the games is implemented.
[0017] The embodiments of the present invention include the following advantages:
[0018] In an embodiment of the present invention, a graphical user interface provided by a terminal device can display a game scene in portrait mode. Skill controls corresponding to multiple game skills displayed in the graphical user interface can be configured to control a controlled virtual character to cast corresponding game skills in the game scene in portrait mode in response to a first touch operation. A target skill combination can also be determined from the game skills corresponding to the multiple skill controls according to the second touch operation in response to a second touch operation on the multiple skill controls. The determined target skill combination may include at least part of the game skills corresponding to the multiple skill controls. When the second touch operation ends, the controlled virtual character can be controlled to cast the game skills corresponding to the target skill combination in the game scene in portrait mode, thereby realizing the casting of the skill combination of the controlled virtual character in the game scene in portrait mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flow chart of steps of an embodiment of a skill casting method in a game of the present invention;
[0020] Figure 2 This is a schematic diagram of a sliding line body technique provided by an embodiment of the present invention;
[0021] FIG. 3A to FIG. 3B This is a schematic diagram of skill casting in a game provided by an embodiment of the present invention;
[0022] Figure 4 is another schematic diagram of skill casting in a game provided by an embodiment of the present invention;
[0023] Figure 5 is a schematic diagram of a skill control provided by an embodiment of the present invention being transformed into a touch-end control;
[0024] Figure 6 This is another schematic diagram of skill casting in a game provided by an embodiment of the present invention;
[0025] Figure 7 This is another schematic diagram of skill casting in a game provided by an embodiment of the present invention;
[0026] Figure 8 It is a structural block diagram of an embodiment of a skill casting device in a game of the present invention. DETAILED DESCRIPTION
[0027] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] Landscape mode and portrait mode refer to two different display directions of the terminal / display device. For game scenes in landscape mode, it can usually provide a wider field of view, which is suitable for games that require a wide scene, such as racing, shooting, strategy games, MMO (Massively Multiplayer Online) games, etc., and the game elements and interface design focus on horizontal layout, which can display more horizontal space information. For example, skill controls are usually arranged on both sides of the screen and / or directly below the screen, so that users can control the controlled virtual characters in the game scene; for game scenes in portrait mode, it can usually provide a vertical field of view, which is suitable for games that require depth or layering, such as role-playing, puzzle, tower defense games, etc., and the game elements and interface design focus on vertical layout, which usually requires players to slide up and down. At this time, the skill controls are usually concentrated at the bottom of the screen, and its control space does not allow two-handed operation, which is only suitable for one-handed operation.
[0029] If a game scene suitable for landscape mode is converted to portrait mode, as an example, an MMO game is converted from landscape mode to portrait mode. In landscape mode, the area for displaying multiple skill controls makes it convenient for users to control the controlled virtual character with both hands, and quick clicks on the skill controls can be achieved in a short time. However, in portrait mode, as the display area of the skill controls on the graphical user interface changes, the control space is not conducive to controlling the skill controls with both hands. When the skill controls are controlled by one hand, it is difficult to achieve quick clicks on the skill controls with one hand in a short time. Moreover, for MMO games, the usual output method is the skill combination casting method, which is specifically manifested in that the user clicks the skill controls of the corresponding game skills in a certain order to output skill combos. However, under the limitations of one-handed holding and one-handed control, the accuracy of clicking on the controls for skill combination casting is required to be high, which leads to a high cost of user click errors, which is not conducive to the user's gaming experience. In addition, the casting of certain game skills in MMO games will be accompanied by a certain cool-down time (Cool Down Time, referred to as CD), that is, there is an interval between the casting of some game skills and the next time the game skills are allowed to be used. Based on this, when the user casts the game skill, he or she needs to put extra energy into observing and judging the currently available game skills, and may also require precise clicking on the currently available game skills. The user's operating flexibility is subject to certain restrictions and the operation difficulty is relatively high.
[0030] As another example, after switching a shooting game from landscape mode to portrait mode, the portrait mode shooting game needs to simplify the operation path because it needs to meet the requirements of one-handed operation. However, in the portrait mode battle, it is difficult to complete the physical operation in the landscape shooting experience by clicking multiple skill controls with one hand multiple times. Taking the sliding jump operation as an example, the operation path in the landscape shooting experience is: squat skill control → jump skill control, that is, two click operations are required. However, in the landscape shooting experience, it is based on two-handed click control, and the timing of the click control can be relatively close. In the portrait shooting experience, since it is a one-handed operation, the timing requirements for two clicks with one hand are more stringent, and the operation cost is high, making it difficult to restore the landscape shooting experience.
[0031] In summary, when the game scene in landscape mode is converted to portrait mode, the layout of the skill controls in portrait mode is not conducive to the casting of skills in the game, especially the casting of skill combinations.
[0032] An embodiment of the present invention can respond to a second touch operation on multiple skill controls, and determine a target skill combination from the game skills corresponding to the multiple skill controls according to the second touch operation. The determined target skill combination may include at least part of the game skills corresponding to the multiple skill controls. When the second touch operation ends, the controlled virtual character can be controlled to cast the game skills corresponding to the target skill combination in the game scene in the portrait mode, thereby realizing the casting of the skill combination of the controlled virtual character in the game scene in the portrait mode.
[0033] Reference Figure 1 , shows a flowchart of a method for casting a skill in a game according to an embodiment of the present invention, wherein a graphical user interface is provided by a terminal device, and specifically the following steps may be included:
[0034] Step 101, displaying a game scene in a vertical screen mode in a graphical user interface;
[0035] The graphical user interface provided by the terminal device can display game scenes in portrait mode or landscape mode. For MMO games, shooting games and other games that were originally suitable for landscape mode, there may be a demand for a portrait experience. At this time, the landscape mode game scene displayed in the graphical user interface can be switched / converted to a portrait mode game scene.
[0036] Specifically, before switching / converting, a game scene in landscape mode can be displayed in the graphical user interface, and skill controls corresponding to multiple game skills can be displayed in the first area of the graphical user interface; when there is a need for a portrait screen experience, the landscape mode can be switched to portrait mode in response to a mode switching instruction, and the step of displaying the game scene in portrait mode in the graphical user interface can be executed.
[0037] Step 102, displaying skill controls corresponding to a plurality of game skills in a graphical user interface;
[0038] In a game scene in landscape mode, the first area used to display multiple skill controls can usually be an area located on both sides of the screen and / or directly below the screen, which is conducive to providing users with a control space for two-handed operation. In the case of converting a game scene in landscape mode to a game scene in portrait mode, the layout of the skill controls on the graphical user interface is changed, which is specifically manifested in displaying skill controls corresponding to multiple game skills in the second area of the graphical user interface. At this time, the second area used to display multiple skill controls can be concentrated at the bottom of the screen, and its control space does not allow two-handed operation and is only suitable for one-handed operation.
[0039] Among them, the multiple skill controls displayed can correspond to different game skills respectively, and the multiple game skills are mainly configured for the controlled virtual characters included in the game scene, that is, the game scene includes a controlled virtual character, the controlled virtual character is configured with multiple game skills, and the skill controls configured for the controlled virtual character can be configured to respond to the first touch operation to control the controlled virtual character to perform the corresponding game skills in the game scene.
[0040] Step 103, responding to a second touch operation on the multiple skill controls, determining a target skill combination from the game skills corresponding to the multiple skill controls according to the second touch operation;
[0041] Step 104, in response to the second touch operation ending, controlling the controlled virtual character to perform the game skill corresponding to the target skill combination in the game scene.
[0042] Users are limited by the control space of the portrait mode, and the touch operations of the users on the multiple skill controls displayed on the graphical user interface are usually performed with one hand, specifically, with a single finger.
[0043] In one embodiment of the present invention, the first touch operation on the skill control can be expressed as a single-finger click operation; the second touch operation on multiple skill controls can be expressed as a single-finger continuous click operation. In order to avoid the problem of discontinuous triggering timing caused by the continuous click operation of a single finger, the continuous click operation can be a click operation and a continuous sliding operation after the aforementioned click operation.
[0044] In actual applications, a second touch operation for multiple skill controls can be responded to, and a target skill combination can be determined from the game skills corresponding to the multiple skill controls according to the second touch operation, wherein the target skill combination includes at least part of the game skills corresponding to the multiple skill controls, thereby achieving the casting of multiple game skills in the game scene in the portrait mode with one hand in a short time, which is conducive to the output of combos in the portrait game. Specifically, it can be manifested as responding to the end of the second touch operation, controlling the controlled virtual character to cast the game skills corresponding to the target skill combination in the game scene, and achieving the casting of the game skills corresponding to some or all of the skill controls.
[0045] In an embodiment of the present invention, the second touch operation can be expressed as a continuous click operation of a single finger. The continuous click operation can be a click operation and a continuous sliding operation after the aforementioned click operation. The click operation can specifically be expressed as a long press operation. The long press operation can involve a first long press operation and a second long press operation, wherein the first long press operation and the second long press operation can be distinguished and defined based on the touch strength of the single-finger touch operation.
[0046] Specifically, the touch force can be mainly determined based on the touch area of the single-finger touch operation. At this time, different operation instructions can be identified by the size of the touch area. Different operation instructions can be identified by the size of the touch area. The touch area can be used as a variable as input to trigger different operation instructions, which is convenient for the subsequent use of different game skills. Exemplarily, a click operation with a touch area less than a preset area threshold and a touch duration exceeding a preset duration can be defined as a first long press operation, that is, the initial touch force of the click operation at this time is a normal screen press force; a click operation with a touch area reaching a preset area threshold and a touch duration exceeding a preset duration can be defined as a second long press operation, that is, the initial touch force of the click operation at this time is a larger screen press force.
[0047] It should be noted that there may be an association / correspondence between touch force and touch area, that is, the size of a touch area can be used to measure a certain degree of touch force, and the embodiments of the present invention do not limit the establishment of a specific corresponding relationship; and, for the preset area threshold, it can be determined based on the division of the corresponding touch area sizes in the aforementioned established corresponding relationship, and the embodiments of the present invention do not limit this either.
[0048] In some embodiments of the present invention, when the second touch operation is a first long press operation and a continuous sliding operation after the first long press operation, the step 103, in response to the second touch operation on the multiple skill controls, determines a target skill combination from the game skills corresponding to the multiple skill controls according to the second touch operation, including:
[0049] In response to the first long press operation on any skill control, the sliding skill selection mode is activated; in the sliding skill selection mode, in response to the sliding operation on at least one skill control, a target skill combination is determined from the game skills corresponding to multiple skill controls according to the sliding operation.
[0050] Specifically, the slide-to-select skill mode may be used to indicate a slide touch / slide input to a skill control.
[0051] It should be noted that the technical concept of sliding touch can be borrowed from the sliding input function of the keyboard. The sliding input function of the keyboard is mainly manifested in using one-handed fast sliding from one letter to the next to type words. In the above process, the letters that the user wants to input can be accurately identified without lifting the finger, and will not be disturbed by the letters touched along the way.
[0052] In one embodiment of the present invention, in the sliding skill selection mode, the skill control can be slid and touched to achieve the selection of the corresponding game skill. At this time, when the functional state of the intelligent combo judgment function is in an inactivated state, at least part of the target skill controls corresponding to at least part of the game skills that have a skill combination relationship with the game skills corresponding to the skill control acted upon by the first long press operation can display a time mark, and the displayed time mark can be used to indicate the skill combination trigger time. Then, within the skill combination trigger time, a sliding operation can be responded to on at least one target skill control, and the game skill corresponding to the skill control acted upon by the first long press operation and the game skill corresponding to at least one target skill control acted upon by the sliding operation can be combined to obtain a target skill combination.
[0053] Optionally, the skill controls that are ultimately affected by the sliding operation may be transformed into skill combination controls corresponding to the target skill combination, so as to provide feedback of the target skill combination to the user.
[0054] In practical applications, a certain range sensing area can be set for each skill control. Taking shooting games as an example, skill controls can be expressed as action controls, such as Figure 2 As shown, three action controls can be displayed on the graphical user interface, such as a squatting action control, a jumping action control, and a lying action control. At this time, the three action controls can be set to sensing areas A, B, and C respectively. When the sliding skill selection mode is activated, the target skill combination can be determined by responding to the connection line between the sensing areas in response to the single sliding operation, thereby realizing, for example, the casting of a certain body technique. Specifically, it can be manifested as long pressing any action control, sliding to the sensing area of other action controls by sliding the connection line within a limited time, so that the corresponding action control is transformed into the style of the body technique action control, and triggering the corresponding combo casting of the controlled virtual character.
[0055] For example, taking the sliding jump operation as an example, the operation path in the horizontal screen shooting experience is: squat action control → jump action control, that is, the game skill corresponding to the squat action control (i.e. squat action) and the game skill corresponding to the jump action control (i.e. jump action) have a skill combination relationship. In the vertical screen shooting experience, in order to optimize the operation path, after the squat action control is first long-pressed, the action control that has a skill combination relationship with the squat action control can display a time mark. The time mark can be a timing method or a countdown method. Any method that indicates the trigger time of the skill combination is acceptable. For example, it can be as follows Figure 3A As shown, when the squat action control is pressed to control the controlled virtual character to enter the squat state, the jump action control and the prone action control that have a skill combination relationship with the squat action control can display a countdown on the outer circle of the control to indicate that the body movements with the skill combination relationship need to be completed within a certain skill combination trigger time to achieve a combo operation; the user can maintain the first long press operation of the squat action control, and slide towards the sensing area of the jump action control within the skill combination trigger time to achieve a combo operation of the squat action control → jump action control, so that in the vertical screen shooting experience, the low-cost interactive method of a single long press and slide can restore the double-click operation experience in the horizontal screen shooting experience, effectively realizing the operation burden reduction. In addition, Figure 3B As shown, the action controls of the final sequence of sliding operations, such as the jumping action controls, can be transformed into skill combination controls corresponding to the target skill combination, that is, the sliding jump operation, that is, the jumping icon is changed into a sliding jump icon with corresponding feedback performance.
[0056] It should be noted that the embodiments of the present invention do not limit the specific method of transforming the skill control into the skill combination control.
[0057] In one embodiment of the present invention, in the sliding skill selection mode, the skill control can be slid and touched to achieve the selection of the corresponding game skill. At this time, when the functional state of the intelligent combo judgment function is in an inactivated state, the sliding operation on at least one skill control can be responded to, and the game skill corresponding to the skill control acted on by the first long press operation and the game skill corresponding to at least one target skill control whose touch force change reaches a preset degree of change and / or the touch duration reaches a preset duration when the sliding operation is performed sequentially can be combined to obtain a target skill combination.
[0058] In actual applications, the sliding operation of at least one skill control can be expressed as a sequential sliding touch / sliding input. When the touch area of the first long press operation is smaller than the preset area threshold, that is, the initial touch force is the normal screen pressing force, the aforementioned single-finger sliding touch / sliding input can realize the rapid casting of custom sequential skills. Specifically, it can be expressed as using one hand to continuously slide multiple skill controls, and then identifying the skill control selected by the player, and will not be affected by other skill controls touched in the touch track except the selected skill control.
[0059] Among them, the determination of the skill control that the user wants to select during the sliding input process can be obtained based on the change in the user's touch force and touch duration for the skill control. That is, the skill control whose touch force change reaches a preset change degree when the sliding operation is performed in sequence, and / or whose touch duration reaches a preset duration, can be determined as the target skill control selected by the user. It should be noted that the change in touch force refers to the change in the sliding force when the user touches the skill control and during the sliding process. When the touch force change reaches the preset change degree, it indicates that the user selects the skill control currently being touched.
[0060] For example, take MMO games as an example. Figure 4 As shown, after performing the first long press operation on a skill control, such as the skill control with number 1, you can slide over at least one skill control in a touch track / connection sequence customized by the user while maintaining the first long press operation on the skill control with number 1. Assuming that the change in touch strength when sliding over the skill controls with number 2-7 in sequence at this time reaches a preset degree of change, and / or the touch duration reaches a preset duration, it can be indicated that the game skill corresponding to the skill control with number 1 that the user has long pressed, and the game skills corresponding to the skill controls with number 2-7 that are subsequently slid in sequence, are the game skills in the sequence customized by the user, so that the user does not have to click n times, and can perform speed skating with one hand to cast a customized sequence of moves, thereby realizing the casting of multiple skills in a vertical screen game with one hand in a short time, which is beneficial to the output of combos in vertical screen games, and improves the convenience, flexibility and sustainability of players casting skills in vertical screen MMOs, thereby improving the user's gaming experience.
[0061] In one embodiment of the present invention, in the sliding skill selection mode, the skill control can be slid and touched to achieve the selection of the corresponding game skill. At this time, when the functional state of the intelligent combo judgment function is in an activated state, a sliding operation on at least one skill control can be responded to. If the game skill corresponding to the skill control acted upon by the first long press operation and the game skill corresponding to the target skill control acted upon by the sliding operation meet the preset skill combination strategy, and the number of target skill controls acted upon sequentially by the sliding operation reaches a preset number threshold, the game skill indicated by the preset skill combination strategy is determined as the target skill combination.
[0062] In actual applications, the sliding operation of at least one skill control can be expressed as a sequential sliding touch / sliding input. When the touch area of the first long press operation is smaller than the preset area threshold, that is, the initial touch force is the normal screen pressing force, the aforementioned single-finger sliding touch / sliding input can also realize the intelligent judgment of the corresponding skill combo based on the sequential sliding skill control, so as to realize the automatic casting of the combo.
[0063] Specifically, a switch can be pre-set for determining whether to perform intelligent combo determination at present. As an example, assuming that the intelligent combo determination function for sequential touch is currently turned on, that is, the functional state of the intelligent combo determination function is in an activated state, then at this time, the corresponding skill combo and automatic casting can be intelligently determined based on the sequential sliding skill control in response to the single-finger touch operation; as another example, assuming that the intelligent combo determination function for sequential touch is not currently turned on, that is, the functional state of the intelligent combo determination function is in an inactivated state, then at this time, the custom sequential skills can be quickly cast or the skill combination casting within the skill combination trigger time can be achieved through the single-finger touch operation through the single-finger sliding typing function.
[0064] Among them, the preset number threshold that the number of target skill controls that are affected by the sliding operation sequence must reach can be half of the number of combo skills indicated by the preset skill combination strategy minus one, that is, it can be expressed as after the first long press operation is performed on a skill control, if the value of the number of skill controls of the first long press operation plus the number of skill controls of subsequent sliding operations is half of the number of combo skills, then the other half of the game skills in the aforementioned preset skill combination strategy can be automatically associated, and the game skills indicated by the preset skill combination strategy can be automatically determined as the target skill combination.
[0065] It should be noted that the technical concept of the intelligent combo determination function can be borrowed from the input association function of the keyboard, which is mainly manifested in intelligently determining the subsequent content by inputting half of the operation, thereby identifying the complete instruction. Then, when performing intelligent combo determination, the embodiment of the present invention can mainly associate the target skill controls corresponding to the second half of the multiple game skills in the preset cyclic combo strategy satisfied by the aforementioned sequential touch based on more than half of the target skill controls that are sequentially touched, and then realize the casting of a set of fixed cyclic combos after obtaining the complete instruction.
[0066] Optionally, when the game skill corresponding to the skill control acted upon by the first long press operation and the game skill corresponding to the target skill control acted upon by the sliding operation meet the preset skill combination strategy, and the number of target skill controls acted upon by the sliding operation sequence reaches a preset number threshold, the next skill control acted upon by the sliding operation sequence can also be transformed into a touch-end control, which can be used to indicate the release of the target skill combination. Figure 5 As shown, assuming that there is a sequential combo of ABCDEF, the user inputs the game skills corresponding to half of the skill controls in sequence, for example, after having sequentially touched the skill controls corresponding to game skills A, B, and C, since the skills touched sequentially are already the first half of the combo, the combo ABCDEF can be successfully determined to be intelligently executed; for the user's next touch operation, any control (such as D, E, F, etc.) can be selected, and at this time the next skill control touched by the player can be automatically transformed into a touch end control, thereby controlling the controlled virtual character to cast all the game skills of the aforementioned combo.
[0067] For example, take MMO games as an example. Figure 6 As shown, assuming that it is recognized that the game skills corresponding to the skill controls sequentially touched by the user are the first half of the game skills of a preset skill combination strategy, and are respectively fixed order 1, fixed order 2 and fixed order 3 in the aforementioned preset skill combination strategy, the preset skill combination strategy to be executed by the player can be determined. At this time, the remaining game skills can be associated based on the determined skill combination strategy to obtain complete instructions, and at this time, any landing point 4 after the user touches the fixed order 3 can be transformed into a combo end control, which can also refer to a touch end control, so as to perform the intelligent casting of the aforementioned preset skill combination strategy, so that when casting a combo that requires multiple game skills (≥4), the game skills corresponding to the skill controls slid based on the first half of the order can be used to intelligently determine the combo to be cast, thereby reducing the touch path and reducing the risk of user misoperation during fast sliding, thereby improving the player's operational convenience, flexibility and sustainability in casting skills in the vertical screen MMO.
[0068] It should be noted that the embodiment of the present invention does not limit the specific transformation method of the skill control to the touch end control.
[0069] In some embodiments of the present invention, when the second touch operation is a second long press operation and a continuous swipe operation after the second long press operation, the step 103, in response to the second touch operation on the multiple skill controls, determines a target skill combination from the game skills corresponding to the multiple skill controls according to the second touch operation, including:
[0070] In response to a second long press operation on the second area where the multiple skill controls are located, the re-press and slide mode is activated; in the re-press and slide mode, in response to the slide operation on the second area where the multiple skill controls are located, the game skills corresponding to the multiple skill controls in the second area are determined as the target skill combination according to the slide operation.
[0071] The second long press operation is a click operation in which the touch area reaches a preset area threshold, that is, the initial touch force is a large screen pressing force, and the touch duration exceeds a preset duration. Specifically, in the activated heavy press and swipe mode, the swipe operation can be a sliding operation in which the touch area reaches a preset area threshold (that is, the pressing force is large) and is performed in a preset touch direction on the second area where the multiple skill controls are located, and the controlled virtual character can be controlled to cast all game skills corresponding to all skill controls.
[0072] It should be noted that the preset touch direction can be any direction from the preset touch starting point in the second area where the multiple skill controls are located to the location of any skill control, as long as the user's gesture is in the display area of the skill control with a large pressing force, such as swiping left or right, swiping up or down, swiping diagonally, etc., the embodiment of the present invention does not limit this. And the game skills corresponding to all the skill controls located in the second area actually refer to the casting of all the game skills except CD.
[0073] For example, take MMO games as an example. Figure 7 As shown, the user can swipe left in the display area of the skill control, for example, and then respond to the aforementioned second long press operation and the continuous swipe operation after the long press operation to control the controlled virtual character to cast all game skills except CD contained in the display area of the skill control, so that all combos can be cast based on the swiping operation on the interface by only changing the size of the touch area without adding additional combo controls to the interface. The user does not need to consider the CD after the skill is cast, and the user does not need to spend extra energy to observe and judge the currently allowed available skills, thereby improving the user's operational convenience and flexibility in casting skills in the vertical screen MMO.
[0074] It should be noted that the schemes provided by the embodiments of the present invention, such as the skill combination casting within the skill combination triggering time realized by the single-finger sliding typing function, the quick casting of custom sequence skills realized by the single-finger sliding typing function, the intelligent determination of corresponding skill combos and automatic casting by the skill control based on sequential sliding, and the casting of all game skills realized by sliding on the interface, are parallel schemes, and the embodiments of the present invention do not limit this. Also, in the scheme of quick casting of custom sequence skills realized by the single-finger sliding typing function, the game skills can be cast while judging when the skill control is touched, and the embodiments of the present invention do not limit this either.
[0075] In an embodiment of the present invention, a graphical user interface provided by a terminal device can display a game scene in portrait mode. Skill controls corresponding to multiple game skills displayed in the graphical user interface can be configured to control a controlled virtual character to perform corresponding game skills in the game scene in portrait mode in response to a first touch operation. A target skill combination can also be determined from the game skills corresponding to the multiple skill controls according to the second touch operation in response to a second touch operation on the multiple skill controls. The determined target skill combination may include at least part of the game skills corresponding to the multiple skill controls. When the second touch operation ends, the controlled virtual character can be controlled to perform the game skills corresponding to the target skill combination in the game scene in portrait mode, thereby realizing the performance of the skill combination of the controlled virtual character in the game scene in portrait mode.
[0076] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0077] Reference Figure 8 , shows a structural block diagram of an embodiment of a skill casting device in a game of the present invention, which provides a graphical user interface through a terminal device and may specifically include the following modules:
[0078] A game scene display module 801 is used to display a game scene in a vertical screen mode in the graphical user interface, wherein the game scene includes a controlled virtual character, and the controlled virtual character is configured with multiple game skills;
[0079] A skill control display module 802, configured to display skill controls corresponding to the plurality of game skills in the graphical user interface, wherein the skill controls are configured to control the controlled virtual character to perform the corresponding game skills in the game scene in response to a first touch operation;
[0080] A skill combination determination module 803 is used to respond to a second touch operation on the plurality of skill controls, and determine a target skill combination from the game skills corresponding to the plurality of skill controls according to the second touch operation, wherein the target skill combination includes at least part of the game skills corresponding to the plurality of skill controls;
[0081] The game skill casting module 804 is used to control the controlled virtual character to cast the game skill corresponding to the target skill combination in the game scene in response to the end of the second touch operation.
[0082] In an embodiment of the present invention, before the step of displaying the game scene in the portrait mode in the graphical user interface, the apparatus provided by the embodiment of the present invention may further include the following modules:
[0083] A display mode switching module is used to display a game scene in a horizontal screen mode in the graphical user interface, and to display skill controls corresponding to the multiple game skills in a first area in the graphical user interface; in response to a mode switching instruction, the horizontal screen mode is switched to the vertical screen mode, and the step of displaying the game scene in the vertical screen mode in the graphical user interface is executed.
[0084] In one embodiment of the present invention, the display mode switching module may include the following submodules:
[0085] The display mode switching submodule is used to display the skill controls corresponding to the multiple game skills in the second area of the graphical user interface.
[0086] In an embodiment of the present invention, the second touch operation includes a first long press operation and a continuous sliding operation after the first long press operation, wherein the touch area of the first long press operation is smaller than a preset area threshold;
[0087] The skill combination determination module 803 may include the following submodules:
[0088] The first skill combination determination submodule is used to respond to the first long press operation on any of the skill controls to activate the sliding skill selection mode; in the sliding skill selection mode, respond to the sliding operation on at least one of the skill controls, and determine a target skill combination from the game skills corresponding to the multiple skill controls according to the sliding operation.
[0089] In one embodiment of the present invention, the first skill combination determination submodule may include the following units:
[0090] A first skill combination determination unit is used to display time identifiers for at least some of the target skill controls corresponding to the game skills acted upon by the first long press operation and at least some of the game skills having a skill combination relationship in the sliding skill selection mode; the time identifier is used to indicate a skill combination trigger time; within the skill combination trigger time, in response to the sliding operation on at least one of the target skill controls, the game skills corresponding to the skill control acted upon by the first long press operation and the game skills corresponding to at least one of the target skill controls acted upon by the sliding operation are combined to obtain a target skill combination; and the skill controls finally acted upon by the sliding operation are transformed into skill combination controls corresponding to the target skill combination, so as to feedback the target skill combination to the user;
[0091] A second skill combination determination unit is used for, in the sliding skill selection mode, responding to the sliding operation on at least one of the skill controls, combining the game skill corresponding to the skill control acted upon by the first long press operation and the game skill corresponding to at least one target skill control whose touch force change reaches a preset change degree and / or whose touch duration reaches a preset duration when the sliding operations are performed sequentially, to obtain a target skill combination;
[0092] The third skill combination determination unit is used to respond to the sliding operation on at least one of the skill controls in the sliding skill selection mode. If the game skill corresponding to the skill control acted upon by the first long press operation and the game skill corresponding to the target skill control acted upon by the sliding operation meet the preset skill combination strategy, and the number of target skill controls acted upon sequentially by the sliding operation reaches a preset number threshold, then the game skill indicated by the preset skill combination strategy is determined as the target skill combination; and the next skill control acted upon sequentially by the sliding operation is transformed into a touch-end control; the touch-end control is used to indicate the casting of the target skill combination.
[0093] In an embodiment of the present invention, the second touch operation includes a second long press operation and a continuous swipe operation after the second long press operation, wherein the touch area of the second long press operation reaches a preset area threshold;
[0094] The skill combination determination module 803 may include the following submodules:
[0095] The second skill combination determination submodule is used to respond to a second long press operation on the second area where the multiple skill controls are located, and activate the re-press and slide mode; in the re-press and slide mode, respond to the slide operation on the second area where the multiple skill controls are located, and determine the game skills corresponding to the multiple skill controls in the second area as the target skill combination according to the slide operation.
[0096] In an embodiment of the present invention, a skill casting device in a game provided by an embodiment of the present invention, by displaying a game scene in portrait mode in a graphical user interface, and skill controls corresponding to the displayed multiple game skills, can be configured to control a controlled virtual character to cast the corresponding game skills in the game scene in portrait mode in response to a first touch operation, and can also respond to a second touch operation on the multiple skill controls, and determine a target skill combination from the game skills corresponding to the multiple skill controls according to the second touch operation, the determined target skill combination may include at least part of the game skills corresponding to the multiple skill controls, and when the second touch operation ends, the controlled virtual character can be controlled to cast the game skills corresponding to the target skill combination in the game scene in portrait mode, thereby realizing the casting of the skill combination of the controlled virtual character in the game scene in portrait mode.
[0097] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0098] An embodiment of the present invention further provides an electronic device, including:
[0099] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, each process of the skill casting method embodiment in the above-mentioned game is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0100] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the skill casting method embodiment in the above-mentioned game are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0101] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0102] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0103] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0104] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0105] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0106] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0107] Finally, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0108] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0109] The above is a detailed introduction to a skill casting method in a game, a skill casting device in a game, a corresponding electronic device and a corresponding computer-readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A skill casting method in a game, characterized in that: Providing a graphical user interface through a terminal device, the method comprising: Displaying a game scene in a vertical screen mode in the graphical user interface, wherein the game scene includes a controlled virtual character, and the controlled virtual character is configured with a plurality of game skills; Displaying skill controls corresponding to the plurality of game skills in the graphical user interface, wherein the skill controls are configured to control the controlled virtual character to perform the corresponding game skills in the game scene in response to a first touch operation; In response to a second touch operation on the plurality of skill controls, determining a target skill combination from the game skills corresponding to the plurality of skill controls according to the second touch operation, wherein the target skill combination includes at least part of the game skills corresponding to the plurality of skill controls; In response to the second touch operation ending, the controlled virtual character is controlled to perform the game skill corresponding to the target skill combination in the game scene.
2. The method according to claim 1, characterized in that: Before the step of displaying the game scene in the portrait mode in the graphical user interface, the method further includes: Displaying a game scene in a horizontal screen mode in the graphical user interface, and displaying skill controls corresponding to the multiple game skills in a first area of the graphical user interface; In response to the mode switching instruction, the horizontal screen mode is switched to the vertical screen mode, and the step of displaying the game scene in the vertical screen mode in the graphical user interface is executed.
3. The method according to claim 2, characterized in that The step of displaying skill controls corresponding to the plurality of game skills in the graphical user interface comprises: The second area in the graphical user interface displays skill controls corresponding to the multiple game skills.
4. The method according to claim 1, characterized in that: The second touch operation includes a first long press operation and a sliding operation that is continuous after the first long press operation, wherein the touch area of the first long press operation is smaller than a preset area threshold; The responding to the second touch operation of the plurality of skill controls, and determining a target skill combination from the game skills corresponding to the plurality of skill controls according to the second touch operation, comprises: In response to a first long press operation on any of the skill controls, activating a slide-to-select skill mode; In the sliding skill selection mode, in response to the sliding operation on at least one of the skill controls, a target skill combination is determined from the game skills corresponding to the multiple skill controls according to the sliding operation.
5. The method according to claim 4, characterized in that In the sliding skill selection mode, responding to the sliding operation on at least one of the skill controls, determining a target skill combination from the game skills corresponding to the multiple skill controls according to the sliding operation, includes: In the sliding skill selection mode, the game skill corresponding to the skill control acted upon by the first long press operation and at least some of the target skill controls corresponding to at least some of the game skills having a skill combination relationship display a time mark; the time mark is used to indicate the skill combination trigger time; In response to the sliding operation on at least one of the target skill controls within the skill combination triggering time, the game skill corresponding to the skill control acted upon by the first long press operation and the game skill corresponding to at least one of the target skill controls acted upon by the sliding operation are combined to obtain a target skill combination; Also includes: The skill control that is finally acted upon by the sliding operation is transformed into a skill combination control corresponding to the target skill combination, so as to provide feedback of the target skill combination to the user.
6. The method according to claim 4, characterized in that In the sliding skill selection mode, responding to the sliding operation on at least one of the skill controls, determining a target skill combination from the game skills corresponding to the multiple skill controls according to the sliding operation, includes: In the sliding skill selection mode, in response to the sliding operation on at least one of the skill controls, the game skill corresponding to the skill control acted upon by the first long press operation and the game skill corresponding to at least one target skill control whose touch force change reaches a preset degree of change and / or whose touch duration reaches a preset duration when the sliding operations are performed sequentially are combined to obtain a target skill combination.
7. The method according to claim 4, characterized in that In the sliding skill selection mode, responding to the sliding operation on at least one of the skill controls, determining a target skill combination from the game skills corresponding to the multiple skill controls according to the sliding operation, includes: In the sliding skill selection mode, in response to the sliding operation on at least one of the skill controls, if the game skill corresponding to the skill control acted upon by the first long press operation and the game skill corresponding to the target skill control acted upon by the sliding operation meet a preset skill combination strategy, and the number of target skill controls acted upon sequentially by the sliding operation reaches a preset number threshold, the game skill indicated by the preset skill combination strategy is determined as the target skill combination; Also includes: The next skill control to which the sliding operation sequence applies is transformed into a touch-end control; the touch-end control is used to indicate the release of the target skill combination.
8. The method according to claim 1 or 4, characterized in that: The second touch operation includes a second long press operation and a continuous swipe operation after the second long press operation, wherein the touch area of the second long press operation reaches a preset area threshold; The responding to the second touch operation of the plurality of skill controls, and determining a target skill combination from the game skills corresponding to the plurality of skill controls according to the second touch operation, comprises: In response to a second long press operation on the second area where the plurality of skill controls are located, activating the heavy press and slide mode; In the heavy-press swipe mode, in response to the swipe operation applied to the second area where the multiple skill controls are located, the game skills corresponding to the multiple skill controls in the second area are determined as the target skill combination according to the swipe operation.
9. A skill casting device in a game, characterized in that: Providing a graphical user interface through a terminal device, the device comprises: A game scene display module, used to display a game scene in a vertical screen mode in the graphical user interface, wherein the game scene includes a controlled virtual character, and the controlled virtual character is configured with multiple game skills; A skill control display module, used for displaying skill controls corresponding to the plurality of game skills in the graphical user interface, wherein the skill controls are configured to control the controlled virtual character to perform the corresponding game skills in the game scene in response to a first touch operation; a skill combination determination module, configured to respond to a second touch operation on the plurality of skill controls, and determine a target skill combination from the game skills corresponding to the plurality of skill controls according to the second touch operation, wherein the target skill combination includes at least part of the game skills corresponding to the plurality of skill controls; The game skill casting module is used to control the controlled virtual character to cast the game skill corresponding to the target skill combination in the game scene in response to the completion of the second touch operation.
10. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the skill casting method in the game as claimed in any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the skill casting method in the game as described in any one of claims 1 to 8 is implemented.
