Virtual object control method and device, equipment and storage medium
By displaying tag information and collaborative activity information in a virtual environment, the problem of a single player interaction method is solved, and more efficient human-computer interaction is achieved.
Patent Information
- Application Number
- CN202510788701.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-07-29
AI Technical Summary
In the existing technology, the interaction methods between players are relatively single and lack diversity, resulting in inefficient human-computer interaction.
By displaying the tag information and the first virtual object in the virtual environment, the activity information of the second virtual object is presented in response to the trigger operation, and collaborative activities are carried out based on the information, providing a new interactive mode.
Provides guidance on collaborative activity information with the second virtual object for the first virtual object, saves time consumption in exploring the virtual environment and improves human-computer interaction efficiency.
Smart Images

Figure CN120381672A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of human-computer interaction technology, and particularly to a method, device, equipment and storage medium for controlling virtual objects. Background Art
[0002] In applications such as games, a virtual environment is provided, and virtual objects that usually need to be controlled in the virtual environment carry out activities in the virtual environment, such as walking, driving, climbing, picking up items, fighting, etc.
[0003] In the related art, players enter the same virtual environment in a team formation, cooperate with each other in the virtual environment, and jointly execute virtual competitions, such as collaborating to complete virtual tasks or collaborating to maintain a survival state in the virtual environment.
[0004] However, the above interaction method between players is relatively single. Summary of the Invention
[0005] This application provides a method, device, equipment and storage medium for controlling virtual objects, and the technical solutions are as follows:
[0006] According to one aspect of this application, a method for controlling a virtual object is provided. The method is executed by a first computer device, and the method includes:
[0007] Display marker information and a first virtual object located in a virtual environment. The marker information is created by a second virtual object in the virtual environment. The second virtual object is the main control role of a second computer device, and the first virtual object is the main control role of the first computer device;
[0008] In response to a trigger operation on the marker information, present first activity information of the second virtual object in the virtual environment;
[0009] In response to a first control operation on the first virtual object, present second activity information that the first virtual object executes in cooperation with the first activity information.
[0010] According to another aspect of this application, a method for controlling a virtual object is provided. The method is executed by a second computer device, and the method includes:
[0011] Display a second virtual object located in a virtual environment. The second virtual object is the main control role of the second computer device;
[0012] In response to a second control operation on the second virtual object, present first activity information executed by the second virtual object;
[0013] In response to an information creation operation, marker information is displayed, and the marker information provides a function entry for presenting the first activity information of the second virtual object in the virtual environment;
[0014] Among them, the first virtual object in the virtual environment has the trigger permission for the marker information. The first virtual object is the main control role of the first computer device. After triggering the marker information, the first virtual object has the execution permission for the second activity information, and the second activity information is a collaborative activity of the first activity information.
[0015] According to another aspect of the present application, a control device for a virtual object is provided. The device is provided by a first computer device, and the device includes:
[0016] A presentation module for displaying marker information and a first virtual object located in a virtual environment. The marker information is created by a second virtual object in the virtual environment. The second virtual object is the main control role of a second computer device, and the first virtual object is the main control role of the first computer device;
[0017] The presentation module is further configured to present the first activity information of the second virtual object in the virtual environment in response to a trigger operation on the marker information;
[0018] The presentation module is further configured to present the second activity information in which the first virtual object executes in cooperation with the first activity information in response to a first control operation on the first virtual object.
[0019] In an alternative design of the present application, the presentation module is further configured to:
[0020] In response to a pre-trigger operation on the marker information, display an activity list, and the activity list includes at least one candidate activity entry;
[0021] Among them, the trigger operation is a human-computer interaction operation on a first activity entry among the at least one candidate activity entry, and the first activity entry corresponds to the first activity information of the second virtual object in the virtual environment.
[0022] In an alternative design of the present application, the device further includes:
[0023] An acquisition module for acquiring object information of candidate virtual objects. The candidate virtual objects include the second virtual object, and the first computer device records historical activities performed by the candidate virtual objects in the virtual environment;
[0024] A processing module, configured to determine the at least one candidate activity entry in the historical activity based on the object information of the candidate virtual object.
[0025] According to another aspect of the present application, there is provided a control device for a virtual object, which is provided by a second computer device, and the device includes:
[0026] A presentation module, configured to display a second virtual object located in a virtual environment, where the second virtual object is the main control role of the second computer device;
[0027] The presentation module is further configured to present first activity information executed by the second virtual object in response to a second control operation on the second virtual object;
[0028] The presentation module is further configured to display marker information in response to an information creation operation, where the marker information provides a function entry for presenting the first activity information of the second virtual object in the virtual environment;
[0029] Wherein, a first virtual object in the virtual environment has the trigger permission for the marker information, the first virtual object is the main control role of a first computer device, and after triggering the marker information, the first virtual object has the execution permission for second activity information, and the second activity information is a collaborative activity of the first activity information.
[0030] In an optional design of the present application, the presentation module is further configured to:
[0031] Display the note information of the marker information in response to an operation of adding a note to the marker information; the first virtual object has the viewing permission for the note information.
[0032] According to another aspect of the present application, there is provided a computer device, which includes a processor and a memory, and 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 control method for a virtual object as described in the above aspect.
[0033] According to another aspect of the present application, there is provided a computer-readable storage medium, and at least one instruction, at least one program, a code set or an instruction set is stored in the readable storage medium, 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 control method for a virtual object as described in the above aspect.
[0034] According to another aspect of the present application, there is provided a computer program product, which includes computer instructions stored in a computer-readable storage medium. The processor reads and executes the computer instructions from the computer-readable storage medium to implement the control method of the virtual object as described in the above aspect.
[0035] The beneficial effects brought by the technical solution provided by the present application at least include:
[0036] By presenting the first activity information of the second virtual object in the virtual environment, it provides guidance for the virtual activity of the first virtual object in the virtual environment, guides the first virtual object to execute the second activity information that cooperates with the first activity information, provides a new interaction method between virtual objects for the first virtual object, makes full use of the first activity information already executed by the second virtual object to provide guidance for the first virtual object, and saves the time consumption caused by the first virtual object having to try to execute different virtual activities when there is no prompt information during exploration in the virtual environment, thereby improving the human-computer interaction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order 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 drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0038] Figure 1 is a block diagram of the structure of a computer system provided by an exemplary embodiment of the present application;
[0039] Figure 2 is a schematic diagram of the control method of a virtual object provided by an exemplary embodiment of the present application;
[0040] Figure 3 is a flowchart of the control method of a virtual object provided by an exemplary embodiment of the present application;
[0041] Figure 4 is a flowchart of the control method of a virtual object provided by an exemplary embodiment of the present application;
[0042] Figure 5 is a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application;
[0043] Figure 6 is a flowchart of the control method of a virtual object provided by an exemplary embodiment of the present application;
[0044] Figure 7It is a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application;
[0045] Figure 8 It is a flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application;
[0046] Figure 9 It is a flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application;
[0047] Figure 10 It is a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application;
[0048] Figure 11 It is a flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application;
[0049] Figure 12 It is a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application;
[0050] Figure 13 It is a flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application;
[0051] Figure 14 It is a block diagram of a structure of a device for controlling a virtual object provided by an exemplary embodiment of the present application;
[0052] Figure 15 It is a block diagram of a structure of a device for controlling a virtual object provided by an exemplary embodiment of the present application;
[0053] Figure 16 It is a block diagram of a structure of a terminal provided by an exemplary embodiment of the present application.
[0054] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Detailed Embodiments
[0055] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0056] 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. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0057] 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.
[0058] 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 relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions. For example, the information such as the control operations of virtual objects and the human-computer interaction operations of virtual environments involved in this application are obtained under full authorization.
[0059] 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".
[0060] 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.
[0061] 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 three-dimensional 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 illustration. The first terminal 110 is a terminal used by the first user 112. The first user 112 uses the first terminal 110 to control the 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 at least one of a simulated human character, an anime character, a virtual animal, and a virtual plant.
[0062] 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 three-dimensional 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 illustration. The second terminal 130 is a terminal used by the second user 132. The second user 132 uses the second terminal 130 to control the 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. Similarly, schematically, the second virtual object is at least one of a simulated human character, an anime character, a virtual animal, and a virtual plant.
[0063] 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.
[0064] It should be noted that the control operations on one or more virtual objects in the virtual environment, or the human-computer interaction operations performed with the environmental elements in the virtual environment, can be implemented as at least one of the following: touch operations on a touch screen (such as at least one of single-click, double-click, long-press, etc.); component trigger operations of physical buttons, physical rollers, etc. of information input devices such as keyboards and mice, and movement operations of mouse devices; click operations on physical buttons on a gamepad, and toggle operations on physical joysticks; movement operations on virtual reality (VR) devices and augmented reality (AR) devices, and click operations on physical buttons and toggle operations on physical joysticks set on the above devices.
[0065] 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 examples. 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 smart phones, tablet computers, e-book readers, MP3 players, MP4 players, laptop computers, and desktop computers.
[0066] 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 the terminals corresponding to the developers. A development and editing platform for the client that supports the virtual environment is installed on the terminals 140. The developers 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.
[0067] 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.
[0068] Server 120 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 is used to provide background services for clients that support a three-dimensional virtual environment. Optionally, Server 120 undertakes the main computing work and the terminal undertakes the secondary computing work; or, Server 120 undertakes the secondary computing work and the terminal undertakes the main computing work; or, Server 120 and the terminal use a distributed computing architecture for collaborative computing.
[0069] In a schematic example, 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 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.
[0070] For the method for controlling a virtual object provided in the embodiments of the present application, the execution subject of each step may be a computer device, and the computer device refers to an electronic device with data computing, processing, and storage capabilities. Taking Figure 1 the implementation environment of the shown solution as an example, the method for controlling a virtual object may be executed by the terminal (such as the client of the application installed and running in the terminal executes the method for controlling a virtual object), or may be executed by the server, or may be executed by the interaction and cooperation between the terminal and the server. The present application does not make any limitation in this regard.
[0071] The method provided in the present application may be but is not limited to being 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.
[0072] Figure 2 A schematic diagram showing a method for controlling a virtual object provided by an exemplary embodiment of the present application.
[0073] In sub - figure (a), the first virtual object 402 is a virtual object performing a virtual activity in a virtual environment. The virtual movement rocker 412, virtual attack control 414, virtual map 416, and input box control 419 in sub - figure (a) are user interface (UI) controls, providing function entrances for controlling the first virtual object 402, viewing the virtual map, sending text messages in the virtual environment, etc. The position marker 418 in sub - figure (a) is created by the second virtual object 404 in the virtual environment. Sub - figure (b) is displayed in response to a click operation 418a on the position marker 418. It can be understood that in different implementation manners, there may be other triggering methods for the position marker 418. For example, when the distance between the first virtual object 402 and the position marker 418 is less than a distance threshold, sub - figure (b) is automatically displayed.
[0074] In sub - figure (b), the activity path 422 of the second virtual object 404 moving in the virtual environment is displayed. In this embodiment, the second virtual object 404 is displayed in a semi - transparent manner to show the dynamic process of the second virtual object 404 moving from the starting point to the end point of the activity path.
[0075] In response to a movement operation on the first virtual object 402, sub - figure (c) is displayed; in sub - figure (c), in response to a movement operation on the first virtual object 402, the first virtual object 402 moves along with the activity path 422 until it moves to the end position of the activity path 422. The end position of the activity path 422 is the placement position of the virtual treasure chest 425; the activity path 422 provides guidance for the movement of the first virtual object 402, provides a recommended movement method for the first virtual object 402, and the activity path 422 is collaborative information provided for the first virtual object 402 to obtain the virtual treasure chest 425.
[0076] Next, the method for controlling a virtual object will be introduced through the following embodiments.
[0077] Figure 3 A flowchart showing a method for controlling a virtual object provided by an exemplary embodiment of the present application. This method can be executed by a first computer device. The method includes:
[0078] Step 510: Display marker information and a first virtual object located in a virtual environment.
[0079] In a virtual environment, a first virtual object has the ability to perform virtual activities in the virtual environment, which is a virtual space for the first virtual object to perform virtual activities; for example, the first virtual object uses virtual skills in a virtual game to perform virtual competition in the virtual game. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5D virtual environment, and a three-dimensional virtual environment. In this embodiment, the first virtual object is the main control role of the first computer device that executes the embodiment of the present method; exemplarily, the first computer device can be implemented as a first terminal.
[0080] Exemplarily, there is also a second virtual object in the virtual environment, and the second virtual object is the main control role of the second computer device; the second computer device can be implemented as a second terminal. Exemplarily, the first virtual object and the second virtual object can be player characters controlled by different terminals. Optionally, the virtual environment may include a greater number of player characters, or there may also be non-player characters (NPCs).
[0081] Among them, the marker information is created by the second virtual object in the virtual environment, and the marker information provides a function entry for presenting the historical activity information of the second virtual object in the virtual environment; the marker information can be implemented as a location marker in the virtual environment, displayed at the corresponding position in the virtual environment, or there may be a dedicated display list of marker information for displaying one or more marker information in the virtual environment. The marker information can be displayed on the heads-up display (HUD) layer, for example, superimposed on the virtual environment in a semi-transparent manner to ensure the immersion of the virtual environment; it can also be displayed as at least one of a bubble message, a pop-up window, a card message, etc. The present embodiment does not limit the display method of the marker information.
[0082] Step 520: In response to a trigger operation on the marker information, present the first activity information of the second virtual object in the virtual environment.
[0083] Exemplarily, in the case of a trigger operation on the marker information, the user of the first computer device has an interest in observing the first activity information corresponding to the marker information; correspondingly, present the first activity information of the second virtual object in the virtual environment. The presentation method of the first activity information includes but is not limited to at least one of a visual presentation method, an auditory presentation method, and a tactile presentation method.
[0084] The first activity information is the historical activity performed by the second virtual object in the virtual environment. It can be understood that in this embodiment, the state of the second virtual object in the virtual environment when performing this step is not restricted. For example, the second virtual object may have exited the virtual environment, or be in an offline state, or be in an eliminated state in the virtual environment, etc.
[0085] As introduced above, the first activity information is performed by the second virtual object. The first activity information is used to present the virtual activity performed by the second virtual object previously, and is a kind of retained information of the virtual activity already performed by the second virtual object. The specific implementation manner of the first activity information will be introduced below.
[0086] Step 530: In response to the first control operation on the first virtual object, present the second activity information in which the first virtual object performs in cooperation with the first activity information.
[0087] Exemplarily, the first control operation is used to instruct the first virtual object to perform the second activity information in cooperation with the first activity information. As introduced above, the first activity information is the retained information of the virtual activity already performed by the second virtual object. The second activity information is the cooperative activity of the first activity information. For example, the second activity information and the first activity information cooperate with each other to jointly complete a virtual action or virtual task, and / or the second activity information is restricted by the first activity information and performs a similar virtual activity.
[0088] As introduced above, the first activity information is the historical activity performed by the second virtual object in the virtual environment. By presenting the second activity information, the interaction between the second activity information currently performed by the second virtual object and the first activity information previously performed by the first virtual object is realized. For example, even if the second virtual object has exited the virtual environment or is far away from the location of the marker information, the guidance for the virtual activity performed by the second virtual object can be realized by presenting the first activity information. Exemplarily, there is a time interval between the first execution time of the first activity information and the second execution time of the second activity information. Through the second activity information performed by the first virtual object, the interaction between the first virtual object across time and the historical second activity information performed by the second virtual object is realized, providing a new interaction method for the first virtual object in the virtual environment.
[0089] Regarding the second activity information, in one example, the first computer device obtains the execution permission of the second activity information in response to the trigger operation on the marker information; for example, the second activity information is an activity for mutual cooperation with the first activity information, such as the mutual high-five action of two virtual objects. In another example, the first computer device always has the permission to control the first virtual object to perform the second activity information. The specific implementation manner of the second activity information will be correspondingly introduced below in combination with the specific implementation manner of the first activity information.
[0090] In summary, the method provided in this embodiment provides guidance for the virtual activity of the first virtual object in the virtual environment by presenting the first activity information of the second virtual object in the virtual environment, guides the first virtual object to execute the second activity information that cooperates with the first activity information, provides a new interaction method between virtual objects for the first virtual object, makes full use of the first activity information already executed by the second virtual object to provide guidance for the first virtual object, saves the time consumption caused by the first virtual object having to try to execute different virtual activities when there is no prompt information during exploration in the virtual environment, and improves the human-computer interaction efficiency.
[0091] In an alternative design of the present application, the first activity information corresponding to the marking information has at least any one of the following implementation manners:
[0092] Implementation manner one: The first activity information includes the activity path of the second virtual object moving in the virtual environment;
[0093] Implementation manner two: The first activity information includes the first virtual pose of the second virtual object in the virtual environment;
[0094] Implementation manner three: The first activity information includes the first audio information provided by the second virtual object in the virtual environment.
[0095] Next, the above three implementation manners will be introduced separately through embodiments.
[0096] Implementation manner one: The first activity information includes the activity path of the second virtual object moving in the virtual environment; correspondingly, Figure 4 The flowchart of the control method of the virtual object provided by an exemplary embodiment of the present application is shown. This method can be executed by the first computer device. That is, in Figure 3 the embodiment shown, step 520 can be implemented as step 522, and step 530 can be implemented as step 532:
[0097] Step 522: In response to the triggering operation on the marking information, display the activity path of the second virtual object moving in the virtual environment.
[0098] Exemplarily, the activity path is used to indicate the movement trajectory of the second virtual object in the virtual environment. Exemplarily, the activity path can be implemented as highlighting the trajectory of the virtual path on the virtual map or in the virtual environment, or can be implemented as displaying the silhouette of the second virtual object in the virtual environment (such as displaying the second virtual object in a semi-transparent manner), and displaying the movement trajectory of the second virtual object through multiple frames.
[0099] Exemplarily, the active path can be implemented as dynamic information with different styles in different frame pictures, or as static information with the same style in different frame pictures.
[0100] In this embodiment, by displaying the active path, hint information is provided for the movement of the first virtual object in the virtual environment, guiding the controller of the first virtual object to move the first virtual object in the same or similar manner as the active path; an interaction method based on guiding the movement of the first virtual object by the active path is provided between virtual objects.
[0101] Step 532: In response to a movement operation on the first virtual object, display the movement action of the first virtual object following the active path.
[0102] Exemplarily, the movement operation is used to control the movement of the first virtual object in the virtual environment. In one example, in response to a triggering operation on the marker information, the movement permission of the first virtual object by the first computer device is restricted by the active path. For example, the first computer device loses the permission to control the first virtual object to move in the first direction away from the active path. In another example, the display of the active path is restricted by the movement operation. For example, when the distance between the first virtual object and the active path exceeds the distance threshold, the display of the active path is cancelled.
[0103] Exemplarily, the active path provides guidance for the movement of the first virtual object and provides cooperation information on the movement method for the first virtual object.
[0104] In an alternative implementation manner of the present application, the active path includes a first path between a first position and a second position where the marker information is located; correspondingly, this step can be implemented as:
[0105] · In response to a first movement operation on the first virtual object, display the movement action of the first virtual object following the first path to move to the second position;
[0106] In this alternative implementation manner, the active path is displayed in segments to reduce the load on the first computer device caused by displaying the active path. For example, the active path in step 522 is the first path between the first position and the second position where the marker information is located. In this step, the first movement operation is used to control the first virtual object to move to the second position.
[0107] · When the first virtual object reaches the second position, display the second path between the second position and the third position;
[0108] When the first virtual object reaches the second position, in order to continue to provide guidance for the movement of the first virtual object, continue to display the second path starting from the second position.
[0109] ·In response to a second movement operation on a first virtual object, display a movement action in which the first virtual object moves along a second path to a third position.
[0110] Exemplarily, by controlling the movement action in which the first virtual object moves along the second path to the third position, the movement action is realized that the first virtual object moves under the execution of the second path. The active path provides guidance for the movement of the first virtual object and provides collaborative information on the movement method for the first virtual object.
[0111] Figure 5 Shows a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application.
[0112] In sub - figure (a), the active path includes a first path 422a between a first position and a second position where the second virtual object 404 creates mark information; in sub - figure (b), in response to a first movement operation on the first virtual object 402, the first virtual object 402 moves to the end position (second position) of the first path 422a. When the first virtual object 402 reaches the end position of the first path 422a, a second path 422b between the second position and the third position is displayed. In sub - figure (c), in response to a second movement operation on the first virtual object 402, the first virtual object 402 moves to the end position (third position) of the second path 422b. Further, after the first virtual object 402 moves to the end position of the second path 422b, an interactive message sending window 430 is displayed. The interactive message sending window 430 includes three controls: add friend 431, invite to team up 432, and invite to join a battle team 433, which are respectively used to send a friend - adding request, a team - forming request, and a virtual battle team invitation request to the second virtual object.
[0113] In another alternative implementation manner of the present application, this embodiment further includes:
[0114] ·When the first virtual object moves to the end position of the active path, display that the first virtual object obtains a virtual item or completes a virtual task.
[0115] It can be understood that the active path can be displayed in segments in the above - introduced manner of being sequentially displayed based on the first path and the second path, or can be fully displayed in the virtual environment. Among them, the end position of the active path is the placement position of the virtual item or the completion position of the virtual task. Optionally, the virtual item can be placed in a virtual treasure chest or buried in a hidden position; the virtual task can be a task of finding the correct route in the virtual environment. The active path provides prompt information for finding the virtual item and completing the virtual task, and provides collaborative information on the movement method for the first virtual object to realize obtaining the virtual item and / or completing the virtual task.
[0116] In summary, the method provided in this embodiment provides prompt information for the movement of the first virtual object in the virtual environment by displaying the active path, guiding the controller of the first virtual object to move the first virtual object in the same or similar manner as the active path; it provides an interaction method based on the active path to guide the movement of the first virtual object between virtual objects, making full use of the first activity information executed by the second virtual object to provide guidance for the first virtual object, and improving the efficiency of human-computer interaction.
[0117] Implementation method 2: The first activity information includes the first virtual pose of the second virtual object in the virtual environment; correspondingly, Figure 6 The flowchart of the control method of the virtual object provided by an exemplary embodiment of the present application is shown. This method can be executed by the first computer device. That is, in Figure 3 In the illustrated embodiment, step 520 can be implemented as step 524, and step 530 can be implemented as step 534:
[0118] Step 524: In response to a trigger operation on the marking information, display the first virtual pose of the second virtual object in the virtual environment.
[0119] Exemplarily, the first virtual pose is the virtual pose assumed by the second virtual object in the virtual environment, and the first virtual pose guides the first virtual object to assume the same virtual pose as the second virtual object or other virtual poses that match the second virtual pose. Further, the first virtual pose of the second virtual object in the virtual environment is displayed in a semi-transparent manner, and other virtual objects in the virtual environment are displayed in an opaque manner, realizing the distinction between the retained information of the virtual activity of the second virtual object assuming the virtual pose and the image information of the observation results of other virtual objects in the virtual environment.
[0120] In this embodiment, by displaying the first virtual pose, it provides a prompt for what virtual pose the first virtual object assumes in the virtual environment, guiding the controller of the first virtual object to assume the same virtual pose as the first virtual object or other virtual poses that match the first virtual pose; it provides an interaction method based on the virtual pose to guide the pose setting method of the first virtual object between virtual objects.
[0121] Step 534: In response to a pose adjustment operation on the first virtual object, display the second virtual pose of the first virtual object in the virtual environment.
[0122] Exemplarily, the pose adjustment operation is used to control the virtual pose assumed by the first virtual object in the virtual environment. The pose adjustment operation can be a selection operation of multiple preset poses, or a setting operation of the placement position of the object body part of the first virtual object.
[0123] Exemplarily, the second virtual posture and the first virtual posture of the second virtual object are virtual postures in a multi-party interaction action. In one example, the first virtual posture and the second virtual posture are the same virtual action; for example, both the first virtual posture and the second virtual posture are raising the arm to achieve the action of high-fiving each other. In another example, the first virtual posture and the second virtual posture are different. For example, the first virtual posture is the posture of holding a virtual match, and the second virtual posture is the posture of holding a virtual sparkler. The first virtual posture and the second virtual posture cooperate with each other to realize the use of the virtual sparkler.
[0124] Exemplarily, the first virtual posture provides guidance for the selection of the virtual posture of the first virtual object, and provides cooperation information for the first virtual object to pose a second virtual posture corresponding to the first virtual posture in a multi-party interaction action. Exemplarily, the multi-party interaction action is that at least two virtual objects jointly pose virtual postures. As introduced above, the virtual postures indicated by the multi-party interaction action for different virtual objects can be the same or different.
[0125] In an alternative implementation manner of the present application, this embodiment further includes:
[0126] · Obtain an interaction image of completing a multi-party interaction action based on the second virtual posture of the first virtual object and the first virtual posture of the second virtual object.
[0127] Exemplarily, the interaction image can be image information and / or video information, and is used to record one or more frame pictures of completing a multi-party interaction action based on the second virtual posture of the first virtual object and the first virtual posture of the second virtual object.
[0128] Exemplarily, in the virtual environment, the interaction image is obtained by calling a virtual camera model. Exemplarily, in the virtual environment, the virtual objects are observed through the virtual camera model. Through this virtual camera model, the virtual objects located in the virtual world can be observed from different angles. Optionally, when the virtual camera model observes the virtual objects, the center point of the viewing angle of the virtual camera model points in the direction from the point on the spherical surface where the virtual camera model is located to the center of the sphere. Optionally, the virtual camera model can also observe the virtual objects at a preset angle in different directions of the virtual objects.
[0129] Figure 7 Shows a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application.
[0130] In sub - figure (a), it is shown that the first virtual pose of the second virtual object 404 in the virtual environment is a pose with the arm raised; the pose setting control 442 of the first virtual object 402 is shown; in response to a triggering operation on the pose setting control 442, sub - figure (b) is shown. In sub - figure (b), it is shown that the second virtual pose of the first virtual object 402 in the virtual environment is a pose with the arm raised; the first virtual object 402 and the second virtual object 404 achieve an interactive action of high - fiving each other by raising their arms. In sub - figure (c), it is shown that the first virtual object 402 and the second virtual object 404 achieve an interactive group photo 444 of the interactive action of high - fiving each other by raising their arms; in the interactive group photo 444, the picture of the first virtual object 402 and the second virtual object 404 high - fiving each other is shown, as well as the time and the location in the virtual environment when the first virtual object 402 and the second virtual object 404 high - fived each other are recorded. A save control 444a is also provided to provide a function entry for saving the interactive group photo.
[0131] In summary, the method provided in this embodiment provides a prompt for what virtual pose the first virtual object assumes in the virtual environment by showing the first virtual pose, guiding the controller of the first virtual object to assume the same virtual pose as the first virtual object or other virtual poses that match the first virtual pose; it provides an interactive method between virtual objects based on a virtual pose to guide the pose setting method of the first virtual object, makes full use of the first activity information executed by the second virtual object to provide guidance for the first virtual object, and improves the human - computer interaction efficiency.
[0132] Implementation method three: The first activity information includes the first audio information provided by the second virtual object in the virtual environment; correspondingly, Figure 8 The flowchart of the control method of the virtual object provided by an exemplary embodiment of the present application is shown. This method can be executed by the first computer device. That is, Figure 3 In the shown embodiment, step 520 can be implemented as step 526, and step 530 can be implemented as step 536:
[0133] Step 526: In response to a triggering operation on the marking information, play the first audio information provided by the second virtual object in the virtual environment.
[0134] Exemplarily, the first audio information is provided by the second virtual object in the virtual environment, and the first audio information guides the first virtual object to provide similar audio information to achieve a duet between the first virtual object and the second virtual object, or to prompt the triggering method of a virtual mechanism triggered by audio in the virtual environment (such as a virtual door unlocked in response to receiving preset audio information).
[0135] In this embodiment, by playing the first audio information, a prompt is provided for what kind of audio information the first virtual object provides in the virtual environment, guiding the controller of the first virtual object to provide audio information similar to the first audio information; an interactive method based on the audio information to guide the audio recording method of the first virtual object is provided between virtual objects.
[0136] Step 536: In response to the audio recording operation on the first virtual object, present the recording information of the second audio information provided by the first virtual object.
[0137] Exemplarily, the recording information is used to prompt the start of the recording of the second audio information. Optionally, the recording information can be implemented as at least one of the following:
[0138] The recording information is implemented as a recording control in an active state displayed visually; further, the audio recording operation is implemented as a triggering operation on the recording control, and in response to the triggering operation on the recording control, the recording control switches from an inactive state to an active state.
[0139] The recording information is implemented as a recording interface displayed visually, and the recording interface includes a waveform diagram of the obtained second audio information, visually displaying the waveform of the second audio information.
[0140] The recording information is implemented as the second audio information played auditorily. During the recording of the second audio information, the second audio information is played synchronously. Exemplarily, the first computer device has a microphone component and a headphone device connected to the first computer device. The second audio information is collected through the microphone device, and the second audio information is played through the headphone device. In the case where the second audio information is the voice information provided by the user of the first computer device, the synchronous earphone return function is realized by playing the second audio information.
[0141] In an alternative implementation manner of the present application, this embodiment further includes:
[0142] · Superimpose the first audio information and the second audio information into a mixed audio information, and update the mixed audio information to the information corresponding to the marker information.
[0143] In this implementation manner, the first audio information guides the similar audio information provided by the first virtual object to enable the first virtual object and the second virtual object to sing in chorus together. After obtaining the second audio information, the first audio information and the second audio information are superimposed into a mixed audio information to realize the update of the information corresponding to the marker information, and the marker information corresponds to the information jointly provided by the first virtual object and the second virtual object.
[0144] In summary, the method provided in this embodiment provides a prompt for what kind of audio information the first virtual object is provided with in the virtual environment by playing the first audio information, guiding the controller of the first virtual object to provide audio information similar to the first audio information; an interactive method based on audio information to guide the audio recording method of the first virtual object is provided between virtual objects, making full use of the first activity information already executed by the second virtual object to provide guidance for the first virtual object, and improving the human-computer interaction efficiency.
[0145] Next, the pre-trigger operation of the marking information will be introduced.
[0146] Figure 9 The flowchart of the control method of the virtual object provided by an exemplary embodiment of the present application is shown. This method can be executed by the first computer device. That is, on the basis of the embodiment shown in Figure 3 the embodiment shown, it further includes step 515:
[0147] Step 515: Display an activity list in response to the pre-trigger operation on the marking information.
[0148] Exemplarily, the activity list includes at least one candidate activity entry; the pre-trigger operation in this step provides a function entry for displaying the activity list, and the pre-trigger operation is used to indicate an interest in presenting at least one candidate activity entry included in the activity list. Correspondingly, the trigger operation in step 520 is a human-computer interaction operation for the first activity entry among at least one candidate activity entry, and the first activity entry corresponds to the first activity information of the second virtual object in the virtual environment.
[0149] Figure 10 The schematic diagram of the virtual environment provided by an exemplary embodiment of the present application is shown.
[0150] The first virtual object 402 and the marking information 418 are displayed in the virtual environment; in response to the pre-trigger operation on the marking information 418, the activity list 450 is displayed. The activity list 450 includes a first candidate activity entry 452 and a second candidate activity entry 454; the introduction text of the first candidate activity entry 452 is that there is a treasure chest ahead, which is used to introduce that the activity information corresponding to the first candidate activity entry 452 is related to the acquisition of the treasure chest. The first candidate activity entry 452 includes a first type identifier 452a, which is used to indicate that the activity information corresponding to the first candidate activity entry 452 is an activity path. The introduction text of the second candidate activity entry 454 is let's take a group photo, which is used to introduce that the activity information corresponding to the second candidate activity entry 454 is related to taking a group photo. The second candidate activity entry 454 includes a second type identifier 454a, which is used to indicate that the activity information corresponding to the second candidate activity entry 454 is related to obtaining the interactive images of multiple virtual objects.
[0151] In an alternative implementation of the present application, this embodiment further includes:
[0152] · Obtain the object information of the candidate virtual object;
[0153] · Based on the object information of the candidate virtual object, determine at least one candidate activity entry in the historical activities.
[0154] Among them, the candidate virtual object includes the second virtual object. The first computer device records the historical activities performed by the candidate virtual object in the virtual environment, and the candidate virtual object is the executor of the historical activities. Exemplarily, at least one candidate activity entry displayed in the activity list is filtered from the historical activities.
[0155] Exemplarily, the object information of the candidate virtual object includes at least one of information such as the virtual level of the candidate virtual object, the last login time in the virtual environment, and the historical activity duration of the candidate object in the virtual environment.
[0156] In one example, the object information includes the last login time of the candidate virtual object in the virtual environment; the candidate virtual objects are sorted from front to back according to the last login time to obtain a sorting queue of candidate virtual objects, and at least one candidate activity entry corresponds to the marker information created by at least one candidate object at the head of the sorting queue. It realizes preferentially displaying the activity entries created by the candidate virtual objects that have not logged in to the virtual environment for a long time in the activity list. Further, through the interaction message sent by the first virtual object to the second virtual object, the control party of the second virtual object is prompted that the marker information has received the interaction of the first virtual object, prompting the control party of the second virtual object to re-login to the virtual environment and pay attention to the interaction messages in the virtual environment.
[0157] In another example, the object information includes at least one of information such as the virtual level of the candidate virtual object and the historical activity duration of the candidate object in the virtual environment. It also includes obtaining at least one of information such as the virtual level of the first virtual object and the historical activity duration of the first virtual object in the virtual environment.
[0158] Sort the candidate virtual objects according to the similarity degree between the object information of the candidate virtual objects and the object information of the first virtual object, and obtain a sorted queue of the candidate virtual objects. At least one candidate activity entry corresponds to the marker information created by at least one candidate object at the head of the sorted queue. It is realized that the activity entries created by the candidate virtual objects with similar object information to the first virtual object are preferentially displayed in the activity list. Further, through the interaction message sent from the first virtual object to the second virtual object, a function entry for interaction is provided between virtual objects with similar virtual competition capabilities, facilitating social interactions in the virtual environment such as forming teams to participate in virtual matches, adding friends, and joining the same virtual team among virtual objects with similar virtual competition capabilities.
[0159] In an alternative design of the present application, based on the Figure 3 embodiment shown, the following steps are further included:
[0160] · In response to an information sending operation of the first virtual object on the second virtual object, send an interaction message to the second virtual object.
[0161] Exemplarily, the interaction message includes at least one of a friend adding request, a teaming request, and a virtual team invitation request. Exemplarily, the information sending operation may be a triggering operation on a control. Referring to the Figure 5 subfigure (c) in the above, the information sending operation may be a triggering operation on the add friend control to indicate sending a friend adding request; similarly, the information sending operation may be a triggering operation on the invite to team control to indicate sending a teaming request; the information sending operation may be a triggering operation on the invite to join team control to indicate sending a virtual team invitation request. Optionally, when the second virtual object exposes its login status in the virtual environment, the function entry (such as the invite to team control) for indicating sending a teaming request is in an active state.
[0162] It should be noted that the information sending operation on the second virtual object is usually executed after step 530. For example, after presenting the second activity information in cooperation with the first activity information, the first computer device has the permission to send information to the second virtual object. However, it is not excluded that after displaying the marker information, the first computer device has the permission to send information to the second virtual object and can execute this step. For example, this step can be executed at any time after step 510. The present application does not make a restrictive regulation on the execution timing of the above steps.
[0163] In summary, the method provided in this embodiment provides guidance for the virtual activities of the first virtual object in the virtual environment by presenting the first activity information of the second virtual object in the virtual environment, guides the first virtual object to execute the second activity information that cooperates with the first activity information, provides a new interaction method between virtual objects for the first virtual object, makes full use of the first activity information already executed by the second virtual object to provide guidance for the first virtual object, saves the time consumption caused by the first virtual object having to try to execute different virtual activities when exploring in the virtual environment without prompt information, and improves the human-computer interaction efficiency.
[0164] Figure 11 The flowchart of the control method of the virtual object provided by an exemplary embodiment of the present application is shown. This method can be executed by a second computer device. The method includes:
[0165] Step 610: Display a second virtual object located in the virtual environment.
[0166] In the virtual environment, the second virtual object has the ability to perform virtual activities in the virtual environment, and the virtual environment is the virtual space for the second virtual object to perform virtual activities; the second virtual object is the main control role of the second computer device; exemplarily, the second computer device can be implemented as a second terminal.
[0167] Step 620: In response to a second control operation on the second virtual object, present the first activity information executed by the second virtual object.
[0168] As introduced above, the second virtual object has the ability to perform virtual activities in the virtual environment. The second control operation is used to control the first activity information executed by the second virtual object. The first activity information indicated by the second control operation can be at least one of moving in the virtual environment, assuming a virtual posture, providing audio information, etc. The present application does not limit the type of activity indicated by the second control operation. The second control operation can be at least one of a touch operation on a touch screen, a physical button of an information input device such as a keyboard and a mouse, a component trigger operation of components such as a physical roller, a click operation on a physical button on a handle, and a toggle operation of a physical joystick. The present application does not limit the human-computer interaction method of the second control operation. Similarly, the human-computer interaction methods of the first control operation, trigger operation, creation operation, etc. in each embodiment of the present application are not limited.
[0169] In an alternative implementation manner of the present application, this step can be implemented as at least one of the following:
[0170] · In response to a movement operation on the second virtual object, display the activity path of the second virtual object in the virtual environment;
[0171] In response to the posture adjustment operation on the second virtual object, displaying the first virtual posture of the second virtual object in the virtual environment;
[0172] In response to an audio recording operation on a second virtual object, presenting recording information of the first audio information provided by the second virtual object.
[0173] Exemplarily, when the first activity information is an activity path, the first activity information records the movement activity performed by the second virtual object; the activity path provides guidance for the movement of the first virtual object and provides collaborative information on the movement method for the first virtual object.
[0174] Exemplarily, when the first activity information is a first virtual posture, the first activity information records the body posture setting activity performed by the second virtual object; the first virtual posture provides guidance for the selection of the virtual posture of the first virtual object, and provides the first virtual object with collaborative information to pose a second virtual posture corresponding to the first virtual posture and belonging to a multi-party interactive action.
[0175] Exemplarily, when the first activity information is recording information of the first audio information, the first activity information records the first audio information provided by the second virtual object; the first audio information guides the controller of the first virtual object to provide audio information similar to the first audio information; and an interactive method is provided between virtual objects based on the audio information guiding the audio recording method of the first virtual object.
[0176] For details about the activity path, the first virtual posture, and the recording information, please refer to the above embodiments, which will not be repeated here.
[0177] Step 630: In response to the information creation operation, display the tag information.
[0178] Exemplarily, the tag information provides a functional entry for presenting the first activity information of the second virtual object in the virtual environment; the information creation operation is used to indicate the intention to record the first activity information, and record the first activity information performed by the second virtual object in a manner of displaying the tag information.
[0179] Among them, the first virtual object in the virtual environment has the triggering authority of the marking information, the first virtual object is the main control role of the first computer device, and after the marking information is triggered, the first virtual object has the execution authority of the second activity information, and the second activity information is a collaborative activity of the first activity information.
[0180] For the incomplete introduction of the first virtual object, please refer to the various embodiments above, which will not be repeated here. Exemplarily, the first virtual object realizes cooperation with the first activity information previously executed by the second virtual object through the second activity information.
[0181] In an alternative implementation of the present application, the first activity information is executed by the second virtual object within the first duration before the information creation operation. The controller of the second virtual object does not need to separately indicate the start time of the first activity information, and can conveniently execute the second control operation. After the second control operation, the end time is indicated through the information creation operation, so as to create the marker information. The first activity information corresponding to the marker information is executed by the second virtual object within the first duration before the information creation operation.
[0182] In another alternative implementation of the present application, the information creation operation includes a creation start operation and a creation end operation of the marker information. Before step 620, it further includes:
[0183] · In response to the creation start operation, present a collection prompt message for the first activity information;
[0184] The creation start operation is used to indicate the start time of collecting the first activity information. The collection prompt message can be implemented as an icon presented visually, a bubble message, etc., or can be implemented as a prompt sound presented auditorily, or can also be implemented as the vibration of the second computer device presented tactilely.
[0185] Correspondingly, this step can be implemented as:
[0186] · In response to the creation end operation, display the marker information;
[0187] Exemplarily, the creation end operation is used to indicate the end time of collecting the first activity information. Exemplarily, the first activity information corresponding to the marker information is executed by the second virtual object after the creation start operation and before the creation end operation.
[0188] Furthermore, it further includes:
[0189] · In response to the creation preparation operation for the marker information, display at least two candidate activity types;
[0190] Correspondingly, the creation start operation includes a selection operation for the first activity type among at least two candidate activity types; that is:
[0191] In response to the selection operation for the first activity type among at least two candidate activity types, present a collection prompt message for the first activity information.
[0192] Exemplarily, the at least two candidate activity types are used to indicate different types of the first activity information, and / or different cooperation methods between the first activity information and the second activity information executed by the first virtual object.
[0193] Figure 12Shows a schematic diagram of a virtual environment provided by an exemplary embodiment of the present application.
[0194] In sub - figure (a), the operation of preparing to create marker information is a click operation on the marker creation space 460a. In response to the creation preparation operation, a list of candidate activity types 460 is displayed. The list of candidate activity types 460 includes four candidate activity types: path marker 462, group photo marker 464, interaction marker 466, and voice marker 468. The list of candidate activity types 460 also includes a visual range setting area 469 for setting the visual range of the created marker information to public or private.
[0195] The path marker 462 is used to indicate that the first activity information corresponding to the marker information is an activity path; the group photo marker 464 is used to indicate that the first activity information corresponding to the marker information is a first virtual pose, and the first virtual object has the permission to obtain interactive images; the interaction marker 466 is used to indicate that the first activity information corresponding to the marker information is a first virtual pose, and the first virtual object cooperates with the first virtual pose to complete a multi - party interaction action; the voice marker 468 is used to indicate that the first activity information corresponding to the marker information is a first audio message.
[0196] Exemplarily, sub - figure (b) is displayed in response to a selection operation on the path marker 462. The first activity information records the movement trajectory of the second virtual object 404 in the virtual environment. Further, by displaying the images of the second virtual object 404 at different times in a semi - transparent manner, the movement trajectory of the second virtual object 404 in the virtual environment is presented.
[0197] Next, the note information of the marker information is introduced. On the basis of this embodiment, it further includes:
[0198] · In response to an operation of adding a note to the marker information, the note information of the marker information is displayed;
[0199] Exemplarily, the operation of adding a note is usually performed after step 530, but it does not exclude the case where the operation of adding a note is performed before executing an activity information. Exemplarily, the first virtual object has the permission to view the note information; for example, referring to the Figure 10 , the description text of the candidate activity entry in the activity list is the note information.
[0200] Optionally, semantic encoding is also performed on the note information to obtain the first semantic feature carried in the note information. The first semantic feature is the feature information in the hidden layer space extracted from the note information, and it indicates the natural language meaning in the note information in a quantitative manner (for example, the first semantic feature is implemented as at least one of a feature value, a feature vector, and a feature matrix).
[0201] The first computing device obtains the first semantic feature and performs semantic encoding on the description information of the virtual task selected for the first virtual object, so as to obtain the second semantic feature carried in the description information. The second semantic feature is the feature information in the hidden layer space extracted from the description information. According to the similarity between the first semantic feature and the second semantic feature, the position of the activity entry corresponding to the first activity information in the activity list is determined. Exemplarily, at least one candidate entry information in the activity list is arranged from high to low according to the similarity degree. This is to realize preferentially displaying in the activity list the candidate entries similar to the virtual task selected for the first virtual object.
[0202] Furthermore, the semantic encoding of the note information is performed after the note information of the display mark information is displayed, and the semantic encoding of the description information of the virtual task is performed after the virtual task is selected. Since the first virtual object usually needs to move in the virtual environment after selecting the virtual task and displays the mark information when approaching the peripheral position of the mark information. The movement performed in the virtual environment provides time for the semantic encoding of the description information of the virtual task. The note information is the information entered when the second virtual object executes the first activity information, and there is also a time interval between the second virtual object and the peripheral position of the first virtual object approaching the mark information.
[0203] As above, by performing semantic encoding on the note information and the description information before displaying the mark information, it is possible to ensure that the candidate activity entries in the activity list are sorted in advance, ensuring that the candidate activity entries in the activity list can be displayed immediately, without waiting for the sorting result of the candidate activity entries after performing the pre-trigger operation on the mark information.
[0204] Next, the interaction messages received by the second virtual object are introduced. On the basis of this embodiment, it further includes:
[0205] · Display the interaction messages sent by the first virtual object, and the interaction messages include at least one of a friend addition request, a team formation request, and a virtual team invitation request. For the scarf introduction of the interaction messages, please refer to the corresponding embodiments in the above text Figure 9 and will not be repeated here one by one.
[0206] In summary, the method provided in this embodiment provides a function entry for presenting the first activity information of the second virtual object in the virtual environment by displaying the mark information, realizes providing guidance for the virtual activities of the first virtual object in the virtual environment, provides a new interaction method between virtual objects for the first virtual object, makes full use of the first activity information already executed by the second virtual object to provide guidance for the first virtual object, and improves the human-computer interaction efficiency.
[0207] Figure 13The flowchart of the control method of the virtual object provided by an exemplary embodiment of the present application is shown. The method includes:
[0208] Step 702: Display the second virtual object entering the virtual environment;
[0209] In the virtual environment, the second virtual object has the ability to perform virtual activities in the virtual environment. Exemplarily, the second terminal displays the second virtual object entering the virtual environment; the second virtual object is the main control role of the second terminal.
[0210] Step 704: Present a collection prompt message in response to a selection operation on the first activity type among at least two candidate activity types;
[0211] The at least two candidate activity types are used to indicate different types of the first activity information, and / or different cooperation methods between the first activity information and the second activity information executed by the first virtual object. The collection prompt message is used to prompt the start of collecting the first activity information.
[0212] Step 706: Present the first activity information executed by the second virtual object in response to a second control operation on the second virtual object;
[0213] Exemplarily, the second control operation is used to control the first activity information executed by the second virtual object; referring to the introduction above, the first activity information indicated by the second control operation can be at least one of moving in the virtual environment, posing a virtual posture, providing audio information, etc.
[0214] Step 708: Create marking information and store the first activity information;
[0215] After the first activity information ends, create marking information; the marking information provides a function entry for presenting the first activity information of the second virtual object in the virtual environment. Among them, the first activity information can be stored by the first terminal, the second terminal or the server providing background support for the virtual environment.
[0216] Step 710: Determine whether there is a first virtual object on the periphery of the marking information?
[0217] Exemplarily, whether there is a first virtual object on the periphery of the marking information is used to determine whether to display the marking information. For example, if there is a first virtual object on the periphery of the marking information, step 714 is executed; if there is no first virtual object on the periphery of the marking information, step 712 is executed. It can be understood that this step can be executed by the second terminal or the server providing background support for the virtual environment.
[0218] Step 712: Hide the displayed marking information;
[0219] Exemplarily, when there is no first virtual object around the marker information, this step is executed to reduce the complexity of the virtual environment displayed by the terminal by hiding the display of the marker information.
[0220] Step 714: Display the marker information;
[0221] Exemplarily, when there is a first virtual object around the marker information, this step is executed to prompt the existence of marker information for the first virtual object.
[0222] Exemplarily, in the virtual environment, the first virtual object has the ability to perform virtual activities in the virtual environment. Exemplarily, the first virtual object is displayed by the first terminal; the first virtual object is the main control role of the first terminal.
[0223] Step 716: In response to a trigger operation on the marker information, present first activity information; and in response to a first control operation on the first virtual object, present second activity information;
[0224] When there is a trigger operation on the marker information, the user of the first computer device has an observation interest in the first activity information corresponding to the marker information; correspondingly, present the first activity information of the second virtual object in the virtual environment.
[0225] Exemplarily, the first control operation is used to instruct the first virtual object to execute second activity information that cooperates with the first activity information. The second activity information is a cooperative activity of the first activity information. For example, the second activity information and the first activity information cooperate with each other to jointly complete a virtual action or virtual task, and / or the second activity information is constrained by the first activity information and performs a similar virtual activity.
[0226] Step 718: Determine whether there is an information sending operation?
[0227] Exemplarily, the information sending operation is used to send an interaction message to the second virtual object. Exemplarily, the interaction message includes at least one of a friend adding request, a teaming request, and a virtual battle team invitation request.
[0228] Exemplarily, whether there is an information sending operation is used to determine whether to send interaction information. For example, when there is an information sending operation, execute step 720; when there is no information sending operation, execute step 722. It can be understood that this step can be executed by the second terminal or the server that provides background support for the virtual environment.
[0229] Step 720: Send an interaction message;
[0230] Send an interactive message to a second virtual object. The interactive message is used to instruct the first virtual object to initiate at least one of a friend addition request, a team formation request, and a virtual battle team invitation request to the second virtual object.
[0231] Step 722: End the collaboration between the first activity information and the second activity information;
[0232] In the absence of an information sending operation, after the execution of the second activity information ends, the collaboration between the first activity information and the second activity information is ended.
[0233] In an application scenario of the present application, the application program providing the virtual environment can be a Massively Multiplayer Online Game (MMO game) application program or an open-world game application program; the virtual environment provided by the above game application program is huge in size, and there are a large number of environmental objects such as virtual characters, virtual items, virtual animals, virtual plants, and virtual buildings in the virtual environment. Limited by the complex setting of the behavior trees of the environmental objects, even if there are non-player characters in the environmental objects that can interact with the virtual object controlled by the player, the interaction methods such as conversations between the virtual object controlled by the player and the non-player characters are relatively single (for example, only fixed-content conversations can be executed). Correspondingly, the present application provides a method for controlling a player character. By presenting the second activity information in which the first player character collaborates with the first activity information, collaboration is achieved between the first player character and the first activity information historically executed by the second player character. By presenting the first activity information of the second player character, taking advantage of the characteristic that the behavior of the player character has personalized operations by the controlling party (i.e., the player), the first player object is accompanied in the virtual environment, avoiding the problem of destroying the immersion of the virtual environment by only interacting with non-player characters with a single interaction method.
[0234] Correspondingly, for the method for controlling a player character executed by the first computer device, the method includes:
[0235] Display the marker information and the first player character located in the virtual environment, where the marker information is created by the second player character in the virtual environment, the second player character is the main controlled character of the second computer device, and the first player character is the main controlled character of the first computer device;
[0236] In response to a triggering operation on the marker information, present the first activity information of the second player character in the virtual environment;
[0237] In response to a first control operation on the first player character, present the second activity information in which the first player character collaborates with the first activity information.
[0238] In an alternative implementation of the present application, in response to the triggering operation on the marked information, display the activity path of the second player character moving in the virtual environment;
[0239] In response to the movement operation on the first player character, display the movement action of the first player character following the activity path.
[0240] In an alternative implementation of the present application, in response to the triggering operation on the marked information, display the first virtual pose of the second player character in the virtual environment;
[0241] In response to the pose adjustment operation on the first player character, display the second virtual pose of the first player character in the virtual environment, where the second virtual pose and the first virtual pose of the second player character are virtual poses in a multi-party interaction action.
[0242] In an alternative implementation of the present application, in response to the triggering operation on the marked information, play the first audio information provided by the second player character in the virtual environment;
[0243] In response to the audio recording operation on the first player character, present the recording information of the second audio information provided by the first player character.
[0244] In an alternative implementation of the present application, it further includes:
[0245] In response to the information sending operation of the first player character to the second player character, send an interaction message to the second player character; the interaction message includes at least one of a friend adding request, a teaming request, and a virtual team invitation request.
[0246] Correspondingly, for the control method of the player character executed by the second computer device, the method includes:
[0247] Display the second player character located in the virtual environment, where the second player character is the main controlled character of the second computer device;
[0248] In response to the second control operation on the second player character, present the first activity information executed by the second player character;
[0249] In response to the information creation operation, display the marked information, where the marked information provides a function entry for presenting the first activity information of the second player character in the virtual environment;
[0250] Among them, the first player character in the virtual environment has the triggering permission for the marked information. The first player character is the main control character of the first computer device. After triggering the marked information, the first player character has the execution permission for the second activity information, and the second activity information is the collaborative activity of the first activity information.
[0251] In an alternative implementation manner of the present application, it includes at least one of the following:
[0252] In response to a movement operation on the second player character, display the activity path of the second player character in the virtual environment;
[0253] In response to a posture adjustment operation on the second player character, display the first virtual posture of the second player character in the virtual environment;
[0254] In response to an audio recording operation on the second player character, present the recording information of the first audio information provided by the second player character.
[0255] In an alternative implementation manner of the present application, it further includes:
[0256] In response to an operation of adding a note to the marked information, display the note information of the marked information; the first player character has the viewing permission for the note information.
[0257] In an alternative implementation manner of the present application, it further includes:
[0258] Display the interaction messages sent by the first player character, where the interaction messages include at least one of a friend adding request, a teaming request, and a virtual team invitation request.
[0259] In an application scenario of the present application, the virtual environment is a virtual puzzle environment including a maze terrain or a virtual level; the controlling party of the player character needs to try to perform different virtual activities, find the correct path in the virtual puzzle environment, and reach the end point; or perform the correct virtual actions to trigger virtual organs. In the face of a virtual puzzle environment with a high level of difficulty in passing the levels, due to insufficient virtual competition ability, players cannot try out the correct way to solve the puzzle by themselves. By presenting the first activity information and guiding the first player character to execute the second activity information that collaborates with the first activity information, hint information is provided for solving the puzzle in the virtual puzzle environment; it avoids the need for players to search for decryption experience information in other application programs outside the provided virtual puzzle environment, and improves the human-computer interaction efficiency of providing hint information for solving the puzzle in the virtual puzzle environment.
[0260] Correspondingly, for the control method of the player character executed by the first computer device, the method includes:
[0261] Display the marked information and the first player character located in the virtual puzzle environment, where the marked information is created by the second player character in the virtual puzzle environment, the second player character is the main control character of the second computer device, and the first player character is the main control character of the first computer device;
[0262] In response to a triggering operation on the marked information, present the first activity information of the second player character in the virtual puzzle environment;
[0263] In response to a first control operation on the first player character, present the second activity information that the first player character executes in cooperation with the first activity information.
[0264] In an alternative implementation manner of the present application, in response to the triggering operation on the marked information, display the activity path of the second player character moving in the virtual puzzle environment;
[0265] In response to a moving operation on the first player character, display the moving action of the first player character following the activity path.
[0266] In an alternative implementation manner of the present application, in response to the triggering operation on the marked information, display the first virtual posture of the second player character in the virtual puzzle environment;
[0267] In response to a posture adjustment operation on the first player character, display the second virtual posture of the first player character in the virtual puzzle environment, where the second virtual posture and the first virtual posture of the second player character are the virtual postures in a multi-party interaction action.
[0268] In an alternative implementation manner of the present application, in response to the triggering operation on the marked information, play the first audio information provided by the second player character in the virtual puzzle environment;
[0269] In response to an audio recording operation on the first player character, present the recording information of the second audio information provided by the first player character.
[0270] In an alternative implementation manner of the present application, it further includes:
[0271] In response to the first player character's information sending operation to the second player character, send an interaction message to the second player character; the interaction message includes at least one of a friend adding request, a teaming request, and a virtual team invitation request.
[0272] Correspondingly, for the control method of the player character executed by the second computer device, the method includes:
[0273] Display a second player character located in a virtual puzzle environment, where the second player character is the main control character of the second computer device;
[0274] In response to a second control operation on the second player character, present first activity information executed by the second player character;
[0275] In response to an information creation operation, display marker information, where the marker information provides a function entry for presenting the first activity information of the second player character in the virtual puzzle environment;
[0276] Among them, the first player character in the virtual puzzle environment has the triggering permission for the marker information. The first player character is the main control character of the first computer device. After triggering the marker information, the first player character has the execution permission for second activity information, and the second activity information is a collaborative activity of the first activity information.
[0277] In an alternative implementation manner of the present application, it includes at least one of the following:
[0278] In response to a movement operation on the second player character, display the activity path of the second player character in the virtual puzzle environment;
[0279] In response to a posture adjustment operation on the second player character, display the first virtual posture of the second player character in the virtual puzzle environment;
[0280] In response to an audio recording operation on the second player character, present the recording information of the first audio information provided by the second player character.
[0281] In an alternative implementation manner of the present application, it further includes:
[0282] In response to an operation of adding a note to the marker information, display the note information of the marker information; the first player character has the viewing permission for the note information.
[0283] In an alternative implementation manner of the present application, it further includes:
[0284] Display the interaction messages sent by the first player character, where the interaction messages include at least one of a friend addition request, a team formation request, and a virtual team invitation request.
[0285] In the above two application scenarios, for the incomplete introduction of the first player character and the second player character, please refer to the first virtual object and the second virtual object in the above text; similarly, for the incomplete introduction of some technical features in this embodiment, reference can be made to the respective technical features in the embodiment of the control method of the virtual object in the above text, and they will not be repeated here one by one.
[0286] 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 new embodiments to implement the method for controlling virtual objects in the present application.
[0287] Figure 14 The block diagram of the control device for virtual objects provided by an exemplary embodiment of the present application is shown. The device is provided by a first computer device, and the device includes:
[0288] A presentation module 810, configured to display marker information and a first virtual object located in a virtual environment, where the marker information is created by a second virtual object in the virtual environment, the second virtual object is the main control role of a second computer device, and the first virtual object is the main control role of the first computer device;
[0289] The presentation module 810 is further configured to present first activity information of the second virtual object in the virtual environment in response to a trigger operation on the marker information;
[0290] The presentation module 810 is further configured to present second activity information in which the first virtual object executes in cooperation with the first activity information in response to a first control operation on the first virtual object.
[0291] In an optional implementation manner of this embodiment, the presentation module 810 is further configured to:
[0292] Display an activity path along which the second virtual object moves in the virtual environment in response to the trigger operation on the marker information;
[0293] Display a movement action in which the first virtual object follows the activity path in response to a movement operation on the first virtual object.
[0294] In an optional implementation manner of this embodiment, the activity path includes a first path between a first position and a second position where the marker information is located; the presentation module 810 is further configured to:
[0295] Display a movement action in which the first virtual object moves to the second position along the first path in response to a first movement operation on the first virtual object;
[0296] Display a second path between the second position and a third position when the first virtual object reaches the second position;
[0297] Display a movement action in which the first virtual object moves to the third position along the second path in response to a second movement operation on the first virtual object.
[0298] In an alternative implementation of this embodiment, the rendering module 810 is further configured to:
[0299] When the first virtual object moves to the end position of the active path, display that the first virtual object obtains a virtual item or completes a virtual task; the end position of the active path is the placement position of the virtual item or the completion position of the virtual task.
[0300] In an alternative implementation of this embodiment, the rendering module 810 is further configured to:
[0301] In response to the triggering operation on the marked information, display the first virtual pose of the second virtual object in the virtual environment;
[0302] In response to the pose adjustment operation on the first virtual object, display the second virtual pose of the first virtual object in the virtual environment, and the second virtual pose and the first virtual pose of the second virtual object are virtual poses in a multi-party interaction action.
[0303] In an alternative implementation of this embodiment, the device further includes:
[0304] An acquisition module 820, configured to acquire an interactive image for completing the multi-party interaction action based on the second virtual pose of the first virtual object and the first virtual pose of the second virtual object.
[0305] In an alternative implementation of this embodiment, the rendering module 810 is further configured to:
[0306] In response to the triggering operation on the marked information, play the first audio information provided by the second virtual object in the virtual environment;
[0307] In response to the audio recording operation on the first virtual object, present the recording information of the second audio information provided by the first virtual object.
[0308] In an alternative implementation of this embodiment, the device further includes:
[0309] A processing module 830, configured to superimpose the first audio information and the second audio information into mixed audio information, and update the mixed audio information to the information corresponding to the marked information.
[0310] In an alternative implementation of this embodiment, the rendering module 810 is further configured to:
[0311] In response to the pre-triggering operation on the marked information, display an activity list, where the activity list includes at least one candidate activity entry;
[0312] Wherein, the triggering operation is a human-computer interaction operation for a first activity entry among the at least one candidate activity entry, and the first activity entry corresponds to the first activity information of the second virtual object in the virtual environment.
[0313] In an alternative implementation of this embodiment, the apparatus further includes:
[0314] An obtaining module 820, configured to obtain object information of a candidate virtual object, where the candidate virtual object includes the second virtual object, and the first computer device records historical activities performed by the candidate virtual object in the virtual environment;
[0315] A processing module 830, configured to determine the at least one candidate activity entry from the historical activities based on the object information of the candidate virtual object.
[0316] In an alternative implementation of this embodiment, the apparatus further includes:
[0317] A sending module 840, configured to send an interaction message for the second virtual object in response to an information sending operation of the first virtual object on the second virtual object; the interaction message includes at least one of a friend adding request, a teaming request, and a virtual battle team invitation request.
[0318] Figure 15 The structure block diagram of a control apparatus for a virtual object provided by an exemplary embodiment of the present application is shown. The apparatus is provided by a second computer device, and the apparatus includes:
[0319] A presenting module 860, configured to display a second virtual object located in a virtual environment, where the second virtual object is the main control role of the second computer device;
[0320] The presenting module 860 is further configured to present first activity information executed by the second virtual object in response to a second control operation on the second virtual object;
[0321] The presenting module 860 is further configured to display marking information in response to an information creation operation, where the marking information provides a function entry for presenting the first activity information of the second virtual object in the virtual environment;
[0322] Wherein, a first virtual object in the virtual environment has the triggering permission for the marking information, the first virtual object is the main control role of the first computer device, and after triggering the marking information, the first virtual object has the execution permission for second activity information, and the second activity information is a collaborative activity of the first activity information.
[0323] In an alternative implementation of this embodiment, the presentation module 860 is further configured to perform at least one of the following:
[0324] In response to a movement operation on the second virtual object, display the activity path of the second virtual object in the virtual environment;
[0325] In response to a pose adjustment operation on the second virtual object, display the first virtual pose of the second virtual object in the virtual environment;
[0326] In response to an audio recording operation on the second virtual object, present the recording information of the first audio information provided by the second virtual object.
[0327] In an alternative implementation of this embodiment, the information creation operation includes a creation start operation and a creation end operation of the marking information; the presentation module 860 is further configured to:
[0328] In response to the creation start operation, present a collection prompt message for the first activity information;
[0329] In response to the creation end operation, display the marking information;
[0330] Wherein, the first activity information corresponding to the marking information is performed by the second virtual object after the creation start operation and before the creation end operation.
[0331] In an alternative implementation of this embodiment, the presentation module 860 is further configured to:
[0332] In response to a creation preparation operation on the marking information, display at least two candidate activity types;
[0333] In response to a selection operation on the first activity type among the at least two candidate activity types, present the collection prompt message for the first activity information.
[0334] In an alternative implementation of this embodiment, the first activity information is performed by the second virtual object within a first time period before the information creation operation.
[0335] In an alternative implementation of this embodiment, the presentation module 860 is further configured to:
[0336] In response to an operation of adding a note to the marking information, display the note information of the marking information; the first virtual object has the viewing permission for the note information.
[0337] In an alternative implementation of this embodiment, the presentation module 860 is further configured to:
[0338] Display the interaction messages sent by the first virtual object, where the interaction messages include at least one of a friend addition request, a team formation request, and a virtual team invitation request.
[0339] It should be noted that when the device provided in the above embodiments realizes its functions, only the division of the above-mentioned functional modules is used for illustration. In actual applications, the above functions can be assigned 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.
[0340] Regarding the device in the above embodiments, 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.
[0341] The embodiments of the present application further provide a computer device, which includes: a processor and a memory, and a computer program is stored in the memory; the processor is used to execute the computer program in the memory to implement the control method of the virtual object provided in the above method embodiments.
[0342] Figure 16 The structural block diagram 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 notebook computer, or a desktop computer. The terminal 1900 may also be referred to by other names such as a user device, a portable terminal, a laptop terminal, a desktop terminal, etc.
[0343] 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 quad-core processor, an octa-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), or PLA (Programmable Logic Array). The processor 1901 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor used to process 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.
[0344] The memory 1902 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 1902 may further 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, and the at least one instruction is used to be executed by the processor 1901 to implement the control method of the virtual object provided in the method embodiment of the present application.
[0345] 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.
[0346] The peripheral device interface 1903 can be used to connect at least one I / O (Input / Output) related peripheral device 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 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.
[0347] 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, each generation 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), and this application does not limit this.
[0348] 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 touch signals on or above the surface of the touch display screen 1905. The touch signals can be input as control signals to the processor 1901 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 are 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 more, the touch display screen 1905 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The touch display screen 1905 can be prepared from materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0349] The camera module 1906 is used to capture images or videos. Optionally, the camera module 1906 includes a front camera and a rear camera. Generally, the front camera is provided on the front panel of the terminal, and the rear camera is provided 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 realize the function of background blurring by fusing the main camera and the depth camera, the function of panoramic shooting for VR (Virtual Reality) shooting by fusing the main camera and the wide-angle camera, or other fusion shooting functions. In some embodiments, the camera module 1906 may further include a flash. The flash can be a single-color temperature flash or a two-color temperature flash. The two-color temperature flash refers to the combination of a warm light flash and a cold light flash, and can be used for light compensation under different color temperatures.
[0350] 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 for input to the processor 1901 for processing, or input to the radio frequency circuit 1904 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1900. The microphone may also be an array microphone or an omnidirectional collection 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.
[0351] 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 disposable 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. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charging technology.
[0352] 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.
[0353] The acceleration sensor 1910 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established with 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 signal 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.
[0354] 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 shortcut operations 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.
[0355] The optical sensor 1913 is used to collect 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 assembly 1906 according to the ambient light intensity collected by the optical sensor 1913.
[0356] 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 processor 1901 controls the touch display screen 1905 to switch from the lit state to the off state; when the proximity sensor 1914 detects that the distance between the user and the front of the terminal 1900 is gradually increasing, the processor 1901 controls the touch display screen 1905 to switch from the off state to the lit state.
[0357] 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.
[0358] In an exemplary embodiment, a chip is further provided, and the chip includes programmable logic circuits and / or program instructions, which are used to implement the control method of the virtual object described in the above aspects when the chip runs on a computer device.
[0359] In an exemplary embodiment, a computer program product is further provided. The computer program product includes computer instructions that are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor reads and executes the computer instructions to implement the control method of a virtual object provided in each of the foregoing method embodiments.
[0360] In an exemplary embodiment, a computer-readable storage medium is further provided. A computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the control method of a virtual object provided in each of the foregoing method embodiments.
[0361] Those of ordinary skill in the art can understand that all or part of the steps to implement the foregoing embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a magnetic disk, an optical disk, or the like.
[0362] 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 a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0363] The foregoing are only optional 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 principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for controlling a virtual object, characterized in that, The method is executed by a first computer device, and the method includes: Displaying marker information and a first virtual object located in a virtual environment, where the marker information is created in the virtual environment by a second virtual object, the second virtual object being the master character of a second computer device, and the first virtual object being the master character of the first computer device; In response to a triggering operation on the marker information, presenting first activity information of the second virtual object in the virtual environment; In response to a first control operation on the first virtual object, presenting second activity information for the first virtual object to perform in cooperation with the first activity information.
2. The method according to claim 1, wherein The presenting first activity information of the second virtual object in the virtual environment in response to a triggering operation on the marker information includes: In response to the triggering operation on the marker information, displaying an activity path along which the second virtual object moves in the virtual environment; The presenting second activity information for the first virtual object to perform in cooperation with the first activity information in response to a first control operation on the first virtual object includes: In response to a movement operation on the first virtual object, displaying a movement action of the first virtual object following the activity path.
3. The method according to claim 2, wherein The activity path includes a first path between a first position and a second position where the marker information is located; the displaying a movement action of the first virtual object following the activity path in response to a movement operation on the first virtual object includes: In response to a first movement operation on the first virtual object, displaying a movement action of the first virtual object moving along the first path to the second position; When the first virtual object reaches the second position, displaying a second path between the second position and a third position; In response to a second movement operation on the first virtual object, displaying a movement action of the first virtual object moving along the second path to the third position.
4. The method according to claim 2, wherein The method further includes: When the first virtual object moves to the end position of the activity path, displaying the first virtual object obtaining a virtual item or completing a virtual task; the end position of the activity path is the placement position of the virtual item or the completion position of the virtual task.
5. The method according to claim 1, wherein The presenting first activity information of the second virtual object in the virtual environment in response to a triggering operation on the marker information includes: In response to the triggering operation on the marker information, displaying a first virtual pose of the second virtual object in the virtual environment; The presenting second activity information for the first virtual object to perform in cooperation with the first activity information in response to a first control operation on the first virtual object includes: In response to a pose adjustment operation on the first virtual object, displaying a second virtual pose of the first virtual object in the virtual environment, where the second virtual pose and the first virtual pose of the second virtual object are virtual poses in a multi-party interaction action.
6. The method according to claim 5, characterized in that, The method further includes: Obtain the second virtual pose of the first virtual object and the first virtual pose of the second virtual object to complete the interactive video of the multi-party interactive action.
7. The method according to claim 1, wherein In response to a trigger operation on the marker information, present first activity information of the second virtual object in the virtual environment, including: In response to the trigger operation on the marker information, play first audio information provided by the second virtual object in the virtual environment; In response to a first control operation on the first virtual object, present second activity information in which the first virtual object executes in cooperation with the first activity information, including: In response to an audio recording operation on the first virtual object, present recording information of second audio information provided by the first virtual object.
8. The method according to claim 7, characterized in that The method further includes: Overlay the first audio information and the second audio information into mixed audio information, and update the mixed audio information to the information corresponding to the marker information.
9. The method according to any one of claims 1 to 8, characterized in that, The method further includes: In response to a pre-trigger operation on the marker information, display an activity list, where the activity list includes at least one candidate activity entry; Wherein, the trigger operation is a human-computer interaction operation on a first activity entry among the at least one candidate activity entry, and the first activity entry corresponds to the first activity information of the second virtual object in the virtual environment.
10. The method according to claim 9, characterized in that, The method further includes: Obtain object information of a candidate virtual object, where the candidate virtual object includes the second virtual object, and the first computer device records historical activities executed by the candidate virtual object in the virtual environment; Based on the object information of the candidate virtual object, determine the at least one candidate activity entry from the historical activities.
11. The method according to any one of claims 1 to 8, characterized in that, The method further includes: In response to an information sending operation of the first virtual object to the second virtual object, send an interaction message to the second virtual object; the interaction message includes at least one of a friend adding request, a teaming request, and a virtual battle team invitation request.
12. A control method for a virtual object, characterized in that The method is executed by a second computer device, and the method includes: Display a second virtual object located in the virtual environment, where the second virtual object is the main control role of the second computer device; In response to a second control operation on the second virtual object, present first activity information executed by the second virtual object; In response to an information creation operation, display marker information, where the marker information provides a function entry for presenting the first activity information of the second virtual object in the virtual environment; Wherein, the first virtual object in the virtual environment has the trigger permission for the marker information, the first virtual object is the main control role of the first computer device, and after triggering the marker information, the first virtual object has the execution permission for second activity information, and the second activity information is a cooperative activity of the first activity information.
13. The method according to claim 12, characterized in that, The presenting the first activity information executed by the second virtual object in response to the second control operation on the second virtual object includes at least one of the following: In response to a movement operation on the second virtual object, display the active path of the second virtual object in the virtual environment; In response to a posture adjustment operation on the second virtual object, display the first virtual posture of the second virtual object in the virtual environment; In response to an audio recording operation on the second virtual object, present the recording information of the first audio information provided by the second virtual object.
14. The method according to claim 12 or 13, characterized in that, The information creation operation includes a creation start operation and a creation end operation of the marking information; the method further includes: In response to the creation start operation, present a collection prompt message for the first activity information; The displaying of the marking information in response to the information creation operation includes: In response to the creation end operation, display the marking information; Wherein, the first activity information corresponding to the marking information is performed by the second virtual object after the creation start operation and before the creation end operation.
15. The method according to claim 14, wherein The method further includes: In response to a creation preparation operation on the marking information, display at least two candidate activity types; The presenting of the collection prompt message for the first activity information in response to the creation start operation includes: In response to a selection operation on a first activity type among the at least two candidate activity types, present the collection prompt message for the first activity information.
16. The method according to claim 12 or 13, characterized in that, The first activity information is performed by the second virtual object within a first time period before the information creation operation.
17. The method according to claim 12 or 13, characterized in that, The method further includes: In response to an operation of adding a note to the marking information, display the note information of the marking information; the first virtual object has the viewing permission for the note information.
18. The method according to claim 12 or 13, characterized in that The method further includes: Display an interaction message sent by the first virtual object, where the interaction message includes at least one of a friend addition request, a team formation request, and a virtual battle team invitation request.
19. A control device for a virtual object, characterized in that, The device is provided by a first computer device, and the device includes: A presentation module for displaying the marking information and the first virtual object located in the virtual environment, where the marking information is created by a second virtual object in the virtual environment, the second virtual object is the main control role of a second computer device, and the first virtual object is the main control role of the first computer device; The presentation module is further configured to present the first activity information of the second virtual object in the virtual environment in response to a trigger operation on the marking information; The presentation module is further configured to present the second activity information performed by the first virtual object in cooperation with the first activity information in response to a first control operation on the first virtual object.
20. A control device for a virtual object, characterized in that, The device is provided by a second computer device, and the device includes: A presentation module for displaying the second virtual object located in the virtual environment, where the second virtual object is the main control role of the second computer device; The presentation module is further configured to present the first activity information performed by the second virtual object in response to a second control operation on the second virtual object. The presentation module is further configured to display marker information in response to an information creation operation, where the marker information provides a function entry for presenting the first activity information of the second virtual object in the virtual environment; Among them, a first virtual object in the virtual environment has the trigger permission for the marker information. The first virtual object is the main control role of the first computer device. After triggering the marker information, the first virtual object has the execution permission for second activity information, and the second activity information is a collaborative activity of the first activity information.
21. A computer device, characterized in that, The computer device includes: a processor and a memory, where at least one program is stored in the memory; the processor is configured to execute the at least one program in the memory to implement the control method of the virtual object according to any one of claims 1 to 18 above.
22. A computer-readable storage medium, characterized in that, Executable instructions are stored in the readable storage medium, and the executable instructions are loaded and executed by a processor to implement the control method of the virtual object according to any one of claims 1 to 18 above.
23. A computer program product, characterized in that, The computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to implement the control method of the virtual object according to any one of claims 1 to 18 above.