Virtual object control method, virtual object control device, terminal device, and computer program

By implementing a joystick control with multiple sensitivity trigger regions, the method enhances virtual object control in gaming environments, allowing for nuanced movement speed adjustments and improving user interaction and gaming experience.

JP2025511635AActive Publication Date: 2025-04-16TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024557676
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-07-12
Filing Date
2023-04-27
Publication Date
2025-04-16
Estimated Expiration
2043-04-27

AI Technical Summary

Technical Problem

Existing methods for controlling virtual objects in gaming environments are limited by simple control schemes that do not allow for nuanced movement speed adjustments based on user input.

Method used

A method and device for controlling virtual objects that utilize a joystick control with multiple trigger regions, each corresponding to different sensitivity levels, allowing the movement speed of virtual objects to be determined based on the initial position of the user's slide operation within these trigger regions.

Benefits of technology

This approach enriches the control scheme of virtual objects by allowing for different movement speeds based on user input, enhancing the efficiency of human-computer interaction and improving the gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025511635000001_ABST
    Figure 2025511635000001_ABST
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 to a Chinese patent application filed on July 12, 2022, bearing application number 202210822326.7 and titled "Virtual object control method, device, equipment, storage medium, and program product," the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD The present application relates to the technical fields of computers and the Internet, and in particular to a method, an apparatus, a device, a storage medium, and a program product for controlling a virtual object. [Background technology]

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

[0004] In a related technique, when a user's finger taps a joystick control, the direction of movement of a virtual object can be controlled by the direction of the finger sliding operation.

[0005] However, in the above related art, the method for controlling a virtual object is simple. Summary of the Invention [Problem to be solved by the invention]

[0006] The embodiments of the present application provide a method, an apparatus, a device, a storage medium, and a program product for controlling a virtual object, which are configured as follows. [Means for solving the problem]

[0007] According to one aspect of an embodiment of the present application, there is provided a method for controlling a virtual object, the method comprising: displaying a user interface, the user interface displaying a joystick control for controlling movement of a virtual object, the joystick control having a plurality of trigger regions, different trigger regions corresponding to different sensitivities; determining a first movement speed of the virtual object based on a sensitivity of a first trigger area in response to a first sliding operation whose start position is located in a first trigger area, the first trigger area being one of the plurality of trigger areas; controlling the virtual object to move at the first movement speed.

[0008] According to another aspect of an embodiment of the present application, there is provided a method for controlling a virtual object, the method being executed by a terminal device, the method comprising: displaying a user interface, the user interface displaying a joystick control for controlling movement of a virtual object, the joystick control having a plurality of trigger regions; In response to a first sliding operation whose start position is located in a first trigger area, controlling the virtual object to move at a first movement speed; in response to a second sliding operation whose start position is located in a second trigger area, controlling the virtual object to move at a second movement speed; 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.

[0009] According to one aspect of an embodiment of the present application, there is provided a device for controlling a virtual object, the device comprising: an interface display module that displays a user interface, the user interface displaying a joystick control for controlling a movement of a virtual object, the joystick control having a plurality of trigger regions, different trigger regions corresponding to different sensitivities; a speed determination module that determines a first moving speed of the virtual object based on a sensitivity of a first trigger area in response to a first sliding operation whose start position is located in a first trigger area, the first trigger area being one of the plurality of trigger areas; and a movement control module that controls the virtual object to move at the first movement speed.

[0010] According to one aspect of an embodiment of the present application, there is provided a device for controlling a virtual object, the device comprising: an interface display module that displays a user interface, the user interface displaying a joystick control for controlling movement of a virtual object, the joystick control having a plurality of trigger regions; a movement control module that controls the virtual object to move at a first movement speed in response to a first slide operation whose start position is located in a first trigger area; the movement control module further controls the virtual object to move at a second movement speed in response to a second sliding operation whose start position is located in a second trigger area; 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.

[0011] According to one aspect of an embodiment of the present application, there is provided a terminal device comprising a processor and a memory, the memory storing a computer program, the computer program realizing the above-mentioned method when loaded and executed by the processor.

[0012] According to one aspect of an embodiment of the present application, there is provided a computer-readable storage medium having a computer program stored thereon, the computer program implementing the above-mentioned method when loaded and executed by a processor.

[0013] According to one aspect of an embodiment of the present application, there is provided a computer program product including computer instructions stored in a computer-readable storage medium, the computer instructions being read by a processor of a terminal device from the computer-readable storage medium and, when executed by the processor, causing the terminal device to perform the method described above. Effect of the Invention

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

[0015] By providing a plurality of trigger areas corresponding to different sensitivities, determining the moving speed of the virtual object based on the sensitivity of the trigger area where the initial position of the user's slide operation is located, and controlling the virtual object to move at the determined moving speed, the user can start performing a slide operation in the trigger areas with different sensitivities according to different needs, thereby allowing 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. [Brief description of the drawings]

[0016] [Figure 1] FIG. 1 is a schematic diagram of a configuration implementation environment provided in one embodiment of the present application. [Diagram 2]FIG. 2 is a schematic diagram of a virtual object control method provided in an embodiment of the present application. [Diagram 3] 1 is a flowchart of a method for controlling a virtual object provided in an embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of a user interface provided in one embodiment of the present application. [Diagram 5] FIG. 13 is a schematic diagram of a user interface provided in another embodiment of the present application. [Figure 6] FIG. 13 is a schematic diagram of a user interface provided in another embodiment of the present application. [Figure 7] FIG. 13 is a schematic diagram of a user interface provided in another embodiment of the present application. [Figure 8] 11 is a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. [Figure 9] 11 is a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. [Figure 10] FIG. 13 is a schematic diagram of a user interface provided in another embodiment of the present application. [Figure 11] FIG. 13 is a schematic diagram of a user interface provided in another embodiment of the present application. [Figure 12] FIG. 13 is a schematic diagram of a user interface provided in another embodiment of the present application. [Figure 13] 11 is a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. [Figure 14] FIG. 13 is a schematic diagram of a user interface provided in another embodiment of the present application. [Figure 15] FIG. 13 is a schematic diagram of a user interface provided in another embodiment of the present application. [Figure 16] 11 is a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. [Figure 17] FIG. 13 is a schematic diagram of a user interface provided in another embodiment of the present application. [Figure 18]11 is a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. [Figure 19] FIG. 2 is a block diagram of a control device for a virtual object provided in one embodiment of the present application. [Figure 20] FIG. 11 is a block diagram of a control device for a virtual object provided in another embodiment of the present application. [Figure 21] FIG. 11 is a block diagram of a control device for a virtual object provided in another embodiment of the present application. [Figure 22] FIG. 2 is a configuration block diagram of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Please refer to Fig. 1. Fig. 1 shows a schematic diagram of a configuration implementation environment provided in one embodiment of the present application. The configuration implementation environment may be realized as a control system for virtual objects. The configuration implementation environment may include a terminal device 10 and a server 20.

[0018] The terminal device 10 may be, for example, an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, a personal computer (PC), or an in-vehicle terminal. A client of a target application (e.g., a game application) may be installed in the terminal device 10. Optionally, the target application may be an application that needs to be downloaded and installed, or may be a click-to-run application. The embodiment of the present application is not limited thereto.

[0019] In the 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. The shooting application may provide a virtual environment for a user-operated virtual object to move. Typically, the shooting application may be any application having a shooting product function, such as a third-person shooting game (TPS), a first-person shooting game (FPS), a multiplayer online battle arena (MOBA) game, a multiplayer gunfight survival game, a virtual reality (VR)-based shooting application, an augmented reality (AR)-based application, a three-dimensional map application, a social application, an interactive entertainment application, etc. It should be noted that different applications provide different forms or shapes of virtual objects, and have different functions accordingly. These can be designed according to actual needs. The embodiments of the present application are not limited thereto. Optionally, a client of the application is executed in the terminal device 10. In some embodiments, the application is an application developed based on a three-dimensional virtual environment engine. For example, the virtual environment engine is a Unity engine. The virtual environment engine can build a three-dimensional virtual environment, virtual objects, virtual items, etc., and provide a more immersive gaming experience to the user.

[0020] Here, the virtual environment is a scene displayed (or provided) when a client of a target application (e.g., a game application) is executed on a terminal device. The virtual environment refers to a scene constructed for moving virtual objects (e.g., a game competition), such as a virtual house, a virtual island, a virtual map, etc. The virtual environment may be a simulation environment for the real world, a semi-simulation semi-virtual environment, or a purely virtual environment. The virtual environment may be a 2D virtual environment, a 2.5D virtual environment, or a 3D virtual scene. The embodiments of the present application are not limited thereto.

[0021] The virtual object refers to a virtual character, a virtual vehicle, a virtual item, etc. that the user account controls in the target application. The present application is not limited thereto. For example, in the case where the target application is a game application, the virtual object refers to a game character that the user account controls in the game application. The virtual object may be in the form of a person, an animal, an animation, or other forms. The embodiment of the present application is not limited thereto. The virtual object may be displayed in a three-dimensional form or in a two-dimensional form. The embodiment of the present application is not limited thereto. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional solid model created based on an animation skeleton technology. Each virtual object has its own shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment. Optionally, the virtual object is a virtual vehicle in the virtual environment, for example, a virtual item that can be controlled by the user, such as a virtual car, a virtual hot air balloon, a virtual motorcycle, etc.

[0022] The server 20 provides a backend service to a client of a target application installed and executed in the terminal device 10. For example, the server 20 may be a backend server of the above-mentioned game application. The server 20 may be one server, a server cluster consisting of multiple servers, or a cloud computing service center. Optionally, the server 20 provides a backend service to the target applications in multiple terminal devices 10.

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

[0024] Please refer to FIG. 2. FIG. 2 shows a schematic diagram of a method for controlling a virtual object provided in an embodiment of the present application. A user interface is displayed on the terminal device 10 as shown in FIG. 1. The user interface is provided with a plurality of trigger areas, which are trigger area z1, trigger area z2, and trigger area z3, and the three trigger areas correspond to different sensitivities, respectively, and the sensitivity of the trigger areas is related to the moving speed of the virtual object. When the start position of the user's slide operation is located in trigger area z1 of the plurality of trigger areas, the moving 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 application, a plurality of trigger areas are provided in the user interface, and different trigger areas correspond to different sensitivities, and different sensitivities correspond to different moving speeds of the virtual object. When the start position of the user's slide operation is in the target trigger area, the moving 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 moving speed. That is, before the start of a competitive match, the user can set the trigger area according to his / her own operation habits. The setting of the trigger area includes, but is not limited to, the size of the area, the sensitivity of the area, etc. During the competitive match, the user can change the moving speed of the virtual object by adjusting the start position of the slide operation according to the real-time situation. This further improves the user's control over the virtual object and enhances the user's sense of match experience.

[0026] Please refer to FIG. 3. FIG. 3 shows a flowchart of a method for controlling a virtual object provided in one embodiment of the present application. In this method, an execution subject of each step may be a terminal device 10 in the configuration implementation environment shown in FIG. 1. For example, an execution subject of each step may be a client of a target application. In the following embodiment of the method, for convenience of explanation, only the case where an execution subject of each step is a "client" is introduced and explained. This method may include at least one of the following several steps (320 to 360).

[0027] At step 320, a user interface is displayed, where the user interface displays a joystick control for controlling movement of a virtual object, the joystick control having multiple trigger regions, different trigger regions corresponding to different sensitivities.

[0028] The joystick control is also called a virtual joystick and is composed of a disk part and a remote sensing part. The disk part is an operable range of the virtual joystick, and the position of the remote sensing part is not changed unless the user operates it. Optionally, the remote sensing part slides within the range of the disk part as the finger slides, and the user can slide the remote sensing part arbitrarily within the range of the disk part. In some embodiments, the joystick control can control the moving direction of a virtual object.

[0029] The trigger area refers to a specific area in an interface, and different trigger areas correspond to different sensitivities. This area may be set by the server, or may be set or adjusted by the user. In the embodiment of the present application, the size and shape of the trigger area are not limited. For example, the shape of the trigger area may be a rectangle, a circle, a rectangle with rounded corners, etc., and the size of the trigger area may be set reasonably according to the layout of the interface. In addition, the different trigger areas may have the same size and shape or different sizes and shapes. This application is not limited thereto.

[0030] The sensitivity in the embodiments of the present application refers to the movement sensitivity, and can be understood as a case where a user performs the same sliding operation in different trigger regions, but the speed at which the virtual object is controlled to move is different. In some embodiments, when a user performs a sliding operation in the same manner on a user interface, and the trigger regions in which the starting positions of the sliding operation are located are different, the moving speeds of the virtual objects corresponding to the different trigger regions are different. Optionally, in one trigger region, the moving speed of the corresponding virtual object is 10 meters / second, and in another trigger region, the moving speed of the corresponding virtual object is 20 meters / second.

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

[0032] In step 340, in response to a first sliding operation having a starting position located in a first trigger area, a first movement speed of the virtual object is determined based on a sensitivity of the first trigger area, the first trigger area being one of the multiple trigger areas.

[0033] The first sliding operation is an action performed by a user. Optionally, the terminal device is a handheld device, and the first sliding operation of the user is an operation performed directly on the terminal device, such as a sliding operation, a pressing operation, a drag operation, etc. on a screen of a mobile phone. Optionally, the terminal device is not a handheld device, and the first interaction operation of the user may be an operation performed on a peripheral device of the terminal device, such as a double-click operation on a mouse, a click operation on a keyboard, a click on a handle, a roll, etc. The present application does not limit the type of the first sliding operation. In some embodiments, the sliding operation has a start position and a real-time position. For example, if the sliding operation is a sliding operation on a screen of a mobile phone, the start position is the position where the hand first touches the screen. Then, the hand slides on the screen to perform the sliding operation. During the sliding operation, the position where the hand currently touches the screen is the real-time position of the sliding operation. When the hand is released from the screen, the sliding operation ends.

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

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

[0036] In some embodiments, the sensitivity of different trigger regions can be customized by the user, and may be set before the user enters a game match, or may be set according to the real-time situation of the match after the user enters the game match. Optionally, the initially set sensitivities of the trigger region Q3, the trigger region Q4, and the trigger region Q5 in FIG. 5 are 10, 8, and 5, respectively, but the user can set the sensitivity of the trigger region Q5 by himself, considering that the sensitivity for the trigger region Q5 does not need to reach 5. After the sensitivity adjustment, when the sensitivity of the trigger region Q5 of the joystick control changes, the moving speed of the virtual object also changes in response to the user's sliding operation. For example, when the sensitivity of the trigger region Q5 is adjusted from 5 to 3, the moving speed of the virtual object is adjusted to 3 m / s.

[0037] In some embodiments, there is no overlapping area between any two of the multiple trigger areas. For example, in the user interface as shown in FIG. 4 and FIG. 5, there is no overlapping area between the trigger areas. The trigger area in which the start position of the slide operation performed by the user is located is determined as the selected trigger area, for example, the trigger area in which the start position of the first slide operation is located is determined as the first trigger area. Optionally, when the start position of the slide operation is located on the boundary of the trigger area, the trigger area in which the sensitivity of the trigger area near the boundary is maximum may be set as the first trigger area, or the trigger area in which the sensitivity of the trigger area near the boundary is minimum may be set as the first trigger area. Optionally, when the start position of the slide operation is located on the boundary B1 (shown by a dashed line in the figure) of the user interface as shown in FIG. 4, the trigger area Q1 is determined as the first trigger area, or the trigger area Q2 is determined as the first trigger area, or the trigger area Q1 and the trigger area Q2, whichever has the greater sensitivity, is determined as the first trigger area.

[0038] In some embodiments, an overlapping area exists between at least two of the multiple trigger areas. When a first slide operation is detected, a start position of the first slide operation is obtained, an interval between the start position of the first slide operation and a reference point of each trigger area is determined, and a trigger area with the smallest interval is determined as the first trigger area from among the multiple trigger areas. Here, the positions of the reference points of each trigger area are different from each other. In the embodiments of the present application, "an overlap exists between two trigger areas" refers to an overlapping area exists between two trigger areas, but a non-overlapping area also exists accordingly, that is, the two trigger areas do not completely overlap, but only partially overlap. For example, in the user interface as shown in FIG. 6, there are trigger areas Q6, Q7, and Q8, and an overlap exists between the three trigger areas. An overlapping portion exists between trigger area Q6 and trigger area Q7, but a non-overlapping portion exists in trigger area Q6 relative to trigger area Q7, and a non-overlapping portion exists in trigger area Q7 relative to trigger area Q6. Optionally, the trigger area where the start position of the slide operation is located is determined as the first trigger area, and when the start position of the slide operation is located in the overlapping area, the trigger area where the sensitivity of the trigger area near the boundary is the maximum may be set as the first trigger area, or the trigger area where the sensitivity of the trigger area near the boundary is the minimum may be set as the first trigger area. Optionally, based on the interval between the start position of the slide operation and the reference point of each trigger area, the one with the closest distance is selected as the selected trigger area. Optionally, the reference point is the position of the center point of the trigger area, or another position that can represent the trigger area. As shown in FIG. 6, the start position of the slide operation is D0, D1 is the center position of the trigger area Q6, D2 is the center position of the trigger area Q7, and D3 is the center position of the trigger area Q8, in this case, the start position D0 of the slide operation is in the overlapping area of ​​the trigger area Q6 and the trigger area Q7. When the distance from D0 to D1 and the distance from D0 to D2 are determined, the distance from D0 to D2 is smaller, so the trigger area Q7 in which D2 is located is determined as the selected first trigger area.

[0039] In the embodiments of the present application, on the one hand, by arranging multiple trigger areas in an overlapping manner, the interface area occupied by the trigger areas can be reduced and the influence on the arrangement of other controls in the interface can be avoided; on the other hand, when arranging multiple trigger areas in an overlapping manner, the trigger area closest to the operation position can be selected as the trigger area selected by the user, thereby ensuring accurate selection of the trigger area.

[0040] In the embodiment of the present application, the area, shape and arrangement of the slide operation are not limited. For example, the three trigger areas in FIG. 6 are vertically distributed. In some embodiments, they may be horizontally distributed as shown in FIG. 7 (trigger area Q9, trigger area Q10, and trigger area Q11 distributed horizontally). In the embodiment 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 gradually increases or decreases. Optionally, the sensitivity of the horizontally distributed trigger area Q9, trigger area Q10, and trigger area Q11 in FIG. 7 gradually increases. Optionally, the sensitivity of the trigger area Q6, trigger area Q7, and trigger area Q8 in FIG. 6 gradually decreases. This can avoid the user from accidentally touching the trigger area, and following the normal order of increasing and decreasing makes it easier for the user to remember and operate.

[0041] In the configuration provided in the embodiment of the present application, different needs of users can be met by setting the trigger area. If the area of ​​the user interface occupied by the trigger area is not to be too large, the trigger area can be arranged horizontally to reduce the area that the trigger area needs to occupy. If the user needs to make the trigger area larger, the user can also select the trigger area with vertical distribution. The larger the trigger area, the lower the operation requirements for the user, and the smaller the trigger area, the higher the operation requirements for the user, so that the needs of different users can be met, it is friendly to novice users and can meet the needs of experienced users, and the user experience is good.

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

[0043] Once the client has determined a first movement speed of the virtual object, the client can control the virtual object to move at the first movement speed.

[0044] Optionally, the first moving speed of the virtual object is related to various other factors in addition to the sensitivity of the trigger region, such as the vehicle on which the virtual object is riding, the environment in which the virtual object is located, the appearance of the virtual object, etc. For details, see the following examples, and the description is omitted here.

[0045] In some embodiments, the user interface displays the first moving speed value, allowing the user to grasp the moving speed of the virtual object currently being controlled and adjust the start position of the slide operation according to the real-time situation of the virtual environment to obtain different moving speeds corresponding to different trigger areas. The user can adjust the operation in a timely manner according to the numerical information, and the strategy of the game is enhanced. In some embodiments, different moving speeds correspond to different animation effects, which enhances the user's sense of substitution for the virtual object and improves the experience.

[0046] In the configuration provided in the embodiment of the present application, multiple trigger areas corresponding to different sensitivities are provided, and the moving speed of the virtual object is determined based on the sensitivity of the trigger area where the initial position of the user's slide operation is located, and the virtual object is controlled to move at the determined moving speed, so that the user can start performing the slide operation in the trigger areas with different sensitivities according to different needs, thereby allowing 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.

[0047] In addition, the configuration provided in the embodiments of the present application eliminates the need for the user to manually set sensitivity during a match, thereby simplifying user operations and contributing to increased flexibility and efficiency in the user's control over the movement of a virtual object.

[0048] Please refer to FIG. 8. FIG. 8 shows a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. In this method, an execution subject of each step may be a terminal device 10 in the configuration implementation environment shown in FIG. 1. For example, an execution subject of each step may be a client of a target application. In the following embodiment of the method, for convenience of explanation, only the case where an execution subject of each step is a "client" will be introduced and explained. This method may include at least one of the following several steps (320 to 360).

[0049] At step 320, a user interface is displayed, where the user interface displays a joystick control for controlling movement of a virtual object, the joystick control having multiple trigger regions, different trigger regions corresponding to different sensitivities.

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

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

[0052] In some embodiments, the joystick control is moved to the start position of the first sliding operation and displayed, i.e., the process of the joystick control moving from its original display position to its start position is displayed, or the joystick control is cancelled at its original display position and the joystick control is displayed at the start position of the first sliding operation.

[0053] In step 340-1, a first moving speed of the virtual object is determined based on the sensitivity of the first trigger region and the attribute information of the first sliding operation.

[0054] The attribute information is information about the first sliding operation. Optionally, the attribute information includes a distance between a real-time position of the first sliding operation and a start position of the first sliding operation.

[0055] In some embodiments, the distance between the real-time position of the first sliding operation and the start position of the first sliding operation is positively correlated with the moving speed, for example, if the distance between the real-time position of the first sliding operation and the start position of the first sliding operation is 1 cm, the moving speed is 1 m / s, if the distance between the real-time position of the first sliding operation and the start position of the first sliding operation is 2 cm, the moving speed is 2 m / s, and so on.

[0056] In some embodiments, the first moving speed of the virtual object is determined according to 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 moving speeds, and the attribute information of the slide operation can also correspond to different moving speeds. The moving speed corresponding to the sensitivity of the slide region where the initial position of the slide operation is located is written as the first moving speed, and the moving speed corresponding to the attribute information of the first slide operation is written as the second moving speed, and the magnitude relationship between the first moving speed and the second moving speed is determined, and the larger moving speed may be determined as the first moving speed of the virtual object.

[0057] In some embodiments, the first moving speed 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, respectively. The moving speed corresponding to the sensitivity of the slide region where the initial position of the slide operation is located is referred to as the first moving speed, and the moving speed corresponding to the attribute information of the first slide operation is referred to as the second moving speed, and the final moving speed is determined based on the ratio of the two.

[0058] In some embodiments, a sensitivity correction parameter is determined based on the distance, and a first movement speed of the virtual object is determined based on the sensitivity correction parameter and a sensitivity of a first trigger region, the sensitivity correction parameter being for adjusting the sensitivity of said trigger region.

[0059] In some embodiments, the sensitivity correction parameter is correlated with the distance, and when the distance changes, the sensitivity correction parameter also changes, that is, the distance and the sensitivity correction parameter are positively correlated. Optionally, different distance intervals correspond to different sensitivity correction parameters. For example, when the distance is within the interval range of a1 to b1, the sensitivity correction parameter is d1, and when the distance is within the interval range of a2 to b2, the sensitivity correction parameter is d2. It may be understood that the sensitivity correction parameter is an interval function, and different intervals correspond to different values. Here, a1, b1, d1, a2, b2, and d2 are all positive numbers.

[0060] A corrected sensitivity is determined based on the sensitivity correction parameter and the sensitivity of the first trigger region, and a first moving speed of the virtual object is determined based on the corrected sensitivity. Here, the determination of the corrected sensitivity based on the sensitivity correction parameter and the sensitivity of the first trigger region may be performed by addition or multiplication. The present application does not limit the specific algorithm.

[0061] In some embodiments, the attribute information is information about a first sliding operation. Optionally, the attribute information includes other attribute information than the distance of the first sliding operation, for example, a pressure value of the first sliding operation. Optionally, the pressure value of the sliding operation and the moving speed of the virtual object are positively correlated. When the pressure value of the sliding operation is a first pressure value, the moving speed of the virtual object is a first speed, when the pressure value of the sliding operation is a second pressure value, the moving speed of the virtual object is a second speed, and when the first pressure value is greater than the second pressure value, the first speed is greater than the second speed.

[0062] In some embodiments, the attribute information is information about a first sliding operation. Optionally, the attribute information includes other attribute information than the distance of the first sliding operation, for example, a size of a trigger area covered by the first sliding operation. Optionally, the size of the trigger area covered by the sliding operation and the moving speed of the virtual object are positively correlated. When the size of the trigger area covered by the sliding operation is a first area, the moving speed of the virtual object is a third speed, when the size of the trigger area covered by the sliding operation is a second area, the moving speed of the virtual object is a fourth speed, and when the first area is larger than the second area, the third speed is larger than the fourth speed.

[0063] In some embodiments, the speed of movement of the virtual object is also related to the virtual environment location / area in which the virtual object is currently located (e.g., flat ground, grass, snow, river, etc.). In some embodiments, it is related 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 speed of movement of the virtual object is reduced. Optionally, if the virtual environment in which the virtual object is located is flat ground, the speed of movement of the virtual object is increased significantly more than the speed of movement of the virtual object in snow.

[0064] In the configuration provided in the embodiment of the present application, the moving speed of the virtual object is determined based on both the attribute information of the slide operation and the sensitivity of the trigger area, which is more suited to actual situations and allows the user to control the virtual object more precisely and accurately.

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

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

[0067] In step 361, in response to a setting operation for a trigger region, a range frame corresponding to each of a plurality of trigger regions is displayed.

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

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

[0070] In some embodiments, the user may perform a delete operation on some unnecessary trigger regions. In an embodiment such as that shown in Fig. 6, the user may perform a delete operation on the trigger region Q6. Optionally, the user may delete the trigger region Q6 when the user believes that the trigger region Q6 is not useful and therefore is no longer necessary.

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

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

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

[0074] In some embodiments, the user can add a trigger region, and at the same time, a bounding box corresponding to the newly added trigger region is displayed.

[0075] In step 365, in response to a setting completion operation for the trigger area, multiple trigger areas corresponding to the joystick control are set 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 the present application allows the size and position of the bounding box of the trigger area to be adjusted, and allows the addition or deletion of trigger areas, so as to meet different user needs and adapt to different groups of users. For novice users, a small number of large trigger areas may be provided to avoid mis-touching. For experienced users, multiple small trigger areas may be provided to facilitate the improvement of their game skills. This improves the possibility of human-computer interaction and provides a better user experience.

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

[0078] At step 366, real-time competition data associated with the virtual object is obtained, where the real-time competition data includes at least one of real-time attribute data of the virtual object, real-time environmental 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.

[0079] In some embodiments, the real-time attribute data of the virtual object may be the current state of the virtual user, for example, hit point value, whether or not the virtual user is injured, whether or not the hit points are decreasing, etc.

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

[0081] In some embodiments, the real-time equipment data of a virtual object may be equipment data that the virtual object currently has, such as the number of virtual items, the number of virtual gun powder, etc.

[0082] In some implementations, the real-time distance between the current location of the virtual object and the desired location may be the distance between where the virtual object is currently located and where it is expected to be located. The desired location may be one marked by the user or one predicted by the server. For example, the desired location may be the center location of a safe area or a target location marked by the user.

[0083] In step 367, a recommended trigger region is determined from among the plurality of trigger regions based on the real-time competition data.

[0084] In some embodiments, a recommended trigger region is determined from among the multiple trigger regions based on real-time competition data. For example, if the virtual object has a low hit point value, poor equipment, and an area where it is located is unsafe, a most sensitive trigger region is determined from among the multiple trigger regions as a recommended trigger region. For example, if the virtual object has a very healthy hit point value, and good equipment, a less sensitive trigger region is determined from among the multiple trigger regions as a recommended trigger region. Optionally, the recommended trigger region is one of the multiple trigger regions.

[0085] In some embodiments, the real-time competition data is processed by a speed prediction model to predict a desired moving speed of the virtual object, the speed prediction model being a machine learning model constructed based on a neural network, and a recommended trigger region is determined from among the plurality of trigger regions based on the desired moving speed.

[0086] In step 368, presentation information corresponding to the suggested trigger region is displayed.

[0087] In some embodiments, the presentation information is a joystick control, and the joystick control is displayed in a recommended trigger region of the plurality of trigger regions. Optionally, the joystick control is displayed at a position of a reference point of the recommended trigger region. Optionally, the position of the reference point is a position of a center point of the recommended trigger region. Optionally, the joystick control T0 is displayed directly in the recommended trigger region of the user interface, as shown in FIG. 5 .

[0088] In some embodiments, the presented information is a recommended trigger region, and the recommended trigger region among the multiple trigger regions is displayed in a manner distinguished from other trigger regions other than the recommended trigger region. For example, the recommended trigger region is displayed in a highlighted form in the user interface. Optionally, as shown in FIG. 5, the trigger region Q3 is displayed in a highlighted form in the recommended trigger region of the user interface.

[0089] In the configuration provided in the embodiment of the present application, the recommended trigger area can be determined based on the real-time competition data of the virtual object, so that the recommended trigger area can be provided in real time according to the situation of the virtual object. When the virtual object encounters a danger or is located in an unsafe state, the user can directly use the recommended trigger area without being distracted by thinking about which trigger area needs to be used. This shortens the user's reaction time and improves the user's competitive experience. In addition, the accuracy and efficiency of trigger area selection are also improved, so that the user can quickly and accurately select a trigger area suitable for the current competitive scene and control the virtual object to move at a speed suitable for the current competitive scene.

[0090] Please refer to FIG. 9. FIG. 9 shows a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. In this method, an execution subject of each step may be a terminal device 10 in the configuration implementation environment shown in FIG. 1. For example, an execution subject of each step may be a client of a target application. In the following embodiment of the method, for convenience of explanation, only the case where an execution subject of each step is a "client" will be introduced and explained. This method may include at least one of the following several steps (320 to 380).

[0091] At step 320, a user interface is displayed, the user interface displaying a joystick control for controlling movement of a virtual object, the joystick control having a plurality of directional segments, the different directional segments corresponding to different movement directions.

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

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

[0094] The present application does not limit the number of direction intervals. Optionally, the number of method intervals is eight.

[0095] In some embodiments, in the schematic diagram of the user interface as shown in FIG. 10, a first direction section to which the real-time direction belongs is determined from among a plurality of direction sections based on the real-time direction of the real-time position of the first sliding operation of the user on the joystick control L1. In some embodiments, FIG. 10 can be divided into 10 direction sections, and for example, the upper half section can be divided into a total of five direction sections, including up, upper left, upper right, left, and right. In some embodiments, each direction section corresponds to a certain section range. Optionally, as shown in FIG. 11, the real-time direction of the real-time position of the first sliding operation on the joystick control L2 is the direction indicated by the arrow m3. Since the direction of m3 is located in the direction section surrounded by m1 and m2, the "upper left" direction section surrounded by m1 and m2 is determined as the first direction section, and the direction of 45 degrees northwest corresponding to the first direction section is determined as the movement direction of the virtual object. As indicated by the arrow m4, the movement direction of the virtual object is the direction of 45 degrees northwest.

[0096] 12, there are eight direction sections in total, the real-time position of the first interaction operation is E1, the center position of the joystick control L3 is E0, and the real-time direction of the real-time position of the first sliding operation on the joystick control is from E0 to E1. It can be determined that the direction from E0 to E1 belongs to a direction section called P1 (P1 corresponds to the upper right direction section, which is one of the eight direction sections).

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

[0098] Based on the user's interaction operation, we can know how many pixel points the user has slid on the screen, and we can further obtain the slid arc length. Suppose we know that the slid arc length is 5 mm. The formula for the arc length is L=n×π×r / 180,L=α×r, where n is the degree of the central angle, r is the radius, and L is the arc length of the central angle. In a circle with radius R, the arc length for a central angle of 360° is equal to the circumference C=2πr, so the arc length for a central angle of n° is l=n°πr÷180°(l=n°x2πr / 360°). The arc length of a sector is actually a part of the circumference of a circle. If the angle of the sector is a fraction of 360 degrees, 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, where 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 corresponding to an arc length of 0.785 cm, we can see that n = 45 degrees because l = nπr / 180 = n × π × 1 / 180 = n × 3.14 × 1 / 180 = 0.785, and therefore the angle corresponding to this arc is 45 degrees.

[0099] Based on determining the central angle by the above-mentioned arc length, a first direction section to which the real-time direction of the real-time position of the first sliding operation on the joystick control belongs is further determined. For this purpose, a specific value of n° can be calculated inversely from the arc length L corresponding to the central angle of n° in Fig. 12, and the direction section to which the real-time direction belongs can be determined from the value of n°. Optionally, when the value of n is 75, the first direction section to which the real-time direction of the real-time position of the first sliding operation on the joystick control belongs is P2.

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

[0101] In some embodiments, a moving direction corresponding to each direction section is set. In some embodiments, the center direction of each direction section is set as the moving direction corresponding to the direction section. In FIG. 12, the moving direction corresponding to the direction section P1 is the direction from E0 to F, and F is a point in the center direction of the direction section P1.

[0102] When the direction section to which the real-time direction belongs changes from a first direction section to a second direction section, the moving direction of the virtual object is controlled so as to gradually change from the moving direction corresponding to the first direction section to the moving direction corresponding to the second direction section within a first time period. Here, the second direction section is a direction section adjacent to the first direction section. By gradually adjusting the direction so that the virtual object's direction does not change instantly, the user's experience can be improved.

[0103] 12, when the real-time position of the slide operation moves from point E1 to point E2, the direction section changes from P1 to P2. The moving 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 moving direction corresponding to the direction section P2.

[0104] The present application does not limit the priority of the steps mentioned in the embodiments, and all steps can be permuted to form new embodiments.

[0105] In the configuration provided in the embodiment of the present application, the division into a plurality of direction sections prevents the direction change of the virtual object controlled by the user from being too sensitive, and the processing overhead of the terminal device can be significantly reduced by setting a plurality of direction sections, each of which corresponds to one moving direction. In some embodiments, when the competition screen is choppy, the moving direction of the virtual object can be set to a moving direction corresponding to the plurality of direction sections set in the embodiment of the present application, thereby reducing the execution cost of the terminal device, reducing the choppiness of the screen, improving the smoothness of the screen, and improving the user's experience.

[0106] Please refer to FIG. 13. FIG. 13 shows a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. In this method, an execution subject of each step may be a terminal device 10 in the configuration implementation environment shown in FIG. 1. For example, an execution subject of each step may be a client of a target application. In the following embodiment of the method, for convenience of explanation, only the case where an execution subject of each step is a "client" is introduced and explained. This method may include at least one of the following several steps (320-1 to 394).

[0107] In step 320-1, a user interface is displayed, and a joystick control for controlling the movement of a virtual object is displayed on the user interface.

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

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

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

[0111] The automatic movement control is for automatically moving a virtual object. In FIG. 14, when the real-time position of the first sliding operation is G1, the distance between the real-time position of the first sliding operation and the start position of the first sliding operation is the distance from G1 to the start position G0 of the first sliding operation, which does not satisfy the first threshold, so the automatic movement control is not displayed. When the real-time position of the first sliding operation changes from G1 to G2, the distance between the real-time position of the first sliding operation and the start position of the first sliding operation is the distance from G2 to the start position G0 of the first sliding operation, which satisfies the first threshold, so the automatic movement control H1 is displayed.

[0112] In step 394, if the automatic movement control is in a displayed state, the display of the automatic movement control is cancelled if the distance is equal to or less than the second threshold.

[0113] 15, when the real-time position of the first sliding operation is G5, the distance between the real-time position of the first sliding operation and the start position of the first sliding operation is the distance from G5 to the start position G6 of the first sliding operation, which satisfies the first threshold, so the automatic movement control H2 is displayed. When the real-time position of the first sliding operation changes from G5 to G4, the distance between the real-time position of the first sliding operation and the start position of the first sliding operation is the distance from G4 to the start position G6 of the first sliding operation, which does not satisfy the first threshold, so the display of the automatic movement control H1 is canceled.

[0114] In the embodiment of the present application, the values ​​of the first threshold and the second threshold are not limited. When the distance between the real-time position of the first sliding operation and the start position of the first sliding operation is equal to or greater than the first threshold, the automatic movement control is displayed, and when the distance between the real-time position of the first sliding operation and the start position of the first sliding operation is equal to or less than the first threshold, the display of the automatic movement control is cancelled, thereby preventing the automatic movement control from disappearing or appearing continuously due to multiple user operations, thereby improving the user's experience and reducing the processing pressure of the terminal device.

[0115] Please refer to FIG. 16. FIG. 16 shows a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. In this method, an execution subject of each step may be a terminal device 10 in the configuration implementation environment shown in FIG. 1. For example, an execution subject of each step may be a client of a target application. In the following embodiment of the method, for convenience of explanation, only the case where an execution subject of each step is a "client" will be introduced and explained. This method may include at least one of the following several steps (410 to 430).

[0116] At step 410, a user interface is displayed, where the user interface displays a joystick control for controlling movement of a virtual object, the joystick control having multiple trigger regions, different trigger regions corresponding to different sensitivities.

[0117] In step 420, in response to a first sliding operation whose start position is located in a first trigger region, the virtual object is controlled to move at a first movement speed.

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

[0119] Here, the first trigger region and the second trigger region are each one of a 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.

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

[0121] In some embodiments, in response to the first sliding operation, a joystick control is displayed at the start position of the first sliding operation. For specific details, refer to the above embodiments. No further description will be given here.

[0122] In some embodiments, in response to a setting operation on the trigger area, a range frame corresponding to each of the multiple trigger areas is displayed, in response to a deletion operation on a target trigger area among the 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 the 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 the trigger area, multiple trigger areas corresponding to the 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 above embodiments. Further explanation will be omitted here.

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

[0124] In some embodiments, the joystick control is displayed in a recommended trigger region among the plurality of trigger regions, or the recommended trigger region among the plurality of trigger regions is displayed separately from other trigger regions other than the recommended trigger region. For specific details, refer to the above embodiments. Further description will be omitted here.

[0125] The steps mentioned in the embodiments of the present application are not limited to the several embodiments listed in the present application, and each step can be combined with each other to form a new embodiment, which is not limited in the present application.

[0126] In the configuration provided in the embodiment of the present application, a virtual object can be controlled to move at different movement speeds in response to slide operations of different trigger areas, thereby subdividing the user's control over the virtual object and meeting the different needs of users in different situations.

[0127] Please refer to FIG. 18. FIG. 18 shows a flowchart of a method for controlling a virtual object provided in another embodiment of the present application. In this method, an execution subject of each step may be a terminal device 10 in the configuration implementation environment shown in FIG. 1. For example, an execution subject of each step may be a client of a target application. In the following embodiment of the method, for convenience of explanation, only the case where an execution subject of each step is a "client" will be introduced and explained. This method may include at least one of the following several steps (S1 to S4).

[0128] After the game match starts, the game match is entered and step S1 begins to be executed.

[0129] In step S1, it is determined whether or not the moving area is touched. If the moving area is touched, the moving state is entered, and if the moving area is not touched, the game match is entered again.

[0130] When the moving 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 movement direction is changed, and if another section has not been slid, the movement state is entered again.

[0132] When the change in the moving state is completed, step S3 is executed.

[0133] In step S3, it is determined whether or not the slider has slid upward a certain distance, and if it has slid upward a certain distance, a button for locking the running is displayed.

[0134] In step S4, it is determined whether or not the running button has been touched. If the running button has been touched, the running state is locked, and if the running button has not been touched, the button for locking running continues to be displayed.

[0135] The game match ends.

[0136] Below are examples of apparatus of the present application that can be used to carry out the method embodiments of the present application. For details not disclosed in the apparatus embodiments of the present application, reference is made to the method embodiments of the present application.

[0137] Please refer to FIG. 19. FIG. 19 shows a block diagram of a control device for a virtual object provided in an embodiment of the present application. The device has a function for implementing the above-mentioned method example. The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The device may be the terminal device introduced above, or may be provided in the terminal device. As shown in FIG. 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, where the user interface displays a joystick control for controlling movement of a virtual object, the joystick control having multiple trigger regions, different trigger regions corresponding to different sensitivities.

[0139] The speed determination module 1820, in response to a first sliding operation whose start position is located in a 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 moving speed of the virtual object based on a sensitivity of the first trigger area and attribute information of the first sliding operation, and the first trigger area is one of the multiple trigger areas.

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

[0143] In some embodiments, the speed determination module 1820 further determines a sensitivity correction parameter based on the distance, the sensitivity correction parameter for adjusting the sensitivity of the trigger region.

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

[0145] In some embodiments, there is an overlap region between at least two of the multiple trigger regions.

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

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

[0148] The interval determination module 1850 determines an interval between a start position of the first slide operation and a reference point of each of the trigger areas, and the positions of the reference points of each of the trigger areas are different from each other.

[0149] The trigger region determination module 1860 determines, from among the multiple trigger regions, a trigger region in which the interval is smallest as the first trigger region.

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

[0151] The data acquisition module 1870 acquires real-time athletic data related to the virtual object, the real-time athletic data including at least one of real-time attribute data of the virtual object, real-time environmental data of the virtual object, real-time equipment data of the virtual object, and a real-time distance between a current position and a 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 presentation information display module 1880 displays presentation information corresponding to the recommendation trigger region.

[0154] In some embodiments, the trigger region determination module 1860 further processes the real-time competition data through a speed prediction model to predict a desired movement speed of the virtual object, the speed prediction model being a machine learning model constructed based 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 locations of the plurality of trigger regions are arranged in an order of increasing or decreasing sensitivity corresponding to each of the plurality of trigger regions.

[0157] In some embodiments, the joystick control has multiple directional segments, different directional segments corresponding to different directions of movement.

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

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

[0160] The control movement module 1830 further controls the virtual object to move in a movement direction corresponding to the first direction interval.

[0161] In some embodiments, the controlled movement module 1830 further controls the movement direction of the virtual object to gradually change from a movement direction corresponding to the first direction section to a movement direction corresponding to the second direction section within a first time period when a direction section to which the real-time direction belongs changes from the first direction section to a second direction section, the second direction section being a direction section adjacent to the first direction section.

[0162] In some embodiments, as shown in FIG. 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 a real-time position of the first sliding operation and a start position of the first sliding operation.

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

[0165] The control display module 1894 further configures, when the automatic movement control is displayed, to cancel display of the automatic movement control if the distance is less than or equal to a second threshold, the second threshold being less than the first threshold.

[0166] In some embodiments, the interface display module 1810 displays a user interface, the user interface displaying a joystick control for controlling movement of a virtual object, the joystick control having a number of trigger regions.

[0167] The movement control module 1830 controls the virtual object to move at a first movement speed in response to a first sliding operation whose start position is located in a first trigger area.

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

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

[0170] In response to the first sliding operation, the joystick control display module 2040 displays the joystick control at a start position of the first sliding operation.

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

[0172] The range frame display module 2050 displays range frames corresponding to the respective trigger regions in response to a setting operation on the trigger region.

[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 deletion operation on the target trigger region among the multiple trigger regions.

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

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

[0176] In response to a setting completion operation for the trigger area, the trigger area setting module 2070 sets multiple 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 overlap region between any two of the plurality of trigger regions, or there is an overlap region between at least two of the plurality of trigger regions.

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

[0179] The presentation information display module 2080 displays the joystick control in a recommended trigger region among the plurality of trigger regions. Alternatively, the presentation information display module 2080 displays the recommended trigger region among the plurality of trigger regions in a manner distinguished from other trigger regions other than the recommended trigger region.

[0180] In addition, the device provided in the above embodiment is described as an example of only dividing the above functional modules to realize its functions, but in actual application, the above functions may be assigned to different functional modules as necessary, that is, the internal configuration of the device may be divided into different functional modules to execute all or part of the functions described above. In addition, the device provided in the above embodiment belongs to the same concept as the method embodiment, and the details of the specific implementation process may be referred to the method embodiment. Here, further explanation is omitted.

[0181] Please refer to Fig. 22. Fig. 22 shows a configuration block diagram of a terminal device 2100 provided in one embodiment of the present application. The terminal device 2100 may be the terminal device 10 in the implementation environment shown in Fig. 1, and implements the method for controlling a virtual object provided in the above embodiment. Specifically, the terminal device 2100 generally includes 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 realized in the form of at least one hardware of a digital signal processing (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA).

[0183] The memory 2102 may include one or more computer readable storage media. The computer readable storage media may be non-transitory. The memory 2102 may include high speed random access memory and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer readable storage media in the memory 2102 stores a computer program that, when executed by one or more processors, is configured to implement the above-described method for controlling a virtual object.

[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, the memory 2102, and the peripheral device interface 2103 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 2103 via a bus, a signal line, or a 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 will be appreciated by those skilled in the art, the configuration shown in FIG. 22 is not intended to limit the terminal device 2100, which may include more or fewer components than shown, or may combine some or all of the components, or may employ a different arrangement of the components.

[0186] In an exemplary embodiment, a computer readable storage medium is provided having a computer program stored thereon, the computer program, when executed by a processor, implementing the above-described method for controlling a virtual object.

[0187] Optionally, the computer-readable storage medium may include a read-only memory (ROM), a random-access memory (RAM), a solid-state drive (SSD), an optical disk, etc. Here, the random-access memory may include a resistance random-access memory (ReRAM) or a dynamic random-access memory (DRAM).

[0188] In an exemplary embodiment, a computer program product is further provided, the computer instructions being stored in a computer-readable storage medium, the processor of a terminal device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions causes the terminal device to perform the above-mentioned method for controlling a virtual object.

Claims

1. A method for controlling a virtual object, executed by a terminal device, comprising: displaying a user interface, the user interface displaying a joystick control for controlling movement of a virtual object, the joystick control having a plurality of trigger regions, different trigger regions corresponding to different sensitivities; determining a first movement speed of the virtual object based on a sensitivity of a first trigger region in response to a first sliding operation whose start position is located in a first trigger region, the first trigger region being one of the plurality of trigger regions; and controlling the virtual object to move at the first movement speed. method.

2. The step of determining a first movement speed of the virtual object based on the sensitivity of the first trigger region includes: determining a first moving speed of the virtual object based on the sensitivity of the first trigger region and attribute information of the first slide operation; The method of claim 1.

3. the attribute information includes a distance between a real-time position of the first sliding operation and a start position of the first sliding operation; the step of determining a first moving speed of the virtual object based on the sensitivity of the first trigger region and attribute information of the first slide operation, determining a sensitivity correction parameter based on the distance, the sensitivity correction parameter for adjusting a sensitivity of the trigger region; determining a first moving speed of the virtual object based on the sensitivity correction parameter and the sensitivity of the first trigger region; The method of claim 2.

4. Among the plurality of trigger regions, an overlap region exists between at least two trigger regions, and the method further comprises: acquiring a start position of the first sliding operation when the first sliding operation is detected; determining an interval between a start position of the first slide operation and a reference point of each of the trigger areas, the reference points of the trigger areas being located at different positions; determining, from among the plurality of trigger regions, a trigger region in which the interval is smallest as the first trigger region, The method of claim 1.

5. acquiring real-time competition data related to the virtual object, the real-time competition data including at least one of 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 a real-time distance between a current position and a desired position of the virtual object; determining a recommended trigger region from among the plurality of trigger regions based on the real-time competition data; and displaying presentation information corresponding to the recommended trigger area. The method of claim 1.

6. The step of determining a recommended trigger region from among the plurality of trigger regions based on the real-time competition data includes: processing the real-time competition data with a speed prediction model to predict a desired moving speed of the virtual object, the speed prediction model being a machine learning model constructed based on a neural network; determining the recommended trigger region from among the plurality of trigger regions based on the desired movement speed; The method according to claim 5.

7. 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. The method of claim 1.

8. the joystick control has a plurality of directional sections, different directional sections corresponding to different directions of movement; The method comprises: determining, based on a real-time direction of a real-time position of the first sliding operation on the joystick control, a first direction section to which the real-time direction belongs, from among the plurality of direction sections; and controlling the virtual object to move in a movement direction corresponding to the first direction section. The method of claim 1.

9. After the step of controlling the virtual object to move in a movement direction corresponding to the first directional section, When a direction section to which the real-time direction belongs changes from the first direction section to a second direction section, the moving direction of the virtual object is controlled so that the moving direction gradually changes from a moving direction corresponding to the first direction section to a moving direction corresponding to the second direction section within a first time period, The second direction section is a direction section adjacent to the first direction section. The method according to claim 8.

10. obtaining a distance between a real-time position of the first sliding operation and a start position of the first sliding operation; if the distance is greater than or equal to a first threshold, displaying an automatic movement control, the automatic movement control for triggering the virtual object to run automatically; and canceling display of the automatic movement control when the automatic movement control is in a displayed state and the distance is equal to or less than a second threshold, the second threshold being less than the first threshold. The method of claim 1.

11. A method for controlling a virtual object, executed by a terminal device, comprising: displaying a user interface, the user interface displaying a joystick control for controlling movement of a virtual object, the joystick control having a plurality of trigger regions; In response to a first sliding operation having a start position located in a first trigger area, controlling the virtual object to move at a first movement speed; in response to a second sliding operation having a start position located in a second trigger area, controlling the virtual object to move at a second movement speed; 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. method.

12. and further comprising the step of displaying, in response to the first sliding operation, the joystick control at a start position of the first sliding operation. The method of claim 11.

13. displaying range frames corresponding to the plurality of trigger regions in response to a setting operation for the trigger regions; canceling display of a range frame corresponding to a target trigger region in response to a deletion operation on the target trigger region among the plurality of trigger regions, or adjusting at least one of a size and a 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, or displaying a range frame corresponding to a newly added trigger region in response to an addition operation on the trigger region; and in response to a setting completion operation for the trigger region, setting a plurality of trigger regions corresponding to the joystick control according to a size and a position of a range frame corresponding to each of the currently displayed trigger regions. The method of claim 11.

14. There is no overlapping region between any two of the plurality of trigger regions; or, An overlap region exists between at least two of the plurality of trigger regions. The method of claim 11.

15. displaying the joystick control in a suggested trigger region of the plurality of trigger regions; or, The method further includes a step of displaying a recommended trigger region among the plurality of trigger regions in a manner that distinguishes the recommended trigger region from other trigger regions other than the recommended trigger region.

15. The method according to any one of claims 11 to 14.

16. A control device for a virtual object, comprising: an interface display module that displays a user interface, the user interface displaying a joystick control for controlling a movement of a virtual object, the joystick control having a plurality of trigger regions, different trigger regions corresponding to different sensitivities; a speed determination module that determines a first moving speed of the virtual object based on a sensitivity of a first trigger area in response to a first sliding operation whose start position is located in a first trigger area, the first trigger area being one of the plurality of trigger areas; a movement control module that controls the virtual object to move at the first movement speed. Device.

17. A control device for a virtual object, comprising: an interface display module that displays a user interface, the user interface displaying a joystick control for controlling movement of a virtual object, the joystick control having a plurality of trigger regions; a movement control module that controls the virtual object to move at a first movement speed in response to a first slide operation whose start position is located in a first trigger area; the movement control module further controls the virtual object to move at a second movement speed in response to a second sliding operation having a start position located in a second trigger area; 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. Device.

18. A terminal device comprising a processor and a memory, the memory storing a computer program which, when loaded and executed by the processor, realises a method according to any one of claims 1 to 10 or a method according to any one of claims 11 to 15.

19. A computer-readable storage medium storing a computer program, the computer program causing a method according to any one of claims 1 to 10 or any one of claims 11 to 15 to be realized when the computer program is loaded and executed by a processor.

20. A computer program product comprising computer instructions, the computer instructions being stored in a computer readable storage medium, the computer program product being adapted to implement the method of any one of claims 1 to 10 or the method of any one of claims 11 to 15 by a processor reading and executing the computer instructions from the computer readable storage medium.

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