Operation control method and device, equipment and storage medium
By displaying the release end point position in the virtual environment and automatically adjusting its focus position in the adsorption area, the problem of the complexity of skill or prop release operation control in the virtual environment is solved, and the operation efficiency is improved.
Patent Information
- Application Number
- CN202510220257.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-07-06
- Filing Date
- 2025-02-26
- Publication Date
- 2025-05-30
AI Technical Summary
The skill or prop release operation control in virtual environments in games and other applications is relatively complex, and the release end point position needs to be frequently adjusted to ensure hit rate.
By displaying the release end point position in the virtual environment and controlling the virtual skill or prop to perform release based on the release end point position when a release instruction is detected, and at the same time, the release end point position is automatically adjusted in the adsorption area to move towards the focus position.
Reduces the complexity of release end point position adjustment, and can achieve accurate settings without frequent and fine adjustments, improving human-computer interaction efficiency.
Smart Images

Figure CN120053981A_ABST
Abstract
Description
[0001] This application claims priority to a Chinese patent application with an application date of July 6, 2024, an application number of "202410902382.0", and an invention title of "An Information Prompting Method, Device, Computer Equipment, and Storage Medium". Technical Field
[0002] This application relates to the field of human-computer interaction technology, and particularly relates to an operation control method, device, equipment, and storage medium. Background Art
[0003] In applications such as games, a virtual environment is provided. In the virtual environment, virtual objects that usually need to be controlled carry out activities in the virtual environment, such as walking, driving, climbing, picking up items, fighting, etc.
[0004] In the related art, in the scenario where a player releases a skill or a prop, the player needs to continuously adjust the position aimed at by the skill or the prop. Specifically, the player needs to perform operations such as pressing and sliding on the display screen of the terminal to adjust the release target position to ensure the hit rate.
[0005] However, the operation control complexity of the above skill or prop release method is relatively high, which is an urgent problem to be solved. Summary of the Invention
[0006] This application provides an operation control method, device, equipment, and storage medium, and the technical solutions are as follows:
[0007] According to one aspect of this application, an operation control method is provided. The method is executed by a computer device, and the method includes:
[0008] Display a first virtual object located in a virtual environment, where the first virtual object has a virtual skill or carries a virtual prop;
[0009] When detecting a release preview instruction of the virtual skill or the virtual prop triggered by a human-computer interaction operation, display the release end position of the virtual skill or the virtual prop;
[0010] When the release end position belongs to an adsorption area, control the release end position to move towards the focus position of the adsorption area;
[0011] When detecting a release instruction of the virtual skill or the virtual prop triggered by a human-computer interaction operation, control the virtual skill or the virtual prop to execute the release based on the release end position.
[0012] According to another aspect of this application, an operation control device is provided. The device includes:
[0013] A display module for displaying a first virtual object located in a virtual environment, where the first virtual object has a virtual skill or carries a virtual item;
[0014] The display module is further configured to display the release end position of the virtual skill or the virtual item when detecting a release preview instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation;
[0015] A processing module for controlling the release end position to move towards the focal position of the adsorption area when the release end position belongs to the adsorption area;
[0016] The processing module is further configured to control the virtual skill or the virtual item to perform a release based on the release end position when detecting a release instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation.
[0017] In an alternative design of the present application, the display module is further configured to:
[0018] When detecting the release preview instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation, display an operation indicator in a three-dimensional space, where the operation indicator is used to indicate the release end position of the virtual skill or the virtual item in the three-dimensional space;
[0019] The processing module is further configured to:
[0020] When the release end position belongs to the adsorption area, display the movement of the operation indicator towards the focal position of the adsorption area.
[0021] In an alternative design of the present application, the adsorption area includes a three-dimensional space area; the processing module is further configured to:
[0022] When the release end position belongs to the adsorption area, move towards the focal position of the adsorption area by changing the virtual height of the operation indicator in the three-dimensional space.
[0023] In an alternative design of the present application, the three-dimensional space includes at least two adsorption areas, and the at least two adsorption areas include a first adsorption area and a second adsorption area;
[0024] The processing module is further configured to:
[0025] When the release end position belongs to the first adsorption area, display the movement of the operation indicator towards the focal position of the first adsorption area;
[0026] The display module is further configured to:
[0027] In response to a switching release end - point position instruction triggered by a human - machine interaction operation, display that the operation indicator switches to the focus position of the second adsorption area.
[0028] In an alternative design of the present application, the at least two adsorption areas further include a third adsorption area, and the display module is further configured to:
[0029] Display that the second adsorption area is in an active state and the third adsorption area is in an inactive state;
[0030] Wherein, the second adsorption area belongs to the current visual field range of the first virtual object, and the third adsorption area does not belong to the current visual field range of the first virtual object; the switching release end - point position instruction cannot switch the operation indicator to the focus position of the third adsorption area.
[0031] In an alternative design of the present application, the display module is further configured to:
[0032] In response to the switching release end - point position instruction triggered by a human - machine interaction operation, when the second adsorption area meets the adsorption condition, display that the operation indicator switches to the focus position of the second adsorption area.
[0033] In an alternative design of the present application, the display module is further configured to:
[0034] When detecting the release preview instruction of the virtual skill or the virtual prop triggered by a human - machine interaction operation, display position - marking information in a two - dimensional plane, and the position - marking information is used to indicate the projection position of the release end - point position of the virtual skill or the virtual prop in the two - dimensional plane;
[0035] The processing module is further configured to:
[0036] When the release end - point position belongs to the adsorption area, display that the position - marking information moves towards the focus position of the adsorption area.
[0037] In an alternative design of the present application, the processing module is further configured to perform at least one of the following:
[0038] Display a transition animation of the release end - point position towards the adsorption area;
[0039] Display positioning the release end - point position to the focus position of the adsorption area.
[0040] In an alternative design of the present application, the processing module is further configured to:
[0041] When the release end position is positioned at the focus position of the adsorption area, in response to the duration of the release position movement instruction of the virtual skill or the virtual prop triggered by the human-computer interaction operation exceeding the first duration and / or the movement position indicated by the position movement instruction exceeding the adsorption area, control the release end position to disengage from the focus position and be positioned at the corrected position indicated by the release position movement instruction.
[0042] In an alternative design of the present application, the processing module is further configured to:
[0043] When the release end position is positioned at the focus position of the adsorption area, in response to the release position movement instruction of the virtual skill or the virtual prop triggered by the human-computer interaction operation, start a timer corresponding to the focus position, and the timing threshold of the timer is the first duration;
[0044] In response to the timing duration of the timer reaching the timing threshold, control the release end position to disengage from the focus position and be positioned at the corrected position indicated by the release position movement instruction.
[0045] According to another aspect of the present application, there is provided a computer device, which includes a processor and a memory. At least one instruction, at least one program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the operation control method described in the above aspect.
[0046] According to another aspect of the present application, there is provided a computer-readable storage medium, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the operation control method described in the above aspect.
[0047] According to another aspect of the present application, there is provided a computer program product, which includes computer instructions. The computer instructions are stored in a computer-readable storage medium, and the processor reads and executes the computer instructions from the computer-readable storage medium to implement the operation control method described in the above aspect.
[0048] The beneficial effects brought by the technical solution provided by the present application at least include:
[0049] By controlling the movement of the release end position towards the focal position of the adsorption area, it is possible to adjust the release end position based on the focal position without the controller of the first virtual object having to precisely indicate the release end position of the virtual skill or virtual item. This reduces the complexity of adjusting the release end position through human-machine interaction operations, eliminating the need for frequent fine-tuning of the position of the human-machine interaction operations, enabling accurate setting of the release end position, and improving the efficiency of human-machine interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following-described drawings are only some embodiments of the present application, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.
[0051] Figure 1 is a block diagram of the structure of a computer system provided by an exemplary embodiment of the present application;
[0052] Figure 2 is a schematic diagram of an operation control method provided by an exemplary embodiment of the present application;
[0053] Figure 3 is a flowchart of an operation control method provided by an exemplary embodiment of the present application;
[0054] Figure 4 is a flowchart of an operation control method provided by an exemplary embodiment of the present application;
[0055] Figure 5 is a flowchart of an operation control method provided by an exemplary embodiment of the present application;
[0056] Figure 6 is a schematic diagram of the perspective of an object provided by an exemplary embodiment of the present application;
[0057] Figure 7 is a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application;
[0058] Figure 8 is a flowchart of an operation control method provided by an exemplary embodiment of the present application;
[0059] Figure 9 is a flowchart of an operation control method provided by an exemplary embodiment of the present application;
[0060] Figure 10 is a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application;
[0061] Figure 11It is a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application;
[0062] Figure 12 It is a flowchart of an operation control method provided by an exemplary embodiment of the present application;
[0063] Figure 13 It is a flowchart of an operation control method provided by an exemplary embodiment of the present application;
[0064] Figure 14 It is a schematic diagram of a virtual map provided by an exemplary embodiment of the present application;
[0065] Figure 15 It is a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application;
[0066] Figure 16 It is a flowchart of an operation control method provided by an exemplary embodiment of the present application;
[0067] Figure 17 It is a flowchart of an operation control method provided by an exemplary embodiment of the present application;
[0068] Figure 18 It is a structural block diagram of an operation control device provided by an exemplary embodiment of the present application;
[0069] Figure 19 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
[0070] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing the embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Detailed Embodiments
[0071] To make the objectives, technical solutions, and advantages of the present application clearer, the following will describe the embodiments of the present application in further detail in conjunction with the accompanying drawings.
[0072] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0073] The terms used in this disclosure are for the purpose of describing particular embodiments only and are not intended to limit the disclosure. The singular forms "a", "the", and "said" used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0074] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of the relevant data need to comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the information such as the release preview instruction triggered by a human-computer interaction operation and the switching of the release mode involved in this application are all obtained under sufficient authorization.
[0075] It should be understood that although the terms first, second, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this disclosure, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".
[0076] Figure 1 The block diagram of the computer system provided by an exemplary embodiment of this application is shown. The computer system 100 includes: a first terminal 110, a server 120, and a second terminal 130.
[0077] The first terminal 110 installs and runs a client 111 that supports a virtual environment. The client 111 can be a multiplayer online battle program. When the first terminal runs the client 111, the user interface of the client 111 is displayed on the screen of the first terminal 110. The client 111 can be any one of a battle royale shooting game, a Virtual Reality (VR) application, an Augmented Reality (AR) program, a 3D map program, a virtual reality game, an augmented reality game, a casual game, a party game, a First-Person Shooting Game (FPS), a Third-Personal Shooting Game (TPS), a Multiplayer Online Battle Arena Games (MOBA), and a Simulation Game (SLG). In this embodiment, the client 111 is taken as an FPS game for example. The first terminal 110 is a terminal used by the first user 112. The first user 112 uses the first terminal 110 to control a first virtual object located in the virtual environment to perform activities. The first virtual object can be called the virtual object of the first user 112. The activities of the first virtual object include, but are not limited to, at least one of moving, jumping, teleporting, releasing skills, using items, adjusting body postures, crawling, walking, running, cycling, flying, jumping, driving, picking up, shooting, attacking, and throwing. Schematically, the first virtual object is a first virtual object, such as a simulated character or an anime character.
[0078] The second terminal 130 installs and runs a client 131 that supports a virtual environment. The client 131 can be a multiplayer online battle program. When the second terminal 130 runs the client 131, the user interface of the client 131 is displayed on the screen of the second terminal 130. The client can be any one of a battle royale shooting game, a VR application, an AR program, a 3D map program, a virtual reality game, an augmented reality game, an FPS, a TPS, a MOBA, and an SLG. In this embodiment, the client is taken as a MOBA game for example. The second terminal 130 is a terminal used by the second user 132. The second user 132 uses the second terminal 130 to control a second virtual object located in the virtual environment to perform activities. The second virtual object can be called the virtual object of the second user 132. Schematically, the second virtual object is a second virtual object, such as a simulated character or an anime character.
[0079] Optionally, the first virtual object and the second virtual object are in the same virtual environment. Optionally, the first virtual object and the second virtual object may belong to the same camp, the same team, the same organization, have a friendship relationship, or have temporary communication permissions. Optionally, the first virtual object and the second virtual object may belong to different camps, different teams, different organizations, or have a hostile relationship.
[0080] Optionally, the clients installed on the first terminal 110 and the second terminal 130 are the same, or the clients installed on the two terminals are of the same type on different operating system platforms (Android or iOS). The first terminal 110 can generally refer to one of multiple terminals, and the second terminal 130 can generally refer to another of multiple terminals. This embodiment only uses the first terminal 110 and the second terminal 130 as an example for illustration. The device types of the first terminal 110 and the second terminal 130 are the same or different, and the device types include at least one of a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer.
[0081] Figure 1 Only two terminals are shown in the figure, but in different embodiments, there are multiple other terminals 140 that can access the server 120. Optionally, there is also one or more terminals 140 that are terminals corresponding to developers. A development and editing platform for the client that supports the virtual environment is installed on the terminals 140. The developer can edit and update the client on the terminals 140, and transmit the updated client installation package to the server 120 through a wired or wireless network. The first terminal 110 and the second terminal 130 can download the client installation package from the server 120 to update the client.
[0082] The first terminal 110, the second terminal 130, and the other terminals 140 are connected to the server 120 through a wireless network or a wired network.
[0083] The server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server 120 is used to provide background services for the client that supports the three-dimensional virtual environment. Optionally, the server 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, the server 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, a distributed computing architecture is adopted between the server 120 and the terminal for collaborative computing.
[0084] In a schematic example, the server 120 includes a processor 122, a user account database 123, a battle service module 124, and a user-oriented input / output interface (I / O interface) 125. Among them, the processor 122 is used to load the instructions stored in the server 120 and process the data in the user account database 123 and the battle service module 124; the user account database 123 is used to store the data of the user accounts used by the first terminal 110, the second terminal 130, and other terminals 140, such as the avatar of the user account, the nickname of the user account, the combat power index of the user account, and the service area where the user account is located; the battle service module 124 is used to provide multiple battle rooms for users to conduct battles, such as 1V1 battles, 3V3 battles, 5V5 battles, etc.; the user-oriented I / O interface 125 is used to establish communication with the first terminal 110 and / or the second terminal 130 through a wireless network or a wired network to exchange data.
[0085] The method provided in this application can be, but is not limited to, applied to at least one of the following scenarios: virtual reality applications, three-dimensional map programs, casual games, party games, first-person shooting games (FPS), third-person shooting games (TPS), multiplayer online battle arena games (MOBA), multiplayer gunfight survival games, etc. The following embodiments are illustrated by taking the application in games as an example.
[0086] Figure 2 The figure shows a schematic diagram of an operation control method provided by an exemplary embodiment of this application.
[0087] In the first interface 310, a first virtual object 302 located in the virtual environment is displayed; the first virtual object 302 has a virtual skill, and the virtual skill is used to release a virtual storm in the virtual environment to block the vision of the virtual objects within the effective range of the virtual skill and cause virtual damage to the virtual objects within the effective range of the virtual skill. It can be understood that in different implementation manners, the virtual skill has other skill effects; or, the first virtual object 302 carries virtual items.
[0088] Exemplarily, in response to a long - press operation on the skill control of a virtual skill, a release preview instruction of the virtual skill is received, and the release end position 312 of the virtual skill is displayed. The effective range of the virtual skill is a spherical range, and the release end position 312 is the center of the spherical range; the edge contour 314 of the spherical range is displayed in the virtual environment to present the effective range of the virtual skill. Exemplarily, in response to a long - press operation on the skill control of a virtual skill, it is shown that the first virtual object 302 holds a virtual storm within the spherical range and is in a ready state to release the virtual skill.
[0089] There is an adsorption area in the virtual environment, and the adsorption area includes a focus position 315. It should be noted that the focus position 315 and its adsorption area may be visible or invisible in the virtual environment. When the release end position 312 belongs to the adsorption area, the release end position 312 is controlled to move towards the focus position 315 of the adsorption area. Referring to the second interface 320, the release end position 312 moves from the initial position 312a in the right - hand direction and approaches the focus position 315.
[0090] Referring to the third interface 330, in response to a release operation on the skill control of the virtual skill, a release instruction of the virtual skill is received, and the virtual skill is controlled to be released based on the release end position; a transition animation of releasing the virtual skill is displayed, and an effect animation 335 is displayed on the effective range of the virtual skill in the virtual environment. In the third interface 330, after releasing the virtual skill, the first virtual object 302 no longer holds the virtual storm within the spherical range but holds the virtual shooting prop carried before using the virtual skill.
[0091] Next, the operation control method will be introduced through the following embodiments.
[0092] Figure 3 The flowchart of the operation control method provided by an exemplary embodiment of the present application is shown. This method can be executed by a computer device. The method includes:
[0093] Step 510: Display a first virtual object located in the virtual environment.
[0094] In the virtual environment, the first virtual object has a virtual skill or carries a virtual prop. The virtual environment is a virtual space for the first virtual object to perform virtual activities; for example, the first virtual object uses virtual skills and / or virtual props in a virtual game to perform virtual competitions in the virtual game. The virtual environment can be any one of a two - dimensional virtual environment, a 2.5 - dimensional virtual environment, and a three - dimensional virtual environment.
[0095] Exemplarily, a virtual skill may be an attack skill for causing virtual damage, a defense skill for providing virtual protection, or a support skill for providing a gain effect when launching a virtual attack on a friendly virtual object; similarly, a virtual prop may be at least one of an attack prop, a defense prop, and a support prop; the present application does not limit the types of virtual skills and virtual props.
[0096] Step 520: When a release preview instruction of a virtual skill or virtual item triggered by a human-computer interaction operation is detected, the release end position of the virtual skill or virtual item is displayed.
[0097] Exemplarily, the release preview instruction is used to indicate that the user controlling the first virtual object has the intention to use the virtual skill or virtual prop, and human-computer interaction is achieved by displaying the release end position so that the user can adjust the release end position to the desired position.
[0098] The human-computer interaction operation includes at least one of single-click, double-click, long-press, and drag operations. For example, single-click, double-click, or long-press a trigger control corresponding to a touch screen, drag a sliding control corresponding to a touch screen, drag a joystick of a handle device, etc. In one implementation, the human-computer interaction operation that triggers the release preview instruction is a drag operation, and the display position of the release end position is adjusted according to the drag position to adjust the release end position.
[0099] Step 530: When the release end point position belongs to the adsorption area, control the release end point position to move toward the focus position of the adsorption area.
[0100] In the present embodiment, there is at least one adsorption region, and the adsorption region includes a focal position. For example, the focal position is the center point of the adsorption region, but it does not exclude the case where the focal position is other position points or edge points inside the adsorption region.
[0101] Exemplarily, in the case where the release end position belongs to the adsorption area, there is an intention to set the release end position to the focal position of the adsorption area. By controlling the release end position to move toward the focal position of the adsorption area, the release end position is brought close to the focal position without the need for human-computer interaction to perform precise adjustments to the release end position.
[0102] Exemplarily, as described above, the number of adsorption areas can be one or more; the location of the adsorption area can be pre-set by the developer or user of the application, or can be determined based on the historical activity information of the first virtual object in the virtual environment. This application is not limited to this. In some examples, the adsorption area corresponds to a location point in the virtual environment that is important to virtual competition, such as the intersection of the position range between two hostile virtual camps in the virtual environment.
[0103] Step 540: When a release instruction for a virtual skill or virtual item triggered by a human-computer interaction operation is detected, control the virtual skill or virtual item to be released based on the release end position.
[0104] Exemplarily, the release instruction is used to indicate the use of a virtual skill or virtual item, and the virtual skill or virtual item is controlled to be released based on the release end position. Exemplarily, the release end position is used to indicate that within the effective time of the virtual skill or virtual item, there is at least one moment when the virtual skill or virtual item passes through the release end position. However, it does not exclude the manner in which the virtual skill or virtual item moves from the position of the first virtual object or other positions to the release end position.
[0105] In summary, the method provided in this embodiment realizes the adjustment of the release end position based on the focus position without the need for the controller of the first virtual object to accurately indicate the release end position of the virtual skill or virtual item by controlling the movement of the release end position towards the focus position of the adsorption area; reduces the complexity of adjusting the release end position through human-computer interaction operations, and the accurate setting of the release end position can be achieved without frequently and finely adjusting the position of the human-computer interaction operation, thereby improving the human-computer interaction efficiency.
[0106] Regarding the display method of the release end position, the present application provides at least one of the following implementation manners:
[0107] Implementation manner 1: Display an operation indicator in the three-dimensional space for indicating the release end position;
[0108] Implementation manner 2: Display position marking information in the two-dimensional plane for indicating the release end position.
[0109] Regarding implementation manner 1: Display an operation indicator in the three-dimensional space for indicating the release end position; the specific introduction is as follows:
[0110] Figure 4 The flowchart of an operation control method provided by an exemplary embodiment of the present application is shown. This method can be executed by a computer device. That is, in Figure 3 In the shown embodiment, step 520 can be implemented as step 522, and step 530 can be implemented as step 532:
[0111] Step 522: When a release preview instruction for a virtual skill or virtual item triggered by a human-computer interaction operation is detected, display an operation indicator in the three-dimensional space.
[0112] In this embodiment, the operation indicator is used to indicate the release end position of a virtual skill or virtual item in three-dimensional space; optionally, the operation indicator can be an indicator visible only to the controller of the first virtual object, and the controllers of other virtual objects in the virtual environment cannot view the operation indicator through the viewing perspectives of other virtual objects.
[0113] Exemplarily, the operation indicator can be displayed on the heads-up display (HUD) layer of the viewing screen of the first virtual object for the virtual environment to enhance the immersion of the operation indicator. The operation indicator can be displayed in a semi-transparent style to avoid blocking other spatial parts in the three-dimensional space.
[0114] In this embodiment, the operation indicator can be displayed in the three-dimensional space provided by the virtual environment or in the spatial map information displayed in a three-dimensional manner. In an optional implementation manner, this step can be implemented as:
[0115] When a release preview instruction for a virtual skill or virtual item triggered by a human-computer interaction operation is detected, the operation indicator is displayed in the virtual environment.
[0116] Correspondingly, the virtual environment provides a three-dimensional space for the first virtual object to perform virtual activities. By displaying the operation indicator in the three-dimensional space, the three-dimensional position information indicating the release end position of the virtual skill or virtual item is realized. Further, by displaying the operation indicator in the virtual environment summary, the environment information of the virtual environment and the release end position are simultaneously displayed, enhancing the immersion of the virtual environment. In one implementation manner, the operation indicators introduced in the following embodiments can all be implemented as being displayed in the virtual environment, and the present application does not limit this.
[0117] Further, it further includes: in response to a switching release mode instruction triggered by a human-computer interaction operation, controlling the adsorption area to be in an invalid state.
[0118] Exemplarily, the switching release mode instruction is used to indicate switching the release mode of the virtual skill or virtual item, and in this embodiment, it is used to indicate that the adsorption area attracts the release terminal position to cause the operation indicator to move to the focal position of the adsorption area; after switching to the adsorption area being in an invalid state, there is no movement association relationship between the adsorption area and the release end position.
[0119] Exemplarily, the movement association relationship is used to indicate that the adsorption area attracts the release end position, so that the release end position is affected by the adsorption area and moves. In this embodiment, there is no movement association relationship between the adsorption area and the release end position; regardless of the positional relationship between the adsorption area and the release end position, it does not affect the movement of the release end position. Further, the release end position moves with the perspective of the first virtual object.
[0120] It can be understood that in different implementation manners, when the adsorption area is in an invalid state, in response to a switching release mode instruction triggered by a human-computer interaction operation, when the release end position belongs to the adsorption area, the display operation indicator moves to the focal position of the adsorption area.
[0121] Step 532: When the release end position belongs to the adsorption area, the display operation indicator moves to the focal position of the adsorption area.
[0122] Exemplarily, when the release end position belongs to the adsorption area, by controlling the release end position to move to the focal position of the adsorption area, without the need for a human-computer interaction operation to precisely adjust the release end position, the release end position is brought closer to the focal position.
[0123] In summary, the method provided in this embodiment ensures the immersion of the three-dimensional space when displaying the release end position by displaying the operation indicator in the three-dimensional space. The display operation indicator moves to the focal position of the adsorption area where it is located, realizing the adjustment of the release end position based on the focal position without the need for the control party of the first virtual object to precisely indicate the release end position of the virtual skill or virtual prop; reducing the complexity of adjusting the release end position through human-computer interaction operations, without the need to frequently and finely adjust the position of the human-computer interaction operation, and being able to accurately set the release end position, thereby improving the human-computer interaction efficiency.
[0124] Figure 5 Shows a flowchart of an operation control method provided by an exemplary embodiment of the present application. This method can be executed by a computer device. That is, in Figure 4 In the illustrated embodiment, step 532 can be implemented as step 532a:
[0125] Step 532a: When the release end position belongs to the adsorption area, move to the focal position of the adsorption area by changing the virtual height of the operation indicator in the three-dimensional space.
[0126] Exemplarily, the adsorption area includes a three-dimensional space area; by changing the virtual height, the operation indicator moves towards the focal position of the adsorption area; this avoids the problem that when the first virtual object observes a plane at a high position, due to the perspective occlusion in the three-dimensional space, frequent adjustments are required when setting the release end position of the virtual skill or virtual prop on a plane at a high position.
[0127] In an alternative example, the release end position of the virtual skill or virtual prop cannot be set on the side wall of the virtual wall. Optionally, when the release end position cannot be set, the release end position is not displayed. In this embodiment, when the release end position belongs to the adsorption area, by changing the virtual height of the operation indicator in the three-dimensional space, it moves towards the focal position of the adsorption area; this can narrow the range where the release end position is not displayed and reduce the complexity of the human-computer interaction for setting the release end position of the virtual prop on a plane at a high position.
[0128] In an alternative implementation, before step 532a, it further includes:
[0129] · Obtain the object perspective of the first virtual object.
[0130] In this embodiment, the release end position is determined based on the object perspective of the first virtual object; for example, the release end position is at the center point in the object perspective of the first virtual object.
[0131] Correspondingly, step 532a can be implemented as:
[0132] · When the object perspective meets the observation perspective condition, by increasing the virtual height of the release end position, determine a position set including at least one reference release position.
[0133] Exemplarily, the observation perspective condition includes that the pitch angle of the object perspective of the first virtual object is greater than 0; for example, the first virtual object observes the virtual environment in a way higher than the horizontal plane of the virtual environment.
[0134] · When at least one position in the position set belongs to the adsorption area, by changing the virtual height of the operation indicator in the three-dimensional space, move towards the focal position of the adsorption area.
[0135] Figure 6 Shows a schematic diagram of the object perspective provided by an exemplary embodiment of the present application. The object perspective of the first virtual object 602 is used to indicate the perspective angle 604 at which the first virtual object 602 observes the virtual environment. When the perspective angle 604 is higher than the horizontal plane 605 in the virtual environment, by increasing the virtual height of the release end position, determine a position set of at least one reference release position.
[0136] Among them, the release end position is the collision position between the viewing angle 604 and the environmental item 610 in the virtual environment. When at least one position in the position set belongs to the adsorption area, that is, at least one position in the position set of the release end position corresponding to the viewing angle 604 in the vertical direction belongs to the adsorption area, the condition that the adsorption area causes the release end position to move is satisfied.
[0137] Furthermore, the virtual skill or virtual item is used to place virtual items in the virtual environment. Exemplarily, the virtual item placed by the first virtual object in the virtual environment can be an attack item (such as a virtual sentry shooting device) for performing virtual attacks, or a virtual item (such as a virtual medical kit) for the virtual object to pick up. Exemplarily, the focal position in the adsorption area is located on the outer surface of the environmental item in the virtual environment; the environmental information around the focal position meets the placement conditions of the virtual item. Exemplarily, the placement conditions include that the inclination angle of the collision body plane around the focal position is less than the angle threshold, so as to set the focal position on a relatively flat plane in the virtual environment. The adsorption area is an area including the focal position. Similarly, the position of the focal position in the adsorption area in this embodiment is not limited.
[0138] This embodiment realizes that when the object view of the first virtual object does not accurately point to a plane at a high place, by increasing the virtual height of the release end position, it moves towards the focal position of the adsorption area, reducing the complexity of the human-computer interaction for setting the release end position of the virtual item on a plane at a high place.
[0139] Figure 7 A schematic diagram of a virtual environment provided by an exemplary embodiment of the present application is shown. In subfigure (a), the first virtual object 612 carries a virtual item for placing a virtual robot in the virtual environment.
[0140] When a release preview instruction of the virtual item triggered by a human-computer interaction operation is detected, an operation indicator 614 is displayed in the virtual environment providing a three-dimensional space. The operation indicator 614 immersively displays the placement position of the virtual robot in the virtual environment in the appearance style of the virtual robot, that is, the release end position of the virtual item. The operation indicator 614 includes a direction indicator 614a for indicating the moving direction of the virtual robot in the virtual environment after placing the virtual robot. Exemplarily, the display position of the operation indicator 614 is determined according to the visual center position 615 of the first virtual object, and by adjusting the object view of the first virtual object 612, the display position of the operation indicator 614 in the virtual environment is changed accordingly.
[0141] Referring to sub - figure (b), in the related art, when placing a virtual robot on the high - altitude plane 625, the center position 615 of the field of view of the first virtual object needs to be accurately aligned with the high - altitude plane 625. The controller of the first virtual object 612 needs to frequently adjust the object view angle of the first virtual object 612 to avoid the side wall of the high - altitude plane 625 where the virtual robot cannot be placed.
[0142] Referring to sub - figure (c), in an example provided by the present application, when the center position 615 of the field of view of the object view angle of the first virtual object 612 does not accurately point to the high - altitude plane 625, by changing the virtual height of the release end position, it moves towards the focal position of the adsorption area, moving the release end position to a higher or lower position to move onto the high - altitude plane 625. This reduces the complexity of the human - machine interaction for setting the release end position of the virtual prop on the high - altitude plane.
[0143] In summary, the method provided in this embodiment shows that the operation indicator moves towards the focal position of the adsorption area where it is located. When the controller of the first virtual object does not need to accurately indicate the release end position of the virtual skill or virtual prop, the release end position is adjusted based on the focal position; it reduces the complexity of adjusting the release end position through human - machine interaction operations. When the object view angle of the first virtual object does not accurately point to the high - altitude plane, by increasing the virtual height of the release end position; it avoids the problem that when observing the high - altitude plane by the first virtual object, due to the perspective occlusion in the three - dimensional space, frequent adjustments are required when setting the release end position of the virtual skill or virtual prop on the high - altitude plane.
[0144] Figure 8 The flowchart of the operation control method provided by an exemplary embodiment of the present application is shown. The method includes:
[0145] Step 702: Display the virtual environment and the first virtual object;
[0146] In the virtual environment, the first virtual object has a virtual skill or carries a virtual prop, and the virtual environment is the virtual space for the first virtual object to perform virtual activities.
[0147] Step 704: Determine whether the aiming sight position is aligned with the virtual obstacle;
[0148] Exemplarily, the release end position is determined according to the aiming sight position at the center of the current field of view of the first virtual object.
[0149] In this step, it is determined whether the sight position is aligned with the virtual obstacle; in the case where the sight position is aligned with the virtual obstacle, it is impossible to release a virtual skill or virtual item at the position where the virtual obstacle is located, and step 706 is executed. In the case where the sight position is not aligned with the virtual obstacle, there is a corresponding ground position at the sight position, and step 715 is executed.
[0150] Step 706: Obtain the viewing angle of the first virtual object;
[0151] The viewing angle is the viewing angle at which the first virtual object observes the virtual environment. The viewing angle includes the viewing angle of the first virtual object in three-dimensional space. The angle information of the viewing angle is spatial information in three-dimensional space.
[0152] Step 708: Determine whether the pitch angle of the first virtual object is higher than the virtual horizontal plane;
[0153] The pitch angle of the first virtual object is the component in the vertical direction of the angle information of the viewing angle, which is spatial information in three-dimensional space.
[0154] In the case where the pitch angle of the first virtual object is higher than the virtual horizontal plane, there is a willingness to release a virtual skill or virtual item at a high position, and step 710 is executed; in the case where the pitch angle of the first virtual object is not higher than the virtual horizontal plane, step 715 is executed to release a virtual skill or virtual item at a low ground position.
[0155] Step 710: Determine whether there is a high plane in the vertical downward direction from the high position of the release end position;
[0156] In the case where the object viewing angle of the first virtual object does not accurately point to the high plane, it is determined whether there is a high plane in the vertical downward direction from the high position of the release end position to determine whether a virtual skill or virtual item can be released in the vertical direction.
[0157] In the case where there is a high plane in the vertical downward direction, step 712 is executed; in the case where there is no high plane in the vertical downward direction, step 715 is executed.
[0158] Step 712: Determine whether the high plane meets the placement conditions of the virtual item;
[0159] This step is executed in the case where there is a high plane in the vertical downward direction. By determining whether the high plane meets the placement conditions of the virtual item, it is determined whether to display the preview information of the virtual item.
[0160] In the case where the high plane meets the placement conditions of the virtual item, step 714 is executed; in the case where the high plane does not meet the placement conditions of the virtual item, step 715 is executed.
[0161] Step 714: Display preview information of the virtual item;
[0162] Exemplarily, if a virtual skill or virtual item intends to place a virtual item in a virtual environment, for example, an operation indicator is displayed in a virtual environment providing a three-dimensional space, and the operation indicator immersively displays the placement position of the virtual robot in the virtual environment in the appearance style of the virtual item.
[0163] Step 715: Determine the ground position corresponding to the release end position;
[0164] Exemplarily, when the release end position is on the virtual ground, the corresponding ground position is the position where the release end position is located. When the release end position is on a virtual obstacle, the corresponding ground position is the projection position of the release end position on the virtual ground.
[0165] Step 716: Determine whether the ground position meets the placement conditions of the virtual item;
[0166] By determining whether the ground position meets the placement conditions of the virtual item, it is determined whether to display the preview information of the virtual item. When the ground position meets the placement conditions of the virtual item, execute Step 714; when the ground position does not meet the placement conditions of the virtual item, execute Step 718.
[0167] Step 718: Determine that the virtual item cannot be placed;
[0168] Exemplarily, the operation indicator is not displayed, or the operation indicator is displayed as a non-placeable style to indicate that the virtual item is in a non-placeable state and cannot be placed in the virtual environment.
[0169] Figure 9 The flowchart of an operation control method provided by an exemplary embodiment of the present application is shown. This method can be executed by a computer device. That is, in Figure 4 In the shown embodiment, Step 532 can be implemented as Step 532b, and further includes Step 535:
[0170] Step 532b: When the release end position belongs to the first adsorption area, display the operation indicator moving towards the focal position of the first adsorption area.
[0171] In this embodiment, the three-dimensional space includes at least two adsorption areas, and the at least two adsorption areas include a first adsorption area and a second adsorption area. The first adsorption area and the second adsorption area are usually two independent areas, and it does not exclude the case where there is an overlapping part.
[0172] Step 535: In response to a switching release end position instruction triggered by a human-computer interaction operation, the display operation indicator switches to the focus position of the second adsorption area.
[0173] Exemplarily, the switching release end position instruction is used to indicate switching the release end position of a virtual skill or virtual item to the focus position of a different adsorption area. In step 532b, the display operation indicator moves to the focus position of the first adsorption area; in response to the switching release end position instruction, the release end position of the virtual skill or virtual item is switched to the focus position of a different adsorption area, that is, switched to the focus position of the second adsorption area different from the first adsorption area.
[0174] The switching release end position instruction can achieve quick switching between the focus positions of different adsorption areas. When the position difference between different adsorption areas is relatively large, there is no need to switch the release end position by adjusting the perspective of the first virtual object multiple times or over a long distance. Only through a single human-computer interaction operation (such as a click operation on a switching control) that triggers the switching release end position instruction, quick switching between the focus positions of different adsorption areas is achieved.
[0175] Figure 10 Shows a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application. In sub-diagram (a), a first virtual object 302 located in the virtual environment is displayed; the first virtual object 302 has a virtual skill, and the virtual environment includes a first adsorption area and a second adsorption area; when the release end position belongs to the first adsorption area, the display operation indicator moves to the focus position of the first adsorption area, the release end position 312 of the displayed virtual skill is located at the focus position of the first adsorption area, and the edge contour 314 of the spherical effective range of the displayed virtual skill is shown.
[0176] In response to a click operation 304 on the switching control, the triggered switching release end position instruction switches the release end position to the focus position of the second adsorption area. In sub-diagram (b), the updated release end position 312a is displayed. With the focus position of the second adsorption area as the center of the sphere, the updated edge contour 314a of the spherical effective range of the virtual skill is shown.
[0177] In response to receiving the release instruction of the virtual skill, control the virtual skill to execute the release based on the release end position; in sub-diagram (c), a transition animation of releasing the virtual skill is displayed, and an effect animation 335 is displayed on the effective range of the virtual skill in the virtual environment. After releasing the virtual skill, the first virtual object 302 no longer holds the virtual storm with a spherical range and holds the virtual shooting item carried before using the virtual skill.
[0178] In an optional implementation manner, step 535 can be implemented as:
[0179] ·In response to a switching release end position instruction triggered by a human - machine interaction operation, display an operation indicator at the focal position of the second adsorption area in the second field of view, and display the marking information of the second adsorption area in a visually prominent manner;
[0180] In this embodiment, the second field of view is the observation range of the virtual environment with the focal position of the second adsorption area as the center of the field of view of the first virtual object. On the basis of realizing the switching of the release end position of the virtual skill or virtual prop to the focal position of a different adsorption area, the observation perspective of the first virtual object on the virtual environment is synchronously switched; in the second field of view, the focal position of the second adsorption area is the center of the field of view, which can improve the visual prominence of the focal position of the second adsorption area in the field of view and facilitate the first virtual object to perform virtual activities on the focal position of the second adsorption area.
[0181] Exemplarily, displaying the marking information of the second adsorption area in a visually prominent manner can be implemented as at least one of highlighting, flashing, or color - inversion display of the second adsorption area, so as to improve the visual prominence of the second adsorption area in the virtual environment. In one example, the marking information includes at least one of the following:
[0182] The area - range marking of the second adsorption area displayed in the virtual environment; by directly displaying the area - range marking of the second adsorption area in the virtual environment, on the basis of ensuring the observation of the virtual environment, the position of the second adsorption area is directly shown. In one example, the area - range marking is implemented as a highlighted marking of the second adsorption area, such as displaying a light - column effect at the position where the second adsorption area is located.
[0183] The first focal marking of the focal position of the second adsorption area displayed in the virtual environment in a way that penetrates virtual obstacles; by displaying the first focal marking in a way that penetrates virtual obstacles, it avoids the occlusion of the marking information by virtual obstacles in the virtual environment. The first focal marking conforms to the observation law of objects being larger when closer and smaller when farther away during the observation of the virtual environment. It enables the controller of the first virtual object to obtain the orientation of the second adsorption area according to the position of the first focal marking, and obtain the distance between the second adsorption area and the current position according to the size of the first focal marking.
[0184] The second focal marking of the focal position of the second adsorption area displayed on the map indicator; by displaying the second focal marking on the map indicator, on the one hand, it avoids the occlusion of the observation of the virtual environment caused by the display of the marking information. On the other hand, the map indicator includes the terrain information on the periphery of the first virtual environment and has a larger range compared to the displayed observation picture of the virtual environment, realizing the observation of the relative position of the second adsorption area in the virtual environment from a more macroscopic perspective.
[0185] It should be noted that in different implementation manners of the present application, it can be implemented as follows: in response to a switching release end position instruction triggered by a human-computer interaction operation, an operation indicator is displayed to switch to the focal position of the second adsorption area in the second field of view; and / or, in response to a switching release end position instruction triggered by a human-computer interaction operation, an operation indicator is displayed to switch to the focal position of the second adsorption area, and the marking information of the second adsorption area is displayed in a visually prominent manner.
[0186] In summary, the method provided in this embodiment shows that the operation indicator moves to the focal position of the adsorption area where it is located, realizing the adjustment of the release end position based on the focal position without the need for the controller of the first virtual object to accurately indicate the release end position of the virtual skill or virtual prop; through the switching release end position instruction, the release end position is switched from the focal position of the first adsorption area to the focal position of the second adsorption area, providing a function entry for switching adsorption areas in the case where there are multiple adsorption areas in the virtual environment; without frequently and finely adjusting the position of the human-computer interaction operation, the accurate setting of the release end position on the focal position can be realized, improving the human-computer interaction efficiency.
[0187] In Figure 9 On the basis of the illustrated embodiment, in a further implementation manner, at least two adsorption areas further include a third adsorption area, that is, on the basis of the illustrated embodiment, it further includes: Figure 9 On the basis of the illustrated embodiment, it further includes:
[0188] · Display that the second adsorption area is in an active state and the third adsorption area is in an inactive state;
[0189] In this embodiment, at least two adsorption areas further include a third adsorption area. Among the three areas, as introduced above, the operation indicator moves to the focal position of the first adsorption area.
[0190] In this step, the second adsorption area belongs to the current field of view of the first virtual object, and the third adsorption area does not belong to the current field of view of the first virtual object; the second adsorption area is displayed in an active state, indicating that the switching release end position instruction has the permission to switch the operation indicator to the focal position of the second adsorption area. The third adsorption area is in an inactive state, indicating that the switching release end position instruction cannot switch the operation indicator to the focal position of the third adsorption area, that is, the permission of the switching release end position instruction to switch the operation indicator to the focal position of the third adsorption area is empty.
[0191] Exemplarily, the active state and the inactive state of the adsorption area can be displayed in the virtual environment or on a map indicator superimposed on the virtual environment.
[0192] In an alternative implementation, the activation state and the non-activation state of the adsorption area are displayed on the map indicator; correspondingly, the above steps can be implemented as follows:
[0193] On the map indicator, the second adsorption area within the current field of view of the first virtual object is displayed as the activation state, and the third adsorption area outside the current field of view of the first virtual object is displayed as the non-activation state.
[0194] Exemplarily, the map indicator is superimposed on the virtual environment, such as being displayed in the upper right corner, and while not affecting the observation effect of the virtual environment, the terrain information of the virtual environment is also displayed.
[0195] Exemplarily, the map indicator is used to display the terrain information of a part of the virtual environment centered on the first virtual object. Exemplarily, the terrain information of the virtual environment displayed in the map indicator changes correspondingly as the position of the first virtual object changes.
[0196] Exemplarily, the map indicator includes the terrain information on the periphery of the first virtual environment, which has a larger range compared to the observation screen of the virtual environment, and realizes observing the relative position of the second adsorption area in the virtual environment from a more macroscopic perspective.
[0197] The activation state and the non-activation state of the adsorption area can be implemented as the adsorption area having different appearance styles, or can be implemented as the display area where the adsorption area is located having different appearance styles.
[0198] In another alternative implementation, as the perspective of the first virtual object changes, the activation state of the adsorption area changes; correspondingly, it further includes:
[0199] In response to a perspective rotation instruction triggered by a human-computer interaction operation, an updated field of view is displayed, and the second adsorption area is displayed as the non-activation state and the third adsorption area is displayed as the activation state.
[0200] In the updated field of view, the second adsorption area does not belong to the updated field of view of the first virtual object, indicating that the switching release end position instruction cannot switch the operation indicator to the focus position of the second adsorption area, that is, the permission to switch the operation indicator to the focus position of the second adsorption area by the switching release end position instruction is empty. The third adsorption area belongs to the updated field of view of the first virtual object, indicating that the switching release end position instruction has the permission to switch the operation indicator to the focus position of the third adsorption area.
[0201] Figure 11A schematic diagram of a virtual environment provided by an exemplary embodiment of the present application is shown. Subfigure (a) is an observation screen obtained by observing the virtual environment from the first perspective of the first virtual object 302 located in the virtual environment. By rotating the viewing angle of the first virtual object 302 through a viewing angle rotation instruction, subfigure (b) is displayed. It can be understood that when the first virtual object 302 rotates its viewing angle to the left, the virtual staircase in the virtual environment rotates from the middle of the observation screen to the right part of the observation screen.
[0202] The first map indicator 640 is superimposed on the observation screen of the virtual environment in subfigure (a); the object position 642 is located at the center position of the first map indicator 640 and is used to indicate the first virtual object 302. The terrain markings 644 on the first map indicator 640 include lines or closed areas surrounded by lines, and are used to indicate terrain information such as virtual buildings and virtual terrain heights in the virtual environment.
[0203] The first map indicator 640 includes a first viewing range 646 of the first virtual object 302. The first viewing range 646 is the viewing marker information of the current viewing range of the first virtual object 302 displayed on the map indicator. In this embodiment, the viewing range includes the object position 642 of the first virtual object 302, and is a closed area surrounded by a dotted-line style viewing boundary and the edge position of the first map indicator 640. It can be understood that in different implementation manners, the viewing range can be implemented in different shapes (such as a fan shape) and / or different display styles (such as a displayed area with a filled color).
[0204] The first map indicator 640 also displays a plurality of adsorption areas 648. In this embodiment, the adsorption areas 648 are displayed as circular marks and the number is six; in different implementation manners, other display methods can be used.
[0205] For the first map indicator 640, two adsorption areas 648 are included in the first viewing range 646 of the first virtual object 302; that is, the appearance style of the display area where they are located is different from that of the other four adsorption areas 648 outside the first viewing range 646.
[0206] Two adsorption areas 648 included in the first viewing range 646 are in an active state. When the first virtual object 302 is in the first viewing range 646, by switching the release end position instruction, the release end position can be switched to the focal position of the two adsorption areas 648 included in the first viewing range 646. And the switching release end position instruction cannot switch the release end position to the focal positions of the four adsorption areas 648 outside the first viewing range 646.
[0207] The second map indicator 650 is superimposed and displayed on the observation screen of the virtual environment in sub - figure (b); the first virtual object 302 turns the observation perspective to the left, and the second map indicator 650 rotates clockwise relative to the virtual terrain in the first map indicator 640. In the second field of view range 656 of the first virtual object 302 displayed on the second map indicator 650, there is an adsorption area; when the first virtual object 302 is in the second field of view range 656, the switching release end - point position instruction cannot switch the release end - point position to the focal positions of the five adsorption areas outside the first field of view range 646.
[0208] In summary, for the method provided in this embodiment, by keeping the second adsorption area in an active state and the third adsorption area in a non - active state, different display states are presented according to whether the adsorption area belongs to the current field of view range of the first virtual object; it is beneficial for the controller of the first virtual object to distinguish the focal positions that can be adjusted and switched, that is, the switching release end - point position instruction has the permission to switch the operation indicator to the focal position of the second adsorption area, and only adjusts the release end - point position within the current field of view range of the first virtual object, avoiding a large - angle deviation of the perspective of the first virtual object as the release end - point position is switched, thereby avoiding destroying the immersion of the virtual environment and avoiding the dizziness problem caused by a large - angle deviation of the perspective of the first virtual object.
[0209] In Figure 9 Based on the illustrated embodiment, step 535 can be implemented as sub - step one:
[0210] Sub - step one: In response to the switching release end - point position instruction triggered by a human - machine interaction operation, when the second adsorption area meets the adsorption condition, display that the operation indicator switches to the focal position of the second adsorption area.
[0211] The adsorption condition can be the triggering condition for the operation indicator to switch to the focal position of the second adsorption area when there are two adsorption areas; it can also be the screening condition for which adsorption area the operation indicator switches to when there are more than two adsorption areas.
[0212] In one implementation, the virtual skill includes a virtual attack skill, or the virtual item includes a virtual attack item; correspondingly, the adsorption condition includes at least one of the following:
[0213] · The situation where the number of enemy virtual objects around the focal position of the second adsorption area exceeds the first quantity threshold.
[0214] When the number of enemy virtual objects around the focal position of the second adsorption area exceeds the first quantity threshold, determining the focal position of the second adsorption area as the release end position is beneficial for virtual attack skills or virtual attack items to take effect on a larger number of enemy virtual objects, improving the virtual competitive performance of the first virtual object.
[0215] · The focal position of the second adsorption area belongs to the control area of the enemy camp.
[0216] When the focal position of the second adsorption area belongs to the control area of the enemy camp, determining the focal position of the second adsorption area as the release end position realizes determining the effective range of virtual attack skills or virtual attack items in the control area of the enemy camp, increasing the probability of taking effect on enemy virtual objects, and thus improving the virtual competitive performance of the first virtual object.
[0217] · The distance between the focal position of the second adsorption area and the second virtual object is less than the first distance threshold.
[0218] Among them, the second virtual object is an enemy virtual object that causes damage to the first virtual object. When the distance between the focal position of the second adsorption area and the second virtual object is less than the first distance threshold, determining the focal position of the second adsorption area as the release end position realizes including the second virtual object in the effective range of virtual attack skills or virtual attack items, and preferentially launching a virtual attack on the second virtual object that causes virtual damage to the first virtual object, reducing the survival threat of the first virtual object in the virtual environment.
[0219] In another implementation, the virtual skill includes a virtual support skill, or the virtual item includes a virtual support item; correspondingly, the adsorption conditions include at least one of the following:
[0220] · The number of friendly virtual objects around the focal position of the second adsorption area exceeds the second quantity threshold.
[0221] When the number of friendly virtual objects around the focal position of the second adsorption area exceeds the second quantity threshold, determining the focal position of the second adsorption area as the release end position is beneficial for virtual support skills or virtual support items to take effect on a larger number of friendly virtual objects, increasing the virtual resources of friendly virtual objects in the virtual environment, and improving the virtual competitive performance of the virtual camp where the first virtual object is located.
[0222] · The focal position of the second adsorption area belongs to the control area of the friendly camp.
[0223] When the focal position of the second adsorption area belongs to the control area of the friendly camp, the focal position of the second adsorption area is determined as the release end position, which realizes determining the effective range of the virtual support skill or virtual support item in the control area of the friendly camp, improves the probability of taking effect on the friendly virtual object, and enhances the virtual competition performance of the virtual camp where the first virtual object is located.
[0224] · The distance between the focal position of the second adsorption area and the third virtual object is less than the second distance threshold.
[0225] Among them, the third virtual object is a friendly virtual object that provides support to the first virtual object. When the distance between the focal position of the second adsorption area and the third virtual object is less than the second distance threshold, the focal position of the second adsorption area is determined as the release end position, which realizes including the third virtual object in the effective range of the virtual support skill or virtual support item, and preferentially provides support to the third virtual object that has provided support to the first virtual object, enhancing the virtual competition performance of the virtual camp where the first virtual object is located.
[0226] In an alternative implementation manner of the present application, the at least two adsorption areas further include a third adsorption area; correspondingly, the sub-step one introduced above can be implemented as:
[0227] · In response to a switching release end position instruction triggered by a human-computer interaction operation, when the second adsorption area is the area with the highest adsorption priority among the at least two adsorption areas except the first adsorption area, the display operation indicator switches to the focal position of the second adsorption area.
[0228] Exemplarily, the adsorption priorities of the other adsorption areas except the first adsorption area among the at least two adsorption areas are determined according to the type information of the virtual skill or virtual item and the environmental information in the virtual environment.
[0229] In an example, similar to the above, if the virtual skill includes a virtual attack skill, or the virtual item includes a virtual attack item; then the determination method of the adsorption priority of the adsorption area includes at least one of the following:
[0230] The adsorption priority of the adsorption area increases as the number of enemy virtual objects around the focal position of the adsorption area increases;
[0231] The first adsorption priority of the adsorption area within the control area of the enemy camp is greater than the second adsorption priority of the adsorption area within the neutral area; the second adsorption priority of the adsorption area within the neutral area is greater than the third adsorption priority of the adsorption area within the control area of the friendly camp;
[0232] The adsorption priority of the adsorption area decreases as the distance from the second virtual object increases, where the second virtual object is an enemy virtual object that causes damage to the first virtual object.
[0233] In another example, similar to the above, if the virtual skill includes a virtual support skill, or the virtual item includes a virtual support item; then the method for determining the adsorption priority of the adsorption area includes at least one of the following:
[0234] The adsorption priority of the adsorption area increases as the number of friendly virtual objects around the focal position of the adsorption area increases;
[0235] The fourth adsorption priority of the adsorption area within the control area belonging to the enemy camp is less than the fifth adsorption priority of the adsorption area within the neutral area; the fifth adsorption priority of the adsorption area within the neutral area is less than the sixth adsorption priority of the adsorption area within the control area belonging to the friendly camp;
[0236] The adsorption priority of the adsorption area decreases as the distance from the third virtual object increases, where the third virtual object is a friendly virtual object that provides support to the first virtual object.
[0237] In summary, the method provided in this embodiment, when the second adsorption area meets the adsorption condition, displays that the operation indicator switches to the focal position of the second adsorption area; further restricts the triggering condition for the operation indicator to switch to the focal position of the second adsorption area, or provides a screening condition for screening out the second adsorption area among two or more adsorption areas; by releasing a virtual skill or a virtual item at the focal position of the second adsorption area, it improves the virtual competitive performance of the first virtual object.
[0238] Figure 12 The flowchart of an operation control method provided by an exemplary embodiment of the present application is shown. The method includes:
[0239] Step 722: Display the virtual environment and the first virtual object;
[0240] In the virtual environment, the first virtual object has a virtual skill or carries a virtual item, and the virtual environment is the virtual space for the first virtual object to perform virtual activities.
[0241] Step 724: Determine whether there is an adsorption area within the current field of view of the first virtual object;
[0242] There are at least two adsorption areas in the three-dimensional space; by determining whether the current field of view of the first virtual object overlaps with the adsorption area, it is determined whether there is an adsorption area within the current field of view of the first virtual object.
[0243] When there is an adsorption area within the current field of view of the first virtual object, step 726 is executed; when there is no adsorption area within the current field of view of the first virtual object, step 725 is executed.
[0244] Step 725: Determine the release end position according to the sight position;
[0245] When there is no adsorption area within the current field of view of the first virtual object, determine the release end position according to the sight position; there is no attracting movement of the adsorption area to the release end position.
[0246] Step 726: When the release end position belongs to the first adsorption area, display that the release end position switches to the focal position of the first adsorption area;
[0247] This step is executed when there is an adsorption area within the current field of view of the first virtual object. Display that the release end position switches to the focal position of the first adsorption area, which is used to indicate that the release end position is attracted by the first adsorption area and moves to switch to the focal position of the first adsorption area.
[0248] Step 728: In response to a trigger operation on the switching control, display that the release end position switches to the focal position of the second adsorption area;
[0249] The switching control provides a function entry to switch the release end position to the focal position of other first adsorption areas. In response to the trigger operation of the switching control, the release end position is attracted by the second adsorption area and moves to switch to the focal position of the second adsorption area.
[0250] Step 730: In response to a release operation of a virtual skill or virtual item, control the release of the virtual skill or virtual item at the release end position;
[0251] Step 730 is executed after any one of step 725, step 726, and step 728. Control the virtual skill or virtual item to perform the release based on the release end position.
[0252] Regarding implementation method 2: Display position marker information for indicating the release end position in a two-dimensional plane; the specific introduction is as follows:
[0253] Figure 13 Shows a flowchart of an operation control method provided by an exemplary embodiment of the present application. This method can be executed by a computer device. That is, in Figure 3 In the shown embodiment, step 520 can be implemented as step 524, and step 530 can be implemented as step 534:
[0254] Step 524: When a release preview instruction for a virtual skill or virtual item triggered by a human-computer interaction operation is detected, display position marking information in the two-dimensional plane.
[0255] In this embodiment, the position marking information is used to indicate the projected position of the release end position of the virtual skill or virtual item in the two-dimensional plane; optionally, the position marking information may be an indicator visible only to the controller of the first virtual object, and the controllers of other virtual objects in the virtual environment cannot view the position marking information.
[0256] In an alternative implementation, step 524 above may be implemented as:
[0257] · Display the virtual map.
[0258] Exemplarily, the virtual map displays the virtual terrain of the virtual environment in two-dimensional information;
[0259] Furthermore, displaying the virtual map may be implemented as: displaying the virtual terrain based on the virtual map, and displaying at least one of the first marking information of the adsorption area and the second marking information of the focal position of the adsorption area. Exemplarily, the first marking information and the second marking information displayed on the virtual map are prompt information about the position of the adsorption area in the virtual environment.
[0260] · When a release preview instruction for a virtual skill or virtual item triggered by a human-computer interaction operation is detected, display the position marking information on the virtual map.
[0261] In this embodiment, the position marking information is used to indicate the projected position of the release end position of the virtual skill or virtual item in the two-dimensional plane.
[0262] Step 534: When the release end position belongs to the adsorption area, display the movement of the position marking information towards the focal position of the adsorption area.
[0263] Correspondingly, in the alternative implementation introduced above, step 534 may be implemented as:
[0264] · When the release end position belongs to the adsorption area, display the movement of the position marking information towards the focal position of the adsorption area on the virtual map.
[0265] Exemplarily, when the release end position belongs to the adsorption area, by controlling the movement of the release end position towards the focal position of the adsorption area, the release end position is brought closer to the focal position without the need for a human-computer interaction operation to precisely adjust the release end position.
[0266] Figure 14The figure shows a schematic diagram of a virtual map provided by an exemplary embodiment of the present application. In sub - figure (a), the first focus position 662a, the second focus position 662b, and the third focus position 662c are shown. There are a total of three focus positions, corresponding to three adsorption regions respectively.
[0267] Referring to sub - figure (b), taking the second focus position 662b as an example, the second focus position 662b corresponds to the second adsorption region 664b. The second adsorption region 664b is a circular region around the second focus position 662b.
[0268] The position - marking information 665 displayed on the virtual map is used to indicate the release end - point position of the virtual skill or virtual item indicated by the release preview instruction. When the position - marking information 665 belongs to the second adsorption region 664b, referring to sub - figure (c), it is shown that the position - marking information 665 switches to the second focus position 662b.
[0269] Figure 15 The figure shows a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application. In one example, Figure 15 It is displayed in response to a trigger operation on the determination control on the virtual map. In response to receiving a trigger operation on the determination control on the virtual map, a release instruction is obtained, and a virtual skill or virtual item is released at the focus position of the adsorption region on the virtual map. A cut - scene animation of releasing the virtual skill or virtual item is displayed, and an effect animation 668 is displayed on the effective range of the virtual skill or virtual item in the virtual environment.
[0270] In summary, the method provided in this embodiment intuitively displays the projected position of the release end - point position on the two - dimensional plane by displaying the position - marking information in the two - dimensional plane, and shows the movement of the position - marking information to the focus position of the adsorption region where it is located. Without the controller of the first virtual object needing to precisely indicate the release end - point position of the virtual skill or virtual item, the release end - point position can be adjusted based on the focus position; it reduces the complexity of adjusting the release end - point position through human - machine interaction operations, and does not require frequent fine - tuning of the position of the human - machine interaction operation, that is, the accurate setting of the release end - point position can be achieved, improving the human - machine interaction efficiency.
[0271] Figure 16 The figure shows a flowchart of an operation control method provided by an exemplary embodiment of the present application. The method includes:
[0272] Step 742: Display the virtual environment and the first virtual object;
[0273] In the virtual environment, the first virtual object has a virtual skill or carries a virtual item, and the virtual environment is a virtual space for the first virtual object to perform virtual activities.
[0274] Step 744: Display a virtual map;
[0275] Exemplarily, in response to an operation to open the virtual map, display the virtual map; or in response to a release preview instruction for a virtual skill or virtual item, display the virtual map to provide a basis for position marking information displayed on the virtual map.
[0276] Step 746: In response to an adjustment operation for the release end position, display position marking information on the virtual map; and display map magnification information on the periphery of the position marking information;
[0277] The adjustment operation for the release end position is used to adjust the release end position of the virtual skill or virtual item. The position marking information displayed on the virtual map is used to indicate the projection position of the release end position of the virtual skill or virtual item in the two-dimensional plane.
[0278] Exemplarily, the map magnification information includes the position marking information and its peripheral area on the virtual map. To avoid the problem that when the user performs the adjustment operation, there is hand occlusion of the position marking information, making it impossible to view the map on the periphery of the position marking information. Exemplarily, the display position of the map magnification information is different from the display position of the position marking information to avoid hand occlusion when the user performs the adjustment operation.
[0279] Step 748: Determine whether the position marking information belongs to the adsorption area;
[0280] By determining whether there is an overlapping area between the position marking information and the adsorption area, determine whether the position marking information belongs to the adsorption area.
[0281] In the case where the position marking information belongs to the adsorption area, execute Step 750; in the case where the position marking information does not belong to the adsorption area, execute Step 762.
[0282] Step 750: Display the position marking information switched to the focal position of the adsorption area;
[0283] In the case where the position marking information belongs to the adsorption area, display the position marking information switched to the focal position of the adsorption area; the release end position is attracted by the adsorption area and moves, switching to the focal position of the adsorption area.
[0284] Step 752: In response to the end of the adjustment operation, release the virtual skill or virtual item at the focal position of the adsorption area;
[0285] In response to the end of the adjustment operation, when the user indicates to release the virtual skill or virtual item, release the virtual skill or virtual item at the focal position of the adsorption area.
[0286] Step 762: Update the display of the position marking information as the position moves during the adjustment operation;
[0287] When the position marker information does not belong to the adsorption area, as the position moves during the adjustment operation, the displayed position marker information is updated. The absence of an adsorption area attracting the release end position causes the position marker information to move following the position movement of the adjustment operation.
[0288] Step 764: Determine whether the adjustment operation is completed;
[0289] When the adjustment operation is not completed, execute step 748; re-determine whether the position marker information belongs to the adsorption area; continuously determine whether the position marker information belongs to the adsorption area, and when the position during the adjustment operation moves to belong to the adsorption area, promptly display that the position marker information switches to the focal position of the adsorption area. When the adjustment operation is completed, execute step 766;
[0290] Step 766: Release a virtual skill or virtual item at the position corresponding to the position marker information;
[0291] The user instructs to release a virtual skill or virtual item, and the virtual skill or virtual item is released at the position corresponding to the position marker information.
[0292] Figure 17 The flowchart of the operation control method provided by an exemplary embodiment of the present application is shown. This method can be executed by a computer device. That is, in Figure 3 In the illustrated embodiment, step 530 can be implemented as step 530a and step 530b; it also includes step 538:
[0293] Step 530a: When the release end position belongs to the adsorption area, display a transition animation of the release end position towards the adsorption area;
[0294] In this embodiment, display a transition animation of the release end position towards the adsorption area; the transition animation is used to present the movement process of the release end position towards the focal position of the adsorption area, and dynamically present the movement process to the controller of the first virtual object. Exemplarily, the transition animation includes displaying the movement process of the release end position towards the focal position of the adsorption area on at least one frame of the screen.
[0295] Step 530b: When the release end position belongs to the adsorption area, display positioning the release end position to the focal position of the adsorption area.
[0296] In this embodiment, it is shown that the release end position is positioned at the focal position of the adsorption area; it is shown that the movement result of the release end position towards the focal position of the adsorption area is that the release end position is positioned at the focal position of the adsorption area. By sequentially displaying the transition animation and positioning the release end position at the focal position of the adsorption area, the overall movement process of the release end position is dynamically demonstrated, ensuring the coherence of information display and the immersion of the virtual environment.
[0297] It should be noted that in different implementation manners, only one of step 530a and step 530b in this embodiment may be executed. For example, since the display of positioning the release end position at the focal position of the adsorption area is blocked by environmental items in the virtual environment, only step 530a is executed. Through the transition animation of the release end position towards the adsorption area, the movement trend of the release end position is demonstrated, enhancing the immersion of the virtual environment. Or, in order to reduce the complexity of the displayed information (such as the display information in the virtual environment or the display information on the virtual map), only step 530b is executed; the movement result of the release end position is intuitively demonstrated.
[0298] Step 538: When the release end position is positioned at the focal position of the adsorption area, in response to the duration of the release position movement instruction of the virtual skill or virtual prop triggered by the human-computer interaction operation exceeding the first duration and / or the movement position indicated by the position movement instruction exceeding the adsorption area, control the release end position to break away from the focal position and be positioned at the corrected position indicated by the release position movement instruction.
[0299] Exemplarily, when the release end position is positioned at the focal position of the adsorption area, the release end position can be separated from the focal position through human-computer interaction operations.
[0300] Exemplarily, the conditions for separating the release end position from the focal position include that the duration of the release position movement instruction exceeds the first duration. It indicates that the controller of the first virtual object continuously has the intention to control the release end position to break away from the focal position within the first duration, and controls the release end position to be positioned at the corrected position indicated by the release position movement instruction.
[0301] And / or, the conditions for the release end position to break away from the focal position include that the movement position indicated by the position movement instruction exceeds the adsorption area. It indicates that the desired position of the controller of the first virtual object for controlling the release end is far from the focal position, and controls the release end position to be positioned at the corrected position indicated by the release position movement instruction.
[0302] In an alternative implementation manner, step 538 can be implemented as:
[0303] · When the release end position is positioned at the focal point of the adsorption area, in response to the release position movement instruction of the virtual skill or virtual item triggered by the human-computer interaction operation, start the timer corresponding to the focal point position.
[0304] Among them, the timing threshold of the timer is the first duration; the position movement instruction is a human-computer interaction operation that moves the release end position again when the release end position is positioned at the focal point of the adsorption area.
[0305] · In response to the timing duration of the timer reaching the timing threshold, control the release end position to break away from the focal point position and be positioned at the corrected position indicated by the release position movement instruction.
[0306] Exemplarily, the timer is used to indicate the duration of the release position movement instruction. When the release position movement instruction ends, reset the timing duration of the timer.
[0307] In summary, the method provided in this embodiment realizes the adjustment of the release end position based on the focal point position without the need for the control party of the first virtual object to accurately indicate the release end position of the virtual skill or virtual item by controlling the release end position to move towards the focal point of the adsorption area where it is located; through the release position movement instruction, a function entry is provided for adjusting the release end position; it reduces the complexity of adjusting the release end position through human-computer interaction operations, and can accurately set the release end position without frequently and finely adjusting the position of the human-computer interaction operation, thereby improving the human-computer interaction efficiency.
[0308] In one implementation manner of the present application, in the scenario where a player releases a skill or an item, the player needs to continuously adjust the position aimed at by the skill or the item. Specifically, the player needs to perform operations such as pressing and sliding on the display screen of the terminal to adjust the release target position in order to ensure the hit rate. It can be seen that the current skill or item release method has the problem of relatively high operation control complexity.
[0309] In response to the above problems, no effective solution has been proposed yet.
[0310] The embodiment of the present application provides an operation control method, device, storage medium and electronic device to at least reduce the operation control complexity.
[0311] According to one aspect of the embodiments of the present application, three operation control methods are provided, including: First, when a skill or item release preview instruction triggered by an operation on the human-computer interaction interface is detected, the release end point of the skill or item is displayed on the human-computer interaction interface. When the release end point position falls within a preset adsorption area, the release end point position is controlled to move to the position of the focus of the adsorption area. When a release instruction triggered by an operation on the human-computer interaction interface is detected, the skill or item is controlled to be released according to the release end point.
[0312] Second, when a skill or item release preview instruction triggered by an operation on the human-computer interaction interface is detected, the release end point position is directly positioned at the focus of a preset first adsorption area, and a control component is displayed on the human-computer interaction interface for switching the focus of the preset adsorption area where the release end point position is located. When a switching release end point position instruction triggered by an operation on the control component is detected, the release end point position is switched to the focus of a preset second adsorption area. When a release instruction triggered by an operation on the human-computer interaction interface is detected, the skill or item is controlled to be released according to the release end point.
[0313] Third, when a skill or item release preview instruction triggered by an operation on the human-computer interaction interface is detected, a map is displayed on the human-computer interaction interface for selecting the release end point position, and the focus of the preset adsorption area has a corresponding annotation on the map. When the selected release end point position falls within the preset adsorption area, the release end point position is controlled to move to the position of the focus of the adsorption area. When a release instruction triggered by an operation on the human-computer interaction interface is detected, the skill or item is controlled to be released according to the release end point.
[0314] Those of ordinary skill in the art can understand that the above embodiments can be implemented independently, or the above embodiments can be freely combined to form a new embodiment to implement the operation control method of the present application.
[0315] Figure 18 The structural block diagram of an operation control device provided by an exemplary embodiment of the present application is shown.
[0316] The device includes:
[0317] A display module 810, configured to display a first virtual object located in a virtual environment, where the first virtual object has a virtual skill or carries a virtual item;
[0318] The display module 810 is further configured to display the release end position of the virtual skill or the virtual item when detecting a release preview instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation.
[0319] The processing module 820 is configured to control the release end position to move to the focus position of the adsorption area when the release end position belongs to the adsorption area.
[0320] The processing module 820 is further configured to control the virtual skill or the virtual item to perform a release based on the release end position when detecting a release instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation.
[0321] In an alternative implementation of this embodiment, the display module 810 is further configured to:
[0322] When detecting a release preview instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation, display an operation indicator in the three-dimensional space, where the operation indicator is used to indicate the release end position of the virtual skill or the virtual item in the three-dimensional space.
[0323] The processing module 820 is further configured to:
[0324] When the release end position belongs to the adsorption area, display the movement of the operation indicator to the focus position of the adsorption area.
[0325] In an alternative implementation of this embodiment, the display module 810 is further configured to:
[0326] When detecting a release preview instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation, display an operation indicator in the virtual environment, where the virtual environment is a three-dimensional space for the first virtual object to perform virtual activities.
[0327] In an alternative implementation of this embodiment, the processing module 820 is further configured to:
[0328] In response to a switching release mode instruction triggered by a human-computer interaction operation, control the adsorption area to be in an invalid state, and there is no movement association relationship between the adsorption area and the release end position.
[0329] In an alternative implementation of this embodiment, the adsorption area includes a three-dimensional space area; the processing module 820 is further configured to:
[0330] When the release end position belongs to the adsorption area, move towards the focus position of the adsorption area by changing the virtual height of the operation indicator in the three-dimensional space.
[0331] In an alternative implementation of this embodiment, the device further includes:
[0332] An acquisition module 830, configured to acquire the object perspective of the first virtual object, and the release end position is determined based on the object perspective of the first virtual object;
[0333] The processing module 820 is further configured to:
[0334] When the object perspective meets the viewing perspective condition, determine a position set including at least one reference release position by increasing the virtual height of the release end position;
[0335] When at least one position in the position set belongs to the adsorption area, move towards the focus position of the adsorption area by changing the virtual height of the operation indicator in the three-dimensional space.
[0336] In an alternative implementation of this embodiment, the virtual skill or the virtual item is used to place virtual items in a virtual environment, and the focus position is located on the outer surface of an environmental item in the virtual environment; the environmental information around the focus position meets the placement conditions of the virtual item.
[0337] In an alternative implementation of this embodiment, the three-dimensional space includes at least two adsorption areas, and the at least two adsorption areas include a first adsorption area and a second adsorption area;
[0338] The processing module 820 is further configured to:
[0339] When the release end position belongs to the first adsorption area, display that the operation indicator moves towards the focus position of the first adsorption area;
[0340] The display module 810 is further configured to:
[0341] In response to a switching release end position instruction triggered by a human-computer interaction operation, display that the operation indicator switches to the focus position of the second adsorption area.
[0342] In an alternative implementation of this embodiment, the at least two adsorption areas further include a third adsorption area, and the display module 810 is further configured to:
[0343] Display that the second adsorption area is in an active state and the third adsorption area is in an inactive state;
[0344] Among them, the second adsorption area belongs to the current field of view of the first virtual object, and the third adsorption area does not belong to the current field of view of the first virtual object; the switching release end position instruction cannot switch the operation indicator to the focal position of the third adsorption area.
[0345] In an alternative implementation of this embodiment, the display module 810 is further configured to:
[0346] On the map indicator, display the second adsorption area within the current field of view of the first virtual object as an active state, and display the third adsorption area outside the current field of view of the first virtual object as a non-active state;
[0347] Among them, the map indicator is used to display the terrain information of a part of the virtual environment centered on the first virtual object.
[0348] In an alternative implementation of this embodiment, the field of view marker information of the current field of view of the first virtual object is also displayed on the map indicator.
[0349] In an alternative implementation of this embodiment, the display module 810 is further configured to:
[0350] In response to a perspective rotation instruction triggered by a human-computer interaction operation, display an updated field of view, and display the second adsorption area in a non-active state and the third adsorption area in an active state;
[0351] Among them, the second adsorption area does not belong to the updated field of view of the first virtual object, and the third adsorption area belongs to the updated field of view of the first virtual object; the switching release end position instruction cannot switch the operation indicator to the focal position of the second adsorption area.
[0352] In an alternative implementation of this embodiment, the display module 810 is further configured to:
[0353] In response to the switching release end position instruction triggered by a human-computer interaction operation, display the operation indicator switching to the focal position of the second adsorption area in the second field of view, and display the marker information of the second adsorption area in a visually prominent manner;
[0354] Among them, the second field of view is the observation range of the virtual environment with the focal position of the second adsorption area as the field of view center point of the first virtual object.
[0355] In an alternative implementation of this embodiment, the marking information includes at least one of the following:
[0356] The area range marking of the second adsorption area displayed in the virtual environment;
[0357] The first focus marking of the focus position of the second adsorption area displayed in the virtual environment in the form of a perspective virtual obstacle;
[0358] The second focus marking of the focus position of the second adsorption area displayed on the map indicator.
[0359] In an alternative implementation of this embodiment, the display module 810 is further configured to:
[0360] In response to the switching release end position instruction triggered by a human-computer interaction operation, when the second adsorption area meets the adsorption condition, display the operation indicator switching to the focus position of the second adsorption area.
[0361] In an alternative implementation of this embodiment, the virtual skill includes a virtual attack skill, or the virtual item includes a virtual attack item; the adsorption condition includes at least one of the following:
[0362] The number of enemy virtual objects around the focus position of the second adsorption area exceeds the first quantity threshold;
[0363] The focus position of the second adsorption area belongs to the control area of the enemy camp;
[0364] The distance between the focus position of the second adsorption area and the second virtual object is less than the first distance threshold; the second virtual object is an enemy character that causes damage to the first virtual object.
[0365] In an alternative implementation of this embodiment, the virtual skill includes a virtual support skill, or the virtual item includes a virtual support item; the adsorption condition includes at least one of the following:
[0366] The number of friendly virtual objects around the focus position of the second adsorption area exceeds the second quantity threshold;
[0367] The focus position of the second adsorption area belongs to the control area of the friendly camp;
[0368] The distance between the focus position of the second adsorption area and the third virtual object is less than the second distance threshold; the third virtual object is a friendly character that provides support to the first virtual object.
[0369] In an alternative implementation of this embodiment, the at least two adsorption regions further include a third adsorption region; the display module 810 is further configured to:
[0370] In response to the switching release end position instruction triggered by a human-computer interaction operation, when the second adsorption region is the region with the highest adsorption priority among the at least two adsorption regions except the first adsorption region, display that the operation indicator switches to the focus position of the second adsorption region.
[0371] In an alternative implementation of this embodiment, the display module 810 is further configured to:
[0372] When detecting the release preview instruction of the virtual skill or the virtual prop triggered by a human-computer interaction operation, display position marking information in a two-dimensional plane, where the position marking information is used to indicate the projection position of the release end position of the virtual skill or the virtual prop in the two-dimensional plane;
[0373] The processing module 820 is further configured to:
[0374] When the release end position belongs to the adsorption region, display that the position marking information moves towards the focus position of the adsorption region.
[0375] In an alternative implementation of this embodiment, the display module 810 is further configured to:
[0376] Display a virtual map, where the virtual map shows the virtual terrain of the virtual environment in two-dimensional information;
[0377] When detecting the release preview instruction of the virtual skill or the virtual prop triggered by a human-computer interaction operation, display the position marking information on the virtual map;
[0378] The processing module 820 is further configured to:
[0379] When the release end position belongs to the adsorption region, display that the position marking information moves towards the focus position of the adsorption region on the virtual map.
[0380] In an alternative implementation of this embodiment, the display module 810 is further configured to:
[0381] Based on the virtual map, display the virtual terrain and at least one of the first marking information of the adsorption region and the second marking information of the focus position of the adsorption region.
[0382] In an alternative implementation of this embodiment, the processing module 820 is further configured to perform at least one of the following:
[0383] Display a transition animation of the release end position to the adsorption area;
[0384] Display positioning the release end position to the focus position of the adsorption area.
[0385] In an alternative implementation of this embodiment, the processing module 820 is further configured to:
[0386] When the release end position is positioned to the focus position of the adsorption area, in response to a duration of a release position movement instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation exceeding a first duration and / or the movement position indicated by the position movement instruction exceeding the adsorption area, control the release end position to disengage from the focus position and be positioned to a corrected position indicated by the release position movement instruction.
[0387] In an alternative implementation of this embodiment, the processing module 820 is further configured to:
[0388] When the release end position is positioned to the focus position of the adsorption area, in response to the release position movement instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation, start a timer corresponding to the focus position, and a timing threshold of the timer is the first duration;
[0389] In response to the timing duration of the timer reaching the timing threshold, control the release end position to disengage from the focus position and be positioned to the corrected position indicated by the release position movement instruction.
[0390] It should be noted that when the device provided in the above embodiment implements its functions, only the above-mentioned division of each functional module is used for illustration. In practical applications, the above functions can be allocated to different functional modules according to actual needs, that is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0391] Regarding the device in the above embodiment, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method; the technical effects obtained by each module performing operations are the same as those in the embodiments related to the method, and will not be elaborated here in detail.
[0392] An embodiment of the present application further provides a computer device, which includes: a processor and a memory, and a computer program is stored in the memory; the processor is configured to execute the computer program in the memory to implement the operation control method provided in each of the above method embodiments.
[0393] Figure 19 The block diagram of the structure of a terminal provided by an exemplary embodiment of the present application is shown. The terminal 1900 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop computer, or a desktop computer. The terminal 1900 may also be referred to by other names such as a user equipment, a portable terminal, a laptop terminal, a desktop terminal, etc.
[0394] Generally, the terminal 1900 includes: a processor 1901 and a memory 1902. The processor 1901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1901 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1901 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0395] The memory 1902 may include one or more computer-readable storage media, which may be non-transitory. The memory 1902 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1902 is used to store at least one instruction for being executed by the processor 1901 to implement the operation control method provided in the method embodiments of this application.
[0396] In some embodiments, the terminal 1900 may further optionally include: a peripheral device interface 1903 and at least one peripheral device. The processor 1901, the memory 1902, and the peripheral device interface 1903 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1903 through a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1904, a touch display screen 1905, a camera assembly 1906, an audio circuit 1907, and a power supply 1908.
[0397] The peripheral device interface 1903 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1901 and the memory 1902. In some embodiments, the processor 1901, the memory 1902, and the peripheral device interface 1903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1901, the memory 1902, and the peripheral device interface 1903 may be implemented on a separate chip or circuit board, and this embodiment does not limit this.
[0398] The radio frequency circuit 1904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1904 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1904 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1904 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 1904 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, generations of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1904 may further include a circuit related to NFC (Near Field Communication), which is not limited in this application.
[0399] The touch display screen 1905 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 1905 also has the function of collecting the energy of a touch signal on or above the surface of the touch display screen 1905. The touch signal can be input to the processor 1901 as a control signal for processing. At this time, the touch display screen 1905 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 touch display screen 1905, which is provided on the front panel of the terminal 1900; in other embodiments, there may be at least two touch display screens 1905, which are respectively provided on different surfaces of the terminal 1900 or in a foldable design; in still other embodiments, the touch display screen 1905 may be a flexible display screen, which is provided on a curved surface or a folding surface of the terminal 1900. Even, the touch display screen 1905 can be set to an irregular non-rectangular shape, that is, a special-shaped screen. The touch display screen 1905 can be prepared using materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0400] The camera assembly 1906 is used to capture images or videos. Optionally, the camera assembly 1906 includes a front camera and a rear camera. Generally, the front camera is disposed on the front panel of the terminal, and the rear camera is disposed on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth camera, a wide-angle camera, and a telephoto camera, so as to implement the background blurring function by fusing the main camera and the depth camera, the panoramic shooting function by fusing the main camera and the wide-angle camera for VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1906 may further include a flash. The flash may be a single-color temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to the combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.
[0401] The audio circuit 1907 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1901 for processing, or input them to the radio frequency circuit 1904 to achieve voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively disposed at different parts of the terminal 1900. The microphone may also be an array microphone or an omnidirectional collection type microphone. The speaker is used to convert the electrical signal from the processor 1901 or the radio frequency circuit 1904 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 1907 may further include a headphone jack.
[0402] The power supply 1908 is used to supply power to each component in the terminal 1900. The power supply 1908 may be alternating current, direct current, a primary battery or a rechargeable battery. When the power supply 1908 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0403] In some embodiments, the terminal 1900 further includes one or more sensors 1909. The one or more sensors 1909 include but are not limited to: an acceleration sensor 1910, a gyroscope sensor 1911, a pressure sensor 1912, an optical sensor 1913, and a proximity sensor 1914.
[0404] The acceleration sensor 1910 can detect the magnitudes of accelerations on the three coordinate axes of the coordinate system established by the terminal 1900. For example, the acceleration sensor 1910 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 1901 can control the touch display screen 1905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signals collected by the acceleration sensor 1910. The acceleration sensor 1910 can also be used for collecting game or user's motion data. The gyroscope sensor 1911 can detect the body direction and rotation angle of the terminal 1900. The gyroscope sensor 1911 can cooperate with the acceleration sensor 1910 to collect the 3D actions of the user on the terminal 1900. According to the data collected by the gyroscope sensor 1911, the processor 1901 can implement the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control, and inertial navigation.
[0405] The pressure sensor 1912 can be disposed on the side frame of the terminal 1900 and / or the lower layer of the touch display screen 1905. When the pressure sensor 1912 is disposed on the side frame of the terminal 1900, it can detect the holding signal of the user on the terminal 1900, and the processor 1901 can perform left / right hand recognition or quick operation according to the holding signal collected by the pressure sensor 1912. When the pressure sensor 1912 is disposed on the lower layer of the touch display screen 1905, the processor 1901 can control the operable controls on the UI interface according to the pressure operation of the user on the touch display screen 1905. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0406] The optical sensor 1913 is used for collecting the ambient light intensity. In one embodiment, the processor 1901 can control the display brightness of the touch display screen 1905 according to the ambient light intensity collected by the optical sensor 1913. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1905 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1905 is decreased. In another embodiment, the processor 1901 can also dynamically adjust the shooting parameters of the camera module 1906 according to the ambient light intensity collected by the optical sensor 1913.
[0407] The proximity sensor 1914, also known as the distance sensor, is usually disposed on the front panel of the terminal 1900. The proximity sensor 1914 is used to collect the distance between the user and the front of the terminal 1900. In one embodiment, when the proximity sensor 1914 detects that the distance between the user and the front of the terminal 1900 is gradually decreasing, the touch display screen 1905 is controlled by the processor 1901 to switch from the lit screen state to the off-screen state; when the proximity sensor 1914 detects that the distance between the user and the front of the terminal 1900 is gradually increasing, the touch display screen 1905 is controlled by the processor 1901 to switch from the off-screen state to the lit screen state.
[0408] Those skilled in the art can understand that the above structure does not limit the terminal 1900, and it may include more or fewer components than shown in the figure, or combine some components, or adopt different component arrangements.
[0409] In an exemplary embodiment, a chip is further provided, and the chip includes a programmable logic circuit and / or program instructions, which are used to implement the operation control method described in the above aspects when the chip runs on a computer device.
[0410] In an exemplary embodiment, a computer program product is further provided, and the computer program product includes computer instructions, which are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor reads and executes the computer instructions to implement the operation control method provided in the above method embodiments.
[0411] In an exemplary embodiment, a computer-readable storage medium is further provided, and a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by the processor to implement the operation control method provided in the above method embodiments.
[0412] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware, and the program can be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disc, etc.
[0413] Those skilled in the art should be able to realize that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented by hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. The computer-readable medium includes computer storage media and communication media, where the communication media includes any medium that facilitates the transfer of a computer program from one place to another. The storage media can be any available medium accessible by a general-purpose or special-purpose computer.
[0414] The above are only alternative embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included within the protection scope of the present application.
Claims
1. An operation control method, characterized in that: The method is performed by a computer device, and the method comprises: Displaying a first virtual object in a virtual environment, wherein the first virtual object has virtual skills or carries virtual props; When a release preview instruction of the virtual skill or the virtual item is detected based on a human-computer interaction operation, a release end position of the virtual skill or the virtual item is displayed; When the release end point position belongs to the adsorption area, controlling the release end point position to move toward the focal point position of the adsorption area; When a release instruction of the virtual skill or the virtual prop is detected based on a human-computer interaction operation, the virtual skill or the virtual prop is controlled to be released based on the release end position.
2. The method according to claim 1, characterized in that The step of displaying the release end position of the virtual skill or the virtual item upon detecting a release preview instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation comprises: When the release preview instruction of the virtual skill or the virtual item is detected based on the human-computer interaction operation, an operation indicator in the three-dimensional space is displayed, where the operation indicator is used to indicate the release end position of the virtual skill or the virtual item in the three-dimensional space; When the release end point position belongs to the adsorption area, controlling the release end point position to move toward the focal point position of the adsorption area includes: In a case where the release end position belongs to the adsorption area, the operation indicator is displayed to move to the focus position of the adsorption area.
3. The method according to claim 2, characterized in that The step of displaying an operation indicator in a three-dimensional space when the release preview instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation is detected includes: When the release preview instruction of the virtual skill or the virtual prop triggered by the human-computer interaction operation is detected, an operation indicator is displayed in the virtual environment, and the virtual environment provides a three-dimensional space for the first virtual object to perform virtual activities.
4. The method according to claim 3, characterized in that The method further comprises: In response to a release mode switching instruction triggered by a human-computer interaction operation, the adsorption area is controlled to be in an invalid state, and the adsorption area has no movement association relationship with the release end position.
5. The method according to claim 2, characterized in that: The adsorption area includes a three-dimensional space area; when the release end position belongs to the adsorption area, displaying the operation indicator to move toward the focus position of the adsorption area includes: When the release end position belongs to the adsorption area, the operation indicator is moved to the focus position of the adsorption area in a manner that changes the virtual height of the operation indicator in the three-dimensional space.
6. The method according to claim 5, characterized in that The method further comprises: acquiring an object viewing angle of the first virtual object, wherein the release end position is determined based on the object viewing angle of the first virtual object; When the release end position belongs to the adsorption area, the operation indicator is moved to the focus position of the adsorption area by changing the virtual height of the operation indicator in the three-dimensional space, including: In the case where the object viewing angle satisfies the observation viewing angle condition, determining a position set including at least one reference release position by increasing the virtual height of the release end position; When at least one position in the position set belongs to the adsorption area, the operation indicator is moved to the focus position of the adsorption area in a manner of changing a virtual height of the operation indicator in the three-dimensional space.
7. The method according to claim 6, characterized in that The virtual skill or the virtual prop is used to place a virtual object in a virtual environment, the focus position is located on the outer surface of the environmental object in the virtual environment; and the environmental information around the focus position satisfies the placement condition of the virtual object.
8. The method according to claim 2, characterized in that: The three-dimensional space includes at least two adsorption regions, and the at least two adsorption regions include a first adsorption region and a second adsorption region; When the release end position belongs to the adsorption area, displaying the operation indicator moving toward the focus position of the adsorption area includes: In a case where the release end position belongs to the first adsorption area, displaying that the operation indicator moves to a focus position of the first adsorption area; The method further comprises: In response to a switch release end position instruction triggered by a human-computer interaction operation, the operation indicator is displayed to switch to a focus position of the second adsorption area.
9. The method according to claim 8, characterized in that The at least two adsorption regions further include a third adsorption region, and the method further includes: Displaying that the second adsorption area is in an activated state and the third adsorption area is in an inactivated state; Among them, the second adsorption area belongs to the current field of view of the first virtual object, and the third adsorption area does not belong to the current field of view of the first virtual object; the switch release end position instruction cannot switch the operation indicator to the focus position of the third adsorption area.
10. The method according to claim 9, characterized in that The displaying that the second adsorption area is in an activated state and the third adsorption area is in an inactivated state includes: On a map indicator, displaying the second adsorption area within the current field of view of the first virtual object as an activated state, and displaying the third adsorption area outside the current field of view of the first virtual object as an inactivated state; The map indicator is used to display terrain information of a portion of the virtual environment centered on the first virtual object.
11. The method according to claim 9, characterized in that The method further comprises: In response to a view angle rotation instruction triggered by a human-computer interaction operation, display an updated view range, and display that the second adsorption area is in an inactive state and the third adsorption area is in an active state; Among them, the second adsorption area does not belong to the updated field of view of the first virtual object, and the third adsorption area belongs to the updated field of view of the first virtual object; the switch release end position instruction cannot switch the operation indicator to the focus position of the second adsorption area.
12. The method according to claim 8, characterized in that The step of displaying the operation indicator switching to the focus position of the second adsorption area in response to the switch release end position instruction triggered by the human-computer interaction operation includes: In response to the switch release end position instruction triggered by the human-computer interaction operation, displaying the focus position of the operation indicator switched to the second adsorption area in the second field of view, and displaying the marking information of the second adsorption area in a visually prominent manner; The second field of view is the observation range of the first virtual object on the virtual environment with the focus position of the second adsorption area as the center point of the field of view.
13. The method according to claim 12, characterized in that The tag information includes at least one of the following: an area range mark of the second adsorption area displayed in the virtual environment; a first focus mark at a focus position of the second adsorption area displayed in the virtual environment in a manner of seeing through a virtual obstacle; A second focus mark at a focus position of the second adsorption area is displayed on the map indicator.
14. The method according to claim 8, characterized in that The step of displaying the operation indicator switching to the focus position of the second adsorption area in response to the switch release end position instruction triggered by the human-computer interaction operation includes: In response to the switch release end position instruction triggered based on the human-computer interaction operation, when the second adsorption area meets the adsorption condition, the operation indicator is displayed to switch to the focus position of the second adsorption area.
15. The method according to claim 14, characterized in that The virtual skill includes a virtual attack skill, or the virtual prop includes a virtual attack prop; the adsorption condition includes at least one of the following: The number of enemy virtual objects around the focal position of the second adsorption area exceeds a first number threshold; The focal position of the second adsorption area belongs to the control area of the enemy camp; The distance between the focus position of the second adsorption area and the second virtual object is less than a first distance threshold; The second virtual object is an enemy virtual object that causes damage to the first virtual object.
16. The method according to claim 14, characterized in that The virtual skill includes a virtual support skill, or the virtual prop includes a virtual support prop; the adsorption condition includes at least one of the following: The number of friendly virtual objects around the focal position of the second adsorption area exceeds a second number threshold; The focal point of the second adsorption area belongs to the control area of the friendly camp; The distance between the focus position of the second adsorption area and the third virtual object is less than a second distance threshold; The third virtual object is a friendly virtual object that provides support to the first virtual object.
17. The method according to claim 14, characterized in that The at least two adsorption regions further include a third adsorption region; The step of responding to the switch release end position instruction triggered by the human-computer interaction operation, and displaying the operation indicator switching to the focus position of the second adsorption area when the second adsorption area satisfies the adsorption condition, includes: In response to the switch release end position instruction triggered based on the human-computer interaction operation, when the second adsorption area is the area with the highest adsorption priority among the at least two adsorption areas excluding the first adsorption area, the operation indicator is displayed to switch to the focus position of the second adsorption area.
18. The method according to claim 1, characterized in that The step of displaying the release end position of the virtual skill or the virtual item upon detecting a release preview instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation comprises: When the release preview instruction of the virtual skill or the virtual item is detected based on the human-computer interaction operation, position mark information in a two-dimensional plane is displayed, where the position mark information is used to indicate the projection position of the release end position of the virtual skill or the virtual item in the two-dimensional plane; When the release end point position belongs to the adsorption area, controlling the release end point position to move toward the focal point position of the adsorption area includes: When the release end position belongs to the adsorption area, the position mark information is displayed to move to the focus position of the adsorption area.
19. The method according to claim 18, characterized in that The method of displaying position mark information in a two-dimensional plane when the release preview instruction of the virtual skill or the virtual prop triggered by the human-computer interaction operation is detected includes: Displaying a virtual map, wherein the virtual map displays a virtual terrain of the virtual environment in two-dimensional information; When the release preview instruction of the virtual skill or the virtual item triggered by a human-computer interaction operation is detected, displaying the location mark information on the virtual map; When the release end position belongs to the adsorption area, displaying the position mark information moving toward the focus position of the adsorption area includes: When the release end position belongs to the adsorption area, the position mark information is displayed on the virtual map to move to the focus position of the adsorption area.
20. The method according to any one of claims 1 to 19, characterized in that: The controlling the release end position to move toward the focal position of the adsorption area includes at least one of the following: Displaying a transition animation from the release end position to the adsorption area; The release end position is positioned at the focus position of the adsorption area.
21. The method according to any one of claims 1 to 19, characterized in that: The method further comprises: When the release end position is positioned at the focus position of the adsorption area, in response to the duration of the release position movement instruction of the virtual skill or the virtual prop triggered based on the human-computer interaction operation exceeding the first duration and / or the moving position indicated by the position movement instruction exceeds the adsorption area, the release end position is controlled to be separated from the focus position and positioned to the corrected position indicated by the release position movement instruction.
22. An operation control device, characterized in that: The device comprises: A display module, used for displaying a first virtual object in a virtual environment, wherein the first virtual object has virtual skills or carries virtual props; The display module is further configured to display a release end position of the virtual skill or the virtual prop when a release preview instruction of the virtual skill or the virtual prop is detected based on a human-computer interaction operation; A processing module, configured to control the release end point position to move toward a focal position of the adsorption area when the release end point position belongs to the adsorption area; The processing module is further configured to control the virtual skill or the virtual prop to be released based on the release end position when a release instruction of the virtual skill or the virtual prop is detected based on a human-computer interaction operation.
23. A computer device, characterized in that: The computer device includes: a processor and a memory, wherein the memory stores at least one program; the processor is used to execute the at least one program in the memory to implement the operation control method as described in any one of claims 1 to 21.
24. A computer-readable storage medium, characterized in that: The readable storage medium stores executable instructions, and the executable instructions are loaded and executed by a processor to implement the operation control method as described in any one of claims 1 to 21.
25. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The processor reads and executes the computer instructions from the computer-readable storage medium to implement the operation control method as described in any one of claims 1 to 21.