CN117492625A - Skill release method and device and electronic equipment - Google Patents

Skill release method and device and electronic equipment Download PDF

Info

Publication number
CN117492625A
CN117492625A CN202210884548.1A CN202210884548A CN117492625A CN 117492625 A CN117492625 A CN 117492625A CN 202210884548 A CN202210884548 A CN 202210884548A CN 117492625 A CN117492625 A CN 117492625A
Authority
CN
China
Prior art keywords
skill
target
endpoint
game scene
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210884548.1A
Other languages
Chinese (zh)
Inventor
陈璋君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202210884548.1A priority Critical patent/CN117492625A/en
Publication of CN117492625A publication Critical patent/CN117492625A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/58Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a skill releasing method, a skill releasing device and electronic equipment, wherein a first endpoint position of a target skill in a game scene is determined in response to touch operation aiming at a skill rocker control; determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered; the first end point position and the second end point position are respectively a release starting point position or a release end point position of the target skill, and the first end point position and the second end point position are different; in response to a release operation of the target skill, controlling the target skill release based on the first endpoint location and the second endpoint location. In the mode, the first end point position of the target skill in the game scene can be determined through the skill rocker control of the touch terminal equipment, and the second end point position of the target skill in the game scene can be determined through the intelligent triggering mode, so that the function of selecting the starting point and the end point in the terminal equipment is realized, the learning cost is reduced, and the operation is simplified.

Description

Skill release method and device and electronic equipment
Technical Field
The present invention relates to the field of game technologies, and in particular, to a skill releasing method, a skill releasing device, and an electronic device.
Background
In a game at a computer end, aiming at the operation of selecting a starting point and an ending point, a user can easily realize the operation through a keyboard and a mouse, for example, some skills need to create a trajectory track with a direction in a certain range, and a player can firstly press the mouse in a selectable range to determine the starting point of the trajectory track and then select the ending point of the trajectory track in a mode of pressing the mouse and dragging. However, it is difficult to realize the device in a terminal device such as a mobile phone. In the related art, for the operation requiring selection of the start point and the end point, corresponding operation functions are generally set, and then selection of the start point and the end point is performed, for example, when path planning is performed, the function of path planning is required to be opened first, and then the path planning is performed by clicking the start point and the end point in sequence, so that the learning cost is high and the operation is complex.
Disclosure of Invention
In view of the above, the present invention aims to provide a skill releasing method, a skill releasing device and an electronic device, so as to realize the function of selecting a starting point and an ending point in a terminal device in a manner of directly contacting a control, and simultaneously reduce learning cost and simplify operation.
In a first aspect, an embodiment of the present invention provides a skill releasing method, where a graphical user interface is provided by a terminal device, where the graphical user interface includes a scene picture of a game scene and a skill rocker control; the skill rocker control is preset with a skill operation area; the method comprises the following steps: responding to touch operation of the skill rocker control, and determining a first endpoint position of the target skill in the game scene based on the touch position of the skill rocker control in the skill operation area; the first endpoint comprises a release starting point position or a release end point position of the target skill; determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered; the second endpoint location includes a release start location or a release end location of the target skill; the second endpoint location is different from the first endpoint location; the specified events include: the preset control is triggered, or a target object of a target skill appears in a preset area in the game scene; in response to a release operation of the target skill, controlling the target skill release based on the first endpoint location and the second endpoint location.
Further, in response to the specified event being triggered, determining a second endpoint location of the target skill in the game scene includes: responding to a target object with target skills in a preset area in the game scene, and determining a second endpoint position of the target skills in the game scene according to the target position of the target object in the game scene; the preset area is a circular area taking the first endpoint position as the center of a circle.
Further, in response to the specified event being triggered, determining a second endpoint location of the target skill in the game scene includes: responsive to the preset control being triggered, a second endpoint location of the target skill in the game scene is determined based on the preset control.
Further, a mobile operation area is preset for the preset control; responsive to the preset control being triggered, determining a second endpoint location of the target skill in the game scene based on the preset control, comprising: if no target object of the target skill appears in a preset area in the game scene, triggering a preset control; and responding to the sliding operation aiming at the preset control, determining a second endpoint position of the target skill in the game scene according to the sliding position of the preset control in the moving operation area, and controlling the skill mark of the target skill to indicate the second endpoint position.
Further, the game scene comprises a controlled virtual object; the preset control is a movable rocker control in the graphical user interface, and the initial function of the movable rocker control is used for controlling the controlled virtual character to move; triggering a preset control, comprising the following steps: switching an initial function of the mobile rocker control to a target function, the target function being used to control movement of the controlled virtual character and to adjust a second endpoint position of the target skill in the game scene.
Further, after the step of triggering the preset control, the method further includes: and if a target object of the target skill appears in a preset area in the game scene, switching the target function of the mobile rocker control to an initial function.
Further, the step of triggering the preset control comprises the following steps: and displaying a preset control at a designated position of the graphical user interface, wherein the preset control is used for controlling the position of a second endpoint of the target skill in the game scene.
Further, after the step of triggering the preset control, the method further includes: and canceling to display the preset control.
Further, in response to a touch operation for the skill rocker control, after the step of determining the first endpoint position of the target skill in the game scene based on the touch position of the skill rocker control in the skill operation area, the method further includes: responding to the sliding operation of the skill rocker control, determining a first endpoint position of the target skill in the game scene according to the sliding position of the skill rocker control in the skill operation area, and controlling a skill mark of the target skill to indicate the first endpoint position; wherein the position in the skill manipulation area corresponds to a first endpoint of the target skill in the game scene, and the center position in the skill manipulation area corresponds to a position of the controlled virtual object in the game scene.
Further, in response to a release operation of the target skill, the step of controlling the release of the target skill based on the first endpoint position and the second endpoint position, comprises: responsive to a release operation of the target skill, issuing a ballistic trajectory from the first endpoint position or the second endpoint position, controlling movement of the ballistic trajectory in a direction along the second endpoint position or the first endpoint position; wherein, the trajectory is the injury scope of the target skill.
Further, the game scene comprises a controlled virtual object; responding to the touch operation for the skill rocker control comprises the following steps: displaying the area identification of the selectable area of the first endpoint; the selectable area is a circular area taking the controlled virtual object as a circle center.
Further, the step of responding to the touch operation for the skill rocker control comprises the following steps: displaying an area identifier of a preset area; the preset area is a circular area taking the first end point position as the center of a circle.
In a second aspect, an embodiment of the present invention provides a skill release apparatus, where a graphical user interface is provided by a terminal device, where the graphical user interface includes a scene picture of a game scene and a skill rocker control; the skill rocker control is preset with a skill operation area; the device comprises: the first endpoint determination module is used for responding to the touch operation of the skill rocker control and determining the first endpoint position of the target skill in the game scene based on the touch position of the skill rocker control in the skill operation area; the first endpoint comprises a release starting point position or a release end point position of the target skill; a second endpoint location determination module for determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered; the second endpoint location includes a release start location or a release end location of the target skill; the second endpoint location is different from the first endpoint location; the specified events include: the preset control is triggered, or a target object of a target skill appears in a preset area in the game scene; a skill release module for controlling release of the target skill based on the first endpoint location and the second endpoint location in response to a release operation of the target skill.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions executable by the processor, and the processor executes the computer executable instructions to implement the skill release method according to any one of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the skill release method of any one of the first aspects.
The embodiment of the invention has the following beneficial effects:
the invention provides a skill releasing method, a skill releasing device and electronic equipment, wherein a first endpoint position of a target skill in a game scene is determined in response to touch operation aiming at a skill rocker control; determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered; the first end point position and the second end point position are respectively a release starting point position or a release end point position of the target skill, and the first end point position and the second end point position are different; in response to a release operation of the target skill, controlling the target skill release based on the first endpoint location and the second endpoint location. In the mode, the first end point position of the target skill in the game scene can be determined through the skill rocker control of the touch terminal equipment, and the second end point position of the target skill in the game scene can be determined through the intelligent triggering mode, so that the function of selecting the starting point and the end point in the terminal equipment is realized, the learning cost is reduced, and the operation is simplified.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the invention and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a skill release method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an exemplary skill release method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating another method of skill release according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating another method of skill release according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating another method of skill release according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating another method of skill release according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating another method of skill release according to an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating another method of skill release according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a skill release apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Icon:
1-a first release start position; 2-a first release end position; 1' -a second release start position; 2' -a second release end position.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the current game at the computer end, aiming at the operation needing to select the starting point and the terminal, a user can easily realize the operations through a keyboard and a mouse, for example, the skills of certain virtual characters in the multi-user online athletic game need to create a trajectory track within a certain range, the interactive operation of the skills generally needs to firstly press the mouse within the range to determine the starting point of the trajectory, then select the release direction of the trajectory, namely the terminal position in a manner of holding and dragging, and extend to the terminal at the starting point to generate the trajectory track after the hands are loosened.
For another example, in some strategic games, after the player selects the army with his own, he clicks a position in the scene as the initial point of the matrix, and then adjusts the direction of the array by dragging, and finally confirms to create the current matrix track after releasing his hands. The method is fast and smooth in the operation of the computer, and the immediate feedback of hovering can intuitively preview the path to be created.
However, it is difficult to realize the device in a terminal device such as a mobile phone. In the related art, for the operation requiring selection of the start point and the end point, corresponding operation functions are generally set, and then selection of the start point and the end point is performed, for example, when path planning is performed, the function of path planning is required to be opened first, and then the path planning is performed by clicking the start point and the end point in sequence, so that the learning cost is high and the operation is complex. In particular, in applications that are directed to release skills by a rocker, the function of selecting both a start point and an end point cannot be achieved by a rocker technique.
Based on the above, the method, the device and the electronic equipment for releasing the skills provided by the embodiment of the invention can be applied to terminal equipment with screen touch control functions such as mobile phones, tablet computers and the like.
The skill release method in one embodiment of the present disclosure may be run on a local terminal device or a server. When the skill release method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an alternative embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud game. Taking cloud game as an example, cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the skill release method is stored and operated on the cloud game server, the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the cloud game server which performs information processing is a cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In an alternative embodiment, taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal, or provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
In a possible implementation manner, the embodiment of the invention provides a skill releasing method, and a graphical user interface is provided through terminal equipment, wherein the terminal equipment can be the aforementioned local terminal equipment, or can be client equipment in the aforementioned cloud interaction system, and the graphical user interface comprises a scene picture of a game scene and a skill rocker control; the skill rocker control presets a skill operating area. The terminal equipment can be terminal equipment with a screen touch function such as a mobile phone and a tablet personal computer. In general, the skill manipulation area is circular, and the skill rocker control is located at the center of the skill manipulation area in the initial state. As shown in fig. 1, the method comprises the steps of:
Step S102, responding to touch operation of a skill rocker control, and determining a first endpoint position of a target skill in a game scene based on the touch position of the skill rocker control in a skill operation area; the first endpoint comprises a release starting point position or a release end point position of the target skill;
the target skill is a skill having a start point and an end point, and the start point and the end point have functions with optional positions, and the skill mark is a mark having the start point and the end point, such as a line segment with an arrow, and the line segment may have a certain width. The touch position may be a center position of the skill operation area, or may be another position of the skill operation area.
As shown in fig. 2, the skill operation area on the right side of the graphical user interface and the skill operation control located at the center position of the skill operation area are located at the center position of the skill operation area in the initial state, if the player directly contacts the center position of the skill operation area, the first endpoint position of the target skill is the position corresponding to the center position in the game scene, and is usually the position where the controlled virtual object in the game scene is located. If the player directly touches other locations of the skill-controlling operation area, such as the area in front of the center location, the first endpoint of the target skill is typically the location in front of the controlled virtual object in the game scene. It should be noted that the skill manipulation area corresponds to a first endpoint of the target skill in the game scene. It will be appreciated that a target skill may be motivated for the touch operation of the skill rocker control.
In actual implementation, as shown in fig. 2, when the player clicks the right rocker (i.e. the skill rocker control) at the center position of the skill operation area, the center position of the skill operation area corresponds to the first end position of the target skill, that is, by controlling the position of the skill rocker control in the skill operation area, the first end position may be adjusted, for example, the release start position of the target skill may be adjusted, as shown in fig. 2, in the first release start position 1, and when the player directly contacts the center position of the skill operation area, the first release start position 1 of the target skill is located in the position where the controlled virtual object (i.e. the black small person in fig. 2) is located. At this point, the graphical user interface displays a skill identification of the target skill (such as the arrow in fig. 2, which includes a first release start position 1 at the controlled virtual object location and a first release end position 2 pointing to the target object), which is typically the center position of the controlled virtual object, and the black object in fig. 2 represents the controlled virtual object.
In another possible implementation, as shown in fig. 3, when the player clicks the front position of the center position of the skill manipulation area, the right rocker (i.e. the skill rocker control) moves from the center position to the clicking position of the player, so as to adjust the first endpoint position, such as adjusting the release start position of the target skill, as shown in fig. 3, at the first release start position 1, when the player touches the front position of the center position of the skill manipulation area, the first release start position 1 of the corresponding target skill is located at the front position of the controlled virtual object. At this point, the graphical user interface displays a skill identification of the target skill (such as the arrow in fig. 3, which includes a first release start position 1 located in front of the controlled virtual object position, and a first release end position 2 pointing to the target object), which is located in front of the controlled virtual object, and the black object in fig. 3 represents the controlled virtual object. Likewise, if the player's finger clicks on a location to the left of the center location of the skill manipulation area, at which point the skill rocker control moves from the center location to the player's click location, at which point the graphical user interface displays a skill identification of the target skill whose first endpoint location (e.g., skill start location) is located to the left of the controlled virtual object. The first end point position may be a release start point position of the target skill or a release end point position of the target skill.
The skill marks of the target skills may be arrows in the form of straight lines shown in fig. 2 and 3, may be other forms, such as curves, arcs, etc., may be straight lines or other shapes of curves, etc., and are not limited to the skill marks shown in the figures.
Step S104, responding to the designated event to be triggered, and determining the second endpoint position of the target skill in the game scene; the second endpoint location includes a release start location or a release end location of the target skill; the second endpoint location is different from the first endpoint location; the specified events include: the preset control is triggered, or a target object of a target skill appears in a preset area in the game scene;
the second end point position is different from the first end point position, and it can be understood that if the first end point position is the release start point position of the target skill, the second end point position is the release end point position of the target skill. And if the second end point position is the release starting point position of the target skill, the first end point position is the release end point position of the target skill. The preset control may be a control included in the graphical user interface, or may be a control generated in real time and displayed in the graphical user interface, where the preset control is used to control the second endpoint position of the target skill in the game scene. The preset area refers to the adsorption range of the target skill generally, and may be a circular area centered on the first endpoint, such as the dashed circles shown in fig. 2 and 3. The radius of the preset area may be determined according to the injury scope of the target skill or may be set according to the actual needs of the game.
Specifically, when the player clicks the skill rocker control, after determining the first endpoint position, determining a preset area according to the first endpoint position, then determining whether a target object exists in the preset area, if the target object exists in the preset area, the triggered designated event is a target object with target skill in the preset area in the game scene, and if the target object does not exist in the preset area, the preset control is triggered. The target object specifically refers to an object which is in hostile relation with the controlled virtual object, and may be a virtual character controlled by other players, a virtual monster of a game scene, or the like.
In actual implementation, if the designated event is a target object of a target skill in a preset area in the game scene, the second endpoint position (such as a skill endpoint position) may be automatically determined. Specifically, the second endpoint position of the target skill in the game scene can be determined directly according to the target object, the second endpoint position is directed to the direction of the target object, or the skill mark of the target skill passes through the target object, as shown in fig. 2 and 3, the skill mark of the target skill is directed to the target object, and white characters in fig. 2 and 3 represent the target object. In general, the target skill has a certain length, and the length is a fixed length, so after determining the position of the first endpoint, if a target object of the target skill appears in a preset area in the game scene, the position of the second endpoint is directly determined, so that a straight line where the position of the second endpoint and the position of the first endpoint are located can pass through the position where the target object is located. As shown in fig. 2 and 3, a target object appears in the preset area, and after the first release start position 1 is determined, the first release end position 2 is determined directly from the target object, which is the first release end position 2 is directed to the target object.
If the designated event is that the preset control is triggered, the target object of the target skill does not appear in the preset area in the game scene, and the player is required to manually control the second endpoint position of the target skill. Specifically, the second endpoint position of the target skill in the game scene can be determined by controlling a preset control. For example, a preset control is slid to control the skill mark of the target skill to move, and the second endpoint position of the target skill in the game scene is determined according to the final sliding position of the sliding operation.
As shown in fig. 4 and 5, there is no target object in the preset area (dashed circle in the drawing), and the player can control the preset control displayed on the left side to slide in the operation area, determine the second endpoint position of the target skill in the game scene, and control the skill identifier of the target skill to indicate the second endpoint position. As shown in fig. 4 and 5, the preset control is moved from the center position of the operation area to the upper left edge position, at which time it can be determined that the first release end position 2 is moved from the position of the dotted arrow to the position of the solid arrow, that is, the second release end position 2', the second release start position 1' and the second release end position 2' shown in the drawings actually refer to the release start position and the release end position after the movement of the target skill, and the first release start position 1 and the first release end position 2 are the release start position and the release end position before the movement of the target skill.
Step S106, controlling the target skill release based on the first endpoint position and the second endpoint position in response to the release operation of the target skill.
Specifically, in response to an ending operation of the touch operation, that is, when the player's finger leaves the screen of the terminal device, a trajectory of the target skill is displayed from the first endpoint position to the second endpoint position, and thus the target in the trajectory region can be injured. Specifically, the trajectory of the target skill may be displayed from the first end point position to the second end point position, or the trajectory of the target skill may be displayed from the second end point position to the first end point position.
The embodiment of the invention provides a skill releasing method, which is used for responding to touch operation aiming at a skill rocker control and determining a first endpoint position of a target skill in a game scene; determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered; the first end point position and the second end point position are respectively a release starting point position or a release end point position of the target skill, and the first end point position and the second end point position are different; in response to a release operation of the target skill, controlling the target skill release based on the first endpoint location and the second endpoint location. In the mode, the terminal equipment can directly touch the skill rocker control to determine the first endpoint position of the target skill in the game scene, and simultaneously, the second endpoint position of the target skill in the game scene is determined in an intelligent triggering mode, so that the function of selecting the starting point and the ending point in the terminal equipment is realized, the learning cost is reduced, and the operation is simplified.
The step of determining the location of the second endpoint of the target skill in the game scene in response to the specified event being triggered, one possible implementation:
responding to a target object with target skills in a preset area in the game scene, and determining a second endpoint position of the target skills in the game scene according to the target position of the target object in the game scene; the preset area is a circular area taking the first endpoint position as the center of a circle.
If a target object of a target skill appears in a preset area in the game scene, as shown in fig. 2 and 3, after determining a first endpoint (such as a first release start position 1 shown in the figure), a second endpoint (such as a first release end position 2 shown in the figure) may be directly determined, and the first endpoint, the second endpoint and the target position may be on the same straight line, or a skill mark of the target skill may pass through the target position. Typically, as shown in FIG. 2, the skill identification of the target skill does not pass through the target object, which would not normally be harmed if the target skill were released. As shown in fig. 3, the skill identification of the target skill passes through the target object, which would be harmed if the target skill were released.
In actual implementation, the player may select the position of the click skill operation control according to the scene picture of the current game scene, as shown in fig. 3, click the upper edge position of the skill operation area, determine the first end position of the target skill in the scene, such as the first release start position 1 shown in fig. 3, and at this time, because the target object exists in the preset area, directly determine the second end position of the target skill in the scene, such as the first release end position 2 shown in fig. 3. At this time, the skill mark of the target skill passes through the target object, and the touch operation is finished at this time, so that the target object is damaged by releasing the target skill.
In the above manner, if the target object of the target skill appears in the preset area in the game scene, the position of the second endpoint of the target skill in the game scene can be intelligently determined, so that the function of selecting the starting point and the ending point in the terminal device is realized, and the operation is simple.
The step of determining the location of the second endpoint of the target skill in the game scene in response to the specified event being triggered, as described above, is another possible implementation:
responsive to the preset control being triggered, a second endpoint location of the target skill in the game scene is determined based on the preset control.
If no target object of the target skill appears in the preset area in the game scene, the preset control is triggered, namely the preset control is triggered. At this point, the second endpoint location of the target skill in the game scene may be manually determined based on the preset control. As shown in fig. 4 and 5, after the first release start position 1 is determined, the first release end position 2 is controlled to move, which is simply to change the direction in which the first release end position 2 is pointed to, to the second release end position 2' shown in fig. 4 and 5. In the mode, if no target object of the target skill appears in the preset area in the game scene, the position of the second endpoint of the target skill in the game scene can be manually determined based on the preset control, so that the function of selecting the starting point and the ending point in the terminal equipment is realized, and the operation is simple.
The preset control is preset with a mobile operation area; as shown in fig. 4, the preset control and the mobile operation area on the left side of the graphical user interface are located at the center of the mobile operation area in the initial state. Specifically, in response to the preset control being triggered, determining, based on the preset control, a second endpoint position of the target skill in the game scene, and in one possible implementation manner:
(1) If no target object of the target skill appears in a preset area in the game scene, triggering a preset control;
the triggering preset control specifically comprises the following steps: and switching the function of the movable rocker control displayed in the graphical user interface, so that the switched movable rocker control has the function of controlling the position of the second endpoint of the target skill in the game scene. The triggering preset control further comprises: and displaying a preset control directly on the graphical user interface, wherein the preset control also has the function of controlling the position of the second endpoint of the target skill in the game scene.
(2) And responding to the sliding operation aiming at the preset control, determining a second endpoint position of the target skill in the game scene according to the sliding position of the preset control in the moving operation area, and controlling the skill mark of the target skill to indicate the second endpoint position.
As shown in fig. 4 and 5, the player can control the target skill to move from the first release end position (the skill mark in the dashed line in the figure) to the display mode (the skill mark in the solid line in the figure) in which the release end position points to the display mode (the skill mark in the solid line in the figure) consistent with the sliding direction of the sliding operation by sliding the operation of the preset control at the second end position (the second release end position 2' in the figure) in the game scene. The position in the moving operation area corresponds to the position of the second endpoint in the game scene, or the direction of each position in the moving operation area preset by the preset control relative to the center position corresponds to the direction pointed by the position of the second endpoint. It will be understood that the operation diagrams shown in fig. 4 and 5, in which the sliding direction of the sliding operation, i.e., the moving direction of the left preset control in fig. 4 (indicated by an arrow in the drawing), coincides with the direction in which the second release end position 2' is directed (indicated by a skill mark of a solid line in the drawing).
In the above manner, if the target object of the target skill does not appear in the preset area in the game scene, the preset control is triggered, and the second endpoint position of the target skill in the game scene is determined by controlling the preset control to slide, so that the game playing method is enriched.
The game scene comprises a controlled virtual object; the preset control is a movable rocker control in the graphical user interface, and the initial function of the movable rocker control is used for controlling the controlled virtual character to move. The step (1) triggers a step of presetting a control, and one possible implementation manner is that:
switching an initial function of the mobile rocker control to a target function, the target function being used to control movement of the controlled virtual character and to adjust a second endpoint position of the target skill in the game scene.
That is, if the target object of the target skill does not appear in the preset area in the game scene, the initial function of the moving rocker control displayed by the control graphical user interface is switched to the target function. That is, when the player controls the switched movement rocker control, not only can movement of the controlled virtual character be controlled, but also the direction in which the target skill is pointed at the second endpoint position in the game scene can be adjusted and controlled. The direction of the controlled virtual character may be identical to the direction pointed by the first endpoint position or the second endpoint position, and the directions are all directions corresponding to the sliding direction, or may be inconsistent, and may be specifically set according to the game requirement. As shown in fig. 4 and 5, specifically, when the moving rocker control is manipulated to move to the position shown in fig. 4 and 5, the controlled avatar is also generally directed in the direction in which the second release end position 2' is also directed.
If the movement rocker control is continuously controlled, the movement of the controlled virtual object is controlled to move in the direction in which the movement rocker control slides as shown in fig. 4 or 5.
In the mode, the function of the movable rocker control is switched, so that the movable rocker control can control the second endpoint position of the target skill in the game scene, and occupation of the control in the graphical user interface is saved.
Further, after the step of triggering the preset control, the method further includes: and if a target object of the target skill appears in a preset area in the game scene, switching the target function of the mobile rocker control to an initial function.
When the game is actually realized, a player generally controls the controlled virtual character to move, or can control the target skill to move at a first end point position in a game scene, if the first end point position is changed, the preset area is also changed, at this time, if a target object of the target skill appears in the changed preset area, the function of intelligently selecting the second end point position is triggered, and manual selection is not needed, so that the target function of the movable rocker control can be switched to an initial function.
The step (1) triggers a step of presetting a control, and another possible implementation mode is that:
and displaying a preset control at a designated position of the graphical user interface, wherein the preset control is used for controlling the position of a second endpoint of the target skill in the game scene.
In another mode, in order not to influence the movement of the controlled virtual object controlled by the user through the movement rocker control, a preset control can be displayed at a designated position of the graphical user interface; the designated position may be a preset fixed position, or may be displayed according to a current scene picture. In the mode, the preset control is displayed at the appointed position of the graphical user interface, so that the second endpoint position of the target skill in the game scene is manually controlled, and other controls in the graphical user interface are not affected.
Further, in order not to affect the game experience of the subsequent player, after the step of triggering the preset control, the method further includes: and canceling to display the preset control. Specifically, if a target object of a target skill appears in a preset area in the game scene, the preset control is canceled from being displayed.
Following the step of determining a first endpoint position of a target skill in a game scenario based on a touch location of a skill rocker control in a skill manipulation area in response to a touch manipulation for the skill rocker control, the method further comprises:
Responding to the sliding operation of the skill rocker control, determining a first endpoint position of the target skill in the game scene according to the sliding position of the skill rocker control in the skill operation area, and controlling a skill mark of the target skill to indicate the first endpoint position; wherein the position in the skill manipulation area corresponds to a first endpoint of the target skill in the game scene, and the center position in the skill manipulation area corresponds to a position of the controlled virtual object in the game scene.
Specifically, if a target object of the target skill appears in a preset area in the game scene, the first endpoint position of the target skill in the game scene can be determined according to the sliding position of the skill rocker control in the skill operation area. If the target object of the target skill does not appear in the preset area in the game scene, the first endpoint position of the target skill in the game scene can be determined according to the sliding position of the skill rocker control in the skill operation area.
After clicking the center position of the skill operation area, the player can perform sliding operation on the skill rocker control, as shown in fig. 6, the skill rocker control is slid from the center position of the skill operation area to the edge position of the skill operation area, and according to the position in the skill operation area corresponding to the first end point position of the target skill in the game scene, the sliding position of the skill rocker control in the skill operation area corresponding to the first end point position can be determined, and the skill mark of the target skill is controlled to indicate the first end point position. The skill identification of the target skill displayed in this way is shown in fig. 6, and the player performs a sliding operation on the skill rocker control, so that the first release start position 1 and the first release end position 2 of the target skill can be controlled to move to the second release start position 1 'and the second release end position 2'.
As shown in fig. 7, the skill rocker control is slid from the first edge position of the skill operation area to the second edge position of the skill operation area, so that the sliding position of the skill rocker control in the skill operation area is determined to correspond to the first end position according to the position in the skill operation area corresponding to the first end position of the target skill in the game scene, and the skill mark of the target skill is controlled to indicate the first end position. The skill identification of the target skill displayed in this way is shown in fig. 7, and the player performs a sliding operation on the skill rocker control, so that the first release start position 1 and the first release end position 2 of the target skill can be controlled to move to the second release start position 1 'and the second release end position 2'.
It can be appreciated that when the target object appears in the preset area, no matter to which position in the game scene the first endpoint position moves, the first endpoint position and the second endpoint position always point to the target object, or the first endpoint position and the second endpoint position always are on the same straight line with the target object.
If the target object of the target skill does not appear in the preset area in the game scene, the first endpoint position of the target skill in the game scene can be controlled through the skill rocker control, and the second endpoint position of the target skill in the game scene can be controlled through the preset control. Then, as shown in fig. 8, the skill rocker control may be slid from the center position of the skill manipulation area to the edge position of the skill manipulation area, while the move rocker control is slid from the center position of the move manipulation area to the edge position of the move manipulation area. The sliding position of the skill rocker control in the skill operation area corresponding to the first endpoint position and the sliding position of the moving rocker control in the skill operation area corresponding to the second endpoint position can be determined according to the position of the skill operation area corresponding to the first endpoint position of the target skill in the game scene and the position of the moving operation area corresponding to the second endpoint position of the target skill in the game scene, and the skill marks of the target skill are controlled to respectively indicate the first endpoint position and the second endpoint position. The skill identification of the target skill displayed in the method is shown in fig. 8, and the player performs sliding operation on the skill rocker control and the moving rocker control, so that the first release start position 1 and the first release end position 2 of the target skill can be controlled to move to the second release start position 1 'and the second release end position 2'.
In the mode, the first end point position of the target skill in the game scene can be controlled through the control skill rocker control, the function of selecting the skill release starting point and the skill release end point at the terminal equipment is realized, and the operation is simple.
Step S106, in response to the release operation of the target skill, controls the release of the target skill based on the first endpoint position and the second endpoint position, and is one possible implementation:
responsive to a release operation of the target skill, issuing a ballistic trajectory from the first endpoint position or the second endpoint position, controlling movement of the ballistic trajectory in a direction along the second endpoint position or the first endpoint position; wherein, the trajectory is the injury scope of the target skill.
And if the target object of the target skill does not appear in the preset area in the game scene, the release operation is an ending operation of the sliding operation of the preset control and an ending operation of the touch operation or the sliding operation of the skill rocker control. And if the target object of the target skill appears in the preset area in the game scene, the release operation is an ending operation aiming at the touch operation or the sliding operation of the skill rocker control. Responding to the release operation of the target skill, creating a trajectory of the target skill, specifically sending out the trajectory from the first endpoint, controlling the trajectory to move along the direction of the second endpoint position, and simultaneously displaying the trajectory identification of the trajectory; or, the trajectory is emitted from the second endpoint position, and the trajectory is controlled to move along the direction of the first endpoint position, and the trajectory identification of the trajectory is displayed. The trajectory is the injury scope of the target skill, and if the target object of the target skill appears in a preset area in the game scene, the injury object of the target skill always points to the target object.
In order to improve the operation experience and the game experience of the player, the game scene comprises a controlled virtual object; in response to the step of touch manipulation for a skill rocker control, one possible implementation: displaying the area identification of the selectable area of the first endpoint; the selectable area is a circular area taking the controlled virtual object as a circle center.
When the method is actually implemented, the target skill is triggered, and meanwhile, the region identifier of the selectable region is displayed on the graphical user interface, wherein the region identifier is a circular region with the controlled virtual object as the center of a circle, and the radius of the selectable region can be set according to actual requirements. By displaying the area identification of the selectable area, the selectable area of the first endpoint of the player can be reminded, and the operation experience and the game experience of the player are further improved.
To further enhance the player's operational experience and gaming experience, one possible implementation is to respond to the step of touch manipulation for a skill rocker control: displaying an area identifier of a preset area; the preset area is a circular area taking the first end point position as the center of a circle.
As shown by the dashed ellipses of fig. 2-8, since the game scene is a three-dimensional scene, the circular area shown in the two-dimensional diagram is an ellipse, and is actually circular. When the first endpoint is actually moved, the area identifier of the preset area also moves along with the first endpoint. Through the area identification of the preset area, the player can be reminded of the area where the target skill can adsorb the target object, and the operation experience and the game experience of the player are further improved.
Through the embodiment of the invention, a tactical track can be drawn through the rocker control, and the tactical track can be applied to a command system of 3D (3-Dimension) games such as MMORPG (Massive Multiplayer Online Role-Playing Game, massive multi-player online role Playing Game) games, SLG (strategic Game) games and the like with stronger strategic Playing method.
In the mode, the learning cost of a player is reduced, the operation of clicking twice is simplified, and the position selection from the starting point to the end point is automatically completed.
Corresponding to the method embodiment, the embodiment of the invention provides a skill releasing device, and a graphical user interface is provided through terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene and a skill rocker control; the skill rocker control is preset with a skill operation area; as shown in fig. 9, the apparatus includes:
a first endpoint determination module 91, configured to determine a first endpoint position of the target skill in the game scene based on a touch position of the skill rocker control in the skill operation area in response to a touch operation for the skill rocker control; the first endpoint comprises a release starting point position or a release end point position of the target skill;
A second endpoint location determination module 92 for determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered; the second endpoint location includes a release start location or a release end location of the target skill; the second endpoint location is different from the first endpoint location; the specified events include: the preset control is triggered, or a target object of a target skill appears in a preset area in the game scene;
a skill release module 93 for controlling the release of the target skill based on the first endpoint position and the second endpoint position in response to a release operation of the target skill.
The invention provides a skill releasing device, which responds to touch operation aiming at a skill rocker control, determines a first endpoint position of a target skill in a game scene, and controls a skill mark of the target skill to indicate the first endpoint position; determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered, and controlling a skill identification of the target skill to indicate the second endpoint location; in response to a release operation of the target skill, controlling the target skill release based on the first endpoint location and the second endpoint location. In the mode, the terminal equipment can directly touch the skill rocker control to determine the first endpoint position of the target skill in the game scene, and simultaneously, the second endpoint position of the target skill in the game scene is determined in an intelligent triggering mode, so that the function of selecting the starting point and the ending point in the terminal equipment is realized, the learning cost is reduced, and the operation is simplified.
Further, the second endpoint location determining module is further configured to: responding to a target object with target skills in a preset area in the game scene, and determining a second endpoint position of the target skills in the game scene according to the target position of the target object in the game scene; the preset area is a circular area taking the first endpoint position as the center of a circle.
Further, the second endpoint location determining module is further configured to: responsive to the preset control being triggered, a second endpoint location of the target skill in the game scene is determined based on the preset control.
Further, the preset control is preset with a mobile operation area; the second endpoint location determining module is further configured to: if no target object of the target skill appears in a preset area in the game scene, triggering a preset control; and responding to the sliding operation aiming at the preset control, determining a second endpoint position of the target skill in the game scene according to the sliding position of the preset control in the moving operation area, and controlling the skill mark of the target skill to indicate the second endpoint position.
Further, the game scene comprises a controlled virtual object; the preset control is a movable rocker control in the graphical user interface, and the initial function of the movable rocker control is used for controlling the controlled virtual character to move; the second endpoint location determining module is further configured to: switching an initial function of the mobile rocker control to a target function, the target function being used to control movement of the controlled virtual character and to adjust a second endpoint position of the target skill in the game scene.
Further, the device further comprises: and the switching module is used for switching the target function of the movable rocker control to the initial function if the target object of the target skill appears in the preset area in the game scene.
Further, the second endpoint location determining module is further configured to: and displaying a preset control at a designated position of the graphical user interface, wherein the preset control is used for controlling the position of a second endpoint of the target skill in the game scene.
Further, the device further comprises a cancel display module for: and canceling to display the preset control.
Further, the device further comprises: the first endpoint moving module is used for responding to the sliding operation of the skill rocker control, determining a first endpoint position of the target skill in the game scene according to the sliding position of the skill rocker control in the skill operation area, and controlling the skill mark of the target skill to indicate the first endpoint position; wherein the position in the skill manipulation area corresponds to a first endpoint of the target skill in the game scene, and the center position in the skill manipulation area corresponds to a position of the controlled virtual object in the game scene.
Further, the skill release module is further configured to: responsive to a release operation of the target skill, issuing a ballistic trajectory from the first endpoint position or the second endpoint position, controlling movement of the ballistic trajectory in a direction along the second endpoint position or the first endpoint position; wherein, the trajectory is the injury scope of the target skill.
Further, the game scene comprises a controlled virtual object; the first endpoint determining module is further configured to: displaying the area identification of the selectable area of the first endpoint; the selectable area is a circular area taking the controlled virtual object as a circle center.
Further, the first endpoint determining module is further configured to: displaying an area identifier of a preset area; the preset area is a circular area taking the first end point position as the center of a circle.
The skill releasing device provided by the embodiment of the invention has the same technical characteristics as the skill releasing method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The present embodiment also provides an electronic device including a processor and a memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the skill release method described above.
Referring to fig. 10, the electronic device includes a processor 100 and a memory 101, the memory 101 stores computer executable instructions executable by the processor 100, the processor 100 executes the computer executable instructions to implement the skill release method, and a graphical user interface is provided through the terminal device, where the graphical user interface includes a scene picture of a game scene and a skill rocker control; the skill rocker control is preset with a skill operation area; the method specifically comprises the following steps:
Responding to touch operation of the skill rocker control, and determining a first endpoint position of the target skill in the game scene based on the touch position of the skill rocker control in the skill operation area; the first endpoint comprises a release starting point position or a release end point position of the target skill; determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered; the second endpoint location includes a release start location or a release end location of the target skill; the second endpoint location is different from the first endpoint location; the specified events include: the preset control is triggered, or a target object of a target skill appears in a preset area in the game scene; in response to a release operation of the target skill, controlling the target skill release based on the first endpoint location and the second endpoint location. In the mode, the first end point position of the target skill in the game scene can be determined through the skill rocker control of the touch terminal equipment, and the second end point position of the target skill in the game scene can be determined through the intelligent triggering mode, so that the function of selecting the starting point and the end point in the terminal equipment is realized, the learning cost is reduced, and the operation is simplified.
The step of determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered, comprising: responding to a target object with target skills in a preset area in the game scene, and determining a second endpoint position of the target skills in the game scene according to the target position of the target object in the game scene; the preset area is a circular area taking the first endpoint position as the center of a circle. In the mode, if the target object of the target skill appears in the preset area in the game scene, the position of the second endpoint of the target skill in the game scene can be intelligently determined, the function of selecting the starting point and the ending point in the terminal device is realized, and the operation is simple.
The step of determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered, comprising: responsive to the preset control being triggered, a second endpoint location of the target skill in the game scene is determined based on the preset control. In the mode, the target object can manually determine the position of the second endpoint of the target skill in the game scene based on the preset control, so that the function of selecting the starting point and the ending point in the terminal device is realized, and the operation is simple.
The preset control is preset with a mobile operation area; responsive to the preset control being triggered, determining a second endpoint location of the target skill in the game scene based on the preset control, comprising: if no target object of the target skill appears in a preset area in the game scene, triggering a preset control; and responding to the sliding operation aiming at the preset control, determining a second endpoint position of the target skill in the game scene according to the sliding position of the preset control in the moving operation area, and controlling the skill mark of the target skill to indicate the second endpoint position. In the mode, if a target object of the target skill does not appear in a preset area in the game scene, the preset control is triggered, and the second endpoint position of the target skill in the game scene is determined by controlling the preset control to slide, so that the game playing method is enriched.
The game scene comprises a controlled virtual object; the preset control is a movable rocker control in the graphical user interface, and the initial function of the movable rocker control is used for controlling the controlled virtual character to move; triggering a preset control, comprising the following steps: switching an initial function of the mobile rocker control to a target function, the target function being used to control movement of the controlled virtual character and to adjust a second endpoint position of the target skill in the game scene. In the mode, the piece can control the second endpoint position of the target skill in the game scene, and occupation of the control in the graphical user interface is saved.
After the step of triggering the preset control, the method further comprises the following steps: and if a target object of the target skill appears in a preset area in the game scene, switching the target function of the mobile rocker control to an initial function.
The step of triggering the preset control comprises the following steps: and displaying a preset control at a designated position of the graphical user interface, wherein the preset control is used for controlling the position of a second endpoint of the target skill in the game scene. In the mode, the preset control is displayed at the appointed position of the graphical user interface, so that the second endpoint position of the target skill in the game scene is manually controlled, and other controls in the graphical user interface are not affected.
After the step of triggering the preset control, the method further includes: and canceling to display the preset control.
After the step of determining the first endpoint position of the target skill in the game scene based on the touch position of the skill rocker control in the skill operation area in response to the touch operation of the skill rocker control, the method further comprises: responding to the sliding operation of the skill rocker control, determining a first endpoint position of the target skill in the game scene according to the sliding position of the skill rocker control in the skill operation area, and controlling a skill mark of the target skill to indicate the first endpoint position; wherein the position in the skill manipulation area corresponds to a first endpoint of the target skill in the game scene, and the center position in the skill manipulation area corresponds to a position of the controlled virtual object in the game scene. In the mode, the first end point position of the target skill in the game scene can be controlled by controlling the skill rocker control, the function of selecting the skill release starting point and the skill release end point at the terminal equipment is realized, and the operation is simple.
The step of controlling the release of the target skill based on the first end point position and the second end point position in response to the release operation of the target skill includes: responsive to a release operation of the target skill, issuing a ballistic trajectory from the first endpoint position or the second endpoint position, controlling movement of the ballistic trajectory in a direction along the second endpoint position or the first endpoint position; wherein, the trajectory is the injury scope of the target skill.
The game scene comprises a controlled virtual object; responding to the touch operation for the skill rocker control comprises the following steps: displaying the area identification of the selectable area of the first endpoint; the selectable area is a circular area taking the controlled virtual object as a circle center. In the mode, the selectable area of the first endpoint of the player can be reminded by displaying the area identification of the selectable area, so that the operation experience and the game experience of the player are further improved.
The step of responding to the touch operation of the skill rocker control comprises the following steps: displaying an area identifier of a preset area; the preset area is a circular area taking the first end point position as the center of a circle. In the mode, the player can be reminded of the area where the target skill can adsorb the target object by displaying the area identification of the preset area, and the operation experience and the game experience of the player are further improved.
Further, the electronic device shown in fig. 10 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.
The memory 101 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 103 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 102 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 10, but not only one bus or type of bus.
The processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 100 or by instructions in the form of software. The processor 100 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101, and in combination with its hardware, performs the steps of the skill release method in the foregoing embodiments.
The embodiment also provides a computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to realize the skill release method, a graphical user interface is provided through terminal equipment, and the graphical user interface comprises a scene picture of a game scene and a skill rocker control; the skill rocker control is preset with a skill operation area; the method specifically comprises the following steps:
responding to touch operation of the skill rocker control, and determining a first endpoint position of the target skill in the game scene based on the touch position of the skill rocker control in the skill operation area; the first endpoint comprises a release starting point position or a release end point position of the target skill; determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered; the second endpoint location includes a release start location or a release end location of the target skill; the second endpoint location is different from the first endpoint location; the specified events include: the preset control is triggered, or a target object of a target skill appears in a preset area in the game scene; in response to a release operation of the target skill, controlling the target skill release based on the first endpoint location and the second endpoint location. In the mode, the first end point position of the target skill in the game scene can be determined through the skill rocker control of the touch terminal equipment, and the second end point position of the target skill in the game scene can be determined through the intelligent triggering mode, so that the function of selecting the starting point and the end point in the terminal equipment is realized, the learning cost is reduced, and the operation is simplified.
The step of determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered, comprising: responding to a target object with target skills in a preset area in the game scene, and determining a second endpoint position of the target skills in the game scene according to the target position of the target object in the game scene; the preset area is a circular area taking the first endpoint position as the center of a circle. In the mode, if the target object of the target skill appears in the preset area in the game scene, the position of the second endpoint of the target skill in the game scene can be intelligently determined, the function of selecting the starting point and the ending point in the terminal device is realized, and the operation is simple.
The step of determining a second endpoint location of the target skill in the game scene in response to the specified event being triggered, comprising: responsive to the preset control being triggered, a second endpoint location of the target skill in the game scene is determined based on the preset control. In the mode, the target object can manually determine the position of the second endpoint of the target skill in the game scene based on the preset control, so that the function of selecting the starting point and the ending point in the terminal device is realized, and the operation is simple.
The preset control is preset with a mobile operation area; responsive to the preset control being triggered, determining a second endpoint location of the target skill in the game scene based on the preset control, comprising: if no target object of the target skill appears in a preset area in the game scene, triggering a preset control; and responding to the sliding operation aiming at the preset control, determining a second endpoint position of the target skill in the game scene according to the sliding position of the preset control in the moving operation area, and controlling the skill mark of the target skill to indicate the second endpoint position. In the mode, if a target object of the target skill does not appear in a preset area in the game scene, the preset control is triggered, and the second endpoint position of the target skill in the game scene is determined by controlling the preset control to slide, so that the game playing method is enriched.
The game scene comprises a controlled virtual object; the preset control is a movable rocker control in the graphical user interface, and the initial function of the movable rocker control is used for controlling the controlled virtual character to move; triggering a preset control, comprising the following steps: switching an initial function of the mobile rocker control to a target function, the target function being used to control movement of the controlled virtual character and to adjust a second endpoint position of the target skill in the game scene. In the mode, the piece can control the second endpoint position of the target skill in the game scene, and occupation of the control in the graphical user interface is saved.
After the step of triggering the preset control, the method further comprises the following steps: and if a target object of the target skill appears in a preset area in the game scene, switching the target function of the mobile rocker control to an initial function.
The step of triggering the preset control comprises the following steps: and displaying a preset control at a designated position of the graphical user interface, wherein the preset control is used for controlling the position of a second endpoint of the target skill in the game scene. In the mode, the preset control is displayed at the appointed position of the graphical user interface, so that the second endpoint position of the target skill in the game scene is manually controlled, and other controls in the graphical user interface are not affected.
After the step of triggering the preset control, the method further includes: and canceling to display the preset control.
After the step of determining the first endpoint position of the target skill in the game scene based on the touch position of the skill rocker control in the skill operation area in response to the touch operation of the skill rocker control, the method further comprises: responding to the sliding operation of the skill rocker control, determining a first endpoint position of the target skill in the game scene according to the sliding position of the skill rocker control in the skill operation area, and controlling a skill mark of the target skill to indicate the first endpoint position; wherein the position in the skill manipulation area corresponds to a first endpoint of the target skill in the game scene, and the center position in the skill manipulation area corresponds to a position of the controlled virtual object in the game scene. In the mode, the first end point position of the target skill in the game scene can be controlled by controlling the skill rocker control, the function of selecting the skill release starting point and the skill release end point at the terminal equipment is realized, and the operation is simple.
The step of controlling the release of the target skill based on the first end point position and the second end point position in response to the release operation of the target skill includes: responsive to a release operation of the target skill, issuing a ballistic trajectory from the first endpoint position or the second endpoint position, controlling movement of the ballistic trajectory in a direction along the second endpoint position or the first endpoint position; wherein, the trajectory is the injury scope of the target skill.
The game scene comprises a controlled virtual object; responding to the touch operation for the skill rocker control comprises the following steps: displaying the area identification of the selectable area of the first endpoint; the selectable area is a circular area taking the controlled virtual object as a circle center. In the mode, the selectable area of the first endpoint of the player can be reminded by displaying the area identification of the selectable area, so that the operation experience and the game experience of the player are further improved.
The step of responding to the touch operation of the skill rocker control comprises the following steps: displaying an area identifier of a preset area; the preset area is a circular area taking the first end point position as the center of a circle. In the mode, the player can be reminded of the area where the target skill can adsorb the target object by displaying the area identification of the preset area, and the operation experience and the game experience of the player are further improved.
The method, the device, the electronic device and the computer program product of the system provided by the embodiments of the present invention include a computer readable storage medium storing program codes, and the instructions included in the program codes may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be repeated herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood by those skilled in the art in specific cases.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention for illustrating the technical solution of the present invention, but not for limiting the scope of the present invention, and although the present invention has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that the present invention is not limited thereto: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (15)

1. A skill releasing method is characterized in that a graphical user interface is provided through terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene and a skill rocker control; the skill rocker control is preset with a skill operation area; the method comprises the following steps:
Responding to touch operation of the skill rocker control, and determining a first endpoint position of a target skill in the game scene based on the touch position of the skill rocker control in the skill operation area; wherein the first endpoint location comprises a release start location or a release end location of the target skill;
determining a second endpoint location of the target skill in the game scene in response to a specified event being triggered; the second endpoint position comprises a release start point position or a release end point position of the target skill; the second endpoint location is different from the first endpoint location; the specified event includes: a preset control is triggered, or a target object of the target skill appears in a preset area in the game scene;
controlling the target skill release based on the first endpoint position and the second endpoint position in response to a release operation of the target skill.
2. The method of claim 1, wherein the step of determining a second endpoint location of the target skill in the game scene in response to a specified event being triggered comprises:
responding to a target object of the target skill in a preset area in the game scene, and determining a second endpoint position of the target skill in the game scene according to a target position of the target object in the game scene; the preset area is a circular area taking the first end point position as a circle center.
3. The method of claim 1, wherein the step of determining a second endpoint location of the target skill in the game scene in response to a specified event being triggered comprises:
and determining a second endpoint position of the target skill in the game scene based on the preset control in response to the preset control being triggered.
4. A method according to claim 3, wherein the preset control is preset with a movement operation area;
responsive to the preset control being triggered, determining a second endpoint location of the target skill in the game scene based on the preset control, comprising:
triggering the preset control if the target object of the target skill does not appear in the preset area in the game scene;
and responding to the sliding operation of the preset control, determining a second endpoint position of the target skill in the game scene according to the sliding position of the preset control in the moving operation area, and controlling the skill mark of the target skill to indicate the second endpoint position.
5. The method of claim 4, wherein the game scene includes a controlled virtual object therein; the preset control is a movable rocker control in a graphical user interface, and the initial function of the movable rocker control is used for controlling the controlled virtual character to move;
The step of triggering the preset control comprises the following steps:
and switching the initial function of the mobile rocker control to a target function, wherein the target function is used for controlling the controlled virtual character to move and adjusting the second endpoint position of the target skill in the game scene.
6. The method of claim 5, wherein after the step of triggering the preset control, the method further comprises:
and if a target object of the target skill appears in a preset area in the game scene, switching the target function of the mobile rocker control to the initial function.
7. The method of claim 4, wherein the step of triggering the preset control comprises:
and displaying the preset control at a designated position of a graphical user interface, wherein the preset control is used for controlling the position of a second endpoint of the target skill in the game scene.
8. The method of claim 7, wherein after the step of triggering the preset control, the method further comprises: and canceling to display the preset control.
9. The method of claim 1, wherein, in response to a touch operation for the skill rocker control, after the step of determining a first endpoint location of a target skill in the game scene based on a touch location of the skill rocker control in the skill operation area, the method further comprises:
Responding to the sliding operation of the skill rocker control, determining a first endpoint position of the target skill in the game scene according to the sliding position of the skill rocker control in the skill operation area, and controlling a skill mark of the target skill to indicate the first endpoint position; wherein the position in the skill manipulation area corresponds to a first endpoint of the target skill in the game scene, and the center position in the skill manipulation area corresponds to a position of a controlled virtual object in the game scene.
10. The method of claim 1, wherein the step of controlling the release of the target skill based on the first endpoint location and the second endpoint location in response to the release operation of the target skill comprises:
responsive to a release operation of the target skill, issuing a ballistic trajectory from the first endpoint position or the second endpoint position, controlling movement of the ballistic trajectory in a direction of the second endpoint position or the first endpoint position; wherein the ballistic trajectory is the range of injury to the target skill.
11. The method of claim 1, wherein the game scene includes a controlled virtual object therein;
Responding to the touch operation of the skill rocker control comprises the following steps:
displaying the area identification of the selectable area of the first endpoint; the selectable area is a circular area taking the controlled virtual object as a circle center.
12. The method of claim 1, wherein the step of responding to a touch operation for the skill rocker control comprises:
displaying the region identification of the preset region; the preset area is a circular area taking the position of the first endpoint as a circle center.
13. A skill release device is characterized in that a graphical user interface is provided through terminal equipment, wherein the graphical user interface comprises a scene picture of a game scene and a skill rocker control; the skill rocker control is preset with a skill operation area; the device comprises:
the first endpoint determination module is used for responding to the touch operation of the skill rocker control and determining the first endpoint position of the target skill in the game scene based on the touch position of the skill rocker control in the skill operation area; wherein the first endpoint location comprises a release start location or a release end location of the target skill;
A second endpoint location determination module for determining a second endpoint location of the target skill in the game scene in response to a specified event being triggered; the second endpoint position comprises a release start point position or a release end point position of the target skill; the second endpoint location is different from the first endpoint location; the specified event includes: a preset control is triggered, or a target object of the target skill appears in a preset area in the game scene;
a skill release module for controlling the release of the target skill based on the first endpoint location and the second endpoint location in response to a release operation of the target skill.
14. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the skill release method of any of claims 1-12.
15. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the skill release method of any one of claims 1-12.
CN202210884548.1A 2022-07-25 2022-07-25 Skill release method and device and electronic equipment Pending CN117492625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210884548.1A CN117492625A (en) 2022-07-25 2022-07-25 Skill release method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210884548.1A CN117492625A (en) 2022-07-25 2022-07-25 Skill release method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117492625A true CN117492625A (en) 2024-02-02

Family

ID=89673146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210884548.1A Pending CN117492625A (en) 2022-07-25 2022-07-25 Skill release method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117492625A (en)

Similar Documents

Publication Publication Date Title
CN107648847B (en) Information processing method and device, storage medium and electronic equipment
US10709982B2 (en) Information processing method, apparatus and non-transitory storage medium
CN108854063B (en) Aiming method and device in shooting game, electronic equipment and storage medium
CN111773705A (en) Interaction method and device in game scene
WO2018180553A1 (en) Game system, game control device, and program
CN112807692A (en) Information control method and device in game and terminal equipment
CN112274915B (en) Game control method and device and electronic equipment
CN113440848A (en) In-game information marking method and device and electronic device
WO2024074039A1 (en) Game operation control method and apparatus, and electronic device
CN110025953B (en) Game interface display method and device, storage medium and electronic device
CN117492625A (en) Skill release method and device and electronic equipment
CN115920395A (en) Interactive control method and device in game and electronic equipment
CN113694514A (en) Object control method and device
CN113680062A (en) Information viewing method and device in game
CN111973984A (en) Coordinate control method and device for virtual scene, electronic equipment and storage medium
CN116020114A (en) Game operation control method and device and electronic equipment
JP7163526B1 (en) Information processing system, program and information processing method
WO2023002907A1 (en) Information processing system, program, and information processing method
JP7286857B2 (en) Information processing system, program and information processing method
CN117482493A (en) Interaction control method and device in game and electronic equipment
CN117065348A (en) Control method and device of virtual component, electronic equipment and readable storage medium
CN117547815A (en) Interaction control method and device in game and electronic equipment
CN117018612A (en) Information marking method and device in game and electronic equipment
CN117046100A (en) Formation control method and device in game and electronic equipment
CN117244235A (en) Interaction control method and device in game and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination