Disclosure of Invention
The invention aims to provide a switching method and device of skill controls in a game and a touch terminal, and aims to solve the technical problems that the operation steps are more and complicated, the operation process of a player is inconvenient, and the game experience is reduced.
In a first aspect, an embodiment of the present application provides a method for switching skill controls in a game, where a graphical user interface includes a skill control area, and the skill control area includes at least one skill control, and the method includes:
determining a first skill control from the at least one skill control in response to a first triggering operation for the skill control area;
responding to sliding operation continuous to the first trigger operation, controlling the virtual character in the game to use a first skill corresponding to the first skill control, and switching the first skill control in the skill control area to a second skill control;
and responding to a second trigger operation aiming at the second skill control, and controlling the virtual character to use a second skill corresponding to the second skill control.
In one possible implementation, the step of controlling a virtual character in the game to use a first skill corresponding to the first skill control and switch the first skill control to a second skill control in the skill control area in response to a sliding operation that is continuous with the first trigger operation includes:
responding to the sliding operation continuous with the first trigger operation, and acquiring the sliding direction of the sliding operation;
controlling the in-game virtual character to use a first skill corresponding to the first skill control;
and switching the first skill control in the skill control area to a second skill control corresponding to the sliding direction.
In one possible implementation, after the step of determining a first skill control from the at least one skill control in response to a first trigger operation for the skill control region, the method further comprises:
displaying switching prompt information in the skill control area;
and the switching prompt information is used for displaying the corresponding relation between the sliding direction and the second skill control.
In one possible implementation, the switch prompt message includes a plurality of different directional prompt arrows and/or skill indication icons.
In one possible implementation, the switching prompt messages are at least two and equally spaced around the first skill control.
In one possible implementation, the switch prompt includes an indicator number corresponding to the second skill control.
In one possible implementation, the step of controlling a virtual character in the game to use a first skill corresponding to the first skill control and switch the first skill control to a second skill control in the skill control area in response to a sliding operation that is continuous with the first trigger operation includes:
responding to the sliding operation continuous with the first trigger operation, and acquiring the sliding direction of the sliding operation;
controlling the in-game virtual character to use a first skill corresponding to the first skill control;
judging whether the sliding direction is consistent with a preset direction or not;
and if so, switching the first skill control in the skill control area to a second skill control.
In one possible implementation, the step of determining a first skill control from the at least one skill control in response to a first triggering operation for the skill control region comprises:
responding to a first trigger operation aiming at the skill control area, and determining a target skill control corresponding to the first trigger operation;
determining the skill control of the same type as the target skill control as the first skill control.
In one possible implementation, the second skill control comprises a plurality of the skill controls of the same type.
In one possible implementation, the graphic user interface further comprises a skill switching area; the method further comprises the following steps:
switching the at least one skill control in the skill control area to a third skill control in response to a sliding operation for the skill switching area;
and responding to a third trigger operation aiming at the third skill control, and controlling the virtual character to use a third skill corresponding to the third skill control.
In one possible implementation, after the step of determining a first skill control from the at least one skill control in response to a first triggering operation for the skill control region first skill control, the method further comprises:
the touch point of the sliding operation continuous with the first trigger operation is responded to move to a preset switching area, and the triggering of the first skill control is cancelled; or the like, or, alternatively,
and cancelling the triggering of the first skill control in response to the fact that the moving distance of the touch point of the sliding operation continuous to the first triggering operation is larger than a preset distance.
In one possible implementation, the method further comprises:
and responding to clicking operation aiming at the skill control area, determining the first skill control from the at least one skill control, and controlling the virtual character in the game to use the first skill. In a second aspect, there is provided a switching apparatus for skill controls in a game, a skill control area is included in a graphical user interface, and at least one skill control is included in the skill control area, the apparatus includes:
the determining module is used for responding to a first trigger operation aiming at the skill control area and determining a first skill control from the at least one skill control;
the switching module is used for responding to sliding operation continuous to the first trigger operation, controlling the virtual character in the game to use a first skill corresponding to the first skill control, and switching the first skill control in the skill control area to a second skill control;
and the control module is used for responding to a second trigger operation aiming at the second skill control and controlling the virtual role to use a second skill corresponding to the second skill control.
In a third aspect, an embodiment of the present application further provides a touch terminal, including a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the method of the first aspect when executing the computer program.
In a fourth aspect, this embodiment of the present application further provides a computer-readable storage medium storing machine executable instructions, which, when invoked and executed by a processor, cause the processor to perform the method of the first aspect.
The embodiment of the application brings the following beneficial effects:
according to the switching method and device for skill controls in a game and the touch terminal provided by the embodiment of the application, firstly, a first skill control is determined from at least one skill control in response to a first trigger operation aiming at a skill control area, then, a sliding operation continuous to the first trigger operation is responded, a virtual character in the game is controlled to use a first skill corresponding to the first skill control, the first skill control in the skill control area is switched to a second skill control, then, a second trigger operation aiming at the second skill control is responded, the virtual character is controlled to use a second skill corresponding to the second skill control, on the basis of controlling the virtual character to use the first skill corresponding to the first skill control, the effect of switching the first skill control in the skill control area to other skill controls is increased, the skill control can be released, and the skill control can also be switched, the double effect that the skill control can be quickly switched while the skill is released through continuous operation is achieved, therefore, frequent alternate operation between skill release and skill control switching is simplified, operation steps are saved, the skill can be conveniently used continuously on the premise of fully saving space, the operation process of a player is facilitated, and game experience is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "comprising" and "having," and any variations thereof, as referred to in the embodiments of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Currently, Role-playing games (RPGs) in touch terminals have rich professional skill settings, and the interaction mode forms of skill switching of such games are different. Therefore, in addition to general skills, how to simply and quickly switch skills according to different game scenes and opportunities is important in game operation.
For the prior art, the skill control switching can be performed by clicking a specific key, for example, the skill control switching has two skill operation pages, and the skill control switching can be performed by clicking a specific button to release another page of skill. However, in this case, when there is a certain operation amount during switching and different page skills need to be released continuously, the operation is not continuous, for example, a certain skill onpage 1 is released, then the switching skill control button is clicked, and then a certain skill onpage 2 is released, so that the skill release has an operation interruption. Moreover, frequent alternate operations between skill release and skill control switching have to be performed, which makes the operation steps cumbersome, is inconvenient for the player to operate, and reduces the game experience.
The existing skill control switching can be carried out by sliding the skill roller, the skill control switching can be carried out by the skill roller, two skill operation pages are possessed, the skill roller needs to be slid, and the other skill can be released. Therefore, when the switching needs to slide a long area, the operation is difficult, and different page skills need to be released continuously, the operation is not consistent, for example, a certain skill onpage 1 is released, then the skill roller is slid, and then a certain skill onpage 2 is released, so that the skill release has operation interruption. Moreover, frequent alternate operations have to be performed between skill release and skill control switching, which makes the operation steps cumbersome, is inconvenient for the player to operate, and reduces the game experience.
The embodiment of the application provides a switching method and device of skill controls in a game and a touch terminal. The method can solve the technical problems that the operation steps are more and complicated, the operation process of a player is inconvenient, and the game experience is reduced.
The game data processing method in the embodiment of the application can be operated on the terminal device or the server. The terminal device may be a local terminal device. When the game data processing method is operated as a server, the game data processing method can be a cloud game.
In an alternative embodiment, cloud gaming refers to a cloud computing-based gaming mode. In the running mode of the cloud game, the running main body of the game program and the game picture presenting main body are separated, the storage and the running of the game data processing method are completed on a cloud game server, and the cloud game client is used for receiving and sending data and presenting the game picture, for example, the cloud game client 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; however, the terminal device performing the game data processing is a cloud game server in the cloud. When a game is played, a player operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the cloud game client through a network, and finally the data are decoded through the cloud game client and the game pictures are output.
In an alternative embodiment, the terminal device may be a local terminal device. The local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. 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 through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
The present application is described in detail by taking a local terminal device as a touch terminal as an example, and the switching method of skill controls in a game in the embodiment of the present application may be applied to a touch terminal. The touch terminal comprises a touch screen and a processor, wherein the touch screen is used for presenting a graphical user interface and receiving operation aiming at the graphical user interface.
In some embodiments, when the touch terminal operates the graphical user interface, the graphical user interface may be used to control the content local to the touch terminal through the operation, and may also be used to control the content of the peer server through the operation.
For example, as shown in fig. 1, fig. 1 is a schematic view of an application scenario provided in the embodiment of the present application. The application scenario may include a touch terminal (e.g., a cell phone 102) and aserver 101, and the touch terminal may communicate with theserver 101 through a wired network or a wireless network. The touch terminal is used for operating a virtual desktop, and can interact with theserver 101 through the virtual desktop to control the content in theserver 101.
The touch terminal of the present embodiment is described by taking themobile phone 102 as an example. Thehandset 102 includes Radio Frequency (RF)circuitry 110,memory 120, atouch screen 130, aprocessor 140, and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 2 is not intended to be limiting and may include more or fewer components than those shown, or may combine certain components, or split certain components, or arranged in different components. Those skilled in the art will appreciate that thetouch screen 130 is part of a User Interface (UI) and that thecell phone 102 may include fewer than or the same User Interface as illustrated.
Theradio frequency circuitry 110 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
Thememory 120 may be used to store software programs and modules, and theprocessor 140 executes various functional applications and data processing of thehandset 102 by executing the software programs and modules stored in thememory 120. Thememory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the stored data area may store data created from use of thehandset 102, and the like. Further, thememory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Thetouch screen 130 may be used to display a graphical user interface and receive user operations with respect to the graphical user interface. Aparticular touch screen 130 may include a display panel and a touch panel. The Display panel may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), and the like. The touch panel may collect contact or non-contact operations of a user on or near the touch panel (for example, as shown in fig. 3, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus, etc.), and generate preset operation instructions. In addition, the touch panel may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction and gesture of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into information that can be processed by the processor, sends the information to theprocessor 140, and receives and executes a command sent by theprocessor 140. In addition, the touch panel may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave, and the like, and may also be implemented by any technology developed in the future. Further, the touch panel may cover the display panel, a user may operate on or near the touch panel covered on the display panel according to a graphical user interface displayed by the display panel, the touch panel detects an operation thereon or nearby and transmits the operation to theprocessor 140 to determine a user input, and theprocessor 140 provides a corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be realized as two independent components or can be integrated.
Theprocessor 140 is the control center of thehandset 102, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the handset 100 and processes data by running or executing software programs and/or modules stored in thememory 120 and calling data stored in thememory 120, thereby performing overall monitoring of the handset.
Thehandset 102 also includes a power supply (e.g., a battery) for powering the various components, which may be logically coupled to theprocessor 140 via a power management system to manage charging, discharging, and power consumption via the power management system.
Embodiments of the present invention are further described below with reference to the accompanying drawings.
Fig. 4 is a flowchart illustrating a method for switching a skill control in a game according to an embodiment of the present application. The method can be applied to a touch terminal (for example, thecell phone 102 shown in fig. 2), a graphical user interface of the touch terminal includes a skill control area, and the skill control area includes at least one skill control. As shown in fig. 4, the method includes:
and S410, responding to the first trigger operation aiming at the skill control area, and determining a first skill control from the at least one skill control.
In this step, the first skill control may be a virtual skill button. The first trigger operation may be an operation of touching, pressing, dragging, or the like, the first skill control.
And S420, responding to the sliding operation which is continuous with the first trigger operation, controlling the virtual character in the game to use the first skill corresponding to the first skill control, and switching the first skill control in the skill control area to the second skill control.
It should be noted that the time for the virtual character to use the first skill may be to immediately release the first skill while determining the first skill control, may be to prepare to release the first skill first when determining the first skill control, and to formally release the first skill after responding to the sliding operation that is continuous with the first trigger operation, or may be to prepare to release the first skill first when determining the first skill control, and to formally release the first skill after the finger leaves the screen.
For example, when the player slides a skill, the virtual character in the game is controlled to release the skill, and the game is switched to a different skill control according to different sliding directions. By performing sliding operation on the first skill control, the effect of releasing the first skill is achieved, and the effect of switching the skill control displayed in the skill control area to other skill controls is also achieved.
And S430, responding to a second trigger operation aiming at the second skill control, and controlling the virtual character to use a second skill corresponding to the second skill control.
Therefore, the player can immediately perform the operation of triggering the second skill control so as to control the virtual character to use the second skill corresponding to the second skill control, thereby realizing more convenient use and recruitment.
In the embodiment, on the basis of controlling the virtual character to use the first skill corresponding to the first skill control, the skill control switching effect achieved by sliding operation on the first skill control is increased, the skill control can be released and switched, and the dual effect of quickly switching the skill control while releasing the skill through continuous operation is realized.
Furthermore, by the method provided by the embodiment of the application, the original skill control position does not need to be changed, a new control does not need to be added, the space of any graphical user interface is not occupied, more skill release and skill control switching effects can be expanded, and on the premise of fully saving the space, the continuous use of the skill, namely release and simultaneous recruitment, can be conveniently realized. Moreover, the method provided by the embodiment of the application can also realize the formulation of the unified multi-skill control switching operation logic, so that the switching of the skill controls has the unified operation logic.
The above steps are described in detail below.
In some embodiments, the step S420 may include the following steps:
and a step a of responding to the sliding operation continuous with the first trigger operation and acquiring the sliding direction of the sliding operation.
And b, controlling the virtual character in the game to use the first skill corresponding to the first skill control.
And c, switching the first skill control in the skill control area to a second skill control corresponding to the sliding direction.
In the present exemplary embodiment, switching to a variety of different skill controls is based on different sliding directions on the skill controls. For example, as shown in fig. 5, if the direction of the sliding operation on thefirst skill control 501 is downward left, the first skill control displayed at the same position in the skill control area is switched to the second skill control corresponding to the downward left direction.
Therefore, the skill control to which the current skill control is specifically switched is determined by utilizing the specific sliding direction of the sliding operation, so that a user can select the specific switching control, more detailed control switching functions are achieved, and the game experience is improved.
Based on the above steps a, b and c, after the step S410, the method may further include the following steps:
and d, displaying switching prompt information in the skill control area.
And the switching prompt information is used for displaying the corresponding relation between the sliding direction and the second skill control. The second skill control may be a plurality of different skill controls, or may be a plurality of different types of skill controls, and different sliding directions may correspond to different skill controls.
It should be noted that the switching prompt information may be a static indication mark, a dynamic operation schematic, and other various expression manners, for example, an indication arrow, a text prompt, a symbol prompt, and the like.
In practical application, when sliding operation can also appear on the first skill control, other skill controls are made to be transparently displayed, switching prompt information of the skill controls is displayed, a player is prompted to slide towards a corresponding direction, and the player can conveniently perform accurate skill switching according to the switching prompt of the direction.
Based on the step d, the switching prompt information can be represented in various forms so as to achieve the effect of prompting the corresponding relation. As an example, the switch prompt message may include a plurality of different directional prompt arrows and/or skill indication icons.
Wherein the skill indication icons are used to indicate different second skill controls, and one skill indication icon may correspond to one skill control. The skill indication icon may indicate its corresponding skill control in a variety of ways.
For example, a thumbnail icon of a second skill may be rendered around a first skill control, the rendered effect of which may resemble the distribution of arrows.
As another example, the toggle prompt may also include an indicator number corresponding to the second skill control.
For example, skill indication icons such as numbers, letters, symbols, words, etc. corresponding to different skill controls may be displayed in the prompt arrow.
As shown in fig. 6, the sliding operation on thefirst skill control 501 may correspond to two directions, where the two directions are indicated by the displayedprompt arrow 601, andnumbers 1 and 2 corresponding to the skill controls are displayed in theprompt arrow 601, and respectively correspond to the skill controls 1 and 2, so that the player can be prompted to slide to the correspondingprompt arrow 601.
As shown in fig. 6, the sliding operation on thefirst skill control 501 is a downward direction, corresponding to the prompt arrow with thenumber 2, and corresponding to theskill control 2, the current skill control will be switched to theskill control 2. And the prompt arrow of thenumber 1 corresponding to theskill control 1 is in an unselected direction, and can be transparently displayed during the sliding operation to prompt the skill control to which the player is to switch.
Through the number in suggestion arrow and the suggestion arrow, can provide more definite prompt information for the player, make the player can carry out accurate controlling part switching according to the switching suggestion of direction, the player of being convenient for carries out more accurate, clear and definite operation, avoids because instruct unclear the misoperation that leads to.
Based on this, the number of the hint arrows may be any number of two, three, four, five, etc. Illustratively, the switch prompt messages are at least two and equally spaced around the first skill control.
For example, as shown in fig. 7, threeprompt arrows 701 are equally spaced around thefirst skill control 501, indicating three directions of operation, respectively, corresponding toskill control 1,skill control 2, andskill control 3, respectively. The sliding operation direction on thefirst skill control 501 is the lower right direction towards the prompt arrow corresponding to theskill control 2, and then the current skill control will be switched to theskill control 2.
For another example, as shown in fig. 8, fourprompt arrows 801 are distributed around thefirst skill control 501 at equal intervals, and respectively indicate four operation directions, which respectively correspond to theskill control 1, theskill control 2, theskill control 3, and theskill control 4. The sliding operation direction on thefirst skill control 501 is the right direction towards the prompt arrow corresponding to theskill control 4, and then the current skill control is switched to theskill control 4.
Through at least three prompting arrows distributed around the first skill control at equal intervals, a player can conveniently select a clear sliding direction for a specific skill control to be switched, the player can conveniently slide to any direction of at least three directions in the operation process, and the selectivity of the sliding direction and the convenience of the sliding operation are improved.
As another implementation manner of this embodiment, the step S420 may include the following steps:
and e, responding to the sliding operation continuous with the first trigger operation, and acquiring the sliding direction of the sliding operation.
And f, controlling the virtual character in the game to use the first skill corresponding to the first skill control.
Step g, judging whether the sliding direction is consistent with a preset direction; and if so, performing the step h.
And h, switching the first skill control in the skill control area to a second skill control.
In this exemplary embodiment, if the player slides in a single predetermined direction, the player can be provided with a choice of two different skill controls by being able to switch to the previous or next skill control (or group) of the current skill control.
Therefore, the player does not need to perform steps of specifically checking and selecting a corresponding direction and the like on a specific skill control, only needs to select more conveniently from the last (or a group) skill control and the next (or a group) skill control, can save tedious processes of checking the selected specific skill control, selecting the corresponding direction and the like, realizes quick switching of the skill controls, and achieves the quick switching effect of the skill controls.
In some embodiments, the step S410 may include the following steps:
responding to a first trigger operation aiming at the skill control area, and determining a target skill control corresponding to the first trigger operation;
a skill control of the same type as the target skill control is determined as the first skill control.
It should be noted that the number of the first skill controls may be more than one, and may also be multiple, where multiple first skill controls all use the same type of skill control.
Of course, the number of second skill controls may also be multiple. Illustratively, the second skill control comprises a plurality of skill controls of the same type.
In practical application, a group of multiple first skill controls of the same type in the skill control area can be switched to another group of multiple second skill controls of the same type in the switching process.
Wherein the first and second skill controls may each contain a plurality of different skill control controls of the same type. For example, the first set of skill controls includes a skill a control, a skill B control, a skill C control, a skill D control, and a skill E control; the second set of skill controls includes a skill F control, a skill G control, a skill H control, a skill I control, and a skill J control.
Therefore, not only can single switching of the skill control be realized, but also the whole group of skills of the same type can be switched. For example, one skill page corresponds to one set of skill controls, so that different skill pages can be turned more conveniently.
The following description takes as an example that all skill controls of the same type as the first skill control can be grouped into a page of controls.
In some embodiments, after the step S410, the method may include the steps of:
and controlling the virtual character to release the first skill in the game scene.
In practical applications, the first skill may be released immediately upon confirmation of the first skill. The confirmation operation may be a trigger operation such as pressing, touching, or touching. For example, the virtual character can be caused to release the first skill in the game scene without a sliding operation on the first skill control as long as the player presses, touches, or touches the first skill control.
As shown in fig. 9, when the confirmation process of step S410 is performed, thevirtual character 901 is immediately controlled to release the first skill in the game scene. For example, the player may control thevirtual character 901 to immediately release the first skill in the game scene, so that thevirtual character 901 competes with the othervirtual character 1001 by releasing the first skill, and then, after the first skill is released by controlling thevirtual character 901, the touch terminal acquires that the sliding operation direction of the player on thefirst skill control 501 in the skill control area is directed upward, so that the first skill control in the skill control area is switched to the second skill control corresponding to the direction directly upward.
Therefore, the virtual character can immediately and quickly release the first skill, the instantaneity effect in a game scene is met, and the game experience is improved.
In another embodiment, the skill may not be released when the skill is confirmed, and the skill may be released formally after the sliding operation is completed. For example, when the first skill is confirmed, the first skill is prepared to be released, and when the finger leaves the touch terminal after the sliding operation is completed, the virtual character formally releases the first skill, so as to achieve the effect of releasing the corresponding skill when the skill control is slid.
As shown in fig. 10, when the activation in step S410 is performed, thevirtual character 901 is prepared to release the first skill, and then, after the touch terminal acquires that the sliding operation direction of the player on thefirst skill control 501 is toward the right left, thevirtual character 901 is made to release the first skill in the game scene, and at the same time, the first skill control in the skill control area is switched to the second skill control corresponding to the right upper direction.
Therefore, the skill control in the skill control area can be switched, the virtual character can be released with skills, the skill releasing process and the skill control switching process can be carried out simultaneously, the player can experience the skill releasing control effect and the skill control switching control effect can be achieved simultaneously through simple and convenient operation which only needs one step, and the convenience effect of game operation is improved.
In some embodiments, the above-mentioned switching effect may also be achieved by other operation modes. Illustratively, the graphic user interface also comprises a skill switching area; the method further comprises the following steps:
responding to sliding operation aiming at the skill switching area, and switching at least one skill control in the skill control area into a third skill control;
and responding to a third trigger operation aiming at the third skill control, and controlling the virtual character to use a third skill corresponding to the third skill control.
Illustratively, the skill switching area may include controls that are dedicated to the switching function described above. For example, a skill switching button, which the user may click or slide to switch one set of skill controls in the skill control area to another.
In this embodiment, a skill switching button may be added near the skill control area, and the player may switch the different skills displayed in the skill control area by clicking or sliding the skill switching button in different directions.
Therefore, only through a slidable button, just can carry out the switching that a plurality of skills were shown, the expansibility is extremely strong, and only a button still does not occupy graphical user interface's panel space moreover to save the controlling part.
In some embodiments, the skill switching operation described above may also be eliminated. After step S410, the method may further include:
the touch control point responding to the sliding operation continuous with the first trigger operation moves to a preset switching area, and the trigger on the first skill control is cancelled; or the like, or, alternatively,
and cancelling the triggering of the first skill control in response to the fact that the moving distance of the touch point of the sliding operation continuous with the first triggering operation is larger than the preset distance.
The preset switching area is an area with a preset distance range around the skill control area.
The skill switching operation can be cancelled by moving the touch point of the sliding operation of the first trigger operation to the preset area or when the moving distance is greater than the preset distance. Therefore, unnecessary skill switching results caused by misoperation of the player can be avoided, the operability of the game is enhanced, and the game experience of the player is improved.
In some embodiments, the skill switching operation described above does not affect the existing skill release only pair operation. Illustratively, the method may further comprise:
and responding to the clicking operation aiming at the skill control area, determining a first skill control from the at least one skill control, and controlling the virtual character in the game to use the first skill.
Therefore, in this embodiment, the click operation on the skill control area may only play a role of releasing a single skill, and does not trigger the skill switching process. Therefore, on the premise of continuously keeping the action effect of the existing control, a new action effect is added, the operation content of the game is richer, and the game experience is improved. Fig. 11 provides a schematic structural diagram of a switching device for skill control in a game. The graphical user interface includes a skill control area including at least one skill control. As shown in fig. 11, theswitching apparatus 1100 for in-game skill control includes:
a determining module 1101, configured to determine a first skill control from the at least one skill control in response to a first trigger operation for the skill control area;
the first switching module 1102 is configured to respond to a sliding operation which is continuous with the first trigger operation, control a virtual character in the game to use a first skill corresponding to the first skill control, and switch the first skill control in the skill control area to a second skill control;
and the first control module 1103 is configured to, in response to a second trigger operation for the second skill control, control the virtual character to use a second skill corresponding to the second skill control.
In some embodiments, the first switching module 1102 is specifically configured to:
responding to the sliding operation continuous with the first trigger operation, and acquiring the sliding direction of the sliding operation;
controlling the virtual character in the game to use a first skill corresponding to the first skill control;
and switching the first skill control in the skill control area to a second skill control corresponding to the sliding direction.
In some embodiments, the apparatus further comprises:
the display module is used for displaying switching prompt information in the skill control area; and the switching prompt information is used for displaying the corresponding relation between the sliding direction and the second skill control.
In some embodiments, the switch prompt message comprises a plurality of different directional prompt arrows and/or skill indication icons.
In some embodiments, the switch prompt information is at least two and equally spaced around the first skill control.
In some embodiments, the switch prompt includes an indicator number corresponding to the second skill control.
In some embodiments, the first switching module 1102 is specifically configured to:
responding to the sliding operation continuous with the first trigger operation, and acquiring the sliding direction of the sliding operation;
controlling the virtual character in the game to use a first skill corresponding to the first skill control;
judging whether the sliding direction is consistent with a preset direction or not;
and if so, switching the first skill control in the skill control area to a second skill control.
In some embodiments, the determining module 1101 is specifically configured to:
responding to a first trigger operation aiming at the skill control area, and determining a target skill control corresponding to the first trigger operation;
determining the skill control of the same type as the target skill control as the first skill control.
In some embodiments, the second skill control comprises a plurality of the skill controls of the same type.
In some embodiments, a skill switching area is also included in the graphical user interface; the device also includes:
the second switching module is used for responding to the sliding operation aiming at the skill switching area and switching the at least one skill control in the skill control area into a third skill control;
and the second control module is used for responding to a third trigger operation aiming at the third skill control and controlling the virtual character to use a third skill corresponding to the third skill control.
In some embodiments, the apparatus further comprises:
the first cancelling module is used for responding that the touch point of the sliding operation continuous with the first triggering operation moves out of a preset switching area and cancelling the triggering of the first skill control; or the like, or, alternatively,
the second cancelling module is used for responding that the moving distance of the touch point of the sliding operation continuous with the first triggering operation is larger than a preset distance, cancelling the triggering of the first skill control and controlling the touch point to move to the preset switching area;
wherein the preset switching area comprises the skill control area.
In some embodiments, the apparatus further comprises:
and the third control module is used for responding to click operation aiming at the skill control area, determining the first skill control from the at least one skill control and controlling the virtual character in the game to use the first skill.
The switching device of the skill control in the game provided by the embodiment of the application has the same technical characteristics as the switching method of the skill control in the game provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Corresponding to the switching method of the skill control in the game, an embodiment of the present application further provides a computer-readable storage medium, where a machine executable instruction is stored in the computer-readable storage medium, and when the computer executable instruction is called and executed by a processor, the computer executable instruction causes the processor to execute the step of the switching method of the skill control in the game.
The switching device of the skill control in the game provided by the embodiment of the application can be specific hardware on the device, or software or firmware installed on the device, and the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
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 such understanding, the technical solution of the present application or a part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method for switching the skill control in the game according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.