Search

CN-116459509-B - Method, device, computer equipment and storage medium for controlling movement of virtual object

CN116459509BCN 116459509 BCN116459509 BCN 116459509BCN-116459509-B

Abstract

The embodiment of the application discloses a movement control method, a device, computer equipment and a storage medium of a virtual object, wherein the embodiment of the application acquires the current position of a controlled virtual object, controls the controlled virtual object to move in a game scene and display a first functional control in response to touch operation acting on a movement control area when the current position is positioned in a non-driving area in the game scene, and controls the display of the first functional control and at least one second functional control in response to touch operation acting on the movement control area when the current position is positioned in the driving area in the game scene. In the embodiment of the application, on the premise of not increasing the operation control, a new function control can be expired through the touch operation of the original mobile control area of the graphical user interface, so that a new function is realized, the interactive interface is simplified, and the interactive efficiency is improved.

Inventors

  • Jiang Yangchen
  • SU PENG

Assignees

  • 网易(杭州)网络有限公司

Dates

Publication Date
20260512
Application Date
20230413

Claims (15)

  1. 1. A movement control method of a virtual object, characterized in that a graphical user interface is provided by a terminal, the content displayed by the graphical user interface at least partially containing a game scene, a controlled virtual object located in the game scene, the method comprising: acquiring the current position of the controlled virtual object; When the current position is located in a non-driving area in the game scene, controlling the controlled virtual object to move in the game scene in response to touch operation acted on a movement control area, and displaying a first functional control, wherein the first functional control is configured to respond to the triggering operation and control the controlled virtual object to move according to a first movement state corresponding to the first functional control, and the first movement state is a carrier-free movement state; When the current position is located in a driving area in the game scene, the first functional control and at least one second functional control are controlled to be displayed in response to touch operation acting on the movement control area, the movement state corresponding to the second functional control is different from the movement state corresponding to the first functional control, the second functional control is configured to respond to the trigger operation, the controlled virtual object is controlled to move according to a second movement state corresponding to the second functional control, the second movement state corresponds to the driving area, the second functional control comprises a vehicle calling control, the vehicle calling control is configured to respond to the trigger operation, a virtual vehicle is displayed in the game scene, the controlled virtual object is controlled to drive the virtual vehicle to move or the driving area is displayed with the virtual vehicle, and the vehicle calling control is configured to respond to the trigger operation, and the controlled virtual object is controlled to drive the virtual vehicle to move.
  2. 2. The method of claim 1, wherein the virtual carrier is acquired from a virtual backpack corresponding to the controlled virtual object and displayed.
  3. 3. The method for controlling movement of a virtual object according to claim 1, further comprising: When the current position is located in a non-driving area in the game scene, controlling the controlled virtual object to move in the game scene in response to touch operation acted on a movement control area, and displaying the first functional control; Responding to triggering operation for the first functional control, and controlling the controlled virtual object to move according to a first movement state corresponding to the first functional control; And in response to detecting that the controlled virtual object enters the driving area from the non-driving area, controlling to display the second functional control.
  4. 4. The method for controlling movement of a virtual object according to claim 1, wherein the step of controlling movement of the controlled virtual object according to a second movement state corresponding to the second function control comprises: and controlling the controlled virtual object to move according to driving movement parameters, wherein the driving movement parameters are associated with object movement parameters of the controlled virtual object.
  5. 5. The method for controlling movement of a virtual object according to claim 4, wherein the driving movement parameter includes a movement speed, and the step of controlling the controlled virtual object to move according to a second movement state corresponding to the second function control further includes: and adjusting the moving speed according to the speed control operation in response to the speed control operation acting on the speed control area, and controlling the controlled virtual object to move at the adjusted moving speed.
  6. 6. The method for controlling movement of a virtual object according to claim 4, further comprising: And responding to a direction control operation acted on a direction control area, adjusting the moving direction of the controlled virtual object according to the direction control operation, and controlling the controlled virtual object to move according to the second moving state and the adjusted moving direction.
  7. 7. The method for controlling movement of a virtual object according to claim 1, further comprising: responding to a triggering operation in a first function response area, triggering a first function control corresponding to the first function response area, and controlling the controlled virtual object to move according to the first movement state corresponding to the first function control; And the contact points responding to the triggering operation move from the first functional response area to the second functional response area, the triggering operation is executed in the second functional response area, the second functional control is triggered, and the controlled virtual object is controlled to move according to the second movement state corresponding to the second functional control.
  8. 8. The method of movement control of a virtual object according to claim 7, wherein the first function response area and the second function response area are located at the same orientation of the movement control area, and the first function response area is between the second function response area and the movement control area.
  9. 9. The method of movement control of a virtual object according to claim 7, further comprising: Adjusting the shape and/or size of a target function response area in response to a first adjustment operation on the target function response area, the target function response area including at least one of the first function response area and the second function response area; and adjusting a region layout of the first functional response region and the second functional response region in response to a second adjustment operation on the target functional response region, the region layout including at least one of an adjacency setting and a spacing setting.
  10. 10. The method according to claim 7, wherein a response speed corresponding to the first function response area is related to a first distance, and a response speed corresponding to the second function response area is related to a second distance, the first distance being a distance between the first function response area and the movement control area, and the second distance being a distance between the second function response area and the movement control area.
  11. 11. The method of claim 1, wherein the graphical user interface further comprises a movement rocker, the movement control area is a contact area of the movement rocker, the triggering operation of a target function control is a release operation, and the target function control comprises at least one of the first function control and the second function control.
  12. 12. The method for controlling movement of a virtual object according to claim 1, wherein controlling display of the first function control and at least one second function control in response to a touch operation applied to the movement control area when the current position is located in a driving area in the game scene, comprises: And when the current position is positioned in a driving area in the game scene, grading calling out the first functional control and at least one second functional control in the mobile control area.
  13. 13. A movement control device for virtual objects, characterized in that a graphical user interface is provided by a terminal, the content displayed by the graphical user interface at least partially comprising a game scene, controlled virtual objects located in the game scene, the device comprising: an acquisition unit configured to acquire a current position of the controlled virtual object; The control unit is used for responding to touch operation acted on a movement control area when the current position is located in a non-driving area in the game scene, controlling the controlled virtual object to move in the game scene and displaying a first functional control, wherein the first functional control is configured to respond to the triggering operation and control the controlled virtual object to move according to a first movement state corresponding to the first functional control, and the first movement state is a carrier-free movement state; The control unit is further configured to, when the current position is located in a driving area in the game scene, control and display the first functional control and at least one second functional control in response to a touch operation acting on the movement control area, where a movement state corresponding to the second functional control is different from a movement state corresponding to the first functional control, the second functional control is configured to, in response to a trigger operation, control the controlled virtual object to move according to a second movement state corresponding to the second functional control, where the second movement state corresponds to the driving area, the second functional control includes a vehicle calling control, and the vehicle calling control is configured to, in response to the trigger operation, display a virtual vehicle in the game scene, and control the controlled virtual object to drive the virtual vehicle to move or the driving area to display a virtual vehicle, and the vehicle calling control is configured to, in response to the trigger operation, control the controlled virtual object to drive the virtual vehicle to move.
  14. 14. A computer device comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading instructions from the memory to perform the steps in the method of controlling movement of a virtual object according to any one of claims 1 to 12.
  15. 15. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the method of controlling movement of a virtual object according to any one of claims 1 to 12.

Description

Method, device, computer equipment and storage medium for controlling movement of virtual object Technical Field The present application relates to the field of game technologies, and in particular, to a method and apparatus for controlling movement of a virtual object, a computer device, and a storage medium. Background In recent years, with the development of game technology, game contents are becoming more and more diversified, and daily lives of users are becoming more and more enriched. In some game scenarios of games, a user may control a virtual object to perform a variety of virtual actions. In particular, in a game scenario of a competitive game, a user may control virtual objects to drive a vehicle in the game scenario. In the prior art, the control of the virtual carrier is directly added on the game interface, so that the interactive interface control is too many and is easy to touch by mistake. In addition, the user can drive the virtual carrier only by executing a plurality of interaction processes based on the control of the virtual carrier. For example, the user first searches for and determines the virtual vehicle to be driven from the existing virtual vehicles in the game scene, and then touches the control for driving the virtual vehicle to drive the virtual vehicle to move, so that the interaction efficiency is low. Disclosure of Invention The embodiment of the application provides a method and a device for controlling movement of a virtual object, computer equipment and a storage medium, which can simplify an interactive interface and improve interactive efficiency. The embodiment of the application provides a movement control method of a virtual object, which comprises the steps of providing a graphical user interface through a terminal, wherein content displayed by the graphical user interface at least partially comprises a game scene and a controlled virtual object positioned in the game scene, acquiring the current position of the controlled virtual object, responding to touch operation acting on a movement control area when the current position is positioned in a non-driving area in the game scene, controlling the controlled virtual object to move in the game scene, displaying a first functional control, controlling the controlled virtual object to move according to a first movement state corresponding to the first functional control in response to a triggering operation, responding to touch operation acting on the movement control area when the current position is positioned in the driving area in the game scene, controlling to display the first functional control and at least one second functional control, and responding to a movement state corresponding to the second functional control and different from the movement state corresponding to the first functional control, wherein the second functional control is configured to respond to the triggering operation, controlling the controlled virtual object to move according to a second movement state corresponding to the movement state, and driving state corresponding to the second functional control. The embodiment of the application also provides a movement control device for the virtual object, which is provided with a graphical user interface through a terminal, wherein the content displayed by the graphical user interface at least partially comprises a game scene and a controlled virtual object positioned in the game scene, the device comprises an acquisition unit used for acquiring the current position of the controlled virtual object, a control unit used for responding to a touch operation acted on a movement control area when the current position is positioned in a non-driving area in the game scene, controlling the controlled virtual object to move in the game scene and displaying a first functional control, the first functional control is configured to respond to the triggering operation and control the controlled virtual object to move according to a first movement state corresponding to the first functional control, and a control unit further used for responding to a touch operation acted on the movement control area when the current position is positioned in a driving area in the game scene and controlling and displaying the first functional control and at least one second functional control, wherein the movement state corresponding to the second functional control is different from the movement state corresponding to the first functional control, the first functional control is configured to the movement state corresponding to the second functional control, and the second functional control is configured to the movement state corresponding to the movement control. The embodiment of the application also provides computer equipment, which comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions from the memory to execute the steps in any virtual obj