CN114288670A - Interaction method, device, equipment, medium and program product of virtual object - Google Patents

Interaction method, device, equipment, medium and program product of virtual object Download PDF

Info

Publication number
CN114288670A
CN114288670A CN202111657499.XA CN202111657499A CN114288670A CN 114288670 A CN114288670 A CN 114288670A CN 202111657499 A CN202111657499 A CN 202111657499A CN 114288670 A CN114288670 A CN 114288670A
Authority
CN
China
Prior art keywords
virtual object
task
virtual
displaying
target task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111657499.XA
Other languages
Chinese (zh)
Other versions
CN114288670B (en
Inventor
林凌云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Publication of CN114288670A publication Critical patent/CN114288670A/en
Application granted granted Critical
Publication of CN114288670B publication Critical patent/CN114288670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The application discloses an interaction method, device, equipment, medium and program product of a virtual object, and relates to the field of virtual environments. The method comprises the following steps: responding to the received task starting operation of the target task, and displaying a first virtual object corresponding to the target task in the virtual environment, wherein the first virtual object is used for assisting the execution process of the target task, and the target task corresponds to a task requirement; displaying a second virtual object in the virtual environment, wherein the second virtual object is in an enemy relationship with the master control virtual object; responding to the master control virtual object to eliminate the second virtual object, and displaying the interactive animation between the first virtual object and the eliminated second virtual object; and responding to that a second virtual object interacted with the first virtual object meets the task requirement, and displaying task completion information of the target task. The main control virtual object realizes the interaction between the first virtual object and the second virtual object by starting the task and eliminating the second virtual object, thereby enriching the interaction mode between the virtual objects.

Description

Interaction method, device, equipment, medium and program product of virtual object
The present application claims priority from chinese patent application No. 202111333674.X entitled "interaction method of virtual objects, apparatus, device, medium, and program product" filed 11/2021, the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of virtual environments, and in particular, to a method, an apparatus, a device, a medium, and a program product for interacting virtual objects.
Background
In a Shooting-type competition program, such as a First-Person Shooting (FPS) game and a Third-Person Shooting (TPS), a player can play a virtual object in a virtual game pair to compete with a virtual gun.
In the related art, virtual play is generally realized in shooting-type games through competition among teams, for example, other enemy teams are eliminated in the virtual play to achieve a winning condition, or scores are obtained among teams by mutually killing each other to obtain the highest team score as a winning condition, and the like.
However, the virtual game in the shooting game is implemented in a single way, and the interaction way in which the player can participate in the virtual game is single.
Disclosure of Invention
The embodiment of the application provides an interaction method, device, equipment, medium and program product of virtual objects, which can enrich interaction modes among the virtual objects. The technical scheme is as follows:
in one aspect, a method for interaction of virtual objects is provided, the method including:
responding to the received task starting operation of a target task, and displaying a first virtual object corresponding to the target task in a virtual environment, wherein the first virtual object is used for assisting the execution process of the target task, and the target task corresponds to a task requirement;
displaying a second virtual object in the virtual environment, the second virtual object being in a hostile relationship with a master virtual object;
in response to the master virtual object eliminating the second virtual object, displaying an interactive animation between the first virtual object and the eliminated second virtual object;
and responding to the second virtual object interacted with the first virtual object to meet the task requirement, and displaying task completion information of the target task.
In another aspect, an apparatus for interacting with a virtual object is provided, the apparatus comprising:
the display module is used for responding to the received task starting operation of a target task, and displaying a first virtual object corresponding to the target task in a virtual environment, wherein the first virtual object is used for assisting the execution process of the target task, and the target task corresponds to a task requirement;
the display module is further configured to display a second virtual object in the virtual environment, where the second virtual object is in a hostile relationship with the master virtual object;
the display module is further configured to respond to the master virtual object eliminating the second virtual object, and display an interactive animation between the first virtual object and the eliminated second virtual object;
the display module is further configured to display task completion information of the target task in response to the second virtual object interacting with the first virtual object meeting the task requirement.
In another aspect, a computer device is provided, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the method for interacting with a virtual object according to any one of the embodiments of the present application.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the program code is loaded and executed by a processor to implement the interaction method of the virtual object described in any of the embodiments of the present application.
In another aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the interaction method of the virtual object described in any of the above embodiments.
The technical scheme provided by the application at least comprises the following beneficial effects:
after the target task is started, when the main control virtual object eliminates the second virtual object, the first virtual object corresponding to the target task interacts with the eliminated second virtual object, and when the second virtual object interacted with the first virtual object meets the task requirement, the main control virtual object is represented to complete the target task. Interaction modes between the virtual objects are enriched through interaction between the main control virtual object and the second virtual object and interaction between the first virtual object and the second virtual object, and accordingly implementation modes of virtual game matching are enriched.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 2 is a flowchart of a method for interaction of virtual objects provided by an exemplary embodiment of the present application;
FIG. 3 is a flowchart of a method for interaction of virtual objects provided in another exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of a first virtual object and task markup provided by an exemplary embodiment of the present application;
FIG. 5 is a schematic illustration of a virtual environment interface provided by an exemplary embodiment of the present application;
FIG. 6 is a flowchart of an interactive screen for a virtual object, as provided by another exemplary embodiment of the present application;
FIG. 7 is a flowchart of a method for interaction of virtual objects provided in another exemplary embodiment of the present application;
FIG. 8 is a flowchart of a method for interaction of virtual objects provided in another exemplary embodiment of the present application;
FIG. 9 is a block diagram of an interaction apparatus for virtual objects according to an exemplary embodiment of the present disclosure;
FIG. 10 is a block diagram of an interactive apparatus for virtual objects according to another exemplary embodiment of the present application;
fig. 11 is a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application are briefly described:
virtual environment: is a virtual environment that is displayed (or provided) when an application is run on the terminal. The virtual environment may be a simulation environment of a real world, a semi-simulation semi-fictional three-dimensional environment, or a pure fictional three-dimensional environment. The virtual environment may be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, and the following embodiments illustrate the virtual environment as a three-dimensional virtual environment, but are not limited thereto. Optionally, the virtual environment is also used for virtual environment engagement between at least two virtual characters. Optionally, the virtual environment is also used for a virtual firearm engagement between at least two virtual characters. Optionally, the virtual environment is further configured to engage a virtual firearm between at least two virtual characters within a target area that is smaller over time in the virtual environment.
Virtual object: refers to a movable object in a virtual environment. The movable object can be a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil drums, walls, stones, etc. displayed in a three-dimensional virtual environment. Optionally, the virtual object is a three-dimensional volumetric model created based on animated skeletal techniques. Each virtual object has its own shape and volume in the three-dimensional virtual environment, occupying a portion of the space in the three-dimensional virtual environment.
In this embodiment of the application, the virtual object includes a main control virtual object and an intelligent virtual object, where the main control virtual object is a virtual object controlled by a player through a terminal, that is, the player may control the main control virtual object to perform actions such as walking, running, jumping, shooting, fighting, driving, picking up an article, using skills, and the like in a virtual environment. The above-mentioned intelligent virtual object is an AI (Artificial Intelligence) or virtual object controlled by preset program content, that is, the executed activity of the intelligent virtual object in the virtual environment is the activity specified by the AI or preset program content.
In conjunction with the above noun explanations, an implementation environment of the embodiments of the present application will be explained. FIG. 1 shows a block diagram of a computer system provided in an exemplary embodiment of the present application. The computer system 100 includes: terminal device 110, server 120, and communication network 130.
The terminal device 110 is installed and operated with an application program supporting a virtual environment. The application program may be any one of a virtual reality application program, a three-dimensional map program, a TPS Game, an FPS Game, a Multiplayer Online tactical sports Game (MOBA), a Massively Multiplayer Online Role Playing Game (MMORPG), and a Multiplayer gunfight type live Game. The user controls the master virtual object located in the virtual environment through the terminal device 110. The terminal device 110 includes various types of terminal devices such as a mobile phone, a tablet computer, a desktop computer, and a laptop computer.
The server 120 is used to provide background services for applications that support a three-dimensional virtual environment. Illustratively, the server 120 provides a back-end logic for the application program according to the application request sent by the terminal device 110, and the terminal device 110 provides a front-end logic for the application program. Optionally, server 120 undertakes primary computational work and terminal device 110 undertakes secondary computational work; alternatively, server 120 undertakes the secondary computing work and terminal device 110 undertakes the primary computing work; alternatively, the server 120 and the terminal device 110 perform cooperative computing by using a distributed computing architecture. In some embodiments, when the application is a standalone game, i.e., the game logic is completed by the terminal device 110.
It should be noted that the server 120 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like. In some embodiments, the server 120 described above may also be implemented as a node in a blockchain system. The Blockchain (Blockchain) is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like.
In this embodiment, after receiving a task start operation of a target task, the terminal device 110 obtains configuration information corresponding to the target task from the server 120 through a task start request, displays a first virtual object and a second virtual object in a virtual environment according to the configuration information, displays an interactive animation between the first virtual object and a eliminated second virtual object after the master control virtual object eliminates the second virtual object, and displays task completion information when the terminal device 110 or the server 120 detects that the second virtual object interacted with the first virtual object meets a task requirement corresponding to the target task.
Illustratively, terminal device 110 and server 120 are connected via a communication network 130.
Referring to fig. 2, a method for interaction of virtual objects is shown in an embodiment of the present application, and in the embodiment of the present application, the method is applied to a terminal device shown in fig. 1, and the method includes:
step 201, in response to receiving a task starting operation for a target task, displaying a first virtual object corresponding to the target task in a virtual environment.
The first virtual object is used for assisting the execution process of a target task, and the target task corresponds to a task requirement.
A virtual environment interface is displayed in the terminal device, where the virtual environment interface includes a picture of observing the virtual environment by the master control virtual object, and schematically, the virtual environment picture is a picture of observing the virtual environment in a view angle direction of the master control virtual object, and optionally, the view angle direction may be a first person view angle or a third person view angle, which is not limited herein. The first person perspective is a perspective corresponding to a picture which can be observed by the main control virtual object in the virtual environment, and the picture corresponding to the first person perspective does not include the main control virtual object, such as an arm and a virtual gun which can only see the main control virtual object; the third person refers to a viewing angle, that is, a viewing angle from which the main control virtual object is observed through the camera model in the virtual environment, a picture corresponding to the third person refers to the viewing angle and includes the main control virtual object itself, and the camera model is usually located behind the main control virtual object to observe the main control virtual object, for example, a three-dimensional model of the main control virtual object and a virtual prop (e.g., a virtual gun) held by the main control virtual object can be seen.
In the embodiment of the application, a player can control the main control virtual object to receive the target task through the terminal device and start the target task. Optionally, the master virtual object may access the target task by interacting with a Non-Player Character (NPC) in the virtual environment; or, the target task can be accessed through a task interface provided in the virtual environment interface; alternatively, the master virtual object may access the target task by picking up a virtual prop in the virtual environment.
Illustratively, the target task corresponds to a task starting stage, a task proceeding stage and a task ending stage. In some embodiments, the task starting condition may be that the main control virtual object moves to a task-designated position in the virtual environment, or the task starting condition may be a task access operation, that is, after the target task is accessed, the task is started and a task execution stage is entered. The task proceeding stage is used for indicating the task process executed by the main control virtual object according to the task requirement of the target task. And the task ending stage is used for indicating the master control virtual object to display a task result after finishing a task requirement.
In the embodiment of the application, when a task starting operation is received in a task starting stage, the terminal device displays a first virtual object corresponding to a target task in a virtual environment interface.
Optionally, the task starting operation may be implemented through a task starting control, for example, the virtual environment interface includes a task panel, each task accessed by the main control virtual object is displayed in the task panel, each or a part of the tasks in the task panel corresponds to the task starting control, and when the task starting control corresponding to the target task receives the trigger operation, it is determined that the task starting operation is received.
Optionally, the task starting operation may be implemented by a task mark in the virtual environment, illustratively, after the main control virtual object receives the target task, the target task may be started by the task mark in the virtual environment, for example, when the main control virtual object is close to the task mark, a task interaction control may be displayed, and when the task interaction control receives a trigger operation, it is determined that the task starting operation is received, or a position corresponding to the task mark is directly clicked, that is, the task starting operation is taken.
Step 202, displaying a second virtual object in the virtual environment.
Illustratively, the second virtual object is in a hostile relationship with the master virtual object, that is, the master virtual object may attack the second virtual object, and/or the second virtual object may attack the master virtual object. For example, the second virtual object and the master virtual object belong to different camps.
In some embodiments, the first virtual object and the second virtual object are smart virtual objects, that is, the first virtual object and the second virtual object are AI virtual objects controlled by a server or a terminal device.
Alternatively, the second virtual object may be a virtual object that is refreshed according to the target task, that is, after the target task receives the task starting operation, the second virtual object is refreshed and displayed around the master virtual object. Optionally, the second virtual object may be a virtual object originally existing in the virtual environment, that is, after the target task receives the task starting operation, the terminal device controls the second virtual object in the virtual environment to move and attack the master virtual object.
Step 203, responding to the master virtual object eliminating the second virtual object, and displaying the interactive animation between the first virtual object and the eliminated second virtual object.
In the embodiment of the application, the player can control the main control virtual object to attack the second virtual object, and when the second virtual object is eliminated, the interaction process between the first virtual object and the eliminated second virtual object can be displayed.
Illustratively, the second virtual object corresponds to an attribute value, and when the virtual damage caused by the master virtual object to the second virtual object reaches or exceeds the attribute value of the second virtual object, it is determined that the second virtual object is eliminated. Optionally, the attribute value includes at least one of a life value (HP), a magic value (Mana Point, MP), a defense value, and the like.
Illustratively, when the second virtual object is eliminated, the state of the second virtual object is changed from a first state to a second state, in one example, the first state is a fighting state, and the second state is a fighting loss state, and the second virtual object in the second state does not attack the master virtual object any more.
In some embodiments, the first virtual object interacts with the deselected second virtual object when the deselected second virtual object is within a range of the first virtual object. Illustratively, a task execution range is displayed at a first position in the virtual environment, the first position being on a peripheral side of a second position where the first virtual object is located, and when the eliminated second virtual object is in the task execution range, an interactive animation between the first virtual object and the eliminated second virtual object will be displayed. In some embodiments, when there is no obsolete second virtual object within the task execution scope, the first virtual object is in a standby state.
In this embodiment of the application, the interactive animation indicates that the first virtual object and the eliminated second virtual object perform interaction, for example, the first virtual object corresponds to a virtual wolf dog, the second virtual object corresponds to a virtual zombie, and the interactive animation displays a picture that the virtual wolf dog gnaws the virtual zombie.
And step 204, responding to that a second virtual object interacted with the first virtual object meets the task requirement, and displaying task completion information of the target task.
In the embodiment of the application, the task requirement is to determine the completion condition of the target task in the execution process of the target task by the master virtual object.
Alternatively, the task requirement may indicate the number of eliminated second virtual objects interacting with the first virtual object, for example, when the second virtual objects interacting with the first virtual object reach a target threshold, the target task is determined to be completed, and task completion information of the target task is displayed.
Alternatively, the task requirement may indicate an object type of the eliminated second virtual object interacting with the first virtual object, for example, the object type corresponding to the second virtual object includes a soldier type, a primary leader (BOSS) type, a middle leader type, a high leader type, and the like, and when the eliminated second virtual object interacting with the first virtual object is the high leader type, it is determined that the target task is completed, and task completion information of the target task is displayed.
Illustratively, the task completion information is used to indicate to the player that the target task has been completed. Optionally, the task completion information further includes task reward information, that is, after the main control virtual object completes the target task, the virtual goods can be obtained, and the main control virtual object can complete virtual match through the virtual goods, where the virtual goods may be medicine goods, weapon goods, city defense goods, and the like, and are not limited herein.
In some embodiments, a third virtual object is displayed in the virtual environment after the master virtual object completes the target task. Optionally, the third virtual object is used to replace a second virtual object in the virtual environment, and an attribute value corresponding to the third virtual object is lower than an attribute value corresponding to the second virtual object, that is, the refreshed third virtual object in the virtual environment is more easily eliminated by the master virtual object than the second virtual object, if the master virtual object does not complete the target task, the second virtual object is still refreshed in the virtual environment, and both the second virtual object and the third virtual object are in an enemy relationship with the master virtual object. Optionally, the third virtual object is used to assist the main control virtual object, that is, the third virtual object generated after the target task is completed is in a teammate relationship or a master-slave relationship with the main control virtual object, and the third virtual object is in an enemy relationship with the second virtual object in the virtual environment.
To sum up, in the interaction method for virtual objects provided in the embodiment of the present application, after the target task is started, when the master control virtual object eliminates the second virtual object, the first virtual object corresponding to the target task interacts with the eliminated second virtual object, and when the second virtual object interacting with the first virtual object meets the task requirement, the master control virtual object completes the target task. Interaction modes between the virtual objects are enriched through interaction between the main control virtual object and the second virtual object and interaction between the first virtual object and the second virtual object, and accordingly implementation modes of virtual game matching are enriched.
Referring to fig. 3, a method for interaction of virtual objects is shown in an embodiment of the present application, in which an interface display of the method is schematically illustrated, and the method includes:
at step 301, a task marker is displayed at a second location in the virtual environment.
The task marker is used to indicate a location in the virtual environment for completing the target task.
In an embodiment of the present application, in response to the master virtual object accepting the target task, a task marker corresponding to the target task is displayed at a second location in the virtual environment. Alternatively, the second location may be a plurality of location points specified in the virtual environment.
In some embodiments, the task marker is displayed in the virtual environment only after the target task is started; or the task mark is displayed in the virtual environment, when the target task is not started, the task mark is in an inactivated state, and when the target task is started, the task mark is in an activated state, wherein the task mark in the inactivated state cannot interact with the main control virtual object, and the task mark in the activated state can interact with the main control virtual object.
Alternatively, the task mark may be at least one of a text mark, a pattern mark, an animation mark, a voice mark, and the like, which is not limited herein. In one example, when the task mark is a pattern mark, the pattern corresponding to the task mark has an association relationship with the first virtual object, for example, as shown in fig. 4, the three-dimensional model of the first virtual object 401 is a dog head, and the corresponding task mark 402 corresponds to a two-dimensional dog head pattern.
Alternatively, the task mark may be displayed in a first display mode, and the first display mode may be one of a display mode such as a stroke display mode, a highlight display mode, and a color change display mode.
Step 302, in response to receiving a task starting operation for the target task at a position corresponding to the task mark, displaying a first virtual object corresponding to the target task.
In some embodiments, when the target task is turned on, a scene of the first virtual object is displayed in the virtual environment screen, the scene indicating that the target task is turned on. Illustratively, the scene cut is used to display the conversion process of the task mark into the first virtual object, for example, the scene cut is a two-dimensional pattern of the task mark gradually converted into the first virtual object of the three-dimensional model; alternatively, the pop-up animation is used to display that the first virtual object is generated from a position corresponding to a task mark, for example, the task mark is displayed on a virtual wall, and the pop-up animation is an animation in which the first virtual object is drilled from a position corresponding to the task mark.
Illustratively, the corresponding target task is determined according to the task mark, the object model of the first virtual object corresponding to the target task is obtained, and the scene-out animation of the first virtual object is displayed based on the object model of the first virtual object. Optionally, the object model of the first virtual object obtained by the terminal device may be stored in the terminal device in advance, or may be obtained from a server in real time.
Step 303, displaying a task execution scope at a first location in the virtual environment.
In some embodiments, the first position is a position on an inner side of the second position of the task mark, and the task execution range is used for indicating a range limit for the master virtual object to complete the target task.
Illustratively, the target task corresponds to configuration information, and the terminal device displays the task execution range according to the configuration information. Optionally, the configuration information may be pre-stored by the terminal device, or may be obtained from a server in real time.
Optionally, the configuration information includes at least one of position configuration data, range configuration data, position effect data, and the like. The location configuration data is used to provide the first location, and in one example, the location configuration data includes coordinate data of the first location in a world coordinate system corresponding to the virtual environment. The range configuration data is used to indicate the size of the task execution range, and in one example, the range configuration data corresponds to data such as a range shape, a range area, a range radius, and the like of the task execution range, for example, if the range configuration data is [ circle, radius 5 m ], the task execution range is a circular region with a radius of 5 m at the first position. The position effect data is used for indicating a display effect corresponding to the task execution range, and illustratively, the position effect data indicates that the task execution range is displayed in a second display mode, which may be at least one of a highlight display mode, a pattern display mode, a stroke display mode, and the like, and in one example, the task execution range is displayed in a pattern surrounded by flames.
Step 304, displaying a second virtual object in the virtual environment.
The second virtual object is in an enemy relationship with the master virtual object, that is, the master virtual object can attack the second virtual object.
In some embodiments, the first virtual object and the second virtual object are smart virtual objects, that is, the first virtual object and the second virtual object are AI virtual objects controlled by a server or a terminal device.
Alternatively, the second virtual object may be a virtual object that is refreshed according to the target task, that is, after the target task receives the task starting operation, the second virtual object is refreshed and displayed around the master virtual object. Optionally, the second virtual object may be a virtual object originally existing in the virtual environment, that is, after the target task receives the task starting operation, the terminal device controls the second virtual object in the virtual environment to move and attack the master virtual object.
In this embodiment of the application, taking the second virtual object as an example of refreshing the virtual object in the virtual environment according to the target task, after the terminal device determines that the target task is started, the terminal device reads the refresh point location data corresponding to the second virtual object, where the refresh point location data is used to indicate an initial generation position of the second virtual object in the virtual environment, and displays the second virtual object in the virtual environment according to the refresh point location data at the target refresh frequency. Optionally, the point location refreshing data may include a coordinate set in a world coordinate system in a virtual environment, that is, the terminal device randomly or sequentially obtains coordinate data from the coordinate set, and generates a second virtual object at a position corresponding to the coordinate data; or, the refresh point location data may include a location range in which the second virtual object is refreshed in the virtual environment, and the terminal device randomly determines a location where the second virtual object is generated within the location range.
Step 305, in response to the master virtual object eliminating the second virtual object and the second virtual object being within the task execution range, displaying the interactive animation between the first virtual object and the eliminated second virtual object.
In the embodiment of the application, the player can control the main control virtual object to attack the second virtual object, and when the second virtual object is eliminated, the interaction process between the first virtual object and the eliminated second virtual object can be displayed.
Illustratively, the second virtual object corresponds to an attribute value, and when the virtual damage caused by the master virtual object to the second virtual object reaches or exceeds the attribute value of the second virtual object, it is determined that the second virtual object is eliminated. Optionally, the attribute value includes at least one of a life value (HP), a magic value (Mana Point, MP), a defense value, and the like.
Illustratively, when the second virtual object is eliminated, the state of the second virtual object is changed from a first state to a second state, in one example, the first state is a fighting state, and the second state is a fighting loss state, and the second virtual object in the second state does not attack the master virtual object any more.
In this embodiment of the application, the eliminated second virtual object needs to be located within the task execution range, and the eliminated second virtual object interacts with the first virtual object. In one example, after the target task is started and the second virtual object is refreshed in the virtual environment, the second virtual object moves and attacks with the master control virtual object as a hate target, and the player can control the master control virtual object to attract the second virtual object to the task execution range and attack the second virtual object to eliminate the second virtual object.
In some embodiments, when at least two eliminated second virtual objects are included within the task execution scope, the second virtual object currently interacting with the first virtual object is determined according to an elimination order between the eliminated second virtual objects.
Illustratively, a removal sequence corresponding to the removed second virtual objects within the task execution range is determined, in response to that the current second virtual object is the virtual object with the earliest removal time in the removed second virtual objects, a moving animation of the current second virtual object moving to the first virtual object is displayed, and in response to that the current second virtual object moves to the second position, an interactive animation between the first virtual object and the current second virtual object is displayed.
In some embodiments, the first virtual object is in a standby (Idle) state when the second virtual object is not currently deselected within the task execution scope, and a standby animation of the first virtual object is displayed when the first virtual object is in the standby state.
Referring to fig. 5, which illustrates a virtual environment interface diagram provided in an exemplary embodiment of the present application, a master virtual object 501, a first virtual object 502, and a plurality of second virtual objects 503 are displayed in a virtual environment interface 500, in a virtual environment screen displayed in the virtual environment interface 500, a task execution range is displayed through a fire circle 504, and when the master virtual object 501 eliminates the second virtual object 503 within the fire circle 504, the first virtual object 501 interacts with the eliminated second virtual object 503.
Step 306, in response to a second virtual object interacting with the first virtual object within the task duration reaching a target threshold, displaying task completion information for the target task.
In the embodiment of the application, the target task corresponds to the task duration, and the player needs to control the main control virtual object within the task duration to complete the task requirement corresponding to the target task. Illustratively, the task duration starts to be timed after receiving a task starting operation for the target task.
In this embodiment of the application, the task requirement corresponding to the target task is that, within the task duration, the eliminated second virtual object interacting with the first virtual object reaches a target threshold N, where N is a positive integer, and illustratively, N is configured by the server for the target task in advance.
Illustratively, the task completion information is used to indicate to the player that the target task has been completed. Optionally, the task completion information further includes task reward information, that is, after the main control virtual object completes the target task, the virtual goods can be obtained, and the main control virtual object can complete virtual match through the virtual goods, where the virtual goods may be medicine goods, weapon goods, city defense goods, and the like, and are not limited herein.
In some embodiments, a third virtual object is displayed in the virtual environment after the master virtual object completes the target task. Optionally, the third virtual object is used to replace a second virtual object in the virtual environment, and an attribute value corresponding to the third virtual object is lower than an attribute value corresponding to the second virtual object, that is, the refreshed third virtual object in the virtual environment is more easily eliminated by the master virtual object than the second virtual object, if the master virtual object does not complete the target task, the second virtual object is still refreshed in the virtual environment, and both the second virtual object and the third virtual object are in an enemy relationship with the master virtual object. Optionally, the third virtual object is used to assist the main control virtual object, that is, the third virtual object generated after the target task is completed is in a teammate relationship or a master-slave relationship with the main control virtual object, and the third virtual object is in an enemy relationship with the second virtual object in the virtual environment.
Step 307, in response to the second virtual object interacting with the first virtual object within the task duration not reaching the target threshold, displaying task failure information of the target task.
In the embodiment of the application, if the eliminated second virtual object interacting with the first virtual object in the task duration does not reach the target threshold, it is determined that the main control virtual object fails to execute the target task, and task failure information is correspondingly displayed.
In some embodiments, after the target task fails to complete, the second virtual object is continuously refreshed in the virtual environment, and the player needs to manipulate the master virtual object to avoid being eliminated by the second virtual object.
In some embodiments, after the target task is failed to complete, a part of virtual materials currently carried by the master control virtual object is deducted, where the virtual materials may be medicine materials, weapon materials, city defense materials, and the like, which is not limited herein.
In one example, as shown in fig. 6, an interactive screen flow diagram of a virtual object provided by an exemplary embodiment of the present application is shown. The virtual environment interface 600 displays a main control virtual object 601, when the main control virtual object 601 receives a target task and starts the target task through a task mark 610, a task start prompt 620 is displayed, a scene of a first virtual object 602 is displayed at a position corresponding to the task mark 610, a task execution range 630 is displayed at a first position in the virtual environment, and a plurality of second virtual objects 603 are displayed in the task execution range 630 and around the task execution range 630 in a refreshing manner. At this time, the user may control the master virtual object 601 to attack the second virtual object 603 in the virtual environment until the second virtual object 603 is killed, that is, is in a eliminated state, the terminal controls the eliminated second virtual object 604 in the task execution range 603 to move to the first virtual object 602, plays an interactive animation in which the first virtual object 602 phagocytoses the eliminated second virtual object 604, and displays the task completion information 650 when the eliminated second virtual object 604 phagocytosed by the first virtual object 602 meets the task requirement 640 within the task duration.
To sum up, in the interaction method for virtual objects provided in the embodiment of the present application, after the target task is started, when the master control virtual object eliminates the second virtual object, the first virtual object corresponding to the target task interacts with the eliminated second virtual object, and when the second virtual object interacting with the first virtual object meets the task requirement, the master control virtual object completes the target task. Interaction modes between the virtual objects are enriched through interaction between the main control virtual object and the second virtual object and interaction between the first virtual object and the second virtual object, and accordingly implementation modes of virtual game matching are enriched.
Referring to fig. 7, a method for interaction of virtual objects is shown in an embodiment of the present application, in which a task start phase of a target task is schematically illustrated, and the method includes:
step 701, responding to the main control virtual object to receive the target task, and acquiring the point location information of the task.
In the embodiment of the application, the master control virtual object accesses the target task by interacting with the NPC in the virtual environment; or, the target task is accessed through a task interface provided in the virtual environment interface; or the main control virtual object accesses the target task by picking up the virtual prop in the virtual environment.
And when the terminal equipment detects that the main control virtual object receives the target task, acquiring task point location information corresponding to the target task. Illustratively, taking the example of obtaining a target task through an NPC, a terminal device receives an interactive operation of a master control virtual object to the NPC, and an interactive dialogue area with the NPC, when a task access operation of the target task is received through the interactive dialogue area, the terminal device sends a task access request to a server, the task access request includes an NPC identifier and a task identifier, the server records an action of the master control virtual object in the terminal device to access the target task according to the task identifier, obtains task information corresponding to the target task, sends the task information to the terminal device, the terminal device obtains the task point location information by analyzing the task information, and displays a task mark in a virtual environment through the task point location information.
In some embodiments, the master virtual object belongs to a target team that includes at least two virtual objects controlled by players. When one virtual object in the target team receives the target task, that is, other virtual objects in the representative target team also receive the target task, that is, the virtual objects in the target team share the target task.
Step 702, displaying a task marker at least one second position in the virtual environment based on the task point location information.
In this embodiment of the application, the task point location information includes a coordinate set corresponding to the second location, that is, the coordinate set includes a location in the virtual environment where the task mark needs to be displayed. Illustratively, the position of the task marker displayed in the virtual environment may be one or more, and is not limited herein. And the terminal equipment displays the task mark in the virtual environment according to the coordinate set.
In some embodiments, after the master virtual object accepts the target task, a task guide mark is displayed in the virtual environment interface, and the task guide mark is used for indicating that the master virtual object moves to the vicinity of the first position corresponding to the task mark. Alternatively, the task guidance mark may be a virtual footprint pattern displayed in the virtual environment, an arrow pattern displayed in the virtual environment, or a dot mark pattern displayed in the virtual map, which is not limited herein.
And 703, responding to the situation that the main control virtual object is positioned in the mark range corresponding to the task mark, and displaying the task interaction control.
And when the terminal equipment detects that the main control virtual object moves to the mark range corresponding to the task mark, displaying the task interaction control on the virtual environment interface.
In some embodiments, the target task corresponds to a task start condition. Optionally, the task starting condition may be that the master virtual object needs to carry a task item meeting the task starting condition, and the task item may be picked up from a virtual environment or synthesized by a virtual synthesizer, which is not limited herein.
Optionally, the task starting condition may also be that the target task is in an unopened state, in some embodiments, when the target task is a shared task in the target team, if the virtual environment includes a plurality of task markers corresponding to the target task, the target task is allowed to be started at only one task marker at the same time, when the master virtual object is within a marker range, the terminal device first determines whether the target task is currently started by other virtual objects in the target team, if not, it is determined that the task starting condition is met, the task interaction control is displayed, and if started, task starting information is displayed, where the task starting information may be used to guide the master virtual object to move to a task marker of the currently started target task.
In this embodiment of the application, when the master virtual object moves outside the mark range, the terminal device hides the task interaction control.
Step 704, in response to the task interaction control receiving the trigger signal, determining that a task starting operation for the target task is received.
And when the task interaction control receives the trigger signal, the terminal equipment determines to receive task starting operation on the target task. In some embodiments, the terminal device generates a task starting request according to the task starting operation, transmits the task starting request to the server, and the server records the task starting request after receiving the task starting request, and broadcasts a starting instruction of the target task to the terminal devices corresponding to other virtual objects in the target team to synchronize the state of the target task.
Step 705, determining a corresponding target task according to the task mark.
And after determining that the task starting operation is received, the terminal equipment determines a target task corresponding to the current task mark, and if determining that the main control virtual object receives the target task, the terminal equipment executes the subsequent steps.
Step 706, an object model of the first virtual object corresponding to the target task is obtained.
And after the terminal equipment determines the target task corresponding to the task mark, reading the object model of the first virtual object corresponding to the target task. In some embodiments, the terminal device obtains a corresponding model file according to the task identifier of the target task, and analyzes the model file to obtain an object model corresponding to the first virtual object.
Step 707 displays the scene of the first virtual object based on the object model of the first virtual object.
Illustratively, after acquiring the object model corresponding to the first virtual object, the terminal device acquires the scene-out animation parameters corresponding to the first virtual object, inputs the scene-out animation parameters into the shader corresponding to the object model, generates the scene-out animation of the first virtual object, and displays the scene-out animation.
To sum up, in the interaction method of the virtual object provided in the embodiment of the present application, in the starting stage of the target task, after the main control virtual object receives the target task, the main control virtual object starts the target task by finding and approaching the task mark corresponding to the target task in the virtual environment, and displays the scene exit animation of the first virtual object after starting the target task, and enriches the implementation forms of the tasks in the virtual environment through the task mark, thereby enriching the implementation forms of the virtual game.
Referring to fig. 8, a method for interaction of virtual objects is shown in an embodiment of the present application, in which a task progress phase and a task end phase of a target task are schematically illustrated, and the method includes:
step 801, obtaining configuration information corresponding to the target task.
In the embodiment of the present application, the configuration information includes location configuration data, range configuration data, and location effect data.
The location configuration data is used to provide the first location, and in one example, the location configuration data includes coordinate data of the first location in a world coordinate system corresponding to the virtual environment. The range configuration data is used to indicate the size of the task execution range, and in one example, the range configuration data corresponds to data such as a range shape, a range area, a range radius, and the like of the task execution range, for example, if the range configuration data is [ circle, radius 5 m ], the task execution range is a circular region with a radius of 5 m at the first position. The position effect data is used for indicating a display effect corresponding to the task execution range, and illustratively, the position effect data indicates that the task execution range is displayed in a second display mode, and the second display mode may be at least one of a highlight display mode, a pattern display mode, a stroke display mode, and the like.
Step 802, displaying a task execution scope in the virtual environment based on the configuration information.
Illustratively, a first position corresponding to the task execution range is determined based on the position configuration data, the task execution range is determined based on the range configuration data, and the task execution range is displayed with the position effect data at the first position in the virtual environment. In one example, the task execution range determined according to the configuration information is a circular area with the radius of 5 meters, and the terminal device draws the task execution range in the virtual environment through the flame effect indicated by the position effect data by taking the first position as a center of a circle.
Step 803, an object configuration list corresponding to the target task is obtained.
In this embodiment of the application, the configuration information further includes an object configuration list corresponding to the target task, where the object configuration list is used to determine an object model of the second virtual object corresponding to the target task, that is, the object model of the second virtual object corresponding to the target task is obtained based on the object configuration list.
And step 804, reading the refresh point location data corresponding to the second virtual object.
The refresh point location data is used to indicate an initial generation location of the second virtual object in the virtual environment. After the terminal device determines that the target task is started, reading refreshing point location data corresponding to a second virtual object, optionally, the refreshing point location data may include a coordinate set in a world coordinate system in a virtual environment, that is, the terminal device obtains coordinate data randomly or sequentially from the coordinate set, and generates the second virtual object at a position corresponding to the coordinate data; or, the refresh point location data may include a location range in which the second virtual object is refreshed in the virtual environment, and the terminal device randomly determines a location where the second virtual object is generated within the location range.
Step 805, displaying the second virtual object in the virtual environment based on the object model of the second virtual object according to the refresh point location data at the target refresh frequency.
In this embodiment of the present application, the second virtual object further corresponds to a target refresh frequency (for example, 1 in 5 seconds), and after the object model of the second virtual object is determined, a refresh point location is determined from the refresh point location data, so that the second virtual object is generated in the virtual environment at the target refresh frequency.
Step 806, in response to the master virtual object eliminating the second virtual object and the eliminated second virtual object being within the task execution range, displaying the interactive animation between the first virtual object and the eliminated second virtual object.
In the embodiment of the application, the player can control the main control virtual object to attack the second virtual object, and when the second virtual object is eliminated, the interaction process between the first virtual object and the eliminated second virtual object can be displayed.
Illustratively, the second virtual object corresponds to an attribute value, and when the virtual damage caused by the master virtual object to the second virtual object reaches or exceeds the attribute value of the second virtual object, it is determined that the second virtual object is eliminated. Optionally, the attribute value includes at least one of a life value (HP), a magic value (Mana Point, MP), a defense value, and the like.
Illustratively, when the second virtual object is eliminated, the state of the second virtual object is changed from a first state to a second state, in one example, the first state is a fighting state, and the second state is a fighting loss state, and the second virtual object in the second state does not attack the master virtual object any more.
When the second eliminated virtual object of the main control virtual object is positioned in the task execution range, the first virtual object interacts with the eliminated second virtual object. In one example, the above interaction manner is that the first virtual object gnaws the eliminated second virtual object, and displays a corresponding gnawing animation.
In step 807, in response to the first virtual object completing the interaction process with the ith eliminated second virtual object, the task scores corresponding to the target tasks are accumulated, where i is a positive integer.
In the embodiment of the application, in the task proceeding stage of the target task, every time the first virtual object completes the interaction process with the eliminated second virtual object, the task score corresponding to the target task is increased by a preset score.
And 808, responding to that the corresponding task score of the target task in the task duration reaches the target threshold value, and displaying task completion information.
Illustratively, in the task performing stage, the terminal device determines whether the task score corresponding to the target task reaches a target threshold, if not, calculates the duration of the current target task, determines whether the duration reaches the task duration, if the duration reaches the task duration, the target task is finished, but the target task fails to be executed because the task score does not reach the target threshold, and if the task duration does not reach the task duration, the terminal device continues to monitor the task score and the duration of the target task until the task score reaches the target threshold or the task duration is finished.
And when the task score corresponding to the target task reaches the target threshold value within the task duration, determining that the target task is completed, and displaying task completion information.
Illustratively, the task completion information is used to indicate to the player that the target task has been completed. Optionally, the task completion information further includes task reward information, that is, after the main control virtual object completes the target task, the virtual goods can be obtained, and the main control virtual object can complete virtual match through the virtual goods, where the virtual goods may be medicine goods, weapon goods, city defense goods, and the like, and are not limited herein.
In some embodiments, a third virtual object is displayed in the virtual environment after the master virtual object completes the target task. Optionally, the third virtual object is used to replace a second virtual object in the virtual environment, and an attribute value corresponding to the third virtual object is lower than an attribute value corresponding to the second virtual object, that is, the refreshed third virtual object in the virtual environment is more easily eliminated by the master virtual object than the second virtual object, if the master virtual object does not complete the target task, the second virtual object is still refreshed in the virtual environment, and both the second virtual object and the third virtual object are in an enemy relationship with the master virtual object. Optionally, the third virtual object is used to assist the main control virtual object, that is, the third virtual object generated after the target task is completed is in a teammate relationship or a master-slave relationship with the main control virtual object, and the third virtual object is in an enemy relationship with the second virtual object in the virtual environment.
To sum up, in the interaction method for virtual objects provided in the embodiment of the present application, after the target task is started, when the master control virtual object eliminates the second virtual object, the first virtual object corresponding to the target task interacts with the eliminated second virtual object, and when the second virtual object interacting with the first virtual object meets the task requirement, the master control virtual object completes the target task. Interaction modes between the virtual objects are enriched through interaction between the main control virtual object and the second virtual object and interaction between the first virtual object and the second virtual object, and accordingly implementation modes of virtual game matching are enriched.
Referring to fig. 9, a block diagram of an interactive apparatus for virtual objects according to an exemplary embodiment of the present application is shown, where the apparatus includes the following modules:
a display module 910, configured to, in response to receiving a task starting operation for a target task, display a first virtual object corresponding to the target task in a virtual environment, where the first virtual object is used to assist an execution process of the target task, and the target task corresponds to a task requirement;
the display module 910 is further configured to display a second virtual object in the virtual environment, where the second virtual object is in a hostile relationship with the master virtual object;
the display module 910 is further configured to display an interactive animation between the first virtual object and the eliminated second virtual object in response to the master virtual object eliminating the second virtual object;
the display module 910 is further configured to display task completion information of the target task in response to that the second virtual object interacting with the first virtual object meets the task requirement.
In an alternative embodiment, the display module 910 is further configured to display a task execution scope at a first position in the virtual environment;
the display module 910 is further configured to display the interactive animation between the first virtual object and the eliminated second virtual object in response to the master virtual object eliminating the second virtual object, and the second virtual object is located within the task execution range.
In an alternative embodiment, as shown in fig. 10, the apparatus further comprises:
a determining module 920, configured to determine a removal order corresponding to the removed second virtual object within the task execution range;
the display module 910 is further configured to, in response to that the current second virtual object is a virtual object with the earliest elimination time in the eliminated second virtual objects, display a moving animation in which the current second virtual object moves to the first virtual object;
the display module 910 is further configured to display the interactive animation between the first virtual object and the current second virtual object in response to the current second virtual object moving to the second position.
In an optional embodiment, the apparatus further comprises:
an obtaining module 930, configured to obtain configuration information corresponding to the target task, where the configuration information includes location configuration data, range configuration data, and location effect data;
the determining module 920 is further configured to determine the first location based on the location configuration data;
the determining module 920 is further configured to determine the task execution scope based on the scope configuration data;
the display module 910 is further configured to display the task execution range at the first location with the location effect data.
In an optional embodiment, the display module 910 is further configured to display a task mark at a second location in the virtual environment, where the task mark is used to indicate a location in the virtual environment for completing the target task;
the display module 910 is further configured to display the first virtual object corresponding to the target task in response to receiving a task starting operation on the target task at a position corresponding to the task mark.
In an optional embodiment, the obtaining module 930 is further configured to, in response to the master virtual object receiving the target task, obtain task point location information, where the task point location information corresponds to the target task;
the display module 910 is further configured to display the task marker at least one second location in the virtual environment based on the task point location information.
In an optional embodiment, the display module 910 is further configured to display a task interaction control in response to that the master virtual object is located in a mark range corresponding to the task mark;
the determining module 920 is further configured to determine that a task starting operation for the target task is received in response to the task interaction control receiving a trigger signal;
the display module 910 is further configured to display the first virtual object corresponding to the target task.
In an optional embodiment, the obtaining module 930 is further configured to read refresh point location data corresponding to the second virtual object, where the refresh point location data is used to indicate an initial generation position of the second virtual object in the virtual environment;
the display module 910 is further configured to display the second virtual object in the virtual environment according to the refresh point location data at a target refresh frequency.
In an optional embodiment, the obtaining module 930 is further configured to obtain an object configuration list corresponding to the target task;
the obtaining module 930, further configured to obtain, based on the object configuration list, an object model of the second virtual object corresponding to the target task;
the display module 910 is further configured to display the second virtual object in the virtual environment based on an object model of the second virtual object.
In an optional embodiment, the display module 910 is further configured to display the task completion information of the target task in response to the second virtual object interacting with the first virtual object within a task duration reaching a target threshold.
In an optional embodiment, the apparatus further comprises:
a control module 940, configured to display a third virtual object in the virtual environment, where the third virtual object is used to replace the second virtual object in the virtual environment, and a property value corresponding to the third virtual object is lower than a property value corresponding to the second virtual object;
and/or the presence of a gas in the gas,
the control module 940 is further configured to control the main control virtual object to obtain virtual goods, where the main control virtual object completes virtual matching through the virtual goods.
To sum up, after the target task is started, when the main control virtual object eliminates the second virtual object, the first virtual object corresponding to the target task interacts with the eliminated second virtual object, and when the second virtual object interacting with the first virtual object meets the task requirement, the main control virtual object is represented to complete the target task. Interaction modes between the virtual objects are enriched through interaction between the main control virtual object and the second virtual object and interaction between the first virtual object and the second virtual object, and accordingly implementation modes of virtual game matching are enriched.
It should be noted that: the interaction apparatus for virtual objects provided in the above embodiments is only illustrated by the division of the above functional modules, and in practical applications, the above function allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the interaction device of the virtual object and the interaction method embodiment of the virtual object provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 11 shows a block diagram of a terminal 1100 according to an exemplary embodiment of the present application. The terminal 1100 may be: a smart phone, a tablet computer, a motion Picture Experts Group Audio Layer 3 player (MP 3), a motion Picture Experts Group Audio Layer 4 player (MP 4), a notebook computer or a desktop computer. Terminal 1100 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so forth.
In general, terminal 1100 includes: a processor 1101 and a memory 1102.
Processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1101 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 1101 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1101 may be integrated with a Graphics Processing Unit (GPU) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 1101 may also include an AI processor for processing computational operations related to machine learning.
Memory 1102 may include one or more computer-readable storage media, which may be non-transitory. Memory 1102 can also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1102 is used to store at least one instruction for execution by processor 1101 to implement the virtual office based control method provided by the method embodiments herein.
In some embodiments, the terminal 1100 may further include: a peripheral interface 1103 and at least one peripheral. The processor 1101, memory 1102 and peripheral interface 1103 may be connected by a bus or signal lines. Various peripheral devices may be connected to the peripheral interface 1103 by buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, display screen 1105, audio circuitry 1107, and power supply 1109.
Those skilled in the art will appreciate that the configuration shown in fig. 11 does not constitute a limitation of terminal 1100, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, which may be a computer readable storage medium contained in a memory of the above embodiments; or it may be a separate computer-readable storage medium not incorporated in the terminal. The computer readable storage medium has at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by the processor to implement the virtual office based control method of any of the above embodiments.
Optionally, the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), Solid State Drive (SSD), or optical disc, etc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM). The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (16)

1. A method for interaction of virtual objects, the method comprising:
responding to the received task starting operation of a target task, and displaying a first virtual object corresponding to the target task in a virtual environment, wherein the first virtual object is used for assisting the execution process of the target task, and the target task corresponds to a task requirement;
displaying a second virtual object in the virtual environment, the second virtual object being in a hostile relationship with a master virtual object;
in response to the master virtual object eliminating the second virtual object, displaying an interactive animation between the first virtual object and the eliminated second virtual object;
and responding to the second virtual object interacted with the first virtual object to meet the task requirement, and displaying task completion information of the target task.
2. The method of claim 1, wherein the displaying an interactive animation between the first virtual object and the deselected second virtual object in response to the master virtual object deselecting the second virtual object comprises:
displaying a task execution scope at a first location in the virtual environment;
and responding to the main control virtual object to eliminate the second virtual object, wherein the second virtual object is positioned in the task execution range, and the interactive animation between the first virtual object and the eliminated second virtual object is displayed.
3. The method of claim 2, wherein said displaying the interactive animation between the first virtual object and the deselected second virtual object comprises:
determining a corresponding elimination sequence of the eliminated second virtual object in the task execution range;
in response to that the current second virtual object is the virtual object with the earliest elimination time in the eliminated second virtual objects, displaying a moving animation of the current second virtual object moving to the first virtual object;
displaying the interactive animation between the first virtual object and the current second virtual object in response to the current second virtual object moving to the second position.
4. The method of claim 2, wherein displaying a task execution scope at a first location in the virtual environment comprises:
acquiring configuration information corresponding to the target task, wherein the configuration information comprises position configuration data, range configuration data and position effect data;
determining the first location based on the location configuration data;
determining the task execution scope based on the scope configuration data;
displaying the task execution scope at the first location with the location effect data.
5. The method of any one of claims 1 to 4, wherein the displaying the first virtual object corresponding to the target task in response to receiving a task start operation for the target task comprises:
displaying a task marker at a second location in the virtual environment, the task marker indicating a location in the virtual environment for completing the target task;
and responding to the task starting operation of the target task received at the position corresponding to the task mark, and displaying the first virtual object corresponding to the target task.
6. The method of claim 5, wherein displaying task indicia in the virtual environment comprises:
responding to the main control virtual object to receive the target task, and acquiring task point location information, wherein the task point location information corresponds to the target task;
displaying the task marker at least one of the second locations in the virtual environment based on the task point location information.
7. The method of claim 5, wherein displaying the first virtual object corresponding to the target task in response to receiving a task-on operation for the target task at a location corresponding to the task marker comprises:
responding to the main control virtual object located in the mark range corresponding to the task mark, and displaying a task interaction control;
responding to the task interaction control to receive a trigger signal, and determining that task starting operation on the target task is received;
displaying the first virtual object corresponding to the target task.
8. The method of claim 7, wherein after determining that a task start operation for the target task is received, further comprising:
determining the corresponding target task according to the task mark;
acquiring an object model of the first virtual object corresponding to the target task;
displaying a scene cut of the first virtual object based on an object model of the first virtual object, the scene cut being used for indicating that the target task is started.
9. The method of any of claims 1 to 4, wherein displaying the second virtual object in the virtual environment comprises:
reading refreshing point location data corresponding to the second virtual object, wherein the refreshing point location data is used for indicating an initial generation position of the second virtual object in the virtual environment;
and displaying the second virtual object in the virtual environment according to the refresh point location data at a target refresh frequency.
10. The method of any of claims 1 to 4, wherein said displaying said second virtual object in said virtual environment comprises:
acquiring an object configuration list corresponding to the target task;
acquiring an object model of the second virtual object corresponding to the target task based on the object configuration list;
displaying the second virtual object in the virtual environment based on an object model of the second virtual object.
11. The method of any of claims 1 to 4, wherein displaying task completion information for the target task in response to the second virtual object interacting with the first virtual object meeting the task requirements comprises:
displaying the task completion information of the target task in response to the second virtual object interacting with the first virtual object within a task duration reaching a target threshold.
12. The method of claim 11, wherein after displaying the task completion information for the target task, further comprising:
displaying a third virtual object in the virtual environment, wherein the third virtual object is used for replacing the second virtual object in the virtual environment, and the attribute value corresponding to the third virtual object is lower than the attribute value corresponding to the second virtual object;
and/or the presence of a gas in the gas,
and controlling the main control virtual object to obtain virtual goods and materials, wherein the main control virtual object completes virtual matching through the virtual goods and materials.
13. An apparatus for interaction with a virtual object, the apparatus comprising:
the display module is used for responding to the received task starting operation of a target task, and displaying a first virtual object corresponding to the target task in a virtual environment, wherein the first virtual object is used for assisting the execution process of the target task, and the target task corresponds to a task requirement;
the display module is further configured to display a second virtual object in the virtual environment, where the second virtual object is in a hostile relationship with the master virtual object;
the display module is further configured to respond to the master virtual object eliminating the second virtual object, and display an interactive animation between the first virtual object and the eliminated second virtual object;
the display module is further configured to display task completion information of the target task in response to the second virtual object interacting with the first virtual object meeting the task requirement.
14. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the method of interaction of virtual objects according to any one of claims 1 to 12.
15. A computer-readable storage medium having stored therein at least one program code, the program code being loaded and executed by a processor to implement the method of interacting the virtual objects according to any one of claims 1 to 12.
16. A computer-readable storage medium having stored therein at least one program code, the program code being loaded and executed by a processor to implement the method of interacting the virtual objects according to any one of claims 1 to 12.
CN202111657499.XA 2021-11-11 2021-12-30 Virtual object interaction method, device, equipment and storage medium Active CN114288670B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111333674 2021-11-11
CN202111333674X 2021-11-11

Publications (2)

Publication Number Publication Date
CN114288670A true CN114288670A (en) 2022-04-08
CN114288670B CN114288670B (en) 2023-07-25

Family

ID=80973211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111657499.XA Active CN114288670B (en) 2021-11-11 2021-12-30 Virtual object interaction method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114288670B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0317138D0 (en) * 2003-07-22 2003-08-27 Kelseus Ltd Apparatus for controlling a virtual environment
KR101723823B1 (en) * 2016-08-24 2017-04-19 주식회사 케이쓰리아이 Interaction Implementation device of Dynamic objects and Virtual objects for Interactive Augmented space experience
CN110755841A (en) * 2019-10-21 2020-02-07 腾讯科技(深圳)有限公司 Method, device and equipment for switching props in virtual environment and readable storage medium
CN111035929A (en) * 2019-12-17 2020-04-21 腾讯科技(深圳)有限公司 Elimination information feedback method, device, equipment and medium based on virtual environment
CN111672110A (en) * 2020-05-28 2020-09-18 腾讯科技(深圳)有限公司 Control method, device, storage medium and equipment for virtual role in virtual world

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0317138D0 (en) * 2003-07-22 2003-08-27 Kelseus Ltd Apparatus for controlling a virtual environment
KR101723823B1 (en) * 2016-08-24 2017-04-19 주식회사 케이쓰리아이 Interaction Implementation device of Dynamic objects and Virtual objects for Interactive Augmented space experience
CN110755841A (en) * 2019-10-21 2020-02-07 腾讯科技(深圳)有限公司 Method, device and equipment for switching props in virtual environment and readable storage medium
CN111035929A (en) * 2019-12-17 2020-04-21 腾讯科技(深圳)有限公司 Elimination information feedback method, device, equipment and medium based on virtual environment
CN111672110A (en) * 2020-05-28 2020-09-18 腾讯科技(深圳)有限公司 Control method, device, storage medium and equipment for virtual role in virtual world

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"地下城与勇士_主线任务对话_DNF", Retrieved from the Internet <URL:https://www.bilibili.com/video/BV16J411C7dB ?p=3&vd_source=f679f9840e971528dd7df98a0ff8806c> *

Also Published As

Publication number Publication date
CN114288670B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
JP5887458B1 (en) A game system for searching for a route of a non-player character based on a player&#39;s movement history
US10987593B2 (en) Dynamic interfaces for launching direct gameplay
US20230336792A1 (en) Display method and apparatus for event livestreaming, device and storage medium
US11925872B2 (en) Dynamic modifications of single player and multiplayer mode in a video game
JP2023543519A (en) Virtual item input method, device, terminal, and program
JP2023126292A (en) Information display method, device, instrument, and program
CN111686449A (en) Virtual object control method, device, terminal and storage medium
JP2023552212A (en) Display method, device, equipment and computer program for game payment interface
US20230124014A1 (en) Image display method and apparatus, device and storage medium
CN114272617A (en) Virtual resource processing method, device, equipment and storage medium in virtual scene
CN112691366A (en) Virtual item display method, device, equipment and medium
CN114307147A (en) Interactive method and device in game, electronic equipment and storage medium
US11957980B2 (en) Respawn systems and methods in video games
WO2023024880A1 (en) Method and apparatus for expression displaying in virtual scenario, and device and medium
CN114307150B (en) Method, device, equipment, medium and program product for interaction between virtual objects
CN114288670B (en) Virtual object interaction method, device, equipment and storage medium
CN112774189B (en) Picture display method, device, terminal and storage medium
CN113144617B (en) Control method, device and equipment of virtual object and computer readable storage medium
CN112138392B (en) Virtual object control method, device, terminal and storage medium
CN114618157A (en) Data compensation method and device in game, electronic equipment and storage medium
CN113952739A (en) Game data processing method and device, electronic equipment and readable storage medium
CN113633968A (en) Information display method and device in game, electronic equipment and storage medium
JP7459328B1 (en) Game systems, programs, learning devices, and game provision methods
WO2024060914A1 (en) Virtual object generation method and apparatus, device, medium, and program product
US20230219009A1 (en) Competitive event based reward distribution system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant