CN113318430A - Virtual character posture adjusting method and device, processor and electronic device - Google Patents

Virtual character posture adjusting method and device, processor and electronic device Download PDF

Info

Publication number
CN113318430A
CN113318430A CN202110592891.4A CN202110592891A CN113318430A CN 113318430 A CN113318430 A CN 113318430A CN 202110592891 A CN202110592891 A CN 202110592891A CN 113318430 A CN113318430 A CN 113318430A
Authority
CN
China
Prior art keywords
touch
posture
virtual
target
response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110592891.4A
Other languages
Chinese (zh)
Inventor
杜雅军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110592891.4A priority Critical patent/CN113318430A/en
Publication of CN113318430A publication Critical patent/CN113318430A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/65Methods for processing data by generating or executing the game program for computing the condition of a game character

Abstract

The invention discloses a method and a device for adjusting the posture of a virtual character, a processor and an electronic device. The method comprises the following steps: displaying a first posture icon within the posture adjustment control, the first posture icon being used to indicate a current posture of the virtual character in the game scene; responding to a first touch operation executed by the attitude adjustment control, and generating a target touch area, wherein the target touch area comprises a plurality of touch response positions; responding to a second touch operation executed on the target touch area, and determining a target touch response position; when the second touch operation is detected to disappear at the target touch response position, displaying a second posture icon corresponding to the target touch response position in the posture adjustment control, and adjusting the virtual character from the current posture to the target posture corresponding to the second posture icon. The invention solves the technical problems that the game picture is blocked and the operation difficulty is high because a plurality of independent controls are adopted to control different body postures in the related technology.

Description

Virtual character posture adjusting method and device, processor and electronic device
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device, a processor and an electronic device for adjusting the posture of a virtual character.
Background
In a game, a player can adjust the posture of a virtual character through the operation of a control in a game interface, and in the related art, independent controls are usually adopted for different postures for display and operation, for example, the upright, squat and prone postures of the virtual character are switched through 3 independent controls. However, when the gestures are switched by adopting a plurality of independent controls, the gesture switching of the virtual character is interrupted strongly and the visual smooth experience is poor due to the operation switching among the plurality of controls. The independent controls are easy to block scenes in a game picture, so that the interface is crowded, the number of the controls can increase the cognition and operation difficulty of a player, and the error touch rate of the operation of the player is increased. In addition, each independent control controls a corresponding gesture independently, when a game needs to add a new role gesture, the new gesture can be expanded only by adding a new control in a game interface, and the expansibility of the new gesture is poor.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
At least some embodiments of the present invention provide a method, an apparatus, a processor, and an electronic apparatus for adjusting a posture of a virtual character, so as to at least solve the technical problems of game screen occlusion and large operation difficulty caused by using a plurality of independent controls to control different body postures in the related art.
According to an embodiment of the present invention, a method for adjusting the posture of a virtual character is provided, in which an electronic device provides a graphical user interface, and content displayed on the graphical user interface at least partially includes a game scene and a posture adjustment control, and the method for adjusting the posture of the virtual character includes:
displaying a first posture icon within the posture adjustment control, wherein the first posture icon is used for indicating the current posture of the virtual character in the game scene; responding to a first touch operation executed by the gesture adjusting control, and generating a target touch area, wherein the target touch area comprises: the touch control system comprises a plurality of touch control response positions, wherein each touch control response position in the plurality of touch control response positions corresponds to a different gesture; determining a target touch response position from the plurality of touch response positions in response to a second touch operation performed on the target touch area; when the second touch operation is detected to disappear at the target touch response position, displaying a second posture icon corresponding to the target touch response position in the posture adjustment control, and adjusting the virtual character from the current posture to the target posture corresponding to the second posture icon.
Optionally, the different gestures corresponding to the multiple touch response positions include: an upright pose, a creeping pose, and at least one transitional pose that changes from the upright pose to the creeping pose.
Optionally, the target touch area includes: the touch control device comprises a virtual sliding bar and a virtual sliding block, wherein a plurality of touch control response positions are sequentially arranged along the virtual sliding bar, and the display position of the virtual sliding block and the position of the touch control point of the second touch control operation are synchronously changed.
Optionally, after determining the target touch response position from the plurality of touch response positions in response to the second touch operation performed on the target touch area, the method further includes: and displaying a second gesture icon corresponding to the target touch response position at the position associated with the target touch response position.
Optionally, generating the target touch area comprises: and determining the position of the target touch area according to the current posture of the virtual character in the game scene, so that the touch response position corresponding to the current posture is located at the position of the posture adjustment control.
Optionally, when the virtual slider slides in the virtual slider bar along a first direction, the different postures corresponding to the multiple touch response positions are changed from the erect posture to the creeping posture, and when the virtual slider slides in the virtual slider bar along a second direction, the different postures corresponding to the multiple touch response positions are changed from the creeping posture to the erect posture, wherein the first direction and the second direction are opposite directions.
Optionally, in response to a second touch operation performed on the target touch area, determining the target touch response position from the plurality of touch response positions comprises: responding to a second touch operation executed on the virtual sliding bar, and acquiring the current stop position of the virtual sliding block on the virtual sliding bar; and determining a target touch response position corresponding to the current staying position from the plurality of touch response positions.
Optionally, the target touch area includes: the virtual wheel disc, wherein the posture adjustment control is located in the center area of the virtual wheel disc, and the plurality of touch response positions are sequentially arranged around the posture adjustment control in the virtual wheel disc.
Optionally, in response to a second touch operation performed on the target touch area, determining the target touch response position from the plurality of touch response positions comprises: displaying a corresponding gesture icon at each touch response position in the plurality of touch response positions; responding to a second touch operation executed on the virtual wheel disc, and acquiring a current gesture icon corresponding to a touch point of the second touch operation on the virtual wheel disc; and determining a target touch response position corresponding to the current gesture icon from the plurality of touch response positions.
According to an embodiment of the present invention, there is further provided an apparatus for adjusting a posture of a virtual character, wherein an electronic device provides a graphical user interface, content displayed on the graphical user interface at least partially includes a game scene and a posture adjustment control, and the apparatus for adjusting a posture of a virtual character includes:
the display module is used for displaying a first posture icon in the posture adjustment control, wherein the first posture icon is used for indicating the current posture of the virtual character in the game scene; a generating module, configured to generate a target touch area in response to a first touch operation performed on the gesture adjustment control, where the target touch area includes: the touch control system comprises a plurality of touch control response positions, wherein each touch control response position in the plurality of touch control response positions corresponds to a different gesture; the determining module is used for responding to a second touch operation executed on the target touch area and determining a target touch response position from the plurality of touch response positions; and the adjusting module is used for displaying a second posture icon corresponding to the target touch response position in the posture adjusting control when the second touch operation is detected to disappear at the target touch response position, and adjusting the virtual character from the current posture to the target posture corresponding to the second posture icon.
Optionally, the different gestures corresponding to the multiple touch response positions include: an upright pose, a creeping pose, and at least one transitional pose that changes from the upright pose to the creeping pose.
Optionally, the target touch area includes: the touch control device comprises a virtual sliding bar and a virtual sliding block, wherein a plurality of touch control response positions are sequentially arranged along the virtual sliding bar, and the display position of the virtual sliding block and the position of the touch control point of the second touch control operation are synchronously changed.
Optionally, the apparatus further comprises: and the second gesture icon display module is used for displaying a second gesture icon corresponding to the target touch response position at a position associated with the target touch response position after the target touch response position is determined from the plurality of touch response positions in response to a second touch operation executed on the target touch area.
Optionally, the generating module includes: and the position adjusting submodule is used for determining the position of the target touch area according to the current posture of the virtual character in the game scene so as to enable the touch response position corresponding to the current posture to be located at the position of the posture adjusting control.
Optionally, the determining module is further configured to transition different postures corresponding to the multiple touch response positions from the erect posture to the creeping posture when the virtual slider slides in the virtual slider in a first direction, and transition different postures corresponding to the multiple touch response positions from the creeping posture to the erect posture when the virtual slider slides in a second direction in the virtual slider, where the first direction and the second direction are opposite directions.
Optionally, the determining module includes: the stopping position obtaining submodule is used for responding to second touch operation executed on the virtual sliding bar and obtaining the current stopping position of the virtual sliding block on the virtual sliding bar; and the response position determining submodule is used for determining a target touch response position corresponding to the current staying position from the multiple touch response positions and displaying a corresponding gesture icon at the associated position of the target touch response position.
Optionally, the target touch area includes: the virtual wheel disc, wherein the posture adjustment control is located in the center area of the virtual wheel disc, and the plurality of touch response positions are sequentially arranged around the posture adjustment control in the virtual wheel disc.
Optionally, the determining module includes: the icon display sub-module is used for respectively displaying a corresponding gesture icon at each touch response position in the plurality of touch response positions; the icon acquisition submodule is used for responding to a second touch operation executed on the virtual wheel disc and acquiring a current posture icon corresponding to a touch point of the second touch operation on the virtual wheel disc; and the response position determining submodule is used for determining a target touch response position corresponding to the current gesture icon from the multiple touch response positions.
According to an embodiment of the present invention, there is further provided a non-volatile storage medium having a computer program stored therein, where the computer program is configured to execute the method for adjusting the posture of the virtual character in any one of the above methods when the computer program runs.
There is further provided, according to an embodiment of the present invention, a processor configured to execute a program, where the program is configured to execute, when running, the method for pose adjustment of a virtual character in any one of the above.
There is further provided, according to an embodiment of the present invention, an electronic apparatus including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the method for adjusting the posture of the virtual character in any one of the above.
In the embodiment of the invention, a target touch area is generated by displaying a first posture icon in a posture adjustment control, responding to a first touch operation executed on the posture adjustment control, responding to a second touch operation executed on the target touch area, determining a target touch response position from a plurality of touch response positions, when the second touch operation is detected to disappear at the target touch response position, displaying a second posture icon corresponding to the target touch response position in the posture adjustment control, and adjusting a virtual character from the current posture to the target posture corresponding to the second posture icon, the adjustment among a plurality of postures of the virtual character can be realized by one control, the shielding of a plurality of independent controls on a game scene is avoided, the virtual character can show the corresponding posture in real time by the touch operation on the posture adjustment control, the operation is simple, and the problem that the control on different body postures by adopting the plurality of independent controls in the related technology is solved, leading to the technical problems of game picture shielding and large operation difficulty.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal of a method for adjusting a virtual character pose according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for adjusting the pose of a virtual character according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a graphical user interface in accordance with an alternate embodiment of the present invention;
FIG. 4 is a schematic diagram of a first touch operation performed on a gesture adjustment control according to an alternative embodiment of the present invention;
FIG. 5 is a schematic diagram of a target touch area according to an alternative embodiment of the present invention;
FIG. 6 is a schematic diagram of a target touch area in accordance with an alternative embodiment of the present invention;
FIG. 7 is a schematic diagram of attitude switching in accordance with an alternative embodiment of the present invention;
FIG. 8 is a schematic view of a gestural transition in a second direction in accordance with an alternative embodiment of the present invention;
FIG. 9 is a schematic view of a gestural transition in a first direction in accordance with an alternative embodiment of the present invention;
FIG. 10 is a schematic illustration of a virtual wheel disc according to an alternate embodiment of the present invention;
FIG. 11 is a schematic diagram of a second gesture icon corresponding to a target touch response location in accordance with an alternative embodiment of the present invention;
fig. 12 is a schematic diagram of an apparatus for adjusting the pose of a virtual character according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with one embodiment of the present invention, there is provided an embodiment of a method for pose adjustment of a virtual character, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
The method embodiments may be performed in an electronic device, such as a mobile terminal, a computer terminal or a similar computing device. Taking the example of the Mobile terminal running on the Mobile terminal, the Mobile terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, a game console, etc. Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a method for adjusting a virtual character pose according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory 104 for storing data. Optionally, the mobile terminal may further include a transmission device 106, an input/output device 108, and a display device 110 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of an application software, such as a computer program corresponding to the method for adjusting the pose of the virtual character in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the above-mentioned method for adjusting the pose of the virtual character. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The inputs in the input output Device 108 may come from a plurality of Human Interface Devices (HIDs). For example: keyboard and mouse, game pad, other special game controller (such as steering wheel, fishing rod, dance mat, remote controller, etc.). Some human interface devices may provide output functions in addition to input functions, such as: force feedback and vibration of the gamepad, audio output of the controller, etc.
The display device 110 may be, for example, a head-up display (HUD), a touch screen type Liquid Crystal Display (LCD), and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
In this embodiment, a method for adjusting a posture of a virtual character running on an electronic device is provided, where the electronic device provides a graphical user interface, and content displayed on the graphical user interface at least partially includes a game scene and a posture adjustment control, and fig. 2 is a flowchart of a method for adjusting a posture of a virtual character according to an embodiment of the present invention, as shown in fig. 2, the method for adjusting a posture of a virtual character includes the following steps:
and step S20, displaying a first posture icon in the posture adjustment control, wherein the first posture icon is used for indicating the current posture of the virtual character in the game scene.
The graphical user interface is displayed in the display equipment of the electronic device, and the player can adjust the posture of the virtual character in the game through touch operation of the posture adjusting control.
For example, fig. 3 is a schematic diagram of a graphical user interface according to an alternative embodiment of the present invention, where the graphical user interface includes a game scene area 301 and a posture adjustment control, the game scene area 301 displays a virtual character, and the posture adjustment control displays a first posture icon 302, and the body posture presented by the first posture icon 302 is a half-kneeling posture, and the virtual character is also in a half-kneeling posture. It should be noted that other controls (not shown in fig. 3) may also be included in the graphical user interface shown in fig. 3, such as forward or backward controls, jump controls, and the like.
Alternatively, when the virtual character is not switched in posture, the posture adjustment control can only display the first posture icon to minimize the obstruction of the game scene by the posture adjustment control, as shown in fig. 3, and when the virtual character maintains the current half-kneeling posture, the posture adjustment control only displays the first posture icon 302 consistent with the half-kneeling posture, but does not display other posture icons.
Step S21, generating a target touch area in response to the first touch operation performed on the gesture adjustment control, where the target touch area includes: and each touch response position in the touch response positions corresponds to a different gesture respectively.
The first touch operation may be a sliding, clicking, or other touch operation on the first gesture icon to generate a target touch area in the graphical user interface. Fig. 4 is a schematic diagram of a first touch operation performed on the posture adjustment control according to an alternative embodiment of the present invention, and as shown in fig. 4, after the player presses the first posture icon 302 with a finger, a target touch area is generated through an upward or downward sliding operation.
The target touch area is configured to receive a touch operation of a player and adjust a posture of the virtual character, a control icon indicating a plurality of touch response positions may be displayed in the target touch area, so that the player may switch the posture of the virtual character according to the corresponding control icon, and the display modes of the spatial icons of the plurality of touch response positions may be various, which is not limited herein. For example, the control icon may be a circular icon corresponding to a plurality of touch response positions, and the player clicks different circular icons to switch the gestures.
In an optional embodiment, the different gestures corresponding to the touch response positions include: an upright pose, a creeping pose, and at least one transitional pose that changes from the upright pose to the creeping pose. In order to make the posture change of the virtual character transition naturally, a transition posture can be set between the upright posture and the creeping posture, and the transition posture can comprise any one or more of a half kneeling posture, a half squatting posture, a stooping posture and the like, so that when the virtual character changes from the upright posture to the creeping posture, the posture is switched to be naturally linked, and the visual sense of a player is smooth.
In step S22, in response to the second touch operation performed on the target touch area, a target touch response position is determined from the plurality of touch response positions.
The target touch response position can be a touch response position currently selected by the player, and the gesture displayed by the virtual character in the current game scene is consistent with the gesture corresponding to the target touch response position. The second touch operation may be a sliding or clicking touch operation on the target touch area, so that the target touch response position may be in a selected state.
Optionally, the target touch area includes: the touch control device comprises a virtual sliding bar and a virtual sliding block, wherein a plurality of touch control response positions are sequentially arranged along the virtual sliding bar, and the display position of the virtual sliding block and the position of the touch control point of the second touch control operation are synchronously changed.
The display position of the virtual slider is a pressing position of a finger of the player in the target touch area, and the second touch operation may be a sliding operation on the virtual slider, so that the display position of the virtual slider changes synchronously at a plurality of touch response positions along with the sliding operation of the player.
Fig. 5 is a schematic diagram of a target touch area according to an alternative embodiment of the present invention, as shown in fig. 5, a game scene 501 displays a virtual character in a game, a player generates the target touch area through a first touch operation, the target touch area includes a virtual slider 502 and a virtual slider 503, the virtual slider 502 may be a straight line that is aligned with a vertical direction of the game scene, and a plurality of touch response positions 504, that is, five black dots arranged in sequence in fig. 5, are arranged on the virtual slider 502. The position of the player's finger pressed on virtual slider 502 with a visible virtual slider 503, i.e., the circular shaded area of fig. 5 where the finger is pressed, may indicate the touch response position currently selected by the player, and the player may perform an upward or downward sliding operation on virtual slider 502 to cause virtual slider 503 to be displayed at a different touch response position. For example, as shown in fig. 5, if the display position of the virtual slider 503 is a touch response position corresponding to a half kneeling posture (i.e., a target touch response position), the current virtual character is displayed as a half kneeling posture.
Fig. 6 is a schematic diagram of a target touch area according to an alternative embodiment of the present invention, as shown in fig. 6, a game scene 601 displays a virtual character in a game, a player generates the target touch area through a first touch operation, the target touch area includes a virtual slider 603 and a virtual slider 602, the virtual slider 603 may be in a circular ring shape, and a plurality of touch response positions 604 are sequentially arranged on the circular virtual slider 603, that is, five black dots are sequentially arranged in a circular shape in fig. 6. The position of the player's finger pressed on the virtual slider 603 has a visible virtual slider 602, i.e. the circle shaded area pressed by the finger in fig. 5 can indicate the current target touch response position, and the player can perform a clockwise or counterclockwise sliding operation on the virtual slider 603 to cause the virtual slider 602 to be displayed at a different touch response position.
It should be noted that the display forms of the virtual slider bar and the virtual slider can be various forms, and are not limited to the display forms illustrated in fig. 5 and 6.
Optionally, when the virtual slider slides in the virtual slider bar along a first direction, the different postures corresponding to the multiple touch response positions are changed from the erect posture to the creeping posture, and when the virtual slider slides in the virtual slider bar along a second direction, the different postures corresponding to the multiple touch response positions are changed from the creeping posture to the erect posture, wherein the first direction and the second direction are opposite directions.
The first direction and the second direction may be determined according to a specific display form of the virtual slider on the virtual slider, for example, as shown in fig. 5, the virtual slider 502 may be a straight line that is consistent with a vertical direction of the game scene, the first direction may be a top-down direction corresponding to the game scene, and the second direction may be a bottom-up direction; the first direction may also be a bottom-up direction, and the corresponding second direction may be a top-down direction. As shown in fig. 6, the virtual slider 603 may be a circular ring, and a plurality of touch response positions 604 are sequentially arranged on the circular virtual slider 603, so that the first direction may be a clockwise direction, and the corresponding second direction may be a counterclockwise direction; the first direction may also be a counterclockwise direction, the corresponding second direction is a clockwise direction, fig. 7 is a schematic diagram of posture switching according to an alternative embodiment of the present invention, as shown in fig. 7, when the player controls the virtual slider to slide in the virtual slider in the counterclockwise direction, the virtual character may be converted from the upright posture to the creeping posture through a plurality of transition postures (such as the half-kneeling posture shown in fig. 6), and when the player controls the virtual slider to slide in the virtual slider in the clockwise direction, the virtual character may be converted from the creeping posture to the upright posture through a plurality of transition postures.
The first direction and the second direction may be the same as the direction of the posture change of the virtual character, fig. 8 is a schematic diagram of posture change along the second direction according to an alternative embodiment of the present invention, as shown in fig. 8, postures corresponding to the multiple touch response positions may be a creeping posture, multiple transition postures, and an upright posture in sequence from bottom to top, the uppermost touch response position corresponds to the upright posture, and the second direction may be a bottom to top direction, when the player finger controls the virtual slider to slide in the virtual slider bar along the bottom to top direction, the virtual character may be changed from the creeping posture to the upright posture through the multiple transition postures, for example, from the half-kneeling posture shown in fig. 5 to the upright posture shown in fig. 8. FIG. 9 is a schematic diagram of a pose transition in a first direction according to an alternative embodiment of the present invention, as shown in FIG. 9, the first direction may be a top-down direction, and the virtual character changes from an upright pose through a plurality of transition poses to a crawl pose, such as from the upright pose shown in FIG. 8 to a semi-kneeling pose shown in FIG. 5, and then to the crawl pose shown in FIG. 9, when the player's fingers control the virtual slider to slide within the virtual slider bar in the top-down direction.
Through setting up in first direction and the second direction that virtual character gesture direction of change is unanimous for the player passes through the sliding operation of virtual slider when adjusting virtual character gesture, virtual character can show the gesture unanimous with target touch response position in real time in the game scene, and the operation logic more accords with player's cognition (for example from bottom to top sliding operation, virtual character corresponds changes from creeping the gesture to upright gesture), reduces player's maloperation rate, and owing to increased at least one transition gesture, virtual character's gesture changes more smoothly nature.
In an alternative implementation, the step S22, determining the target touch response position from the plurality of touch response positions in response to the second touch operation performed on the target touch area, may include the steps of:
step S221, in response to the second touch operation performed on the virtual slider, obtains a current position of the virtual slider on the virtual slider.
As shown in fig. 8, the second touch operation may be a bottom-up sliding operation on the virtual slider, the virtual slider coincides with a position where the player finger touches, and the resting position of the player finger may include a touch response position and a position on the virtual slider between adjacent touch response positions.
In step S222, a target touch response position corresponding to the current staying position is determined from the plurality of touch response positions.
When the current stopping position of the finger of the player is located at any one of the touch response positions, the touch response position is determined to be the target touch response position. As shown in fig. 8, when the virtual slider slides and stays at the touch response position corresponding to the upright posture, it may be determined that the target touch response position is the touch response position corresponding to the upright posture, and the upright posture icon is displayed on the left side of the touch response position corresponding to the upright posture. As shown in fig. 9, when the virtual slider slides from top to bottom and stays at the corresponding touch response position of the creeping gesture, it is determined that the target touch response position is the touch response position corresponding to the creeping gesture, and a creeping gesture icon is displayed on the left side of the touch response position corresponding to the creeping gesture.
In an optional embodiment, after determining the target touch response position from the plurality of touch response positions in response to the second touch operation performed on the target touch area, the method further includes: and displaying a second gesture icon corresponding to the target touch response position at the position associated with the target touch response position.
The associated position of the target touch response position may be an arbitrary area near the target touch response position to prompt the player of the gesture corresponding to the target touch response position, for example, the associated position may be the left side, the right side, or the like of the target touch response position. For example, as shown in fig. 5, the target touch area includes a virtual slider 502 and a virtual slider 503, the virtual slider 502 may be a straight line that coincides with the vertical direction of the game scene, when the target touch response position is a touch response position corresponding to a kneeling posture, the second posture icon is a kneeling posture icon, the associated position may be the left side of the target touch response position, and the icon corresponding to the kneeling posture may be displayed on the left side of the touch response position corresponding to the kneeling posture. As shown in fig. 6, when the virtual slide bar 603 is a circular ring, the associated position may be outside the target touch response position on the virtual slide bar 603, that is, an icon of the corresponding kneeling position may be displayed outside the touch response position corresponding to the kneeling position.
Optionally, the player performs a second touch operation on the target touch area, before the finger leaves the final target touch response position, the multiple touch response positions in the adjustment process may be sequentially used as the target touch response positions, and a corresponding second gesture icon is displayed at a position associated with the currently selected target touch response position, so as to indicate a gesture corresponding to the target touch response position selected by the current touch operation in real time.
For example, when the player needs to adjust the virtual character from the creeping posture to the upright posture, as shown in fig. 8, the postures corresponding to the multiple touch response positions may be, from bottom to top, a creeping posture, multiple transition postures, and an upright posture, the touch response position corresponding to the uppermost upright posture is the final target touch response position, when the player's finger controls the virtual slider to slide in the virtual sliding bar from bottom to top, the finger sequentially passes through the touch response position corresponding to the creeping posture, the touch response positions corresponding to the multiple transition postures, and the touch response position corresponding to the upright posture, the multiple touch response positions in the above adjustment process may be sequentially used as the target touch response positions, and accordingly, as shown in fig. 9, when the finger is located at the touch response position corresponding to the creeping posture, the posture icon corresponding to the creeping posture is displayed on the left side of the touch response position, other gesture icons are not displayed; as shown in fig. 5, when the finger slides to the touch response position corresponding to the semi-kneeling posture, the posture icon corresponding to the semi-kneeling posture is displayed on the left side of the touch response position, and the posture icon corresponding to the creeping posture is not displayed any more; as shown in fig. 8, when the finger slides to the touch response position corresponding to the upright posture, the posture icon corresponding to the upright posture is displayed on the left side of the touch response position, and the posture icon corresponding to the kneeling posture is not displayed.
Alternatively, after the virtual slider and virtual slider are generated in the game scene, the original first-pose icon may be hidden from display, a plurality of gesture icons corresponding to a plurality of touch response positions can be displayed in the target touch area at the same time, or a reduced gesture icon can be displayed only at the relevant position of the target touch response position, for example, as shown in FIG. 4, after the player presses the first gesture icon (i.e., the kneeling gesture icon) 302 with a finger, virtual slider 502 and virtual slider 503 are generated as shown in fig. 5, the original first-pose icon will no longer be displayed, instead, a reduced half-kneeling posture icon is displayed on the left side of the touch response position corresponding to the half-kneeling posture where the virtual slider 503 is located, and when the display position of the virtual slider and the touch point position of the second touch operation change synchronously, the reduced posture icon changes synchronously with the touch response position.
In an alternative embodiment, generating the target touch area comprises: and determining the position of the target touch area according to the current posture of the virtual character in the game scene, so that the touch response position corresponding to the current posture is located at the position of the posture adjustment control.
Specifically, the position of the posture adjustment control can be consistent with the current posture of the virtual character in the game scene, and since the touch response positions corresponding to different postures are located at different positions in the target touch area, the position of the target touch area can be determined according to the current posture of the virtual character in the game scene, so that the position of the posture adjustment control is consistent with the touch response position corresponding to the current posture. For example, as shown in fig. 4, when the current posture of the virtual character in the game scene is a kneeling posture, the posture adjustment control includes a first posture icon of the kneeling posture, as shown in fig. 5, the touch response position corresponding to the kneeling posture is located in the middle of the generated target touch area, and the position where the posture adjustment control is located should be consistent with the touch response position corresponding to the kneeling posture in the generated target touch area; as shown in fig. 9, when the current posture of the virtual character in the game scene is a creeping posture, the touch response position corresponding to the creeping posture is located at the lowest position of the target touch area, and the position of the posture adjustment control is consistent with the touch response position corresponding to the creeping posture in the generated target touch area. In an optional embodiment, the target touch area includes: the virtual wheel disc, wherein the posture adjustment control is located in the center area of the virtual wheel disc, and the plurality of touch response positions are sequentially arranged around the posture adjustment control in the virtual wheel disc.
Fig. 10 is a schematic diagram of a virtual wheel according to an alternative embodiment of the present invention, and as shown in fig. 10, a plurality of touch response positions 1002 are sequentially arranged around a gesture adjustment control in a virtual wheel 1001, so that the plurality of touch response positions are arranged in a circular ring shape.
Optionally, in step S22, in response to the second touch operation performed on the target touch area, determining the target touch response position from the plurality of touch response positions may include the following steps:
in step S223, a corresponding gesture icon is displayed at each of the plurality of touch response positions.
As shown in fig. 10, the plurality of touch response positions 1002 are arranged in a ring shape sequentially around the gesture adjustment control, and each touch response position displays a corresponding gesture icon, for example, 3 touch response positions in fig. 10 respectively display gesture icons corresponding to an upright gesture, a creeping gesture, and a semi-kneeling gesture.
Step S224, responding to a second touch operation executed on the virtual wheel disc, and acquiring a current posture icon corresponding to a touch point of the second touch operation on the virtual wheel disc; and determining a target touch response position corresponding to the current gesture icon from the plurality of touch response positions.
The second touch operation may be a sliding operation at a plurality of touch response positions of the virtual wheel, for example, the second touch operation may be a player finger pressing on a gesture adjustment control located in a center region of the virtual wheel (i.e., a black circle center at the center of the virtual wheel in fig. 10) and sliding to any one of a plurality of touch response positions located around, and taking the touch response position at the current finger pressing position as a target touch response position. The second touch operation may also be a clockwise or counterclockwise sliding operation of the multiple touch response positions 1002 on the virtual wheel, the touch response position where the touch point where the finger is located is the target touch response position, and the current posture icon displayed on the target touch response position is consistent with the posture of the virtual character.
Step S23, when it is detected that the second touch operation disappears at the target touch response position, displaying a second posture icon corresponding to the target touch response position in the posture adjustment control, and adjusting the virtual character from the current posture to the target posture corresponding to the second posture icon.
The second touch operation disappears at the target touch response position, and the player can leave the graphical user interface after the target touch response position is selected by the player finger through the second touch operation.
The second gesture icon is a gesture icon corresponding to the target touch response position, that is, a target gesture that the player needs to make the virtual character execute. When the player needs to adjust the posture of the virtual character again after the posture adjustment is completed, the current second posture icon may be used as the first posture icon, and the posture of the virtual character may be adjusted according to steps S20-S23.
For example, as shown in fig. 3, the virtual character in the current game scene 301 is shown in a semi-kneeling posture, a first posture icon 302 of the posture adjustment control is displayed on the right side of the game scene 301, the first posture icon 302 is an icon corresponding to the semi-kneeling posture, after the player generates a target touch area including the virtual slide bar and the virtual slider through the first touch operation, as shown in fig. 9, the player controls the virtual slider to slide from top to bottom to make the virtual slider stay at a target touch response position corresponding to the creeping posture, and the player leaves the finger from the graphical user interface to make the second touch operation disappear at the target touch response position. Fig. 11 is a schematic diagram of a second pose icon corresponding to the target touch response position according to an alternative embodiment of the present invention, and as shown in fig. 11, when it is detected that the second touch operation disappears at the target touch response position corresponding to the creeping gesture, the pose adjustment control displays the second pose icon 1102 corresponding to the creeping gesture, and accordingly, the pose of the virtual character in the game scene 1101 is adjusted to the creeping gesture.
Alternatively, display effects (such as black dots shown in fig. 5), virtual sliders and the like corresponding to the multiple touch response positions in the target touch area may be displayed in the interface only when the first touch operation or the second touch operation is detected, and after the first touch operation or the second touch operation is not detected and the second touch operation disappears at the target touch response position, the display effects may be hidden, and only the gesture icon corresponding to the current gesture of the virtual character is displayed in the game scene, so as to reduce the occlusion of the game scene.
Through the steps, a first posture icon is displayed in the posture adjustment control, a target touch area is generated in response to a first touch operation executed on the posture adjustment control, a target touch response position is determined from a plurality of touch response positions in response to a second touch operation executed on the target touch area, when the second touch operation is detected to disappear at the target touch response position, a second posture icon corresponding to the target touch response position is displayed in the posture adjustment control, the virtual character is adjusted from the current posture to the target posture corresponding to the second posture icon, the adjustment among a plurality of postures of the virtual character can be realized through one control, the shielding of the independent controls on a game scene is avoided, the virtual character can show the corresponding posture in real time through the touch operation on the posture adjustment control, the operation is simple, and the problem that the control on different body postures is realized by adopting the independent controls in the related technology is solved, leading to the technical problems of game picture shielding and large operation difficulty.
In addition, in this embodiment, when a new gesture is added, only the number of touch response positions of the gesture adjustment control needs to be increased, and a new gesture control does not need to be separately developed, so that the extension of the new gesture is easier to realize, and the space development cost in the new gesture is reduced.
In this embodiment, a posture adjustment device for a virtual character is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device is omitted for brevity. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 12 is a block diagram of an apparatus for pose adjustment of a virtual character according to an embodiment of the present invention, in which an electronic device provides a graphical user interface that displays content at least partially including a game scene and a pose adjustment control, as shown in fig. 12, the apparatus includes:
a display module 1201, configured to display a first posture icon within the posture adjustment control, where the first posture icon is used to indicate a current posture of the virtual character in the game scene; a generating module 1202, configured to generate a target touch area in response to a first touch operation performed on the gesture adjustment control, where the target touch area includes: the touch control system comprises a plurality of touch control response positions, wherein each touch control response position in the plurality of touch control response positions corresponds to a different gesture; a determining module 1203, configured to determine a target touch response position from the multiple touch response positions in response to a second touch operation performed on the target touch area; an adjusting module 1204, configured to display a second posture icon corresponding to the target touch response position in the posture adjustment control when it is detected that the second touch operation disappears at the target touch response position, and adjust the virtual character from the current posture to the target posture corresponding to the second posture icon.
Optionally, the different gestures corresponding to the multiple touch response positions include: an upright pose, a creeping pose, and at least one transitional pose that changes from the upright pose to the creeping pose.
Optionally, the target touch area includes: the touch control device comprises a virtual sliding bar and a virtual sliding block, wherein a plurality of touch control response positions are sequentially arranged along the virtual sliding bar, and the display position of the virtual sliding block and the position of the touch control point of the second touch control operation are synchronously changed.
Optionally, the apparatus further comprises: and the second gesture icon display module is used for displaying a second gesture icon corresponding to the target touch response position at a position associated with the target touch response position after the target touch response position is determined from the plurality of touch response positions in response to a second touch operation executed on the target touch area.
Optionally, the generating module includes: and the position adjusting submodule is used for determining the position of the target touch area according to the current posture of the virtual character in the game scene so as to enable the touch response position corresponding to the current posture to be located at the position of the posture adjusting control.
Optionally, the determining module is further configured to transition different postures corresponding to the multiple touch response positions from the erect posture to the creeping posture when the virtual slider slides in the virtual slider in a first direction, and transition different postures corresponding to the multiple touch response positions from the creeping posture to the erect posture when the virtual slider slides in a second direction in the virtual slider, where the first direction and the second direction are opposite directions.
Optionally, the determining module includes: the stopping position obtaining submodule is used for responding to second touch operation executed on the virtual sliding bar and obtaining the current stopping position of the virtual sliding block on the virtual sliding bar; and the response position determining submodule is used for determining a target touch response position corresponding to the current stopping position from the plurality of touch response positions.
Optionally, the target touch area includes: the virtual wheel disc, wherein the posture adjustment control is located in the center area of the virtual wheel disc, and the plurality of touch response positions are sequentially arranged around the posture adjustment control in the virtual wheel disc.
Optionally, the determining module includes: the icon display sub-module is used for respectively displaying a corresponding gesture icon at each touch response position in the plurality of touch response positions; the icon acquisition submodule is used for responding to a second touch operation executed on the virtual wheel disc and acquiring a current posture icon corresponding to a touch point of the second touch operation on the virtual wheel disc; and the response position determining submodule is used for determining a target touch response position corresponding to the current gesture icon from the multiple touch response positions.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned nonvolatile storage medium may be configured to store a computer program for executing the steps of:
and step S1, displaying a first posture icon in the posture adjustment control, wherein the first posture icon is used for indicating the current posture of the virtual character in the game scene.
Step S2, generating a target touch area in response to the first touch operation performed on the gesture adjustment control, where the target touch area includes: and each touch response position in the touch response positions corresponds to a different gesture respectively.
In step S3, in response to the second touch operation performed on the target touch area, a target touch response position is determined from the plurality of touch response positions.
Step S4, when it is detected that the second touch operation disappears at the target touch response position, displaying a second posture icon corresponding to the target touch response position in the posture adjustment control, and adjusting the virtual character from the current posture to the target posture corresponding to the second posture icon.
Optionally, in this embodiment, the nonvolatile storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
and step S1, displaying a first posture icon in the posture adjustment control, wherein the first posture icon is used for indicating the current posture of the virtual character in the game scene.
Step S2, generating a target touch area in response to the first touch operation performed on the gesture adjustment control, where the target touch area includes: and each touch response position in the touch response positions corresponds to a different gesture respectively.
In step S3, in response to the second touch operation performed on the target touch area, a target touch response position is determined from the plurality of touch response positions.
Step S4, when it is detected that the second touch operation disappears at the target touch response position, displaying a second posture icon corresponding to the target touch response position in the posture adjustment control, and adjusting the virtual character from the current posture to the target posture corresponding to the second posture icon.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple 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 through some interfaces, units or modules, and may be in an electrical 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 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 of the present invention 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit 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 invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing 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 according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (13)

1. A method for adjusting the posture of a virtual character is characterized in that a graphical user interface is provided through an electronic device, the content displayed by the graphical user interface at least partially comprises a game scene and a posture adjustment control, and the method for adjusting the posture of the virtual character comprises the following steps:
displaying a first gesture icon within the gesture adjustment control, wherein the first gesture icon is used for indicating the current gesture of the virtual character in the game scene;
responding to a first touch operation executed on the posture adjustment control, and generating a target touch area, wherein the target touch area comprises: a plurality of touch response positions, each of the plurality of touch response positions corresponding to a different gesture respectively;
determining a target touch response position from the plurality of touch response positions in response to a second touch operation performed on the target touch area;
when the second touch operation is detected to disappear at the target touch response position, displaying a second posture icon corresponding to the target touch response position in the posture adjustment control, and adjusting the virtual character from the current posture to a target posture corresponding to the second posture icon.
2. The method of claim 1, wherein the different gestures corresponding to the touch response positions comprise: an upright pose, a creeping pose, and at least one transitional pose that changes from the upright pose to the creeping pose.
3. The method of adjusting the pose of a virtual character according to claim 1, wherein the target touch area comprises: the touch control system comprises a virtual sliding bar and a virtual sliding block, wherein the touch control response positions are sequentially arranged along the virtual sliding bar, and the display position of the virtual sliding block and the touch control point position of the second touch control operation are synchronously changed.
4. The method of adjusting the pose of the virtual character according to any one of claims 1 to 3, wherein after determining the target touch response position from the plurality of touch response positions in response to the second touch operation performed on the target touch area, the method further comprises:
and displaying a second gesture icon corresponding to the target touch response position at the position associated with the target touch response position.
5. The method of adjusting the pose of a virtual character according to claim 1, wherein generating the target touch area comprises:
and determining the position of the target touch area according to the current posture of the virtual character in the game scene, so that the touch response position corresponding to the current posture is positioned at the position of the posture adjusting control.
6. The pose adjustment method of a virtual character according to claim 3, wherein the different poses corresponding to the plurality of touch response positions transition from an upright pose to a creeping pose when the virtual slider slides in a first direction within the virtual slider bar, and the different poses corresponding to the plurality of touch response positions transition from a creeping pose to an upright pose when the virtual slider slides in a second direction within the virtual slider bar, wherein the first direction and the second direction are opposite directions.
7. The method of claim 3, wherein determining the target touch response position from the plurality of touch response positions in response to the second touch operation performed on the target touch area comprises:
responding to the second touch operation executed on the virtual sliding bar, and acquiring the current stopping position of the virtual slider on the virtual sliding bar;
and determining the target touch response position corresponding to the current stopping position from the plurality of touch response positions.
8. The method of adjusting the pose of a virtual character according to claim 1, wherein the target touch area comprises: the virtual wheel disc, wherein the posture adjustment control is located in the center area of the virtual wheel disc, and the plurality of touch response positions are arranged in the virtual wheel disc in sequence around the posture adjustment control.
9. The method of claim 8, wherein determining the target touch response position from the plurality of touch response positions in response to the second touch operation performed on the target touch area comprises:
displaying a corresponding gesture icon at each touch response position in the plurality of touch response positions respectively;
responding to the second touch operation executed on the virtual wheel, and acquiring a current gesture icon corresponding to a touch point of the second touch operation on the virtual wheel;
determining the target touch response position corresponding to the current gesture icon from the plurality of touch response positions.
10. An apparatus for adjusting the pose of a virtual character, wherein an electronic device provides a graphical user interface, the graphical user interface displaying content at least partially including a game scene and a pose adjustment control, the apparatus comprising:
a display module configured to display a first gesture icon within the gesture adjustment control, wherein the first gesture icon is used to indicate a current gesture of a virtual character in the game scene;
a generating module, configured to generate a target touch area in response to a first touch operation performed on the gesture adjustment control, where the target touch area includes: a plurality of touch response positions, each of the plurality of touch response positions corresponding to a different gesture respectively;
a determining module, configured to determine a target touch response position from the multiple touch response positions in response to a second touch operation performed on the target touch area;
and the adjusting module is used for displaying a second posture icon corresponding to the target touch response position in the posture adjusting control when the second touch operation is detected to disappear at the target touch response position, and adjusting the virtual character from the current posture to the target posture corresponding to the second posture icon.
11. A non-volatile storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the method for pose adjustment of a virtual character according to any one of claims 1 to 9 when running.
12. A processor, characterized in that the processor is configured to execute a program, wherein the program is configured to execute the method for pose adjustment of a virtual character according to any one of claims 1 to 9 when executed.
13. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the method of pose adjustment of a virtual character according to any one of claims 1 to 9.
CN202110592891.4A 2021-05-28 2021-05-28 Virtual character posture adjusting method and device, processor and electronic device Pending CN113318430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110592891.4A CN113318430A (en) 2021-05-28 2021-05-28 Virtual character posture adjusting method and device, processor and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110592891.4A CN113318430A (en) 2021-05-28 2021-05-28 Virtual character posture adjusting method and device, processor and electronic device

Publications (1)

Publication Number Publication Date
CN113318430A true CN113318430A (en) 2021-08-31

Family

ID=77422315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110592891.4A Pending CN113318430A (en) 2021-05-28 2021-05-28 Virtual character posture adjusting method and device, processor and electronic device

Country Status (1)

Country Link
CN (1) CN113318430A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900516A (en) * 2021-09-27 2022-01-07 阿里巴巴达摩院(杭州)科技有限公司 Data processing method and device, electronic equipment and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130275868A1 (en) * 2012-04-12 2013-10-17 Supercell Oy System, method and graphical user interface for controlling a game
CN104898953A (en) * 2015-06-16 2015-09-09 深圳市腾讯计算机系统有限公司 Touch screen based control method and device
CN105094346A (en) * 2015-09-29 2015-11-25 腾讯科技(深圳)有限公司 Information processing method, terminal and computer storage medium
CN107479749A (en) * 2017-08-08 2017-12-15 腾讯科技(成都)有限公司 Control method and device, mobile terminal and readable storage medium storing program for executing based on touch screen
CN109350964A (en) * 2018-09-28 2019-02-19 腾讯科技(深圳)有限公司 Control method, apparatus, equipment and the storage medium of virtual role
US20190091561A1 (en) * 2017-09-26 2019-03-28 Netease (Hangzhou) Network Co.,Ltd. Method and apparatus for controlling virtual character, electronic device, and storage medium
CN110141869A (en) * 2019-04-11 2019-08-20 腾讯科技(深圳)有限公司 Method of controlling operation thereof, device, electronic equipment and storage medium
CN110215691A (en) * 2019-07-17 2019-09-10 网易(杭州)网络有限公司 The control method for movement and device of virtual role in a kind of game
CN110270086A (en) * 2019-07-17 2019-09-24 网易(杭州)网络有限公司 The control method for movement and device of virtual role in a kind of game
CN110523085A (en) * 2019-08-30 2019-12-03 腾讯科技(深圳)有限公司 Control method, device, terminal and the storage medium of virtual objects
CN111111190A (en) * 2019-12-17 2020-05-08 网易(杭州)网络有限公司 Interaction method and device for virtual characters in game and touch terminal
CN111632380A (en) * 2020-05-28 2020-09-08 腾讯科技(深圳)有限公司 Virtual attitude switching method and device, storage medium and electronic device
CN112245918A (en) * 2020-11-13 2021-01-22 腾讯科技(深圳)有限公司 Control method and device of virtual role, storage medium and electronic equipment
CN112402959A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and computer readable storage medium
CN112402949A (en) * 2020-12-04 2021-02-26 腾讯科技(深圳)有限公司 Skill release method and device for virtual object, terminal and storage medium
CN112402960A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 State switching method, device, equipment and storage medium in virtual scene

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130275868A1 (en) * 2012-04-12 2013-10-17 Supercell Oy System, method and graphical user interface for controlling a game
CN104898953A (en) * 2015-06-16 2015-09-09 深圳市腾讯计算机系统有限公司 Touch screen based control method and device
CN105094346A (en) * 2015-09-29 2015-11-25 腾讯科技(深圳)有限公司 Information processing method, terminal and computer storage medium
CN107479749A (en) * 2017-08-08 2017-12-15 腾讯科技(成都)有限公司 Control method and device, mobile terminal and readable storage medium storing program for executing based on touch screen
US20190091561A1 (en) * 2017-09-26 2019-03-28 Netease (Hangzhou) Network Co.,Ltd. Method and apparatus for controlling virtual character, electronic device, and storage medium
CN109350964A (en) * 2018-09-28 2019-02-19 腾讯科技(深圳)有限公司 Control method, apparatus, equipment and the storage medium of virtual role
CN110141869A (en) * 2019-04-11 2019-08-20 腾讯科技(深圳)有限公司 Method of controlling operation thereof, device, electronic equipment and storage medium
CN110270086A (en) * 2019-07-17 2019-09-24 网易(杭州)网络有限公司 The control method for movement and device of virtual role in a kind of game
CN110215691A (en) * 2019-07-17 2019-09-10 网易(杭州)网络有限公司 The control method for movement and device of virtual role in a kind of game
CN110523085A (en) * 2019-08-30 2019-12-03 腾讯科技(深圳)有限公司 Control method, device, terminal and the storage medium of virtual objects
CN111111190A (en) * 2019-12-17 2020-05-08 网易(杭州)网络有限公司 Interaction method and device for virtual characters in game and touch terminal
CN111632380A (en) * 2020-05-28 2020-09-08 腾讯科技(深圳)有限公司 Virtual attitude switching method and device, storage medium and electronic device
CN112245918A (en) * 2020-11-13 2021-01-22 腾讯科技(深圳)有限公司 Control method and device of virtual role, storage medium and electronic equipment
CN112402959A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and computer readable storage medium
CN112402960A (en) * 2020-11-19 2021-02-26 腾讯科技(深圳)有限公司 State switching method, device, equipment and storage medium in virtual scene
CN112402949A (en) * 2020-12-04 2021-02-26 腾讯科技(深圳)有限公司 Skill release method and device for virtual object, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900516A (en) * 2021-09-27 2022-01-07 阿里巴巴达摩院(杭州)科技有限公司 Data processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105233496B (en) For controlling the system, method and graphic user interface of game
EP2908231A1 (en) Object suspension realizing method and device
CN106445157B (en) Method and device for adjusting picture display direction
CN105556423A (en) Systems and methods for pressure-based haptic effects
CN106445956B (en) Shopping data management method and device
CN113908550A (en) Virtual character control method, nonvolatile storage medium, and electronic apparatus
CN111389003B (en) Game role control method, device, equipment and computer readable storage medium
US20130241944A1 (en) Electronic Device and Display Control Method Thereof
US20230241499A1 (en) Position adjustment method and apparatus for operation control, terminal, and storage medium
CN111228790B (en) Game role display control method and device, electronic equipment and computer medium
CN113440848B (en) In-game information marking method and device and electronic device
CN114653059A (en) Method and device for controlling virtual character in game and non-volatile storage medium
CN113318430A (en) Virtual character posture adjusting method and device, processor and electronic device
CN102346762A (en) Information processing device, information display method, and computer program
CN113318428A (en) Game display control method, non-volatile storage medium, and electronic device
CN113262472A (en) Processing method and device of option control, processor and electronic device
CN113590013B (en) Virtual resource processing method, nonvolatile storage medium and electronic device
CN113318429B (en) Control method and device for exiting game, processor and electronic device
CN114504808A (en) Information processing method, information processing apparatus, storage medium, processor, and electronic apparatus
CN115105831A (en) Virtual object switching method and device, storage medium and electronic device
CN113440835A (en) Control method and device of virtual unit, processor and electronic device
CN103793053A (en) Gesture projection method and device for mobile terminals
CN111522429A (en) Interaction method and device based on human body posture and computer equipment
CN104036133A (en) Chess game system
CN110947180A (en) Information processing method and device in game

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