CN109847369B - Method and device for switching postures of virtual roles in game - Google Patents

Method and device for switching postures of virtual roles in game Download PDF

Info

Publication number
CN109847369B
CN109847369B CN201910202233.2A CN201910202233A CN109847369B CN 109847369 B CN109847369 B CN 109847369B CN 201910202233 A CN201910202233 A CN 201910202233A CN 109847369 B CN109847369 B CN 109847369B
Authority
CN
China
Prior art keywords
gesture
virtual character
current
switch
switching
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.)
Active
Application number
CN201910202233.2A
Other languages
Chinese (zh)
Other versions
CN109847369A (en
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 CN201910202233.2A priority Critical patent/CN109847369B/en
Publication of CN109847369A publication Critical patent/CN109847369A/en
Application granted granted Critical
Publication of CN109847369B publication Critical patent/CN109847369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for switching the postures of virtual characters in a game, wherein a first combined control and a second combined control are displayed on a GUI, the first combined control is configured to switch the postures of the virtual characters according to a first switching sequence in response to control operation, and the second combined control is configured to switch the postures of the virtual characters according to a second switching sequence in response to control operation. The virtual character is controlled to switch from the current pose to the first pose according to a first switching sequence in response to a first click operation on the first combination control, and to switch from the current pose to the second pose according to a second switching sequence in response to a second click operation on the second combination control. According to the method, the switching of multiple gestures of the virtual character is realized through the two controls, and the virtual character can be rapidly and accurately controlled to be switched to the target gesture during blind operation.

Description

Method and device for switching postures of virtual roles in game
Technical Field
The present invention relates to the field of game technologies, and in particular, to a method and an apparatus for switching gestures of a virtual character in a game.
Background
Currently, with the popularization of smart phones, online games are rapidly developed, and many online games can be run on the smart phones at present, so that the online games are also called as hand-play. Existing online games are broadly divided into: a race type, a shooting type, a policy type, an action role playing type, and the like.
In shooting-type games, the virtual character often needs to switch gestures to hide the track or to cross over an obstacle, and the gestures commonly used by the virtual character include: jumping, standing, squatting, lying prone, etc. In the prior art, the jumping, squatting and lying down are realized by three independent buttons, when the virtual character is in a standing posture, the user clicks the button to trigger the corresponding posture (jumping, squatting or lying down) of the button, the user clicks the button again, and the posture of the virtual character is switched back to standing.
However, the positions of the three buttons of jumping, squatting and lying down are easy to be wrongly recorded, and misoperation is easy to be caused, so that blind selection operation is difficult to realize particularly in shooting games with tension rhythm.
Disclosure of Invention
The embodiment of the application provides a method and a device for switching the gesture of a virtual character in a game, which can quickly and accurately switch to the target gesture of the virtual character.
The first aspect of the present invention provides a method for switching gestures of a virtual character in a game, comprising:
displaying a first combined control and a second combined control on a graphical user interface, wherein the first combined control is configured to switch the gesture of the virtual character according to a first switching sequence in response to a control operation, and the second combined control is configured to switch the gesture of the virtual character according to a second switching sequence in response to the control operation;
Responsive to a first clicking operation acting on the first combination control, controlling the virtual character to switch from the current pose to a first pose according to the first switching sequence and the current pose of the virtual character;
and responding to a second clicking operation on the second combined control, and controlling the virtual character to switch from the current gesture to a second gesture according to the second switching sequence and the current gesture of the virtual character.
Optionally, the step of controlling the virtual character to switch from the current gesture to the first gesture according to the first switching sequence and the current gesture of the virtual character in response to the first clicking operation on the first combined control includes:
determining the first click operation as a clicking operation, determining a gesture adjacent to the current gesture as the first gesture according to the first switching sequence, and controlling the virtual character to switch from the current gesture to the first gesture; or (b)
And determining the first clicking operation as a first continuous clicking operation, and controlling the virtual character to switch from the current gesture to the Nth 1 gesture according to the first continuous clicking times N1, the first switching sequence and the current gesture of the virtual character or to switch from the current gesture to the last gesture in the first switching sequence according to the first switching sequence.
Alternatively to this, the method may comprise,
the step of controlling the virtual character to switch from the current gesture to a second gesture according to the second switching sequence and the current gesture of the virtual character in response to a second click operation on the second combined control comprises:
determining the second click operation as a single click operation, determining that a gesture adjacent to the current gesture is the second gesture according to the second switching sequence, and controlling the virtual character to switch from the current gesture to the second gesture; or (b)
And determining the second clicking operation as a second continuous clicking operation, and controlling the virtual character to switch from the current gesture to the N2 gesture according to the second switching sequence or to switch to the last gesture in the second switching sequence according to the clicking times N2 of the second continuous clicking, the second switching sequence and the current gesture of the virtual character.
Optionally, the method further comprises:
and controlling the virtual character to switch from the current gesture to a first preset gesture in response to a first sliding operation on the first combined control and/or the second combined control.
Optionally, the controlling the virtual character to switch from the current gesture to a first preset gesture in response to a first sliding operation on the first combined control and/or the second combined control includes:
when the current gesture is a non-standing gesture, controlling the virtual character to switch from the current gesture to a standing gesture in response to the first sliding operation; or (b)
And when the current gesture is a non-lying gesture, responding to the first sliding operation, and controlling the virtual character to switch from the current gesture to the lying gesture.
Optionally, the step of controlling the virtual character to switch from the current gesture to the first gesture according to the first switching sequence and the current gesture of the virtual character is:
circularly switching to a first gesture according to the first switching sequence and the current gesture of the virtual character;
according to the second switching sequence and the current gesture of the virtual character, the step of controlling the virtual character to switch from the current gesture to the second gesture is as follows:
and circularly switching to a second gesture according to the second switching sequence and the current gesture of the virtual character.
Optionally, the step of circularly switching to the first gesture according to the first switching sequence and the current gesture of the virtual character includes:
determining the first click operation as a clicking operation, and controlling the virtual character to circularly switch from the current gesture to an adjacent gesture of the current gesture according to the first switching sequence and the current gesture of the virtual character; or (b)
And determining the first clicking operation as a first continuous clicking operation, and controlling the virtual character to circularly switch from the current gesture to an N1 gesture according to the clicking times N1 of the first continuous clicking, the first switching sequence and the current gesture of the virtual character.
Optionally, the step of circularly switching the second switching sequence to the second gesture according to the second switching sequence and the current gesture of the virtual character includes:
determining the second click operation as a clicking operation, and controlling the virtual character to circularly switch from the current gesture to an adjacent gesture of the current gesture according to the second switching sequence and the current gesture of the virtual character; or (b)
And determining the second clicking operation as a second continuous clicking operation, and controlling the virtual character to circularly switch from the current gesture to an N2 gesture according to the clicking times N2 of the second continuous clicking, the second switching sequence and the current gesture of the virtual character.
Optionally, the method further comprises:
and controlling the virtual character to switch from the current gesture to a second preset gesture in response to a second sliding operation on the first combined control and/or the second combined control.
Optionally, the controlling the virtual character to switch from the current gesture to a second preset gesture in response to a second sliding operation on the first combined control and/or the second combined control includes:
when the current gesture is a non-standing gesture, controlling the virtual character to switch from the current gesture to a standing gesture in response to the second sliding operation; or (b)
And when the current gesture is a non-lying gesture, responding to the second sliding operation, and controlling the virtual character to switch from the current gesture to the lying gesture.
Optionally, the postures of the virtual character include jumping, standing, squatting and lying postures, and the first switching sequence is that from front to back in sequence: jump, station, squat, groveling, the second switching order is from the front to the back in proper order: groveling, squatting, standing and jumping.
A second aspect of the present invention provides a gesture switching apparatus for a virtual character in a game, comprising:
the display module is used for displaying a first combined control and a second combined control on the graphical user interface, wherein the first combined control is configured to respond to control operation to switch the gesture of the virtual character according to a first switching sequence, and the second combined control is configured to respond to control operation to switch the gesture of the virtual character according to a second switching sequence;
A switching module, configured to control, in response to a first clicking operation acting on the first combined control, the virtual character to switch from a current gesture to a first gesture according to the first switching sequence and the current gesture of the virtual character;
and the switching module is further used for responding to a second clicking operation acted on the second combined control, and controlling the virtual character to switch from the current gesture to a second gesture according to the second switching sequence and the current gesture of the virtual character.
Optionally, the switching module is specifically configured to:
determining the first click operation as a clicking operation, determining a gesture adjacent to the current gesture as the first gesture according to the first switching sequence, and controlling the virtual character to switch from the current gesture to the first gesture; or (b)
And determining the first clicking operation as a first continuous clicking operation, and controlling the virtual character to switch from the current gesture to the Nth 1 gesture according to the first continuous clicking times N1, the first switching sequence and the current gesture of the virtual character or to switch from the current gesture to the last gesture in the first switching sequence according to the first switching sequence.
Optionally, the switching module is specifically configured to:
determining the second click operation as a single click operation, determining that a gesture adjacent to the current gesture is the second gesture according to the second switching sequence, and controlling the virtual character to switch from the current gesture to the second gesture; or (b)
And determining the second clicking operation as a second continuous clicking operation, and controlling the virtual character to switch from the current gesture to the N2 gesture according to the second switching sequence or to switch to the last gesture in the second switching sequence according to the clicking times N2 of the second continuous clicking, the second switching sequence and the current gesture of the virtual character.
Optionally, the switching module is further configured to:
and controlling the virtual character to switch from the current gesture to a first preset gesture in response to a first sliding operation on the first combined control and/or the second combined control.
Optionally, the switching module is specifically configured to:
when the current gesture is a non-standing gesture, controlling the virtual character to switch from the current gesture to a standing gesture in response to the first sliding operation; or (b)
And when the current gesture is a non-lying gesture, responding to the first sliding operation, and controlling the virtual character to switch from the current gesture to the lying gesture.
Optionally, the switching module is specifically configured to:
circularly switching to a first gesture according to the first switching sequence and the current gesture of the virtual character; or (b)
And circularly switching to a second gesture according to the second switching sequence and the current gesture of the virtual character.
Optionally, the switching module is specifically configured to:
determining the first click operation as a clicking operation, and controlling the virtual character to circularly switch from the current gesture to an adjacent gesture of the current gesture according to the first switching sequence and the current gesture of the virtual character; or (b)
And determining the first clicking operation as a first continuous clicking operation, and controlling the virtual character to circularly switch from the current gesture to an N1 gesture according to the clicking times N1 of the first continuous clicking, the first switching sequence and the current gesture of the virtual character.
Optionally, the switching module is specifically configured to:
determining the second click operation as a clicking operation, and controlling the virtual character to circularly switch from the current gesture to an adjacent gesture of the current gesture according to the second switching sequence and the current gesture of the virtual character; or (b)
And determining the second clicking operation as a second continuous clicking operation, and controlling the virtual character to circularly switch from the current gesture to an N2 gesture according to the clicking times N2 of the second continuous clicking, the second switching sequence and the current gesture of the virtual character.
Optionally, the switching module is further configured to:
and controlling the virtual character to switch from the current gesture to a second preset gesture in response to a second sliding operation on the first combined control and/or the second combined control.
Optionally, the switching module is specifically configured to:
when the current gesture is a non-standing gesture, controlling the virtual character to switch from the current gesture to a standing gesture in response to the second sliding operation; or (b)
And when the current gesture is a non-lying gesture, responding to the second sliding operation, and controlling the virtual character to switch from the current gesture to the lying gesture.
Optionally, the postures of the virtual character include jumping, standing, squatting and lying postures, and the first switching sequence is that from front to back in sequence: jump, station, squat, groveling, the second switching order is from the front to the back in proper order: groveling, squatting, standing and jumping.
A third aspect of the present invention provides a terminal device, comprising: a processor, a memory for storing instructions, and a transceiver for communicating with other devices, the processor for executing the instructions stored in the memory to cause the terminal device to perform the method according to the first aspect of the invention.
A fourth aspect of the invention provides a computer readable storage medium storing instructions that, when executed, cause a computer to perform the method of the first aspect of the invention.
According to the method and the device for switching the gestures of the virtual roles in the game, the first combined control and the second combined control are displayed on the GUI, wherein the first combined control is configured to switch the gestures of the virtual roles according to a first switching sequence in response to control operation, and the second combined control is configured to switch the gestures of the virtual roles according to a second switching sequence in response to control operation. The virtual character is controlled to switch from the current pose to the first pose according to a first switching sequence in response to a first click operation on the first combination control, and to switch from the current pose to the second pose according to a second switching sequence in response to a second click operation on the second combination control. According to the method, the switching of multiple gestures of the virtual character is realized through the two controls, and the virtual character can be rapidly and accurately controlled to be switched to the target gesture during blind operation.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the prior art descriptions, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flowchart of a method for switching gestures of a virtual character in a game according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a first combination control and a second combination control;
figure 3 is another schematic of a first combination control and a second combination control,
FIG. 4 is a flowchart of a method for switching gestures of a virtual character in a game according to a second embodiment of the present invention;
FIG. 5 is a flowchart of a method for switching gestures of a virtual character in a game according to a third embodiment of the present invention;
FIG. 6 is a flowchart of a method for switching gestures of a virtual character in a game according to a fourth embodiment of the present invention;
fig. 7 is a gesture switching device for a virtual character in a game according to a fifth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to a sixth embodiment of the present invention.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, based on the embodiments herein, which would be apparent to one of ordinary skill in the art without making any inventive effort, are intended to be within the scope of the present application.
The invention provides a method for switching the gesture of a virtual character in a game, which can be applied to terminal equipment, wherein the terminal equipment can be electronic equipment with a touch screen, such as a smart phone, a tablet personal computer, a notebook computer, a game machine, a personal digital assistant (Personal Digital Assistant, PDA) and the like.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Controls in the present description are also referred to as buttons or keys.
Fig. 1 is a flowchart of a method for switching gestures of a virtual character in a game according to an embodiment of the present invention, as shown in fig. 1, the method provided in the embodiment includes the following steps:
Step S101, displaying the first and second combination controls on a graphical user interface (Graphical User Interface, GUI).
The GUI is generated by executing a game application rendering, and includes at least one virtual character, and in this embodiment, a first combination control and a second combination control are further displayed on the GUI.
The first combination control configuration responds to the control operation to switch the gestures of the virtual character according to a first switching sequence, and the second combination control configuration responds to the control operation to switch the gestures of the virtual character according to a second switching sequence. The poses of the virtual character include, but are not limited to, jump, station, squat, groveling, and the like.
In this embodiment, the first switching order and the second switching order are different. When the pose of the virtual character includes jump, station, squat, groveling, the first switching sequence is, illustratively, from front to back: jumping, standing, squatting and lying down, and the second switching sequence is opposite to the first switching sequence, and then the second switching sequence sequentially comprises the steps of lying down, squatting, standing and jumping from front to back.
The first and second combination controls may be displayed within a right-hand operating region of the GUI, although other locations of the GUI are also possible, and this is not a limitation of the present embodiment.
Fig. 2 is a schematic diagram of a first combination control and a second combination control, where the first combination control and the second combination control are displayed in a right-hand operation area of the GUI, and the first combination control is located below the second combination control, and a gap is left between the first combination control and the second combination control, so as to prevent misoperation.
The first combined control and the second combined control are displayed with indication information, and the indication information is used for indicating functions of the two combined controls. The identification information may be an icon, for example, with a downward arrow identified on a first combination control and an upward arrow identified on a second combination control. The downward arrow indicates the switching order of the gestures of the virtual character as a first switching order, and the upward arrow indicates the switching order of the gestures of the virtual character as a second switching order.
The identification information may also be text, for example, text down-switches are identified on the first combined space and text up-switches are identified on the second combined control.
Fig. 3 is another schematic diagram of the first combined control and the second combined control, and in comparison with fig. 2 and fig. 3, the first combined control and the second combined control in fig. 2 are two independent controls, and a gap is reserved between the two controls. In fig. 3, the first combined control and the second combined control are two parts of a gesture switching control, the gesture switching control is an independent control, the gesture switching control is composed of an upper part and a lower part, wherein the upper part is the first combined control, the lower part is the second combined control, a downward arrow is displayed on the first combined control, and an upward arrow is displayed on the second combined control.
Optionally, the gesture switching control may also be composed of a left part and a right part, where the left part is a first combined control, the right part is a second combined control, a downward arrow is displayed on the first combined control, and an upward arrow is displayed on the second combined control.
The downward arrow indicates the switching order of the gestures of the virtual character as a first switching order, and the upward arrow indicates the switching order of the gestures of the virtual character as a second switching order.
The form of the first and second combination controls shown in fig. 2 and 3 is merely illustrative and not limiting.
Step S102, responding to a first clicking operation acted on the first combined control, and controlling the virtual character to switch from the current gesture to the first gesture according to the first switching sequence and the current gesture of the virtual character.
By way of example, the pose of the virtual character may be switched in several ways, wherein in both way one and way two the pose of the virtual character cannot be cyclically switched. In the third mode, the posture of the virtual character can be cyclically switched.
The first click operation is determined as a click operation, and the adjacent gesture to the current gesture is determined as the first gesture according to the first switching sequence, so that the virtual character is controlled to switch from the current gesture to the first gesture.
The first switching sequence is assumed to be, in order from front to back: jump, stand, squat, groveling, because the plurality of gestures have a switching sequence, only one of the adjacent gestures of the current gesture is the gesture located after the current gesture in the first switching sequence.
If the current gesture of the virtual character is a jump gesture, the terminal device controls the virtual character to switch from the station gesture to the station gesture in response to the click operation.
If the current pose of the virtual character is a standing pose, the terminal device controls the virtual character to switch from the standing pose to a squat pose in response to a clicking operation.
If the current posture of the virtual character is a squat posture, the terminal device controls the virtual character to switch from the squat posture to the squat posture in response to the clicking operation.
If the current gesture of the virtual character is a lying gesture, the terminal device controls the virtual character to switch from the lying gesture to the squatting gesture in response to the first clicking operation.
If the current gesture of the virtual character is a squat gesture, the terminal device does not switch the gesture of the virtual character after the player performs a clicking operation.
Optionally, the current pose of the virtual character is not switched when:
(1) If the virtual character receives a clicking operation on the first combined control in the process of jumping, the terminal equipment does not switch the gesture of the virtual character.
(2) If a single click operation of the first combination control is detected while the current gesture is not completed, the gesture of the virtual character is not switched.
(3) When the current gesture of the virtual character is the last gesture in the first switching sequence, if the clicking operation of the first combination control is detected, the gesture of the virtual character is not switched.
When the current gesture of the virtual character is the last gesture in the first switching sequence, as the gesture of the virtual character cannot be circularly executed according to the first switching sequence, the user continues to input the clicking operation, and the first combined control is no longer responsive, at this time, the user can operate the second control to switch the gesture.
And (mode two), determining the first clicking operation as a first continuous clicking operation, and controlling the virtual character to switch from the current gesture to the Nth 1 gesture according to the first switching sequence or to switch to the last gesture according to the first switching sequence according to the number of times N1 of clicking of the first continuous clicking, the first switching sequence and the current gesture of the virtual character.
Wherein the number of clicks N1 is greater than or equal to 2, and if the gesture of the virtual character after being switched from the current gesture to the N1 st gesture crosses the last gesture in the first switching sequence, controlling the virtual character to be switched from the current gesture to the last gesture in the first switching sequence. If the gesture of the virtual character after being switched from the current gesture to the Nth 1 gesture does not cross the last gesture in the first switching sequence, the virtual character is controlled to be switched from the current gesture to the Nth 1 gesture.
The first switching sequence is assumed to be, in order from front to back: the current postures of the virtual characters are jumping, standing, squatting and lying, when the value of N1 is 2, the virtual characters are controlled to be switched from the jumping postures to the squatting postures, and the middle standing posture is skipped. When the value of N1 is 3, the virtual character is controlled to switch from the jumping posture to the lying posture, and the middle standing posture and the squatting posture are skipped. When the value of N1 is 4, 3 jumps are performed and then the last gesture in the first switching sequence is crossed, and the virtual character is controlled to switch from the jump gesture to the last gesture: squatting position.
If the current posture of the virtual character is a standing posture, when the value of N1 is 2, the virtual character is controlled to switch from the standing posture to the lying posture, and the middle squatting posture is skipped. When the value of N1 is 3, 3 jumps and then spans the last gesture in the first switching sequence, the virtual character is controlled to switch from the station gesture to the last gesture: lying down posture.
If the current gesture of the virtual character is a squat gesture, no matter what the value of N1 is, the virtual character can only be controlled to be switched from the current gesture to the last gesture: lying down posture.
After the virtual character switches to the last gesture in the first sequence, the second combination control can only be operated if the virtual character wants to switch to the other gesture.
(mode three) according to the first switching sequence and the current gesture of the virtual character, the virtual character is cyclically switched to the first gesture according to the first switching sequence.
In this aspect, the posture of the virtual character can be cyclically switched in the first switching order.
When the first click operation is a click operation, the virtual character is controlled to switch from the current posture to a neighboring posture of the current posture according to the first switching order and the current posture of the virtual character.
The difference between the mode and the mode one is that: when the current gesture of the virtual character is switched to be the last gesture in the first switching sequence, if a clicking operation of the first combination control is detected, the virtual character is controlled to be switched from the current gesture to the first gesture in the first switching sequence. I.e. the first gesture in the first switching sequence is the adjacent gesture to the last gesture.
When the first click operation is a first continuous click operation, the virtual character is controlled to be circularly switched from the current gesture to the (N1) th gesture according to the click times N1 of the first continuous click, the first switching sequence and the current gesture of the virtual character.
The difference between the mode and the mode II is that: if the gesture after the virtual character is switched from the current gesture to the N1 st gesture crosses the last gesture in the first switching sequence, the virtual character is still controlled to be circularly switched from the current gesture to the N1 st gesture.
The first switching sequence is assumed to be, in order from front to back: jumping, standing, squatting and lying down, if the current posture of the virtual character is a standing posture, when the value of N1 is 3, performing 3 jumps and then crossing the last posture in the first switching sequence, and controlling the virtual character to circularly switch from the standing posture to the 3 rd posture: jumping gestures.
If the current posture of the virtual character is a squatting posture, when the value of N1 is 2, the virtual character is controlled to be circularly switched from the squatting posture to a jumping posture, and when the value of N1 is 3, the virtual character is controlled to be switched from the squatting posture to the jumping posture.
If the current posture of the virtual character is the prone posture, when the value of N1 is 2, the virtual character is controlled to be circularly switched from the prone posture to the standing posture, and when the value of N1 is 3, the virtual character is controlled to be switched from the prone posture to the squatting posture.
Step S103, responding to a second clicking operation on the second combined control, and controlling the virtual character to switch from the current gesture to the second gesture according to the second switching sequence and the current gesture of the virtual character.
By way of example, the pose of the virtual character may be switched in several ways, wherein in both way one and way two the pose of the virtual character cannot be cyclically switched. In the third mode, the posture of the virtual character can be cyclically switched.
The first mode determines that the second click operation is a click operation, determines that a gesture adjacent to the current gesture is the second gesture according to the second switching sequence, and controls the virtual character to switch from the current gesture to the second gesture.
The second switching sequence is assumed to be sequentially from front to back: lying, squatting, standing and jumping, and the adjacent posture of the current posture is the latter posture of the current posture. And if the current gesture of the virtual character is a groveling gesture, after the player clicks the second combined control, the terminal equipment controls the virtual character to switch from the groveling gesture to the squatting gesture in response to the clicking operation.
If the current posture of the virtual character is a squat posture, the terminal device controls the virtual character to switch from the squat posture to a station posture in response to the click operation.
If the current pose of the virtual character is a station pose, the terminal device controls the virtual character to switch from the station pose to a jump pose in response to the click operation.
And if the current gesture of the virtual character is a jump gesture, the terminal equipment does not switch the gesture of the virtual character after the player performs a clicking operation on the second combined control.
In the present embodiment, the current gesture is not switched in the following cases:
(1) If the virtual character receives a clicking operation on the second combined control in the process of jumping, the terminal equipment does not switch the gesture of the virtual character.
(2) If a click operation on the second combination control is detected while the current gesture is not completed, the gesture of the virtual character is not switched.
(3) When the current gesture of the virtual character is the last gesture in the second switching sequence, if the clicking operation of the second combination control is detected, the gesture of the virtual character is not switched.
When the current gesture of the virtual character is the last gesture in the second switching sequence, as the gesture of the virtual character cannot be circularly executed according to the second switching sequence, the user continues to input the clicking operation, and the second combined control is no longer responsive, at this time, the user can operate the first control to switch the gesture.
And (mode two), determining the second clicking operation as a second continuous clicking operation, and controlling the virtual character to switch from the current gesture to the N2 gesture according to the second switching sequence or to switch to the last gesture according to the second switching sequence according to the clicking times N2 of the second continuous clicking, the second switching sequence and the current gesture of the virtual character.
Wherein the number of clicks N2 is greater than or equal to 2, and if the gesture after the virtual character is switched from the current gesture to the N2 nd gesture crosses the last gesture in the second switching sequence, controlling the virtual character to be switched from the current gesture to the last gesture in the second switching sequence. If the gesture of the virtual character after being switched from the current gesture to the Nth 2 gesture does not cross the last gesture in the second switching sequence, the virtual character is controlled to be switched from the current gesture to the Nth 2 gesture.
The second switching sequence is assumed to be sequentially from front to back: the method comprises the steps of lying prone, squatting, standing and jumping, wherein the current gesture of the virtual character is the lying prone gesture, when the value of N2 is 2, the virtual character is controlled to be switched from the lying prone gesture to the standing gesture, and the middle squatting gesture is skipped. When the value of N2 is 3, the virtual character is controlled to jump from the prone posture to the jumping posture. When the value of N2 is 4, the last gesture in the second switching sequence is spanned after four jumps, and then the virtual character is controlled to be switched from the prone gesture to the last gesture in the second switching sequence: jumping gestures.
If the current posture of the virtual character is a squat posture, when the value of N2 is 2, the virtual character is controlled to switch from the squat posture to a jump posture, and the middle standing posture is skipped. When the value of N2 is 3, the last gesture in the second switching sequence is spanned after 3 jumps, and then the virtual character is controlled to be switched from the squatting gesture to the last gesture in the second switching sequence: jumping gestures.
After the virtual character switches to the last gesture in the second switching sequence, the second combination control can only be operated if the virtual character wants to switch to the other gesture.
If the pose of the avatar can be cyclically switched in the second switching order, the switching can be performed as follows:
(mode three) according to the second switching order and the current gesture of the virtual character, the virtual character is cyclically switched to the second gesture according to the second switching order.
When the second click operation is a click operation, the virtual character is controlled to be cyclically switched from the current gesture to a neighboring gesture of the current gesture according to the second switching order and the current gesture of the virtual character.
The mode is different from the mode in that: when the current gesture of the virtual character is the last gesture in the second switching sequence, if a clicking operation of the second combination control is detected, controlling the gesture of the virtual character to switch to the first gesture in the second switching sequence. I.e. the first gesture in the second switching sequence is the adjacent gesture to the last gesture.
And when the second clicking operation is a second continuous clicking operation, controlling the virtual character to circularly switch from the current gesture to the Nth 2 gesture according to the clicking times N2 of the second continuous clicking operation, the second switching sequence and the current gesture of the virtual character.
The difference between the mode and the mode II is that: if the gesture after the virtual character is switched from the current gesture to the N2 nd gesture crosses the last gesture in the second switching sequence, the virtual character is still controlled to circularly switch from the current gesture to the N2 nd gesture.
The second switching sequence is assumed to be sequentially from front to back: the virtual character is controlled to switch from the prone posture to the jumping posture when the value of N2 is 2. When the value of N2 is 3, the virtual character is controlled to be switched from the squatting posture to the lying posture. When the value of N2 is 4, the virtual character is controlled to keep the squatting position. When the value of N2 is 5, the virtual character is controlled to be switched from the squat posture to the station posture.
In this embodiment, when the pose of the virtual character can be cyclically switched in the first switching order, or when the pose of the virtual character can be cyclically switched in the second switching order, the virtual character is controlled to switch from the current pose to the second preset pose in response to the second sliding operation acting on the first combination control and/or the second combination control.
For example, when the current pose is the non-standing pose, controlling the virtual character to switch from the current pose to the standing pose in response to the second sliding operation; or when the current gesture is a non-lying gesture, controlling the virtual character to switch from the current gesture to the lying gesture in response to the second sliding operation.
In this embodiment, only two buttons are needed to realize four postures of jumping, standing, squatting and lying prone, and under the condition of realizing the same function, the number of controls on the GUI is reduced, so that the GUI is simpler, and misoperation of a user can be avoided.
Optionally, the first combination button is arranged below the second combination button, the upper and lower combination controls correspond to the height change of the gesture, the first combination control button is clicked to represent the gesture of the virtual character to descend by one stage, the second combination control is clicked to represent the gesture of the virtual character to ascend by one stage, the player can conveniently memorize and blindly select, and the gesture can be quickly and accurately switched to the corresponding gesture under the emergency.
It should be noted that, steps S102 and S103 are not performed in sequence.
In this embodiment, a first combination control and a second combination control are displayed on a GUI, where the first combination control is configured to switch the pose of the virtual character in a first switching order in response to a control operation, and the second combination control is configured to switch the pose of the virtual character in a second switching order in response to the control operation. The virtual character is controlled to switch from the current pose to the first pose according to a first switching sequence in response to a first click operation on the first combination control, and to switch from the current pose to the second pose according to a second switching sequence in response to a second click operation on the second combination control. According to the method, the switching of multiple gestures of the virtual character is realized through the two controls, and the corresponding gestures can be quickly and accurately switched during blind operation.
Fig. 4 is a flowchart of a method for switching the gesture of a virtual character in a game according to a second embodiment of the present invention, and compared with the first embodiment, the method of the present invention can be quickly switched to a preset gesture by a sliding operation, and as shown in fig. 4, the method of the present invention includes the following steps:
step S101, displaying a first combination control and a second combination control on the GUI.
The first combination control configuration responds to the control operation to switch the gestures of the virtual character according to a first switching sequence, and the second combination control configuration responds to the control operation to switch the gestures of the virtual character according to a second switching sequence.
Step S102, responding to a first clicking operation acted on the first combined control, and controlling the virtual character to switch from the current gesture to the first gesture according to the first switching sequence and the current gesture of the virtual character.
Step S103, responding to a second clicking operation on the second combined control, and controlling the virtual character to switch from the current gesture to the second gesture according to the second switching sequence and the current gesture of the virtual character.
The specific implementation manner of steps S101 to S103 refers to the description of the first embodiment, and will not be repeated here.
Step S104, responding to a first sliding operation on the first combined control and/or the second combined control, and controlling the virtual character to switch from the current gesture to a first preset gesture.
The first preset gesture can be any gesture of jumping, standing, squatting and lying prone, and in different games, the first preset gesture can be set according to the requirements of game scenes.
When the first and second combination controls are independent controls, as shown with reference to fig. 2, at this time, when the current posture of the virtual character is a non-standing posture (including jumping, squatting, groveling), the virtual character is controlled to switch from the current posture to the standing posture in response to the first sliding operation. Or when the current gesture is a non-lying gesture, controlling the virtual character to switch from the current gesture to the lying gesture in response to the first sliding operation.
Alternatively, in one possible implementation, the virtual character is controlled to switch to a different preset gesture when the first sliding operation acts on a different combination control. For example, when the current pose is a non-standing pose, the virtual character is controlled to switch from the current pose to the standing pose in response to a first sliding operation acting on the first combination control. When the current gesture is a non-lying gesture, the virtual character is controlled to switch from the current gesture to the lying gesture in response to a first sliding operation acting on the second combination control.
The mode can be quickly switched to the station posture only by performing a first sliding operation on the first combined control. The first sliding operation may be a sliding operation of the first combination control in any direction, or may be a sliding operation in a specific direction, for example, the first sliding operation is an upward sliding operation.
Likewise, the user can quickly switch to the prone position only by performing the first sliding operation on the second combined control. The first sliding operation may be a sliding operation of the second combination control in any direction, or may be a sliding operation in a specific direction, for example, the first sliding operation is an upward sliding operation.
It should be noted that the sliding directions of the first sliding operations of the first combination control and the second combination control may be the same or different, for example, the sliding direction of the first sliding operation of the first combination control is upward, and the sliding manner of the first sliding operation of the second combination control is downward.
When the first combined control and the second combined control are part of the same control, referring to fig. 3, at this time, the first combined control and the second combined control are taken as a whole, and the user can perform a first sliding operation on the first combined control and/or the second combined control, and control the virtual character to switch from the current gesture to the first preset gesture according to the first sliding operation.
For example, when the current pose of the virtual character is a non-standing pose, the virtual character is controlled to switch from the current pose to the standing pose in response to the first sliding operation. Or when the current gesture is a non-lying gesture, controlling the virtual character to switch from the current gesture to the lying gesture in response to the first sliding operation.
Alternatively, in one possible implementation, when the sliding direction of the first sliding operation is different, the virtual character is controlled to switch to a different preset gesture. For example, when the current posture of the virtual character is a non-standing posture, the virtual character is controlled to switch from the current posture to the standing posture in response to the upward first slide operation. Or when the current gesture is a non-lying gesture, controlling the virtual character to switch from the current gesture to the lying gesture in response to a downward first sliding operation.
The steps S102, S103, S104, and S105 are not performed in order.
In this embodiment, the virtual character is controlled to switch from the current gesture to the first preset gesture in response to a first sliding operation acting on the first combined control and/or the second combined control. According to the method, the sliding operation of the first combined control and/or the second combined control can be performed, and the preset gesture can be quickly switched.
Fig. 5 is a flowchart of a method for switching the gesture of a virtual character in a game according to a third embodiment of the present invention, as shown in fig. 5, where the method provided in the embodiment includes the following steps:
step S201, displaying a combination control on the GUI, wherein the configuration of the combination control responds to the control operation to circularly switch the gestures of the virtual roles according to a preset switching sequence.
The gestures of the virtual character may include jumping, standing, squatting, lying and the like, and the preset switching sequence of the four gestures may be jumping, standing, squatting, lying, and the four gestures may be cyclically switched. For example, the jumping posture is switched from the jumping posture, sequentially to the standing posture, the squatting posture, and the lying posture, and then to the jumping posture after the lying posture.
Step S202, responding to clicking operation on the combination control, and controlling the virtual character to switch from the current gesture to the first gesture according to the current gesture of the virtual character and a preset switching sequence.
When the click operation is a single click operation, the virtual character is controlled to switch from the current gesture to the adjacent gesture according to the preset switching sequence and the current gesture.
Since the plurality of gestures have a switching sequence, the current gesture has only one adjacent gesture, and the adjacent gesture is the next gesture positioned behind the current gesture in the preset switching sequence.
Assuming that the preset switching sequence is jump, station, squat and groveling, if the current gesture is station gesture, the virtual character is controlled to be switched from station gesture to squat gesture according to the preset switching sequence and the current gesture. And if the current gesture is a squatting gesture, controlling the virtual character to switch from the squatting gesture to the lying gesture according to the preset switching sequence and the current gesture. And if the current gesture is a lying gesture, controlling the virtual character to switch from the lying gesture to the jumping gesture according to the preset switching sequence and the current gesture. And sequentially and circularly switching to the corresponding gestures according to the mode.
When the clicking operation is a continuous clicking operation, the virtual character is controlled to be circularly switched from the current gesture to the Nth 3 gesture according to the clicking times N3 of the continuous clicking and a preset switching sequence.
Wherein, the clicking times N3 is greater than or equal to 2, and the preset switching sequence of the four gestures is assumed to be: the current postures of the virtual characters are jumping, standing, squatting and lying prone, when the value of N3 is 2, the virtual characters are controlled to be switched from the jumping postures to the squatting postures, and the middle standing postures are skipped. When the value of N3 is 3, the virtual character is controlled to switch from the jumping posture to the lying posture, and the middle standing posture and the squatting posture are skipped. When the value of N3 is 4, the transition to the fourth posture is still the jump posture, and thus the posture of the virtual character is controlled to be unchanged. When the value of N3 is 5, the virtual character is controlled to switch from the jump posture to the station posture.
The mode can realize cross-gesture switching through continuous clicking, so that the mode can be quickly switched to the target gesture.
Optionally, the method of this embodiment may further include the following steps: in response to a sliding operation acting on the combination control, the virtual character is controlled to switch from the current gesture to a preset gesture.
For example, when the virtual character is in the non-standing posture, the virtual character is controlled to switch from the current posture to the standing posture in response to a first sliding operation acting on the combination control. The non-standing posture includes a jump, squat, and groveling posture, that is, when the virtual character is in any one of the jump, squat, and groveling posture, the virtual character can be quickly switched to the standing posture by the first sliding operation.
Or when the virtual character is in the non-lying posture, the virtual character is controlled to be switched from the current posture to the lying posture in response to a second sliding operation acting on the combination control, and the direction of the second sliding operation is different from that of the first sliding operation. That is, when the virtual character is in any one of the jumping, squatting, and standing postures, the character can be quickly switched to the lying posture by the second sliding operation.
The first sliding operation is an upward sliding operation, and the second sliding operation is a downward sliding operation. Alternatively, the first sliding operation is a leftward sliding operation, and the second sliding operation is a rightward sliding operation.
In this embodiment, a combination control is displayed on the GUI, and the configuration of the combination control is to circularly switch the gestures of the virtual character according to a preset switching sequence in response to a control operation, and to control the virtual character to switch from the current gesture to the first gesture according to the current gesture of the virtual character and the preset switching sequence in response to a click operation acting on the combination control. According to the method, the switching of multiple gestures of the virtual character is realized through one control, and the corresponding gestures can be quickly and accurately switched during blind operation. Moreover, under the condition of realizing the same function, the number of controls on the GUI is reduced, so that the GUI is simpler, and misoperation of a user can be avoided.
Fig. 6 is a flowchart of a method for switching gestures of a virtual character in a game according to a fourth embodiment of the present invention, as shown in fig. 6, the method provided in the present embodiment includes the following steps:
step S301, displaying a combined control and a jump control on the GUI, wherein the combined control binds station, squat and groveling postures, and the station, squat and groveling postures can be circularly switched according to a preset sequence.
Step S302, responding to clicking operation on the combination control, and controlling the virtual character to switch from the current gesture to the first gesture according to the current gesture of the virtual character and a preset switching sequence.
Step S303, when the virtual character is in the station gesture, the virtual character is controlled to be switched from the current gesture to the jump gesture in response to the clicking operation on the jump control.
Optionally, when the virtual character is in the non-standing posture, the virtual character is controlled to switch from the current posture to the standing posture in response to a click operation acting on the jump control. If the user wants to switch to the jump gesture, the jump control needs to be clicked again.
In this embodiment, the jump gesture is controlled by an independent control, the standing gesture, the squatting gesture and the groveling gesture are controlled by a combined control, and the switching of multiple gestures of the virtual character is realized by the combined control, so that the corresponding gesture can be quickly and accurately switched during the blind operation.
Fig. 7 is a schematic diagram of a gesture switching device for a virtual character in a game according to a fifth embodiment of the present invention, where the device may be applied to a terminal device, as shown in fig. 7, and the device includes:
a display module 11, configured to display a first combined control and a second combined control on a graphical user interface, where the first combined control is configured to switch the pose of the virtual character according to a first switching sequence in response to a control operation, and the second combined control is configured to switch the pose of the virtual character according to a second switching sequence in response to the control operation;
a switching module 12, configured to control, in response to a first click operation acting on the first combination control, the virtual character to switch from a current gesture to a first gesture according to the first switching sequence and the current gesture of the virtual character;
the switching module 12 is further configured to control, in response to a second click operation on the second combination control, the virtual character to switch from the current gesture to the second gesture according to the second switching sequence and the current gesture of the virtual character.
Optionally, the switching module 12 is specifically configured to:
determining the first click operation as a clicking operation, determining a gesture adjacent to the current gesture as the first gesture according to the first switching sequence, and controlling the virtual character to switch from the current gesture to the first gesture; or (b)
And determining the first clicking operation as a first continuous clicking operation, and controlling the virtual character to switch from the current gesture to the Nth 1 gesture according to the first continuous clicking times N1, the first switching sequence and the current gesture of the virtual character or to switch from the current gesture to the last gesture in the first switching sequence according to the first switching sequence.
Optionally, the switching module 12 is specifically configured to:
determining the second click operation as a single click operation, determining that a gesture adjacent to the current gesture is the second gesture according to the second switching sequence, and controlling the virtual character to switch from the current gesture to the second gesture; or (b)
And determining the second clicking operation as a second continuous clicking operation, and controlling the virtual character to switch from the current gesture to the N2 gesture according to the second switching sequence or to switch to the last gesture in the second switching sequence according to the clicking times N2 of the second continuous clicking, the second switching sequence and the current gesture of the virtual character.
Optionally, the switching module 12 is further configured to:
And controlling the virtual character to switch from the current gesture to a first preset gesture in response to a first sliding operation on the first combined control and/or the second combined control.
Optionally, the switching module 12 is specifically configured to:
when the current gesture is a non-standing gesture, controlling the virtual character to switch from the current gesture to a standing gesture in response to the first sliding operation; or (b)
And when the current gesture is a non-lying gesture, responding to the first sliding operation, and controlling the virtual character to switch from the current gesture to the lying gesture.
Optionally, the switching module 12 is specifically configured to:
circularly switching to a first gesture according to the first switching sequence and the current gesture of the virtual character; or (b)
And circularly switching to a second gesture according to the second switching sequence and the current gesture of the virtual character.
Optionally, the switching module 12 is specifically configured to:
determining the first click operation as a clicking operation, and controlling the virtual character to circularly switch from the current gesture to an adjacent gesture of the current gesture according to the first switching sequence and the current gesture of the virtual character; or (b)
And determining the first clicking operation as a first continuous clicking operation, and controlling the virtual character to circularly switch from the current gesture to the Nth 1 gesture according to the clicking times N1 of the first continuous clicking, the first switching sequence and the current gesture of the virtual character.
Optionally, the switching module 12 is specifically configured to:
determining the second click operation as a clicking operation, and controlling the virtual character to circularly switch from the current gesture to an adjacent gesture according to the second switching sequence and the current gesture of the virtual character; or (b)
And determining the second clicking operation as a second continuous clicking operation, and controlling the virtual character to circularly switch from the current gesture to the Nth 2 gesture according to the clicking times N2 of the second continuous clicking, the second switching sequence and the current gesture of the virtual character.
Optionally, the switching module 12 is further configured to:
and controlling the virtual character to switch from the current gesture to a second preset gesture in response to a second sliding operation on the first combined control and/or the second combined control.
Optionally, the switching module 12 is specifically configured to:
when the current gesture is a non-standing gesture, controlling the virtual character to switch from the current gesture to a standing gesture in response to the second sliding operation; or (b)
And when the current gesture is a non-lying gesture, responding to the second sliding operation, and controlling the virtual character to switch from the current gesture to the lying gesture.
Optionally, the postures of the virtual character include jumping, standing, squatting and lying postures, and the first switching sequence is that from front to back in sequence: jump, station, squat, groveling, the second switching order is from the front to the back in proper order: groveling, squatting, standing and jumping.
The apparatus provided in this embodiment may be used to perform the method in the first embodiment or the second embodiment, and the specific implementation manner and technical effects are similar, and are not described herein again.
Fig. 8 is a schematic structural diagram of a terminal device according to a sixth embodiment of the present invention, as shown in fig. 8, where the terminal device in this embodiment includes: a processor 21, a memory 22 and a transceiver 23, the memory 22 being for storing instructions, the transceiver 23 being for communicating with other devices, the processor 21 being for executing the instructions stored in the memory 22 to cause the terminal device to perform the method according to any one of the first to fourth embodiments of the invention.
A seventh embodiment of the present invention provides a computer-readable storage medium storing instructions that, when executed, cause a computer to perform the method according to any one of the first to sixth embodiments of the present invention.
It is to be understood that the processor referred to in the present invention may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape, floppy disk, optical disk, and any combination thereof.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A method for switching the posture of a virtual character in a game, comprising:
displaying a first combined control and a second combined control on a graphical user interface, wherein the first combined control is configured to switch the gesture of the virtual character according to a first switching sequence in response to a control operation, and the second combined control is configured to switch the gesture of the virtual character according to a second switching sequence in response to the control operation;
responsive to a first clicking operation acting on the first combination control, controlling the virtual character to switch from the current pose to a first pose according to the first switching sequence and the current pose of the virtual character;
Responsive to a second click operation on the second combination control, controlling the virtual character to switch from the current gesture to a second gesture according to the second switching order and the current gesture of the virtual character;
the step of controlling the virtual character to switch from the current gesture to a first gesture according to the first switching sequence and the current gesture of the virtual character in response to a first clicking operation on the first combined control comprises:
when the first click operation is a clicking operation, determining that a gesture adjacent to the current gesture is the first gesture according to the first switching sequence, and controlling the virtual character to switch from the current gesture to the first gesture;
when the first clicking operation is a first continuous clicking operation, controlling the virtual character to switch from the current gesture to an Nth 1 gesture according to the clicking times N1 of the first continuous clicking, the first switching sequence and the current gesture of the virtual character;
the step of controlling the virtual character to switch from the current gesture to a second gesture according to the second switching sequence and the current gesture of the virtual character in response to a second click operation on the second combined control comprises:
When the second click operation is a single click operation, determining that a gesture adjacent to the current gesture is the second gesture according to the second switching sequence, and controlling the virtual character to switch from the current gesture to the second gesture;
when the second click operation is a second continuous click operation, controlling the virtual character to switch from the current gesture to an Nth 2 gesture according to the click times N2 of the second continuous click, the second switching sequence and the current gesture of the virtual character;
controlling the virtual character to switch from the current gesture to a first preset gesture in response to a first sliding operation acting on the first combined control and/or the second combined control;
the controlling the virtual character to switch from the current gesture to a first preset gesture in response to a first sliding operation on the first combined control and/or the second combined control comprises:
when the current gesture is a non-standing gesture, controlling the virtual character to switch from the current gesture to a standing gesture in response to the first sliding operation; or (b)
And when the current gesture is a non-lying gesture, responding to the first sliding operation, and controlling the virtual character to switch from the current gesture to the lying gesture.
2. The method of claim 1, wherein the step of controlling the virtual character to switch from the current gesture to a first gesture according to the first switching sequence and the current gesture of the virtual character in response to a first click operation on the first combination control comprises:
and determining the first clicking operation as a first continuous clicking operation, and switching to a last gesture according to the first continuous clicking times N1, the first switching sequence and the current gesture of the virtual character according to the first switching sequence.
3. The method of claim 1, wherein the step of controlling the virtual character to switch from the current gesture to a second gesture according to the second switching order and the current gesture of the virtual character in response to a second click operation on the second combination control comprises:
and determining the second clicking operation as a second continuous clicking operation, and switching to the last gesture in the second switching sequence according to the second continuous clicking times N2, the second switching sequence and the current gesture of the virtual character.
4. The method of claim 1, wherein the step of controlling the virtual character to switch from the current pose to the first pose according to the first switching order and the current pose of the virtual character is:
circularly switching to a first gesture according to the first switching sequence and the current gesture of the virtual character;
according to the second switching sequence and the current gesture of the virtual character, the step of controlling the virtual character to switch from the current gesture to the second gesture is as follows:
and circularly switching to a second gesture according to the second switching sequence and the current gesture of the virtual character.
5. The method of claim 4, wherein the step of circularly switching to the first pose according to the first switching order and the current pose of the virtual character according to the first switching order comprises:
determining the first click operation as a clicking operation, and controlling the virtual character to circularly switch from the current gesture to an adjacent gesture of the current gesture according to the first switching sequence and the current gesture of the virtual character; or (b)
And determining the first clicking operation as a first continuous clicking operation, and controlling the virtual character to circularly switch from the current gesture to an N1 gesture according to the clicking times N1 of the first continuous clicking, the first switching sequence and the current gesture of the virtual character.
6. The method of claim 4, wherein the step of cyclically switching the second switching order to a second pose according to the second switching order and a current pose of the virtual character comprises:
determining the second click operation as a clicking operation, and controlling the virtual character to circularly switch from the current gesture to an adjacent gesture of the current gesture according to the second switching sequence and the current gesture of the virtual character; or (b)
And determining the second clicking operation as a second continuous clicking operation, and controlling the virtual character to circularly switch from the current gesture to an N2 gesture according to the clicking times N2 of the second continuous clicking, the second switching sequence and the current gesture of the virtual character.
7. The method according to any one of claims 4-6, further comprising:
and controlling the virtual character to switch from the current gesture to a second preset gesture in response to a second sliding operation on the first combined control and/or the second combined control.
8. The method of claim 7, wherein the controlling the virtual character to switch from the current gesture to a second preset gesture in response to a second sliding operation on the first combined control and/or the second combined control comprises:
when the current gesture is a non-standing gesture, controlling the virtual character to switch from the current gesture to a standing gesture in response to the second sliding operation; or (b)
And when the current gesture is a non-lying gesture, responding to the second sliding operation, and controlling the virtual character to switch from the current gesture to the lying gesture.
9. The method of any one of claims 1-6, 8, wherein the pose of the virtual character comprises a jump, station, squat, groveling pose, and the first switching sequence is, in order from front to back: jump, station, squat, groveling, the second switching order is from the front to the back in proper order: groveling, squatting, standing and jumping.
10. A terminal device, comprising: a processor, a memory for storing instructions, and a transceiver for communicating with other devices, the processor for executing the instructions stored in the memory to cause the terminal device to perform the method of any of claims 1-9.
11. A computer readable storage medium storing instructions that, when executed, cause a computer to perform the method of any one of claims 1-9.
CN201910202233.2A 2019-03-18 2019-03-18 Method and device for switching postures of virtual roles in game Active CN109847369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910202233.2A CN109847369B (en) 2019-03-18 2019-03-18 Method and device for switching postures of virtual roles in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910202233.2A CN109847369B (en) 2019-03-18 2019-03-18 Method and device for switching postures of virtual roles in game

Publications (2)

Publication Number Publication Date
CN109847369A CN109847369A (en) 2019-06-07
CN109847369B true CN109847369B (en) 2023-05-16

Family

ID=66901124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910202233.2A Active CN109847369B (en) 2019-03-18 2019-03-18 Method and device for switching postures of virtual roles in game

Country Status (1)

Country Link
CN (1) CN109847369B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110354489B (en) * 2019-08-08 2022-02-18 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN111249726B (en) 2020-01-15 2021-08-24 腾讯科技(深圳)有限公司 Operation method, device, equipment and readable medium of virtual prop in virtual environment
CN111632380A (en) * 2020-05-28 2020-09-08 腾讯科技(深圳)有限公司 Virtual attitude switching method and device, storage medium and electronic device
CN111773681B (en) * 2020-08-03 2024-07-09 网易(杭州)网络有限公司 Method and device for controlling virtual game roles
CN113304476A (en) * 2021-05-24 2021-08-27 广州三七互娱科技有限公司 Game picture display method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180369693A1 (en) * 2017-06-26 2018-12-27 Netease (Hangzhou) Network Co.,Ltd. Virtual Character Control Method, Apparatus, Storage Medium and Electronic Device
CN109364475A (en) * 2017-12-15 2019-02-22 鲸彩在线科技(大连)有限公司 Virtual role control method, device, terminal, system and medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014034549A1 (en) * 2012-08-27 2014-03-06 株式会社ソニー・コンピュータエンタテインメント Information processing device, information processing method, program, and information storage medium
CN106610765B (en) * 2015-10-26 2020-05-19 网易(杭州)网络有限公司 Switching method and device with relatively fixed positions among buttons, mobile client and computer client
CN107193553B (en) * 2017-04-27 2020-09-15 北京小米移动软件有限公司 Key control method and device
CN109078326B (en) * 2018-08-22 2022-03-08 网易(杭州)网络有限公司 Game control method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180369693A1 (en) * 2017-06-26 2018-12-27 Netease (Hangzhou) Network Co.,Ltd. Virtual Character Control Method, Apparatus, Storage Medium and Electronic Device
CN109364475A (en) * 2017-12-15 2019-02-22 鲸彩在线科技(大连)有限公司 Virtual role control method, device, terminal, system and medium

Also Published As

Publication number Publication date
CN109847369A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109847369B (en) Method and device for switching postures of virtual roles in game
US20190369817A1 (en) Information processing apparatus
CN106909305B (en) Method and apparatus for displaying graphical user interface
CN109364476B (en) Game control method and device
CN108379839B (en) Control response method and device and terminal
US9250790B2 (en) Information processing device, method of processing information, and computer program storage device
CN106730810B (en) Game button switching method and device of mobile intelligent terminal
CN109918004B (en) Virtual role control method and device
CN106406741B (en) A kind of operation processing method and mobile terminal of mobile terminal
US10857463B2 (en) Storage medium and operation input scheme control method
CN111840988B (en) Game skill triggering method, game skill triggering device, game client and medium
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
EP3995188B1 (en) Display method and apparatus for interactive interface, and storage medium and electronic apparatus
CN113268682B (en) Page content display method, device and equipment based on navigation bar and storage medium
CN105324160B (en) Electronic game machine, electronic game processing method, and non-volatile storage medium storing electronic game program
US20230091771A1 (en) Device Control Method, Storage Medium, and Non-Transitory Computer-Readable Electronic Device
CN107491502A (en) A kind of method and terminal for selecting entry
CN106990931A (en) Display methods and terminal for terminal
CN107454951A (en) Electronic equipment and the method for electronic equipment
KR101459447B1 (en) Method for selecting items using a touch screen and system thereof
CN106933421A (en) Electronic equipment and its touch control method
CN113849082B (en) Touch processing method and device, storage medium and mobile terminal
CN104951293B (en) The key response method and mobile terminal of a kind of mobile terminal
CN107247559A (en) Respond the method and its system, electronic equipment of touch operation
JP2019013297A (en) Game program, recording medium, method, and information processing device

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
GR01 Patent grant
GR01 Patent grant