Skill release method, device, computer equipment and storage medium

By using the mechanism of following icons and fixed keys in MOBA games, users can determine the direction of skill release without letting go, solving the problem of skill release caused by user accidental release, and improving operation accuracy and user experience.

CN114522417BActive Publication Date: 2025-04-25YOUME TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210048435.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-17
Publication Date
2025-04-25
Estimated Expiration
2042-01-17

AI Technical Summary

Technical Problem

In multiplayer online tactical competition (MOBA) games, users are prone to accidentally let go of their skills while controlling their skills, resulting in the error release of skills, reducing the accuracy of user operations and user experience.

Method used

By obtaining the stay time of the following icon corresponding to the movement operation of the user on the skill key in the game page, if the stay time is greater than the preset time, the direction of the follow icon relative to the skill key is determined in the game page, and the fixed key is displayed. The user can determine the direction of the skill release by triggering the fixed key to ensure that the skill is released accurately when the user releases.

Benefits of technology

It effectively avoids the skill error release caused by users accidentally letting go during the control of skills, and improves the accuracy and user experience of user operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114522417B_ABST
    Figure CN114522417B_ABST
Patent Text Reader

Abstract

The present application relates to a skill release method, device, computer equipment and storage medium. The method comprises: in response to a first movement operation triggered on a first skill key in a game page, obtaining a first stay time of a follow icon corresponding to the first movement operation outside a first preset range; when the first stay time is greater than the preset time, determining the direction of the follow icon relative to the first skill key in the game page, and displaying a fixed key in the game page; in response to a triggering operation on the fixed key, determining the determined direction as a skill release direction; in response to a skill release operation triggered on the first skill key, releasing the skill corresponding to the first skill key based on the skill release direction. The use of this method can improve the accuracy of user operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a skill release method, device, computer equipment and storage medium. Background Art

[0002] With the development of Internet technology, the game industry is in full swing. Multiplayer Online Battle Arena (MOBA) games have been welcomed by a large number of players. The operation mode of MOBA games on mobile platforms is mainly a dual-wheel operation mode, that is, controlling the movement of the game character with one hand and controlling the skills with the other hand. In the process of controlling the skills, the user usually touches the corresponding skill key, and without letting go, selects the direction of skill release by moving, and then lets go, the skill is released. Therefore, there is a possibility that the user accidentally lets go in the process of controlling the skill, resulting in the possibility that the skill is released incorrectly, thereby reducing the accuracy of the user's operation and affecting the user experience. Summary of the invention

[0003] Based on this, it is necessary to provide a skill release method, device, computer equipment and computer-readable storage medium that can improve the accuracy of user operations in response to the above technical problems.

[0004] In a first aspect, the present application provides a skill release method. The method comprises:

[0005] In response to a first movement operation triggered on a first skill key in a game page, obtaining a first stay time of a follow icon corresponding to the first movement operation outside a first preset range;

[0006] When the first dwell time is greater than a preset time, determining a direction of the follow icon relative to the first skill key in the game page, and displaying a fixed key in the game page;

[0007] In response to a triggering operation on the fixed key, determining the determined direction as a skill release direction;

[0008] In response to a skill release operation triggered on the first skill key, the skill corresponding to the first skill key is released based on the skill release direction.

[0009] In one of the embodiments, in response to the skill release operation triggered on the first skill key, before releasing the skill corresponding to the first skill key based on the skill release direction, the method further includes:

[0010] When a long press operation on the first skill key, or a long press and movement operation on the first skill key is detected, the determined skill release direction is canceled.

[0011] In one embodiment, after releasing the skill corresponding to the first skill key based on the skill release direction, the method further includes:

[0012] canceling display of the follow icon and the fixed key in the game page;

[0013] When the skill is in a cooling state, if a second movement operation on the first skill key is detected, a follow icon corresponding to the second movement operation is displayed, and a second stay time of the follow icon corresponding to the second movement operation outside the first preset range is obtained;

[0014] When the second dwell time is greater than a preset time, determining the direction of the follow icon relative to the first skill key in the game page, and displaying a fixed key in the game page;

[0015] In response to a triggering operation on the fixed key, the determined direction is determined as a skill release direction.

[0016] In one embodiment, determining the direction of the follow icon relative to the first skill key in the game page, and displaying a fixed key in the game page includes:

[0017] Displaying a follow icon corresponding to the first movement operation on the game page, and determining a position of the follow icon on the game page;

[0018] Taking the position of the first skill key as a starting point, determining an outgoing ray along the position of the follow icon;

[0019] A direction is determined based on the ray, and fixed keys are displayed on the game page along the direction.

[0020] In one of the embodiments, after determining the determined direction as a skill release direction in response to the triggering operation on the fixed key, the method further includes:

[0021] In response to a third movement operation on the second skill key in the game page, the follow icon and the fixed key corresponding to the first skill key are undisplayed, a direction prompt label is displayed at the position where the follow icon was originally located, and the follow icon is displayed at the position corresponding to the second skill key;

[0022] Acquire a third stay time of the follow icon outside the second preset range;

[0023] When the third dwell time is greater than the preset time, determining the direction of the follow icon relative to the second skill key in the game page, and displaying the fixed key at a position corresponding to the second skill key;

[0024] In response to a triggering operation on the fixed key, the determined direction is determined as a skill release direction corresponding to the second skill key.

[0025] In one embodiment, the method further comprises:

[0026] In response to a third movement operation on the second skill key in the game page, the transparency of the first skill key is adjusted so that the first skill key and the second skill key present different display effects.

[0027] In one of the embodiments, in response to the skill release operation triggered on the first skill key, before releasing the skill corresponding to the first skill key based on the skill release direction, the method further includes:

[0028] Displaying a skill cancel key in the game page; in response to a cancel operation triggered on the skill cancel key, canceling the determined skill release direction; or,

[0029] The moving distance of the game character in the game page is obtained; when the moving distance is greater than a preset distance, the determined skill release direction is cancelled.

[0030] In a second aspect, the present application also provides a skill release device. The device comprises:

[0031] An acquisition module, configured to, in response to a first movement operation triggered on a first skill key in a game page, acquire a first stay time of a follow icon corresponding to the first movement operation outside a first preset range;

[0032] a determination and display module, configured to determine the direction of the follow icon relative to the first skill key in the game page and display a fixed key in the game page when the first dwell time is greater than a preset time;

[0033] a determination module, configured to determine the determined direction as a skill release direction in response to a triggering operation on the fixed key;

[0034] A release module is used to respond to a skill release operation triggered on the first skill key and release the skill corresponding to the first skill key based on the skill release direction.

[0035] In one embodiment, the device further comprises:

[0036] The cancel module is used to cancel the determined skill release direction when a long press operation on the first skill key, or a long press and move operation on the first skill key is detected.

[0037] In one embodiment, the acquisition module is further used to cancel the display of the follow icon and the fixed key in the game page; when the skill is in a cooling state, if a second movement operation of the first skill key is detected, the follow icon corresponding to the second movement operation is displayed, and a second stay time of the follow icon corresponding to the second movement operation outside the first preset range is obtained;

[0038] The determination and display module is further configured to determine the direction of the follow icon relative to the first skill key in the game page and display a fixed key in the game page when the second dwell time is greater than a preset time;

[0039] The determination module is further configured to determine the determined direction as a skill release direction in response to a triggering operation on the fixed key.

[0040] In one of the embodiments, the determination and display module is also used to display a follow icon corresponding to the first moving operation in the game page, determine the position of the follow icon in the game page; take the position of the first skill key as the starting point, determine a ray along the position of the follow icon; determine a direction based on the ray, and display a fixed key on the game page along the direction.

[0041] In one embodiment, the acquisition module is further used to, in response to a third movement operation on the second skill key in the game page, cancel the display of the follow icon and the fixed key corresponding to the first skill key, display a direction prompt label at the original location of the follow icon, and display the follow icon at the location corresponding to the second skill key; and acquire a third stay time of the follow icon outside the second preset range;

[0042] The determination and display module is further configured to determine, in the game page, a direction of the follow icon relative to the second skill key, and display the fixed key at a position corresponding to the second skill key when the third dwell time is greater than the preset time;

[0043] The determination module is further configured to, in response to a triggering operation on the fixed key, determine the determined direction as a skill release direction corresponding to the second skill key.

[0044] In one of the embodiments, the acquisition module is further used to adjust the transparency of the first skill key in response to a third movement operation on the second skill key in the game page, so that the first skill key and the second skill key present different display effects.

[0045] In one of the embodiments, the cancel module is also used to display a skill cancel key in the game page; in response to a cancel operation triggered on the skill cancel key, cancel the determined skill release direction; or, obtain the moving distance of the game character in the game page; when the moving distance is greater than a preset distance, cancel the determined skill release direction.

[0046] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0047] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0048] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0049] The skill release method, device, computer equipment, storage medium and computer program product described above obtain the first residence time of the follow icon corresponding to the first moving operation outside the first preset range; when the first residence time is greater than the preset time, the direction of the follow icon relative to the first skill key is determined in the game page, and a fixed key is displayed in the game page; in response to the triggering operation of the fixed key, the determined direction is determined as the skill release direction; by obtaining the residence time of the user's moving operation outside the preset range and setting the fixed key corresponding to the skill key, the preset skill release direction is realized, and at the same time, before the skill corresponding to the skill key is released, the user can operate the game with one hand. When the skill corresponding to the skill key needs to be released, in response to the skill release operation triggered on the first skill key, the skill corresponding to the first skill key is released based on the skill release direction, thereby avoiding the skill being released incorrectly due to the user accidentally letting go during the skill control process, thereby improving the accuracy of the user's operation and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A diagram showing an application environment of a skill release method in an embodiment;

[0051] Figure 2A schematic diagram of a flow chart of a skill release method in one embodiment;

[0052] Figure 3 This is a double roulette operation page diagram for a MOBA game;

[0053] Figure 4 This is a core skill diagram for a MOBA game;

[0054] Figure 5 A schematic diagram of determining a skill release direction in a skill release method in one embodiment;

[0055] Figure 6 A schematic diagram of a skill release range of a skill release method in an embodiment;

[0056] Figure 7 A schematic diagram of determining or canceling multiple skill release directions in one embodiment;

[0057] Figure 8 A schematic diagram of canceling the skill release direction in another embodiment;

[0058] Fig. 9 A schematic diagram showing the steps of fixing keys in one embodiment;

[0059] Fig.10 is a structural block diagram of a skill release device in an embodiment;

[0060] Fig.11 is a structural block diagram of a skill releasing device in another embodiment;

[0061] Fig.12 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] The skill release method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 responds to the first movement operation triggered on the first skill key in the game page, and obtains the first stay time of the follow icon corresponding to the first movement operation outside the first preset range; when the first stay time is greater than the preset time, the terminal 102 determines the direction of the follow icon relative to the first skill key in the game page, and displays the fixed key in the game page; the terminal 102 responds to the triggering operation of the fixed key, and determines the determined direction as the skill release direction; the terminal 102 responds to the skill release operation triggered on the first skill key, and releases the skill corresponding to the first skill key based on the skill release direction.

[0064] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0065] In one embodiment, Figure 2 As shown, a skill release method is provided, which is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, and the following steps are included:

[0066] S202, in response to a first movement operation triggered on a first skill key in a game page, obtaining a first stay time of a follow icon corresponding to the first movement operation outside a first preset range.

[0067] Among them, the game page can refer to a page on a game-related application, and the game page has game control-related buttons. The application is mainly used for users to play touch-type MOBA games. It should be pointed out that the application is installed on the terminal. For example, the application can be: League of Legends, King of Glory. The main operation methods of touch-type games are: double wheel operation, etc. Common double wheel operations can be as follows Figure 3 As shown, it is a double wheel operation page diagram of a MOBA game. In this page, there are a moving wheel, skill key 1, skill key 2, attack key, skill key 3, and cancel key. The moving wheel can be used to control the movement of the game character. Skill keys 1, 2, and 3 can be used to control the corresponding skills. The attack key can be used for normal attacks. The cancel key can be used to cancel the corresponding settings, for example, cancel the release of the corresponding skill.

[0068] Skills can refer to active operations in the game that can produce attack, defense, assistance and other effects other than ordinary attacks. Taking MOBA games as an example, Figure 4 The following is a diagram of the core skills of MOBA games;

[0069] Among them, from left to right, the core skills may include: Skill 1: the player (user) controls the corresponding game character (role) to shoot a projectile in the target direction, causing damage to the first enemy player (enemy user) hit; Skill 2: the player (user) controls the corresponding game character (role) to cause damage to all enemy players within a certain width in the target direction; Skill 3: the player (user) controls the corresponding game character (role) to cause damage to all enemy players within a fan-shaped range in the target direction; Skill 4: the player (user) controls the corresponding game character (role) to cause damage to all enemy players within a certain range with the target position as the center of the circle; Skill 5: the player (user) controls the corresponding game character (role) to cause damage to all enemy players within a certain range with the position of the character as the center of the circle; Skill 6: the player (user) controls the corresponding game character (role) to teleport to the target position and cause damage to all enemy players within a certain range; Skill 7: the player (user) controls the corresponding game character (role) to make the character enter invisibility for a period of time, and break the invisibility during the invisibility time to cause damage to the target.

[0070] A skill key may refer to a key for controlling a skill. For example, a user (player) may release a corresponding skill by triggering a skill key. A skill key may also be moved to determine the direction of releasing the corresponding skill. The "first" in the first skill key is used to distinguish between the "second" and "third" in the following text, representing the difference from the second skill key, that is, the first skill key and the second skill key are different skill keys. A moving operation may refer to a moving / pulling operation on a skill key. The "first" in the first moving operation is used to distinguish between the "second" and "third" in the following text, representing the difference from the second moving operation, that is, the first moving operation and the second moving operation are operations for different skill keys. For example, a user may perform a first moving operation on a first skill key, that is, after the user triggers the first skill key, the user moves at the triggering position without letting go, thereby completing the first moving operation. A follow icon may refer to an icon displayed near a skill key. The position of the follow icon may be between the skill key and a preset range, or on the preset range, or outside the preset range. The function of the follow icon can be to prompt (reflect) the skill release direction corresponding to the corresponding skill key. For example, the skill release direction can be on the straight line established by the follow icon and the corresponding skill key.

[0071] The preset range may refer to a range that is a fixed distance from the corresponding skill key. The "first" in the first preset range is used to distinguish between the "second" and "third" in the following text, representing a range that is different from the second preset range, that is, the first preset range and the second preset range are different preset ranges. The first preset range may refer to a range that is a fixed distance from the first skill key. For example, the first preset range may be a range that is 2 mm, 3 mm, etc. away from the first skill key. The dwell time may refer to the length of time that the corresponding moving operation of the follow icon stays outside the preset range. The "first" in the first dwell time is used to distinguish between the "second" and "third" in the following text, representing a range that is different from the second dwell time, that is, the first dwell time and the second dwell time are different dwell times. For example, the first dwell time may be 1 second, 2 seconds, etc.

[0072] In one embodiment, before S202, the terminal may obtain corresponding user information in response to the user logging into the corresponding game application, query the user game information stored in the server according to the user information, and display the user game information in the corresponding game page.

[0073] Specifically, the terminal can display a corresponding follow icon in response to the user triggering and moving the first skill key in the game page, and the follow icon moves with the moving operation. At the same time, it is determined whether the follow icon is outside the first preset range. When the follow icon is outside the first preset range, the first stay time of the follow icon outside the first preset range is obtained.

[0074] For example, Figure 5 FIG. 1 is a schematic diagram of determining a skill release direction of a skill release method in an embodiment; the terminal responds to the following Figure 5 (Left) In the game page shown, the trigger and move operation of skill key 2, when the follow icon is Figure 5 (Right) shows that when the following icon is outside the first preset range, the first stay time of the following icon outside the first preset range is obtained.

[0075] S204, when the first dwell time is greater than the preset time, determining the direction of the follow icon relative to the first skill key in the game page, and displaying a fixed key in the game page.

[0076] The preset time may be a pre-set time, for example, the preset time may be 1 second, 2 seconds, etc. The fixed key may be used to set (fix) the skill release direction, and the position of the fixed key on the game page may be on a straight line where the positions of the corresponding skill key and the follow icon are located, or the position of the fixed key on the game page may be near the corresponding follow icon or skill icon, etc.

[0077] In one embodiment, the terminal displays a follow icon corresponding to the first moving operation in the game page, determines the position of the follow icon in the game page; takes the position of the first skill key as the starting point, determines a ray along the position of the follow icon; determines the direction based on the ray, and displays a fixed key along the direction on the game page.

[0078] For example, if the preset time is 1 second and the first dwell time is 1.5 seconds, it can be determined that the first dwell time is greater than the preset time. Figure 5 As shown in (right), for skill key 2, the position of the follow icon (light gray circular icon) is obtained in the game page, which is located outside the preset range and close to the preset range. The direction of the follow icon relative to the skill key 2 is determined to be: 30 degrees upward and left. Based on the position of the follow icon and skill key 2, a fixed key is displayed in the game page.

[0079] S206: In response to a trigger operation on a fixed key, the determined direction is determined as a skill release direction.

[0080] Among them, the skill release direction may refer to the direction of skill release, which may be the direction of the follow icon relative to the first skill key.

[0081] In one embodiment, Figure 6 The following is a schematic diagram of the skill release range of the skill release method, corresponding to the skill type of "the player (user) controls the corresponding game character (role) to cause damage to all enemy players within a certain range with the target position as the center of the circle". The possible range of skill release of this type of skill in the skill release method of this case is Figure 6 The terminal responds to the trigger operation of the fixed key and determines the determined direction as the skill release direction. For example, if the skill release direction corresponding to the determined skill key 3 is Figure 6 The upper left "black ellipse" range.

[0082] In one embodiment, after S206, the terminal responds to the third move operation on the second skill key in the game page, cancels the display of the follow icon and the fixed key corresponding to the first skill key, displays a direction prompt label at the original position of the follow icon, and displays the follow icon at the position corresponding to the second skill key; obtains the third stay time of the follow icon outside the second preset range; when the third stay time is greater than the preset time, determines the direction of the follow icon relative to the second skill key in the game page, and displays the fixed key at the position corresponding to the second skill key; in response to the trigger operation on the fixed key, determines the determined direction as the skill release direction corresponding to the second skill key.

[0083] In one embodiment, S206 also includes: the terminal adjusts the transparency of the first skill key in response to the third movement operation on the second skill key in the game page, so that the first skill key and the second skill key present different display effects.

[0084] For example, Figure 7 The following is a schematic diagram of determining or canceling the release direction of multiple skills; Figure 7 When determining the skill release direction of skill key 3, skill key 2, and skill key 1 in the game page, the user can first determine the skill release direction corresponding to skill key 3 according to steps S202, S204, and S206. In response to the movement operation of skill key 2 in the game page, the terminal cancels the display of the follow icon and the fixed key corresponding to skill key 3, and displays a direction prompt label at the original position of the follow icon. The prompt label can be Figure 7 The terminal moves the skill key 2 in the game page, and then determines the skill release direction corresponding to the skill key 2. In response to the movement operation of the skill key 2 in the game page, the terminal reduces the transparency of the skill key 3, so that the skill key 3 and the skill key 2 present different display effects. In response to the movement operation of the skill key 1 in the game page, the terminal cancels the display of the follow icon and the fixed key corresponding to the skill key 2, and displays the direction prompt label at the original position of the follow icon. The prompt label can be Figure 7 The "small black dot" on the upper left of skill key 2 is displayed, and the terminal responds to the movement operation of skill key 1 on the game page by reducing the transparency of skill key 2, so that skill keys 1 and 2 present different display effects. Finally, skill key 1 has the highest transparency, skill key 2 has the second lowest transparency, and skill key 3 has the lowest transparency.

[0085] S208: In response to a skill release operation triggered on the first skill key, release the skill corresponding to the first skill key based on the skill release direction.

[0086] Among them, the skill release operation can be an operation of triggering a corresponding skill key to release the skill.

[0087] In one embodiment, before S208, when the terminal detects a long press operation on the first skill key, or a long press and move operation on the first skill key, the determined skill release direction is canceled.

[0088] The long press operation may refer to an operation in which, after the first skill key is triggered, the trigger does not leave the corresponding pressing time of the skill key for longer than the preset time, or may refer to an operation in which the user presses the first skill key but does not lift it up and remains on the game page. The pressing time may refer to the time in which the user triggers the corresponding skill key on the game page and does not lift it up. The preset time may refer to a pre-set time.

[0089] In one embodiment, the terminal detects a long press operation on the first skill key, which may include: after the terminal obtains a trigger on the first skill key, the trigger does not leave the pressing time corresponding to the skill key, and when the pressing time is greater than the preset time, the operation is regarded as a long press operation, that is, the terminal detects the long press operation on the first skill key.

[0090] For example, the preset duration is 1.5 seconds and the pressing duration is 2 seconds. If the pressing duration is greater than the preset duration, the terminal detects a long press operation on the first skill key and cancels the determined skill release direction.

[0091] In one embodiment, when the terminal detects a long press and move operation on the first skill key, the moving operation distance of the moving operation is obtained, and when the moving operation distance is greater than a preset moving operation distance, the determined skill release direction is canceled.

[0092] The moving operation may be performed in any direction, such as forward, backward, left, and right. The moving operation distance may be the moving operation distance of the corresponding moving operation in the game page after the first skill key is long pressed and moved. The preset moving operation distance may refer to a pre-set moving distance.

[0093] For example, the user can release the skill triggered on the skill key, that is, single-click (single-click here means pressing and lifting) the corresponding skill key to release the skill corresponding to the first skill key based on the skill release direction; if the user wants to cancel the determined skill release direction, the user can long press and move the corresponding skill key, that is, press the corresponding skill key without lifting it, and move it forward, backward, left, right, or in any direction by more than 3 mm, then the determined skill release direction is canceled, and the follow icon corresponding to the skill key starts to move with the finger.

[0094] In one embodiment, before S208, the terminal displays a skill cancel key in the game page; in response to a cancel operation triggered on the skill cancel key, the determined skill release direction is canceled; or, the moving distance of the game character in the game page is obtained; when the moving distance is greater than a preset distance, the determined skill release direction is canceled; or, when the game character reaches a preset position along a preset route in the game page, the determined skill release direction is canceled; or, when the game character corresponding to the user is moved by the game character of a teammate, the skill release direction determined by the game character corresponding to the user is canceled.

[0095] For example, Figure 7 FIG. 1 is a schematic diagram of determining or canceling multiple skill release directions. When the skill release directions of skill key 3, skill key 2, and skill key 1 are determined according to the steps of determining the skill release direction in this case, in the following example, Figure 7A skill cancel key "Cancel" will appear in the upper right corner of the game page. The number "3" in the "Cancel" key reflects the number of currently determined skill directions. When the user triggers the "Cancel" key, the terminal responds to the cancel operation triggered on the skill cancel key and cancels all the skill release directions corresponding to the determined skill keys 3, 2 and 1; when only one skill key's skill release direction is determined, when the user triggers the "Cancel" key, the terminal can respond to the cancel operation triggered on the cancel key and cancel the corresponding determined skill release direction. When only one skill key's skill release direction is determined, the "Cancel" key may not display a number. When more than one skill key's skill release directions are determined, the corresponding number is displayed.

[0096] For example, Figure 8 Another schematic diagram of canceling the skill release direction is shown; the moving distance of the game character in the game page is obtained; when the moving distance is greater than the preset distance, the determined skill release direction is canceled. When the character (game character) controlled by the user moves from the lower road position in the game page to the middle road position, the terminal obtains that the moving distance of the game character in the game page is 30 mm, and the preset distance is 25 mm. After the terminal determines that the moving distance is greater than the preset distance, all the skill release directions corresponding to the game character are canceled. Or, when the game character reaches the fountain position along the lower road position, all the skill release directions corresponding to the game character are canceled; or when the game character a corresponding to user A is moved by the game character b of teammate B, all the skill release directions determined by the game character a corresponding to user A are canceled.

[0097] In one embodiment, after S208, the terminal cancels display of the follow icon and the fixed key in the game page; when the skill is in a cooling state, if a second movement operation on the first skill key is detected, the follow icon corresponding to the second movement operation is displayed, and the second stay time of the follow icon corresponding to the second movement operation outside the first preset range is obtained; when the second stay time is greater than the preset time, the direction of the follow icon relative to the first skill key is determined in the game page, and the fixed key is displayed in the game page; in response to the triggering operation on the fixed key, the determined direction is determined as the skill release direction.

[0098] In the above skill release method, the first dwell time of the follow icon corresponding to the first moving operation outside the first preset range is obtained; when the first dwell time is greater than the preset time, the direction of the follow icon relative to the first skill key is determined in the game page, and a fixed key is displayed in the game page; in response to the triggering operation of the fixed key, the determined direction is determined as the skill release direction; by obtaining the dwell time of the user's moving operation outside the preset range and setting the fixed key corresponding to the skill key, the preset skill release direction is realized, and at the same time, before the skill corresponding to the skill key is released, the user can operate the game with one hand. When the skill corresponding to the skill key needs to be released, in response to the skill release operation triggered on the first skill key, the skill corresponding to the first skill key is released based on the skill release direction, thereby avoiding the skill being released by mistake due to the user accidentally letting go during the skill control process, thereby improving the accuracy of the user's operation and enhancing the user experience.

[0099] In one embodiment, Fig. 9 As shown, the steps of displaying fixed keys include:

[0100] S902: Display a follow icon corresponding to the first moving operation on the game page, and determine a position of the follow icon on the game page.

[0101] Specifically, the terminal obtains a corresponding follow icon according to the first movement operation triggered on the first skill key, displays the follow icon on the game page, and determines the position of the follow icon on the game page based on the position of the first movement operation.

[0102] For example, Figure 5 A schematic diagram of determining the skill release direction of a skill release method; Figure 5 As shown in (left), the terminal obtains the corresponding follow icon: "light gray circular icon" according to the moving operation triggered on skill key 2, and displays the follow icon in the game page. Based on the position of the moving operation, the position of the follow icon in the game page is determined to be: within the preset range of skill key 2.

[0103] S904, taking the position of the first skill key as the starting point, determining the leading ray along the position of the follow icon.

[0104] The position of the first skill key may refer to the position of the first skill key in the game page, for example, the position of the first skill key may be the position of the center of the first skill key in the game page. The position of the follow icon may refer to the position of the follow icon in the game page, for example, the position of the follow icon may be the position of the center of the follow icon in the game page. The ray may be a ray starting from the position of the first skill key (origin) and pointing to the position of the follow icon, or a ray starting from the position of the center of the first skill key (origin) and pointing to the position of the center of the follow icon.

[0105] Specifically, the terminal can obtain the position of the first skill key and the position of the follow icon in the game page, and determine the lead-out ray along the position of the follow icon with the position of the first skill key as the starting point; the terminal can also obtain the position of the center of the first skill key and the position of the center of the follow icon in the game page, and determine the lead-out ray along the position of the center of the follow icon with the position of the center of the first skill key as the starting point.

[0106] For example, in the plane rectangular coordinate system established on the game page, the position of skill key 1 is (1, 1), and the position of the follow icon is (2, 2). The terminal takes the position (1, 1) as the starting point and determines the lead-out ray along the position (2, 2).

[0107] S906, determining a direction based on the ray, and displaying fixed keys along the direction on the game page.

[0108] The direction is the direction of the ray, for example, the direction may be 30 degrees to the left, 45 degrees to the right, and so on.

[0109] Specifically, the terminal may obtain the corresponding fixed key and determine the direction of the ray, and display the fixed key along the direction on the game page according to a preset follow-up icon distance.

[0110] The preset follow-up icon distance may refer to the distance between the fixed key and the follow-up icon. For example, the preset follow-up icon distance may be 5 mm, 4 mm, and so on.

[0111] For example, the terminal may determine that the direction of the ray is 30 degrees upward and to the left, preset the follow icon distance to be 5 mm, along the direction of the game page, and display a fixed key 5 mm away from the follow icon.

[0112] In this embodiment, by determining the position of the follow icon in the game page, taking the position of the first skill key as the starting point, a ray is determined along the position of the follow icon, and the direction is determined based on the ray. A fixed key is displayed along the direction on the game page, and by setting the fixed key corresponding to the skill key, the user can preset the corresponding skill release direction by triggering the fixed key.

[0113] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0114] Based on the same inventive concept, the embodiment of the present application also provides a skill release device for implementing the skill release method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more skill release device embodiments provided below can refer to the limitations on the skill release method above, and will not be repeated here.

[0115] In one embodiment, Fig.10 As shown, a skill release device is provided, including: an acquisition module 1002, a determination and display module 1004, a determination module 1006 and a release module 1008, wherein:

[0116] The acquisition module 1002 is used to obtain, in response to a first movement operation triggered on a first skill key in a game page, a first stay time of a follow icon corresponding to the first movement operation outside a first preset range.

[0117] The determination and display module 1004 is used to determine the direction of the follow icon relative to the first skill key in the game page when the first dwell time is greater than the preset time, and to display the fixed key in the game page.

[0118] The determination module 1006 is used to determine the determined direction as the skill release direction in response to the triggering operation of the fixed key.

[0119] The release module 1008 is used to respond to the skill release operation triggered on the first skill key and release the skill corresponding to the first skill key based on the skill release direction.

[0120] In one embodiment, the acquisition module 1002 is further used to cancel the display of the follow icon and the fixed key in the game page; when the skill is in a cooling state, if a second movement operation on the first skill key is detected, the follow icon corresponding to the second movement operation is displayed, and a second stay time of the follow icon corresponding to the second movement operation outside the first preset range is obtained;

[0121] The determination and display module 1004 is further configured to determine the direction of the follow icon relative to the first skill key in the game page and display the fixed key in the game page when the second dwell time is greater than a preset time;

[0122] The determination module 1006 is further configured to determine the determined direction as a skill release direction in response to a trigger operation on a fixed key.

[0123] In one embodiment, the determination and display module 1004 is also used to display a follow icon corresponding to the first moving operation in the game page, determine the position of the follow icon in the game page; take the position of the first skill key as the starting point, determine the lead-out ray along the position of the follow icon; determine the direction based on the ray, and display a fixed key along the direction on the game page.

[0124] In one embodiment, the acquisition module 1002 is further used to respond to a third movement operation on the second skill key in the game page, cancel the display of the follow icon and the fixed key corresponding to the first skill key, display a direction prompt label at the original position of the follow icon, and display the follow icon at the position corresponding to the second skill key; obtain a third stay time of the follow icon outside the second preset range;

[0125] The determination and display module 1004 is further configured to determine the direction of the follow icon relative to the second skill key in the game page when the third stay time is greater than a preset time, and display a fixed key at a position corresponding to the second skill key;

[0126] The determination module 1006 is further configured to determine the determined direction as the skill release direction corresponding to the second skill key in response to a trigger operation on the fixed key.

[0127] In one embodiment, the acquisition module 1002 is also used to adjust the transparency of the first skill key in response to a third movement operation on the second skill key in the game page, so that the first skill key and the second skill key present different display effects.

[0128] In one embodiment, Fig.11 As shown, the skill release device further includes a cancellation module 1010, wherein:

[0129] The cancel module 1010 is used to cancel the determined skill release direction when a long press operation on the first skill key, or a long press and move operation on the first skill key is detected.

[0130] In one embodiment, the cancel module 1010 is also used to display a skill cancel key in the game page; in response to a cancel operation triggered on the skill cancel key, the determined skill release direction is canceled; or, the moving distance of the game character in the game page is obtained; when the moving distance is greater than a preset distance, the determined skill release direction is canceled.

[0131] In the above embodiment, the first dwell time of the follow icon corresponding to the first moving operation outside the first preset range is obtained; when the first dwell time is greater than the preset time, the direction of the follow icon relative to the first skill key is determined in the game page, and a fixed key is displayed in the game page; in response to the triggering operation of the fixed key, the determined direction is determined as the skill release direction; by obtaining the dwell time of the user's moving operation outside the preset range and setting the fixed key corresponding to the skill key, the preset skill release direction is realized, and at the same time, before the skill corresponding to the skill key is released, the user can operate the game with one hand. When the skill corresponding to the skill key needs to be released, in response to the skill release operation triggered on the first skill key, the skill corresponding to the first skill key is released based on the skill release direction, thereby avoiding the skill being released by mistake due to the user accidentally letting go during the skill control process, thereby improving the accuracy of the user's operation and enhancing the user experience.

[0132] Each module in the skill release device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0133] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.12As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a skill release method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0134] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0135] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory, and the above embodiments are implemented when the processor executes the computer program.

[0136] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above embodiments are implemented.

[0137] In one embodiment, a computer program product is provided, including a computer program, and the computer program implements the above embodiments when executed by a processor.

[0138] 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 relevant laws, regulations and standards of relevant countries and regions.

[0139] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0140] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0141] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A skill release method, characterized in that: The method comprises: In response to a first movement operation triggered on a first skill key in a game page of a MOBA game, obtaining a first stay time of a follow icon corresponding to the first movement operation outside a first preset range; the game page controls the movement of a game character by one hand and controls skills by another hand; When the first dwell time is greater than a preset time, determining a direction of the follow icon relative to the first skill key in the game page, and displaying a fixed key in the game page; In response to a triggering operation on the fixed key, determining the determined direction as a skill release direction corresponding to the first skill key; In response to a skill release operation triggered on the first skill key, releasing the skill corresponding to the first skill key based on the skill release direction corresponding to the first skill key; In response to the third move operation on the second skill key in the game page, the follow icon and the fixed key corresponding to the first skill key are canceled, and a direction prompt label is displayed at the original position of the follow icon, and the follow icon is displayed at the position corresponding to the second skill key, and the size of the direction prompt label is smaller than the size of the follow icon.

2. The method according to claim 1, characterized in that In response to the skill release operation triggered on the first skill key, before releasing the skill corresponding to the first skill key based on the skill release direction corresponding to the first skill key, the method further includes: When a long press operation on the first skill key, or a long press and movement operation on the first skill key is detected, the determined skill release direction is canceled.

3. The method according to claim 1, characterized in that After releasing the skill corresponding to the first skill key based on the skill release direction corresponding to the first skill key, the method further includes: canceling display of the follow icon and the fixed key in the game page; When the skill is in a cooling state, if a second movement operation on the first skill key is detected, a follow icon corresponding to the second movement operation is displayed, and a second stay time of the follow icon corresponding to the second movement operation outside the first preset range is obtained; When the second dwell time is greater than a preset time, determining the direction of the follow icon relative to the first skill key in the game page, and displaying a fixed key in the game page; In response to a triggering operation on the fixed key, the determined direction is determined as a skill release direction corresponding to the first skill key.

4. The method according to claim 1, characterized in that Determining the direction of the follow icon relative to the first skill key in the game page, and displaying a fixed key in the game page includes: Displaying a follow icon corresponding to the first movement operation on the game page, and determining a position of the follow icon on the game page; Taking the position of the first skill key as a starting point, determining an outgoing ray along the position of the follow icon; A direction is determined based on the ray, and fixed keys are displayed on the game page along the direction.

5. The method according to claim 1, characterized in that After displaying the follow icon at a position corresponding to the second skill key, the method further includes: Acquire a third stay time of the follow icon outside the second preset range; When the third dwell time is greater than the preset time, determining the direction of the follow icon relative to the second skill key in the game page, and displaying the fixed key at a position corresponding to the second skill key; In response to a triggering operation on the fixed key, the determined direction is determined as a skill release direction corresponding to the second skill key.

6. The method according to claim 1, characterized in that The method further comprises: In response to a third movement operation on the second skill key in the game page, the transparency of the first skill key is adjusted so that the first skill key and the second skill key present different display effects.

7. The method according to claim 1, characterized in that In response to the skill release operation triggered on the first skill key, before releasing the skill corresponding to the first skill key based on the skill release direction corresponding to the first skill key, the method further includes: Displaying a skill cancel key in the game page; in response to a cancel operation triggered on the skill cancel key, canceling the determined skill release direction; or, The moving distance of the game character in the game page is obtained; when the moving distance is greater than a preset distance, the determined skill release direction is cancelled.

8. A skill releasing device, characterized in that: The device comprises: An acquisition module, configured to, in response to a first movement operation triggered on a first skill key in a game page of a MOBA game, acquire a first stay time of a follow icon corresponding to the first movement operation outside a first preset range; the game page controls the movement of a game character by one hand and controls the skill by another hand; a determination and display module, configured to determine the direction of the follow icon relative to the first skill key in the game page and display a fixed key in the game page when the first dwell time is greater than a preset time; a determination module, configured to determine the determined direction as a skill release direction corresponding to the first skill key in response to a triggering operation on the fixed key; a releasing module, configured to, in response to a skill release operation triggered on the first skill key, release the skill corresponding to the first skill key based on a skill release direction corresponding to the first skill key; The acquisition module is also used to respond to a third movement operation on the second skill key in the game page, and display the follow icon at the position corresponding to the second skill key, with the size of the direction prompt label being smaller than the size of the follow icon, while canceling the display of the follow icon and the fixed key corresponding to the first skill key and displaying a direction prompt label at the position where the follow icon was originally located.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for controlling virtual object to attack, terminal and storage medium

    CN110694261A

  • Method and device for processing virtual object in game and electronic equipment

    CN112535866A