CN114011062A - Information processing method, information processing device, electronic equipment and storage medium - Google Patents

Information processing method, information processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114011062A
CN114011062A CN202111294709.3A CN202111294709A CN114011062A CN 114011062 A CN114011062 A CN 114011062A CN 202111294709 A CN202111294709 A CN 202111294709A CN 114011062 A CN114011062 A CN 114011062A
Authority
CN
China
Prior art keywords
control
posture
touch operation
virtual character
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.)
Pending
Application number
CN202111294709.3A
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 CN202111294709.3A priority Critical patent/CN114011062A/en
Publication of CN114011062A publication Critical patent/CN114011062A/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/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • 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
    • A63F2300/308Details of the user interface

Landscapes

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

Abstract

The application provides an information processing method, an information processing device, electronic equipment and a storage medium, and relates to the technical field of games. The method comprises the following steps: in response to a first touch operation on a mobile control on a graphical user interface, controlling a virtual character to move in a game scene in a first posture; responding to a second touch operation on the mobile control, and switching the mobile control into a posture switching control; by applying the method and the device, the virtual character is controlled to be switched from the first posture to the second posture in response to the sliding block being dragged to the second trigger area from the first trigger area, and the posture switching control is recovered to the mobile control.

Description

Information processing method, information processing device, electronic equipment and storage medium
Technical Field
The present application relates to the field of game technologies, and in particular, to an information processing method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of internet technology and the increasing entertainment culture demand of people, the development of games has entered a new era, and in order to realize the diversity of games, a plurality of button switches are often arranged in games to control target virtual characters to enter different game states.
Conventionally, when a virtual character is controlled in a game, switching of the posture of the virtual character and switching of the fighting state are generally realized by a plurality of buttons individually defined in a game interface.
However, the conventional information processing method is relatively simple, so that the conventional information processing method has the problem of low utilization rate of a game interface.
Disclosure of Invention
An object of the present invention is to provide an information processing method, an information processing apparatus, an electronic device, and a storage medium, which can improve the utilization rate of a game interface.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, the present invention provides an information processing method, which provides a graphical user interface through a terminal device, where the graphical user interface includes a virtual character in a game scene, and the virtual character is configured to be controlled by the terminal device, and the method includes:
in response to a first touch operation on a mobile control on the graphical user interface, controlling the virtual character to move in the game scene in a first posture;
responding to a second touch operation on the mobile control, and switching the mobile control into a posture switching control, wherein the posture switching control comprises a first trigger area, a second trigger area and a slider at the first trigger area, the first trigger area is used for triggering the virtual character to execute a first posture, and the second trigger area is used for triggering the virtual character to execute a second posture;
and in response to dragging the slider from the first trigger area to the second trigger area, controlling the virtual character to be switched from the first posture to the second posture, and restoring the posture switching control to be the mobile control.
In an optional embodiment, after switching the mobile control to the gesture switching control, the method further includes:
controlling the virtual character to continuously move in the game scene in a current motion state and the first posture, wherein the motion state at least comprises one of the following states: direction of movement, speed of movement, current orientation.
In an optional embodiment, after controlling the virtual character to switch from the first posture to the second posture and restoring the posture-switching control to the mobile control, the method further includes:
controlling the virtual character to keep the current motion state and the second posture to continue moving in the game scene until a third touch operation on the mobile control is received again, wherein the motion state determined by the third touch operation is different from the current motion state, and the motion state at least comprises one of the following: direction of movement, speed of movement, current orientation.
In an optional embodiment, the gesture switching control further comprises: a sliding track having one end at the first trigger region and another end at the second trigger region, the slider configured to be slidable on the sliding track.
In an alternative embodiment, the slider further comprises: and the prompt control is used for displaying the current posture of the virtual role.
In an optional embodiment, the movement control comprises a rocker control and a movement range auxiliary control, the rocker control is configured to move in an area corresponding to the movement range auxiliary control according to a control instruction of a movement touch operation, and simultaneously, the virtual character is controlled to move in the game scene according to a relative position of the rocker control and the movement range auxiliary control;
the step of switching the mobile control to a gesture switching control comprises: and switching a rocker control in the mobile control into a sliding block in the posture switching control.
In an optional embodiment, after the controlling the virtual character to switch from the first posture to the second posture and restoring the posture switching control to the mobile control in response to dragging the slider from the first trigger area to the second trigger area, the method further includes:
and responding to a third touch operation on the mobile control, and controlling the virtual character to move in the game scene in a motion state corresponding to the third touch operation in the second posture.
In an alternative embodiment, the method further comprises: and responding to the stop touch operation of the slider, and controlling the virtual character to be switched from the current posture to the default posture.
In an optional embodiment, the second touch operation is a continuous touch operation after the first touch operation, the first touch operation is a first dragging operation, and the second touch operation is a pressing operation.
In an optional embodiment, the third touch operation is a continuous touch operation after the second touch operation, and the third touch operation is a second drag operation.
In a second aspect, the present invention provides an information processing apparatus for providing a graphical user interface through a terminal device, the graphical user interface including a virtual character in a game scene, the virtual character being configured to be controlled by the terminal device, the information processing apparatus comprising:
the control module is used for responding to a first touch operation of a mobile control on the graphical user interface and controlling the virtual character to move in the game scene in a first posture;
the switching module is used for responding to a second touch operation on the mobile control and switching the mobile control into a posture switching control, and the posture switching control comprises a first trigger area, a second trigger area and a sliding block positioned at the first trigger area, wherein the first trigger area is used for triggering the virtual role to execute a first posture, and the second trigger area is used for triggering the virtual role to execute a second posture;
and the dragging module is used for controlling the virtual character to be switched from the first posture to the second posture in response to dragging the slider from the first trigger area to the second trigger area, and recovering the posture switching control to be the mobile control.
In an optional embodiment, the switching module is further configured to control the virtual character to continue moving in the game scene in a current motion state and the first posture, where the motion state includes at least one of: direction of movement, speed of movement, current orientation.
In an optional embodiment, the dragging module is further configured to control the virtual character to keep a current motion state and the second gesture moving continuously in the game scene until a third touch operation on the mobile control is received again, where a motion state determined by the third touch operation is different from the current motion state, and the motion state includes at least one of: direction of movement, speed of movement, current orientation.
In an optional embodiment, the gesture switching control further comprises: a sliding track having one end at the first trigger region and another end at the second trigger region, the slider configured to be slidable on the sliding track.
In an alternative embodiment, the slider further comprises: and the prompt control is used for displaying the current posture of the virtual role.
In an optional embodiment, the movement control comprises a rocker control and a movement range auxiliary control, the rocker control is configured to move in an area corresponding to the movement range auxiliary control according to a control instruction of a movement touch operation, and simultaneously, the virtual character is controlled to move in the game scene according to a relative position of the rocker control and the movement range auxiliary control; the switching module is specifically configured to switch a rocker control in the mobile control to a slider in the posture switching control.
In an optional embodiment, the dragging module is further configured to, in response to a third touch operation on the mobile control, control the virtual character to move in the game scene in the second posture in a motion state corresponding to the third touch operation.
In an optional embodiment, the switching module is further configured to control the virtual character to switch from the current posture to the default posture in response to a stop touch operation on the slider.
In an optional embodiment, the second touch operation is a continuous touch operation after the first touch operation, the first touch operation is a first dragging operation, and the second touch operation is a pressing operation.
In an optional embodiment, the third touch operation is a continuous touch operation after the second touch operation, and the third touch operation is a second drag operation.
In a third aspect, the present invention provides an electronic device comprising: the information processing method comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an electronic device runs, the processor is communicated with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the steps of the information processing method according to any one of the preceding implementation modes.
In a fourth aspect, the present invention provides a computer-readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the information processing method according to any one of the preceding embodiments.
The beneficial effect of this application is:
an information processing method, an information processing apparatus, an electronic device, and a storage medium, which are provided by an embodiment of the present application, may provide a graphical user interface through a terminal device, where the graphical user interface includes a virtual character in a game scene, and the virtual character is configured to be controlled by the terminal device, where the method includes: in response to a first touch operation on a mobile control on a graphical user interface, controlling a virtual character to move in a game scene in a first posture; responding to a second touch operation on the mobile control, and switching the mobile control into a posture switching control, wherein the posture switching control comprises a first trigger area, a second trigger area and a sliding block positioned at the first trigger area, the first trigger area is used for triggering the virtual role to execute a first posture, and the second trigger area is used for triggering the virtual role to execute a second posture; by applying the method and the device, the virtual character is controlled to be switched from the first posture to the second posture in response to the sliding block being dragged to the second trigger area from the first trigger area, and the posture switching control is recovered to the mobile control.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is an architecture diagram of a cloud interaction system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 6 is a schematic diagram of a movement control provided in an embodiment of the present application;
fig. 7 is a schematic functional block diagram of an information processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in 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 obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
When a player controls a virtual character in an existing game, the switching of the posture of the virtual character and the switching of the fighting state are generally realized through a plurality of buttons which are independently defined in a game interface. For example, the combat state of the virtual character can be switched by a plurality of independent posture switching controls in the right-hand area of the game, and the virtual character is controlled to move by the movement control in the left-hand area of the game, which can be seen as a result, a plurality of game controls need to reside in the game interface, and therefore, the existing information processing method has the problem of low utilization rate of the game interface.
In view of this, the present application provides an information processing method, which can improve the utilization rate of a game interface.
The information processing method in one embodiment of the present application may be executed on a terminal device or a server. The terminal device may be a local terminal device. When the information processing method is operated on a server, the information processing method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive system can comprise the server and a client device.
Fig. 1 is an architecture diagram of a cloud interaction system provided in an embodiment of the present application, and as shown in fig. 1, the system may include: a client device 10 and a server 20, wherein the client device 10 may be connected to the server 20 via a network 30.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and operation of the transmission method of the game role are completed on the cloud game server, and the client device 10 is used for receiving and sending data and presenting the game picture, for example, the client device 10 may be a display device with a data transmission function near the user side, such as a mobile terminal, a television, a computer, a palmtop computer, and the like; however, the terminal device performing the information processing is a cloud game server in the cloud. When a game is played, a player operates the client device 10 to transmit an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as a game screen and the like are encoded and compressed, the data are returned to the client device 10 through a network, and finally, the data are decoded by the client device 10 and the game screen is output.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
Fig. 2 is a flowchart of an information processing method according to an embodiment of the present application, where an execution subject of the method may be the terminal device or the server, and the method may provide a graphical user interface through the terminal device, where the graphical user interface may include virtual characters in a game scene, where the virtual characters are configured to be controllable through the terminal device, and optionally, the virtual characters may include one or more characters, which is not limited herein. As shown in fig. 2, the method includes:
s101, responding to a first touch operation of a mobile control on a graphical user interface, and controlling a virtual character to move in a game scene at a first posture.
In the game, a player can control the virtual character to move in the game scene through the movement control, optionally, the movement mode can include but is not limited to: walking, running, jumping, climbing, flying. In some embodiments, the player may generate a first touch operation by clicking, long-pressing, dragging, sliding, dragging, and the like on the mobile control based on the touch display screen, and in response to the first touch operation, the virtual character may be controlled to move in the game scene in the first posture. It can be understood that, since the posture of the player does not change at this time, the first posture, that is, the current posture of the player, may be any one of a squatting posture, a standing posture, a prone posture, a diving posture and the like according to an actual application scenario, and is not limited herein. Optionally, the movement indicated by the first touch control may be any one of walking, running, jumping, climbing, and flying, which is not limited herein.
And S102, responding to a second touch operation on the mobile control, and switching the mobile control into a posture switching control.
The gesture switching control comprises a first trigger area, a second trigger area and a slider located at the first trigger area, the first trigger area is used for triggering the virtual character to execute a first gesture, and the second trigger area is used for triggering the virtual character to execute a second gesture.
In some embodiments, if the posture of the virtual character needs to be controlled to change, optionally, the player may act on the mobile control by clicking, long-pressing, dragging, sliding, dragging, and the like based on the touch display screen to generate a second touch operation, and in response to the second touch operation, the mobile control may be switched to a posture switching control, and it can be understood that after the switching, the posture of the virtual character may be switched by using the posture switching control. The gesture switching control can comprise a first trigger area and a second trigger area, and a slider at the first trigger area, wherein the slider can move back and forth between the first trigger area and the second trigger area. During the specific triggering, optionally, if the control slider moves into the first trigger area, the virtual character may be triggered to execute the first gesture, and if the control slider moves into the second trigger area, the virtual character may be triggered to execute the second gesture, which of course, the specific triggering manner is not limited to this.
S103, in response to dragging the slider from the first trigger area to the second trigger area, the virtual character is controlled to be switched from the first posture to the second posture, and the posture switching control is recovered to be the mobile control.
Based on the above description, it can be seen that the virtual character currently moves in the game scene in the first posture, and if it is required to control the virtual character to switch from the first posture to the second posture, the slider may be controlled to drag from the first trigger area to the second trigger area, and in response to the dragging operation, the virtual character may be controlled to switch from the first posture corresponding to the first trigger area to the second posture corresponding to the second trigger area, so as to implement switching of the posture of the virtual character. Further, considering that the virtual character may need to be further controlled to move after the virtual character is controlled to perform posture switching, after the virtual character posture switching is completed, the posture switching control may be recovered to be the moving control, it can be understood that, referring to the foregoing process of controlling the virtual character to move, at this time, the virtual character may be controlled to move in the game scene in the second posture through the movement control, so as to implement seamless switching between the moving control and the posture switching control.
To sum up, an embodiment of the present application provides an information processing method, which may provide a graphical user interface through a terminal device, where the graphical user interface includes a virtual character in a game scene, and the virtual character is configured to be controlled through the terminal device, and the method includes: in response to a first touch operation on a mobile control on a graphical user interface, controlling a virtual character to move in a game scene in a first posture; responding to a second touch operation on the mobile control, and switching the mobile control into a posture switching control, wherein the posture switching control comprises a first trigger area, a second trigger area and a sliding block positioned at the first trigger area, the first trigger area is used for triggering the virtual role to execute a first posture, and the second trigger area is used for triggering the virtual role to execute a second posture; by applying the method and the device, the virtual character is controlled to be switched from the first posture to the second posture in response to the sliding block being dragged to the second trigger area from the first trigger area, and the posture switching control is recovered to the mobile control.
Fig. 3 is a schematic flowchart of another information processing method according to an embodiment of the present application. Optionally, as shown in fig. 3, after the moving control is switched to the posture switching control, the method further includes:
s201, controlling the virtual character to continuously move in the game scene in the current motion state and the first posture, wherein the motion state at least comprises one of the following states: direction of movement, speed of movement, current orientation.
In some embodiments, in order to avoid the problem that the virtual character cannot move due to the fact that the mobile control cannot be used after the mobile control is switched to the posture switching control, optionally, after the mobile control is switched to the posture switching control, the virtual character may be controlled to continue to move in the game scene in the current motion state and the first posture, that is, the virtual character may be controlled to keep the current motion state such as the current moving direction, the current moving speed, the current orientation, and the like to continue to move in the game scene in the first posture, and it can be understood that the current motion state is the motion state determined by the first touch operation. By applying the embodiment of the application, after the mobile control is switched to the posture switching control, the continuous movement of the virtual role can not be influenced, the interruption of the moving state of the virtual role is avoided, and the applicability of the application is improved.
Fig. 4 is a schematic flowchart of another information processing method according to an embodiment of the present application. Optionally, as shown in fig. 4, after controlling the virtual character to switch from the first posture to the second posture and restoring the posture switching control to the mobile control, the method further includes:
s301, controlling the virtual character to keep the current motion state and the second posture to continue moving in the game scene until a third touch operation on the mobile control is received again.
The motion state determined by the third touch operation is different from the current motion state, and the motion state at least comprises one of the following states: direction of movement, speed of movement, current orientation.
In some application scenarios, after the gesture switching control is restored to the mobile control, if the mobile control is not operated in time, the virtual character cannot move, so that after the gesture switching control is restored to the mobile control, the virtual character can be controlled to keep the current motion state and the second gesture to continue to move in the game scenario until a third touch operation on the mobile control is received again, optionally, the current motion state may refer to the motion state determined by the first touch operation, the motion state determined by the third touch operation is different from the current motion state, that is, the motion state of the virtual character can be switched by the third touch operation, for example, walking can be switched to running, flying, and the like, and the limitation is never made.
Specifically, if the third touch operation on the mobile control is not received, the virtual character may be controlled to keep the current motion state and the second posture to continue moving in the game scene, and if the third touch operation on the mobile control is received again, the virtual character is controlled to continue moving in the game scene in the motion state and the second posture corresponding to the third touch operation.
Optionally, the gesture switching control further includes: and one end of the sliding track is positioned in the first triggering area, the other end of the sliding track is positioned in the second triggering area, and the sliding block is configured to slide on the sliding track.
If the current posture of the virtual character is the first posture and the slider is located at one end corresponding to the first trigger area, the slider can be controlled to slide from the current end of the sliding track to the other end of the sliding track when the virtual character is controlled to be switched from the first posture to the second posture.
Optionally, the sliding track may be divided into an upper portion and a lower portion, wherein the upper portion may correspond to the first trigger region, and the lower portion may correspond to the second trigger region, and of course, the specific setting manner is not limited thereto, and may also be divided into a left half and a right half, and the left half may correspond to the first trigger region, and the right half may correspond to the second trigger region. In addition, it should be further noted that the number of the trigger regions in the gesture switching control is not limited herein, and the gesture switching control may include the first trigger region and the second trigger region as in the foregoing embodiment, and of course, according to an actual application scenario, other trigger regions may also be included, for example, a third trigger region, where the third trigger region is used to trigger the virtual character to execute the third gesture, and the setting may be flexible according to the actual application scenario. It can be understood that, according to the number of the trigger regions in the gesture switching control, the specific arrangement manner of the sliding track is not limited to the above embodiment.
Optionally, the slider further includes: and the prompt control is used for displaying the current posture of the virtual role.
In some embodiments, in order to enable the player to intuitively and quickly know the current posture of the virtual character and facilitate switching of the postures, optionally, a prompt control may be provided on the slider for displaying the current posture of the virtual character, and optionally, specifically, when displaying, the current posture may be displayed in a manner of matching an icon, a character, and the like, which is not limited herein.
Optionally, the movement control comprises a rocker control and a movement range auxiliary control, the rocker control is configured to move in an area corresponding to the movement range auxiliary control according to a control instruction of the movement touch operation, and meanwhile, the virtual character is controlled to move in the game scene according to the relative position of the rocker control and the movement range auxiliary control; the step of switching the mobile control to the posture switching control may include: and switching the rocker control in the mobile control into a sliding block in the attitude switching control.
Optionally, the rocker control and the movement range auxiliary control may be circular controls with the same center and different radii, and when the game device is moved specifically, the rocker control may move in the area corresponding to the movement range auxiliary control according to a control instruction corresponding to a movement touch operation (e.g., the first touch operation), and control the virtual character to move in the game scene according to the relative position of the rocker control and the movement range auxiliary control, that is, the movement of the virtual character in the game scene may be controlled by controlling the rocker control to move in the area corresponding to the movement range auxiliary control. Optionally, during the specific control, the virtual character may be controlled to move in the game scene according to the relative position between the center position of the rocker control and the center position of the movement range auxiliary control, for example, if the center position of the rocker control is above left with respect to the center position of the movement range auxiliary control, the virtual character may be controlled to move towards the upper left corner in the game scene, and of course, the specific control manner is not limited thereto.
As can be seen from the foregoing description, the mobile control may be switched to a posture switching control to have a function of controlling the virtual character to perform posture switching, and optionally, if the mobile control is switched to the posture switching control, the rocker control in the mobile control may be switched to the slider in the posture switching control.
Optionally, when the movement control includes a rocker control and a movement range auxiliary control, the movement direction of the virtual character may be determined by a drag direction of the player acting on the rocker control, the movement speed of the virtual character may be determined by a drag amplitude of the player acting on the player, and the current orientation of the virtual character may be determined according to a direction of a preset reference position in the rocker control, and of course, the specific setting manner is not limited thereto.
Fig. 5 is a schematic flowchart of another information processing method according to an embodiment of the present application. Optionally, as shown in fig. 5, after controlling the virtual character to switch from the first posture to the second posture and restoring the posture switching control to the moving control in response to dragging the slider from the first trigger area to the second trigger area, the method further includes:
s401, responding to a third touch operation on the mobile control, and controlling the virtual character to move in a game scene in a motion state corresponding to the third touch operation in a second posture.
In some embodiments, after the virtual character is controlled to switch from the first posture to the second posture and the posture switching control is restored to the mobile control, the virtual character may be controlled to move in a motion state corresponding to the second posture and the third touch operation based on the fact that the touch screen acts on the mobile control in a manner of clicking, long-pressing, sliding, dragging, and the like, that is, the current motion state of the virtual character may be switched through the third touch operation. For example, before the current switching, the current motion state of the virtual character is running, optionally, the current motion state of the virtual character may be switched to flying through a third touch operation, and currently, a specific switching manner is not limited thereto.
Optionally, the method further includes: and responding to the stop touch operation of the slider, and controlling the virtual character to be switched from the current posture to the default posture.
In some application scenarios, in consideration of a situation that an erroneous operation may occur when the virtual character is controlled to perform the gesture switching, optionally, the touch operation on the slider may be stopped based on the touch display screen, for example, the second touch operation is stopped, at this time, the gesture of the virtual character may be switched to a default gesture (for example, a standing gesture), so that the player performs the gesture switching again, and of course, the specific control manner is not limited thereto. The default posture may be any preset posture, and it should be noted that, according to an actual application scenario, the default posture may also be set in the control process, which is not limited herein.
Optionally, the second touch operation may be a continuous touch operation after the first touch operation, the first touch operation may be a first dragging operation, and the second touch operation may be a pressing operation. Optionally, the third touch operation may be a continuous touch operation after the second touch operation, and the third touch operation may be a second drag operation.
In some application scenarios, in consideration of the continuity in the game control process, the second touch operation may be a relationship of continuous touch operations with the first touch operation, in some embodiments, the first touch operation may be a first dragging operation, and the second touch operation may be a pressing operation subsequent to the first dragging operation, that is, if the moving control needs to be switched to the gesture switching control, the first dragging operation applied to the moving control may be seamlessly switched to the pressing operation. The third touch operation and the second touch operation may be a relationship of continuous touch operations, optionally, the second touch operation may be a pressing operation, and the third touch operation may be a second dragging operation subsequent to the second dragging operation, that is, if the gesture switching control needs to be switched to the moving control, the pressing operation applied to the gesture switching control may be seamlessly switched to the second dragging operation. Alternatively, the pressing operation may be a slight pressing or a heavy pressing, which is not limited herein.
It should be noted that, according to an actual application scenario, the relationship between the first touch operation, the second touch operation, and the third touch operation, and the specific operation manner are not limited thereto, for example, the second touch operation may be a continuous operation after the first touch operation, the first touch operation may be a first dragging operation, and the second touch operation may be a sliding operation.
Fig. 6 is a schematic diagram of a movement control provided in an embodiment of the present application. For better understanding of the present application, the following description is made with reference to a specific embodiment, as shown in fig. 6(a), the movement control may include a rocker control 110 and a movement range auxiliary control 120, and the two may be concentric circular controls with different radii, and the radius corresponding to the movement range auxiliary control 120 is greater than the radius corresponding to the rocker control 110, the rocker control 110 may move in an area corresponding to the movement range auxiliary control 120 according to a movement touch operation, and may control a virtual character to move in a game scene according to a relative position of the rocker control 110 and the movement range auxiliary control, where the movement touch operation may include, but is not limited to, the first touch operation and the third touch operation. The gesture switching control may include: a sliding track 130 and a slider, one end of the sliding track 130 may be located in a first triggering area, the other end of the sliding track 130 may be located in a second triggering area, and the slider may slide on the sliding track 130, as shown in fig. 6(b), an upper half portion of the slidable area corresponding to the sliding track 130 may be the first triggering area, and a lower half portion of the slidable area corresponding to the sliding track 130 may be the second triggering area, which will be described below with reference to a specific control process.
In a game, as shown in fig. 6(a), the first posture of the virtual character in the game scene is a standing posture, wherein if the virtual character is to be controlled to move in the game scene, a player may act on the rocker control 110 in the movement control through a first touch operation (e.g., a first dragging operation) based on the touch display screen, the rocker control 110 may move in a region corresponding to the movement range auxiliary control 120 according to a control instruction of the first touch operation, and may control the virtual character to move in the game scene according to a relative position between the rocker control 110 and the movement range auxiliary control, optionally, a specific moving manner of the virtual character in the game scene may be any one of walking, running, jumping, climbing, and flying, for example, walking.
Alternatively, if the virtual character is controlled to switch from the first posture (standing posture) to the second posture (e.g., diving posture) during the moving process, the first touch operation (first dragging operation) acting on the rocker control 110 in the moving control may be switched to the second touch operation (e.g., slight pressing operation), and at this time, the slight pressing operation triggers the moving control to switch to the posture switching control. In this process, as shown in fig. 6(a), it can also be understood that, since the virtual character is in the first posture (standing posture), the slider should be in the first trigger region in the posture switching control, and when the mobile control is to be switched to the posture switching control, the rocker control 110 in the mobile control is to be switched to the slider in the posture switching control.
Optionally, as shown in fig. 6(c) and 6(d), in order to avoid the gesture switching process of the virtual character from affecting the movement of the virtual character, after the movement control is switched to the gesture switching control, the virtual character may be further controlled to continue moving in the game scene in the current motion state (for example, the motion state of walking in the first direction at the first speed) and the first gesture (standing gesture), where the current motion state is the motion state determined by the first touch operation. Based on the control state, if the gesture of the virtual character needs to be switched, the player may drag the slider on the sliding track 130 from the currently located first trigger area to the second trigger area (for example, drag the slider to the bottom of the sliding track 130) based on the touch display screen, and in response to the drag operation, may control the virtual character to be switched from the first gesture (standing gesture) to the second gesture (for example, sneak gesture), but not limited thereto, where sneak is also sneak.
In some embodiments, when the gesture is switched, the current gesture of the virtual character may also be displayed through a prompt control on the slider, as shown in fig. 6(a) and 6(d), when the virtual character is controlled to switch gestures, the gesture text information of "standing" and "sneak" may be displayed at different gesture switching stages. Of course, when the virtual character is controlled to move, the current moving state of the virtual character may also be displayed through the movement prompt control on the rocker control 110, and as shown in fig. 6(b) and 6(e), the moving text information of "move" may be displayed.
It should be noted that, according to different application scenarios, the prompt control may also use the icon to identify the current posture of the virtual character, and the movement prompt control may also use the icon to identify the current movement state of the virtual character. From the above embodiment, it can be seen that the slider and the rocker control 110 are actually implemented by the same control, and optionally, the prompt control and the movement prompt control may also be implemented by the same control, that is, the step of switching the movement control into the posture switching control may further include: and switching the movement prompt control of the rocker control in the movement control into the prompt control of the slider in the posture switching control, wherein the specific setting mode is not limited to this.
Further, as shown in fig. 6(e), after the virtual character is controlled to perform the posture switching, in order to ensure that the subsequent virtual character can be normally controlled to move, the posture switching control can be restored to the moving control, it can be understood that after the posture switching control is restored, the slider in the posture switching control is switched to the rocker control in the moving control, and at this time, the virtual character can be normally controlled to move through the moving control.
In some embodiments, based on the above description, if the movement state of the virtual character needs to be adjusted after the gesture switching control is restored to the movement control, optionally, the movement state determined by the third touch operation may be different from the movement state determined by the first touch operation (for example, a second drag operation) may be applied to the rocker control 110 in the movement control through a third touch operation (for example, a second drag operation) based on the touch display screen, and optionally, the virtual character may be controlled to move in the game scene in the second gesture (for example, a sneak gesture) in response to the third touch operation (for example, a movement state running at the first speed in the second direction) corresponding to the third touch operation.
Optionally, when the gesture is switched, if an incorrect operation occurs, the touch operation on the slider may be stopped based on the touch display screen, for example, the pressing is stopped, at this time, the gesture of the virtual character may be switched to a default gesture (for example, a standing gesture), so that the player may switch the gesture again, and of course, the specific control manner is not limited thereto.
Optionally, the mobile control may be disposed on a left-hand side of the player, and with the application of the embodiment, it can be seen that the gesture switching control that is disposed on a right-hand side of the player and operated at a high frequency can be obtained by switching the mobile control on the left-hand side, and setting of an individual gesture switching control on the right-hand side is avoided, which can effectively improve a utilization rate of a game interface.
In addition, it can be understood that by applying the embodiment of the application, interruption of multiple operations such as player right-hand side angle control, attack, ammunition supplement, aiming and the like can be avoided, and the game interaction efficiency of the player is improved.
Fig. 7 is a schematic functional module diagram of an information processing apparatus according to an embodiment of the present application, where the apparatus may provide a graphical user interface through a terminal device, where the graphical user interface includes a virtual character in a game scene, and the virtual character is configured to be controlled by the terminal device.
As shown in fig. 7, the information processing apparatus 200 may include:
a control module 210, configured to control the virtual character to move in the game scene in a first posture in response to a first touch operation on a mobile control on the graphical user interface;
a switching module 220, configured to switch the mobile control to an attitude switching control in response to a second touch operation on the mobile control, where the attitude switching control includes a first trigger area and a second trigger area, and a slider located at the first trigger area, where the first trigger area is used to trigger the virtual character to execute a first attitude, and the second trigger area is used to trigger the virtual character to execute a second attitude;
and the dragging module 230 is configured to, in response to dragging the slider from the first trigger area to the second trigger area, control the virtual character to switch from the first posture to the second posture, and restore the posture switching control to the mobile control.
In an optional embodiment, the switching module 220 is further configured to control the virtual character to continue moving in the game scene in a current motion state and the first posture, where the motion state includes at least one of: direction of movement, speed of movement, current orientation.
In an optional embodiment, the dragging module 230 is further configured to control the virtual character to keep a current motion state and the second gesture moving continuously in the game scene until a third touch operation on the mobile control is received again, where the motion state determined by the third touch operation is different from the current motion state, and the motion state includes at least one of: direction of movement, speed of movement, current orientation.
In an optional embodiment, the gesture switching control further comprises: a sliding track having one end at the first trigger region and another end at the second trigger region, the slider configured to be slidable on the sliding track.
In an alternative embodiment, the slider further comprises: and the prompt control is used for displaying the current posture of the virtual role.
In an optional embodiment, the movement control comprises a rocker control and a movement range auxiliary control, the rocker control is configured to move in an area corresponding to the movement range auxiliary control according to a control instruction of a movement touch operation, and simultaneously, the virtual character is controlled to move in the game scene according to a relative position of the rocker control and the movement range auxiliary control; the switching module is specifically configured to switch a rocker control in the mobile control to a slider in the posture switching control.
In an optional embodiment, the dragging module 230 is further configured to, in response to a third touch operation on the moving control, control the virtual character to move in the game scene in the second posture in a motion state corresponding to the third touch operation.
In an optional embodiment, the switching module 220 is further configured to control the virtual character to switch from the current posture to the default posture in response to the stop touch operation on the slider.
In an optional embodiment, the second touch operation is a continuous touch operation after the first touch operation, the first touch operation is a first dragging operation, and the second touch operation is a pressing operation.
In an optional embodiment, the third touch operation is a continuous touch operation after the second touch operation, and the third touch operation is a second drag operation.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 8, the electronic device may include: a processor 510, a storage medium 520, and a bus 530, the storage medium 520 storing machine-readable instructions executable by the processor 510, the processor 510 communicating with the storage medium 520 via the bus 530 when the electronic device is operating, the processor 510 executing the machine-readable instructions to perform the steps of the above-described method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the above method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (13)

1. An information processing method, wherein a graphical user interface is provided through a terminal device, the graphical user interface includes virtual characters in a game scene, and the virtual characters are configured to be controlled through the terminal device, and the method comprises the following steps:
in response to a first touch operation on a mobile control on the graphical user interface, controlling the virtual character to move in the game scene in a first posture;
responding to a second touch operation on the mobile control, and switching the mobile control into a posture switching control, wherein the posture switching control comprises a first trigger area, a second trigger area and a slider at the first trigger area, the first trigger area is used for triggering the virtual character to execute a first posture, and the second trigger area is used for triggering the virtual character to execute a second posture;
and in response to dragging the slider from the first trigger area to the second trigger area, controlling the virtual character to be switched from the first posture to the second posture, and restoring the posture switching control to be the mobile control.
2. The method of claim 1, wherein after the switching the mobile control to the gesture-switching control, the method further comprises:
controlling the virtual character to continuously move in the game scene in a current motion state and the first posture, wherein the motion state at least comprises one of the following states: direction of movement, speed of movement, current orientation.
3. The method of claim 1, wherein after controlling the avatar to switch from the first pose to the second pose and restoring the pose switching control to the mobile control, the method further comprises:
controlling the virtual character to keep the current motion state and the second posture to continue moving in the game scene until a third touch operation on the mobile control is received again, wherein the motion state determined by the third touch operation is different from the current motion state, and the motion state at least comprises one of the following: direction of movement, speed of movement, current orientation.
4. The method of claim 1, wherein the gestural toggle control further comprises: a sliding track having one end at the first trigger region and another end at the second trigger region, the slider configured to be slidable on the sliding track.
5. The method of claim 1, wherein the slider further comprises: and the prompt control is used for displaying the current posture of the virtual role.
6. The method according to claim 1, wherein the movement control comprises a rocker control and a movement range auxiliary control, the rocker control is configured to move in a region corresponding to the movement range auxiliary control according to a control instruction of a movement touch operation, and the virtual character is controlled to move in the game scene according to the relative position of the rocker control and the movement range auxiliary control;
the step of switching the mobile control to a gesture switching control comprises: and switching a rocker control in the mobile control into a sliding block in the posture switching control.
7. The method of claim 3, wherein after controlling the virtual character to switch from the first pose to the second pose and restoring the pose switching control to the mobile control in response to dragging the slider from the first trigger area to the second trigger area, the method further comprises:
and responding to a third touch operation on the mobile control, and controlling the virtual character to move in the game scene in a motion state corresponding to the third touch operation in the second posture.
8. The method according to any one of claims 1-7, further comprising: and responding to the stop touch operation of the slider, and controlling the virtual character to be switched from the current posture to the default posture.
9. The method of claim 3, wherein the second touch operation is a continuous touch operation after the first touch operation, the first touch operation is a first dragging operation, and the second touch operation is a pressing operation.
10. The method of claim 9, wherein the third touch operation is a continuous touch operation after the second touch operation, and wherein the third touch operation is a second drag operation.
11. An information processing apparatus that provides a graphical user interface through a terminal device, the graphical user interface including a virtual character in a game scene, the virtual character being configured to be controlled by the terminal device, the information processing apparatus comprising:
the control module is used for responding to a first touch operation of a mobile control on the graphical user interface and controlling the virtual character to move in the game scene in a first posture;
the switching module is used for responding to a second touch operation on the mobile control and switching the mobile control into a posture switching control, and the posture switching control comprises a first trigger area, a second trigger area and a sliding block positioned at the first trigger area, wherein the first trigger area is used for triggering the virtual role to execute a first posture, and the second trigger area is used for triggering the virtual role to execute a second posture;
and the dragging module is used for controlling the virtual character to be switched from the first posture to the second posture in response to dragging the slider from the first trigger area to the second trigger area, and recovering the posture switching control to be the mobile control.
12. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the information processing method according to any one of claims 1 to 10.
13. A computer-readable storage medium, having stored thereon a computer program for performing, when executed by a processor, the steps of the information processing method according to any one of claims 1 to 10.
CN202111294709.3A 2021-11-03 2021-11-03 Information processing method, information processing device, electronic equipment and storage medium Pending CN114011062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111294709.3A CN114011062A (en) 2021-11-03 2021-11-03 Information processing method, information processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111294709.3A CN114011062A (en) 2021-11-03 2021-11-03 Information processing method, information processing device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114011062A true CN114011062A (en) 2022-02-08

Family

ID=80060149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111294709.3A Pending CN114011062A (en) 2021-11-03 2021-11-03 Information processing method, information processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114011062A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115061532A (en) * 2022-06-10 2022-09-16 北京主导时代科技有限公司 Triggering reset device of safe touch edge
WO2024037154A1 (en) * 2022-08-18 2024-02-22 腾讯科技(深圳)有限公司 Method and apparatus for controlling virtual object, and terminal, storage medium and program product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115061532A (en) * 2022-06-10 2022-09-16 北京主导时代科技有限公司 Triggering reset device of safe touch edge
WO2024037154A1 (en) * 2022-08-18 2024-02-22 腾讯科技(深圳)有限公司 Method and apparatus for controlling virtual object, and terminal, storage medium and program product

Similar Documents

Publication Publication Date Title
US11250660B2 (en) Graphical user interface for a gaming system
CN107930122B (en) Information processing method, device and storage medium
CN106155553B (en) Virtual object motion control method and device
CN113181651B (en) Method, device, electronic equipment and storage medium for controlling virtual object movement in game
CN107213643B (en) Display control method and device, storage medium, the electronic equipment of game picture
JP2020504851A (en) Game screen display control method, device, storage medium, and electronic device
CN109960558B (en) Virtual object control method and device, computer storage medium and electronic equipment
CN114011062A (en) Information processing method, information processing device, electronic equipment and storage medium
CN107203321B (en) Display control method and device, storage medium, the electronic equipment of game picture
CN111773677A (en) Game control method and device, computer storage medium and electronic equipment
CN111530065A (en) Game control method and device, computer storage medium and electronic equipment
CN113476823B (en) Virtual object control method and device, storage medium and electronic equipment
CN115999153A (en) Virtual character control method and device, storage medium and terminal equipment
CN113926186A (en) Method and device for selecting virtual object in game and touch terminal
CN113867873A (en) Page display method and device, computer equipment and storage medium
CN113680062A (en) Information viewing method and device in game
CN117504277A (en) Game display control method and device, storage medium and electronic device
CN118161846A (en) Game interaction method, game interaction device, electronic equipment and storage medium
CN115212567A (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN115779429A (en) Method and device for controlling virtual character in game and electronic terminal
CN117462949A (en) Game skill processing method, game skill processing device, computer equipment and storage medium

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