Virtual object control method, device, terminal, and program

The enhanced attack control in shooting games enables simultaneous attack and action performance with a single finger, addressing the complexity of multi-finger operations and enhancing user efficiency.

JP7746420B2Active Publication Date: 2025-09-30TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 18 Cites 0 Cited by

Patent Information

Application Number
JP2023574266
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-12-30
Filing Date
2022-09-29
Publication Date
2025-09-30
Estimated Expiration
2042-09-29

AI Technical Summary

Technical Problem

Controlling a virtual object to attack and move simultaneously in shooting games requires frequent and accurate multi-finger operations, making the gameplay cumbersome and operationally demanding.

Method used

A method and device that enhances the attack control to display action controls around it, allowing a two-stage trigger operation to enable the virtual object to attack and perform additional actions simultaneously, reducing the need for multiple finger operations.

Benefits of technology

Simplifies gameplay by allowing a single finger operation to control the virtual object to attack and perform actions, thereby reducing operational difficulty and data processing requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007746420000001
    Figure 0007746420000001
  • Figure 0007746420000002
    Figure 0007746420000002
  • Figure 0007746420000003
    Figure 0007746420000003
Patent Text Reader

Abstract

A method, device, terminal, storage medium, and program product for controlling a virtual object, which belong to the field of man-machine interaction. The method includes a step of displaying a virtual environment screen and an attack control (301), a step of controlling a virtual object to attack in response to a first trigger operation on the attack control and displaying an action control around the attack control (301), and a step of controlling a virtual object to perform a first action during the attack in response to a second trigger operation on the attack control (303). According to the method according to the embodiment of the present application, it is possible to reduce the difficulty of operation when controlling a virtual object to attack and perform another action simultaneously.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This application claims priority to a Chinese patent application filed on October 20, 2021, bearing application number 202111221286.2, entitled "Method, device, terminal, storage medium and program product for controlling virtual objects," and a Chinese patent application filed on December 30, 2021, bearing application number 202111653411.7, entitled "Method, device, terminal, storage medium and program product for controlling virtual objects," the entire contents of which are incorporated herein by reference.

[0002] The embodiments of the present application relate to the field of man-machine interaction technology, and in particular to a method, device, terminal, storage medium, and program product for controlling a virtual object. [Background technology]

[0003] In a shooting game, the user can control a virtual object to attack an enemy virtual object with a virtual tool, eliminate the enemy virtual objects, and win the game.

[0004] When a user controls a virtual object to attack, the virtual object can be controlled to attack while remaining in a fixed position. However, if the virtual object maintains a fixed position while attacking, the virtual object will be attacked by an enemy virtual object. Therefore, the user controls the virtual object to move while attacking, thereby reducing the probability of being attacked by an enemy virtual object. In the process of controlling the virtual object to move while attacking, the user needs to press and hold one finger and frequently drag the virtual joystick to control the virtual object to move, press and hold the attack control with one finger to control the virtual object to attack, and adjust the viewing angle by dragging with one finger, which requires a combination of multiple fingers.

[0005] However, controlling a virtual object to attack and move simultaneously using multiple finger operations requires frequent and accurate clicks between different controls, making the operation cumbersome and placing high operational demands on the user. Summary of the Invention [Means for solving the problem]

[0006] The embodiments of the present application provide a method, device, terminal, storage medium and program product for controlling a virtual object.

[0007] An embodiment of the present application provides a method for controlling a virtual object executed by a terminal, the method including: displaying a virtual environment screen including a virtual object and an attack control for triggering the virtual object to perform an attack; controlling the virtual object to perform the attack in response to a first trigger operation on the attack control and displaying action controls around the attack control, where the action controls are used to trigger the virtual object to perform an action; and controlling the virtual object to perform a first action during the attack in response to a second trigger operation on the attack control, where the first action belongs to a second action of the action control.

[0008] Meanwhile, an embodiment of the present application provides a control device for a virtual object, the device including: a display module for displaying a virtual environment screen including a virtual object and an attack control for triggering the virtual object to perform an attack; a control module for controlling the virtual object to perform an attack in response to a first trigger operation on the attack control and displaying action control controls around the attack control, the action control controls being for triggering the virtual object to perform an action; and a control module for controlling the virtual object to perform a first action during the attack in response to a second trigger operation on the attack control, the first action belonging to a second action of the action control controls.

[0009] Meanwhile, an embodiment of the present application provides a terminal, the terminal including a processor and a memory, at least one program stored in the memory, and the at least one program executed by the processor to realize the above-described method for controlling a virtual object.

[0010] Meanwhile, a computer-readable storage medium is provided, in which at least one program is stored, and the at least one program is executed by a processor to realize the above-mentioned method for controlling a virtual object.

[0011] Meanwhile, an embodiment of the present application provides a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium, wherein a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the computer device to perform the virtual object control method provided in the above aspect.

[0012] In an embodiment of the present application, after improving the attack control, when a first trigger operation on the attack control is received, the terminal not only controls the virtual object to attack, but also displays action controls around the attack control. By performing a second trigger operation on the attack control, the user can control the virtual object to attack and perform the action instructed by the action control. That is, by performing a two-stage trigger operation on the attack control, the virtual object can be controlled to attack and perform an action other than attack simultaneously, thereby reducing the number of controls that need to be operated when controlling the virtual object to attack and perform an action, and further reducing the difficulty of operation for the user. Furthermore, the user can control the virtual object to attack and perform an action simultaneously with just a single finger, improving the user's operation efficiency. Furthermore, the terminal only needs to receive trigger operations at the same time and in the same position to process data, thereby reducing the amount of data processing required for the terminal. [Brief explanation of the drawings]

[0013] [Figure 1] 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. [Figure 2] FIG. 1 is a schematic diagram of multi-finger operation provided by an embodiment of the present application. [Figure 3] 1 is a flowchart of a method for controlling a virtual object provided by an embodiment of the present application; [Figure 4] 1 is a flowchart of a method for controlling a virtual object provided by another embodiment of the present application; [Figure 5] FIG. 2 is a schematic diagram illustrating a virtual object control process in a first operation mode provided by an embodiment of the present application; [Figure 6] 1 is an operational flowchart in a first operation mode provided by an embodiment of the present application; [Figure 7] FIG. 10 is a schematic diagram illustrating a virtual object control process in a second operation mode provided by an embodiment of the present application. [Figure 8]10 is an operational flowchart in a second operation mode provided by an embodiment of the present application; [Figure 9] 1 is a flowchart of a virtual roulette control configuration process provided by an embodiment of the present application. [Figure 10] 1 is an interface diagram of the virtual roulette control installation process provided by an embodiment of the present application; [Figure 11] FIG. 10 is an interface diagram of the virtual roulette control installation process provided by another embodiment of the present application; [Figure 12] 1 is a schematic diagram illustrating a mode switching control display and hiding process provided by an embodiment of the present application; [Figure 13] FIG. 1 is a block diagram illustrating a configuration of a virtual object control device provided by an embodiment of the present application. [Figure 14] FIG. 2 is a schematic diagram illustrating the configuration of a terminal provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION

[0014] 1 is a schematic diagram illustrating an implementation environment provided by an embodiment of the present application, which may include a first terminal 110, a server 120, and a second terminal 130.

[0015] The first terminal 110 executes an application program 111 that supports a virtual environment. When the first terminal executes the application program 111, the user interface of the application 111 is displayed on the screen of the first terminal 110. The application program 111 may be any of a multiplayer online battle arena game (MOBA), a battle royale shooter game, and a simulation game (SLG). In this embodiment, the application program 111 is a role-playing game (RPG). The first terminal 110 is used by a first user 112. The first user 112 controls the movement of a first virtual object in the virtual environment on the first terminal 110, and the first virtual object can be called the master virtual object of the first user 112. The movement of the first virtual object includes, but is not limited to, at least one of body posture adjustment, creep, walking, running, cycling, flying, jumping, driving, picking up, shooting, attacking, throwing, and release skills. Schematically, the first virtual object is a first virtual character, such as a dummy character or an animation character.

[0016] The second terminal 130 executes an application program 131 that supports a virtual environment. When the second terminal 130 executes the application program 131, the user interface of the application program 131 is displayed on the screen of the second terminal 130. The client may be a MOBA game, a battle royale shooter game, or a SLG game. In this embodiment, however, the application program 131 is an RPG. The second terminal 130 is used by a second user 132. The second user 132 controls the movement of a second virtual object in the virtual environment on the second terminal 130. The second virtual object can be referred to as the master virtual character of the second user 132. Schematically, the second virtual object is a second virtual character, such as a dummy character or an animation character.

[0017] Preferably, the first virtual object and the second virtual object are in the same virtual world. Preferably, the first virtual object and the second virtual object belong to the same camp, the same team, or the same organization, and may have a friend relationship or temporary communication authority. Preferably, the first virtual object and the second virtual object belong to different camps, different teams, or different organizations, or may have an enemy relationship. In the embodiments of the present application, the first virtual object and the second virtual object belong to the same camp as an example.

[0018] Preferably, the application programs executed on the first terminal 110 and the second terminal 130 are the same, or the application programs executed on the two terminals are the same type of application programs on different operating system platforms (Android or IOS). The first terminal 110 may broadly refer to one of a plurality of terminals, and the second terminal 130 may broadly refer to the other of a plurality of terminals. This embodiment will be described using only the first terminal 110 and the second terminal 130 as an example. The device types of the first terminal 110 and the second terminal 130 may be the same or different, and the device types include at least one of a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer.

[0019] 1 shows only two terminals, in different embodiments, there may be multiple other terminals that can access the server 120. Preferably, there may also be one or more terminals corresponding to developers, on which an application program development and editing platform supporting a virtual environment is installed, whereby the developer edits and updates the application program on the terminal, and transmits the updated application program installation package to the server 120 via a wired or wireless network, so that the first terminal 110 and the second terminal 130 can download the application program installation package from the server 120 to update the application program.

[0020] The first terminal 110, the second terminal 130 and other terminals are connected to the server 120 via a wireless network or a wired network.

[0021] The server 120 includes at least one of a single server, a server cluster consisting of multiple servers, a cloud computing platform, and a virtualization center. The server 120 is used to provide background services to application programs that support the 3D virtual environment. Preferably, the server 120 performs the main computing tasks, and the terminal performs the secondary computing tasks, or the server 120 performs the secondary computing tasks, and the terminal performs the main computing tasks, or collaborative computing is performed between the server 120 and the terminal using a distributed computing architecture.

[0022] In one schematic example, the server 120 includes a memory 121, a processor 122, a user account database 123, a battle service module 124, and a user-facing input / output interface (I / O interface) 125. Here, the processor 122 is used to load instructions stored in the server 120 and process data in the user account database 123 and the battle service module 124. The user account database 123 is used to store data of user accounts used by the first terminal 110, the second terminal 130, and other terminals, such as user account avatars, user account nicknames, user account combat power indices, and service areas where the user accounts are located. The battle service module 124 is used to provide multiple battle rooms in which users can battle each other, such as 1v1 battle, 3v3 battle, 5v5 battle, etc. The user-facing I / O interface 125 is used to establish communication and exchange data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network.

[0023] In the related art, a user needs to use multiple finger combinations while controlling a virtual object to attack, so that the virtual object can simultaneously be controlled to perform actions other than attacking. As shown in Fig. 2, when a user controls a virtual object 230 to shoot, the user needs to long press the attack control 220 with one finger. When the user needs to control the virtual object 230 to move during shooting, the user needs to drag the virtual joystick 240 with another finger and slide on the virtual environment screen with another finger, thereby adjusting the viewing angle of the virtual object 230.

[0024] It is necessary to control the virtual object 230 to switch its action during shooting. For example, if you want to control the virtual object 230 to probe left and right during an attack, you need to click the left and right probe action controls 250 with another finger and slide with another finger on the virtual environment screen to adjust the viewing angle of the virtual object 230.

[0025] To reduce the difficulty of a user's operation to control a virtual object to simultaneously perform an attack and another action, an embodiment of the present application improves the attack control 220. The attack control 220 has a function to control the virtual object to perform an action other than an attack, in addition to a function to control the virtual object to perform an attack. When a user performs a first trigger operation on the attack control 220, the attack control 220 can control the virtual object 230 to shoot and display action controls around the attack control 220. When a user continues to perform a second trigger operation on the attack control 220, the attack control 220 can control the virtual object 230 to attack and perform the action instructed by the action control.

[0026] The virtual firearm, virtual bullet, virtual dagger, virtual axe, virtual knife, virtual handpiece, virtual mist, etc. according to the embodiments of the present application are all virtual tools in a virtual game.

[0027] 3, there is shown a flowchart illustrating a method for controlling a virtual object provided in an embodiment of the present application, which is described by taking the application of the method to the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment as an example. The method includes:

[0028] In step 301, a virtual environment screen including a virtual object and an attack control for triggering the virtual object to perform an attack is displayed.

[0029] Preferably, the virtual environment screen is a screen for observing the virtual environment from the perspective of a virtual object. Preferably, the perspective of the virtual object may be a first-person perspective or a third-person perspective. Elements of the virtual environment, such as virtual buildings, virtual tools, and other virtual objects, are displayed on the virtual environment screen.

[0030] In a possible embodiment, an attack control is displayed on the top layer of the virtual environment screen, and the user can control the virtual object to attack by triggering the attack control, where the virtual object is the user's active virtual object.

[0031] Preferably, controlling the virtual object to attack using the attack control may involve controlling the virtual object to attack directly, for example, by using a body part such as a fist or a foot, or controlling the virtual object to attack with a virtual tool, for example, by using a virtual firearm or a virtual handpiece. The embodiments of the present application are not limited thereto.

[0032] In an embodiment of the present application, the terminal displays a virtual environment screen and a control display layer located above the virtual environment screen. Here, the virtual environment screen is a display screen corresponding to the virtual environment and is used to display the virtual environment and elements located in the virtual environment. The control display layer is used to display operation controls (including the above-mentioned attack control) to realize man-machine interaction functions. Preferably, the operation controls may include buttons, sliders, slide bars, etc., but the embodiment of the present application is not limited thereto.

[0033] In step 302, in response to a first trigger operation on the attack control, the virtual object is controlled to perform an attack, and an action control is displayed around the attack control, and the action control is used to trigger the virtual object to perform an action.

[0034] In a possible embodiment, when the user performs a first trigger operation on the attack control, the terminal controls the virtual object to perform an attack. Preferably, when the virtual object performs an attack, the attack may be performed directly or with a virtual tool, and the attacking object of the virtual object may be an enemy virtual object or a non-enemy virtual object.

[0035] In order to reduce the operation cost for the user to control the virtual object to attack and perform other actions, in a possible embodiment, the attack control is improved so that when the terminal receives a first trigger operation on the attack control, in addition to controlling the virtual object to attack, the terminal displays action control controls around the attack control with the attack control as the center, and the actions supported by the action control include actions other than the attack action, so that the attack control can trigger the virtual object to perform actions other than the attack.

[0036] Preferably, the first trigger operation may be a click operation, a long press operation, a pressing operation, or the like, for the attack control, but the embodiment of the present application is not limited thereto.

[0037] Preferably, the motion control may control the virtual object to adjust the field of view, may control the virtual object to move, or may control the virtual object to perform some specific motion such as probe, jump, or lie prone, and examples of the present application are not limited thereto.

[0038] In step 303, in response to a second trigger operation on the attack control, the virtual object is controlled to perform a first action during the attack, the first action belonging to the second action of the action control.

[0039] Since the motion control is displayed around the attack control, a second trigger operation on the attack control can trigger the virtual object to perform an action during an attack. In a possible embodiment, when a user performs a second trigger operation on the attack control, for example, a drag operation on the attack control, the terminal determines the second action corresponding to the drag operation direction as the first action and controls the virtual object to perform the first action during an attack. Here, the first action belongs to the second action corresponding to the motion control controller.

[0040] Preferably, the second trigger operation may be a drag operation or a slide operation for the attack control, and the embodiment of the present application is not limited thereto. Preferably, the second trigger operation and the first trigger operation are a continuous two-stage trigger operation, for example, the first trigger operation is a long press operation for the attack control, and the second trigger operation is a drag operation for the attack control, and there is a continuity between the long press operation and the drag operation.

[0041] Preferably, after the terminal receives a first trigger operation for attack control, it does not continuously receive a second trigger operation, that is, if the trigger operation is stopped after the first trigger operation, the corresponding terminal stops controlling the virtual object to attack.

[0042] Schematically, when the action controls displayed around the attack control are used to control the adjustment of the field of view of the virtual object, when the user performs a second trigger operation on the attack control, the virtual object attacks and the field of view is adjusted in accordance with the second trigger operation; when the action controls displayed around (around) the attack control are used to control the movement of the virtual object, when the attack control receives a second trigger operation, the virtual object attacks and can move in accordance with the second trigger operation; when the action controls displayed around (around) the attack control are used to control the execution of a specific action of the virtual object, such as probe, jump, or prone, when the attack control receives a second trigger operation, the virtual object attacks and can execute the selected specific action; for example, if the selected specific action is jumping, the virtual object can attack while jumping.

[0043] Preferably, multiple types of action controls may be displayed simultaneously around the attack control, for example, an action control for adjusting the field of view of the virtual object, an action control for controlling the movement of the virtual object, and an action control for controlling the execution of a specific action of the virtual object, and the different action controls may be displayed at different positions so that they can be controlled to different positions by a drag attack by the user, thereby controlling the virtual object to execute different types of actions. Preferably, only a single type of action control is displayed around the attack control at the same time, and the action control displayed after the attack control is triggered can be switched by switching the object action mode.

[0044] Preferably, the control over the virtual object may be performed by the terminal, i.e., upon receiving a trigger operation, the terminal may control the virtual object to attack and perform an action based on the trigger operation; or the control over the virtual object may be performed by the server, i.e., the terminal reports the received trigger operation to the server, the server is in charge of the trigger operation and controls the virtual object to attack and perform an action, and the results of the attack and action by the virtual object are fed back to the terminal and displayed by the terminal; or the control over the virtual object may be completed by the terminal and the server working together, i.e., the terminal reports the received trigger operation to the server, the server feeds back a control command for the virtual object based on the trigger operation, and finally, the terminal controls the virtual object to attack and perform an action based on the control command.

[0045] As described above, in the embodiment of the present application, after improving the attack control, when a first trigger operation for the attack control is received, the device not only controls the virtual object to attack, but also displays action controls around the attack control. By performing a second trigger operation for the attack control, the user can control the virtual object to attack and perform the action instructed by the action control. That is, by performing a two-stage trigger operation for the attack control, the virtual object can be controlled to attack and perform an action other than an attack simultaneously, thereby reducing the number of controls that need to be operated when controlling the virtual object to attack and perform an action, and further reducing the difficulty of operation for the user. Furthermore, the user can control the virtual object to attack and perform an action simultaneously with just a single finger, improving the user's operation efficiency. Furthermore, the device only needs to receive trigger operations at the same time and in the same position to process data, thereby reducing the amount of data processing required for the device.

[0046] In different scenarios, the virtual object may need to perform different actions simultaneously during an attack, for example, in a moving attack scenario, the user needs to control the virtual object to move during the attack, and in a mask attack scenario, the user needs to control the virtual object to probe during the attack. Therefore, in the embodiment of the present application, different action modes are provided for different scenes, and the virtual object can be made to perform different types of actions in the different action modes.

[0047] Referring to Figure 4, a flowchart is shown illustrating a method for controlling a virtual object provided in another embodiment of the present application. In this embodiment, the method is applied to the first terminal 110 or the second terminal 130 in the implementation environment shown in Figure 1, or to other terminals in the implementation environment. The method includes:

[0048] In step 401, a virtual environment screen including a virtual object and an attack control for triggering the virtual object to perform an attack is displayed.

[0049] This step is similar to step 301 above, and in the embodiment of the present application, a detailed description is omitted here.

[0050] In step 402, an object operation mode is determined in response to a first trigger operation on an attack control.

[0051] Here, the object action mode refers to an action type to which an action performed by a virtual object during a game play belongs. In a possible embodiment, there may be multiple types of object action modes during a game play, and the terminal needs to determine which object action mode the virtual object needs to perform from the multiple types of object action modes before it can attack, and based on the determined object action mode, displays an action control corresponding to the object action mode around the attack control.

[0052] Preferably, the object movement mode may include an movement mode for controlling a virtual object to adjust its field of view, or may be an movement mode for controlling a virtual object to move, or may be an movement mode for controlling a virtual object to perform a specific action, and the specific action may be an action such as prone, crouching, left probe, right probe, etc., and the embodiments of the present application do not limit the specific type of the object movement mode.

[0053] Preferably, the object operation mode may be an operation mode set by default by the terminal, or an operation mode set by the user according to the actual game situation, and is not limited to this in the embodiments of the present application.

[0054] Preferably, in order to facilitate the user to select the required object operation mode, a mode switching control is also provided, so that the user can switch the required object operation mode by triggering the mode switching control, and then display the operation control control in the corresponding object operation mode after performing a trigger operation on the attack control.

[0055] Preferably, the mode switching control may be displayed around the attack control so that the user can more conveniently switch between object action modes when using the attack control.

[0056] Preferably, when the mode switching control and the operation control control are both displayed around (around) the attack control, in order to avoid the mode switching control affecting subsequent operation control controls, the terminal can display the operation control control after receiving a first trigger operation for the attack control, and can also display the mode switching control in a hidden manner to avoid the operation control control being blocked by the mode switching control.

[0057] Preferably, when the second trigger operation is finished, the mode switching control can be restored to the display, to facilitate the user to switch the object operation mode.

[0058] In step 403, action controls for the object action modes are displayed around the attack control, where different object action modes correspond to different action controls.

[0059] In the different object operation modes, the operations performed by the virtual object all include multiple types of operation options. For example, in an operation mode that controls the movement of a virtual object, if it is necessary to control the movement of the virtual object to the left, right, up or down, etc., a dedicated operation control may be provided for each different object operation mode in order to accurately realize operation control over the virtual object, and after a first trigger operation for an attack control is received in a different object operation mode, the different operation control may be displayed around the attack control.

[0060] In step 404, in response to a second trigger operation on the attack control, the virtual object is controlled to perform a first action during the attack, the first action belonging to the second action of the action control.

[0061] In different object action modes, different action controls are displayed around the attack control, and the different action controls are used to trigger the virtual object to perform different types of actions, so that in a possible embodiment, after receiving a second trigger operation on the attack control, the virtual object can be controlled to perform a first action instructed by the action control during an attack.

[0062] The embodiments of the present application are described by taking as an example that the object operation mode includes a first operation mode and a second operation mode, and in the first operation mode, step 403 and step 404 may be replaced by step 403A and step 404A, and in the second operation mode, step 403 and step 404 may be replaced by step 403B, step 404B and step 404C.

[0063] In step 403A, if the object operation mode is the first operation mode, a virtual joystick control is displayed around the attack control with the attack control at the center, and the virtual joystick control is used to control the movement of the virtual object.

[0064] Here, the first operation mode is a movement mode, i.e., an operation mode for controlling the movement of a virtual object in each direction. For example, in the first operation mode, by triggering the movement control, the virtual object can be controlled to move left, right, up, down, etc. in the virtual environment.

[0065] When the object operation mode is the first operation mode, upon receiving a first trigger operation on the attack control, the terminal displays a virtual joystick around the attack control, with the attack control at the center, and the virtual joystick can control the virtual object to move forward, backward, left, and right in the virtual environment. By operating the virtual joystick control, the user can control the terminal to cause the virtual object to attack and move in the movement direction corresponding to the virtual joystick control.

[0066] Schematically, as shown in Figure 5, an attack control 502 (in the form of a button) is displayed on the upper layer of the virtual environment screen, and when the object operation mode is the first operation mode, when the user presses and holds the attack control 502, the terminal displays a virtual joystick control 503 on the periphery (surrounding) of the attack control 502, and this virtual joystick control 503 displays four-way movement sub-controls around the attack control, with the attack control as the center.

[0067] In step 404A, in response to a drag operation on the attack control, the virtual object is controlled to move during the attack based on the drag direction of the drag operation.

[0068] Preferably, when the terminal receives a drag operation on the attack control, the terminal can control the virtual object to attack and move in the drag direction based on the drag direction of the drag operation. For example, if the terminal receives a long press operation (first trigger operation) on the attack control and then a virtual joystick control is displayed, the terminal can control the virtual object to attack and move to the left by continuing a leftward drag operation (second trigger operation) on the attack control. Furthermore, the long press operation and the drag operation are continuous operations.

[0069] Schematically, as shown in FIG. 5, when the user drags the attack control 502 to the left, the virtual object 501 can attack and move to the left.

[0070] Obviously, after improving the attack control, the user can control the virtual object to perform a movement attack (single-finger operation) by simply operating a single control, and at the same time, there is no need to operate the attack control and the virtual joystick control (multi-finger operation), which reduces the difficulty of operating the movement attack.

[0071] 6 is an operational flowchart illustrating a first operational mode provided by an embodiment of the present application. This flow includes steps 601 to 615.

[0072] In step 601, in the first operating mode, the attack control is clicked.

[0073] The first operation mode is a movement mode, ie, controlling the movement of a virtual object in each direction.

[0074] In step 602, it is determined whether the click operation has ended.

[0075] If the object operation mode is the movement mode, the attack control is clicked, and it is necessary to determine whether the user has finished clicking the attack control. If the user has finished clicking the attack control, step 603 is executed, and the attack control is fired and the process is completed. If the user continues to click the attack control, steps 604 to 614 are executed.

[0076] If the user continues to click on the attack control, steps 604 and 605 are executed, the virtual object is controlled to continue attacking, and a virtual joystick control is displayed with the attack control at its center.

[0077] In step 603, the attack is completed.

[0078] When the user finishes clicking on the attack control, step 603 is executed, and the virtual object is controlled to stop attacking.

[0079] In step 604, an attack is made.

[0080] In step 605, the virtual joystick controls are displayed with the attack control at the center.

[0081] When the terminal receives a continuation trigger operation for the attack control, it displays a virtual joystick control centered on the attack control, and allows the attack to be continued.

[0082] In step 606, the mode switching control is hidden and displayed.

[0083] When the virtual joystick control is displayed, the mode switching control can be hidden.

[0084] Preferably, if there is no overlapping area between the display area of ​​the mode switching control and the display area of ​​the virtual joystick control, the mode switching control does not need to be hidden, and if there is an overlapping area between the display area of ​​the mode switching control and the display area of ​​the virtual joystick control, the mode switching control may be hidden.

[0085] In step 607, it is determined whether a drag operation has been performed.

[0086] It is determined whether or not the user has performed a drag operation on the attack control, and if the user has not performed a drag operation on the attack control, steps 608 to 610 are executed.

[0087] In step 608, attack.

[0088] If the user is not performing a drag operation on the attack control and is maintaining a click or press operation on the attack control, step 608 is executed, and the virtual object is controlled to continue the attack.

[0089] In step 609, it is determined whether the click operation has ended.

[0090] In step 610, the attack is stopped.

[0091] It is further determined whether or not the user has finished clicking on the attack control, and if the user has not finished clicking on the attack control, step 608 continues, and the virtual object is controlled to continue attacking, and when the user has finished clicking on the attack control, the virtual object is controlled to execute step 610, and the virtual object is controlled to stop attacking.

[0092] When the user performs a drag operation on the attack control, steps 611 and 615 are executed, and the virtual object is controlled to perform an attack and to move in the drag direction.

[0093] In step 611, attack.

[0094] In step 612, the virtual object is controlled to move in the drag direction.

[0095] In step 613, it is determined whether the drag operation has ended.

[0096] It is further determined whether the user has finished the drag operation on the attack control, and if the user has not finished the drag operation on the attack control, steps 611 and 612 continue, and if the user has finished the drag operation on the attack control, steps 614 and 615 are executed to control the virtual object to stop attacking and moving.

[0097] In step 614, the attack is stopped.

[0098] In step 615, the movement is stopped.

[0099] In step 403B, if the object action mode is the second action mode, a virtual roulette control is displayed around the attack control with the attack control at the center, the virtual roulette control is divided into at least two first roulette sub-areas at different positions, and action options for the second action are displayed in the first roulette sub-area.

[0100] Here, the second motion mode is a specific motion mode, i.e., a motion mode in which the virtual object is controlled to perform a specific motion. For example, in the second motion mode, the virtual object can be controlled to perform a specific motion such as prone, crouching, left probe, right probe, etc. by triggering the motion control.

[0101] Preferably, when the mode switching control switches between the first operation mode and the second operation mode, if the current object operation mode is the first operation mode, the operation mode can be switched to the second operation mode when a trigger operation on the mode switching control is received, and if the current object operation mode is the second operation mode, the operation mode can be switched to the first operation mode when a trigger operation on the mode switching control is received.

[0102] When the object operation mode is the second operation mode, the terminal displays a virtual roulette control around the attack control, with the attack control at the center, and the virtual roulette control is divided into multiple first roulette sub-areas at different positions, and each first roulette sub-area displays one operation option for the second operation.

[0103] 7, when the object motion mode is the second mode, the terminal displays a virtual roulette control 703 with an attack control 702 at the center, and the virtual roulette control 703 is divided into four roulette sub-areas at different positions, each of which displays one motion option for a candidate motion, such as jump, prone, left probe, right probe, etc.

[0104] Preferably, the division manner and number of the first roulette sub-areas in the virtual roulette control may be set by the terminal or may be set by the user according to the game situation or their own usage situation, and the embodiments of the present application are not limited thereto. For example, the virtual roulette control may be divided into four first roulette sub-areas, and each first roulette sub-area may display candidate actions such as jump, prone, left probe, right probe, etc.

[0105] In step 404B, in response to a drag operation on the attack control, a second roulette sub-area is identified from the at least two first roulette sub-areas based on a control position of the dragged attack control, wherein the control position overlaps with the second roulette sub-area.

[0106] After displaying the virtual roulette control with the attack control at the center, the user can perform a drag operation on the attack control, and the terminal can identify a second roulette sub-area from the multiple first roulette sub-areas according to the control position of the dragged attack control, where the control position of the attack control overlaps with the position of the second roulette sub-area.

[0107] Preferably, when the display area of ​​the virtual roulette control overlaps with the display area of ​​the mode switching control when the virtual roulette control is displayed, the virtual roulette control can be displayed while the mode switching control is hidden.

[0108] 7, in the second operating mode, the virtual roulette control 703 displayed around the periphery of the attack control 702 is divided into four first roulette sub-areas, each with a different position: up, down, left, and right. These sub-areas correspond to the candidate actions of prone, crouching, left probe, and right probe, respectively. When the user drags the attack control 702, for example, the user drags the attack control 702 downward, the terminal determines the second roulette sub-area, i.e., the position where the crouching action control is displayed, based on the dragged position of the attack control 702. At this time, the control position of the attack control 702 overlaps with the position of the crouching action control.

[0109] Preferably, when the control position of the dragged attack control overlaps with a position where two or more first roulette sub-areas exist, the terminal can identify the first roulette sub-area with the largest overlapping area as the second roulette sub-area.

[0110] In step 404C, the virtual object is controlled to perform a first action during the attack, the first action being a second action displayed in the second roulette sub-area.

[0111] After the second roulette sub-area is determined, the terminal can control the virtual object to perform a corresponding second action during an attack based on the action option displayed in the second roulette sub-area.

[0112] Schematically, as shown in FIG. 7, in the second operation mode, when the control position to which the attack control 702 is dragged overlaps with the crouching action control, the terminal controls the virtual object 701 to attack and perform a crouching action.

[0113] During the process of dragging the attack control, the control position of the attack control may temporarily overlap with a non-target roulette sub-area. To prevent the virtual object from performing a first action corresponding to the non-target roulette sub-area, in one possible embodiment, if the attack control stays at the control position for a time period that reaches a time length threshold, the terminal controls the virtual object to perform a second action corresponding to a second roulette sub-area during the attack. If the attack control stays at the control position for a time period that does not reach the time length threshold, the terminal determines that an operation error has occurred and does not control the virtual object to perform the corresponding action. For example, the time length threshold is 0.2 seconds.

[0114] Preferably, in another possible embodiment, in the process of the virtual object attacking, the user can control the virtual object to perform different actions by dragging the attack control. For example, if the virtual object jumps first and then lies prone while shooting, when the user drags the attack control, the user can first drag the attack control to a first roulette sub-area corresponding to the jump action, and then drag the attack control to a second roulette sub-area corresponding to the prone action.

[0115] 7, the control position to which the attack control 702 is dragged overlaps with the crouching control, and it is necessary to determine whether the time the attack control 702 spends at the crouching control position is equal to or longer than a time length threshold, for example, whether the time spent at the crouching control exceeds 0.2 seconds. If the time spent at the crouching control position by the attack control 702 exceeds 0.2 seconds, the terminal controls the virtual object 701 to attack and perform a crouching action.

[0116] Preferably, the time length threshold may be set by the terminal or the user, but is not limited to this in the embodiment of the present application.

[0117] 8, there is shown a schematic operation flowchart of the second operation mode provided by an embodiment of the present application. The flow includes steps 801 to 816.

[0118] In step 801, in the second operating mode, the attack control is clicked.

[0119] The second motion mode is a specific motion mode, that is, controlling the virtual object to perform different specific motions, such as jump, prone, left probe, right probe, etc.

[0120] In step 802, it is determined whether the click operation has ended.

[0121] If the object operation mode is the second operation mode, the attack control is clicked, and at this time it is necessary to determine whether the user has finished clicking on the attack control. When the user has finished clicking on the attack control, step 803 is executed, and the attack is completed.

[0122] If the user has not finished clicking on the attack control, steps 804 to 806 are executed, and the virtual object is controlled to perform an attack, and a virtual roulette control is displayed around the attack control.

[0123] In step 803, attack and finish.

[0124] In step 804, attack.

[0125] In step 805, the virtual roulette control is displayed with the attack control at the center.

[0126] In step 806, the mode switching control is hidden and displayed.

[0127] Furthermore, when the virtual roulette control is displayed, the mode switching control can be hidden and displayed.

[0128] Preferably, if there is no overlapping area between the display area of ​​the mode switching control and the display area of ​​the virtual roulette control, the mode switching control does not need to be hidden, and if there is an overlapping area between the display area of ​​the mode switching control and the display area of ​​the virtual roulette control, the mode switching control may be hidden.

[0129] Step 807 determines whether the finger has been dragged to the corresponding action option.

[0130] In step 808, it is determined whether the time spent on the action option exceeds a time length threshold.

[0131] If the user has not finished clicking the attack control, step 807 and step 808 are executed to determine whether the user has dragged their finger to the corresponding action option and whether the time spent on the action option has exceeded the time length threshold. If the user has not dragged their finger and the time spent on the action option is less than the time length threshold, step 809 is executed to control the virtual object to continue the attack.

[0132] In step 809, attack.

[0133] In step 810, it is determined whether the click operation has ended.

[0134] In step 811, the attack is stopped.

[0135] Step 810 is executed to determine whether or not the user has finished clicking on the attack control, and if the user has finished clicking on the attack control, step 811 is executed to control the virtual object to stop attacking, and if the user has not finished clicking on the attack control, step 809 is executed to control the virtual object to continue attacking.

[0136] If the user drags the finger to the corresponding action option and the dwell time on the action option exceeds the time length threshold, steps 812 to 816 are performed.

[0137] In step 812, attack.

[0138] Step 813 triggers the corresponding action.

[0139] When the user drags the finger to a corresponding action option and the time spent on the action option exceeds a time length threshold, the virtual object is controlled to attack and perform the action corresponding to the action option.

[0140] In step 814, it is determined whether the drag operation has ended.

[0141] Step 814 is executed to determine whether the user has finished the drag operation on the attack control, and if the user has finished the drag operation on the attack control, steps 815 and 816 are executed to control the virtual object to stop attacking and stop performing the action, and if the user has not finished the drag operation on the attack control, steps 812 and 813 are continued to control the virtual object to attack and perform the corresponding action.

[0142] In step 815, the attack is stopped.

[0143] In step 816, the operation stops.

[0144] In this embodiment, the terminal can display different action controls around the attack control according to different object action modes. For example, in a first action mode, the attack control can display a virtual joystick control around the attack control to control the virtual object's movement, while in a second action mode, the attack control can display a virtual roulette control around the attack control to control the virtual object to perform a specific action. Displaying different action controls for different object action modes is advantageous for meeting different user needs for action controls at different times during a game, or for meeting the user's needs to perform different types of actions on the virtual object at different times. Although the embodiment of this application has been described using only the above two action modes as an example, the terminal may also have other action modes, such as a third action mode, as needed. The corresponding action control is a view adjustment control, and by triggering the control, the terminal can control the virtual object to attack and adjust the view. The embodiment of this application does not limit the specific object action modes and the action controls displayed in the object action modes.

[0145] In a possible embodiment, a user can perform operations such as replacing, adding, deleting, etc. on the action options (second action, first action) in the roulette sub-area of ​​the virtual roulette control through the configuration interface. As shown in Figure 9, a flowchart of the virtual roulette control configuration process provided by one exemplary embodiment of the present application is shown.

[0146] In step 901, the virtual roulette control layout interface is displayed.

[0147] A configuration interface of the virtual roulette control is displayed, and the user can perform a series of operations such as unloading, adding, updating, etc. on the candidate actions displayed on the virtual roulette control through the configuration interface.

[0148] 10 , when a user enters the configuration interface of the virtual roulette control, the interface displays a virtual roulette control 1010 and a corresponding action selection list 1020. Here, the virtual roulette control 1010 includes a first roulette sub-area 1011, a second roulette sub-area 1012, a third roulette sub-area 1013, and a fourth roulette sub-area 1014, the first roulette sub-area 1011 displays a first action option, and the action selection list includes a second action option 1023 and a setting control 1024 corresponding to the action option 1023.

[0149] Preferably, in the configuration interface of the virtual roulette control, the user may change the number of first roulette sub-areas into which the virtual roulette is divided.

[0150] In step 902, the action options included in the virtual roulette control are updated in response to placement operations within the placement interface.

[0151] Preferably, the virtual roulette control on the terminal may be provided with default operation options, and if the user has needs to modify or update the operation options displayed on the virtual roulette control, they can perform corresponding configuration operations in the configuration interface, for example, select the operation options that need to be modified on the virtual roulette control, and select the operation options that need to be set in the operation selection list, thereby updating the operation options on the virtual roulette control.

[0152] Preferably, the placement operation may be used to unload existing action options in the virtual roulette control, or may be used to replace existing action options in the virtual roulette control, etc. The corresponding step 902 may include steps 902A to 902C.

[0153] In step 902A, a selection operation on the placement target roulette sub-area in the virtual roulette control is accepted, and a first action option is displayed in the placement target roulette sub-area.

[0154] A user can select a roulette sub-area to be placed from the virtual roulette control, and the corresponding terminal accepts a selection operation on the target roulette sub-area on the virtual roulette control and determines that the user needs to modify the first action option displayed in the roulette sub-area. Here, the selection operation may be a long press, click, or press operation on the target roulette sub-area, and the embodiments of the present application do not limit the selection operation.

[0155] Schematically, as shown in FIG. 10 , when a user presses and holds the first roulette sub-area 1011, the terminal accepts a selection operation on the first roulette sub-area 1011, and the first roulette sub-area 1011 becomes a target roulette sub-area for placement, indicating that the user needs to modify the first action option displayed here.

[0156] In step 902B, in response to a trigger operation on the setting control corresponding to the second action option in the action selection list, the first action option displayed in the placement target roulette sub-area is updated to the second action option.

[0157] After the user selects the roulette sub-area that needs to be placed (the placement target roulette sub-area) by a selection operation, the user can further select the action option that needs to be set from the action selection list, and the compatible terminal can accept a trigger operation on a setting control corresponding to a second action option in the action selection list. When the user indicates that the first action option needs to be replaced with the second action option, the terminal can update the first action option displayed in the placement target roulette sub-area to the second action option in response to the trigger operation.

[0158] 10 , when a user selects an action option 1023 from the action selection list 1020 and performs a trigger operation on a setting control 1024 corresponding to the selected action option, the terminal adds and saves the selected second action option 1023 to the edited roulette sub-area 1011 of the virtual roulette control 1010 in response to the trigger operation, and then the user can use the added action option 1023 in a game. Preferably, the first action option 1021 originally displayed in the first roulette sub-area 1011 is replaced with the second action option 1023. Preferably, in the action selection list 1020, the setting control 1022 corresponding to the first action option 1021 is updated to “fill in”, and the setting control 1024 corresponding to the second action option 1021 is updated to “remove”.

[0159] Preferably, the trigger operation may be a click, a long press, a slide, etc., but the embodiments of the present application are not limited thereto.

[0160] In step 902C, in response to a trigger operation on the unload control corresponding to the first action option in the action selection list, the first action option displayed in the placement target roulette sub-area is removed.

[0161] Preferably, when the action option is already displayed on the virtual roulette control, the action option in the action selection list corresponds to an unload control, and a user can delete the action option on the virtual roulette control by triggering the unload control; when the action option is not displayed on the virtual roulette control, the action option in the action selection list corresponds to a set control, and a user can place the action option on the virtual roulette control by triggering the set control.

[0162] When a user selects an action option from the action selection list and the action option is in the target roulette sub-area of ​​the virtual roulette, the terminal can remove the action option from the target roulette sub-area of ​​the virtual roulette by triggering the corresponding unloader control.

[0163] 10 , when a user selects a first action option 1021 from the action selection list 1020 (the first action option 1021 is displayed in the first roulette sub-area 1011 of the virtual roulette control 1010), the user can trigger the unload control 1022 corresponding to the first action option 1021 to remove the first action option from the first roulette sub-area 1011 of the virtual roulette control, and the control corresponding to the first action option 1021 in the action selection list 1020 is the “fill control.” If the user does not subsequently select and add another action option from the action selection list 1020, the first roulette sub-area 1011 will display “empty.” Furthermore, when the virtual roulette control 1010 is displayed around the attack control during the game, only three action options will be displayed on the virtual roulette control 1010. If the user subsequently selects and adds another action option from the action selection list 1020, for example, by triggering the setting control 1024 corresponding to the second action option 1023, the terminal will display the selected second action option 1024 in the edit target roulette sub-area 1011, and the user can use the second action option 1024 during the game. Preferably, in the action selection list, the setting control corresponding to the second action option 1023 is changed to "unload control".

[0164] In a possible embodiment, the configuration interface may provide an area division method for the virtual roulette control in addition to the operation options for the virtual roulette control. Schematically, as shown in Fig. 11, the configuration interface further displays the virtual roulette control 2 in multiple different division modes, such as halving (first virtual roulette control 1101), trebling (second virtual roulette control 1102), and quarting (third virtual roulette control 1103), allowing the user to select a suitable virtual roulette control division method according to the needs of the game.

[0165] In this embodiment, the virtual roulette controls can be configured through the configuration interface, and the action controls in the virtual roulette sub-area can be switched by triggering the corresponding action option in the action selection list. The user can add the action controls that he or she frequently uses to the virtual roulette sub-area through the configuration interface. In addition, the terminal can also provide multiple different types of virtual roulettes for the user to choose from, thereby achieving individualization and diversification of the action controls in the virtual roulette.

[0166] In one possible embodiment, when the user ends the second trigger operation for the attack control, in response to the end of the second trigger operation for the attack control, the terminal controls the virtual object to stop attacking and stop performing the first action. Preferably, when the virtual object is in a sustainable action state such as prone or standing before attacking, when the user ends the second trigger operation for the attack control, the terminal can control the virtual object to stop attacking and return to the action state before the attack.

[0167] Preferably, when the virtual object is in an unsustainable motion state such as jumping or sliding before attacking, when the user terminates the second trigger operation for the attack control, the terminal can control the virtual object to stop attacking and return to a standing state.

[0168] Preferably, a user can switch the object operation mode through the setting interface. However, since the efficiency of switching the object operation mode through the setting interface is low, in order to improve the switching efficiency, in another possible embodiment, a mode switching control is provided, and a user can switch the operation mode through the mode switching control. This method includes the following steps:

[0169] In step 1, a mode switching control for triggering switching of an object operation mode is displayed.

[0170] In one possible embodiment, there are multiple motion modes in the game, and the user can select different object motion modes according to different stages of the game progress or according to the current scene. If the object motion mode needs to be switched every time from the configuration interface, the switching process is too complicated and the object is likely to be attacked and eliminated by enemy virtual objects. To improve the efficiency of mode switching, this embodiment provides a mode switching control, which can be displayed around the attack control, so that the user can use the attack control in combination with switching between different object motion modes.

[0171] As shown in FIG. 12, a mode switching control 1202 is displayed below the attack control 1201, and the user can use this control to switch between at least two types of object operation modes.

[0172] Preferably, the mode switching control may be a button, a slider, a slide bar, etc. for user operation, and the embodiment of the present application is not limited thereto.

[0173] In step 2, the object operation mode is switched in response to a third trigger operation on the mode switching control.

[0174] When the user performs a third trigger operation on the mode switching control, the terminal can switch the object operation mode in the game.

[0175] Preferably, the third trigger operation may be a click, a long press, a slide, etc., and the embodiment of the present application is not limited thereto.

[0176] If the mode switching control is a button, the corresponding third trigger operation may be a click or a long press, and the user can switch the object operation mode by clicking or long pressing the mode switching button; if the mode switching control is a slider or a slide bar, the corresponding third trigger operation may be a slide, a drag, etc., and the user can switch the object operation mode by sliding or dragging the mode switching control.

[0177] In step 3, in response to a first trigger operation on the attack control, the mode switching control is hidden and displayed.

[0178] In one possible embodiment, multiple types of controls are displayed on the virtual environment screen, and if the mode switching control is located close to the attack control, the user may accidentally touch the mode switching control when triggering the attack control. The control mode switching control is hidden when the virtual object attacks so that the user does not accidentally touch the mode switching control when triggering the attack control. When the user performs a first trigger operation on the attack control, the terminal controls the virtual object to attack and displays action control controls around the attack control. At the same time, the terminal controls the mode switching control to be hidden.

[0179] In step 4, in response to the end of the second trigger operation for the attack control, the mode switching control is restored to the display.

[0180] In one possible embodiment, when the user finishes the second trigger operation for the attack control, the terminal can control the virtual object to stop attacking and moving and to restore the display of the mode switching control.

[0181] 12 , when the virtual object 1203 is not attacking, the mode switching control 1202 is displayed on the upper layer of the virtual environment screen, and its specific location may be below the attack control 1201, making it convenient for the user to quickly click the mode switching control 1202 to switch the operation mode. When the user performs a first trigger operation on the attack control 1201 and the virtual object 1203 attacks in response to the trigger operation, the terminal can control the mode switching control 1202 to be hidden, so as to prevent the user from accidentally touching the mode switching control 1202 when triggering the attack control 1201 and switching the object operation mode. When the user finishes the second trigger operation on the attack control 1201 and the virtual object 1203 finishes attacking, the terminal can re-display the mode switching control 1202, making it convenient for the user to switch the object operation mode according to the game situation.

[0182] In this embodiment, by setting the mode switching control, the user can switch the object movement mode by operating the mode switching control during a game. Furthermore, there is no need to switch the object movement mode from the placement interface. By switching the object movement mode with the mode switching control, it is possible to effectively avoid being defeated by an enemy virtual object due to switching of the object movement mode. Furthermore, the mode switching control can be hidden when the virtual object attacks and continue to be displayed when the virtual object finishes attacking. In this way, it is possible to effectively avoid the user accidentally touching the mode switching control when controlling the virtual object to attack.

[0183] Referring to FIG. 13, it is a block diagram showing the configuration of a control device for a virtual object provided by an exemplary embodiment of the present application.

[0184] The device includes a display module 1301 for displaying a virtual environment screen including a virtual object and an attack control for triggering the virtual object to perform an attack; a control module 1302 for controlling the virtual object to perform an attack in response to a first trigger operation on the attack control and displaying action control controls around the attack control, the action control controls being used to trigger the virtual object to perform an action; and a control module 1302 for controlling the virtual object to perform a first action during the attack in response to a second trigger operation on the attack control, the first action belonging to a second action corresponding to the action control.

[0185] Preferably, the control module 1302 further determines an object action mode and displays action controls for the object action mode around the attack control, with different action modes corresponding to different action controls.

[0186] Preferably, when the object operation mode is the first operation mode, the control module 1302 further displays a virtual joystick control around the attack control, with the attack control as the center, the virtual joystick control being used to control the movement of the virtual object, and the control module 1302 further controls the virtual object to move during the attack based on the drag direction of the drag operation in response to a drag operation on the attack control.

[0187] Preferably, when the object operation mode is the second operation mode, the control module 1302 further displays a virtual roulette control around the attack control, with the attack control at the center, the virtual roulette control being divided into at least two first roulette sub-areas at different positions, and an action option for a second action being displayed in the first roulette sub-area, and the control module further identifies a second roulette sub-area from the at least two first roulette sub-areas based on a control position of the dragged attack control in response to a drag operation on the attack control, the control position overlaps with the second roulette sub-area, and controls the virtual object to perform a first action during the attack, and the first action is the second action displayed in the second roulette sub-area.

[0188] Preferably, the control module 1302 further controls the virtual object to perform a first action during an attack when the duration of time that the attack control stays at the control position reaches a time length threshold.

[0189] Preferably, the device further includes a display module 1301 for displaying a configuration interface of the virtual roulette control, and an update module for updating the operation options included in the virtual roulette control in response to a configuration operation in the configuration interface.

[0190] Preferably, the update module further receives a selection operation on a target roulette sub-area in the virtual roulette control, displays a first action option in the target roulette sub-area, and updates the first action option displayed in the target roulette sub-area to the second action option in response to a trigger operation on a setting control corresponding to a second action option in the action selection list, and removes the first action option displayed in the target roulette sub-area in response to a trigger operation on an unload control corresponding to the first action option in the action selection list.

[0191] Preferably, the display module 1301 includes a display module for displaying a mode switching control for triggering switching of an object operation mode, and a switching module for switching the object operation mode in response to a third trigger operation on the mode switching control.

[0192] Preferably, the device further includes a hiding module for hiding the mode switching control in response to a first trigger operation on the attack control, and a restoring module for restoring the mode switching control in response to termination of the second trigger operation on the attack control.

[0193] Preferably, the device further includes the control module 1302 for controlling the virtual object to stop attacking and stop performing the first action in response to the second trigger operation on the attack control being terminated.

[0194] 14 is a block diagram illustrating a configuration of a terminal 1400 provided by an exemplary embodiment of the present application. The terminal 1400 may be a mobile terminal such as a smartphone, a tablet PC, an MP3 player (Moving Picture Experts Group Audio Layer III, a moving picture experts compressed standard audio layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, a moving picture experts compressed standard audio layer 4) player, etc. The terminal 1400 may also be called a user device, a mobile terminal, or other names.

[0195] Typically, the terminal 1400 includes a processor 1401 and a memory 1402 .

[0196] The processor 1401 may include one or more processing cores, such as, for example, a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). The processor 1401 may include a main processor, also referred to as a CPU (Central Processing Unit), for processing data in a wake-up state, and a coprocessor, which is a low-power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit) for rendering and drawing content that needs to be displayed by a display screen. In some examples, the processor 1401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.

[0197] Memory 1402 may include one or more computer-readable storage media, which may be tangible or non-transitory. Memory 1402 may further include one or more high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, etc. In some embodiments, the non-transitory computer-readable storage media in memory 1402 stores at least one instruction for execution by processor 1401 to implement a method for controlling a virtual object provided by an embodiment of the present application.

[0198] In some embodiments, terminal 1400 may further include a peripheral interface 1403 and at least one peripheral, such as, for example, a radio frequency circuit, a touch screen, a power supply, etc.

[0199] As will be appreciated by those skilled in the art, the configuration shown in FIG. 14 is not intended to limit terminal 1400, which may include more or fewer components than shown, may combine any components, or may be configured using different components.

[0200] An embodiment of the present application further provides a computer-readable storage medium having stored thereon at least one instruction to be loaded and executed by a processor so as to realize the method for controlling a virtual object described in the above aspect.

[0201] According to one aspect of the present application, a computer program product is provided, the computer program product including computer instructions that, when executed by a processor, realize the method for controlling a virtual object described in each of the above embodiments.

[0202] As will be appreciated by those skilled in the art, in one or more examples above, the functions described in the embodiments of the present application can be implemented by hardware, software, firmware, or any combination thereof. If these functions are implemented using software, they may be stored on a computer-readable storage medium or transmitted as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, where communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media may be any available medium accessible by a general-purpose or special-purpose computer.

[0203] The above description is only an illustrative embodiment of the present application, and does not limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included within the protection scope of the present application. [Explanation of symbols]

[0204] 110 First Terminal 111 Application Program 111 Applications 112 First User 120 servers 121 memory 122 processors 123 User Account Database 124 Battle Service Module 125 Input / Output Interface (I / O Interface) 125 I / O interfaces 130 Second Terminal 131 Application Programs 132 Second User 220 Attack Control 230 Virtual Objects 240 Virtual Joystick 250 Motion Control 501 Virtual Objects 502 Attack Control 503 Virtual Joystick Control 701 Virtual Objects 702 Attack Control 703 Virtual Roulette Control 1010 Virtual Roulette Control 1011 First Roulette Sub-area 1012 Second Roulette Sub-area 1013 Third Roulette Sub-area 1014 Fourth Roulette Sub-area 1020 Action Selection List 1021 First Operation Option 1021 Secondary Operation Option 1022 Settings Control 1023 Second Operation Option 1024 Configuration Controls 1024 Second Operation Option 1101 First Virtual Roulette Control 1102 Second Virtual Roulette Control 1103 Third Virtual Roulette Control 1201 Attack Control 1202 Control 1203 Virtual Objects 1301 Display Module 1302 Control Module 1400 terminals 1401 processor 1402 memory 1403 Peripheral Interface 2021 First Operation Option

Claims

1. A method for controlling a virtual object executed by a terminal, comprising: displaying a virtual environment screen including a virtual object and an attack control for triggering the virtual object to perform an attack; a step of controlling the virtual object to perform an attack in response to a first trigger operation on the displayed attack control, and displaying an action control corresponding to an object action mode around the attack control, the action control being for triggering the virtual object to perform an action; controlling the virtual object to perform an action corresponding to the object action mode during an attack in response to a second trigger operation on the attack control that follows the first trigger operation on the displayed attack control; Including, A method in which the first trigger operation is one of a click operation, a long press operation for a predetermined period of time, or a press operation on the displayed attack control, and the second trigger operation is a drag operation or a slide operation that follows the first trigger operation.

2. The step of displaying an action control corresponding to an object action mode around the attack control includes: determining the object operation mode; displaying the action control of the object action mode around the attack control, wherein different object action modes correspond to different action control; 10. The method of claim 1, comprising:

3. The step of displaying the action control of the object action mode around the attack control includes: a step of displaying a virtual joystick control around the attack control when the object operation mode is a first operation mode, the virtual joystick control being for controlling movement of the virtual object; Including, The step of controlling the virtual object to perform a first action corresponding to the object action mode during an attack in response to the second trigger operation includes: a step of controlling, in response to the drag operation, the virtual object to move during an attack based on a drag direction of the drag operation when the second trigger operation is a drag operation; 3. The method of claim 2, comprising:

4. The step of displaying the action control of the object action mode around the attack control includes: When the object operation mode is a second operation mode, displaying a virtual roulette control around the attack control with the attack control as a center, the virtual roulette control being divided into at least two first roulette sub-areas at different positions, and operation options being displayed in the first roulette sub-areas; Including, The step of controlling the virtual object to perform the action corresponding to the object action mode during an attack in response to the second trigger operation includes: If the second trigger operation is a drag operation, in response to the drag operation, identifying a second roulette sub-area from the at least two first roulette sub-areas based on a control position of the dragged attack control, wherein the control position overlaps with the second roulette sub-area; a step of controlling the virtual object to perform the action corresponding to the object action mode during an attack, the action being an action displayed in the second roulette sub-area; 3. The method of claim 2, comprising:

5. The step of controlling the virtual object to perform the action corresponding to the object action mode during an attack includes: controlling the virtual object to perform the action during an attack when the attack control's stay time at the control position reaches a time length threshold; 5. The method of claim 4, comprising:

6. displaying a configuration interface of the virtual roulette control; updating the action options included in the virtual roulette control in response to a placement operation within the placement interface; The method of claim 4 further comprising:

7. the configuration interface displays the virtual roulette control and an action selection list; updating the action options included in the virtual roulette control in response to a placement operation in the placement interface; a step of receiving a selection operation for a target roulette sub-area of ​​the virtual roulette control, wherein a first action option is displayed in the target roulette sub-area; In response to a trigger operation on a setting control corresponding to a second action option in the action selection list, updating the first action option displayed in the placement target roulette sub-area to the second action option; removing the first action option displayed in the placement target roulette sub-area in response to a trigger operation on an unload control corresponding to the first action option in the action selection list; 7. The method of claim 6, comprising:

8. displaying a mode switching control for triggering switching of the object operation mode; switching the object operation mode in response to a third trigger operation on the mode switching control; The method of claim 2 further comprising:

9. In response to the first trigger operation, hiding the mode switching control; Restoring the display of the mode switching control in response to the end of the second trigger operation; The method of claim 8 further comprising:

10. The method of claim 1, further comprising the step of controlling the virtual object to stop attacking and stop performing the action in response to the second trigger operation being terminated.

11. A control device for a virtual object, comprising: a display module for displaying a virtual environment screen including a virtual object and an attack control for triggering the virtual object to perform an attack; a control module that controls the virtual object to perform an attack in response to a first trigger operation on the displayed attack control and displays an action control corresponding to an object action mode around the attack control, the action control being used to trigger the virtual object to perform an action; a control module that controls the virtual object to perform an action corresponding to the object action mode during an attack in response to a second trigger operation on the attack control that follows the first trigger operation on the displayed attack control; Including, The device, wherein the first trigger operation is one of a click operation, a long press operation for a predetermined period of time, or a press operation on the displayed attack control, and the second trigger operation is a drag operation or a slide operation that follows the first trigger operation.

12. 12. The apparatus of claim 11, wherein the control module further determines the object motion mode and displays the motion controls for the object motion mode around the attack control, wherein different object motion modes correspond to different motion controls.

13. the control module further displays a virtual joystick control around the attack control when the object operation mode is a first operation mode, the virtual joystick control being used to control movement of the virtual object; The device according to claim 12 , wherein, when the second trigger operation is a drag operation, the control module further controls, in response to the drag operation, the virtual object to move during the attack based on a drag direction of the drag operation.

14. The control module further displays a virtual roulette control around the attack control when the object operation mode is a second operation mode, the virtual roulette control being divided into at least two first roulette sub-areas at different positions, and an operation option being displayed in the first roulette sub-area; The control module further, when the second trigger operation is a drag operation, identifies a second roulette sub-area from the at least two first roulette sub-areas based on a control position of the dragged attack control in response to the drag operation, the control position overlapping the second roulette sub-area; The device according to claim 12 , wherein the virtual object is controlled to perform the action corresponding to the object action mode during an attack, the action being an action displayed in the second roulette sub-area.

15. The device of claim 14 , wherein the control module further controls the virtual object to perform the action during an attack when the attack control stays at the control position for a time length threshold.

16. a display module for displaying a configuration interface of the virtual roulette control; 15. The apparatus of claim 14, further comprising: an update module for updating the action options included in the virtual roulette control in response to a placement operation in the placement interface.

17. the configuration interface displays the virtual roulette control and an action selection list; 17. The device of claim 16, wherein the update module further receives a selection operation on a target roulette sub-area in the virtual roulette control, displays a first action option in the target roulette sub-area, updates the first action option displayed in the target roulette sub-area to the second action option in response to a trigger operation on a set control corresponding to a second action option in the action selection list, and removes the first action option displayed in the target roulette sub-area in response to a trigger operation on an unload control corresponding to the first action option in the action selection list.

18. A terminal including a processor and a memory, wherein at least one program is stored in the memory, and the at least one program is loaded into the processor and executed to realize the method for controlling a virtual object described in any one of claims 1 to 10.

19. A computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium, and a processor reading and executing the computer instructions from the computer-readable storage medium, thereby realizing the method for controlling a virtual object according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method and device for controlling virtual characters in game, storage medium and electronic equipment

    CN107551537A

  • Game control method, mobile terminal and computer readable storage medium

    CN109045689A

  • Terminal game control method, terminal, and computer-readable storage medium

    CN109157832A

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

    CN109460179A

  • Control method, device, equipment and storage medium for shooting game

    CN109847370A