A method for controlling virtual objects, a control device for virtual objects, terminal equipment, and a computer program.

A joystick control with multiple sensitivity-based trigger areas addresses the simplicity of existing virtual object control methods, enabling variable speed control and enhancing interaction efficiency in shooting games.

JP7830686B2Active Publication Date: 2026-03-16TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-04-27
Publication Date
2026-03-16

AI Technical Summary

Technical Problem

Existing control methods for virtual objects in shooting games are simplistic, lacking the ability to differentiate movement speeds based on user input sensitivity, leading to limited interaction efficiency.

Method used

Implementing a joystick control with multiple trigger areas, each corresponding to different sensitivities, allowing the movement speed of virtual objects to be determined based on the sensitivity of the trigger region where the user's initial slide operation is located, enabling variable speed control.

Benefits of technology

Enriches the control methods for virtual objects by allowing users to initiate slide operations in trigger areas of different sensitivities, improving human-computer interaction efficiency and enhancing the gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007830686000001
    Figure 0007830686000001
  • Figure 0007830686000002
    Figure 0007830686000002
  • Figure 0007830686000003
    Figure 0007830686000003
Patent Text Reader

Abstract

A method, device, equipment, storage medium, and program product for controlling a virtual object, which relate to the technical fields of computers and the Internet. The method includes a step (320) of displaying a user interface, in which a joystick control for controlling a movement of a virtual object is displayed on the user interface, the joystick control having a plurality of trigger areas, different trigger areas corresponding to different sensitivities, a step (340) of determining a first movement speed of the virtual object based on the sensitivity of the first trigger area in response to a first sliding operation whose starting position is located in the first trigger area, and a step (360) of controlling the virtual object to move at the first movement speed. A user can start to perform a sliding operation at trigger areas with different sensitivities according to different needs. This allows the virtual object to be controlled to move at different speeds, enriching the control method of the virtual object and improving the efficiency of human-computer interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application claims priority based on a Chinese patent application filed on July 12, 2022, with an application number of No. 202210822326.7 and an invention title of "Control Method, Device, Equipment, Storage Medium, and Program Product for Virtual Objects", and all its contents are incorporated herein by reference.

[0002] The embodiments of this application relate to the technical fields of computers and the Internet, and in particular, to a control method for virtual objects, Controlling virtual objects device, terminal equipment, storage medium, and computer program Mu related.

Background Art

[0003] In a shooting game competition, a user can control the movement of a virtual object using a joystick control.

[0004] In related technologies, when a user's finger taps on a joystick control, the movement direction of the virtual object can be controlled according to the direction of the finger's sliding operation. <00,00021> However, in the above related technologies, the control method of virtual objects is simple.

Summary of the Invention

Problems to be Solved by the Invention

[0006] The embodiments of this application provide a control method for virtual objects, Controlling virtual objects device, terminal equipment, storage medium, and computer program Mu as follows.

Means for Solving the Problems

[0007] According to one embodiment of the present invention, a method for controlling a virtual object, which is performed by a terminal device, is provided. The method is A step of displaying a user interface, wherein the user interface displays a joystick control for controlling the movement of a virtual object, and the joystick control has multiple trigger areas Compatible Furthermore, different trigger areas correspond to different sensitivities, in steps, A step of determining a first movement speed of the virtual object based on the sensitivity of the first trigger region in response to a first slide operation in which the starting position is located in the first trigger region, wherein the first trigger region is one of the plurality of trigger regions, The steps include controlling the virtual object to move at the first movement speed, The steps include: displaying the joystick control at the starting position of the first slide operation in response to the first slide operation; Includes fruit, Each of the aforementioned multiple trigger regions is a specific region in the interface, The joystick control is located in at least one of the plurality of trigger areas. .

[0008] According to another embodiment of the present invention, a method for controlling a virtual object, which is performed by a terminal device, is provided. The method is A step of displaying a user interface, wherein the user interface displays a joystick control for controlling the movement of a virtual object, and the joystick control has multiple trigger areas Compatible The steps to do, A step of controlling the virtual object to move at a first movement speed in response to a first slide operation in which the starting position is located in a first trigger area, The steps include: displaying the joystick control at the starting position of the first slide operation in response to the first slide operation; The process includes the step of controlling the virtual object to move at a second movement speed in response to a second slide operation in which the starting position is located in a second trigger region, Each of the aforementioned multiple trigger regions is a specific region in the interface, The joystick control is located in at least one of the plurality of trigger areas, The first trigger region and the second trigger region are each one of the plurality of trigger regions, and the first trigger region and the second trigger region are different, and the first movement speed and the second movement speed are different.

[0009] According to one embodiment of the present invention, a control device for virtual objects is provided. The device is An interface display module that displays a user interface, wherein the user interface displays a joystick control for controlling the movement of a virtual object, and the joystick control has multiple trigger areas Compatible Furthermore, different trigger areas correspond to different sensitivities, and the interface display module, A velocity determination module that determines a first movement velocity of a virtual object based on the sensitivity of the first trigger region in response to a first slide operation in which the starting position is located in the first trigger region, wherein the first trigger region is one of the plurality of trigger regions, Includes a movement control module that controls the virtual object to move at the first movement speed. fruit, The interface display module, in response to the first slide operation, displays the joystick control at the starting position of the first slide operation. Each of the aforementioned multiple trigger regions is a specific region in the interface, The joystick control is located in at least one of the plurality of trigger areas. .

[0010] According to one embodiment of the present invention, a control device for virtual objects is provided. The device is An interface display module that displays a user interface, wherein the user interface displays a joystick control for controlling the movement of a virtual object, and the joystick control has multiple trigger areas Compatible The interface display module, Includes a movement control module that controls the virtual object to move at a first movement speed in response to a first slide operation in which the starting position is located in a first trigger region, The interface display module, in response to the first slide operation, displays the joystick control at the starting position of the first slide operation. Each of the aforementioned multiple trigger regions is a specific region in the interface, The joystick control is located in at least one of the plurality of trigger areas, The movement control module further controls the virtual object to move at a second movement speed in response to a second slide operation whose starting position is located in the second trigger area. The first trigger area and the second trigger area are each one of the plurality of trigger areas, the first trigger area is different from the second trigger area, and the first movement speed is different from the second movement speed.

[0011] According to one aspect of the embodiments of the present application, a terminal device including a processor and a memory is provided. A computer program is stored in the memory, and when the computer program is loaded and executed by the processor, the above method is implemented.

[0012] According to one aspect of the embodiments of the present application, a computer-readable storage medium storing a computer program is provided. When the computer program is loaded and executed by a processor, the above method is implemented.

[0013] According to one aspect of the embodiments of the present application ,Ko nputer program Mu is provided. The computer program is computer Ta executes the above Controlling virtual objects method.

Advantages of the Invention

[0014] The configuration provided in the embodiments of the present application can bring the following beneficial effects.

[0015] By providing multiple trigger areas corresponding to different sensitivities, and determining the movement speed of the virtual object based on the sensitivity of the trigger area where the user's initial slide operation is located, and controlling the virtual object to move at that speed, users can initiate slide operations in trigger areas of different sensitivities according to their different needs. This allows for the control of virtual objects to move at different speeds, enriching the control methods for virtual objects and improving the efficiency of human-computer interaction. [Brief explanation of the drawing]

[0016] [Figure 1] This is a schematic diagram of the configuration implementation environment provided in one embodiment of the present application. [Figure 2] This is a schematic diagram of a method for controlling a virtual object provided in one embodiment of the present invention. [Figure 3] This is a flowchart of a method for controlling a virtual object provided in one embodiment of the present invention. [Figure 4] This is a schematic diagram of the user interface provided in one embodiment of the present invention. [Figure 5] This is a schematic diagram of a user interface provided in other embodiments of the present application. [Figure 6] This is a schematic diagram of a user interface provided in other embodiments of the present application. [Figure 7] This is a schematic diagram of a user interface provided in other embodiments of the present application. [Figure 8] This is a flowchart of a method for controlling a virtual object provided in other embodiments of the present application. [Figure 9] This is a flowchart of a method for controlling a virtual object provided in other embodiments of the present application. [Figure 10] This is a schematic diagram of a user interface provided in other embodiments of the present application. [Figure 11] This is a schematic diagram of a user interface provided in other embodiments of the present application. [Figure 12]This is a schematic diagram of a user interface provided in other embodiments of the present application. [Figure 13] This is a flowchart of a method for controlling a virtual object provided in other embodiments of the present application. [Figure 14] This is a schematic diagram of a user interface provided in other embodiments of the present application. [Figure 15] This is a schematic diagram of a user interface provided in other embodiments of the present application. [Figure 16] This is a flowchart of a method for controlling a virtual object provided in other embodiments of the present application. [Figure 17] This is a schematic diagram of a user interface provided in other embodiments of the present application. [Figure 18] This is a flowchart of a method for controlling a virtual object provided in other embodiments of the present application. [Figure 19] This is a block diagram of a control device for a virtual object provided in one embodiment of the present application. [Figure 20] This is a block diagram of a control device for a virtual object provided in another embodiment of the present application. [Figure 21] This is a block diagram of a control device for a virtual object provided in another embodiment of the present application. [Figure 22] This is a block diagram of the configuration of a terminal device provided in one embodiment of the present invention. [Modes for carrying out the invention]

[0017] Refer to Figure 1. Figure 1 shows a schematic diagram of a configuration implementation environment provided in one embodiment of the present invention. This configuration implementation environment may be implemented as a control system for virtual objects. This configuration implementation environment may include terminal equipment 10 and a server 20.

[0018] The terminal device 10 may be an electronic device such as a mobile phone, tablet computer, game console, e-book reader, multimedia playback device, wearable device, personal computer (PC), or in-vehicle terminal. A client for the target application (e.g., a game application) may be installed on the terminal device 10. Optionally, this target application may be an application that requires download and installation, or a Quick Run application. The embodiments of this application are not limited thereto.

[0019] In embodiments of the present application, the target application may be a shooting application, a racing application, a multiplayer online battle arena game, etc. The present application is not limited thereto. In some embodiments, the target application may be a shooting application. This shooting application can provide a virtual environment for the movement of a virtual object operated by the user. Typically, shooting applications include third-person shooting games (TPS), first-person shooting games (FPS), multiplayer online battle arena (MOBA) games, multiplayer gunfight survival games, virtual reality (VR) shooting applications, and augmented reality (AR) applications. shootingThe application may be any application with shooting product functionality, such as a general application, a 3D map application, a social application, or an interactive entertainment application. Different applications will have different forms or shapes of virtual objects they provide, and correspondingly different functions. These can be designed according to actual needs. The embodiments of this application are not limited thereto. Optionally, a client of the above application is running on the terminal device 10. In some embodiments, the above application is an application developed based on a 3D virtual environment engine. For example, this virtual environment engine is the Unity engine. This virtual environment engine can construct a 3D virtual environment, virtual objects, and virtual items, etc., to provide the user with a more immersive gaming experience.

[0020] Here, the virtual environment is a scene that is displayed (or provided) when a client of a target application (e.g., a game application) is executed on a terminal device. This virtual environment refers to a scene constructed for virtual objects to move (e.g., in a game competition), such as a virtual house, virtual island, or virtual map. The virtual environment may be a simulation environment of the real world, a semi-simulated, semi-virtual environment, or a purely virtual environment. The virtual environment may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual scene. The embodiments of this application are not limited thereto.

[0021] The above-mentioned virtual objects refer to virtual characters, virtual vehicles, virtual items, etc., controlled by a user account in the target application. This application is not limited thereto. Taking the case where the target application is a game application as an example, the virtual object refers to a game character controlled by a user account in the game application. The virtual object may be in the form of a person, an animal, an animation, or other form. This application is not limited thereto. The virtual object may be displayed in three dimensions or in two dimensions. This application is not limited thereto. Optionally, if the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional model created based on animation skeletal technology. Each virtual object has its own shape and volume within the three-dimensional virtual environment and occupies a portion of the space within the three-dimensional virtual environment. Optionally, the virtual object is a virtual vehicle within the virtual environment, such as a virtual car, virtual hot air balloon, virtual motorcycle, etc., which is a virtual item that can be controlled by the user.

[0022] Server 20 provides backend services to clients of the target application installed and running on terminal devices 10. For example, Server 20 may be the backend server for the game application. Server 20 may be a single server, a server cluster consisting of multiple servers, or a single cloud computing service center. Optionally, Server 20 provides backend services to target applications on multiple terminal devices 10.

[0023] Terminal device 10 and server 20 can communicate with each other via a network.

[0024] Refer to Figure 2. Figure 2 shows a schematic diagram of a virtual object control method provided in one embodiment of the present invention. A terminal device 10, as shown in Figure 1, displays a user interface, and the user interface is provided with a plurality of trigger areas, which are trigger area z1, trigger area z2, and trigger area z3. The three trigger areas each correspond to a different sensitivity, and the sensitivity of the trigger areas is related to the movement speed of the virtual object. When the starting position of the user's slide operation is located at trigger area z1 of the plurality of trigger areas, the movement speed of the virtual object is determined based on the sensitivity of trigger area z1, and the movement of the virtual object is controlled at this speed.

[0025] In the configuration provided in the embodiment of the present invention, the user interface is provided with multiple trigger areas, each corresponding to a different sensitivity, and each different sensitivity corresponds to a different movement speed of the virtual object. When the user's slide operation starts in a target trigger area, the movement speed of the virtual object is determined based on the sensitivity of the target trigger area, and the virtual object is controlled to move at this speed. In other words, before the start of a competitive match, the user can set the trigger areas according to their operating habits. The settings for the trigger areas include, but are not limited to, the size of the area and the sensitivity of the area. During a competitive match, the user can change the movement speed of the virtual object by adjusting the starting position of the slide operation in response to the real-time situation. This further improves the user's control over the virtual object and enhances the user's competitive experience.

[0026] Refer to Figure 3. Figure 3 shows a flowchart of a method for controlling a virtual object provided in one embodiment of the present invention. In this method, the entity executing each step may be the terminal device 10 in the configuration implementation environment shown in Figure 1. For example, the entity executing each step may be a client of the target application. In the following embodiments of the method, for the sake of explanation, only the case where the entity executing each step is a "client" will be described. This method may include at least one of the following steps (320-360).

[0027] In step 320, a user interface is displayed, which shows a joystick control for controlling the movement of a virtual object. The joystick control has multiple trigger areas, each corresponding to a different sensitivity.

[0028] Joystick control, also known as a virtual joystick, consists of a disc and Joystick It consists of parts. The disc part is the operable range of the virtual joystick, and when not operated by the user, Joystick The position of the part will not be changed. Optionally, Joystick The part slides within the range of the disc as the finger slides, and the user is within the range of the disc. Joystick The part can be slid arbitrarily. In some embodiments, the joystick control can control the direction of movement of the virtual object.

[0029] A trigger region refers to a specific area within an interface, and different trigger regions correspond to different sensitivities. This region may be configured by the server, or it may be configured and adjusted by the user. In the embodiments of this application, the size and shape of the trigger region are not limited. For example, the shape of the trigger region may be rectangular, circular, or a rounded rectangle, and the size of the trigger region may be reasonably set to match the layout of the interface. Furthermore, different trigger regions may have the same size and shape, or they may be different. This application is not limited to these.

[0030] In the embodiments of this application, sensitivity refers to movement sensitivity, which can be understood as the user performing the same slide operation in different trigger regions, but at different speeds controlling and moving the virtual object. In some embodiments, when the user performs the same slide operation on the user interface, but the trigger region where the starting position of the slide operation is located is different, the movement speed of the virtual object corresponding to the different trigger regions will be different. Optionally, the movement speed of the corresponding virtual object in one trigger region is 10 meters / second, and in another trigger region, the movement speed of the corresponding virtual object is 20 meters / second.

[0031] Refer to Figure 4. Figure 4 shows a schematic diagram of a user interface provided in one embodiment of the present invention. Here, the user interface displays a joystick control Y1 for controlling the movement of a virtual object. The joystick control has two trigger regions, which are trigger region Q1 and trigger region Q2, respectively. Different trigger regions correspond to different sensitivities. Optionally, the sensitivity of trigger region Q1 is x, and the sensitivity of trigger region Q2 is y, where x and y are positive numbers. In this case, the joystick control Y1 shown in Figure 4 is located in trigger region Q1, and the sensitivity of the joystick control Y1 is x.

[0032] In step 340, in response to a first slide operation whose starting position is located in the first trigger region, a first movement speed of the virtual object is determined based on the sensitivity of the first trigger region, where the first trigger region is one of several trigger regions.

[0033] The first slide operation is an action performed by the user.Optionally, the terminal device is a handheld device, and the user's first slide operation is an operation performed directly on the terminal device, such as a slide operation, press operation, or drag operation on a mobile phone screen.Optionally, the terminal device is not a handheld device, and the user's first slide operation is slide The operation may be an operation performed on a peripheral device of a terminal device, such as a double-click operation on a mouse, a click operation on a keyboard, or a click or roll operation on a handle. This application does not limit the type of first slide operation. In some embodiments, the slide operation has a starting position and a real-time position. For example, if the slide operation is a slide operation on a mobile phone screen, the starting position is the position where the hand first touches the screen. Next, the hand slides on the screen to perform the slide operation. During the slide operation, the position where the hand is currently touching the screen is the real-time position of the slide operation. When the hand leaves the screen, the slide operation ends.

[0034] Refer to Figure 5. Figure 5 shows a schematic diagram of a user interface provided in another embodiment of the present invention. Here, the user interface displays a joystick control for controlling the movement of a virtual object. The joystick control has three trigger regions, which are trigger region Q3, trigger region Q4, and trigger region Q5, respectively. Different trigger regions correspond to different sensitivities. Optionally, the sensitivity of trigger region Q3 is 10, and the sensitivity of trigger region Q4 is 8. Trigger area The sensitivity of Q5 is 5. In this case, the joystick control shown in Figure 5 is located in the trigger region Q5, and the sensitivity of the joystick control Y1 is 5.

[0035] In some embodiments, the server pre-configures movement speeds corresponding to different sensitivities. Optionally, sensitivity 1 represents a virtual object movement speed of 1 m / s, sensitivity 2 represents a virtual object movement speed of 2 m / s, and so on. In Figure 5, based on the sensitivity of trigger region Q5 being 5, the first movement speed of the virtual object is determined to be 5 m / s.

[0036] In some embodiments, the sensitivity of different trigger areas can be customized by the user, either before entering a game match or after entering a game match, depending on the real-time situation of the match. Optionally, the initial sensitivities of trigger areas Q3, Q4, and Q5 in Figure 5 are 10, 8, and 5, respectively, but the user can set the sensitivity of trigger area Q5 themselves, considering that the sensitivity of trigger area Q5 does not need to reach 5. After adjusting the sensitivity, when the sensitivity of trigger area Q5 of the joystick control changes, the movement speed of the virtual object also changes in response to the user's slide operation. For example, if the sensitivity of trigger area Q5 is adjusted from 5 to 3, the movement speed of the virtual object is adjusted to 3 m / s.

[0037] In some embodiments, there is no overlapping region between any two trigger regions among multiple trigger regions. For example, in the user interface shown in Figures 4 and 5, there is no overlapping region between trigger regions. The trigger region where the starting position of a slide operation performed by the user is located is determined as the selected trigger region, for example, the trigger region where the starting position of the first slide operation is located is determined as the first trigger region. Optionally, if the starting position of a slide operation is located at the boundary of a trigger region, the trigger region with the highest sensitivity near the boundary may be set as the first trigger region, or the trigger region with the lowest sensitivity near the boundary may be set as the first trigger region. Optionally, if the starting position of a slide operation is located at the boundary B1 (shown as a dashed line in the figure) of the user interface shown in Figure 4, trigger region Q1 may be determined as the first trigger region, or trigger region Q2 may be determined as the first trigger region, or the one with the higher sensitivity among trigger regions Q1 and Q2 may be determined as the first trigger region.

[0038] In some embodiments, an overlapping region exists between at least two of a plurality of trigger regions. When a first slide operation is detected, the start position of the first slide operation is obtained, the interval between the start position of the first slide operation and the reference point of each trigger region is determined, and the trigger region with the smallest interval is determined as the first trigger region from among the plurality of trigger regions. Here, the positions of the reference points of each trigger region are different from each other. In the embodiments of the present invention, "an overlap exists between two trigger regions" means that an overlapping region exists between two trigger regions, but a non-overlapping region also exists accordingly; that is, the two trigger regions do not completely overlap, but only partially. For example, in the user interface shown in Figure 6, there are trigger regions Q6, Q7, and Q8, and an overlap exists between the three trigger regions. An overlapping portion exists between trigger region Q6 and trigger region Q7, but a non-overlapping portion exists between trigger region Q6 and trigger region Q7, and a non-overlapping portion also exists between trigger region Q6 and trigger region Q7. Optionally, the trigger region where the start position of the slide operation is located may be determined as the first trigger region. If the start position of the slide operation is located in an overlapping region, the trigger region where the sensitivity of the trigger regions near the boundary is maximized may be set as the first trigger region, or the trigger region where the sensitivity of the trigger regions near the boundary is minimized may be set as the first trigger region. Optionally, based on the distance between the start position of the slide operation and the reference point of each trigger region, the closest trigger region may be selected as the selected trigger region. Optionally, the reference point may be the center point of the trigger region, or another position capable of representing the trigger region. As shown in Figure 6, the start position of the slide operation is D0, D1 is the center position of trigger region Q6, D2 is the center position of trigger region Q7, and D3 is the center position of trigger region Q8. In this case, the start position of the slide operation D0 is in the overlapping region of trigger region Q6 and trigger region Q7. When comparing the distance from D0 to D1 and the distance from D0 to D2, the distance from D0 to D2 is smaller, so the trigger region Q7 where D2 is located is determined to be the selected first trigger region.

[0039] In the embodiment of the present invention, on the one hand, by overlapping multiple trigger areas, the interface area occupied by the trigger areas can be reduced, thus avoiding any impact on the placement of other controls in the interface. On the other hand, when overlapping multiple trigger areas, the trigger area closest to the operating position is selected as the trigger area selected by the user, thereby ensuring accurate selection of the trigger area.

[0040] In the embodiments of this application, Trigger area The shape and arrangement are not limited. For example, the three trigger areas in Figure 6 are distributed vertically. In some embodiments, they may be distributed horizontally, as shown in Figure 7 (horizontally distributed trigger areas Q9, Q10, and Q11). In embodiments of the present application, the positions of the multiple trigger areas are arranged in an order in which the sensitivity corresponding to each of the multiple trigger areas increases or decreases. Optionally, the sensitivity of the horizontally distributed trigger areas Q9, Q10, and Q11 in Figure 7 increases. Optionally, the sensitivity of trigger areas Q6, Q7, and Q8 in Figure 6 decreases. This prevents accidental touches of the trigger areas by the user, and by following the usual increasing / decreasing order, it becomes easier for the user to remember and easier for the user to operate.

[0041] In the configuration provided in the embodiment of this application, different user needs can be met by configuring the trigger area. If the user does not want the area occupied by the trigger area to be too large, the trigger area can be arranged horizontally to reduce the area it needs to occupy. If the user needs a larger trigger area, they can also choose a vertically distributed trigger area. A larger trigger area requires less user interaction, while a smaller trigger area requires more interaction, thus meeting the needs of different users. This makes the system user-friendly for both novice and experienced users, resulting in a better user experience.

[0042] In step 360, the virtual object is controlled to move at the first movement speed.

[0043] Once the client determines a first movement speed for a virtual object, it can control the virtual object to move at that first movement speed.

[0044] Optionally, the first movement speed of a virtual object is related to various other factors in addition to the sensitivity of the trigger area, such as the vehicle the virtual object is riding in, the environment in which the virtual object is located, and the appearance of the virtual object. For specifics, please refer to the following examples. Further explanation is omitted here.

[0045] In some embodiments, the user interface displays a numerical value for the first movement speed, allowing the user to understand the movement speed of the virtual object currently being controlled and to adjust the starting position of the slide operation in real time according to the virtual environment's conditions in order to obtain different movement speeds corresponding to different trigger areas. This allows the user to adjust operations in a timely manner according to numerical information, making the game more strategic. In some embodiments, different movement speeds correspond to different animation effects, which enhances the user's sense of immersion in the virtual object and improves the overall experience.

[0046] In the configuration provided in the embodiment of the present invention, multiple trigger regions corresponding to different sensitivities are provided, and the movement speed of the virtual object is determined based on the sensitivity of the trigger region where the user's initial slide operation is located. By controlling the virtual object to move at that speed, the user can initiate slide operations in trigger regions of different sensitivities according to different needs. This allows the virtual object to be controlled to move at different speeds, enriching the control methods for virtual objects and improving the efficiency of human-computer interaction.

[0047] Furthermore, the configuration provided in the embodiment of the present invention simplifies user operation because the user does not need to manually set the sensitivity during a match, contributing to increased flexibility and efficiency in the user's control over the movement of virtual objects.

[0048] Refer to Figure 8. Figure 8 shows a flowchart of a method for controlling a virtual object provided in other embodiments of the present invention. In this method, the entity executing each step may be the terminal device 10 in the configuration implementation environment shown in Figure 1. For example, the entity executing each step may be a client of the target application. In the embodiments of the method described below, for the sake of explanation, only the case where the entity executing each step is a "client" will be described. This method may include at least one of the following steps (320-360).

[0049] In step 320, a user interface is displayed, which shows a joystick control for controlling the movement of a virtual object. The joystick control has multiple trigger areas, each corresponding to a different sensitivity.

[0050] In step 330, in response to a first slide operation whose starting position is located in the first trigger area, a joystick control is displayed at the starting position of the first slide operation.

[0051] Here, the first trigger region is one of several trigger regions.

[0052] In some embodiments, the joystick control is moved to the starting position of the first slide operation and displayed, that is, the movement process from the original display position of the first slide operation to the starting position is displayed, or the display of the joystick control is canceled at the original display position of the joystick control and the joystick control is displayed at the starting position of the first slide operation.

[0053] In step 340-1, the first movement speed of the virtual object is determined based on the sensitivity of the first trigger area and the attribute information of the first slide operation.

[0054] Attribute information is related to the first slide operation. Optionally, attribute information may include the distance between the real-time position of the first slide operation and the starting position of the first slide operation.

[0055] In some embodiments, the distance between the real-time position of the first slide operation and the starting position of the first slide operation is positively correlated with the movement speed. For example, if the distance between the real-time position of the first slide operation and the starting position of the first slide operation is 1 cm, the movement speed is 1 m / s; if the distance between the real-time position of the first slide operation and the starting position of the first slide operation is 2 cm, the movement speed is 2 m / s; and so on.

[0056] In some embodiments, the first movement speed of the virtual object is determined by the sensitivity of the first trigger region and the attribute information of the first slide operation. In the above embodiments, the sensitivity can correspond to different movement speeds, and the attribute information of the slide operation can also correspond to different movement speeds. The initial position of the slide operation is located triggerThe movement speed corresponding to the sensitivity of the area may be denoted as the first movement speed, and the movement speed corresponding to the attribute information of the first slide operation may be denoted as the second movement speed. The relative magnitudes of the first and second movement speeds may be determined, and the larger movement speed may be decided as the first movement speed of the virtual object.

[0057] In some embodiments, the first movement velocity of the virtual object is determined by both the sensitivity of the first trigger region and the attribute information of the first slide operation. Optionally, the sensitivity of the first trigger region and the attribute information of the first slide operation correspond to different weights. The initial position of the slide operation is located trigger The movement speed corresponding to the sensitivity of the area is referred to as the first movement speed, and the movement speed corresponding to the attribute information of the first slide operation is referred to as the second movement speed. The final movement speed is determined based on the proportion of the two.

[0058] In some embodiments, a sensitivity correction parameter is determined based on distance, and a first movement speed of a virtual object is determined based on the sensitivity correction parameter and the sensitivity of the first trigger area, the sensitivity correction parameter being used to adjust the sensitivity of the trigger area.

[0059] In some embodiments, the sensitivity correction parameter correlates with distance; as distance changes, the sensitivity correction parameter also changes, meaning there is a positive correlation between distance and the sensitivity correction parameter. Optionally, different distance intervals correspond to different sensitivity correction parameters. For example, when the distance is within the interval a1 to b1, the sensitivity correction parameter is d1, and when the distance is within the interval a2 to b2, the sensitivity correction parameter is d2. The sensitivity correction parameter can be understood as an interval function, where different intervals correspond to different values. Here, a1, b1, d1, a2, b2, and d2 are all positive numbers.

[0060] Based on the sensitivity correction parameter and the sensitivity of the first trigger region, the corrected sensitivity is determined, and the first movement speed of the virtual object is determined based on the corrected sensitivity. Here, determining the corrected sensitivity based on the sensitivity correction parameter and the sensitivity of the first trigger region may be done by addition or multiplication. This invention does not limit the specific algorithm.

[0061] In some embodiments, attribute information is information relating to the first slide operation. Optionally, attribute information may include other attribute information besides the distance of the first slide operation, such as the pressure value of the first slide operation. Optionally, there is a positive correlation between the pressure value of the slide operation and the movement speed of the virtual object. If the pressure value of the slide operation is the first pressure value, the movement speed of the virtual object is the first velocity; if the pressure value of the slide operation is the second pressure value, the movement speed of the virtual object is the second velocity; and if the first pressure value is greater than the second pressure value, the first velocity is greater than the second velocity.

[0062] In some embodiments, attribute information is information relating to the first slide operation. Optionally, attribute information may include other attribute information besides the distance of the first slide operation, such as the size of the trigger area covered by the first slide operation. Optionally, there is a positive correlation between the size of the trigger area covered by the slide operation and the movement speed of the virtual object. If the size of the trigger area covered by the slide operation is the first area, the movement speed of the virtual object is the third speed; if the size of the trigger area covered by the slide operation is the second area, the movement speed of the virtual object is the fourth speed; and if the first area is larger than the second area, the third speed is larger than the fourth speed.

[0063] In some embodiments, the movement speed of a virtual object is also related to the virtual environment location / region in which the virtual object is currently located (e.g., plains, grassland, snow, river, etc.). The movement speed of virtual objects is,This relates to the complexity of the virtual environment in which the virtual object is currently located. Optionally, if the virtual environment in which the virtual object is located is snow, the virtual object's movement speed decreases. Optionally, if the virtual environment in which the virtual object is located is flat ground, the virtual object's movement speed increases significantly compared to its movement speed in snow.

[0064] In the configuration provided in the embodiment of the present invention, the movement speed of the virtual object is determined by both the attribute information of the slide operation and the sensitivity of the trigger area, thereby more closely matching real-world situations and allowing the user to control the virtual object more precisely and accurately.

[0065] In step 360, the virtual object is controlled to move at the first movement speed.

[0066] In some embodiments, the method further includes at least one of the following steps (361-365, not shown in Figure 8):

[0067] In step 361, in response to a setting operation on a trigger area, the range frame corresponding to each of the multiple trigger areas is displayed.

[0068] In some embodiments, the user may set the trigger area before the start of the match or after the start of the match. This is not limited to this. The type of setting operation is also not limited to this, and may be a click operation on the trigger area or the trigger area may be set by other controls. In response to a setting operation on the trigger area, a range frame corresponding to each of the multiple trigger areas may be displayed, and the range frame may be displayed in the form of a highlight or as a normal line. This is not limited to a specific display method.

[0069] In step 362, in response to a delete operation on the target trigger region among multiple trigger regions, the display of the range frame corresponding to the target trigger region is canceled.

[0070] In some embodiments, the user can perform a delete operation on several unnecessary trigger regions. In an embodiment such as the one shown in Figure 6, the user can perform a delete operation on trigger region Q6. Optionally, the user can delete trigger region Q6 if they believe that it is unnecessary because it is not very useful.

[0071] In step 363, in response to an adjustment operation on the target trigger region among multiple trigger regions, at least one of the size and position of the range frame corresponding to the target trigger region is adjusted.

[0072] In some embodiments, the user can adjust the size and position of the trigger area's bounding box. Optionally, the user can adjust the size of the trigger area's bounding box through a first adjustment operation, for example, by increasing the size of the bounding box. Optionally, the user can adjust the position of the trigger area's bounding box through a second adjustment operation. Optionally, the user can drag the bounding box to move it to the desired position.

[0073] In step 364, in response to the operation to add a trigger area, the range frame corresponding to the newly added trigger area is displayed.

[0074] In some embodiments, the user can add trigger regions. Simultaneously, a range frame corresponding to the newly added trigger region is displayed.

[0075] In step 365, in response to the completion operation for setting up the trigger areas, multiple trigger areas corresponding to joystick control are set up according to the size and position of the range frame corresponding to each currently displayed trigger area.

[0076] The configuration provided in the embodiment of this application allows for adjustment of the size and position of the trigger area's range frame, and enables the addition or deletion of trigger areas, thereby meeting different user needs and adapting to different groups of users. For novice users, a small but large trigger area may be provided to avoid accidental touches. For experienced users, multiple small trigger areas may be provided to facilitate the improvement of their game skills. This enhances the possibilities of human-computer interaction and improves the user experience.

[0077] In some embodiments, the method further includes at least one of the following steps (366-368, not shown in Figure 8):

[0078] In step 366, real-time competition data related to the virtual object is obtained, and the real-time competition data includes at least one of the following: real-time attribute data of the virtual object, real-time environment data of the virtual object, real-time equipment data of the virtual object, and real-time distance between the virtual object's current position and desired position.

[0079] In some embodiments, the real-time attribute data of virtual objects is virtual object This could also refer to the character's current state, such as their hit points, whether they are injured, or whether their hit points are continuously decreasing.

[0080] In some embodiments, the real-time environment data of a virtual object may be data of the real-time environment in which the virtual object is currently located, for example, whether the virtual object is located in a poison circle, an unsafe swamp area, or a lightning strike area.

[0081] In some embodiments, the real-time equipment data of a virtual object may be data on the equipment the virtual object currently possesses, such as the number of virtual items or the number of virtual gunpowder.

[0082] In some embodiments, the real-time distance between the current position of a virtual object and the desired position may be the distance between the current position of the virtual object and the expected position. The desired position may be marked by the user or predicted by the server. For example, the desired position may be the center of a safe area or a target position marked by the user.

[0083] In step 367, a recommended trigger area is determined from among multiple trigger areas based on real-time competition data.

[0084] In some embodiments, a recommended trigger area is determined from among multiple trigger areas based on real-time gameplay data. For example, if a virtual object has low hit points, poor equipment, and is located in an unsafe area, the most sensitive trigger area is selected as the recommended trigger area from among multiple trigger areas. For example, if a virtual object has very healthy hit points and good equipment, the least sensitive trigger area is selected as the recommended trigger area from among multiple trigger areas. The recommended trigger area is arbitrarily selected from among multiple trigger areas.

[0085] In several embodiments, a speed prediction model processes real-time competition data to predict the desired movement speed of a virtual object. The speed prediction model is a machine learning model built on a neural network. Based on the desired movement speed, a recommended trigger region is determined from among multiple trigger regions.

[0086] Step 368 displays suggested information corresponding to the recommended trigger area.

[0087] In some embodiments, the displayed information is a joystick control, and the joystick control is displayed in a recommended trigger area among multiple trigger areas. Optionally, the joystick control is displayed at the position of a reference point in the recommended trigger area. Optionally, the position of the reference point is the position of the center point of the recommended trigger area. Optionally, as shown in Figure 5, the joystick control T0 is displayed directly in the recommended trigger area of ​​the user interface.

[0088] In some embodiments, the displayed information is a recommended trigger area, and the recommended trigger area is displayed separately from other trigger areas among multiple trigger areas. For example, the recommended trigger area is displayed in the user interface as a highlight. Optionally, as shown in Figure 5, trigger area Q3 is highlighted in the recommended trigger area of ​​the user interface.

[0089] In the configuration provided in the embodiment of the present invention, recommended trigger areas can be provided in real time according to the status of the virtual object by determining recommended trigger areas based on real-time competition data of the virtual object. When the virtual object encounters danger or is in an unsafe position, the user can directly use the recommended trigger area without having to consider which trigger area to use. This reduces the user's reaction time and improves the user's competitive experience. Furthermore, the accuracy and efficiency of trigger area selection are also improved, allowing the user to quickly and accurately select a trigger area appropriate for the current competition scene and control the virtual object to move at a speed appropriate for the current competition scene.

[0090] Refer to Figure 9. Figure 9 shows a flowchart of a method for controlling a virtual object provided in other embodiments of the present invention. In this method, the entity executing each step may be the terminal device 10 in the configuration implementation environment shown in Figure 1. For example, the entity executing each step may be a client of the target application. In the embodiments of the method described below, for convenience of explanation, only the case where the entity executing each step is a "client" will be described. This method may include at least one of the following steps (320-380).

[0091] In step 320, a user interface is displayed, which includes a joystick control for controlling the movement of a virtual object. The joystick control has multiple directional segments, each corresponding to a different direction of movement.

[0092] In step 370, in response to a first slide operation on the joystick control, a first directional interval to which the real-time direction belongs is determined from among multiple directional intervals, based on the real-time direction of the real-time position of the first slide operation on the joystick control.

[0093] In the configuration provided in the embodiment of the present invention, not only can the movement speed of a virtual object be determined based on the sensitivity of a target trigger area corresponding to the starting position of a slide operation, but a first directional interval to which the real-time direction belongs can be determined from among multiple directional intervals based on the real-time direction of the real-time position of the slide operation relative to the joystick control.

[0094] This application does not limit the number of direction intervals. Optionally, the number of method intervals is 8.

[0095] In some embodiments, in a schematic diagram of the user interface as shown in Figure 10, the first directional section to which the real-time direction belongs is determined from among several directional sections based on the real-time direction of the real-time position of the user's first slide operation on the joystick control L1. In some embodiments, Figure 10 can be divided into 10 directional sections, and taking the upper half as an example, it can be divided into a total of 5 directional sections: up, upper left, upper right, left, and right. In some embodiments, each directional section corresponds to a certain range. Optionally, as shown in Figure 11, the real-time direction of the real-time position of the first slide operation on the joystick control L2 is the direction pointed to by arrow m3. Since the direction of m3 is located in the directional section enclosed by m1 and m2, the "upper left" directional section enclosed by m1 and m2 is determined as the first directional section, and the northwest 45-degree direction corresponding to the first directional section is determined as the direction of movement of the virtual object. As pointed to by arrow m4, the direction of movement of the virtual object is northwest 45 degrees.

[0096] Specifically, taking the schematic diagram of joystick control shown in Figure 12 as an example, there are a total of eight directional sections, and the first slide The real-time position of the operation is E1, the center position of joystick control L3 is E0, and the real-time direction of the real-time position of the first slide operation relative to the joystick control is from E0 to E1. It can be determined that the direction from E0 to E1 belongs to a direction interval called P1 (P1 corresponds to the upper right direction interval, which is one of the eight direction intervals).

[0097] In some embodiments, a method is provided for determining the first directional interval to which the real-time direction of the real-time position of a first slide operation for a joystick control belongs.

[0098] User slideBased on the operation, the number of pixel points the user slid on the screen can be determined, and the arc length of the slid arc can be further obtained. Suppose the slid arc length is known to be 5 mm. The formula for arc length is L = n × π × r / 180, where L = α × r, and where n is the degree of the central angle, r is the radius, and L is the arc length of the central angle. r In a circle, the arc length corresponding to a central angle of 360° is equal to the circumference C = 2πr, therefore the arc length corresponding to a central angle of n° is L =n°πr÷180°( L =n° x 2πr / 360°). The arc length of a sector is actually a part of the circumference of the circle. If the angle of the sector is a fraction of 360 degrees, then the arc length of the sector is a fraction of the circumference of this circle. Therefore, we can obtain the arc length of the sector = 2πr × angle / 360. Here, 2πr is the circumference of the circle, and the angle is the value of the angle of this sector. For example, if the radius is 1 cm and the central angle corresponds to an arc length of 0.785 cm, L =nπr / 180 = n × π × 1 / 180 = n × 3.14 × 1 / 180 = 0.785, so we can see that n = 45 degrees, and therefore the angle corresponding to this arc is 45 degrees.

[0099] Based on determining the central angle using the arc length described above, the first directional interval to which the real-time direction of the real-time position of the first slide operation on the joystick control belongs is further determined. For this purpose, the specific value of n° can be calculated inversely from the arc length L corresponding to the central angle of n° in Figure 12, and the directional interval to which it belongs can be determined from the value of n°. Optionally, if the value of n is 75, the first directional interval to which the real-time direction of the real-time position of the first slide operation on the joystick control belongs is P2.

[0100] In step 380, the virtual object is controlled to move in the direction of movement corresponding to the first directional interval.

[0101] In some embodiments, a direction of movement corresponding to each directional section is set. In some embodiments, the direction of the center of each directional section is the direction of movement corresponding to that directional section. In Figure 12, the direction of movement corresponding to directional section P1 is from E0 to F 1 It is the direction toward F 1 This is a point in the direction of the center of the directional interval P1.

[0102] When the direction interval to which the real-time direction belongs changes from the first direction interval to the second direction interval, the direction of movement of the virtual object is controlled so that it gradually changes within the first time period from the direction of movement corresponding to the first direction interval to the direction of movement corresponding to the second direction interval. Here, the second direction interval is the direction interval adjacent to the first direction interval. By gradually adjusting the direction and preventing the direction of the virtual object from changing instantaneously, the user experience can be improved.

[0103] In Figure 12, as the real-time position of the slide operation moves from point E1 to point E2, the direction interval changes from P1 to P2. The movement direction of the virtual object is controlled so that it gradually changes from the direction from E0 to F1 to the direction from E0 to F2. Here, the direction from E0 to F2 is the movement direction corresponding to direction interval P2.

[0104] The present application does not limit the priority of the steps mentioned in the examples. All steps can be permuted and combined to form new examples.

[0105] In the configuration provided in the embodiments of the present invention, the division into multiple directional segments avoids excessive sensitivity to changes in the direction of user-controlled virtual objects, and by setting multiple directional segments, each corresponding to one direction of movement, the processing overhead of the terminal device can be significantly reduced. In some embodiments, when the game screen is choppy, setting the direction of movement of the virtual object to a direction corresponding to one of the multiple directional segments set in the embodiments of the present invention can reduce the execution cost of the terminal device, reduce screen choppiness, improve screen smoothness, and enhance the user experience.

[0106] Refer to Figure 13. Figure 13 shows a flowchart of a method for controlling a virtual object provided in other embodiments of the present invention. In this method, the entity executing each step may be the terminal device 10 in the configuration implementation environment shown in Figure 1. For example, the entity executing each step may be a client of the target application. In the embodiments of the method described below, for the sake of explanation, only the case where the entity executing each step is a "client" will be described. This method may include at least one of the following steps (320-1 to 394).

[0107] Step 320-1 displays the user interface, which includes joystick controls for controlling the movement of virtual objects.

[0108] In step 390, in response to the first slide operation on the joystick control, the distance between the real-time position of the first slide operation and the starting position of the first slide operation is obtained.

[0109] In some embodiments, as shown in Figure 14, when the real-time position of the first slide operation is G1, the distance between the real-time position of the first slide operation and the starting position of the first slide operation is the distance from G1 to the starting position G0 of the first slide operation.

[0110] In step 392, if the distance is greater than or equal to the first threshold, the automatic movement control is displayed.

[0111] Automatic movement control is used to automatically move virtual objects. In Figure 14, if the real-time position of the first slide operation is G1, the distance between the real-time position of the first slide operation and the starting position of the first slide operation is the distance from G1 to the starting position G0 of the first slide operation, and the first threshold The above conditions Since the condition is not met, the automatic movement control is not displayed. When the real-time position of the first slide operation changes from G1 to G2, the distance between the real-time position of the first slide operation and the starting position of the first slide operation is the distance from G2 to the starting position G0 of the first slide operation, and the first threshold The above conditions Since the condition is met, the automatic movement control H1 is displayed.

[0112] In step 394, if the automatic movement control is displayed, and the distance is below the second threshold, the display of the automatic movement control is canceled.

[0113] In Figure 15, if the real-time position of the first slide operation is G5, the distance between the real-time position of the first slide operation and the starting position of the first slide operation is the distance from G5 to the starting position of the first slide operation G6, and the first threshold The above conditions Since the condition is met, the automatic movement control H2 is displayed. When the real-time position of the first slide operation changes from G5 to G4, the distance between the real-time position of the first slide operation and the starting position of the first slide operation is the distance from G4 to the starting position G6 of the first slide operation, and 2 threshold The following conditions satisfy vinegar Therefore, automatic movement control H 2 The display will be canceled.

[0114] In the embodiments of this application, the numerical values ​​of the first and second thresholds are not limited. If the distance between the real-time position of the first slide operation and the starting position of the first slide operation is greater than or equal to the first threshold, an automatic movement control is displayed, and if the distance between the real-time position of the first slide operation and the starting position of the first slide operation is greater than or equal to the first threshold, 2 By canceling the display of the automatic movement control when it is below a threshold, the constant disappearance and reappearance of the automatic movement control due to multiple user operations can be avoided, thereby improving the user experience and reducing the processing pressure on the terminal device.

[0115] Refer to Figure 16. Figure 16 shows a flowchart of a method for controlling a virtual object provided in other embodiments of the present invention. In this method, the entity executing each step may be the terminal device 10 in the configuration implementation environment shown in Figure 1. For example, the entity executing each step may be a client of the target application. In the embodiments of the method described below, for convenience of explanation, only the case where the entity executing each step is a "client" will be described. This method may include at least one of the following steps (410-430).

[0116] In step 410, a user interface is displayed, which shows a joystick control for controlling the movement of a virtual object. The joystick control has multiple trigger areas, each corresponding to a different sensitivity.

[0117] In step 420, the virtual object is controlled to move at a first movement speed in response to a first slide operation in which the starting position is located in the first trigger area.

[0118] In step 430, the virtual object is controlled to move at the second movement speed in response to a second slide operation whose starting position is located in the second trigger area.

[0119] Here, the first trigger region and the second trigger region described above are each one of several trigger regions, the first trigger region and the second trigger region are different, and the first movement speed and the second movement speed are different.

[0120] In the user interface shown in Figure 17, the virtual object is controlled to move slowly in response to a slide operation starting in trigger region Q22, to move at a medium speed in response to a slide operation starting in trigger region Q21, and to move at a high speed in response to a slide operation starting in trigger region Q20. As shown in Figure 17, when an enemy virtual object appears in the virtual environment, it is necessary to control the virtual object (friendly) to move at a relatively low speed, so the starting position of the slide operation may be set to trigger region Q21. This makes it easier for the virtual object to target the enemy virtual object. When it is necessary to control the virtual object to move quickly, for example, when escaping from a poison circle, the starting position of the slide operation may be set to trigger region Q20 in order to control the virtual object to move at a high speed. When the virtual object is crawling, the starting position of the slide operation may be set to trigger region Q22 in order to control the virtual object to move slowly.

[0121] In some embodiments, a joystick control is displayed at the starting position of the first slide operation in response to the first slide operation. For specific details, please refer to the embodiments described above. Further explanation is omitted here.

[0122] In some embodiments, in response to a setting operation on a trigger area, a range frame corresponding to each of multiple trigger areas is displayed; in response to a deletion operation on a target trigger area among multiple trigger areas, the display of the range frame corresponding to the target trigger area is canceled; or in response to an adjustment operation on a target trigger area among multiple trigger areas, at least one of the size and position of the range frame corresponding to the target trigger area is adjusted; or in response to an addition operation on a trigger area, a range frame corresponding to the newly added trigger area is displayed; and in response to a setting completion operation on a trigger area, multiple trigger areas corresponding to joystick control are set based on the size and position of the range frame corresponding to each currently displayed trigger area. For specific details, please refer to the embodiments described above. Further explanation is omitted here.

[0123] In some embodiments, there is no overlapping region between any two of the multiple trigger regions. Alternatively, there is an overlapping region between at least two of the multiple trigger regions. For specific details, please refer to the embodiments described above. Further explanation is omitted here.

[0124] In some embodiments, joystick control is displayed in the recommended trigger area among multiple trigger areas, or the recommended trigger area is displayed separately from other trigger areas. For specific details, please refer to the embodiments described above. Further explanation is omitted here.

[0125] The steps mentioned in the embodiments of this application are not limited to the embodiments listed herein, and the steps can be combined with each other to form new embodiments. This application is not limited thereto.

[0126] In the configuration provided in the embodiment of the present invention, virtual objects can be controlled to move at different speeds in response to sliding operations in different trigger areas, thereby subdividing user control over virtual objects and meeting the different needs of users in different situations.

[0127] Refer to Figure 18. Figure 18 shows a flowchart of a method for controlling a virtual object provided in other embodiments of the present invention. In this method, the entity executing each step may be the terminal device 10 in the configuration implementation environment shown in Figure 1. For example, the entity executing each step may be a client of the target application. In the embodiments of the method described below, for the sake of explanation, only the case where the entity executing each step is a "client" will be described. This method may include at least one of the following steps (S1 to S4).

[0128] After the game match begins, enter the game match and start executing step S1.

[0129] In step S1, it is determined whether or not the movement area has come into contact with the movement area. If it has come into contact with the movement area, it enters the movement state; otherwise, it returns to the game match.

[0130] When the movement state is entered, step S2 is executed.

[0131] In step S2, it is determined whether or not another section has been slid. If another section has been slid, the direction of movement is changed. If no other section has been slid, the movement state is returned.

[0132] Once the change in movement state is complete, step S3 is executed.

[0133] In step S3, it is determined whether the device has slid upwards by a certain distance. If it has slid upwards by a certain distance, a button to lock the device is displayed.

[0134] In Step S4, it is determined whether or not the run button has been touched. If the run button has been touched, the running state is locked. If the run button has not been touched, the button to lock running continues to be displayed.

[0135] The game has ended.

[0136] The following are embodiments of the apparatus of the present application that can be used to carry out embodiments of the method of the present application. For details not disclosed in the embodiments of the apparatus of the present application, refer to the embodiments of the method of the present application.

[0137] Refer to Figure 19. Figure 19 shows a block diagram of a virtual object control device provided in one embodiment of the present invention. This device has the function of implementing the above-described example method. The function may be implemented by hardware, or by hardware executing corresponding software. The device may be a terminal device as described above, or may be installed in a terminal device. As shown in Figure 19, the device 1800 may include an interface display module 1810, a speed determination module 1820, and a movement control module 1830.

[0138] The interface display module 1810 displays a user interface, which displays a joystick control for controlling the movement of virtual objects. The joystick control has multiple trigger areas, each corresponding to a different sensitivity.

[0139] The speed determination module 1820, in response to a first slide operation in which the starting position is located in the first trigger region, determines a first movement speed of the virtual object based on the sensitivity of the first trigger region.

[0140] The movement control module 1830 controls the virtual object to move at the first movement speed.

[0141] In some embodiments, the speed determination module 1820 determines a first movement speed of the virtual object based on the sensitivity of the first trigger region and attribute information of the first slide operation, wherein the first trigger region is one of the plurality of trigger regions.

[0142] In some embodiments, the attribute information includes the distance between the real-time position of the first slide operation and the starting position of the first slide operation.

[0143] In some embodiments, the speed determination module 1820 further determines a sensitivity correction parameter based on the distance, the sensitivity correction parameter being used to adjust the sensitivity of the trigger area.

[0144] The speed determination module 1820 further determines the first movement speed of the virtual object based on the sensitivity correction parameter and the sensitivity of the first trigger region.

[0145] In some embodiments, an overlapping region exists between at least two of the multiple trigger regions.

[0146] In some embodiments, as shown in Figure 20, the apparatus further includes a start position acquisition module 1840, an interval determination module 1850, and a trigger area determination module 1860.

[0147] When the start position acquisition module 1840 detects the first slide operation, it acquires the start position of the first slide operation.

[0148] The interval determination module 1850 determines the interval between the starting position of the first slide operation and the reference point of each trigger area, so that the positions of the reference points of each trigger area are different from each other.

[0149] The trigger region determination module 1860 determines the trigger region with the smallest interval from among the plurality of trigger regions as the first trigger region.

[0150] In some embodiments, as shown in Figure 20, the apparatus further includes a data acquisition module 1870 and a presentation information display module 1880.

[0151] The data acquisition module 1870 acquires real-time competition data related to the virtual object, and the real-time competition data includes at least one of the following: real-time attribute data of the virtual object, real-time environment data of the virtual object, real-time equipment data of the virtual object, and real-time distance between the current position and the desired position of the virtual object.

[0152] The trigger area determination module 1860 determines a recommended trigger area from among the multiple trigger areas based on the real-time competition data.

[0153] The aforementioned information display module 1880 displays information corresponding to the recommended trigger area.

[0154] In some embodiments, the trigger region determination module 1860 further processes the real-time competition data using a velocity prediction model to predict the desired movement speed of the virtual object, the velocity prediction model being a machine learning model built on a neural network.

[0155] The trigger region determination module 1860 further determines the recommended trigger region from among the plurality of trigger regions based on the desired movement speed.

[0156] In some embodiments, the positions of the plurality of trigger regions are arranged in an order in which the sensitivity corresponding to each of the plurality of trigger regions increases or decreases.

[0157] In some embodiments, the joystick control has multiple directional intervals, where different directional intervals correspond to different directions of movement.

[0158] In some embodiments, as shown in Figure 20, the apparatus further includes an interval determination module 1890.

[0159] The section determination module 1890 determines a first directional section from among the plurality of directional sections to which the real-time direction belongs, based on the real-time direction of the real-time position of the first slide operation with respect to the joystick control.

[0160] before Record transfer motion control Module 1830 further controls the virtual object to move in the direction of movement corresponding to the first directional section.

[0161] In some embodiments, Record transfer motion control Module 1830 further controls the movement direction of the virtual object such that, when the direction interval to which the real-time direction belongs changes from the first direction interval to the second direction interval, the movement direction of the virtual object gradually changes within the first time period from the movement direction corresponding to the first direction interval to the movement direction corresponding to the second direction interval, the second direction interval being a direction interval adjacent to the first direction interval.

[0162] In some embodiments, as shown in Figure 20, the device further includes a distance acquisition module 1892 and a control display module 1894.

[0163] The distance acquisition module 1892 acquires the distance between the real-time position of the first slide operation and the starting position of the first slide operation.

[0164] The control display module 1894 displays an automatic movement control when the distance is greater than or equal to a first threshold, and the automatic movement control is for triggering the virtual object to automatically run.

[0165] The control display module 1894 further cancels the display of the automatic movement control if the distance is less than or equal to the second threshold when the automatic movement control is in a display state, and the second threshold is less than the first threshold.

[0166] In some embodiments, the interface display module 1810 displays a user interface, the user interface displays a joystick control for controlling the movement of a virtual object, and the joystick control has a plurality of trigger areas.

[0167] The movement control module 1830 controls the virtual object to move at a first movement speed in response to a first slide operation in which the starting position is located in the first trigger region.

[0168] The movement control module 1830 controls the virtual object to move at a second movement speed in response to a second slide operation in which the starting position is located in the second trigger region, and the first trigger region and the second trigger region are each one of the plurality of trigger regions, the first trigger region and the second trigger region are different, and the first movement speed and the second movement speed are different.

[0169] In some embodiments, as shown in Figure 21, the device further includes a joystick control display module 2040.

[0170] The joystick control display module 2040 displays the joystick control at the starting position of the first slide operation in response to the first slide operation.

[0171] In some embodiments, as shown in Figure 21, the device further includes a range frame display module 2050, a range frame adjustment module 2060, and a trigger area setting module 2070.

[0172] The range frame display module 2050 displays a range frame corresponding to each of the multiple trigger areas in response to a setting operation on the trigger area.

[0173] The range frame display module 2050 further cancels the display of the range frame corresponding to the target trigger region in response to a delete operation on the target trigger region among the plurality of trigger regions.

[0174] The range frame adjustment module 2060 adjusts at least one of the size and position of the range frame corresponding to the target trigger region in response to an adjustment operation on the target trigger region among the plurality of trigger regions.

[0175] The range frame display module 2050 further displays a range frame corresponding to the newly added trigger area in response to the operation to add a trigger area.

[0176] In response to a setting completion operation for the trigger area, the trigger area setting module 2070 sets a plurality of trigger areas corresponding to the joystick control according to the size and position of the range frame corresponding to each of the currently displayed trigger areas.

[0177] In some embodiments, there is no overlapping region between any two of the multiple trigger regions. Alternatively, there is an overlapping region between at least two of the multiple trigger regions.

[0178] In some embodiments, as shown in Figure 21, the device further includes a presentation information display module 2080.

[0179] The information display module 2080 displays the joystick control in the recommended trigger area among the multiple trigger areas. Alternatively, the information display module 2080 displays the recommended trigger area among the multiple trigger areas separately from other trigger areas.

[0180] In the above embodiment, the device is described using only the division of the above-described functional modules as an example of how to realize its functions. However, in actual application, the above functions may be assigned to different functional modules as needed, that is, the internal configuration of the device may be divided into different functional modules to perform all or some of the functions described above. Furthermore, the device provided in the above embodiment belongs to the same concept as the embodiment of the method, and details of its specific implementation process should be referred to the embodiment of the method. Further explanation is omitted here.

[0181] Refer to Figure 22. Figure 22 shows a block diagram of the configuration of a terminal device 2100 provided in one embodiment of the present invention. The terminal device 2100 may also be the terminal device 10 in the implementation environment shown in Figure 1, and implements the virtual object control method provided in the above embodiment. Specifically, the terminal device 2100 typically comprises a processor 2101 and a memory 2102.

[0182] The processor 2101 may include one or more processing cores, for example, a 4-core processor, an 8-core processor, etc. The processor 2101 may be implemented in the form of at least one hardware component from among Digital Signal Processing (DSP), Field Programmable Gate Array (FPGA), and Programmable Logic Array (PLA).

[0183] The processor 2101 may include one or more processing cores, for example, a 4-core processor, an 8-core processor, etc. The processor 2101 processes digital signals Processor (DSP: Digital Signal Process) or ), may be implemented in the form of at least one hardware component from among a Field Programmable Gate Array (FPGA) and a Programmable Logic Array (PLA).

[0184] In some embodiments, the terminal device 2100 optionally further includes a peripheral device interface 2103 and at least one peripheral device. The processor 2101, memory 2102, and peripheral device interface 2103 may be connected via a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 2103 via a bus, signal lines, or circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 2104, a display 2105, an audio circuit 2107, and a power supply 2108.

[0185] As those skilled in the art will understand, the configuration shown in Figure 22 is not limiting to the terminal device 2100, and may include more or fewer components than shown, or may be a combination of some components, or may employ a different arrangement of components.

[0186] As those skilled in the art will understand, the configuration shown in Figure 22 is not limited to the terminal device 2100. Terminal device 2100 is, The diagram may include more or fewer components than shown, or it may be a combination of some components, or it may employ a different arrangement of components.

[0187] Optionally, the computer-readable storage medium may include read-only memory (ROM), random-access memory (RAM), solid-state drives (SSD), or optical discs. Here, random-access memory may include resistive random-access memory (ReRAM) or dynamic random-access memory (DRAM).

[0188] In exemplary embodiments, a computer program product including computer instructions is further provided. The computer instructions are stored in a computer-readable storage medium. The processor of a terminal device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, causes the terminal device to execute the virtual object control method described above.

Claims

1. A method for controlling virtual objects, which is performed by a terminal device, A step of displaying a user interface, wherein the user interface displays a joystick control for controlling the movement of the virtual object, and the joystick control corresponds to multiple trigger areas, with different trigger areas corresponding to different sensitivities. A step of determining a first movement speed of the virtual object based on the sensitivity of the first trigger region in response to a first slide operation in which the starting position is located in the first trigger region, wherein the first trigger region is one of the plurality of trigger regions, The steps include controlling the virtual object to move at the first movement speed, The process includes the step of displaying the joystick control at the starting position of the first slide operation in response to the first slide operation, Each of the aforementioned multiple trigger regions is a specific region in the interface, The joystick control is located in at least one of the plurality of trigger areas. A method for controlling virtual objects.

2. The step of determining the first movement speed of the virtual object based on the sensitivity of the first trigger region is: The step includes determining a first movement speed of the virtual object based on the sensitivity of the first trigger area and attribute information of the first slide operation, A method for controlling a virtual object according to claim 1.

3. The attribute information includes the distance between the real-time position of the first slide operation and the starting position of the first slide operation. The step of determining the first movement speed of the virtual object based on the sensitivity of the first trigger area and the attribute information of the first slide operation is as follows: A step of determining a sensitivity correction parameter based on the distance, wherein the sensitivity correction parameter is for adjusting the sensitivity of the trigger region, The steps include determining a first movement speed of the virtual object based on the sensitivity correction parameter and the sensitivity of the first trigger region, A method for controlling a virtual object according to claim 2.

4. Of the plurality of trigger regions, an overlapping region exists between at least two trigger regions, and the control method for the virtual object is as follows: Upon detecting the first slide operation, the steps include obtaining the starting position of the first slide operation, A step of determining the interval between the starting position of the first slide operation and the reference point of each of the trigger regions, wherein the positions of the reference points of each of the trigger regions are different from each other. The further step includes determining the trigger region with the smallest interval among the plurality of trigger regions as the first trigger region, A method for controlling a virtual object according to claim 1.

5. A step of acquiring real-time competition data related to the virtual object, wherein the real-time competition data includes at least one of the following: real-time attribute data of the virtual object, real-time environment data of the virtual object, real-time equipment data of the virtual object, and real-time distance between the current position and a desired position of the virtual object. The steps include determining a recommended trigger region from among the multiple trigger regions based on the real-time competition data, The step further includes displaying suggestion information corresponding to the aforementioned recommended trigger area, A method for controlling a virtual object according to claim 1.

6. The step of determining a recommended trigger region from among the multiple trigger regions based on the real-time competition data is as follows: A step of processing the real-time competition data using a speed prediction model to predict the desired movement speed of the virtual object, wherein the speed prediction model is a machine learning model built on a neural network. The step of determining the recommended trigger region from among the plurality of trigger regions based on the desired movement speed, A method for controlling a virtual object according to claim 5.

7. The step of displaying the suggested trigger area corresponding to the recommended trigger area is: The step includes displaying the joystick control in a recommended trigger area among the plurality of trigger areas, A method for controlling a virtual object according to claim 5.

8. The positions of the multiple trigger regions are arranged in an order in which the sensitivity corresponding to each of the multiple trigger regions increases or decreases. A method for controlling a virtual object according to claim 1.

9. The joystick control has multiple directional intervals, and different directional intervals correspond to different directions of movement. The control method for the virtual object is: A step of determining a first direction interval from among the plurality of direction intervals to which the real-time direction belongs, based on the real-time direction of the real-time position of the first slide operation with respect to the joystick control, The further step includes controlling the virtual object to move in the direction of movement corresponding to the first directional interval, A method for controlling a virtual object according to claim 1.

10. After the step of controlling the virtual object to move in the direction of movement corresponding to the first direction interval, The method further includes the step of controlling the direction of movement of the virtual object such that, when the direction interval to which the real-time direction belongs changes from the first direction interval to the second direction interval, the direction of movement of the virtual object gradually changes within a first time period from the direction of movement corresponding to the first direction interval to the direction of movement corresponding to the second direction interval. The second direction section is a direction section adjacent to the first direction section. A method for controlling a virtual object according to claim 9.

11. The steps include obtaining the distance between the real-time position of the first slide operation and the starting position of the first slide operation, If the distance is greater than or equal to a first threshold, the step is to display an automatic movement control, wherein the automatic movement control is for triggering the virtual object to automatically run. If the automatic movement control is in a displayed state, and the distance is less than or equal to a second threshold, the display of the automatic movement control is canceled, wherein the second threshold is less than the first threshold. A method for controlling a virtual object according to claim 1.

12. A method for controlling virtual objects, which is performed by a terminal device, A step of displaying a user interface, wherein the user interface displays a joystick control for controlling the movement of the virtual object, and the joystick control corresponds to a plurality of trigger areas, A step of controlling the virtual object to move at a first movement speed in response to a first slide operation in which the starting position is located in a first trigger area, The steps include: displaying the joystick control at the starting position of the first slide operation in response to the first slide operation; The process includes the step of controlling the virtual object to move at a second movement speed in response to a second slide operation in which the starting position is located in a second trigger region, Each of the aforementioned multiple trigger regions is a specific region in the interface, The joystick control is located in at least one of the plurality of trigger areas, The first trigger region and the second trigger region are each one of the plurality of trigger regions, the first trigger region and the second trigger region are different, and the first movement speed and the second movement speed are different. A method for controlling virtual objects.

13. In response to a setting operation on the trigger area, the steps include displaying a range frame corresponding to each of the multiple trigger areas, The steps include: in response to a delete operation on a target trigger area among the plurality of trigger areas, canceling the display of the range frame corresponding to the target trigger area; in response to an adjustment operation on a target trigger area among the plurality of trigger areas, adjusting at least one of the size and position of the range frame corresponding to the target trigger area; or in response to an add operation on a trigger area, displaying the range frame corresponding to the newly added trigger area; The further step includes setting a plurality of trigger areas corresponding to the joystick control in response to a setting completion operation for the trigger area, according to the size and position of the range frame corresponding to each of the currently displayed trigger areas. A method for controlling a virtual object according to claim 12.

14. Of the aforementioned multiple trigger regions, there is no overlapping region between any two trigger regions. or, Of the aforementioned multiple trigger regions, an overlapping region exists between at least two trigger regions. A method for controlling a virtual object according to claim 12.

15. The steps of displaying the joystick control in the recommended trigger area among the plurality of trigger areas, or, The further step includes displaying the recommended trigger region among the plurality of trigger regions in a manner that distinguishes it from other trigger regions other than the recommended trigger region. A method for controlling a virtual object according to claim 12.

16. A control device for virtual objects, An interface display module that displays a user interface, wherein the user interface displays a joystick control for controlling the movement of the virtual object, and the joystick control corresponds to multiple trigger areas, with different trigger areas corresponding to different sensitivities; A speed determination module that determines a first movement speed of a virtual object based on the sensitivity of the first trigger region in response to a first slide operation in which the starting position is located in the first trigger region, wherein the first trigger region is one of the plurality of trigger regions, Includes a movement control module that controls the virtual object to move at the first movement speed, The interface display module, in response to the first slide operation, displays the joystick control at the starting position of the first slide operation. Each of the aforementioned multiple trigger regions is a specific region in the interface, The joystick control is located in at least one of the plurality of trigger areas. A control device for virtual objects.

17. A control device for virtual objects, An interface display module that displays a user interface, wherein the user interface displays joystick controls for controlling the movement of the virtual object, and the joystick controls correspond to a plurality of trigger areas, and the interface display module Includes a movement control module that controls the virtual object to move at a first movement speed in response to a first slide operation in which the starting position is located in a first trigger region, The interface display module, in response to the first slide operation, displays the joystick control at the starting position of the first slide operation. Each of the aforementioned multiple trigger regions is a specific region in the interface, The joystick control is located in at least one of the plurality of trigger areas, The movement control module further controls the virtual object to move at a second movement speed in response to a second slide operation in which the starting position is located in the second trigger region. The first trigger region and the second trigger region are each one of the plurality of trigger regions, the first trigger region and the second trigger region are different, and the first movement speed and the second movement speed are different. A control device for virtual objects.

18. A terminal device comprising a processor and memory, The aforementioned memory stores computer programs. When the computer program is loaded and executed by the processor, it implements the virtual object control method described in any one of claims 1 to 10, or the virtual object control method described in any one of claims 11 to 15. Terminal equipment.

19. A computer program that causes a computer to execute a method for controlling a virtual object according to any one of claims 1 to 10, or a method for controlling a virtual object according to any one of claims 11 to 15.

Citation Information

Patent Citations

  • Displacement control method and device for virtual character

    CN113398573A

  • Apparatus, method and program for processing user interface

    JP2011141632A

  • Game program and game system

    JP2020178822A