Virtual object control method and device, computer device, and storage medium
Patent Information
- Application Number
- CN202510192060.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2026-08-21
AI Technical Summary
但是,目前控制虚拟对象释放技能的方式,对操作的精准性要求高,导致人机交互效率低
[0039]本申请实施例提供的方案中,在控制虚拟对象释放技能时,能够先通过位置瞄准器来瞄准释放技能的起点位置,确认位置瞄准器已瞄准的位置时,能够推荐技能的释放方向,以便触发技能的确认释放操作时,控制第一虚拟对象在位置瞄准器已瞄准位置沿着推荐释放方向释放技能,无需从虚拟场景所显示的虚拟对象中选择释放目标后再释放技能,也无需用户手动选择技能的释放方向,丰富了释放技能的方式,降低了释放技能的操作难度,提升了人机交互效率,且这种技能释放方式能提升技能命中其他虚拟对象的可能性,保证技能的释放效果,进而提升用户体验。
Smart Images

Figure CN122605174A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, computer device, and storage medium for controlling virtual objects. Background Technology
[0002] The variety of video games is constantly increasing, including shooting games and role-playing games. In video games, players can control virtual objects to move within a virtual environment, such as controlling virtual objects to unleash their skills. Currently, controlling a virtual object to unleash a skill requires selecting a target object from the virtual environment, and then controlling the virtual object to unleash the skill on that target. However, the current method of controlling virtual objects to unleash skills requires high precision, resulting in low human-computer interaction efficiency. Summary of the Invention
[0003] This application provides a method, apparatus, computer device, and storage medium for controlling virtual objects, which can improve the efficiency of human-computer interaction. The technical solution is as follows:
[0004] On the one hand, a method for controlling a virtual object is provided, the method comprising:
[0005] In response to a pre-release operation of having a skill on a first virtual object, a position aiming device is displayed, the position aiming device being used to aim at the release position of the skill in the virtual scene;
[0006] In response to a confirmation operation that the position aiming device has been aimed at a position, a first direction indicator is displayed, the first direction indicator indicating the recommended release direction of the skill;
[0007] In response to the confirmation release operation of the skill, the first virtual object is controlled to release the skill along the recommended release direction at the position already aimed by the position aimer.
[0008] On the other hand, a control device for a virtual object is provided, characterized in that the device comprises:
[0009] The display module is configured to display a position aiming device in response to a pre-release operation of having a skill on a first virtual object, the position aiming device being used to aim at the release position of the skill in the virtual scene;
[0010] The display module is further configured to display a first direction indicator in response to a confirmation operation of the position aiming device being aimed at a position, the first direction indicator indicating the recommended release direction of the skill;
[0011] The display module is also configured to, in response to a confirmation release operation of the skill, control the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer.
[0012] In one possible implementation, the virtual scene displays skill options for the skill; the display module is configured to display the position aiming device in response to a first press operation on the skill option, the position aimed at by the position aiming device changing with the press position of the first press operation;
[0013] The display module is used to display the first direction indicator in response to the pressing duration of the first pressing operation reaching a first threshold.
[0014] In another possible implementation, the display module is configured to control the first virtual object to release the skill along the recommended release direction at a first position in response to the end of the first press operation, wherein the first position is the position aimed at by the position aiming device when the press duration reaches the first threshold.
[0015] In another possible implementation, the display module is configured to, in response to the end of the first press operation, control the first virtual object to release the skill at the first position along the recommended release direction, provided that the distance between the first press position and the second press position is not greater than a second threshold. The first press position is the press position when the press duration reaches the first threshold, and the second press position is the press position when the first press operation ends.
[0016] In another possible implementation, the virtual scene displays skill options for the skill; the display module is configured to display the position aiming device in response to a first press operation on the skill option, the position aiming device changing as the press position of the first press operation changes;
[0017] The display module is used to display the first direction indicator in response to the end of the first pressing operation.
[0018] In another possible implementation, the display module is configured to control the first virtual object to release the skill at a second position along the recommended release direction in response to a trigger operation of the skill option, the second position being the position aimed at by the position aiming device at the end of the first press operation.
[0019] In another possible implementation, the display module is further configured to display that the skill option has entered an active state in response to the end of the first press operation;
[0020] The display module is configured to, in response to a triggering operation on the skill option, control the first virtual object to release the skill at the second position along the recommended release direction when the skill option is in the active state.
[0021] In another possible implementation, the display module is further configured to display a position adjustment area in response to the pre-release operation, the position adjustment area being used to adjust the position aimed at by the position aiming device; and to adjust the position aimed at by the position aiming device in response to a trigger operation on the position adjustment area.
[0022] In another possible implementation, the display module is configured to display, in response to a second pressing operation on the position adjustment area, that the position aimed at by the position aiming device changes as the pressing position of the second pressing operation changes;
[0023] The display module is used to display the first direction indicator in response to the end of the second pressing operation;
[0024] The display module is used to control the first virtual object to release the skill at a third position along the recommended release direction in response to the confirmed release operation, wherein the third position is the position aimed at by the position aiming device when the second press operation ends.
[0025] In another possible implementation, the display module is configured to display, in response to the pre-release operation, the location where the position aiming device is aimed at the recommended release target.
[0026] In another possible implementation, the display module is configured to display the position aiming device in a first display state in response to the pre-release operation;
[0027] The display module is further configured to, in response to a confirmation operation that the position aiming device has been aimed at a position, display that the position aiming device has switched from the first display state to the second display state.
[0028] In another possible implementation, the recommended release direction is pointed from the position already aimed by the position aiming device to the recommended release target. The recommended release target is any one of the following: the virtual object closest to the first virtual object, the virtual object with the lowest health within the release range of the skill, the virtual object attacking the first virtual object, or the virtual object with the largest corresponding influence value among multiple second virtual objects. The influence value indicates the change in the attribute value of the second virtual object when the skill is applied to the second virtual object.
[0029] In another possible implementation, the display module is further configured to, in response to a direction adjustment operation, update the first direction identifier to a second direction identifier, the second direction identifier indicating the adjusted release direction; and, in response to a confirmation release operation of the skill, control the first virtual object to release the skill along the adjusted release direction at the position already aimed by the position aimer.
[0030] In another possible implementation, the virtual scene displays skill options for the skill; the display module is configured to display the position aiming device in response to a first press operation on the skill option, the position aiming device changing as the press position of the first press operation changes;
[0031] The display module is configured to display the first direction indicator in response to the pressing duration of the first pressing operation reaching a first threshold.
[0032] The display module is configured to update the first direction identifier to the second direction identifier in response to the pressing position moving from the first pressing position to the third pressing position. The direction indicated by the second direction identifier is the same as the direction from the first pressing position to the second pressing position. The first pressing position is the pressing position when the pressing duration reaches the first threshold. The third pressing position is any position different from the first pressing position.
[0033] In another possible implementation, the display module is configured to update the first direction identifier to the second direction identifier in response to the pressing position moving from the first pressing position to the third pressing position, provided that the distance between the third pressing position and the first pressing position is greater than a second threshold.
[0034] In another possible implementation, the display module is further configured to display a direction adjustment area in response to a confirmation operation of the position aiming device being aimed at a position, the direction adjustment area being used to adjust the release direction of the skill;
[0035] The display module is configured to update the first direction identifier to the second direction identifier in response to a trigger operation on the direction adjustment area.
[0036] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to perform the operations performed by the virtual object control method as described above.
[0037] On the other hand, a computer-readable storage medium is provided that stores at least one computer program, which is loaded and executed by a processor to implement the operations performed by the virtual object control method as described above.
[0038] In another aspect, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the operations performed by the virtual object control method as described above.
[0039] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, the release direction of the skill can be recommended. When the skill confirmation release operation is triggered, the first virtual object is controlled to release the skill along the recommended release direction at the position aiming device. This eliminates the need to select a release target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction of the skill. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves the efficiency of human-computer interaction. Furthermore, this skill release method can increase the probability of the skill hitting other virtual objects, ensuring the release effect of the skill, thereby improving the user experience. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a structural block diagram of a computer system provided in an embodiment of this application;
[0042] Figure 2 This is a flowchart of a virtual object control method provided in an embodiment of this application;
[0043] Figure 3 This is a flowchart of another virtual object control method provided in the embodiments of this application;
[0044] Figure 4 This is a flowchart of another virtual object control method provided in the embodiments of this application;
[0045] Figure 5 This is a flowchart of another virtual object control method provided in the embodiments of this application;
[0046] Figure 6This is a flowchart of another virtual object control method provided in the embodiments of this application;
[0047] Figure 7 This is a flowchart of another virtual object control method provided in the embodiments of this application;
[0048] Figure 8 This is a flowchart of another virtual object control method provided in the embodiments of this application;
[0049] Figure 9 This is a flowchart of another virtual object control method provided in the embodiments of this application;
[0050] Figure 10 This is a flowchart of another virtual object control method provided in the embodiments of this application;
[0051] Figure 11 This is a schematic diagram of a virtual scene provided in an embodiment of this application;
[0052] Figure 12 This is a schematic diagram of another virtual scene provided in an embodiment of this application;
[0053] Figure 13 This is a schematic diagram of another virtual scene provided in an embodiment of this application;
[0054] Figure 14 This is a schematic diagram of the skill options provided in the embodiments of this application;
[0055] Figure 15 This is a schematic diagram of another virtual scene provided in an embodiment of this application;
[0056] Figure 16 This is a schematic diagram of another virtual scene provided in an embodiment of this application;
[0057] Figure 17 This is a schematic diagram of another virtual scene provided in an embodiment of this application;
[0058] Figure 18 This is a schematic diagram of another virtual scene provided in an embodiment of this application;
[0059] Figure 19 This application also provides a flowchart of a method for controlling a virtual object;
[0060] Figure 20 This is a schematic diagram of the structure of a virtual object control device provided in an embodiment of this application;
[0061] Figure 21 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application;
[0062] Figure 22 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0063] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0064] The terms “first,” “second,” “third,” etc., used in this application may be used to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are used only to distinguish one concept from another. For example, without departing from the scope of this application, a first position may be referred to as a second position, and similarly, a second position may be referred to as a first position.
[0065] As used in this application, the terms "at least one," "multiple," "each," and "any" have the following meanings: at least one includes one, two, or more; multiple includes two or more; each refers to each of the corresponding multiple; and any refers to any one of the multiple. For example, multiple virtual objects include three virtual objects, where each refers to each of the three virtual objects, and any refers to any one of the three virtual objects, which could be the first virtual object, the second virtual object, or the third virtual object.
[0066] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the information involved in this application, the data used to render virtual scenes, and events were all obtained with full authorization.
[0067] First, a brief introduction to the terms used in the embodiments of this application:
[0068] World game: refers to a game that allows users to explore within a game world; the map area of a world game is often quite large. In this application, the map in the world game is the world map.
[0069] RPG (Role-Playing Game): A game where users assume the role of a specific character, complete quests, interact with other characters, or explore a game world. In RPGs, users control virtual characters, moving within a virtual environment. Furthermore, users can choose different character types to role-play, explore new locations, solve puzzles, form new groups, or participate in the story. By completing game quests, exploring virtual environments, and developing the skills and attributes of their virtual characters, users advance the game's story. These games typically feature complex plots and world-building, and users can freely choose the behavior and development path of their virtual characters.
[0070] MOBA (Multiplayer Online Battle Arena) games are a type of game where multiple player-controlled virtual objects compete in a virtual arena, aiming to capture or destroy enemy arenas. For example, a MOBA game might divide players into at least two opposing factions, with each team occupying their own map area and competing against each other with a specific victory condition. This victory condition may include, but is not limited to, capturing or destroying enemy arenas, eliminating enemy virtual objects, surviving within a specified time and scenario, acquiring a resource, or achieving a higher score than the opponent within a specified time. For instance, a MOBA game could divide players into two opposing factions, distributing their virtual objects across a virtual arena to compete, with the goal of destroying or capturing all of the enemy's arenas.
[0071] MMORPGs (Multiplayer Online Role-Playing Games) support a large number of players simultaneously playing in a virtual game world. Players assume specific roles and improve their characters' abilities, levels, and equipment by completing quests, engaging in combat, and exploring. They can also explore virtual environments together through multiplayer online collaboration. In MMORPGs, multiple players can participate in the same game within the same virtual environment through matchmaking. During the game, different players can control virtual objects to attack each other and compete for game resources, or they can cooperate to win game resources. In this embodiment, each virtual object corresponds to its own virtual environment, and different virtual environments are two parallel virtual worlds, with game progress in different virtual environments being independent of each other. For example, in a level-based RPG, after completing a game, a player can choose to restart the game, create a new virtual object, and review the game's story in a new virtual environment.
[0072] Taking shooting games as an example, these games can display virtual scenes from either a first-person or third-person perspective. Shooting games displaying virtual scenes from a first-person perspective are also called FPS (First-Person Shooter). The first-person perspective is the viewpoint observed through a virtual camera positioned on the chest of the virtual object; or, the first-person perspective is the viewpoint observed through a virtual camera positioned on the head of the virtual object; or, the first-person perspective is the viewpoint observed through a virtual camera positioned on the neck of the virtual object. In the virtual environment viewpoint corresponding to the first-person perspective, the head or torso of the virtual object's 3D model cannot be seen, but the arms or feet of the virtual object may be visible. The third-person perspective is the viewpoint observed through a virtual camera positioned behind or behind the virtual object's head. Optionally, the third-person perspective is the viewpoint observed through a virtual camera positioned behind or behind the virtual object. In the virtual environment displayed from a third-person perspective, the head or torso of a virtual object's 3D model can be seen. When a shooting game is running on the terminal, a virtual scene is displayed, in which virtual objects can control virtual items to perform remote attacks.
[0073] Virtual scene: A virtual scene is a scene displayed (or provided) by an application when it runs on a terminal. This virtual scene can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment. The virtual world can be any of a two-dimensional virtual world, a 2.5-dimensional virtual world, or a three-dimensional virtual world; this application does not limit it. The following embodiments use a three-dimensional virtual world as an example.
[0074] Virtual objects refer to the movable objects that users interact with in a virtual world. Virtual objects can be virtual characters, virtual animals, anime characters, etc., such as people and animals displayed in a 3D virtual world. Optionally, virtual objects are 3D models created based on animation skeletal technology. Each virtual object has its own shape and volume in the 3D virtual world, occupying a portion of the space within that world.
[0075] Figure 1 This is a structural block diagram of a computer system provided in an embodiment of this application. See also... Figure 1 The computer system includes a first terminal 101, a server 102, and a second terminal 103.
[0076] The first terminal 101 has an application 111 installed and running that supports virtual scenes. Optionally, the application 111 can be any one of a 3D map program, a virtual reality (VR) application, an augmented reality (AR) application, an open-world game program, an RPG (role-playing game) program, a turn-based game program, or a turn-based RPG program. The first terminal 101 is a terminal used by a first user, who uses the first terminal 101 to control a first virtual object located in the virtual scene to perform activities, including but not limited to: adjusting body posture, walking, running, jumping, riding, driving, aiming, picking up, fighting, using throwable items, and attacking other virtual objects. For example, the first virtual object is a virtual character, such as a simulated character or an anime character. For example, the first user controls the first virtual object to perform activities through UI controls on the virtual scene screen.
[0077] The second terminal 103 has an application 131 installed and running that supports virtual scenes. The second terminal 103 is used by a second user who uses it to control a second virtual object located in the virtual scene. Optionally, the first virtual object and the second virtual object are in the same virtual scene. The first virtual object and the second virtual object belong to different factions, or they belong to the same faction.
[0078] The first terminal 101 is connected to the server 102 via a wireless or wired network, and the second terminal 103 is also connected to the server 102 via a wireless or wired network. The server 102 provides background services for applications supporting 3D virtual scenes. The server 102 includes at least one of a single server, multiple servers, or a virtualization center. For example, the server 102 includes a processor and a memory. The memory further includes a receiving module, a control module, and a sending module. The receiving module receives requests sent by clients, such as skill release requests or information acquisition requests. The control module controls the rendering of the virtual scene. The sending module sends responses to clients, such as sending information to clients. Optionally, the server 102 undertakes the main computational work, and the first terminal 101 and the second terminal 103 undertake secondary computational work; or, the server 102 undertakes secondary computational work, and the first terminal 101 and the second terminal 103 undertake the main computational work; or, the server 102, the first terminal 101, and the second terminal 103 collaborate using a distributed computing architecture.
[0079] Optionally, the applications installed on the first terminal 101 and the second terminal 103 are the same, or the applications installed on the three terminals are the same type of application on different operating system platforms. The first terminal 101 can refer to one of multiple terminals, and the second terminal 103 can refer to one of multiple terminals; this embodiment only uses the first terminal 101 and the second terminal 103 as examples. The device types of the first terminal 101 and the second terminal 103 may be the same or different, and these device types include at least one of the following: smartphones, smartwatches, smart TVs, tablets, wearable devices, in-vehicle terminals, MP3 players, MP4 players, laptops, and desktop computers. The following embodiments use smartphones as an example.
[0080] Furthermore, during the process of the first terminal 101 controlling the first virtual object to release skills through the application 111, the screen displayed by the first terminal 101 through the application 111 is as follows: Figure 1As shown in (1)-(2) in the diagram. The first terminal 101 displays screen (1) via application 111 in response to a pre-release operation of possessing a skill on the first virtual object. In screen (1), the first virtual object 112 and a position aiming device 113 are displayed. The first terminal 101 displays screen (2) via application 111 in response to a confirmation operation of the position aiming device's aimed position. In screen (2), a first direction marker 114 is displayed, with the first direction marker 114 originating from the position aimed at by the position aiming device 113. The first terminal 101 displays screen (3) via application 111 in response to a confirmation release operation of the skill. In screen (3), the skill effect 115 of the first virtual object 112 releasing the skill along the recommended release direction at the position aimed at by the position aiming device 113 is displayed.
[0081] Those skilled in the art will understand that the number of terminals described above can be more or less. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or even more. This application does not limit the number of terminals or the type of device.
[0082] Figure 2 This is a flowchart of a virtual object control method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 2 As shown, the method includes:
[0083] 201. In response to the pre-release operation of the skill possessed by the terminal on the first virtual object, the terminal displays a position aiming device, which is used to aim at the release position of the skill in the virtual scene.
[0084] In this embodiment, a first virtual object in the virtual scene possesses skills, which the user can control via a terminal to release. When a pre-release operation for a skill is triggered, a position aiming device is displayed to aim at the skill's release location in the virtual scene. After confirming the position is aimed at, a first direction indicator representing the recommended release direction of the skill is displayed, allowing the user to control the first virtual object to release the skill along the recommended release direction at the confirmed release location. This enriches the ways to release skills and reduces the operational difficulty of releasing skills.
[0085] The term "skill" can be any type of skill, such as an attack skill, a defense skill, or a support skill. For example, a skill might reduce the target's health, increase the target's defense, or increase the target's health. The "pre-release operation" indicates that the skill is about to be released by the first virtual object. The pre-release operation can be any type of operation, such as a click or a press. The position aiming device can be represented in any form, such as a circular or square circle.
[0086] In this embodiment of the application, when a position aiming device is displayed in a virtual scene, the position aiming device will aim at any position in the virtual scene. The position aimed at by the position aiming device can be used as the starting position for the subsequent first virtual to release the skill. That is, the subsequent first virtual object releases the skill in a certain direction at the position aimed at by the position aiming device.
[0087] 202. In response to the confirmation operation of the position aiming device being aimed at the position, the terminal displays a first direction indicator, which indicates the recommended release direction of the skill.
[0088] In this embodiment of the application, when the position aiming device is displayed, the position aiming device can aim at any position in the virtual scene. The confirmation operation of the position aiming device being aimed at the position is equivalent to confirming the position aiming device is aimed at as the skill release position. Then, the recommended release direction of the skill is recommended by means of a first direction identifier, so that the user does not need to manually select the release direction of the skill.
[0089] The confirmation operation can be any type of operation, such as a click or a press. For example, the completion of a press operation is equivalent to triggering a confirmation operation. The recommended release direction is used to indicate the direction in which the first virtual object can release a skill, or the direction in which releasing a skill causes the skill to affect other virtual objects. The first direction identifier can be represented in any form, such as an arrow.
[0090] In this embodiment of the application, when the position that the position aiming device has been determined as the release position of the skill, the position that the position aiming device has been determined is equivalent to the starting position of the skill release when the first virtual object releases the skill in the virtual scene. Then, when the first virtual object releases the skill in a certain direction at that position, the position that the position aiming device has been determined is the starting position in the virtual scene where the skill effect will be generated, and other positions in that direction at the starting position will also generate the skill effect.
[0091] 203. In response to the confirmation and release operation of the skill, the terminal controls the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer.
[0092] In this embodiment, the confirmation release operation of the skill is equivalent to confirming the release of the skill along the recommended release direction at the position already aimed by the position aimer. This controls the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer, eliminating the need to select a release target from the virtual objects displayed in the virtual scene before releasing the skill, thus improving the convenience of releasing the skill.
[0093] For example, the position aimer has been aimed at position 1, the recommended release direction is to the right, the skill is used to release flames at the specified release position, in response to the confirmation release operation of the skill, the first virtual object is controlled to stay in the current position, and the skill is released at position 1 along the recommended release direction, so that flames will be displayed at position 1 and other positions to the right of position 1 in the virtual scene.
[0094] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, the release direction of the skill can be recommended. When the skill confirmation release operation is triggered, the first virtual object is controlled to release the skill along the recommended release direction at the position aiming device. This eliminates the need to select a release target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction of the skill. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves the efficiency of human-computer interaction. Furthermore, this skill release method can increase the probability of the skill hitting other virtual objects, ensuring the release effect of the skill, thereby improving the user experience.
[0095] exist Figure 2 Based on the illustrated embodiments, this application embodiment releases skills by pressing the same skill option, and the specific process is detailed in the following embodiments.
[0096] Figure 3 This is a flowchart of a virtual object control method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 3 As shown, the method includes:
[0097] 301. The terminal displays the skill options of the first virtual object in the virtual scene.
[0098] In this embodiment, a first virtual object is displayed in a virtual scene, and the virtual scene displays skill options corresponding to the skills possessed by the first virtual object, which can be used to control the virtual object to release the skill.
[0099] The skill options can be of any type, such as buttons or virtual joysticks.
[0100] In one possible implementation, the skill options in the virtual scene are in a ready state.
[0101] In this embodiment, the ready state means that the skill is ready and not in a cooldown state; that is, the skill option can be triggered to cause the virtual object to release the skill. When the skill option is in the ready state, the user can trigger the skill option through the terminal to control the virtual object to release the skill.
[0102] The ready state can be represented in any form. For example, in a virtual scene, highlighting the skill option indicates that the skill option is in a ready state.
[0103] In one possible implementation, the terminal displays the virtual scene from the first-person perspective of the first virtual object, and displays the skill options corresponding to the skill in the virtual scene; or, the terminal displays the virtual scene from the third-person perspective, and displays the first virtual object and the skill options corresponding to the skill in the virtual scene.
[0104] In this embodiment, when the virtual scene is displayed from the first-person perspective of the first virtual object, the first virtual object may not be displayed in the virtual scene, or only a portion of the first virtual object may be displayed. When the virtual scene is displayed from the third-person perspective of the first virtual object, the first virtual object can be displayed in the virtual scene.
[0105] 302. In response to the first press operation of the skill option, the terminal displays a position aiming device. The position aiming device changes with the press position of the first press operation. The position aiming device is used to aim at the release position of the skill in the virtual scene.
[0106] In this embodiment, the first press operation on the skill option is equivalent to a pre-release operation of the skill. By pressing the skill option, the user can trigger the pre-release operation of the skill. The terminal then displays a position aiming device in the virtual scene and begins to move while the user keeps pressing down. That is, the pressing position of the operation begins to move, and the display position of the position aiming device in the virtual scene moves. In other words, the position aimed by the position aiming device moves. In this way, by pressing and moving the skill option, the user can freely choose the skill release position, which improves the convenience of selecting the release position.
[0107] For example, if the terminal screen displays skill options for a first virtual object, and the user presses the skill option displayed on the terminal screen with their finger, a position aiming device will appear on the terminal screen. If the user's finger starts to move on the terminal screen while keeping the skill option pressed, the position aiming device will move in the virtual scene, and the movement of the position aiming device in the virtual scene will be synchronized with the movement of the finger's pressing position on the terminal screen.
[0108] In one possible implementation, if a first virtual object is displayed in the virtual scene, then step 301 includes: in response to a first press operation on a skill option, displaying a position aiming device at a preset location in the virtual scene.
[0109] The preset position is a position that has a preset relative positional relationship with the first virtual object. This preset relative positional relationship can be any relative positional relationship. For example, the preset position is 2 meters directly in front of the first virtual object, or 1 meter to the right front of the first virtual object, etc.
[0110] In one possible implementation, step 301 includes: in response to a first press operation on the skill option, displaying a position aiming device and displaying an active area centered on the display position of the skill option.
[0111] The active area represents the region where the press position of the first press operation can move; that is, it can move within the active area while holding the press skill option. The active area can be represented in any form, such as a circular area or a square area.
[0112] In this embodiment, when a skill option is pressed, the terminal not only displays a position aiming device in the virtual scene, but also displays an active area centered on the display position of the skill option. This allows the user to know the range of movement of the pressing operation, enabling the user to move within the active area while keeping the skill option pressed, thereby adjusting the position of the position aiming device in the virtual scene. This enriches the displayed content, facilitates user operation, and improves the user experience.
[0113] Optionally, during the movement of the pressing position of the first pressing operation within the active area, the distance between the pressing position and the display position of the skill option is mapped to the virtual scene to obtain the mapped distance. In the virtual scene, the display position aiming device is aimed at the fourth position. The distance between the fourth position and the default display position is the mapped distance and is located in the first direction. The first direction is the direction from the display position of the skill option to the pressing position.
[0114] The default display position is the initial position where the aiming reticle is displayed when the skill option is pressed. For example, the default display position is the same as the preset position mentioned above.
[0115] In this embodiment of the application, considering that the active area is small, the pressing position of the first pressing operation is mapped to the virtual scene to facilitate the adjustment of the position aiming device in the virtual scene, and the adjustable range of the position aiming device in the virtual scene is larger.
[0116] Optionally, there is a mapping relationship between the activation area and the skill release range in the virtual scene, and each position within the skill release range has a mapped position in the activation area.
[0117] The skill release range is a circular area centered on the location of the first virtual object. It represents the range of possible release locations for the first virtual object when releasing a skill. The position aiming device can move within the skill release range to aim at specific locations within that range.
[0118] In this embodiment of the application, during the movement of the pressing position of the first pressing operation within the activation area, the pressing position can be mapped to the skill release range in the manner described above, so as to control the position aiming device to move within the skill release range.
[0119] Optionally, in response to pressing a skill option, the skill release range is displayed in the virtual scene.
[0120] In this embodiment of the application, when the skill option is pressed, the skill release range centered on the location of the first virtual object will be displayed in the virtual scene for the user to view, which facilitates the user to select the skill release location.
[0121] 303. When the duration of the first press operation reaches a first threshold, the terminal displays a first direction indicator, which indicates the recommended release direction of the skill.
[0122] In this embodiment of the application, when the duration of the first press operation reaches a first threshold, it is equivalent to a confirmation operation of the position currently being aimed at by the position aiming device. That is, if the currently aimed position is confirmed as the release position of the skill, a first direction indicator will be displayed to indicate the recommended release direction of the skill.
[0123] The first threshold can be any value, such as 2 seconds or 3 seconds. The press duration of the first press operation is used to indicate the duration for which the first press operation is triggered.
[0124] In this embodiment, by pressing the skill option, a position aiming device is displayed in the virtual scene. While holding down the button, movement begins. During the movement of the pressing position, the position aimed at by the aiming device changes with the pressing position of the first pressing operation. If the pressing duration of the first pressing operation reaches a first threshold, the currently aimed position is confirmed as the skill release position, and a first direction indicator is displayed to indicate the recommended release direction of the skill. In this way, the skill release position can be freely selected by pressing the button, and the currently aimed position can be confirmed as the skill release position without triggering too many operations, ensuring the convenience of determining the release position and thus improving the efficiency of human-computer interaction.
[0125] In one possible implementation, the first direction marker is based on a first position, which is the position that the position aiming device is targeting when the pressing duration reaches a first threshold.
[0126] In this embodiment of the application, the first directional marker displayed in the virtual scene points from the first position to other positions, so as to present the release range of the skill released by the subsequent first virtual object, ensure the display effect of the first directional marker, and thus improve the user experience.
[0127] In one possible implementation, step 303 includes: displaying a first direction indicator in response to the first pressing operation pressing the same position for a duration reaching a first threshold.
[0128] In this embodiment, the pressing position of the first pressing operation is movable, and the position aimed at by the position aiming device changes with the pressing position of the first pressing operation. When the duration of holding the first pressing operation at any position reaches a first threshold, it is equivalent to a confirmation operation of the position currently aimed at by the position aiming device, and a first direction indicator is displayed. In this way, during the process of adjusting the position aimed at by the position aiming device, the current aiming position is confirmed by keeping the first pressing operation stationary, which facilitates user operation and improves the efficiency of human-computer interaction.
[0129] The pressing duration is the duration during which the first pressing operation holds the press at any position, that is, the duration during which the first pressing operation holds the press at any position.
[0130] In one possible implementation, the recommended release direction is pointed from the position already aimed by the position aimer to the recommended release target. The recommended release target is any one of the following: the virtual object closest to the first virtual object, the virtual object with the lowest health within the skill's release range, the virtual object attacking the first virtual object, or the virtual object with the largest corresponding influence value among multiple second virtual objects. The influence value indicates the change in the attribute value of the second virtual object when the skill is applied to it.
[0131] Among them, the recommended release target is the virtual object recommended for releasing the skill to the first virtual object. The recommended release target belongs to a different faction from the first virtual object, or belongs to the same faction as the first virtual object.
[0132] The influence value corresponds to a certain attribute value, which is equivalent to the change in that attribute value. The attribute value corresponding to a skill can be of any type; for example, the attribute value corresponding to a skill can be health points, defense points, etc. For example, if a skill is used to reduce the health points of a virtual object, the influence value caused when the skill is applied to a second virtual object is the amount by which the second virtual object's health points are reduced when the skill is applied to the second virtual object.
[0133] In this embodiment, the recommended release direction is determined by the position aiming device targeting the recommended release target. This ensures that when skills are subsequently released along the recommended release direction, the skills will act on the recommended release target, avoiding wasted skill releases and guaranteeing that subsequent skill releases will have an effect, thereby improving the user experience.
[0134] It should be noted that the embodiments of this application are illustrated by taking the confirmation that the position aiming device has been aimed at a position through the first pressing operation as an example. In another embodiment, it is not necessary to perform the above steps 302-303. Instead, other methods are adopted, in response to the pre-release operation of having a skill on the first virtual object, the position aiming device is displayed; in response to the confirmation operation of the position aiming device being aimed at a position, the first direction indicator is displayed.
[0135] 304. Upon the end of the first press operation, the terminal controls the first virtual object to release the skill along the recommended release direction at the first position. The first position is the position aimed at by the position aiming device when the press duration reaches the first threshold.
[0136] In this embodiment, the end of the first press operation is equivalent to triggering a confirmation release operation for the skill. By pressing the skill option, the position aiming device can be controlled to select the skill release position. When the first direction indicator for the recommended release direction is displayed, the first press operation ends, thereby controlling the first virtual object to release the skill at the selected release position along the recommended release direction. In this way, the skill can be released by the same press operation on the skill option, without requiring the user to perform too many operations, reducing the difficulty of operation and improving the efficiency of human-computer interaction.
[0137] The first position refers to any position in the virtual scene. The end of the first press operation means that no more presses are made.
[0138] For example, a user presses a skill option displayed on the terminal screen with their finger and moves their finger across the screen while maintaining the press to control the position aiming device's movement within a virtual scene. If the duration of the first press operation reaches a first threshold, a first direction indicator is displayed. At this point, if the user lifts their finger, the terminal controls a first virtual object to release the skill at the first position along the recommended release direction. Here, pressing the skill option displayed on the terminal screen is equivalent to a pre-release operation of possessing the skill for the first virtual object; the first press operation reaching the first threshold is equivalent to a confirmation operation of the position aiming device's target position; when the user lifts their finger, the terminal detects that the finger is no longer pressing the screen, which is equivalent to detecting the end of the press operation and also a confirmation release operation of the skill.
[0139] In one possible implementation, step 304 includes: in response to the end of the first press operation, if the distance between the first press position and the second press position is not greater than a second threshold, controlling the first virtual object to release the skill along the recommended release direction at the first position, wherein the first press position is the press position when the press duration reaches the first threshold, and the second press position is the press position when the first press operation ends.
[0140] In this embodiment, after confirming the position aimed at by the position aiming device, the first pressing operation is still maintained. Considering that the pressing position may change before the first pressing operation ends, if the distance between the pressing position at the end of the first pressing operation and the pressing position when the pressing duration of the first pressing operation reaches the first threshold is not greater than the second threshold, it means that the user expects the first virtual object to release the skill along the recommended release direction. Therefore, the first virtual object is controlled to release the skill along the recommended release direction at the first position. In this way, considering that there may be slight movement during the user's pressing operation, as long as the movement distance of the pressing position is not large, it can be considered that the recommended release direction is selected to release the skill, compared with the pressing position after the position aimed at by the position aiming device is confirmed, the movement distance of the pressing position is not large. This avoids the situation where the movement range of the pressing position is too strict, which leads to difficulty in releasing the skill, reduces the difficulty of operation, ensures the success rate of skill release, and improves the efficiency of human-computer interaction.
[0141] The range centered on the first press position and with the second threshold as the radius is called the first activity range. The first activity range is equivalent to the range of motion of the press position after the position is confirmed by the position aiming device. When the press position is within the first activity range at the end of the first press operation, it means that the recommended release direction is selected to release the skill.
[0142] Optionally, the process of controlling the first virtual object to release a skill includes: in response to the pressing duration of the first pressing operation reaching a first threshold, displaying a first direction indicator and a direction confirmation area centered on the first pressing position; in response to the end of the pressing operation, if the pressing position of the first pressing operation is located in the direction confirmation area, controlling the first virtual object to release the skill at the first position along the recommended release direction.
[0143] The direction confirmation area is used to determine the recommended release direction as the skill's release direction. The distance between any position within the direction confirmation area and the first press position is no greater than a second threshold. The direction confirmation area is equivalent to the aforementioned first activity range. The direction confirmation area can be represented in any form; for example, it can be a circular area.
[0144] It should be noted that the embodiments of this application are described using the example of the first pressing operation ending as equivalent to the confirmation and release operation of the skill. In another embodiment, it is not necessary to perform the above step 304. Instead, other methods are adopted to control the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer in response to the confirmation and release operation of the skill.
[0145] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, the release direction of the skill can be recommended. When the skill confirmation release operation is triggered, the first virtual object is controlled to release the skill along the recommended release direction at the position aiming device. This eliminates the need to select a release target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction of the skill. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves the efficiency of human-computer interaction. Furthermore, this skill release method can increase the probability of the skill hitting other virtual objects, ensuring the release effect of the skill, thereby improving the user experience.
[0146] exist Figure 2 Based on the illustrated embodiments, this application embodiment releases skills through pressing and triggering operations on skill options, and the specific process is detailed in the following embodiments.
[0147] Figure 4 This is a flowchart of a virtual object control method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 4 As shown, the method includes:
[0148] 401. The terminal displays the skill options of the first virtual object in the virtual scene.
[0149] 402. In response to the first press operation of the skill option, the terminal displays a position aiming device. The position aiming device changes with the press position of the first press operation. The position aiming device is used to aim at the release position of the skill in the virtual scene.
[0150] It should be noted that steps 401-402 are the same as steps 301-302 above, and will not be repeated here.
[0151] 403. Upon completion of the first press operation, the terminal displays the first direction indicator, which indicates the recommended release direction of the skill.
[0152] In this embodiment, the end of the first press operation is equivalent to triggering a confirmation operation of the position that the position aiming device has been aimed at. By pressing the skill option, the position that the position aiming device is aiming at in the virtual scene can be adjusted. After the first press operation ends, the position that the position aiming device has been aimed at can be confirmed. In this way, by pressing the skill option, the release position of the skill can be selected and a first directional indicator used to indicate the recommended release direction is displayed. This reduces the need for the user to perform too many operations, lowers the difficulty of operation, and improves the efficiency of human-computer interaction.
[0153] It should be noted that the process of displaying the first direction indicator is the same as step 303 above, and will not be repeated here.
[0154] It should be noted that the embodiments of this application are illustrated by taking the selection of the skill release position through the first press operation as an example. In another embodiment, it is not necessary to perform the above steps 402-403. Instead, other methods are adopted. In response to the pre-release operation of having a skill on the first virtual object, a position aiming device is displayed; in response to the confirmation operation of the position aiming device being aimed at the position, a first direction indicator is displayed.
[0155] 404. In response to the triggering operation of the skill option, the terminal controls the first virtual object to release the skill in the recommended release direction at the second position, which is the position aimed at by the position aiming device when the first press operation ends.
[0156] In this embodiment, if the position aiming device has already been confirmed to be aimed at the second position and the first direction indicator is displayed after pressing the skill option, triggering the skill option again is equivalent to triggering a confirmation release operation for the skill. The first virtual object is then controlled to release the skill at the second position along the recommended release direction. This separates the process of selecting the release position and direction from the process of confirming the skill release. With the release position confirmed and the recommended release direction displayed, there is no need to continuously operate the skill option. This allows the user to choose any time to control the first virtual object to release the skill. Subsequent simple triggering operations are all that is needed to control the first virtual object to complete the skill release, satisfying various user needs, reducing operational difficulty, improving human-computer interaction efficiency, and ultimately enhancing the user experience.
[0157] The trigger operation for skill options can be any type of operation, such as clicking, swiping, or pressing.
[0158] In one possible implementation, the process of controlling the first virtual object to release a skill includes: displaying a skill option to enter an active state in response to the end of a first press operation; and, while the skill option is active, controlling the first virtual object to release the skill in a recommended release direction at a second position in response to a trigger operation on the skill option.
[0159] In this embodiment, the end of the first press operation is equivalent to triggering a confirmation operation of the position that the position aiming device has been aimed at. Once the position that the position aiming device has been aimed at is confirmed, the skill option is displayed as active. When the skill option is active, triggering the skill option will control the first virtual object to release the skill at the confirmed release position along the recommended release method. In this way, the activation of the skill option can serve as a reminder, so that the user can know that the skill option can be triggered to release the skill when the skill option is active. This reminds the user to release the skill according to the confirmed position and recommended release direction by triggering the skill option, thereby improving the user experience.
[0160] The activation state can be represented in any form. For example, when a skill option enters the activation state, the activated option can be highlighted, enlarged, or flashing.
[0161] Optionally, the status of a skill option can be either in a cooldown state, an inactive state, or an active state.
[0162] In this context, "cooldown state" means the skill option cannot be triggered at this time; that is, when the skill option is in cooldown state, the virtual object cannot release the skill. "Inactive state" refers to the state after the cooldown period ends. When the skill option is inactive, it can be triggered to select the skill's release location and display the release direction, but the release location and direction are not yet confirmed. "Activated state" means the skill's release location and direction have been confirmed.
[0163] For example, when the skill option is inactive, steps 402-403 above can be executed, and in response to the end of the first press operation, the skill option changes from inactive to active; step 404 above can be executed, and then the skill option changes from active to cooldown, and after the cooldown ends, it changes back to inactive.
[0164] It should be noted that in this embodiment, the first virtual object releases a skill by triggering the skill option when the position aiming device has been confirmed to be aimed at the second position and the first direction indicator is displayed. In another embodiment, it is not necessary to perform the above step 404. Instead, other methods are adopted to control the first virtual object to release the skill along the recommended release direction at the position that the position aiming device has been aimed at in response to the confirmation release operation of the skill.
[0165] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, the release direction of the skill can be recommended. When the skill confirmation release operation is triggered, the first virtual object is controlled to release the skill along the recommended release direction at the position aiming device. This eliminates the need to select a release target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction of the skill. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves the efficiency of human-computer interaction. Furthermore, this skill release method can increase the probability of the skill hitting other virtual objects, ensuring the release effect of the skill, thereby improving the user experience.
[0166] exist Figure 2 Based on the illustrated embodiment, this application embodiment adjusts the position aimed at by the position aiming device by displaying a position adjustment area. For details of the process, please refer to the following embodiment.
[0167] Figure 5 This is a flowchart of a virtual object control method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 5 As shown, the method includes:
[0168] 501. In response to the pre-release operation of the skill possessed by the first virtual object, the terminal displays a position aiming device and a position adjustment area. The position aiming device is used to aim at the release position of the skill in the virtual scene, and the position adjustment area is used to adjust the position aimed at by the position aiming device.
[0169] In this embodiment of the application, in response to the pre-release operation of having a skill on the first virtual object, not only is a position aiming device displayed, but also a position adjustment area is displayed so that the position aimed at by the position aiming device can be adjusted subsequently through the position adjustment area.
[0170] The position adjustment area can be represented in any form, such as a circular, square, or fan-shaped area. Alternatively, it can be represented as a highlighted border, with the area covered by the highlighted border being the position adjustment area; or it can be represented as a button, with the area covered by the button being the position adjustment area.
[0171] 502. The terminal responds to the trigger operation on the position adjustment area and adjusts the position aimed at by the position aiming device.
[0172] In this embodiment of the application, triggering the position adjustment area can adjust the position aimed at by the position aiming device so that the changes of the position aiming device can be displayed in the virtual scene.
[0173] In this embodiment, in response to the pre-release operation of having a skill on the first virtual object, not only is a position aiming device displayed, but also a position adjustment area is displayed so that the position aimed at by the position aiming device can be adjusted through the position adjustment area. This makes it easier to aim at the release position of the skill, ensures the accuracy of controlling the position aiming device to aim at the position, facilitates user operation, and improves the efficiency of human-computer interaction.
[0174] The triggering operations for the position adjustment area include click operations, press operations, etc.
[0175] For example, the position adjustment area has multiple direction options. By clicking on any direction option, the user can adjust the position that the position aiming device is pointing at and move it in the direction indicated by that direction option.
[0176] For example, the position adjustment area is a virtual joystick, which consists of a fixed virtual wheel and a movable joystick button. The user moves the joystick button on the virtual wheel to adjust the position aimed at by the position aiming device and move it in the direction indicated by the direction option.
[0177] It should be noted that the embodiments of this application are described using the example of displaying the position adjustment area. In another embodiment, it is not necessary to perform the above steps 501-502. Instead, other methods are adopted to display the position aimer in response to the pre-release operation of having skills on the first virtual object.
[0178] 503. In response to the confirmation operation of the position aiming device being aimed at the position, the terminal displays a first direction indicator, which indicates the recommended release direction of the skill.
[0179] 504. In response to the confirmation and release operation of the skill, the terminal controls the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer.
[0180] It should be noted that steps 503-504 are the same as steps 202-203 above, and will not be repeated here.
[0181] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, the release direction of the skill can be recommended. When the skill confirmation release operation is triggered, the first virtual object is controlled to release the skill along the recommended release direction at the position aiming device. This eliminates the need to select a release target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction of the skill. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves the efficiency of human-computer interaction. Furthermore, this skill release method can increase the probability of the skill hitting other virtual objects, ensuring the release effect of the skill, thereby improving the user experience.
[0182] In the above Figure 5 Based on the embodiments shown, in this embodiment, the position aimed at by the position aiming device is adjusted and confirmed by pressing the position adjustment area. For details of the process, please refer to the following embodiments.
[0183] Figure 6 This is a flowchart of a virtual object control method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 6 As shown, the method includes:
[0184] 601. In response to the pre-release operation of the skill possessed by the first virtual object, the terminal displays a position aiming device and a position adjustment area. The position aiming device is used to aim at the release position of the skill in the virtual scene, and the position adjustment area is used to adjust the position aimed at by the position aiming device.
[0185] It should be noted that step 601 is the same as step 501 above, and will not be repeated here.
[0186] 602. In response to a second press operation on the position adjustment area, the terminal displays that the position aimed at by the position aiming device changes as the pressing position of the second press operation changes.
[0187] In this embodiment, the second press operation on the position adjustment area is equivalent to triggering the position adjustment area. The user presses the position adjustment area and begins to move while maintaining the press; that is, the press position of the second press operation begins to move. During the movement of the press position of the second press operation, the position aimed at by the position aiming device in the virtual scene changes accordingly. This allows for free selection of the skill release position, improving the convenience of selecting the release position.
[0188] For example, if a position adjustment area is displayed on the terminal screen, and the user presses the position adjustment area displayed on the terminal screen with their finger, the user's finger will start moving on the terminal screen while keeping the skill option pressed. Then, the position aiming device will be displayed on the terminal screen moving in the virtual scene, and the movement of the position aiming device in the virtual scene will be synchronized with the movement of the finger's pressing position on the terminal screen.
[0189] 603. Upon completion of the second press operation, the terminal displays a first direction indicator, which indicates the recommended release direction of the skill.
[0190] In this embodiment of the application, the end of the second press operation is equivalent to a confirmation operation of the position that the position aiming device has aimed at. That is, the position that the position aiming device aimed at at the end of the second press operation is used as the release position of the subsequent skill. The end of the press operation can confirm the position that the position aiming device is aimed at, which is convenient for user operation.
[0191] 604. In response to the confirmation and release operation of the skill, the terminal controls the first virtual object to release the skill in the recommended release direction at the third position, which is the position aimed at by the position aiming device when the second press operation ends.
[0192] In this embodiment of the application, the position aiming device is aimed at the third position when the second pressing operation ends. When the third position has been confirmed and the first direction indicator is displayed, the confirmation and release operation of the skill can be triggered so as to control the first virtual object to release the skill in the recommended release direction at the third position.
[0193] In this embodiment, in response to a second press operation on the position adjustment area, the position aimed at by the display aiming device changes with the press position of the second press operation. The position aimed at by the aiming device is adjusted by pressing the position adjustment area, and the position is confirmed after the press operation ends. This facilitates user operation, eliminating the need for excessive user intervention to adjust the aiming position, reducing operational difficulty, and improving human-computer interaction efficiency. Furthermore, if the position aiming device has already been confirmed to be at a third position through pressing the position adjustment area and a first direction indicator is displayed, and a skill release confirmation operation is triggered, the first virtual object is controlled to release the skill at the third position along the recommended release direction. This separates the process of selecting the release position and direction from the process of confirming skill release. With the release position confirmed and the recommended release direction displayed, there is no need to continuously operate the position adjustment area. This allows the user to choose any time to control the first virtual object to release the skill, requiring only a simple trigger operation to complete the skill release. This satisfies various user needs, reduces operational difficulty, improves human-computer interaction efficiency, and ultimately enhances the user experience.
[0194] It should be noted that step 604 is the same as step 203 above, and will not be repeated here.
[0195] It should be noted that in this embodiment, the position aimed at by the position aiming device is adjusted and confirmed by pressing the position adjustment area. In another embodiment, it is not necessary to perform the above steps 602-604. Instead, other methods are adopted: in response to the triggering operation of the position adjustment area, the position aimed at by the position aiming device is adjusted; in response to the confirmation operation of the position aiming device being aimed at the position, a first direction indicator is displayed; and in response to the confirmation release operation of the skill, the first virtual object is controlled to release the skill along the recommended release direction at the position aimed at the position aiming device.
[0196] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, the release direction of the skill can be recommended. When the skill confirmation release operation is triggered, the first virtual object is controlled to release the skill along the recommended release direction at the position aiming device. This eliminates the need to select a release target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction of the skill. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves the efficiency of human-computer interaction. Furthermore, this skill release method can increase the probability of the skill hitting other virtual objects, ensuring the release effect of the skill, thereby improving the user experience.
[0197] In the above Figure 2 Based on the embodiments shown, in the embodiments of this application, the display state of the position aiming device will change before and after confirming the release position of the skill. For details, please refer to the following embodiments.
[0198] Figure 7 This is a flowchart of a virtual object control method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 7 As shown, the method includes:
[0199] 701. In response to a pre-release operation of having a skill on a first virtual object, the terminal displays a position aiming device in a first display state. The position aiming device is used to aim at the release position of the skill in the virtual scene.
[0200] In this embodiment of the application, during the process of selecting the skill release location through the position aiming device, the position aiming device is displayed in a first display state. When the position already aimed by the position aiming device is confirmed, the position aiming device will switch from the first display state to a second display state and display a first direction indicator. In this way, different display states are used to present whether the skill release location has been confirmed, so as to remind the user whether the release location has been confirmed, which can achieve the reminder effect and improve the user experience.
[0201] The first display state can be represented in any form. For example, when the position aiming device is displayed in the first display state, the position aiming device is displayed in blue.
[0202] 702. In response to the confirmation operation of the position aiming device, the terminal displays that the position aiming device has switched from the first display state to the second display state, and displays the first direction indicator, which indicates the recommended release direction of the skill.
[0203] The second display state can be any state different from the first display state. For example, the first display state is blue and the second display state is yellow; or, when the position aiming device is displayed in the first display state, the position aiming device is circular, while when the position aiming device is displayed in the second display state, the position aiming device is square.
[0204] In this embodiment of the application, after confirming that the position aiming device has been aimed at a position, the position aiming device will switch from the first display state to the second display state, which can achieve the effect of reminder.
[0205] It should be noted that the embodiments of this application are illustrated by showing the position aiming device in different display states before and after confirming the release position of the skill. In another embodiment, it is not necessary to perform the above steps 701-702. Instead, other methods are adopted to display the position aiming device in response to the pre-release operation of having a skill on the first virtual object; and to display the first direction indicator in response to the confirmation operation of the position aiming device being aimed at the position.
[0206] 703. In response to the confirmation and release operation of the skill, the terminal controls the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer.
[0207] It should be noted that step 703 is the same as step 203 above, and will not be repeated here.
[0208] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, the release direction of the skill can be recommended. When the skill confirmation release operation is triggered, the first virtual object is controlled to release the skill along the recommended release direction at the position aiming device. This eliminates the need to select a release target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction of the skill. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves the efficiency of human-computer interaction. Furthermore, this skill release method can increase the probability of the skill hitting other virtual objects, ensuring the release effect of the skill, thereby improving the user experience.
[0209] It should be noted that, in the above Figures 2 to 7 Based on the embodiment shown, when the pre-release operation is triggered and the position aiming device is displayed, the position aiming device is aimed at the recommended release target by default. That is, the process of displaying the position aiming device includes: in response to the pre-release operation that has skills on the first virtual object, displaying the position aiming device at the location of the recommended release target.
[0210] In this embodiment, in response to the pre-release operation of having a skill on the first virtual object, a release target is recommended for the skill. The position aiming device is aimed at the location of the recommended release target. If the position aiming device is not adjusted subsequently, the location of the recommended release target can be used as the release location of the subsequent skill. This method of recommending release targets can reduce the operation of users actively selecting release targets, reduce the difficulty of operation, ensure the convenience of skill release, and thus improve the efficiency of human-computer interaction.
[0211] In one possible implementation, it is recommended that the target of the skill be any one of the following: the virtual object closest to the first virtual object, the virtual object with the lowest health within the skill's range, the virtual object attacking the first virtual object, or the virtual object with the largest corresponding influence value among multiple second virtual objects. The influence value indicates the change in the attribute value of the second virtual object when the skill is applied to it.
[0212] In this embodiment, the recommended release target is any one of the above-mentioned multiple optional schemes, which can enrich the ways of recommending release targets, meet different user needs, and improve user experience.
[0213] It should be noted that the method for recommending the release target in this embodiment is the same as the method for recommending the release direction described above, and will not be repeated here.
[0214] It should be noted that the method by which the position aiming device aims at the recommended release target position in this embodiment of the application is the same as described above. Figures 2 to 7 The embodiments shown can be combined arbitrarily, for example, with the above. Figure 3 The illustrated embodiment, taking the first press of the skill option as an example, displays the position aiming reticle at the location of the recommended release target. Subsequently, the position aiming reticle changes with the press position of the first press. Thus, when a pre-release operation is triggered, the position aiming reticle defaults to the recommended release target, and the user can then actively adjust the position aiming reticle.
[0215] It should be noted that the above Figures 2 to 7 The illustrated embodiment is based on releasing the skill in the recommended direction. However, the embodiment of this application can adjust the release direction of the skill based on the display of the first direction indicator. For details, please refer to the following embodiment.
[0216] Figure 8 This is a flowchart of a virtual object control method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 8 As shown, the method includes:
[0217] 801. In response to a pre-release operation of a skill on a first virtual object, the terminal displays a position aiming device, which is used to aim at the release position of the skill in the virtual scene.
[0218] 802. In response to the confirmation operation of the position aiming device being aimed at the position, the terminal displays a first direction indicator, which indicates the recommended release direction of the skill.
[0219] In one possible implementation, steps 801-802 include: displaying a position aimer and a position confirmation area in response to a pre-release operation of having a skill on the first virtual object; and displaying a first direction indicator in response to a trigger operation of the position confirmation area.
[0220] In this embodiment of the application, in response to the pre-release operation of having a skill on the first virtual object, a position aiming device and a position confirmation area are displayed so that the position aimed at by the position aiming device can be confirmed through the position confirmation area, and then a first direction indicator is displayed, which makes it convenient for the user to confirm the position aimed at by the position aiming device, reduces the difficulty of operation, and improves the efficiency of human-computer interaction.
[0221] The location confirmation area can be represented in any form, such as a circular, square, or fan-shaped area. Alternatively, it can be represented by a highlighted border, with the area covered by the highlighted border being the location confirmation area; or it can be represented by a button, with the area covered by the button being the location confirmation area.
[0222] It should be noted that steps 801-802 are the same as steps 201-202 above, and will not be repeated here.
[0223] 803. In response to the direction adjustment operation, the terminal updates the first direction identifier to the second direction identifier, which indicates the adjusted release direction.
[0224] In this embodiment, the direction adjustment operation is used to adjust the release direction of a skill, so as to change the currently displayed recommended release direction to another skill release direction. In response to the direction adjustment operation, if the release direction of the skill can be adjusted, other direction indicators will be displayed in the virtual scene so that the displayed direction indicators can indicate the adjusted release direction.
[0225] The second direction indicator can be represented in any form, for example, as an arrow. The first and second direction indicators may indicate different directions, and may be represented in the same or different forms.
[0226] Optionally, both the first and second directional markers are represented by arrows, but the first and second directional markers are different colors.
[0227] For example, the first direction used to indicate the recommended release direction is marked in red, and the second direction used to indicate the release direction actively adjusted by the user is marked in blue.
[0228] In this embodiment, the recommended release direction or the release direction actively adjusted by the user is represented by different colored directional markers, so that the user can know which release direction is currently being used, thereby improving the display effect of the directional markers and enhancing the user experience.
[0229] 804. In response to the confirmation and release operation of the skill, the terminal controls the first virtual object to release the skill along the adjusted release direction at the position already aimed by the position aimer.
[0230] The confirmation release operation for a skill is equivalent to confirming the release of the skill in the direction indicated by the currently displayed direction marker at the position already aimed at by the position aiming device. The adjusted release direction is the direction indicated by the currently displayed direction marker.
[0231] It should be noted that step 804 is the same as step 203 above, and will not be repeated here.
[0232] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, a recommended release direction for the skill can be provided. Furthermore, the release direction can be adjusted so that other directional markers indicating the adjusted release direction are displayed in the virtual scene. In response to the confirmation of skill release, the first virtual object is controlled to release the skill along the adjusted release direction at the position aiming device. This eliminates the need to select a target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves human-computer interaction efficiency. Moreover, this skill release method increases the probability of the skill hitting other virtual objects, ensuring the skill release effect and thus improving the user experience. Furthermore, it allows users to adjust any release direction to release the skill, instead of just displaying a recommended release direction, meeting the user's skill release needs and ensuring the skill release effect is satisfactory, thereby improving the user experience.
[0233] In the above Figure 8 Based on the embodiments shown, in this application embodiment, the release position and release direction of the skill are selected and adjusted by pressing the skill option for the first time. For details of the process, please refer to the following embodiments.
[0234] Figure 9 This is a flowchart of a virtual object control method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 9 As shown, the method includes:
[0235] 901. The terminal displays the skill options of the first virtual object in the virtual scene.
[0236] 902. In response to the first press operation of the skill option, the terminal displays the position aiming device. The position aiming device changes with the press position of the first press operation. The position aiming device is used to aim at the release position of the skill in the virtual scene.
[0237] 903. When the duration of the first press operation reaches a first threshold, the terminal displays a first direction indicator, which indicates the recommended release direction of the skill.
[0238] It should be noted that steps 901-903 are the same as steps 301-303 above, and will not be repeated here.
[0239] 904. In response to the first pressing operation, the terminal moves from the first pressing position to the third pressing position and updates the first direction indicator to the second direction indicator. The direction indicated by the second direction indicator is the same as the direction from the first pressing position to the second pressing position. The first pressing position is the pressing position when the pressing time reaches the first threshold. The third pressing position is any position different from the first pressing position. The second direction indicator indicates the adjusted release direction.
[0240] In this embodiment of the application, after confirming the position aimed at by the position aiming device through the first pressing operation, the first pressing operation can be maintained and movement can be started to adjust the release direction of the skill. This allows the selection of the skill release position and the adjustment of the skill release direction to be realized by pressing the skill option, without requiring the user to perform too many operations, reducing the difficulty of skill release and improving the efficiency of human-computer interaction.
[0241] In this embodiment, the third press position is a press position different from the first press position. When the position aimed at by the aiming device is determined by the first press operation, the press position of the first press operation is the first press position, and the first direction indicator is displayed at this time. Then, while maintaining the first press operation, movement begins, and the press position of the first press operation begins to change, thereby adjusting the release direction of the skill. The direction of the first press position is equivalent to the adjusted release direction, and the displayed direction indicator will change. Taking the change of the press position of the first press operation to the third press position as an example, the displayed direction indicator is updated from the first direction indicator to the second direction indicator to indicate the adjusted direction.
[0242] In one possible implementation, step 904 includes: moving the pressing position from the first pressing position to the third pressing position in response to the first pressing operation, and updating the first direction identifier to the second direction identifier if the distance between the third pressing position and the first pressing position is greater than a second threshold.
[0243] In this embodiment, after confirming the position aimed at by the position aiming device, the first press operation is still maintained. If the distance between the pressing position of the first press operation and the first pressing position is not greater than a second threshold, it is equivalent to not triggering a direction adjustment operation, and a first direction indicator for indicating the recommended release direction is still displayed. If the distance between the pressing position of the first press operation and the first pressing position is greater than a second distance, it is equivalent to triggering a direction adjustment operation, and a direction indicator for indicating the adjusted release direction will be displayed. The direction indicated by the direction indicator is the same as the direction from the first pressing position to the current pressing position. Thus, compared with the first pressing position, if the distance between the current pressing position and the first pressing position is not greater than the second threshold, it can be considered that the recommended release direction is selected to release the skill. If the distance between the current pressing position and the first pressing position is greater than the second threshold, a new release direction can be re-determined according to the current pressing position. This provides users with multiple possibilities for selecting a direction, allowing users to achieve direction adjustment through the same pressing operation, which can meet user needs and improve user experience.
[0244] The range centered on the first press position and with the second threshold as the radius is called the first activity range. If the press position of the first press operation is within the first activity range, it means that the recommended release direction is selected to release the skill; if the press position of the first press operation is outside the first activity range, it means that the recommended release direction is adjusted to another direction.
[0245] Optionally, the process of adjusting the release direction includes: the terminal responding to the pressing duration of the first pressing operation reaching a first threshold, displaying a first direction indicator, displaying a touch area centered on the first pressing position, the terminal responding to the pressing position of the first pressing operation moving from the first pressing position to the third pressing position, and updating the display of the first direction indicator to a second direction indicator.
[0246] In this embodiment, the radius of the touch area is greater than the second threshold. When displaying the first direction indicator, a touch area centered on the first press position is also displayed, so that the press position of the first press operation can move within the touch area to adjust the release direction of the skill, which facilitates user operation, improves the display effect, and thus enhances the user experience.
[0247] The touch area is equivalent to the second range of motion, which is the movable range of the pressing position after the position is confirmed by the position aiming device. The center of the first range of motion is the same as that of the second range of motion, and the second range of motion includes the first range of motion. The third pressing position is a position within the second range of motion but outside the first range of motion.
[0248] It should be noted that in this embodiment, the skill release position and release direction are selected and adjusted by pressing the skill option first. In another embodiment, steps 901-904 are not required. Instead, other methods are used: in response to the pre-release operation of having a skill on the first virtual object, a position aiming device is displayed; in response to the confirmation operation of the position aiming device being aimed at the position, a first direction indicator is displayed; and in response to the direction adjustment operation, the first direction indicator is updated to a second direction indicator.
[0249] 905. In response to the confirmation and release operation of the skill, the terminal controls the first virtual object to release the skill along the adjusted release direction at the position already aimed by the position aimer.
[0250] It should be noted that step 905 is the same as step 203 above, and will not be repeated here.
[0251] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, a recommended release direction for the skill can be provided. Furthermore, the release direction can be adjusted so that other directional markers indicating the adjusted release direction are displayed in the virtual scene. In response to the confirmation of skill release, the first virtual object is controlled to release the skill along the adjusted release direction at the position aiming device. This eliminates the need to select a target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves human-computer interaction efficiency. Moreover, this skill release method increases the probability of the skill hitting other virtual objects, ensuring the skill release effect and thus improving the user experience. Furthermore, it allows users to adjust any release direction to release the skill, instead of just displaying a recommended release direction, meeting the user's skill release needs and ensuring the skill release effect is satisfactory, thereby improving the user experience.
[0252] In the above Figure 8 Based on the embodiments shown, in this application embodiment, the release direction of the skill is adjusted by displaying a direction adjustment area. For details of the process, please refer to the following embodiments.
[0253] Figure 10 This is a flowchart of a virtual object control method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 10 As shown, the method includes:
[0254] 1001. In response to the pre-release operation of having a skill on the first virtual object, the terminal displays a position aiming device, which is used to aim at the release position of the skill in the virtual scene.
[0255] It should be noted that step 1001 is the same as step 201 above, and will not be repeated here.
[0256] 1002. In response to the confirmation operation of the position aiming device, the terminal displays a first direction indicator and a direction adjustment area. The first direction indicator indicates the recommended release direction of the skill, and the direction adjustment area is used to adjust the release direction of the skill.
[0257] In this embodiment of the application, after confirming that the position has been aimed at by the position aiming device, not only is the first direction indicator displayed, but also the direction adjustment area is displayed so that the release direction of the skill can be adjusted through the direction adjustment area. In this way, the user only needs to trigger the direction adjustment area to adjust the release direction of the skill without performing complicated operations, which facilitates the adjustment of the release direction of the skill, improves the convenience of direction adjustment, and improves the efficiency of human-computer interaction.
[0258] The orientation adjustment area can be represented in any form, such as a circular, square, or fan-shaped area. Alternatively, it can be represented by a highlighted border, with the area covered by the highlighted border being the orientation adjustment area; or it can be represented by a button, with the area covered by the button being the orientation adjustment area.
[0259] 1003. In response to the trigger operation on the direction adjustment area, the terminal updates the first direction identifier to display a second direction identifier, which indicates the adjusted release direction.
[0260] In this embodiment of the application, triggering the direction adjustment area can adjust the release direction of the skill and display the adjusted direction indicator in the virtual scene to indicate the adjusted release direction.
[0261] The trigger operation for the direction adjustment area can be any type of operation, such as a click operation, a press operation, etc.
[0262] For example, the direction adjustment area is a virtual joystick, which consists of a fixed virtual wheel and a movable joystick button. Users can adjust the release direction of skills by dragging the joystick button on the virtual wheel, so that the release direction indicated by the displayed direction indicator is consistent with the direction from the center of the virtual wheel to the joystick button, and the displayed direction indicator and the movement of the joystick button are kept synchronized.
[0263] It should be noted that the embodiments of this application are illustrated by taking the adjustment of the release direction of the skill through the displayed direction adjustment area as an example. In another embodiment, it is not necessary to perform the above steps 1002-1003. Instead, other methods are adopted. In response to the confirmation operation of the position aiming device being aimed at the position, a first direction indicator is displayed. In response to the direction adjustment operation, the first direction indicator is updated to a second direction indicator.
[0264] 1004. In response to the confirmation and release operation of the skill, the terminal controls the first virtual object to release the skill along the adjusted release direction at the position already aimed by the position aimer.
[0265] It should be noted that step 1004 is the same as step 203 above, and will not be repeated here.
[0266] In the solution provided in this application embodiment, when controlling a virtual object to release a skill, the starting position for releasing the skill can be aimed at first using a position aiming device. Once the position aiming device is confirmed, a recommended release direction for the skill can be provided. Furthermore, the release direction can be adjusted so that other directional markers indicating the adjusted release direction are displayed in the virtual scene. In response to the confirmation of skill release, the first virtual object is controlled to release the skill along the adjusted release direction at the position aiming device. This eliminates the need to select a target from the virtual objects displayed in the virtual scene before releasing the skill, and also eliminates the need for the user to manually select the release direction. This enriches the ways to release skills, reduces the operational difficulty of releasing skills, and improves human-computer interaction efficiency. Moreover, this skill release method increases the probability of the skill hitting other virtual objects, ensuring the skill release effect and thus improving the user experience. Furthermore, it allows users to adjust any release direction to release the skill, instead of just displaying a recommended release direction, meeting the user's skill release needs and ensuring the skill release effect is satisfactory, thereby improving the user experience.
[0267] It should be noted that the above Figures 2 to 10 The illustrated embodiment describes how the first direction indicator is displayed only after the skill's release starting position is confirmed. In another embodiment, when a position aiming device is displayed in the virtual scene, a corresponding direction indicator is also displayed. The displayed direction indicator indicates the recommended release direction when the position currently aimed at by the position aiming device is used as the skill's release starting position. Furthermore, as the position aimed at by the position aiming device changes in the virtual scene, such as the change in the position aimed at by the position aiming device with the change in the pressing position of the first pressing operation in step 302 above, the displayed direction indicator changes with the change in the position aimed at by the position aiming device.
[0268] In one possible implementation, the recommended release direction indicated by the direction marker is pointed from the position currently being aimed at by the position sight to the recommended release target.
[0269] In this embodiment, when a position aiming device is displayed in a virtual scene, a corresponding direction indicator is also displayed. The recommended release direction indicated by the direction indicator points from the position currently aimed at by the position aiming device to the recommended release target. Thus, as the position aimed at by the position aiming device changes with the pressing position of the first pressing operation according to step 302 above, recommended release directions pointing to different recommended release targets will be displayed. This makes it easier for the user to select a recommended release direction so that the skill can be released to different recommended release targets in the future, ensuring the convenience of skill release, reducing the difficulty of operation, and improving the efficiency of human-computer interaction.
[0270] It should be noted that the above-mentioned multiple optional embodiments can be combined in any way, and this application will not elaborate on them one by one here.
[0271] Based on the embodiments shown above, this embodiment takes a virtual scene displaying a skill button indicating that the first virtual object possesses a skill, and a location confirmation area as a confirmation button, as an example. During the process of a user controlling the first virtual object to release a skill via the skill button on the terminal, the virtual scene displayed on the terminal is as follows: Figures 11 to 18 As shown.
[0272] exist Figure 11 In the virtual scene, virtual objects 1101, 1102, 1103 and 1104 are displayed. Virtual object 1101 is a virtual object controlled by the terminal. The virtual scene also displays the skill button 1105 of virtual object 1101 and other skill buttons.
[0273] exist Figure 11 Based on the virtual scene shown, taking the user pressing the skill button 1105 with their finger as an example, this enters the first stage of the skill release process, namely the release start point position selection stage. The virtual scene is as follows: Figure 12 As shown. In Figure 12 The display shows a virtual joystick centered on the skill button 1105. The virtual joystick includes a virtual wheel 1106 and a movable joystick button 1107. The joystick button 1107 is synchronized with the pressing position of a press operation, and moves within the virtual wheel 1106 as the pressing position of the press operation moves. Figure 12The interface also displays a cancel button 1108, a position aiming device 1109, and a confirm button 1110. The cancel button 1108 cancels the current skill release by the virtual object 1101. The position aiming device 1109 is blue at this time and is used to aim at the skill's release starting point. The confirm button 1110 confirms the release starting point aimed at by the position aiming device 1109. The position aiming device 1109 is used to aim at the skill's release starting point within the skill's release range. Furthermore, in... Figure 12 The display shows a direction indicator 1111, which indicates the recommended release direction when the position currently aimed at by the position aiming device 1109 is the starting point for skill release. As the position aimed at by the position aiming device 1109 is changed via the joystick button 1107, the direction indicator 1111 will change accordingly.
[0274] exist Figure 12 Based on the virtual scene shown, place the joystick button 1107 in Figure 12 The position shown is called position 2, which is the first press position. While maintaining the press operation on the skill button 1105, taking the user clicking the confirmation button 1110 when the joystick button 1107 is in position 2 as an example, this enters the second stage of the skill release process, namely the release direction confirmation stage. The position aimed at by the position aiming device 1109 at this time is called position 3. For example, in a virtual scene... Figure 13 As shown. In Figure 13 In the middle, the display of the confirmation button 1110 switches to the undo button 1112, canceling the display of the virtual joystick centered on the skill button 1105, that is, canceling the virtual wheel 1106 and the movable joystick button 1107, and displaying a new virtual joystick centered on position 2. The new virtual joystick includes a virtual wheel 1113 and a movable joystick button 1114. The joystick button 1114 can move within the virtual wheel 1113 as the pressing position of the press operation moves. The undo button 1112 is used to return to the release start position selection stage. If the user clicks the undo button 1112, the user returns to the release start position selection stage, at which point the virtual scene displays as follows: Figure 12 As shown.
[0275] Furthermore, in Figure 13 In the display, the position aiming device 1109 turns yellow to remind the user that the starting point of the skill release has been confirmed. Figure 13 The first direction indicator 1111 is displayed to indicate the recommended direction for releasing the skill.
[0276] In the above Figure 13Based on the illustrated embodiment, when the user's finger is pressed on position 2, the circular area centered on position 2 and with a second threshold as its radius is the dead zone; the area in the virtual wheel 1113 other than the dead zone is the non-dead zone. Figure 14 As shown, the skill corresponds to the dead zone 1401 and the non-dead zone 1402. If the pressing position of the pressing operation does not move out of the dead zone 1401, the quick casting mechanism is triggered; if the pressing position of the pressing operation moves out of the dead zone, that is, the pressing position of the pressing operation enters the non-dead zone 1402, the active aiming mechanism is triggered.
[0277] In the above Figure 13 Based on the illustrated embodiment, if the user lifts their finger and the pressing position is within the dead zone, it is equivalent to triggering a quick casting mechanism. The virtual scene will then display virtual object 1101 releasing the skill at position 3 along the recommended release direction indicated by the first direction marker. For example, if the skill is to release virtual flames and the recommended release direction is to the right of position 3, then after virtual object 1101 releases the skill at position 3 along the recommended release direction indicated by the first direction marker, virtual flames will be displayed in the straight area at position 3 and to the right of position 3 within the virtual scene.
[0278] In the above Figure 13 Based on the illustrated embodiment, if the user's finger is pressed on position 2, and the user's finger remains pressed and moves, and the pressing position moves from the dead zone to the non-dead zone, then the active aiming mechanism is triggered, and the first direction indicator 1111 displayed in the virtual scene will change to another direction indicator, such as... Figure 15 As shown, the first directional indicator 1111 displayed in the virtual scene is switched to the directional indicator 1115, and the directional indicator 1115 will change with the pressing position as the pressing position moves within the non-dead zone.
[0279] In this embodiment of the application, after entering the release direction confirmation stage, if the pressing position has not moved out of the dead zone and the current aiming state of the skill button is TAP (tap), the skill will be cast quickly by intelligently selecting the recommended release direction of the recommended release target; if the pressing position moves out of the dead zone and the current aiming state of the skill button will switch to AIM (aim), the skill will be actively aimed and released according to the actively selected release direction.
[0280] In the above Figure 15 Based on the virtual scene shown, such as Figure 16 As shown, the center position 2 of the virtual wheel 1113 is point 1116, and the user's pressing position moves to a position within the non-dead zone, which is point 1117. At this time, the direction of the displayed direction indicator 1115 is consistent with the direction from point 1116 to point 1117, as shown. Figure 16Arrow 1118 is used to indicate the direction from point 1116 to point 1117. Direction marker 1115 points from position 3 to other directions. Direction marker 1115 is consistent with the direction indicated by arrow 1118.
[0281] In the above Figure 15 Based on the virtual scene shown, when the user raises their finger, it triggers an active aiming mechanism. The virtual object 1101 will then release a skill at position 3 along the direction indicated by directional marker 1115. For example, if the skill releases virtual flames, and directional marker 1115 indicates the release direction to the right of position 3, then after virtual object 1101 releases the skill at position 3 along the direction indicated by directional marker 1115, virtual flames will be displayed in the straight line area at position 3 and to the right of position 3 within the virtual scene.
[0282] Based on the embodiments shown above, in this embodiment, when a position aiming device is displayed in a virtual scene, a corresponding direction indicator is also displayed. The displayed direction indicator indicates the recommended release direction when the position currently aimed at by the position aiming device is used as the starting point for skill release. For example... Figure 17 and Figure 18 As shown, Figure 17 The image shown is a virtual scene during the release start point selection phase. Figure 18 This shows a virtual scene during the release direction confirmation phase. Figure 17 The display shows a virtual joystick centered on the skill button 1701. The virtual joystick includes a virtual wheel 1702 and a movable joystick button 1703. The joystick button 1703 is synchronized with the pressing position of a press operation, and moves within the virtual wheel 1702 as the pressing position of the press operation moves. Figure 17 When the center joystick button 1703 is in its current position, the position aiming device 1704 and the corresponding direction indicator 1705 in the virtual scene are used to indicate the starting position of the currently aimed skill release and the current recommended release direction. That is, the direction indicator 1705 points to the virtual object 1706, and the position aiming device 1704 is displayed as a dotted line. Figure 17 Based on the virtual scene shown, the user clicks Figure 17 After clicking the confirmation button 1707, the release direction confirmation phase begins, as shown in the virtual scene. Figure 18 As shown. In Figure 18In the diagram, the position aiming device 1704 is displayed as a solid line, and the change in its display state indicates that the skill release starting point has been confirmed. The position of the aiming device 1704 remains unchanged during the release direction confirmation phase. The confirm button 1707 is replaced by the cancel button 1708. The virtual joystick centered on the skill button 1701 is replaced by a new virtual joystick, which includes a virtual wheel 1709 and a movable joystick button 1710. The center of the virtual wheel 1709 is the position of the joystick button 1703 when the user clicked the confirm button 1707. The direction indicator 1705 remains pointing to the virtual object 1706. This ensures that the recommended release target strategy remains consistent throughout both the release starting point selection and release direction confirmation phases, guaranteeing that the recommended release target does not change when transitioning from the release starting point selection phase to the release direction confirmation phase, thus improving the user experience.
[0283] In the above Figure 12 Based on the illustrated embodiment, a circular area with a first radius centered on the position of skill option 1105 is designated as the dead zone, and this first radius is smaller than the radius of the virtual wheel 1106. The area within the virtual wheel 1106 excluding the dead zone is designated as the non-dead zone. If the user's finger is pressed within the dead zone, i.e., the joystick button 1107 is within the dead zone, the position aiming device 1109 is displayed aiming at the recommended release target. If the user lifts their finger at this time, the virtual object 1101 will be displayed in the virtual scene releasing the skill towards the recommended release target. When the position aiming device 1109 is aimed at the recommended release target, if the user's finger moves out of the dead zone and into the non-dead zone, i.e., the joystick button 1107 is within the non-dead zone, the position aiming device 1109 will be displayed changing according to the position of the joystick button 1107 within the non-dead zone.
[0284] In this embodiment, the distance between the position of the joystick button 1107 and the position of the skill button 1105 is used to determine whether the joystick button 1107 is in the dead zone; if the distance is not greater than the radius of the dead zone, the joystick button 1107 is determined to be in the dead zone; if the distance is greater than the radius of the dead zone, the joystick button 1107 is determined to be in the non-dead zone.
[0285] Based on the embodiments shown above, this application also provides a flowchart of a virtual object control method, such as... Figure 19 As shown, the method includes:
[0286] 1901. When the user presses the skill button, they enter the first stage, which is the release starting point location selection stage.
[0287] In this embodiment of the application, in the first stage, the position aimed at by the position aiming device in the virtual scene changes with the change of the pressing position.
[0288] 1902. The user keeps pressing the skill button and clicks the confirmation button.
[0289] 1903. The terminal confirms the current position aimed at by the position aiming device as the starting point position for skill release and enters the second stage, namely the release direction confirmation stage.
[0290] 1904. The terminal sets the press position when clicking the confirmation button to the center of the virtual joystick corresponding to the skill button.
[0291] 1905. The terminal resets the dead zone of the skill button at this center.
[0292] 1906. The terminal reset skill button's current aiming state is TAP.
[0293] 1907. The terminal determines whether the pressing position of the pressing operation has moved out of the dead zone. If yes, proceed to step 1908; otherwise, proceed to steps 1909-1910.
[0294] 1908. If the terminal does not move out of the dead zone when pressing, the pressing operation ends, realizing rapid casting and controlling the virtual object to release the skill along the recommended release direction at the determined release starting position.
[0295] 1909. If the pressing position of the terminal operation moves out of the dead zone, set the current aiming state of the skill button to AIM.
[0296] 1910. When the terminal moves out of the dead zone during the pressing operation, the pressing operation ends, realizing active aiming casting, controlling the virtual object to release the skill along the active aiming release direction at the determined release starting position.
[0297] In this embodiment, the starting point of skill release can be selected and the release direction confirmed by pressing the skill button once, thereby controlling the virtual object to release the skill. After entering the second stage by pressing once, it is possible to achieve quick casting or active aiming casting. The default selection when entering the second stage is quick casting. If the user is not satisfied with quick casting, they can start moving while keeping the button pressed to perform active aiming. This avoids the situation where only active aiming casting can be performed when entering the second stage, which can meet the user's various needs and improve the user experience.
[0298] Figure 20 This is a schematic diagram of the structure of a virtual object control device provided in an embodiment of this application, such as... Figure 20 As shown, the device includes:
[0299] Display module 2001 is used to display a position aiming device in response to a pre-release operation of having a skill on a first virtual object. The position aiming device is used to aim at the release position of the skill in the virtual scene.
[0300] The display module 2001 is also used to display a first direction indicator in response to a confirmation operation of the position aiming device aiming at the position, the first direction indicator indicating the recommended release direction of the skill;
[0301] The display module 2001 is also used to control the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer in response to the confirmation release operation of the skill.
[0302] In one possible implementation, a skill option with skills is displayed in the virtual scene; a display module 2001 is used to display a position aiming device in response to a first press operation on the skill option, the position aimed at by the position aiming device changing with the press position of the first press operation;
[0303] The display module 2001 is used to display a first direction indicator in response to the pressing duration of the first pressing operation reaching a first threshold.
[0304] In another possible implementation, the display module 2001 is used to control the first virtual object to release the skill along the recommended release direction at a first position in response to the end of the first press operation. The first position is the position aimed at by the position aiming device when the press duration reaches a first threshold.
[0305] In another possible implementation, the display module 2001 is used to control the first virtual object to release the skill along the recommended release direction at the first position when the distance between the first pressing position and the second pressing position is not greater than a second threshold, in response to the end of the first pressing operation. The first pressing position is the pressing position when the pressing duration reaches the first threshold, and the second pressing position is the pressing position when the first pressing operation ends.
[0306] In another possible implementation, a skill option with skills is displayed in the virtual scene; a display module 2001 is used to display a position aiming device in response to a first press operation on the skill option, the position aimed at by the position aiming device changing with the press position of the first press operation;
[0307] Display module 2001 is used to display a first direction indicator in response to the end of the first press operation.
[0308] In another possible implementation, the display module 2001 is used to control the first virtual object to release the skill in a recommended release direction at a second position in response to a trigger operation of the skill option, the second position being the position aimed at by the position aiming device at the end of the first press operation.
[0309] In another possible implementation, the display module 2001 is also used to display the skill option entering an active state in response to the end of the first press operation;
[0310] Display module 2001 is used to control the first virtual object to release the skill in the recommended release direction at the second position in response to the triggering operation of the skill option when the skill option is active.
[0311] In another possible implementation, the display module 2001 is also configured to display a position adjustment area in response to a pre-release operation, the position adjustment area being used to adjust the position aimed at by the position aiming device; and to adjust the position aimed at by the position aiming device in response to a trigger operation on the position adjustment area.
[0312] In another possible implementation, the display module 2001 is configured to, in response to a second pressing operation on the position adjustment area, display the position aimed at by the position aiming device as the pressing position of the second pressing operation changes;
[0313] Display module 2001 is used to display a first direction indicator in response to the end of the second pressing operation;
[0314] Display module 2001 is used to control the first virtual object to release the skill in the recommended release direction at the third position in response to the confirmed release operation. The third position is the position aimed at by the position aiming device when the second press operation ends.
[0315] In another possible implementation, the display module 2001 is used to display the position of the position aiming device aimed at the recommended release target in response to the pre-release operation.
[0316] In another possible implementation, the display module 2001 is configured to display the position aiming device in a first display state in response to a pre-release operation;
[0317] The display module 2001 is also used to switch the position aiming device from a first display state to a second display state in response to a confirmation operation of the position aiming device being aimed at a position.
[0318] In another possible implementation, the recommended release direction is pointed from the position already aimed by the position aimer to the recommended release target. The recommended release target is any one of the following: the virtual object closest to the first virtual object, the virtual object with the lowest health within the skill's release range, the virtual object attacking the first virtual object, or the virtual object with the largest corresponding influence value among multiple second virtual objects. The influence value indicates the change in the attribute value of the second virtual object when the skill is applied to it.
[0319] In another possible implementation, the display module 2001 is also configured to update the display of the first direction identifier to a second direction identifier in response to the direction adjustment operation, the second direction identifier indicating the adjusted release direction; and to control the first virtual object to release the skill along the adjusted release direction at the position already aimed by the position aimer in response to the skill confirmation release operation.
[0320] In another possible implementation, a skill option with skills is displayed in the virtual scene; a display module 2001 is used to display a position aiming device in response to a first press operation on the skill option, the position aimed at by the position aiming device changing with the press position of the first press operation;
[0321] Display module 2001 is used to display a first direction indicator in response to the pressing duration of the first pressing operation reaching a first threshold.
[0322] The display module 2001 is used to update the first direction identifier to a second direction identifier in response to the pressing position moving from the first pressing position to the third pressing position. The direction indicated by the second direction identifier is the same as the direction from the first pressing position to the second pressing position. The first pressing position is the pressing position when the pressing time reaches the first threshold. The third pressing position is any position different from the first pressing position.
[0323] In another possible implementation, the display module 2001 is used to update the first direction identifier to the second direction identifier in response to the pressing position moving from the first pressing position to the third pressing position, provided that the distance between the third pressing position and the first pressing position is greater than a second threshold.
[0324] In another possible implementation, the display module 2001 is also used to display a direction adjustment area in response to a confirmation operation of the position aiming device aiming at the position, the direction adjustment area being used to adjust the release direction of the skill;
[0325] Display module 2001 is used to update the first direction identifier to a second direction identifier in response to a trigger operation on the direction adjustment area.
[0326] It should be noted that the virtual object control device provided in the above embodiments is only an example of the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above. In addition, the virtual object control device and the virtual object control method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0327] This application also provides a computer device, which includes a processor and a memory. The memory stores at least one computer program, which is loaded and executed by the processor to implement the operations performed by the virtual object control method of the above embodiments.
[0328] Optionally, the computer device is provided as a terminal. Figure 21 A structural block diagram of a terminal 2100 provided in an exemplary embodiment of this application is shown. The terminal 2100 includes a processor 2101 and a memory 2102.
[0329] Processor 2101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 2101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 2101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 2101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 2101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0330] The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 2102 are used to store at least one computer program, which is executed by the processor 2101 to implement the virtual object control method provided in the method embodiments of this application.
[0331] In some embodiments, the terminal 2100 may also optionally include a peripheral device interface 2103 and at least one peripheral device. The processor 2101, memory 2102, and peripheral device interface 2103 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 2103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 2104, a display screen 2105, a camera assembly 2106, an audio circuit 2107, and a power supply 2108.
[0332] Peripheral device interface 2103 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 2101 and memory 2102. In some embodiments, processor 2101, memory 2102 and peripheral device interface 2103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 2101, memory 2102 and peripheral device interface 2103 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0333] The radio frequency (RF) circuit 2104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 2104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 2104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 2104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 2104 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 2104 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0334] Display screen 2105 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 2105 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 2101 for processing. In this case, display screen 2105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 2105, disposed on the front panel of terminal 2100; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 2100 or in a folded design; in still other embodiments, display screen 2105 may be a flexible display screen, disposed on a curved or folded surface of terminal 2100. Furthermore, display screen 2105 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 2105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0335] The camera assembly 2106 is used to acquire images or videos. Optionally, the camera assembly 2106 includes a front-facing camera and a rear-facing camera. The front-facing camera is disposed on the front panel of the terminal, and the rear-facing camera is disposed on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 2106 may also include a flash. The flash may be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.
[0336] The audio circuit 2107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 2101 for processing, or to the radio frequency circuit 2104 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 2100. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 2101 or the radio frequency circuit 2104 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 2107 may also include a headphone jack.
[0337] Power supply 2108 is used to power the various components in terminal 2100. Power supply 2108 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 2108 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0338] Those skilled in the art will understand that Figure 21 The structure shown does not constitute a limitation on terminal 2100 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0339] Optionally, the computer equipment is provided as a server. Figure 22 This is a schematic diagram of a server structure provided in an embodiment of this application. The server 2200 can vary significantly due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 2201 and one or more memories 2202. The memories 2202 store at least one computer program, which is loaded and executed by the processor 2201 to implement the methods provided in the above-described method embodiments. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated upon here.
[0340] Server 2200 can be used to execute the steps performed by the control method of the aforementioned virtual object.
[0341] This application also provides a computer-readable storage medium storing at least one computer program, which is loaded and executed by a processor to implement the operations performed by the virtual object control method of the above embodiments.
[0342] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the operations performed by the virtual object control method of the above embodiments.
[0343] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0344] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present application should be included within the protection scope of the present application.
Claims
1. A method for controlling a virtual object, characterized in that, The method includes: In response to a pre-release operation of having a skill on a first virtual object, a position aiming device is displayed, the position aiming device being used to aim at the release position of the skill in the virtual scene; In response to a confirmation operation that the position aiming device has been aimed at a position, a first direction indicator is displayed, the first direction indicator indicating the recommended release direction of the skill; In response to the confirmation release operation of the skill, the first virtual object is controlled to release the skill along the recommended release direction at the position already aimed by the position aimer.
2. The method according to claim 1, characterized in that, The virtual scene displays skill options for the skill; the display of a position aiming device in response to a pre-release operation for a skill possessed by the first virtual object includes: In response to a first press operation on the skill option, the position aiming device is displayed, and the position aimed at by the position aiming device changes as the press position of the first press operation changes; The step of displaying a first direction indicator in response to a confirmation operation that the position sight has been aimed at includes: In response to the press duration of the first press operation reaching a first threshold, the first direction indicator is displayed.
3. The method according to claim 2, characterized in that, The step of controlling the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer, in response to the confirmed release operation of the skill, includes: In response to the end of the first press operation, the first virtual object is controlled to release the skill along the recommended release direction at a first position, where the first position is the position aimed at by the position aiming device when the press duration reaches the first threshold.
4. The method according to claim 3, characterized in that, The response to the end of the first press operation, controlling the first virtual object to release the skill at the first position along the recommended release direction, includes: In response to the end of the first press operation, if the distance between the first press position and the second press position is not greater than a second threshold, the first virtual object is controlled to release the skill at the first position along the recommended release direction. The first press position is the press position when the press duration reaches the first threshold, and the second press position is the press position when the first press operation ends.
5. The method according to claim 1, characterized in that, The virtual scene displays skill options for the skill; the display of a position aiming device in response to a pre-release operation for a skill possessed by the first virtual object includes: In response to a first press operation on the skill option, the position aiming device is displayed, and the position aimed at by the position aiming device changes as the press position of the first press operation changes; The step of displaying a first direction indicator in response to a confirmation operation that the position sight has been aimed at includes: In response to the end of the first press operation, the first direction indicator is displayed.
6. The method according to claim 5, characterized in that, The step of controlling the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer, in response to the confirmed release operation of the skill, includes: In response to the triggering operation of the skill option, the first virtual object is controlled to release the skill at a second position along the recommended release direction, the second position being the position aimed at by the position aiming device at the end of the first press operation.
7. The method according to claim 6, characterized in that, The method further includes: In response to the end of the first press operation, the skill option is displayed as being activated. The step of controlling the first virtual object to release the skill along the recommended release direction at the second position in response to a trigger operation on the skill option includes: When the skill option is in the active state, in response to the triggering operation of the skill option, the first virtual object is controlled to release the skill at the second position along the recommended release direction.
8. The method according to claim 1, characterized in that, The method further includes: In response to the pre-release operation, a position adjustment area is displayed, the position adjustment area being used to adjust the position aimed at by the position aiming device; In response to a trigger operation on the position adjustment area, the position aimed at by the position aiming device is adjusted.
9. The method according to claim 8, characterized in that, The step of adjusting the position aimed at by the position aiming device in response to a trigger operation on the position adjustment area includes: In response to a second press operation on the position adjustment area, the position aimed at by the position aiming device changes as the press position of the second press operation changes; The step of displaying a first direction indicator in response to a confirmation operation that the position sight has been aimed at includes: Upon completion of the second press operation, the first direction indicator is displayed; The step of controlling the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer, in response to the confirmed release operation of the skill, includes: In response to the confirmed release operation, the first virtual object is controlled to release the skill at a third position along the recommended release direction, the third position being the position aimed at by the position aiming device at the end of the second press operation.
10. The method according to claim 1, characterized in that, The method of displaying a position aimer in response to a pre-release operation that grants a skill to a first virtual object includes: In response to the pre-release operation, the position aiming device is displayed as aiming at the location of the recommended release target.
11. The method according to any one of claims 1 to 10, characterized in that, The method of displaying a position aimer in response to a pre-release operation that grants a skill to a first virtual object includes: In response to the pre-release operation, the position aiming device is displayed in a first display state; The method further includes: In response to a confirmation operation that the position aiming device has been aimed at a position, the position aiming device is displayed to switch from the first display state to the second display state.
12. The method according to any one of claims 1 to 10, characterized in that, The recommended release direction is the direction from the position already aimed by the position aiming device to the recommended release target. The recommended release target is any one of the following: the virtual object closest to the first virtual object, the virtual object with the lowest health within the release range of the skill, the virtual object attacking the first virtual object, or the virtual object with the largest corresponding influence value among multiple second virtual objects. The influence value indicates the change in the attribute value of the second virtual object when the skill is applied to the second virtual object.
13. The method according to any one of claims 1 to 10, characterized in that, After displaying a first direction indicator in response to a confirmation operation that the position sight has been aimed at, the method further includes: In response to the direction adjustment operation, the first direction identifier is updated to a second direction identifier, which indicates the adjusted release direction; In response to the confirmation release operation of the skill, the first virtual object is controlled to release the skill along the adjusted release direction at the position already aimed by the position aimer.
14. The method according to claim 13, characterized in that, The virtual scene displays skill options for the skill; the display of a position aiming device in response to a pre-release operation for a skill possessed by the first virtual object includes: In response to a first press operation on the skill option, the position aiming device is displayed, and the position aimed at by the position aiming device changes as the press position of the first press operation changes; The step of displaying a first direction indicator in response to a confirmation operation that the position sight has been aimed at includes: In response to the press duration of the first press operation reaching a first threshold, the first direction indicator is displayed; The step of updating the first direction identifier to a second direction identifier in response to a direction adjustment operation includes: In response to the pressing position moving from the first pressing position to the third pressing position, the first direction identifier is updated and displayed as the second direction identifier. The direction indicated by the second direction identifier is the same as the direction from the first pressing position to the second pressing position. The first pressing position is the pressing position when the pressing duration reaches the first threshold. The third pressing position is any position different from the first pressing position.
15. The method according to claim 14, characterized in that, The step of updating the first direction indicator to the second direction indicator in response to the press position moving from the first press position to the third press position includes: In response to the pressing position moving from the first pressing position to the third pressing position, if the distance between the third pressing position and the first pressing position is greater than a second threshold, the first direction identifier is updated to the second direction identifier.
16. The method according to claim 13, characterized in that, The method further includes: In response to a confirmation operation that the position aiming device has been aimed at a position, a direction adjustment area is displayed, which is used to adjust the release direction of the skill; The step of updating the first direction identifier to a second direction identifier in response to a direction adjustment operation includes: In response to a trigger operation on the direction adjustment area, the first direction identifier is updated and displayed with the second direction identifier.
17. A control device for a virtual object, characterized in that, The device includes: The display module is configured to display a position aiming device in response to a pre-release operation of having a skill on a first virtual object, the position aiming device being used to aim at the release position of the skill in the virtual scene; The display module is further configured to display a first direction indicator in response to a confirmation operation of the position aiming device being aimed at a position, the first direction indicator indicating the recommended release direction of the skill; The display module is also configured to, in response to a confirmation release operation of the skill, control the first virtual object to release the skill along the recommended release direction at the position already aimed by the position aimer.
18. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one computer program, which is loaded and executed by the processor to perform the operations performed by the virtual object control method as described in any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to perform the operations performed by the control method for the virtual object as described in any one of claims 1 to 16.
20. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the operations performed by the control method for the virtual object as described in any one of claims 1 to 16.