Method, device and equipment for canceling release of game skill and storage medium
By adjusting the release direction of the game skill controls and the display position of the cancellation area, and using the movement parameters of the touch point to control the display of the cancellation area, the problem of low cancellation efficiency caused by the game skill controls and cancellation controls not being on the same side is solved, thus improving the user's gaming experience and operational efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2021-10-12
- Publication Date
- 2026-06-09
Smart Images

Figure CN113996051B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of game technology, and in particular to a method, apparatus, device, and storage medium for canceling the release of game skills. Background Technology
[0002] First-person shooter (FPS) games are shooting games played from the user's own perspective, where multiple users compete or cooperate by using in-game skills in the same game environment. However, in actual gameplay, if a user makes a mistake with their skill or the combat situation changes and the skill is no longer needed, the user must cancel the use of the skill.
[0003] Currently, canceling the release of game skills mainly involves the terminal device displaying a cancel control on the other side of the graphical user interface when the user clicks on the game skill control. For example, if the game skill control is on the right side of the graphical user interface, the cancel control is on the left side. The user cancels the release of the game skill by clicking on the cancel control.
[0004] However, because the operation areas for the game skill controls and the cancel controls are not on the same side, the efficiency of canceling game skill release is low, resulting in a poor user gaming experience. Summary of the Invention
[0005] This disclosure provides a method, apparatus, device, and storage medium for canceling the release of game skills, enabling users to cancel the release of game skills with one hand, thereby improving the efficiency of canceling game skill release and enhancing the user's gaming experience.
[0006] In a first aspect, embodiments of this disclosure provide a method for canceling the release of a game skill, wherein a graphical user interface is rendered on a terminal device's display, the graphical user interface displaying game skill controls, and the method includes:
[0007] The system receives touch operations applied to the game skill control, adjusts the release direction of the game skill corresponding to the skill control according to the movement of the touch point of the touch operation, and controls the display position of the skill cancellation area according to the movement of the touch point.
[0008] When the movement parameters of the touch point meet the movement threshold parameters, the skill cancellation area is fixedly displayed at the current display position.
[0009] When the touch point moves to the skill cancellation area, the release of the game skill corresponding to the game skill control is cancelled.
[0010] In one possible design of the first aspect, before adjusting the release direction of the game skill corresponding to the skill control according to the movement of the touch point of the touch operation, and controlling the display position of the movement skill cancellation area according to the movement of the touch point, the method further includes:
[0011] When the touch point of the touch operation is outside the first area of the game skill control, the skill cancellation area corresponding to the game skill control is displayed, and the first area and the skill cancellation area do not overlap.
[0012] Optionally, controlling the display position of the movement skill cancellation area based on the movement of the touch point includes:
[0013] During the touch operation, the moving speed and direction of the touch point are obtained;
[0014] When the moving direction is inconsistent with the target direction, and / or the moving speed is less than the preset speed, the display position of the skill cancellation area is controlled according to the movement of the touch point, and the target direction is the direction of the skill cancellation area relative to the touch point;
[0015] Accordingly, the movement parameters of the touch point satisfy the movement threshold parameters, including:
[0016] The direction of movement is consistent with the target direction, and the speed of movement is greater than or equal to the preset speed.
[0017] In another possible design of the first aspect, after receiving the touch operation applied to the game skill control, the method further includes:
[0018] Obtain the pressure applied to the touch point during the touch operation;
[0019] When the pressure is greater than or equal to the preset pressure, the skill cancellation area corresponding to the game skill control is displayed.
[0020] In another possible design of the first aspect, the game skill control includes a game skill joystick and a first area, wherein the initial position of the game skill joystick is located at a preset position within the first area. Optionally, the method includes:
[0021] When the touch point moves within the first area, the game skill joystick is controlled to move within the first area following the movement of the touch point;
[0022] When the touch point moves outside the first area, the game skill joystick is controlled to move to the edge of the first area, and the movement direction of the game skill joystick within the first area is controlled according to the movement direction of the touch point.
[0023] Optionally, when the touch point moves to the skill cancellation area, it controls the cancellation of the release of the game skill corresponding to the game skill control, including:
[0024] The game skill joystick is displayed at the location of the touch point on the graphical user interface.
[0025] When the game skill joystick is moved to the skill cancellation area, the release of the game skill corresponding to the game skill control is cancelled.
[0026] Secondly, embodiments of this disclosure provide a device for canceling the release of a game skill, wherein a graphical user interface is rendered on a terminal device's display, the graphical user interface displaying game skill controls, and the device includes:
[0027] The processing module is used to receive touch operations applied to the game skill control, adjust the release direction of the game skill corresponding to the skill control according to the movement of the touch point of the touch operation, and control the display position of the skill cancellation area according to the movement of the touch point.
[0028] The processing module is also used to control the skill cancellation area to be fixedly displayed at the current display position when the movement parameters of the touch point meet the movement threshold parameters;
[0029] The processing module is also used to control the release of the game skill corresponding to the game skill control to be cancelled when the touch point moves to the skill cancellation area.
[0030] In one possible design of the second aspect, before adjusting the release direction of the game skill corresponding to the skill control according to the movement of the touch point of the touch operation, and controlling the display position of the skill cancellation area according to the movement of the touch point, the device further includes:
[0031] The display module is used to display the skill cancellation area corresponding to the game skill control when the touch point of the touch operation is outside the first area of the game skill control, wherein the first area and the skill cancellation area do not overlap.
[0032] Optionally, the processing module is further configured to:
[0033] During the touch operation, the moving speed and direction of the touch point are obtained;
[0034] When the moving direction is inconsistent with the target direction, and / or the moving speed is less than the preset speed, the display position of the skill cancellation area is controlled according to the movement of the touch point, and the target direction is the direction of the skill cancellation area relative to the touch point;
[0035] Accordingly, the movement parameters of the touch point satisfy the movement threshold parameters, including:
[0036] The direction of movement is consistent with the target direction, and the speed of movement is greater than or equal to the preset speed.
[0037] In another possible design of the second aspect, after receiving the touch operation applied to the game skill control, the device further includes:
[0038] The acquisition module is used to acquire the pressure applied to the touch point of the touch operation;
[0039] When the pressure is greater than or equal to a preset pressure, the processing module displays the skill cancellation area corresponding to the game skill control.
[0040] In another possible design of the second aspect, the game skill control includes a game skill joystick and a first area, wherein the initial position of the game skill joystick is located at a preset position within the first area.
[0041] Optionally, the processing module is further configured to:
[0042] When the touch point moves within the first area, the game skill joystick is controlled to move within the first area following the movement of the touch point;
[0043] When the touch point moves outside the first area, the game skill joystick is controlled to move to the edge of the first area, and the movement direction of the game skill joystick within the first area is controlled according to the movement direction of the touch point.
[0044] Optionally, the processing module is used for:
[0045] The game skill joystick is displayed at the location of the touch point on the graphical user interface.
[0046] When the game skill joystick is moved to the skill cancellation area, the release of the game skill corresponding to the game skill control is cancelled.
[0047] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor executes the computer program instructions to implement the methods provided in the first aspect and various possible designs.
[0048] Fourthly, embodiments of this disclosure may provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided in the first aspect and various possible designs.
[0049] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, is used to implement the methods provided in the first aspect and various possible designs.
[0050] This disclosure provides a method, apparatus, device, and storage medium for canceling game skill release. The method includes: receiving a touch operation applied to a game skill control; adjusting the release direction of the game skill corresponding to the skill control based on the movement of the touch point; controlling the display position of a skill cancellation area based on the movement of the touch point; fixing the skill cancellation area in the current display position when the movement parameters of the touch point meet a movement threshold parameter; and controlling the cancellation of the game skill release corresponding to the game skill control when the touch point moves to the skill cancellation area. This technical solution controls the display position of the skill cancellation area based on the movement parameters of the touch point, thereby controlling the cancellation of the game skill release corresponding to the game skill control when the touch point moves to the skill cancellation area, improving the efficiency of canceling game skill release and enhancing the user's gaming experience. Attached Figure Description
[0051] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1A A schematic diagram of the graphical user interface of an existing game application provided in this disclosure embodiment;
[0053] Figure 1B A schematic diagram of a conventional graphical user interface for canceling game skill release provided in this embodiment of the disclosure;
[0054] Figure 2 A schematic diagram illustrating an application scenario of the game skill cancellation release method provided in this embodiment of the disclosure;
[0055] Figure 3 A flowchart illustrating the method for canceling the release of a game skill provided in this embodiment of the disclosure;
[0056] Figure 4A A schematic diagram of a graphical user interface for a touch operation embodiment provided in this disclosure;
[0057] Figure 4B A graphical user interface diagram of a second embodiment of touch operation provided in this disclosure;
[0058] Figure 5 A schematic diagram of the graphical user interface of the third embodiment of touch operation provided in this disclosure;
[0059] Figure 6 A schematic diagram of the graphical user interface of the fourth embodiment of touch operation provided in this disclosure;
[0060] Figure 7 A graphical user interface diagram of the fifth embodiment of touch operation provided in this disclosure;
[0061] Figure 8 A schematic diagram of a graphical user interface provided for an embodiment of this disclosure;
[0062] Figure 9 A schematic diagram of the structure of the game skill cancellation release device provided in this embodiment of the disclosure;
[0063] Figure 10 A schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure.
[0064] The accompanying drawings have illustrated specific embodiments of this disclosure, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this disclosure to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0065] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0066] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in this disclosure, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such use of data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein.
[0067] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion, such that a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or apparatus.
[0068] Before introducing the embodiments of this disclosure, the background technology of the embodiments of this disclosure will first be explained:
[0069] Online games refer to sustainable, individual, multiplayer online games that use the internet as a transmission medium, game operator servers and user computers as processing terminals, and game client software as the information interaction window. These games aim to provide entertainment, leisure, communication, and virtual achievements. Online games primarily include Multiplayer Online Battle Arena (MOBA) and First-Person Shooter (FPS) games. Massive Multiplayer Online First-Person Shooter (MMOFPS) games, which reduce competitiveness and increase entertainment, are an important genre within FPS games. In MMOFPS games, multiple users' virtual characters exist in the same macro-game environment, interacting in real-time and cooperating or fighting by unleashing game skills.
[0070] In MMOFPS games, skills can include throwing grenades, smoke grenades, flashbangs, etc. During gameplay, users need to adjust the placement of these skills based on the current combat situation before releasing them. However, if a user accidentally activates a skill, performs an incorrect operation, or the combat situation changes and the skill is no longer necessary, the user must cancel the skill's activation.
[0071] Currently, graphical user interfaces mainly include game skill controls and movement controls. Figure 1A A schematic diagram of a graphical user interface for an existing game application provided in this disclosure embodiment. For example... Figure 1AAs shown, the movement controls include a joystick, and the graphical user interface also includes five game skill controls: Game Skill 1, Game Skill 2, Game Skill 3, Game Skill 4, and Game Skill 5. The joystick can be used to control the virtual character's movement and adjust the direction of the game skill's release, such as jumping, shooting, and sliding. The joystick and game skill controls can also be used to adjust the release direction of the game skill, such as throwing a grenade, a smoke grenade, or a flashbang. Canceling the release of a game skill involves the terminal device displaying a cancel control on the other side of the graphical user interface when the user clicks on a game skill control. The user can cancel the release of the game skill by clicking the cancel control. Figure 1B A schematic diagram of a conventional graphical user interface for canceling game skill release, provided as an embodiment of this disclosure. (e.g.) Figure 1B As shown, game skill 1 is on the right side of the graphical user interface. When the user clicks on game skill 1, a cancel control is displayed on the left side of the graphical user interface.
[0072] The main reason why the operation areas of the game skill control and the cancel control are not on the same side is that users need to adjust the release direction of the game skill when releasing it. If the cancel control is placed near the game skill control, it will be inconvenient for users to click on the cancel control, which will easily affect the user's game operation and affect the user's game experience.
[0073] However, because the operation areas for the game skill controls and the cancel controls are not on the same side, the efficiency of canceling game skill release is low, resulting in a poor user gaming experience.
[0074] To address the aforementioned problems, the inventive concept of this disclosure is as follows: When releasing a game skill, the user's attention is focused on the operation area of the game skill control, easily overlooking the cancellation control that appears on the other side. Furthermore, the operation areas of the game skill control and the cancellation control are far apart, requiring both hands to cancel the release of the game skill during gameplay, resulting in low efficiency and a poor user experience. Based on this, the inventors discovered that if the movement parameters of the touch point can be obtained, and when these parameters do not meet a movement threshold parameter, the display position of the skill cancellation area can be controlled according to the movement of the touch point; when the movement parameters meet the movement threshold parameter, the skill cancellation area is fixedly displayed in the current display position. Thus, when the touch point moves to the skill cancellation area, the release of the game skill corresponding to the canceled game skill control is controlled, solving the problems of low efficiency and poor user experience in canceling game skill releases in the prior art, thereby ensuring the smoothness of canceling game skill releases.
[0075] Next, we will briefly introduce the application scenarios of canceling the release of game skills.
[0076] The game interaction method in this embodiment can run on a local terminal device or a server. When the game interaction method runs on a server, it can be a cloud game.
[0077] In one optional implementation, cloud gaming refers to a gaming method based on cloud computing. In cloud gaming, the game program and the game screen are separate. The storage and execution of interactive methods within the game are completed on the cloud gaming server. The cloud gaming client is used for receiving and sending data and displaying the game screen. For example, the cloud gaming client can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the game data processing is performed by the cloud gaming server in the cloud. During gameplay, the player uses the cloud gaming client to send commands to the cloud gaming server. The cloud gaming server runs the game according to the commands, encodes and compresses game screen data, returns it to the cloud gaming client via the network, and finally, the cloud gaming client decodes and outputs the game screen.
[0078] In an alternative implementation, the local terminal device stores a game program and is used to display game visuals. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., by conventionally downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on a terminal display screen or providing it to the player via holographic projection. For example, the local terminal device may include a display screen for displaying the GUI, which includes game visuals, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the screen.
[0079] For example, the method for canceling the release of game skills provided in this disclosure can be applied to... Figure 2 The diagram shows one application scenario. Figure 2 This diagram illustrates an application scenario of the game skill cancellation method provided in this embodiment, used to solve the aforementioned technical problems. Figure 2 As shown, this scenario includes at least one terminal device (such as...) Figure 2The game includes terminal devices 11 and 12, and a game server 13. Terminal devices 11 and 12 are communicatively connected to the game server 13. Each terminal device corresponds to a user; for example, terminal device 11 corresponds to user A, and terminal device 12 corresponds to user B. Users A and B can be opponents or teammates in an FPS game. User A performs touch operations on terminal device 11 to release or cancel game skills, and user B performs touch operations on terminal device 12 to release or cancel game skills. Different users can adjust the release position and direction of game skills according to their own usage habits, and users can quickly cancel game skill releases.
[0080] In an alternative implementation, the terminal device can be a local terminal device. The local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on a terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0081] The technical solution of this disclosure will now be described in detail through specific embodiments.
[0082] It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0083] Figure 3 This is a flowchart illustrating the method for canceling the release of a game skill provided in this embodiment. A graphical user interface is rendered on the display of a terminal device, which can be either a local terminal device as mentioned above, or a client device in a cloud gaming system. Figure 3 As shown, the method for canceling the release of this game skill can include the following steps:
[0084] S101. Receive touch operation applied to the game skill control, adjust the release direction of the game skill corresponding to the skill control according to the movement of the touch point of the touch operation, and control the display position of the skill cancellation area according to the movement of the touch point.
[0085] In this step, during gameplay, users can control their virtual character through different control areas on the graphical user interface. For example, they can control the virtual character to run, shoot, crouch, slide, and throw grenades. The graphical user interface of this game application includes movement controls and game skill controls located on both sides, meaning that users can control the movement controls and game skill controls with their left and right hands respectively.
[0086] Optionally, the terminal device may also display some game skill controls near the movement controls on the graphical user interface, so that users can more conveniently control the virtual character to release game skills when controlling the virtual character's movement.
[0087] Optionally, the game skill controls include a game skill joystick and a first area, with the initial position of the game skill joystick located at a preset position within the first area.
[0088] For example, the preset position can be the center of the first area, or it can be on the right side of the first area, or it can be on the left side of the first area. It can be limited according to actual needs and the specific content of the game. This embodiment of the disclosure does not impose any specific restrictions on this.
[0089] For example, Figure 4A This is a schematic diagram of a graphical user interface for a touch operation embodiment one provided in this disclosure. Figure 4B This is a schematic diagram of a graphical user interface for a second embodiment of touch operation provided in this disclosure. Figure 4A As shown, a joystick is displayed on the left side of the graphical user interface (GUI). Users can control their virtual character's movement by touching the joystick. The left side of the GUI also displays a joystick with multiple game skill controls: Game Skill 1, Game Skill 2, Game Skill 3, and Game Skill 4. Game Skill 3 is displayed above the joystick. When the user taps Game Skill 1, a first area corresponding to that game skill (the first area being...) is displayed around Game Skill 1. Figure 4A (The area within the dashed circle).
[0090] like Figure 4B As shown, after the user taps game skill 1 with their finger, they can drag game skill 1 to the lower left. The terminal device responds to the user's action by displaying game skill 1 at the location of the touch point on the graphical user interface, and adjusts the release direction of the game skill corresponding to the skill control based on the movement of the touch point.
[0091] Furthermore, in Figure 4BIn the process, when the user stops touching the game skill 1 in the graphical user interface, that is, when the user's finger used to click the game skill 1 leaves the screen of the terminal device, the game skill is released according to the current movement of the touch point.
[0092] The game skill joystick can move only within the first area, or it can move outside the first area.
[0093] In one feasible approach, specifically considering a scenario where a game skill joystick can only move within a first area, the terminal device receives touch input from the game skill joystick. When the touch point moves within the first area, the terminal device controls the game skill joystick to move within that area following the touch point's movement. When the touch point is outside the first area of the game skill joystick, the terminal device controls the joystick to move to the edge of the first area, controlling the joystick's movement direction within the first area based on the touch point's movement direction, displaying the skill cancellation area corresponding to the game skill, and moving the display position of the skill cancellation area.
[0094] In another possible implementation, a specific example is an application scenario where the game skill joystick can move outside the first area. The terminal device receives a touch operation on the game skill joystick that acts on the game skill control. The game skill joystick is displayed at the location of the touch point of the touch operation. When the game skill joystick is outside the first area of the game skill joystick, the skill cancellation area corresponding to the game skill is displayed. The display position of the skill cancellation area is moved according to the movement of the game skill joystick.
[0095] In this feasible approach, for example, Figure 5 This is a schematic diagram of a graphical user interface for a third embodiment of touch operation provided in this disclosure. Figure 5 As shown, in Figure 4B Based on this, during actual gameplay, users can perform touch operations on game skill 1. The terminal device receives the touch operation applied to game skill 1, displays game skill 1 at the location of the touch point, and displays the skill cancellation area corresponding to the game skill control when the game skill joystick is outside the first area of the game skill control.
[0096] In another possible implementation, after receiving a touch operation on the game skill joystick of the game skill control, the terminal device displays the skill cancellation area corresponding to the game skill control, and moves the display position of the skill cancellation area according to the movement of the touch point.
[0097] In another possible implementation, the terminal device can obtain the pressure on the touch point of the touch operation, and when the pressure is greater than or equal to a preset pressure, display the skill cancellation area corresponding to the game skill control, and control the display position of the skill cancellation area according to the movement of the touch point.
[0098] In this feasible approach, such as Figure 5 As shown, when the user touches game skill 1, if the pressure on the touch point of the touch operation obtained by the terminal device exceeds the preset pressure, the skill cancellation area is displayed in the lower left corner of the game skill control.
[0099] In this feasible method, after displaying the skill cancellation area corresponding to the game skill control, if the current pressure on the obtained touch point is less than the preset pressure, then the display of the skill cancellation area corresponding to the game skill control is cancelled.
[0100] In any of the above-mentioned feasible methods, controlling the display position of the movement skill cancellation area based on the movement of the touch point can be achieved through the following steps: obtaining the movement speed and movement direction of the touch point during the touch operation; when the movement direction is inconsistent with the target direction, and / or the movement speed is less than the preset speed, controlling the display position of the movement skill cancellation area based on the movement of the touch point.
[0101] The target direction is the direction of the skill cancellation area relative to the touch point.
[0102] For example, Figure 6 This is a schematic diagram of the graphical user interface for a fourth embodiment of touch operation provided in this disclosure. Figure 6 When a user drags game skill 1 with their index finger, the terminal device obtains the movement speed and direction of game skill 1. If the movement speed and direction do not meet the movement threshold parameters, the display position of the skill cancellation area is controlled according to the movement speed and direction of the touch point.
[0103] Optionally, the skill cancellation area can be an arc-shaped area. Since the shape of the touch points on the screen of a mobile phone and terminal device is close to a circle, a circular shape for the game skill joystick makes it easier for users to operate and also increases the aesthetics of the graphical user interface. When the skill cancellation area is arc-shaped, the center of the arc-shaped area coincides with the center of the game skill joystick, allowing the edges of the game skill joystick's graphic to better fit the edges of the arc-shaped area, further enhancing the user experience and the aesthetics of the graphical user interface.
[0104] Optionally, the skill cancellation area can also be square, circular, triangular, etc., and can be limited according to the actual situation. This embodiment does not impose specific limitations in this regard.
[0105] In any of the above-mentioned feasible methods, the skill cancellation area corresponding to the game skill can be located outside the first area corresponding to the game skill, and there is no overlapping area with the skill cancellation area.
[0106] Optionally, a preset display distance can be set between the skill cancellation area and the game skill joystick. The preset display distance can be 2 cm, 2.5 cm, 3 cm, etc., and can be specifically set according to the size of the skill cancellation area and the size of the game skill joystick. This embodiment does not impose specific limitations on this.
[0107] In any of the above-mentioned feasible methods, when the terminal device moves the display of the skill cancellation area, it can further process the area of the skill cancellation area. For example, the terminal device can obtain the distance between the current position of the game skill joystick and a preset position, and control the area of the skill cancellation area to be enlarged proportionally according to the ratio of this distance to the preset distance.
[0108] S102. When the movement parameters of the touch point meet the movement threshold parameters, the control skill cancellation area is fixedly displayed at the current display position.
[0109] In this step, since the user needs to drag the game skill control to move it when controlling the direction of the virtual character's game skill release, after the terminal device displays the skill cancellation area on the graphical user interface, it also needs to determine whether the user needs to cancel the release of the game skill. When the user needs to cancel the release of the game skill, the skill cancellation area of the game skill can be fixed in display to facilitate subsequent cancellation of the game skill, thereby improving the accuracy and efficiency of canceling the release of the game skill.
[0110] In one specific implementation, the movement parameters include the movement direction and speed of the touch point, and the movement threshold parameters include the target direction and the preset speed. When the movement direction of the touch point is consistent with the target direction, and the movement speed is greater than or equal to the preset speed, the electronic device control skill cancellation area is fixedly displayed at the current display position.
[0111] The target direction is the direction of the skill cancellation area relative to the touch point.
[0112] S103. When the touch point moves to the skill cancellation area, the release of the game skill corresponding to the game skill control is cancelled.
[0113] In this step, after the terminal device fixes the skill cancellation area in the graphical user interface, it also needs to control the release of the game skill corresponding to the cancellation control based on the current position of the touch point.
[0114] In one feasible approach, taking the application scenario where the game skill joystick can only move within the first area as an example, when the touch point of the touch operation moves within the first area, the game skill joystick is controlled to move within the first area following the movement of the touch point. When the touch point of the touch operation is outside the first area of the game skill control, the game skill joystick is controlled to move to the edge of the first area, and the movement direction of the game skill joystick within the first area is controlled according to the movement direction of the touch point. When the touch point moves to the skill cancellation area, the release of the game skill corresponding to the canceled game skill control is controlled.
[0115] In another possible implementation, a specific example is the application scenario where the game skill joystick can move outside the first area. The game skill joystick is displayed at the location of the touch point on the graphical user interface, and when the game skill joystick moves to the skill cancellation area, the release of the game skill corresponding to the cancel game skill control is controlled.
[0116] In this feasible approach, for example, Figure 7 This is a schematic diagram of a graphical user interface for a fifth embodiment of touch operation provided in this disclosure. Figure 7 In the game, if a user drags game skill 1 to the skill cancellation area with their finger and stops touching the screen of the terminal device, the release of the game skill corresponding to game skill 1 will be cancelled.
[0117] The terminal device can be pre-set with a preset overlap ratio. When the overlap ratio between the game skill joystick and the skill cancellation area reaches the preset overlap ratio, it is considered that the game skill joystick has moved into the skill cancellation area.
[0118] For example, the preset overlap ratio can be 50%, 60%, 70%, etc., and can be limited according to the actual needs of the game. This disclosure does not impose specific limitations on this.
[0119] The game skill cancellation method provided in this disclosure receives touch operations applied to a game skill control, adjusts the release direction of the game skill corresponding to the skill control based on the movement of the touch point, and controls the display position of the skill cancellation area based on the movement of the touch point. When the movement parameters of the touch point meet the movement threshold parameters, the skill cancellation area is fixedly displayed at the current display position. When the touch point moves to the skill cancellation area, the release of the game skill corresponding to the game skill control is cancelled. This technical solution controls the display position of the skill cancellation area based on the movement parameters of the touch point, thereby controlling the cancellation of the game skill corresponding to the game skill control when the touch point moves to the skill cancellation area, improving the efficiency of cancelling game skill release and enhancing the user's gaming experience.
[0120] Furthermore, in this embodiment, when the movement parameters do not meet the movement threshold parameters, the display position of the skill cancellation area is controlled according to the movement of the touch point, effectively avoiding the situation where a fixed display of the skill cancellation area affects user operation. Displaying the skill cancellation area around the first area of the game skill control allows users to cancel and release game skills with one hand, further improving the efficiency and accuracy of canceling game skill release, ensuring the user's gaming experience, and avoiding the situation of erroneously triggering the cancellation of game skill release.
[0121] The following is an application scenario of this embodiment. Figure 8 This is a schematic diagram of a graphical user interface provided in an embodiment of this disclosure. The interface includes a game scene and virtual objects located within that game scene. The game scene and virtual objects are not explicitly shown in the diagram. Figure 8 As shown in the image, the player controls virtual objects to move within the game scene. Figure 8 The interface displays a variety of controls, which are shown on top of the game scene.
[0122] In this design, 1000 represents a backpack control. Touch operations on this control trigger the display of the backpack interface in the graphical user interface, allowing users to view the items and props within the backpack. These items and props may include, but are not limited to, medicines, weapons, accessories, and armor. In an optional implementation, the backpack control has edge lines to indicate the quantity of items inside. Touch operations on the backpack control can include clicking, double-clicking, long-pressing, and swiping.
[0123] 1002 represents a motion control, and the shaded circle represents the joystick within the motion control (i.e., the aforementioned motion joystick). In an optional embodiment, the motion control is configured with a motion response area, wherein the motion response area can be the same size as the motion control; that is, the area in the graphical user interface corresponding to the motion control is the motion response area. In an optional embodiment, the size of the motion response area can be larger than the size of the motion control; that is, the motion control is set within the motion response area, and in terms of distance, the graphical user interface is divided into left and right areas from the middle, wherein the left area is the motion response area of the motion control. Touch operations applied to the motion response area of the motion control trigger motion control commands, and the movement direction of the virtual object is controlled according to the motion control commands. Touch operations applied to the motion response area of the motion control can include clicks, double clicks, long presses, swipes, etc.
[0124] When a touch operation that triggers a movement control command meets preset conditions, the "Sprint" command is triggered, controlling the virtual object to run automatically and continuously in the game scene. For example... Figure 8In one optional implementation, when a touch operation triggering a movement control command meets preset conditions, it means that the touch operation applied to the movement joystick area slides along a preset direction to a preset distance or a preset area (e.g., the position indicated by the arrow above the joystick). For example, when the joystick is dragged upwards during a touch operation, a sprint control 1006 appears. When this sprint control is triggered, the virtual object enters a fast running mode. Simultaneously, control 1030 is also a sprint control; clicking control 1030 causes the virtual object to enter a fast running mode. In one optional implementation, when a touch operation triggering a movement control command meets preset conditions, it means that the touch operation applied to the movement joystick area meets a preset duration or a preset pressure, etc.
[0125] Both 1004 and 1014 are attack controls, specifically one type of game skill control mentioned earlier. Touch operations applied to the attack response area of the attack control trigger attack commands, which in turn control the virtual character to perform attack actions in the game scene. The attack behavior triggered by the attack control corresponds to the current equipment state of the virtual object. For example, when the virtual object is equipped with a ranged weapon, the attack control triggers a shooting action; that is, the left hand can trigger control 1004 to perform a shooting action, and the right hand can trigger control 1014 to perform a shooting action. When the virtual character is equipped with a melee weapon, the attack control triggers a slashing action, and so on. In an optional implementation, only one of attack controls 1004 and 1014 is displayed. The display position of the attack control can be adjusted according to a position setting command, which can be triggered in the settings interface or during gameplay. Touch operations applied to the attack control can include clicking, double-clicking, long-pressing, and swiping.
[0126] 1008 and 1010 are gesture controls. Touch operations applied to these gesture controls trigger gesture adjustment commands to adjust the virtual object's posture in the game scene. Specifically, triggering the 1008 control positions the weapon at the virtual object's left arm and causes the virtual object to stand with its head turned to the left; triggering the 1010 control positions the weapon at the virtual object's right arm and causes the virtual object to stand with its head turned to the right. 1008 and 1010 are primarily used for gesture control of the virtual object when it is hiding behind obstacles such as walls or trees. Touch operations applied to the gesture controls can include clicking, double-clicking, long-pressing, and swiping.
[0127] 1012 is the weapon slot; activating the weapon slot allows the player to switch weapons. The "Rapid Fire" indicator on the left shows the current firing mode, in which multiple bullets are fired consecutively. In addition to "Rapid Fire," a "Single Fire" mode can be switched to, firing a single bullet at a time. The lower shaded bar displays the amount of ammunition in the weapon. The ammunition decreases while firing; when it reaches zero, a reload is automatic, at which point the ammunition is at its maximum. Additionally, the 1016 control is the reload control; activating it adds ammunition to the currently used weapon, and after reloading, the ammunition is at its maximum. Touch controls on the weapon slot include tap, double tap, long press, and swipe.
[0128] Controls 1018 and 1020 are action controls. Touch operations applied to these controls control virtual objects to perform corresponding actions in the game scene. For example, triggering 1018 makes the virtual object crouch, while triggering 1020 makes it prone. Control 1022 makes the virtual object jump. Touch operations applied to these control controls can include clicking, double-clicking, long-pressing, and swiping.
[0129] The 1024 control is used to control the current game scene to enter the scope mode. When a first touch operation is detected on the 1024 control, the game scene enters the scope mode. In the scope mode, the aiming lens is displayed in the game scene, and the game scene seen by the virtual object through the aiming lens is also displayed. The scope mode can improve the accuracy of shooting. When a second touch operation is detected on the 1024 control, the game scene exits the scope mode. In an optional embodiment, the first touch operation and the second touch operation are independent touch operations. For example, clicking the 1024 control controls the current game scene to enter the scope mode, and clicking the 1024 control again exits the scope mode, and the game scene captured by the virtual camera following the virtual object is displayed again. In an optional embodiment, the first touch operation and the second touch operation can be the start and end operation of a single touch operation. For example, when a touch is detected on the 1024 control, the game scene enters the scope mode. During continuous pressing, the game scene remains in the scope mode. When the touch triggering the touch operation leaves the touch detection area, the game scene exits the scope mode.
[0130] The 1026 control is used to control the shooting parameters of the virtual camera that displays the game screen, thereby adjusting the field of view of the game scene displayed in the graphical user interface. In an optional implementation, a touch operation is detected acting on the 1026 control, and the shooting parameters of the virtual camera are adjusted according to the touch operation. These shooting parameters include, but are not limited to, the position, orientation, and viewing angle of the virtual camera. The touch operation acting on the 1026 control can be a click, double-click, long press, or swipe.
[0131] The 1028 control is a marker control, used to mark virtual objects and other virtual items in the game scene through touch operations applied to it. The 1032 control is a settings control; clicking it displays a settings menu for configuring the game's basic functions. Touch operations applied to the 1028 control include clicking, double-clicking, long-pressing, and swiping.
[0132] Controls 1034 and 1036 are message controls. Control 1034 can be used to view system notifications, while control 1036 can be used to view or send messages to teammates. Control 1038 is a minimap, used to display the location of the player-controlled virtual object, and can also display the locations of some other players' virtual objects.
[0133] Based on the above application scenarios, players can drag different controls to execute the cancellation method of the game skills provided in this disclosure.
[0134] The following are embodiments of the apparatus disclosed herein, which can be used to execute embodiments of the method disclosed herein. For details not disclosed in the apparatus embodiments of this disclosure, please refer to the embodiments of the method disclosed herein.
[0135] Figure 9 A schematic diagram of the structure of the game skill cancellation release device provided in this embodiment of the disclosure. Figure 9 As shown, a graphical user interface is rendered on the display of a terminal device. The graphical user interface displays game skill controls, and the cancellation / release device for the game skill includes:
[0136] The processing module 71 is used to receive touch operations applied to the game skill control, adjust the release direction of the game skill corresponding to the skill control according to the movement of the touch point of the touch operation, and control the display position of the skill cancellation area according to the movement of the touch point.
[0137] The processing module 71 is also used to control the skill cancellation area to be fixedly displayed at the current display position when the movement parameters of the touch point meet the movement threshold parameters;
[0138] The processing module 71 is also used to control the release of the game skill corresponding to the game skill control when the touch point moves to the skill cancellation area.
[0139] In one possible design of this disclosure embodiment, before adjusting the release direction of the game skill corresponding to the skill control according to the movement of the touch point of the touch operation, and before controlling the display position of the skill cancellation area according to the movement of the touch point, the device further includes:
[0140] The display module is used to display the skill cancellation area corresponding to the game skill control when the touch point of the touch operation is outside the first area of the game skill control. The first area and the skill cancellation area do not overlap.
[0141] Optionally, processing module 71 is also used for:
[0142] During a touch operation, the movement speed and direction of the touch point are obtained;
[0143] When the movement direction is inconsistent with the target direction, and / or the movement speed is less than the preset speed, the display position of the skill cancellation area is controlled according to the movement of the touch point, and the target direction is the direction of the skill cancellation area relative to the touch point;
[0144] Accordingly, the movement parameters of the touch point satisfy the movement threshold parameters, including:
[0145] The direction of movement is consistent with the target direction, and the movement speed is greater than or equal to the preset speed.
[0146] In another possible design of this disclosure embodiment, after receiving a touch operation applied to a game skill control, the device further includes:
[0147] The acquisition module is used to acquire the pressure applied to the touch point during a touch operation;
[0148] The processing module 71 displays the skill cancellation area corresponding to the game skill control when the pressure is greater than or equal to the preset pressure.
[0149] In another possible design of the embodiments of this disclosure, the game skill control includes a game skill joystick and a first area, wherein the initial position of the game skill joystick is located at a preset position within the first area.
[0150] Optionally, the processing module 71 is also used for:
[0151] When the touch point moves within the first area, the joystick controlling the game skill moves within the first area in accordance with the movement of the touch point;
[0152] When the touch point moves outside the first area, the game skill joystick is moved to the edge of the first area, and the movement direction of the game skill joystick within the first area is controlled according to the movement direction of the touch point.
[0153] Optionally, processing module 71 is used for:
[0154] The game skill joystick is displayed at the location of the touch point on the graphical user interface;
[0155] When the game skill joystick is moved to the skill cancellation area, the release of the game skill corresponding to the cancel game skill control is controlled.
[0156] The game skill cancellation release device provided in this disclosure can be used to execute the game skill cancellation release method in any of the above embodiments. Its implementation principle and technical effect are similar, and will not be described again here.
[0157] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. Additionally, these modules can be fully or partially integrated together, or implemented independently. The processing element mentioned here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through the integrated logic circuits in the hardware of the processor element or through software instructions.
[0158] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Figure 9 As shown, the electronic device may include: a processor 91, a memory 92, and computer program instructions stored in the memory 92 and executable on the processor 91. When the processor 91 executes the computer program instructions, it implements the game skill cancellation release method provided in any of the foregoing embodiments.
[0159] Optionally, the electronic device may also include an interface for interacting with other devices.
[0160] Optionally, the various components of the electronic device can be connected via a system bus.
[0161] The memory 92 can be a separate memory unit or a memory unit integrated into the processor. There can be one or more processors.
[0162] It should be understood that processor 91 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this disclosure can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0163] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0164] All or part of the steps in the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above-described method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof.
[0165] The electronic device provided in this disclosure can be used to execute the game skill cancellation release method provided in any of the above method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.
[0166] This disclosure provides a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the aforementioned method for canceling and releasing game skills.
[0167] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0168] Optionally, a readable storage medium can be coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Alternatively, the readable storage medium can be an integral part of the processor. Both the processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components within the device.
[0169] This disclosure also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, it can implement the above-described method for canceling and releasing game skills.
[0170] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for canceling release of a game skill, characterized by, The method involves rendering a graphical user interface (GUI) onto a terminal device's display, wherein the GUI displays game skill controls, and the method includes: The system receives touch input applied to the game skill control, adjusts the release direction of the game skill corresponding to the skill control according to the movement of the touch point of the touch input, and controls the display position of the skill cancellation area according to the movement of the touch point when the movement parameters of the touch point do not meet the movement threshold parameters. The movement parameters include the movement direction and speed of the touch point. When the movement parameters of the touch point meet the movement threshold parameters, the skill cancellation area is fixedly displayed at the current display position. When the touch point moves to the skill cancellation area, the release of the game skill corresponding to the game skill control is cancelled.
2. The method of claim 1, wherein, Before adjusting the release direction of the game skill corresponding to the skill control based on the movement of the touch point of the touch operation, and controlling the display position of the skill cancellation area based on the movement of the touch point, the method further includes: When the touch point of the touch operation is outside the first area of the game skill control, the skill cancellation area corresponding to the game skill control is displayed, and the first area and the skill cancellation area do not overlap.
3. The method according to claim 2, characterized in that, When the movement parameters of the touch point in a touch operation do not meet the movement threshold parameters, the display position of the movement skill cancellation area is controlled according to the movement of the touch point, including: During the touch operation, the moving speed and direction of the touch point are obtained; When the moving direction is inconsistent with the target direction, and / or the moving speed is less than the preset speed, the display position of the skill cancellation area is controlled according to the movement of the touch point, and the target direction is the direction of the skill cancellation area relative to the touch point; Accordingly, the movement parameters of the touch point satisfy the movement threshold parameters, including: The direction of movement is consistent with the target direction, and the speed of movement is greater than or equal to the preset speed.
4. The method according to claim 1, characterized in that, After receiving the touch operation applied to the game skill control, the method further includes: Obtain the pressure applied to the touch point during the touch operation; When the pressure is greater than or equal to the preset pressure, the skill cancellation area corresponding to the game skill control is displayed.
5. The method according to claim 1, characterized in that, The game skill control includes a game skill joystick and a first area, wherein the initial position of the game skill joystick is located at a preset position within the first area.
6. The method according to claim 5, characterized in that, The method further includes: When the touch point moves within the first area, the game skill joystick is controlled to move within the first area following the movement of the touch point; When the touch point moves outside the first area, the game skill joystick is controlled to move to the edge of the first area, and the movement direction of the game skill joystick within the first area is controlled according to the movement direction of the touch point.
7. The method according to claim 5, characterized in that, When the touch point moves to the skill cancellation area, it controls the cancellation of the release of the game skill corresponding to the game skill control, including: The game skill joystick is displayed at the location of the touch point on the graphical user interface. When the game skill joystick is moved to the skill cancellation area, the release of the game skill corresponding to the game skill control is cancelled.
8. A device for canceling the release of a game skill, characterized in that, A graphical user interface is rendered on the display of a terminal device, the graphical user interface displaying game skill controls, the device comprising: The processing module is configured to receive touch operations applied to the game skill control, adjust the release direction of the game skill corresponding to the skill control according to the movement of the touch point of the touch operation, and control the display position of the skill cancellation area according to the movement of the touch point when the movement parameters of the touch point do not meet the movement threshold parameters; wherein, the movement parameters include the movement direction and movement speed of the touch point; The processing module is also used to control the skill cancellation area to be fixedly displayed at the current display position when the movement parameters of the touch point meet the movement threshold parameters; The processing module is also used to control the release of the game skill corresponding to the game skill control to be cancelled when the touch point moves to the skill cancellation area.
9. An electronic device, characterized in that, include: A processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor, when executing the computer program instructions, implements the method for canceling the release of a game skill as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method for canceling the release of a game skill as described in any one of claims 1 to 7.
11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it is used to implement the method for canceling the release of a game skill as described in any one of claims 1 to 7.