Virtual object control method, virtual object control device, storage medium and equipment

By receiving sliding control operations, adjusting the acceleration of the virtual object, realizing the switching of the virtual object between different moving states, solving the problem of complex virtual vehicle control, improving the authenticity and fluency of the game, and reducing the game's play costs.

CN115430147BActive Publication Date: 2025-07-04NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211013772.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2025-07-04
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

In the prior art, the movement control method of virtual vehicles in virtual game scenes is complex, resulting in poor steering changes and lack of realism, which increases the game cost of players.

Method used

By receiving the sliding control operation, the acceleration of the virtual object is adjusted according to the sliding direction and speed, switching between different moving states of the game virtual object, including the first moving state and the second moving state, and controlling the movement of the virtual object with different acceleration adjustment relationships and angle ranges.

Benefits of technology

It improves the movement authenticity and fluency of virtual objects, reduces the difficulty of players' control and gameplay costs, and reduces the churn rate of novice players.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115430147B_ABST
    Figure CN115430147B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of game technologies, and particularly to a method for controlling a virtual object, a virtual object control device, a computer-readable storage medium, and an electronic device. The method includes: receiving a first sliding control operation, and entering a first moving state when a first sliding direction of the first sliding control operation satisfies a first angle range; receiving a second sliding control operation for a game virtual object, and obtaining a second sliding direction and a sliding speed of the second sliding control operation; determining a first acceleration according to the second sliding control operation and a first adjustment relationship, and controlling the virtual object to move according to the first acceleration; and controlling the game virtual object to switch from the first moving state to a second moving state when the second sliding direction of the second sliding control operation satisfies a third angle range and the sliding speed satisfies a speed threshold. Through the technical solution of the embodiments of the present disclosure, the problem that the control method for a virtual vehicle in the related art is relatively complex can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of terminal devices and the gaming industry, a large number of games with different themes have emerged to meet the needs of players. In some games, players can control virtual vehicles to move in a virtual game scene. For example, the direction keys can be used to control a virtual ship to sail in the sea.

[0003] However, since virtual vehicles such as virtual ships have large models in the virtual game scene and are affected by various factors, their movement patterns in the virtual game scene are relatively complex. When controlling the movement of virtual vehicles in related technologies, the steering changes of virtual vehicles are not smooth, lacking a sense of reality, and the control methods for virtual vehicles in related technologies are relatively complex, making it difficult to control virtual vehicles well and increasing the playing cost for players.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] The purpose of the present disclosure is to provide a virtual object control method, apparatus, computer-readable storage medium, and electronic device, which can solve the problem of relatively complex control methods for virtual vehicles in related technologies.

[0006] Other features and advantages of the present disclosure will become apparent through the following detailed description, or will be partially learned through the practice of the present disclosure.

[0007] According to a first aspect of the present disclosure, a method for controlling a virtual object is provided. The method is characterized in that a virtual game scene and game virtual objects therein are displayed through a graphical user interface of a terminal device, including: receiving a first sliding control operation for a game virtual object, and controlling the game virtual object to enter a first moving state in response to the first sliding direction of the first sliding control operation satisfying a first angle range; wherein the first moving state is a state in which the game virtual object moves with a first acceleration, and the first acceleration and the sliding control operation satisfy a first adjustment relationship; when the game virtual object is in the first moving state, receiving a second sliding control operation for the game virtual object, and obtaining a second sliding direction and a sliding speed of the second sliding control operation; in response to the second sliding direction of the second sliding control operation satisfying a second angle range, determining a first acceleration according to the second sliding control operation and the first adjustment relationship, and controlling the virtual object to move according to the first acceleration; in response to the second sliding direction of the second sliding control operation satisfying a third angle range and the sliding speed satisfying a speed threshold, controlling the game virtual object to switch from the first moving state to a second moving state; wherein the second moving state is a state in which the game virtual object moves with a second acceleration, the second acceleration and the sliding control operation satisfy a second adjustment relationship, and the second adjustment relationship is different from the first adjustment relationship, and the third angle range is included in the second angle range.

[0008] Optionally, determining a first acceleration according to the second sliding control operation and the first adjustment relationship includes: determining a first turning state of the game virtual object in the first moving state according to the second sliding control operation; and determining a first acceleration according to the first turning state of the game virtual object in the first moving state and the first adjustment relationship.

[0009] Optionally, determining a first turning state of the game virtual object in the first moving state according to the second sliding control operation includes: obtaining a first turning component of the second sliding control operation in the horizontal direction; and determining a first turning state of the game virtual object in the first moving state according to the first turning component.

[0010] Optionally, the first turning state includes a turning speed value and a turning direction, and the method further includes: determining a turning speed value of the first turning state and a turning direction of the first turning state according to the first turning component.

[0011] Optionally, obtaining a first acceleration component of the first sliding control operation in the vertical direction; and determining a first acceleration according to the first acceleration component and the first adjustment relationship.

[0012] Optionally, determine a first acceleration according to a first sliding control operation; obtain a sliding start point of the first sliding control operation, and determine an operation central axis according to the sliding start point; wherein, the operation central axis has a non-responsive range; obtain a second turning component of the first sliding control operation in the horizontal direction; when the second turning component exceeds the non-responsive range, determine a second turning state according to the second turning component, and determine a first moving state according to the second turning state and the first acceleration; when the second turning component does not exceed the non-responsive range, determine the first moving state according to the first acceleration.

[0013] Optionally, when the second turning component reaches the maximum value of the operation central axis, move the operation central axis according to the increase of the second turning component.

[0014] Optionally, when the game virtual object is in the second moving state, receive a third sliding control operation for the game virtual object; determine a second acceleration according to the third sliding control operation and a second adjustment relationship.

[0015] Optionally, determining a first acceleration according to the third sliding control operation and the second adjustment relationship includes: determining a third turning state of the game virtual object in the second moving state according to the third sliding control operation; determining the second acceleration according to the third turning state of the game virtual object in the second moving state and the second adjustment relationship.

[0016] Optionally, determining a third turning state of the game virtual object in the second moving state according to the third sliding control operation includes: obtaining a third turning component of the third sliding control operation in the horizontal direction; determining the third turning state of the game virtual object in the second moving state according to the third turning component.

[0017] Optionally, the third turning state includes a turning speed value and a turning direction, and the method further includes: determining the turning speed value of the third turning state and the turning direction of the third turning state according to the third turning component.

[0018] Optionally, determining a second acceleration according to the third sliding control operation and the second adjustment relationship includes: obtaining a second acceleration component of the first sliding control operation in the vertical direction; determining the second acceleration according to the first acceleration component and the second adjustment relationship.

[0019] Optionally, the initial direction of the first acceleration is the same as the velocity direction of the game virtual object, and the initial direction of the second acceleration is opposite to the velocity direction of the game virtual object.

[0020] According to a second aspect of the present disclosure, a virtual object control device is provided, characterized in that the device includes: a first operation receiving module, configured to receive a first sliding control operation for a game virtual object, and control the game virtual object to enter a first moving state in response to the first sliding direction of the first sliding control operation satisfying a first angle range; wherein the first moving state is a state in which the game virtual object moves with a first acceleration, and the first acceleration and the sliding control operation satisfy a first adjustment relationship; a second operation receiving unit, configured to receive a second sliding control operation for the game virtual object and obtain a second sliding direction and a sliding speed of the second sliding control operation when the game virtual object is in the first moving state; a first angle range response unit, configured to determine a first acceleration according to the second sliding control operation and the first adjustment relationship and control the virtual object to move according to the first acceleration in response to the second sliding direction of the second sliding control operation satisfying a second angle range; a second angle range response unit, configured to control the game virtual object to switch from the first moving state to a second moving state in response to the second sliding direction of the second sliding control operation satisfying a third angle range and the sliding speed satisfying a speed threshold; wherein the second moving state is a state in which the game virtual object moves with a second acceleration, the second acceleration and the sliding control operation satisfy a second adjustment relationship, the second adjustment relationship is different from the first adjustment relationship, and the third angle range is included in the second angle range.

[0021] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the virtual object control method in the first aspect of the above embodiment is implemented.

[0022] According to a fourth aspect of the present disclosure, an electronic device is provided, including:

[0023] one or more processors; and

[0024] a memory, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the virtual object control method in the first aspect of the above embodiment.

[0025] The technical solutions provided in the embodiments of the present disclosure may include the following beneficial effects:

[0026] In a virtual object control method provided by an embodiment of the present disclosure, a first sliding control operation for a game virtual object can be received. When the first sliding direction of the first sliding control operation satisfies a first angle range, the game virtual object is controlled to enter a first moving state. When the game virtual object is in the first moving state, a second sliding control operation for the game virtual object is received, and the second sliding direction and sliding speed of the second sliding control operation are obtained. When the second sliding direction of the second sliding control operation satisfies a second angle range, a first acceleration is determined according to the second sliding control operation and a first adjustment relationship, and the virtual object is controlled to move according to the first acceleration. When the second sliding direction of the second sliding control operation satisfies a third angle range and the sliding speed satisfies a speed threshold, the game virtual object is controlled to switch from the first moving state to a second moving state. By controlling the acceleration and turning speed value of the game virtual object, the authenticity of the movement of the game virtual object can be made stronger, the movement of the game virtual object is more smooth, enabling players to handle the situations in the game according to common sense, avoiding losses in the game, reducing the control difficulty of the virtual game object, reducing the difficulty for novice players to get started with the game, thereby reducing the playing cost of players, and further avoiding the loss of players.

[0027] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Brief Description of the Drawings

[0028] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts. In the drawings:

[0029] Figure 1 Schematically showing a flowchart of the virtual object control method in an exemplary embodiment of the present disclosure;

[0030] Figure 2 Schematically showing a schematic diagram of determining the acceleration value of a game virtual object moving in a virtual game scene according to the sliding distance between the sliding start point and the sliding end point;

[0031] Figure 3 Schematically showing a schematic diagram in an exemplary embodiment of the present disclosure where the second sliding direction of the second sliding control operation is within a third angle range, and the third angle range is included in the second angle range;

[0032] Figure 4Schematic diagram showing the determination of the steering direction in the first steering state according to the second sliding direction in the second sliding control operation in an exemplary embodiment of the present disclosure;

[0033] Figure 5 Schematic diagram showing the determination of the first acceleration according to the steering speed value and the first adjustment relationship in a first steering state in an exemplary embodiment of the present disclosure;

[0034] Figure 6 Schematic diagram showing the determination of the first acceleration according to the steering speed value and the first adjustment relationship in another first steering state in an exemplary embodiment of the present disclosure;

[0035] Figure 7 Schematic diagram showing the establishment of a rectangular coordinate system with the sliding starting point of the second sliding control operation as the coordinate origin and mapping the second sliding control operation to the horizontal coordinate axis in an exemplary embodiment of the present disclosure;

[0036] Figure 8 Schematic diagram showing the relationship between the first steering component and the steering speed value in an exemplary embodiment of the present disclosure;

[0037] Figure 9 Schematic diagram showing an operation central axis and a non - response range corresponding to the operation central axis in an exemplary embodiment of the present disclosure;

[0038] Figure 10 Schematic diagram showing the composition of a virtual object control device in an exemplary embodiment of the present disclosure;

[0039] Figure 11 Schematic diagram showing the structure of a computer system of an electronic device suitable for implementing the exemplary embodiments of the present disclosure. Detailed implementation manners

[0040] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments. In addition, the features, structures, or characteristics described may be combined in any suitable manner in one or more examples. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of this disclosure. However, those skilled in the art will realize that the technical solutions of this disclosure can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be used. In other cases, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of this disclosure.

[0041] The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more software-hardened modules, or in different networks and / or processor devices and / or microcontroller devices.

[0042] With the development of terminal devices and the gaming industry, a large number of games with different themes have emerged to meet the needs of players. In some games, players can control virtual vehicles to move in a virtual game scene. For example, the virtual ship can be controlled to sail in the sea by the direction keys.

[0043] However, since the models of virtual vehicles such as virtual ships in the virtual game scene are relatively large and are affected by various factors, the movement patterns of virtual vehicles in the virtual game scene are relatively complex. When controlling the movement of virtual vehicles in the related art, the steering changes of virtual vehicles are not smooth and lack a sense of reality. Moreover, the control methods for virtual vehicles in the related art are relatively complex, making it difficult to control virtual vehicles well and increasing the playing cost of players.

[0044] In an exemplary embodiment of the present disclosure, a first sliding control operation for a game virtual object may be received. When the first sliding direction of the first sliding control operation satisfies a first angle range, the game virtual object is controlled to enter a first moving state. When the game virtual object is in the first moving state, a second sliding control operation for the game virtual object is received, and the second sliding direction and sliding speed of the second sliding control operation are obtained. When the second sliding direction of the second sliding control operation satisfies a second angle range, a first acceleration is determined according to the second sliding control operation and a first adjustment relationship, and the virtual object is controlled to move according to the first acceleration. When the second sliding direction of the second sliding control operation satisfies a third angle range and the sliding speed satisfies a speed threshold, the game virtual object is controlled to switch from the first moving state to a second moving state. Refer to Figure 1 As shown, a flowchart of a virtual object control method in this exemplary embodiment is shown, which may include the following steps:

[0045] Step S110: Receive a first sliding control operation for a game virtual object. When the first sliding direction of the first sliding control operation satisfies a first angle range, control the game virtual object to enter a first moving state; wherein, the first moving state is a state in which the game virtual object moves with a first acceleration, and the first acceleration and the sliding control operation satisfy a first adjustment relationship;

[0046] Step S120: When the game virtual object is in the first moving state, receive a second sliding control operation for the game virtual object, and obtain the second sliding direction and sliding speed of the second sliding control operation;

[0047] Step S130: When the second sliding direction of the second sliding control operation satisfies a second angle range, determine a first acceleration according to the second sliding control operation and the first adjustment relationship, and control the virtual object to move according to the first acceleration;

[0048] Step S140: When the second sliding direction of the second sliding control operation satisfies a third angle range and the sliding speed satisfies a speed threshold, control the game virtual object to switch from the first moving state to a second moving state; wherein, the second moving state is a state in which the game virtual object moves with a second acceleration, the second acceleration and the sliding control operation satisfy a second adjustment relationship, the second adjustment relationship is different from the first adjustment relationship, and the third angle range is included in the second angle range.

[0049] In a virtual object control method provided by an embodiment of the present disclosure, a first sliding control operation for a game virtual object can be received. When the first sliding direction of the first sliding control operation satisfies a first angle range, the game virtual object is controlled to enter a first moving state. When the game virtual object is in the first moving state, a second sliding control operation for the game virtual object is received, and the second sliding direction and sliding speed of the second sliding control operation are obtained. When the second sliding direction of the second sliding control operation satisfies a second angle range, a first acceleration is determined according to the second sliding control operation and a first adjustment relationship, and the virtual object is controlled to move according to the first acceleration. When the second sliding direction of the second sliding control operation satisfies a third angle range and the sliding speed satisfies a speed threshold, the game virtual object is controlled to switch from the first moving state to a second moving state. By controlling the acceleration and turning speed value of the game virtual object, the authenticity of the movement of the game virtual object can be made stronger, the movement of the game virtual object can be more smooth, enabling players to handle in-game situations based on common sense, avoiding losses in the game, reducing the control difficulty of the virtual game object, reducing the difficulty for novice players to get started with the game, thereby reducing the player's gaming cost, and further avoiding player churn.

[0050] In the virtual object control method in one embodiment of the present disclosure, it can run on a local terminal device or a server. When the virtual object control method runs on the server, the virtual object control method can be implemented and executed based on a cloud interaction system, where the cloud interaction system includes a server and a client device.

[0051] In an alternative embodiment, various cloud applications can run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operating mode of cloud games, the running entity of the game program and the presenting entity of the game screen are separated. The storage and running of the virtual object control method are completed on the cloud game server, and the role of the client device is for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission function near the user side, such as a mobile terminal, a television, a computer, a palm computer, etc.; however, the information processing is performed by the cloud game server in the cloud. When playing a game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses data such as the game screen, returns it to the client device through the network, and finally, the client device decodes and outputs the game screen.

[0052] In an optional embodiment, taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally, the game program is downloaded and installed on an electronic device and run. The ways for the local terminal device to provide the graphical user interface to the player can include various types. For example, it can be rendered and displayed on the display screen of the terminal, or provided to the player through holographic projection. For example, the local terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, and the graphical user interface includes a game screen. The processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.

[0053] In an exemplary embodiment of the present disclosure, the games in the solution of the present disclosure can include various types of games. For example, TPS (Third-Person Shooter), FPS (First-Person Shooter), RPG (Role-Playing Game), ACT (Action Game), SLG (Strategy Game), FTG (Fighting Game), SPG (Sports Game), RCG (Racing Game), AVG (Adventure Game), etc. As long as it is a scenario involving game instruction conversion, the virtual object control solution of the present disclosure can be applied. It should be noted that the present disclosure does not make special limitations on the types of games.

[0054] Next, Figure 1 in combination with

[0055] Step S110: Receive a first sliding control operation for a game virtual object. When the first sliding direction of the first sliding control operation satisfies a first angle range, control the game virtual object to enter a first moving state; wherein, the first moving state is a state in which the game virtual object moves with a first acceleration, and the first acceleration and the sliding control operation satisfy a first adjustment relationship;

[0056] In an exemplary embodiment of the present disclosure, a first sliding control operation for a game virtual object can be received. When the first sliding direction of the first sliding control operation satisfies a first angle range, control the game virtual object to enter a first moving state. Specifically, the first sliding control operation for the game virtual object can include a touch operation.

[0057] In an exemplary embodiment of the present disclosure, the first sliding control operation has a sliding direction. For example, the first sliding direction of the first sliding control operation can be the direction of the straight line connecting the starting point and the ending point of the first sliding control operation.

[0058] It should be noted that the present disclosure does not make any special limitations on the specific form of the first sliding direction.

[0059] In an exemplary embodiment of the present disclosure, when a first sliding control operation for a game virtual object is received, it can be determined whether the first sliding direction of the first sliding control operation satisfies a first angle range. When the first sliding direction of the first sliding control operation satisfies the first angle range, the game virtual object is controlled to enter a first moving state. Wherein, the first moving state is a state in which the game virtual object moves with a first acceleration, and the first acceleration satisfies a first adjustment relationship with the sliding control operation.

[0060] It should be noted that the present disclosure does not make any special limitations on the specific range of the first angle range.

[0061] Specifically, the state in which the game virtual object moves with a first acceleration means that the game virtual object moves with a first acceleration in the virtual game scene. For example, after the game virtual object enters the first moving state, the game virtual object accelerates at 5 m / s2 in the virtual game scene.

[0062] It should be noted that the acceleration of the game virtual object during movement in the virtual game scene can include negative values. When the acceleration of the game virtual object during movement in the virtual game scene is negative, the game virtual object decelerates in the virtual game scene.

[0063] Furthermore, when the game virtual object moves with a first acceleration, when the speed of the game virtual object reaches the speed threshold, it will no longer accelerate and will only move at a constant speed.

[0064] For example, the first acceleration in the first moving state is 5 m / s2, and the initial speed of the game virtual object is 0 m / s2. When the game virtual object is controlled to move with the first acceleration and the speed of the game virtual object reaches 30 m / s, the acceleration stops and it only moves at a constant speed of 30 m / s.

[0065] In an exemplary embodiment of the present disclosure, the first acceleration satisfies a first adjustment relationship with the sliding control operation. For example, when controlling the game virtual object to perform a turning operation according to the sliding control operation, the first acceleration can be adjusted according to the change in the turning angle (the first adjustment relationship).

[0066] Alternatively, the first acceleration satisfies a first adjustment relationship with the sliding control operation, which includes that the longer the sliding trajectory corresponding to the sliding control operation, the greater the acceleration value of the first acceleration (the first adjustment relationship).

[0067] For example, the sliding trajectory of a sliding touch operation can be obtained, and the starting point and ending point of the sliding trajectory can be obtained. The distance between the starting point and the ending point of the sliding is determined, and the acceleration value of the game virtual object moving in the virtual game scene is determined based on the distance between the starting point and the ending point of the sliding. For example, it can be set that the longer the distance between the starting point and the ending point of the sliding is, the greater the acceleration value of the game virtual object moving in the virtual game scene is, that is, the acceleration of the game virtual object moving in the virtual game scene is relatively large.

[0068] For example, as Figure 2 shown, the sliding trajectory of the sliding control operation can be obtained, the starting point 201 and the ending point 202 of the sliding trajectory corresponding to the sliding control operation are obtained, and the acceleration value of the game virtual object moving in the virtual game scene is determined according to the sliding distance 203 between the starting point 201 and the ending point 202.

[0069] It should be noted that the present disclosure does not make special limitations on the specific content of the first adjustment relationship.

[0070] In an exemplary embodiment of the present disclosure, the game virtual object refers to a game unit controlled by a player. The player can control the game virtual object to complete corresponding actions through various controls in the graphical user interface. Specifically, the game virtual object can include the protagonist, supporting roles, enemies, unit objects in the game, and also includes all objects with independent action elements such as plural groups. Any object that can directly execute the player's operation instructions in the game can be used as the game virtual object. The display form of the game virtual object can include human form, animal form, object form, etc., and also includes some game virtual objects with poor human presence, and their specific manifestation forms are device forms (such as mechas in mecha games, tanks in tank games, aircraft in aviation games, ships in naval games, etc.). It should be noted that the present disclosure does not make special limitations on the specific form of the game virtual object.

[0071] In an exemplary embodiment of the present disclosure, a game virtual scene refers to a virtual scene displayed (or provided) when an application is running on a terminal or server. Optionally, the virtual scene is a simulation environment of the real world, or a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene is any one of a two-dimensional virtual scene and a three-dimensional virtual scene, and the virtual environment can be the sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities. Among them, the virtual scene is a scene with complete game logic of virtual objects such as user control. For example, for sandbox 3D shooting games, the virtual scene is a 3D game world for players to control virtual objects to fight. Example virtual scenes may include: at least one element of mountains, plains, rivers, lakes, oceans, deserts, skies, plants, buildings, and vehicles; for example, for 2D card games, the virtual scene is a scene for displaying released cards or displaying virtual objects corresponding to cards. Example virtual scenes may include: an arena, a decisive battlefield, or other "field" elements or other elements that can display the status of card battles; for 2D or 3D multiplayer online tactical competitive games, the virtual scene is a 2D or 3D terrain scene for virtual objects to fight. Example virtual scenes may include: canyon-style mountains, lines, rivers, classrooms, tables and chairs, podiums and other elements.

[0072] Step S120, when the game virtual object is in the first moving state, receiving a second sliding control operation on the game virtual object, and acquiring a second sliding direction and a sliding speed of the second sliding control operation;

[0073] In an exemplary embodiment of the present disclosure, when the game virtual object is controlled to enter the first moving state through the above steps, a second sliding control operation for the game virtual object can be received, and the second sliding direction and sliding speed of the second sliding control operation can be obtained. Specifically, when the game virtual object is in the first moving state, it means that the game virtual object is moving in the game scene at a first acceleration. At this time, a second sliding control operation for the game virtual object can be received, and the second sliding direction and sliding speed of the second sliding control operation can be obtained. Specifically, the sliding speed of the second sliding control operation can include the instantaneous speed during the sliding process, and can also include the average speed of the second sliding control operation.

[0074] It should be noted that the present disclosure does not specifically limit the specific type and method of obtaining the sliding speed of the second sliding control operation.

[0075] Step S130, in response to the second sliding direction of the second sliding control operation satisfying the second angle range, determining a first acceleration according to the second sliding control operation and the first adjustment relationship, and controlling the movement of the virtual object according to the first acceleration;

[0076] In an exemplary embodiment of the present disclosure, after receiving the second sliding control operation through the above steps, and obtaining the second sliding direction and sliding speed of the second sliding control operation, it may be determined whether the second sliding direction satisfies the second angle range. If the second sliding direction of the second sliding control operation satisfies the second angle range, the first acceleration may be determined according to the second sliding control operation and the first adjustment relationship, and the virtual object may be controlled to move through the first acceleration. That is, when the game virtual object is in the first moving state, when receiving the second sliding control operation that satisfies the second angle range, only the first acceleration may be adjusted, and the virtual object may be controlled to move through the first acceleration.

[0077] Specifically, the first acceleration may be determined through the second sliding control operation and the first adjustment relationship. For example, the steering angle may be determined according to the second sliding control operation, and the acceleration value of the first acceleration may be determined according to the steering angle.

[0078] It should be noted that the present disclosure does not make special limitations on the specific manner of determining the first acceleration according to the second sliding control operation and the first adjustment relationship.

[0079] Step S140, in response to the second sliding direction of the second sliding control operation satisfying the third angle range and the sliding speed satisfying the speed threshold, control the game virtual object to switch from the first moving state to the second moving state;

[0080] In an exemplary embodiment of the present disclosure, after controlling the game virtual object to enter the first moving state through the above steps, and receiving the second sliding control operation, obtaining the second sliding direction and sliding speed of the second sliding control operation, it may be determined whether the second sliding control operation satisfies the third angle range, and whether the sliding speed of the second sliding control operation satisfies the speed threshold. After the second sliding control operation satisfies the above conditions, the game virtual object may be controlled to switch from the first moving state to the second moving state.

[0081] Wherein, the second moving state is a state in which the game virtual object moves with a second acceleration, the second acceleration satisfies a second adjustment relationship with the sliding control operation, the second adjustment relationship is different from the first adjustment relationship, and the third angle range is included in the second angle range.

[0082] In an exemplary embodiment of the present disclosure, the second acceleration satisfies a second adjustment relationship with the sliding control operation. For example, when controlling the game virtual object to perform a steering operation according to the sliding control operation, the second acceleration (second adjustment relationship) may be adjusted according to the change of the steering angle.

[0083] Alternatively, the second acceleration and the sliding control operation satisfying the second adjustment relationship includes that the longer the sliding trajectory corresponding to the sliding control operation is, the greater the acceleration value of the second acceleration (second adjustment relationship).

[0084] Specifically, only when the sliding speed of the second sliding control operation reaches the speed threshold and the sliding direction of the second sliding control operation is within the third angular range, the moving state of the game virtual object moving in the virtual game scene is switched.

[0085] In an exemplary embodiment of the present disclosure, the initial direction of the first acceleration is the same as the velocity direction of the game virtual object, and the initial direction of the second acceleration is opposite to the velocity direction of the game virtual object.

[0086] For example, as Figure 3 shown, after the game virtual object enters the first moving state, a second sliding control operation can be received to control the game virtual object to switch from the first moving state to the second moving state, where the second sliding direction 3023 of the second sliding control operation is within the third angular range 3022, the third angular range 3022 is within the second angular range 3021, and the first sliding direction 3013 of the first sliding control operation is within the first angular range 3011.

[0087] In an exemplary embodiment of the present disclosure, the first turning state of the game virtual object in the first moving state can be determined according to the second sliding control operation, and the first acceleration can be determined according to the first turning state of the game virtual object in the first moving state and the first adjustment relationship. Determining the first acceleration according to the first turning state of the game virtual object in the first moving state and the first adjustment relationship may include the following steps S210 to S220:

[0088] Step S210, determining the first turning state of the game virtual object in the first moving state according to the second sliding control operation;

[0089] In an exemplary embodiment of the present disclosure, after controlling the game virtual object to enter the first moving state through the above steps, the first turning state of the game virtual object in the first moving state can be determined according to the second sliding control operation. Specifically, the second sliding direction of the second sliding control operation satisfying the second angular range may indicate that the second sliding control operation is not a sliding control operation for switching the moving state. Therefore, in the first moving state, the first acceleration of the game virtual object can be determined according to the second sliding control operation.

[0090] Specifically, the first turning state of the game virtual object in the first moving state can be determined according to the second sliding control operation. For example, the turning state of the game virtual object in the moving state can include a turning speed value, a turning direction, etc. The turning speed value and the turning direction can be determined through the second sliding control operation. For example, the turning speed value can be determined according to the sliding speed of the second sliding control operation, and the turning direction can be determined according to the second sliding direction of the second sliding control operation.

[0091] It should be noted that the present disclosure does not make any special limitations on the specific manner of determining the first turning state of the game virtual object in the first moving state according to the second sliding control operation.

[0092] For example, the first turning state may include a turning direction, such as Figure 4 As shown, the second sliding control operation is the sliding touch operation 401, and the direction of this sliding touch operation is the direction 403 from the sliding start point 4011 to the sliding end point 4013 of the sliding touch operation. The turning speed value control operation is the sliding touch operation 403, and the direction of this sliding touch operation is the direction 404 from the sliding start point 4031 to the sliding end point 4033 of the sliding touch operation. Among them, the direction 403 and the direction 404 are different. When the direction of the sliding touch operation is 403, it can be determined that the turning direction of the game virtual object moving in the virtual game scene is the first turning direction, for example, to the left with the graphical user interface as the standard. When the direction of the sliding touch operation is 404, it can be determined that the turning direction of the game virtual object moving in the virtual game scene is the second turning direction, for example, to the right with the graphical user interface as the standard.

[0093] Step S220, determine the first acceleration according to the first turning state and the first adjustment relationship of the game virtual object in the first moving state.

[0094] In an exemplary embodiment of the present disclosure, after determining the first turning state of the game virtual object in the first moving state through the above steps, the first acceleration can be determined according to the first turning state and the first adjustment relationship of the game virtual object in the first moving state. Specifically, the first adjustment relationship can be used to indicate the relationship between the first turning state and the first acceleration, and the first acceleration can be determined according to the first turning state and the first adjustment relationship. Specifically, the first turning state includes a turning speed value and a turning direction.

[0095] For example, as Figure 5 shown, as the turning speed value in the first turning state increases, according to the first adjustment relationship, it can be determined that the acceleration value of the first acceleration will gradually decrease, conforming to a linear relationship. When the acceleration value of the first acceleration is zero, the acceleration is increased again so that the game virtual object performs a movement with an increasing acceleration.

[0096] For another example, as Figure 6 shown, as the steering speed value in the first steering state increases, according to the first adjustment relationship, it can be determined that the acceleration value of the first acceleration will gradually increase. When the steering speed value increases, the acceleration value of the first acceleration can be increased, that is, the game virtual object performs a movement with increasing acceleration.

[0097] It should be noted that the present disclosure does not make special limitations on the specific manner of determining the first acceleration according to the first steering state and the first adjustment relationship of the game virtual object in the first movement state.

[0098] Through the above steps S210 to S220, the first steering state of the game virtual object in the first movement state can be determined according to the second sliding control operation, and the first acceleration can be determined according to the first steering state and the first adjustment relationship of the game virtual object in the first movement state. Through the embodiments of the present disclosure, the acceleration can be determined according to the steering state, which can improve the authenticity of controlling the game virtual object in the game.

[0099] In an exemplary embodiment of the present disclosure, the first steering component of the second sliding control operation in the horizontal direction can be obtained, and the first steering state of the game virtual object in the first movement state can be determined according to the first steering component. Determining the first steering state of the game virtual object in the first movement state according to the first steering component may include the following steps S310 to S320:

[0100] Step S310, obtaining the first steering component of the second sliding control operation in the horizontal direction;

[0101] In an exemplary embodiment of the present disclosure, after obtaining the second sliding control operation through the above steps, the first steering component of the second sliding control operation in the horizontal direction can be obtained. Specifically, the second sliding control operation can be mapped to the horizontal direction to obtain the first steering component of the second sliding control operation in the horizontal direction.

[0102] It should be noted that the present disclosure does not make special limitations on the specific manner of obtaining the first steering component of the second sliding control operation in the horizontal direction.

[0103] Furthermore, a rectangular coordinate system can be established with the sliding starting point of the second sliding control operation as the coordinate origin, and the second sliding control operation can be mapped to the horizontal coordinate axis to obtain the first steering component of the second sliding control operation in the horizontal direction.

[0104] For example, as Figure 7As shown, a rectangular coordinate system can be established with the starting point of the second sliding control operation as the coordinate origin o, and the second sliding control operation 701 is mapped onto the horizontal coordinate axis to obtain the first turning component 702 of the second sliding control operation in the horizontal direction.

[0105] Step S320: Determine the first turning state of the game virtual object in the first moving state according to the first turning component.

[0106] In an exemplary embodiment of the present disclosure, after determining the first turning component of the second sliding control operation in the horizontal direction through the above steps, the first turning state of the game virtual object in the first moving state can be determined according to the first turning component. Specifically, the values of the turning parameters in the first turning state can be determined according to the first turning component.

[0107] In an exemplary embodiment of the present disclosure, the turning speed value of the first turning state and the turning direction of the first turning state can be determined according to the first turning component. Among them, the turning direction includes a first turning direction and a second turning direction, and the first turning direction is different from the second turning direction. The turning direction in which the game virtual object moves in the virtual game scene can be used to indicate the direction in which the game virtual object rotates.

[0108] Specifically, the turning speed value refers to the turning speed value when the game virtual object moves in the virtual game scene. For example, if the turning speed value of the game virtual object moving in the virtual game scene is Arad / s, then when the game virtual object moves in the virtual game scene, it turns at Arad / s.

[0109] For example, the turning speed value of the first turning state can be determined according to the specific value of the first turning component, and the turning direction of the first turning state can be determined according to the direction of the first turning component. For example, when the direction of the first turning component is left, the turning direction of the first turning state is also left.

[0110] Furthermore, the first turning state of the game virtual object in the first moving state can be determined according to the specific value of the first turning component.

[0111] For example, when the first turning component is 2 cm, it is determined that the turning speed value of the game virtual object moving in the virtual game scene is 2 Arad / s. When the first turning component is 5 cm, it is determined that the turning speed value of the game virtual object moving in the virtual game scene is 5 Arad / s.

[0112] For example, as Figure 8 shown, as the first turning component increases, the turning speed value of the game virtual object moving in the virtual game scene increases.

[0113] Specifically, the expression of the relationship between the first steering component and the first acceleration is as follows, where A is the first acceleration, d is the first steering component, and x is the acceleration adjustment parameter:

[0114] A = -x * d

[0115] It should be noted that this disclosure does not make any special limitations on the specific manner of determining the first steering state of the game virtual object in the first moving state according to the first steering component.

[0116] Through the above steps S310 to S320, the first steering component in the horizontal direction of the second sliding control operation can be obtained, and the first steering state of the game virtual object in the first moving state can be determined according to the first steering component. Through the embodiments of the present disclosure, the steering state can be determined by the steering component, reducing the control difficulty of the player for the game virtual object.

[0117] In an exemplary embodiment of the present disclosure, the first acceleration component in the vertical direction of the first sliding control operation can be obtained, and the first acceleration can be determined according to the first acceleration component and the first adjustment relationship. Determining the first acceleration according to the first acceleration component and the first adjustment relationship may include the following steps S410 to S420:

[0118] Step S410, obtaining the first acceleration component in the vertical direction of the first sliding control operation;

[0119] In an exemplary embodiment of the present disclosure, after obtaining the first sliding control operation through the above steps, the first acceleration component in the vertical direction of the first sliding control operation can be obtained. Specifically, the first sliding control operation can be mapped to the vertical direction to obtain the first acceleration component in the vertical direction of the first sliding control operation.

[0120] It should be noted that this disclosure does not make any special limitations on the specific manner of obtaining the first acceleration component in the vertical direction of the first sliding control operation.

[0121] Furthermore, a rectangular coordinate system can be established with the sliding starting point of the first sliding control operation as the coordinate origin, and the first sliding control operation can be mapped to the vertical coordinate axis to obtain the first acceleration component in the vertical direction of the first sliding control operation.

[0122] Step S420, determining the first acceleration according to the first acceleration component and the first adjustment relationship.

[0123] In an exemplary embodiment of the present disclosure, after obtaining the first acceleration component through the above steps, the first acceleration can be determined according to the first acceleration component and the first adjustment relationship. Specifically, the first acceleration can include an acceleration value and an acceleration direction. The first adjustment relationship can be used to indicate the relationship between the steering state and the acceleration. For example, when the steering speed value in the steering state increases, the acceleration value in the acceleration decreases. Therefore, the first acceleration can be determined according to the first acceleration component and the first adjustment relationship.

[0124] For example, the acceleration value of the first steering state can be determined according to the specific value of the first acceleration component, and the acceleration direction of the first acceleration can be determined according to the direction of the first acceleration component. For example, when the direction of the first acceleration component is upward, the acceleration direction of the first acceleration is positive.

[0125] Through the above steps S410-S420, the first acceleration component in the vertical direction of the first sliding control operation can be obtained, and the first acceleration can be determined according to the first acceleration component and the first adjustment relationship. Through the embodiments of the present disclosure, the acceleration can be determined according to the acceleration component and the adjustment relationship, which can improve the control accuracy of the acceleration and improve the operation limit of the player.

[0126] In an exemplary embodiment of the present disclosure, the first acceleration can be determined according to the first sliding control operation, the sliding start point of the first sliding control operation can be obtained, the operation central axis can be determined according to the sliding start point, the second steering component in the horizontal direction of the first sliding control operation can be obtained, when the second steering component exceeds the non-response range, the second steering state can be determined according to the second steering component, the first movement state can be determined according to the second steering state and the first acceleration, and when the second steering component does not exceed the non-response range, the first movement state can be determined according to the first acceleration. When the second steering component does not exceed the non-response range, determining the first movement state according to the first acceleration can include the following steps S510-S550:

[0127] Step S510, determining the first acceleration according to the first sliding control operation;

[0128] In an exemplary embodiment of the present disclosure, after receiving the first sliding control operation through the above steps, the first acceleration can be determined according to the first sliding control operation. Specifically, the first acceleration of the game virtual object in the first movement state can be determined according to the first sliding control operation and the first adjustment relationship.

[0129] It should be noted that the present disclosure does not make special limitations on the specific manner of determining the first acceleration according to the first sliding control operation.

[0130] Step S520, obtaining the sliding start point of the first sliding control operation, and determining the operation central axis according to the sliding start point;

[0131] In an exemplary embodiment of the present disclosure, after determining the first acceleration through the above steps, the starting point of the first sliding control operation can be obtained, and the operation central axis can be determined based on the starting point. Among them, the operation central axis has a non-responsive range. Specifically, a vertical line passing through the starting point of the slide can be created and determined as the operation central axis.

[0132] It should be noted that the present disclosure does not make special limitations on the specific manner of determining the operation central axis based on the starting point of the slide.

[0133] Step S530, obtaining a second turning component of the first sliding control operation in the horizontal direction;

[0134] In an exemplary embodiment of the present disclosure, after obtaining the first sliding control operation through the above steps, a second turning component of the first sliding control operation in the horizontal direction can be obtained. Specifically, the first sliding control operation can be mapped to the horizontal direction to obtain the second turning component of the first sliding control operation in the horizontal direction.

[0135] It should be noted that the present disclosure does not make special limitations on the specific manner of obtaining the second turning component of the first sliding control operation in the horizontal direction.

[0136] Furthermore, a rectangular coordinate system can be established with the starting point of the first sliding control operation as the coordinate origin, and the first sliding control operation can be mapped to the horizontal coordinate axis to obtain the second turning component of the first sliding control operation in the horizontal direction.

[0137] It should be noted that the present disclosure does not make special limitations on the specific manner of obtaining the second turning component of the first sliding control operation in the horizontal direction.

[0138] Step S540, when the second turning component exceeds the non-responsive range, determining a second turning state according to the second turning component, and determining a first moving state according to the second turning state and the first acceleration;

[0139] Step S550, when the second turning component does not exceed the non-responsive range, determining the first moving state according to the first acceleration.

[0140] In an exemplary embodiment of the present disclosure, after obtaining the second steering component of the first sliding control operation through the above steps, it can be determined whether the second steering component exceeds the non-responsive range corresponding to the operation central axis. If the second steering component exceeds the non-responsive range, the second steering state is determined according to the second steering component, and the first movement state is determined according to the second steering state and the first acceleration. If the second steering component does not exceed the non-responsive range, the first movement state is determined according to the first acceleration. That is, when the length of the second steering component is short (does not exceed the non-responsive range), it can indicate that the current first sliding control operation is only used to determine the first acceleration, and the first movement state is determined according to the first acceleration. When the second steering component exceeds the non-responsive range, it can indicate that the current first sliding control operation can be used to determine the first acceleration and can also be used to determine the second steering state, and the first movement state is determined according to the first acceleration and the second steering state.

[0141] As Figure 9 shown, the sliding start point 902 of the first sliding control operation 901 can be obtained, the operation central axis 903 is determined according to the sliding start point, the operation central axis 903 has a non-responsive range 904, and when the second steering component 905 of the first sliding control operation exceeds the non-responsive range, the second steering state is determined according to the second steering component, and the first movement state is determined according to the second steering state and the first acceleration.

[0142] Through the above steps S510 - S550, the first acceleration can be determined according to the first sliding control operation, the sliding start point of the first sliding control operation is obtained, the operation central axis is determined according to the sliding start point, the second steering component of the first sliding control operation in the horizontal direction is obtained. When the second steering component exceeds the non-responsive range, the second steering state is determined according to the second steering component, and the first movement state is determined according to the second steering state and the first acceleration. When the second steering component does not exceed the non-responsive range, the first movement state is determined according to the first acceleration. Through the embodiments of the present disclosure, a game dead zone can be set for the first sliding control operation, that is, only when the second steering component of the first sliding control operation exceeds the game dead zone, the corresponding action will be executed, which can avoid the player's misoperation in the game, improve the accuracy of the game operation, and avoid the adverse state of the game round caused by the game misoperation.

[0143] In an exemplary embodiment of the present disclosure, the starting point of the first sliding control operation can be obtained, and the operation central axis can be determined based on the starting point of the slide. When the second steering component reaches the maximum value of the operation central axis, the operation central axis can be moved according to the increase of the second steering component. Specifically, the operation central axis has a maximum steering component range. When the maximum value of the second steering component reaches the maximum value of the operation central axis, the operation central axis can be moved as the second steering component increases. At this time, the distance between the leading end of the second steering component and the operation central axis remains unchanged, and the distance between the leading end of the second steering component and the operation central axis is the maximum value of the operation central axis.

[0144] It should be noted that the following embodiments are solutions regarding the second adjustment relationship. For the specific solutions and drawings, reference can be made to the relevant solutions of the first adjustment relationship.

[0145] In an exemplary embodiment of the present disclosure, when the game virtual object is in the second moving state, a third sliding control operation for the game virtual object can be received, and the second acceleration can be determined according to the third sliding control operation and the second adjustment relationship. Determining the second acceleration according to the third sliding control operation and the second adjustment relationship can include the following steps S610 to S620:

[0146] Step S610, when the game virtual object is in the second moving state, receive a third sliding control operation for the game virtual object;

[0147] Step S620, determine the second acceleration according to the third sliding control operation and the second adjustment relationship.

[0148] In an exemplary embodiment of the present disclosure, when the game virtual object is in the second moving state, a third sliding control operation for the game virtual object is received, and the second acceleration is determined according to the third sliding control operation and the second adjustment relationship. That is, when the game virtual object is in the second moving state, when the third sliding control operation is received, only the second acceleration can be adjusted, and the virtual object is controlled to move through the second acceleration.

[0149] Specifically, the second acceleration can be determined through the third sliding control operation and the second adjustment relationship. For example, the steering angle can be determined according to the third sliding control operation, and the acceleration value of the second acceleration can be determined according to the steering angle.

[0150] It should be noted that the present disclosure does not make special limitations on the specific manner of determining the second acceleration according to the third sliding control operation and the second adjustment relationship.

[0151] Through the above steps S610 - S620, when the game virtual object is in the second moving state, a third sliding control operation for the game virtual object can be received, and a second acceleration can be determined according to the third sliding control operation and the second adjustment relationship. Through the embodiments of the present disclosure, when the game virtual object is in the second moving state, the second acceleration can be determined according to the third sliding control operation, so as to enable the player to precisely control the game virtual object.

[0152] In an exemplary embodiment of the present disclosure, the third turning state of the game virtual object in the second moving state can be determined according to the third sliding control operation, and the second acceleration can be determined according to the third turning state of the game virtual object in the second moving state and the second adjustment relationship. Determining the second acceleration according to the third turning state of the game virtual object in the second moving state and the second adjustment relationship may include the following steps S710 - S720:

[0153] Step S710, determining the third turning state of the game virtual object in the second moving state according to the third sliding control operation;

[0154] In an exemplary embodiment of the present disclosure, after controlling the game virtual object to enter the second moving state through the above steps, the third turning state of the game virtual object in the second moving state can be determined according to the third sliding control operation.

[0155] For example, the turning state of the game virtual object in the moving state may include a turning speed value, a turning direction, etc. The turning speed value and the turning direction can be determined through the third sliding control operation. For example, the turning speed value can be determined according to the sliding speed of the third sliding control operation, and the turning direction can be determined according to the third sliding direction of the third sliding control operation.

[0156] It should be noted that the present disclosure does not make special limitations on the specific manner of determining the third turning state of the game virtual object in the second moving state according to the third sliding control operation.

[0157] Step S720, determining the second acceleration according to the third turning state of the game virtual object in the second moving state and the second adjustment relationship.

[0158] In an exemplary embodiment of the present disclosure, after determining the third turning state of the game virtual object in the second moving state through the above steps, the second acceleration can be determined according to the third turning state of the game virtual object in the second moving state and the second adjustment relationship. Specifically, the second adjustment relationship can be used to indicate the relationship between the third turning state and the second acceleration, and the second acceleration can be determined according to the third turning state and the second adjustment relationship.

[0159] For example, as the steering speed value in the third steering state increases, according to the second adjustment relationship, it can be determined that the acceleration value of the second acceleration will gradually decrease, which conforms to a linear relationship.

[0160] It should be noted that the present disclosure does not make any special limitations on the specific manner of determining the second acceleration based on the third steering state and the second adjustment relationship of the game virtual object in the second movement state.

[0161] Through the above steps S710 to S720, the third steering state of the game virtual object in the second movement state can be determined according to the third sliding control operation, and the second acceleration can be determined according to the third steering state and the second adjustment relationship of the game virtual object in the second movement state. Through the embodiments of the present disclosure, the acceleration can be determined according to the steering state, which can improve the authenticity of controlling the game virtual object in the game.

[0162] In an exemplary embodiment of the present disclosure, the third steering component of the third sliding control operation in the horizontal direction can be obtained, and the third steering state of the game virtual object in the second movement state can be determined according to the third steering component. Determining the third steering state of the game virtual object in the second movement state according to the third steering component may include the following steps S810 to S820:

[0163] Step S810, obtaining the third steering component of the third sliding control operation in the horizontal direction;

[0164] In an exemplary embodiment of the present disclosure, after obtaining the third sliding control operation through the above steps, the third steering component of the third sliding control operation in the horizontal direction can be obtained. Specifically, the third sliding control operation can be mapped to the horizontal direction to obtain the third steering component of the third sliding control operation in the horizontal direction.

[0165] It should be noted that the present disclosure does not make any special limitations on the specific manner of obtaining the third steering component of the third sliding control operation in the horizontal direction.

[0166] Furthermore, a rectangular coordinate system can be established with the sliding starting point of the third sliding control operation as the coordinate origin, and the third sliding control operation can be mapped to the horizontal coordinate axis to obtain the third steering component of the third sliding control operation in the horizontal direction.

[0167] Step S820, determining the third steering state of the game virtual object in the second movement state according to the third steering component.

[0168] In an exemplary embodiment of the present disclosure, after determining the third steering component of the second sliding control operation in the horizontal direction through the above steps, the third steering state of the game virtual object in the second moving state can be determined according to the third steering component. Specifically, the values of the respective steering parameters in the third steering state can be determined according to the third steering component.

[0169] In an exemplary embodiment of the present disclosure, the steering speed value of the third steering state and the steering direction of the third steering state can be determined according to the third steering component. Among them, the steering direction includes a first steering direction and a second steering direction, and the first steering direction is different from the second steering direction. The steering direction in which the game virtual object moves in the virtual game scene can be used to indicate the direction in which the game virtual object rotates.

[0170] Specifically, the steering speed value refers to the steering speed value when the game virtual object moves in the virtual game scene. For example, if the steering speed value of the game virtual object moving in the virtual game scene is Arad / s, then when the game virtual object moves in the virtual game scene, it steers at Arad / s.

[0171] For example, the steering speed value of the third steering state can be determined according to the specific value of the third steering component, and the steering direction of the third steering state can be determined according to the direction of the third steering component. For example, when the direction of the third steering component is left, the steering direction of the third steering state is also left.

[0172] Furthermore, the third steering state of the game virtual object in the second moving state can be determined according to the specific value of the third steering component.

[0173] For example, when the third steering component is 2 cm, it is determined that the steering speed value of the game virtual object moving in the virtual game scene is 2 Arad / s. When the third steering component is 5 cm, it is determined that the steering speed value of the game virtual object moving in the virtual game scene is 5 Arad / s.

[0174] Specifically, the expression of the relationship between the third steering component and the second acceleration is as follows, where A is the second acceleration, d is the third steering component, and x is the acceleration adjustment parameter:

[0175] A = -x * d

[0176] It should be noted that the present disclosure does not make special limitations on the specific manner of determining the third steering state of the game virtual object in the second moving state according to the third steering component.

[0177] Through the above steps S810 to S820, the third steering component of the third sliding control operation in the horizontal direction can be obtained, and the third steering state of the game virtual object in the second moving state can be determined according to the third steering component. Through the embodiments of the present disclosure, the steering state can be determined by the steering component, reducing the control difficulty of the player for the game virtual object.

[0178] In an exemplary embodiment of the present disclosure, the second acceleration component of the third sliding control operation in the vertical direction can be obtained, and the second acceleration can be determined according to the second acceleration component and the second adjustment relationship. Determining the second acceleration according to the second acceleration component and the second adjustment relationship may include the following steps S910 to S920:

[0179] Step S910, obtaining the second acceleration component of the third sliding control operation in the vertical direction;

[0180] In an exemplary embodiment of the present disclosure, after obtaining the third sliding control operation through the above steps, the second acceleration component of the third sliding control operation in the vertical direction can be obtained. Specifically, the third sliding control operation can be mapped to the vertical direction to obtain the second acceleration component of the third sliding control operation in the vertical direction.

[0181] It should be noted that the present disclosure does not make special limitations on the specific manner of obtaining the second acceleration component of the third sliding control operation in the vertical direction.

[0182] Furthermore, a rectangular coordinate system can be established with the sliding starting point of the third sliding control operation as the coordinate origin, and the third sliding control operation can be mapped to the vertical coordinate axis to obtain the second acceleration component of the third sliding control operation in the vertical direction.

[0183] Step S920, determining the second acceleration according to the second acceleration component and the second adjustment relationship.

[0184] In an exemplary embodiment of the present disclosure, after obtaining the second acceleration component through the above steps, the second acceleration can be determined according to the second acceleration component and the second adjustment relationship. Specifically, the second acceleration can include an acceleration value and an acceleration direction. The second adjustment relationship can be used to indicate the relationship between the steering state and the acceleration. For example, when the steering speed value in the steering state increases, the acceleration value in the acceleration decreases. Therefore, the second acceleration can be determined according to the second acceleration component and the second adjustment relationship.

[0185] For example, the acceleration value of the second steering state can be determined according to the specific value of the second acceleration component, and the acceleration direction of the second acceleration can be determined according to the direction of the second acceleration component. For example, when the direction of the second acceleration component is upward, the acceleration direction of the second acceleration is positive.

[0186] Through the above steps S910 to S920, the second acceleration component of the third sliding control operation in the vertical direction can be obtained, and the second acceleration is determined according to the second acceleration component and the second adjustment relationship. Through the embodiments of the present disclosure, the acceleration can be determined according to the acceleration component and the adjustment relationship, which can improve the control accuracy of the acceleration and increase the upper limit of the player's operation.

[0187] In the virtual object control method provided by an embodiment of the present disclosure, a first sliding control operation for a game virtual object can be received. When the first sliding direction of the first sliding control operation satisfies a first angle range, the game virtual object is controlled to enter a first moving state. When the game virtual object is in the first moving state, a second sliding control operation for the game virtual object is received, and the second sliding direction and the sliding speed of the second sliding control operation are obtained. When the second sliding direction of the second sliding control operation satisfies a second angle range, a first acceleration is determined according to the second sliding control operation and a first adjustment relationship, and the virtual object is controlled to move according to the first acceleration. When the second sliding direction of the second sliding control operation satisfies a third angle range and the sliding speed satisfies a speed threshold, the game virtual object is controlled to switch from the first moving state to a second moving state. By controlling the acceleration and the turning speed value of the game virtual object, the movement of the game virtual object can be made more realistic and smoother. It enables the player to handle the in-game situation according to common sense, avoid losses in the game, reduce the control difficulty of the virtual game object, lower the difficulty for novice players to get started with the game, thereby reducing the player's playing cost, and further avoiding player churn.

[0188] It should be noted that the above drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not for limiting purposes. It is easy to understand that the processes shown in the above drawings do not indicate or limit the time sequence of these processes. Additionally, it is also easy to understand that these processes can be executed synchronously or asynchronously in, for example, multiple modules.

[0189] In addition, in the exemplary embodiment of the present disclosure, a virtual object control device is also provided. Referring to Figure 10 As shown, a virtual object control device 1000 includes: a first operation receiving module 1010, a second operation receiving unit 1020, a first angle range response unit 1030, and a second angle range response unit 1040.

[0190] Among them, the first operation receiving module is used to receive a first sliding control operation for a game virtual object. When the first sliding direction of the first sliding control operation satisfies a first angle range, it controls the game virtual object to enter a first moving state. Among them, the first moving state is a state in which the game virtual object moves with a first acceleration, and the first acceleration and the sliding control operation satisfy a first adjustment relationship. The second operation receiving unit is used to receive a second sliding control operation for the game virtual object and obtain the second sliding direction and sliding speed of the second sliding control operation when the game virtual object is in the first moving state. The first angle range response unit is used to, when the second sliding direction of the second sliding control operation satisfies a second angle range, determine a first acceleration according to the second sliding control operation and the first adjustment relationship, and control the virtual object to move according to the first acceleration. The second angle range response unit is used to, when the second sliding direction of the second sliding control operation satisfies a third angle range and the sliding speed satisfies a speed threshold, control the game virtual object to switch from the first moving state to a second moving state. Among them, the second moving state is a state in which the game virtual object moves with a second acceleration, the second acceleration and the sliding control operation satisfy a second adjustment relationship, the second adjustment relationship is different from the first adjustment relationship, and the third angle range is included in the second angle range.

[0191] In an exemplary embodiment of the present disclosure, based on the foregoing solution, when determining a first acceleration according to the second sliding control operation and the first adjustment relationship, the device further includes: a first steering state determination unit, configured to determine a first steering state of the game virtual object in the first moving state according to the second sliding control operation; a first acceleration determination unit, configured to determine a first acceleration according to the first steering state of the game virtual object in the first moving state and the first adjustment relationship.

[0192] In an exemplary embodiment of the present disclosure, based on the foregoing solution, when determining a first steering state of the game virtual object in the first moving state according to the second sliding control operation, the device further includes: a first steering component acquisition unit, configured to acquire a first steering component of the second sliding control operation in the horizontal direction; a first steering component determination unit, configured to determine a first steering state of the game virtual object in the first moving state according to the first steering component.

[0193] In an exemplary embodiment of the present disclosure, based on the foregoing solution, the first steering state includes a steering speed value and a steering direction, and the device further includes: a steering parameter acquisition unit, configured to determine the steering speed value of the first steering state and the steering direction of the first steering state according to the first steering component.

[0194] In an exemplary embodiment of the present disclosure, based on the foregoing solution, the device further includes: a first acceleration component acquisition unit configured to acquire a first acceleration component of a first sliding control operation in the vertical direction; a first acceleration component determination unit configured to determine a first acceleration according to the first acceleration component and a first adjustment relationship.

[0195] In an exemplary embodiment of the present disclosure, based on the foregoing solution, the device further includes: a first sliding control operation determination unit configured to determine a first acceleration according to a first sliding control operation; an operation central axis determination unit configured to acquire a sliding start point of the first sliding control operation and determine an operation central axis according to the sliding start point; wherein the operation central axis has a non-responsive range; a second steering component acquisition unit configured to acquire a second steering component of the first sliding control operation in the horizontal direction; a steering component exceeding unit configured to, when the second steering component exceeds the non-responsive range, determine a second steering state according to the second steering component and determine a first movement state according to the second steering state and the first acceleration; a steering component not exceeding unit configured to, when the second steering component does not exceed the non-responsive range, determine a first movement state according to the first acceleration.

[0196] In an exemplary embodiment of the present disclosure, based on the foregoing solution, the device further includes: a maximum value arrival unit configured to, when the second steering component reaches the maximum value of the operation central axis, move the operation central axis according to the increase of the second steering component.

[0197] In an exemplary embodiment of the present disclosure, based on the foregoing solution, the device further includes: a third sliding control operation receiving unit configured to receive a third sliding control operation for a game virtual object when the game virtual object is in a second movement state; a second acceleration determination unit configured to determine a second acceleration according to the third sliding control operation and a second adjustment relationship.

[0198] In an exemplary embodiment of the present disclosure, based on the foregoing solution, for determining a first acceleration according to a third sliding control operation and a second adjustment relationship, the device further includes: a third steering state determination unit configured to determine a third steering state of the game virtual object in the second movement state according to the third sliding control operation; a second adjustment relationship determination unit configured to determine a second acceleration according to the third steering state of the game virtual object in the second movement state and the second adjustment relationship.

[0199] In an exemplary embodiment of the present disclosure, based on the foregoing solution, for determining a third steering state of the game virtual object in the second movement state according to a third sliding control operation, the device further includes: a third steering component acquisition unit configured to acquire a third steering component of the third sliding control operation in the horizontal direction; a third steering component determination unit configured to determine a third steering state of the game virtual object in the second movement state according to the third steering component.

[0200] In an exemplary embodiment of the present disclosure, based on the foregoing solution, the third steering state includes a steering speed value and a steering direction. The device further includes: a second steering parameter acquisition unit, configured to determine the steering speed value of the third steering state and the steering direction of the third steering state according to the third steering component.

[0201] In an exemplary embodiment of the present disclosure, based on the foregoing solution, a second acceleration is determined according to the third sliding control operation and the second adjustment relationship. The device further includes: a second acceleration component acquisition unit, configured to acquire a second acceleration component of the third sliding control operation in the vertical direction; a second acceleration component determination unit, configured to determine the second acceleration according to the second acceleration component and the second adjustment relationship.

[0202] In an exemplary embodiment of the present disclosure, based on the foregoing solution, the initial direction of the first acceleration is the same as the velocity direction of the game virtual object, and the initial direction of the second acceleration is opposite to the velocity direction of the game virtual object.

[0203] Since each functional module of the virtual object control device in the exemplary embodiment of the present disclosure corresponds to the steps in the exemplary embodiment of the above virtual object control method, for the details not disclosed in the device embodiment of the present disclosure, please refer to the embodiment of the above virtual object control method of the present disclosure.

[0204] It should be noted that although several modules or units of a device for action execution are mentioned in the above detailed description, such a division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more of the above-mentioned modules or units may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided and embodied by a plurality of modules or units.

[0205] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above virtual object control method is further provided.

[0206] Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, a method, or a program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which can be collectively referred to as "circuit", "module", or "system" here.

[0207] The following refers to Figure 11 to describe the electronic device 1100 according to this embodiment of the present disclosure. Figure 11 The illustrated electronic device 1100 is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0208] As shown Figure 11 in the figure, the electronic device 1100 is presented in the form of a general-purpose computing device. The components of the electronic device 1100 may include, but are not limited to: at least one of the above-mentioned processing units 1110, at least one of the above-mentioned storage units 1120, a bus 1130 connecting different system components (including the storage unit 1120 and the processing unit 1110), and a display unit 1140.

[0209] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 1110, so that the processing unit 1110 executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification. For example, the processing unit 1110 can execute steps such as Figure 1 shown in Figure S110, receive a first sliding control operation for a game virtual object, and in response to the first sliding direction of the first sliding control operation satisfying a first angle range, control the game virtual object to enter a first moving state; wherein, the first moving state is a state in which the game virtual object moves with a first acceleration, and the first acceleration satisfies a first adjustment relationship with the sliding control operation; step S120, when the game virtual object is in the first moving state, receive a second sliding control operation for the game virtual object, and obtain the second sliding direction and sliding speed of the second sliding control operation; step S130, in response to the second sliding direction of the second sliding control operation satisfying a second angle range, determine a first acceleration according to the second sliding control operation and the first adjustment relationship, and control the virtual object to move according to the first acceleration; step S140, in response to the second sliding direction of the second sliding control operation satisfying a third angle range and the sliding speed satisfying a speed threshold, control the game virtual object to switch from the first moving state to a second moving state; wherein, the second moving state is a state in which the game virtual object moves with a second acceleration, and the second acceleration satisfies a second adjustment relationship with the sliding control operation, and the second adjustment relationship is different from the first adjustment relationship, and the third angle range is included in the second angle range.

[0210] Again, for example, the electronic device can implement each step as Figure 1 shown in the figure.

[0211] The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1121 and / or a cache storage unit 1122, and may further include a read-only storage unit (ROM) 1123.

[0212] The storage unit 1120 may also include a program / utility 1124 having a set (at least one) of program modules 1125. Such program modules 1125 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.

[0213] The bus 1130 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus structures.

[0214] The electronic device 1100 may also communicate with one or more external devices 1170 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 1100, and / or communicate with any device that enables the electronic device 1100 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be carried out through an input / output (I / O) interface 1150. Moreover, the electronic device 1100 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 1160. As shown in the figure, the network adapter 1160 communicates with other modules of the electronic device 1100 through the bus 1130. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0215] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or can be implemented by the way of software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0216] In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having a program product stored thereon that can implement the above-described method of this specification. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.

[0217] A computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program used by or in conjunction with an instruction execution system, apparatus, or device.

[0218] The program code contained on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0219] The program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0220] In addition, the above-mentioned drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, rather than for limiting purposes. It is easy to understand that the processes shown in the above-mentioned drawings do not indicate or limit the time sequence of these processes. Additionally, it is also easy to understand that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0221] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.

Claims

1. A method for controlling a virtual object, characterized in that, Display a virtual game scene and game virtual objects therein through a graphical user interface of a terminal device. The method includes: Receive a first sliding control operation for a game virtual object. When the first sliding direction of the first sliding control operation satisfies a first angle range, control the game virtual object to enter a first moving state. Wherein, the first moving state is a state in which the game virtual object moves with a first acceleration, and the first acceleration and the sliding control operation satisfy a first adjustment relationship; When the game virtual object is in the first moving state, receive a second sliding control operation for the game virtual object, and obtain the second sliding direction and sliding speed of the second sliding control operation; When the second sliding direction of the second sliding control operation satisfies a second angle range, adjust the first acceleration according to the second sliding control operation and the first adjustment relationship to determine an adjusted first acceleration, and control the game virtual object to move according to the adjusted first acceleration; When the second sliding direction of the second sliding control operation satisfies a third angle range and the sliding speed satisfies a speed threshold, control the game virtual object to switch from the first moving state to a second moving state. Wherein, the second moving state is a state in which the game virtual object moves with a second acceleration, the second acceleration and the sliding control operation satisfy a second adjustment relationship, the second adjustment relationship is different from the first adjustment relationship, the third angle range is included in the second angle range, the initial direction of the first acceleration is the same as the speed direction of the game virtual object, and the initial direction of the second acceleration is opposite to the speed direction of the game virtual object.

2. The method according to claim 1, wherein The adjusting the first acceleration according to the second sliding control operation and the first adjustment relationship to determine an adjusted first acceleration includes: Determine a first turning state of the game virtual object in the first moving state according to the second sliding control operation; Adjust the first acceleration according to the first turning state of the game virtual object in the first moving state and the first adjustment relationship to determine the adjusted first acceleration.

3. The method according to claim 2, wherein The determining a first turning state of the game virtual object in the first moving state according to the second sliding control operation includes: Obtain a first turning component of the second sliding control operation in the horizontal direction; Determine a first turning state of the game virtual object in the first moving state according to the first turning component.

4. The method according to claim 3, wherein The first turning state includes a turning speed value and a turning direction. The method further includes: Determine the turning speed value of the first turning state and the turning direction of the first turning state according to the first turning component.

5. The method according to claim 1, wherein The method further includes: Obtain a first acceleration component of the first sliding control operation in the vertical direction; Determine the first acceleration according to the first acceleration component and the first adjustment relationship.

6. The method according to claim 1, characterized in that, The method further includes: Determine a first acceleration according to the first sliding control operation; Obtain the starting point of the first sliding control operation, and determine the operation central axis according to the starting point; wherein, the operation central axis has a non-responsive range; Obtain the second turning component of the first sliding control operation in the horizontal direction; When the second turning component exceeds the non-responsive range, determine the second turning state according to the second turning component, and determine the first moving state according to the second turning state and the first acceleration; When the second turning component does not exceed the non-responsive range, determine the first moving state according to the first acceleration.

7. The method according to claim 6, characterized in that, The method further includes: When the second turning component reaches the maximum value of the operation central axis, move the operation central axis according to the increase of the second turning component.

8. The method according to claim 1, wherein The method further includes: When the game virtual object is in the second moving state, receive a third sliding control operation for the game virtual object; Adjust the second acceleration according to the third sliding control operation and the second adjustment relationship to determine the adjusted second acceleration.

9. The method according to claim 8, characterized in that, The determining the adjustment of the second acceleration according to the third sliding control operation and the second adjustment relationship to determine the adjusted second acceleration includes: Determine the third turning state of the game virtual object in the second moving state according to the third sliding control operation; Adjust the second acceleration according to the third turning state of the game virtual object in the second moving state and the second adjustment relationship to determine the adjusted second acceleration.

10. The method according to claim 9, characterized in that The determining the third turning state of the game virtual object in the second moving state according to the third sliding control operation includes: Obtain the third turning component of the third sliding control operation in the horizontal direction; Determine the third turning state of the game virtual object in the second moving state according to the third turning component.

11. The method according to claim 10, wherein The third turning state includes a turning speed value and a turning direction, and the method further includes: Determine the turning speed value of the third turning state and the turning direction of the third turning state according to the third turning component.

12. The method according to claim 8, wherein The determining the adjustment of the second acceleration according to the third sliding control operation and the second adjustment relationship to determine the adjusted second acceleration includes: Obtain the second acceleration component of the third sliding control operation in the vertical direction; Adjust the second acceleration according to the second acceleration component and the second adjustment relationship to determine the adjusted second acceleration.

13. A virtual object control device, characterized in that, Display a virtual game scene and the game virtual object therein through the graphical user interface of the terminal device, and the device includes: A first operation receiving module, configured to receive a first sliding control operation for a game virtual object, and when the first sliding direction of the first sliding control operation satisfies a first angle range, control the game virtual object to enter a first moving state; wherein, the first moving state is a state in which the game virtual object moves with a first acceleration, and the first acceleration satisfies a first adjustment relationship with the sliding control operation; A second operation receiving unit, configured to receive a second sliding control operation for the game virtual object and obtain a second sliding direction and a sliding speed of the second sliding control operation when the game virtual object is in the first moving state; A first angle range response unit, configured to adjust the first acceleration according to the second sliding control operation and a first adjustment relationship in response to the second sliding direction of the second sliding control operation satisfying a second angle range, so as to determine an adjusted first acceleration, and control the movement of the game virtual object according to the adjusted first acceleration; A second angle range response unit, configured to control the game virtual object to switch from the first moving state to a second moving state in response to the second sliding direction of the second sliding control operation satisfying a third angle range and the sliding speed satisfying a speed threshold; wherein, the second moving state is a state in which the game virtual object moves with a second acceleration, and the second acceleration and the sliding control operation satisfy a second adjustment relationship, and the second adjustment relationship is different from the first adjustment relationship, and the third angle range is included in the second angle range; an initial direction of the first acceleration is the same as a speed direction of the game virtual object, and an initial direction of the second acceleration is opposite to the speed direction of the game virtual object.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.

15. An electronic device, characterized in that, Comprising: One or more processors; And A memory, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the one or more processors to implement the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Virtual object control method and device, storage medium and electronic equipment

    CN108553892A

  • Method and device for controlling movement of virtual object in game, electronic equipment and storage medium

    CN113181651A