Virtual object interaction method, device, equipment, medium and product

By receiving and displaying the life consumption operations of virtual objects in the virtual environment, attack gain interaction between virtual objects is achieved, and the problem of low interaction between virtual objects is solved, which improves the diversity of interaction and gain effects in the virtual environment and Intuitive.

CN114404971BActive Publication Date: 2024-12-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210084340.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-21
Publication Date
2024-12-27
Estimated Expiration
2042-01-21

AI Technical Summary

Technical Problem

The interactiveness between virtual objects in the existing virtual environment is low, and the attack gain effect only acts on the main control virtual objects controlled by the user, which lacks diversity and intuitiveness.

Method used

By receiving the life consumption operation of virtual objects, displaying the life bar and splicing the gain effect bar, using the server to determine and broadcast the gain effect, achieving attack gain interaction between virtual objects, and improving interactivity and information dissemination efficiency.

Benefits of technology

In the virtual environment, virtual objects interact through life consumption operations, provide attack gain effects, improve interaction and diversity of gain effects. The gain effect bar and life bar are spliced ​​to display, improving the intuitiveness of attack gain effects and information dissemination efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114404971B_ABST
    Figure CN114404971B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment, medium and product for interacting with virtual objects, and relates to the field of virtual environment. The method includes: receiving a life consumption operation for a first virtual object, the life consumption operation is used to consume the virtual life value corresponding to the first virtual object; displaying a life bar of a second virtual object, the life bar is used to display the virtual life value of the second virtual object, the life bar corresponds to an attribute bar of a first length, and the first virtual object and the second virtual object belong to the same camp; splicing and displaying a gain effect bar based on the life bar based on the life consumption operation, the gain effect bar is used to indicate the attack gain effect provided by the life consumption operation for the second virtual object, and the gain effect bar and the life bar are spliced ​​to obtain an attribute bar of a second length, and the second length is greater than the first length. The interactivity between virtual objects is improved, and the intuitiveness of the gain effect display is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of virtual environments, and in particular to a method, device, equipment, medium and product for interacting with virtual objects. Background Art

[0002] In an application including a virtual environment, a user can perform activities in the virtual environment by controlling a master virtual object in the virtual environment, for example, using a virtual gun to perform a shooting operation to kill a hostile virtual object in the virtual environment.

[0003] In the related technology, in order to improve the combat effectiveness in the virtual environment, the user can control the main virtual object to use virtual props (such as using attack enhancement potions), replace virtual equipment (such as replacing virtual equipment with higher attack power attributes), and other operations to increase the virtual damage caused by the main virtual object to the hostile virtual object.

[0004] However, the effect of the above-mentioned attack gain is only achieved through a single virtual object, and only acts on the main virtual object controlled by the user himself, and has low interactivity with other virtual objects. Summary of the invention

[0005] The embodiments of the present application provide a method, device, equipment, medium and product for interacting with virtual objects, which can improve the interactivity between virtual objects. The technical solution is as follows:

[0006] In one aspect, a method for interacting with a virtual object is provided, the method comprising:

[0007] receiving a life consumption operation for a first virtual object, wherein the life consumption operation is used to consume a virtual life value corresponding to the first virtual object;

[0008] Displaying a life bar of the second virtual object, the life bar is used to display the virtual life value of the second virtual object, the life bar corresponds to an attribute bar of a first length, and the first virtual object and the second virtual object belong to the same camp;

[0009] A gain effect bar is displayed based on the life consumption operation on the basis of the life bar, and the gain effect bar is used to indicate the attack gain effect provided by the life consumption operation for the second virtual object. The gain effect bar and the life bar are spliced ​​to obtain an attribute bar of a second length, and the second length is greater than the first length.

[0010] In another aspect, a virtual object interaction device is provided, the device comprising:

[0011] A receiving module, configured to receive a life consumption operation for a first virtual object, wherein the life consumption operation is used to consume a virtual life value corresponding to the first virtual object;

[0012] A display module, used for displaying a life bar of a second virtual object, the life bar being used for displaying a virtual life value of the second virtual object, the life bar corresponding to an attribute bar of a first length, and the first virtual object and the second virtual object belong to the same camp;

[0013] The display module is also used to splice and display a gain effect bar on the basis of the life bar based on the life consumption operation, and the gain effect bar is used to indicate the attack gain effect provided by the life consumption operation for the second virtual object. The gain effect bar and the life bar are spliced ​​to obtain an attribute bar of a second length, and the second length is greater than the first length.

[0014] On the other hand, a computer device is provided, wherein the terminal includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, 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 virtual object interaction method described in any of the embodiments of the present application.

[0015] On the other hand, a computer-readable storage medium is provided, wherein at least one program code is stored in the computer-readable storage medium, and the program code is loaded and executed by a processor to implement any of the virtual object interaction methods described in the embodiments of the present application.

[0016] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions 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 executes the computer instructions, so that the computer device executes the virtual object interaction method described in any of the above embodiments.

[0017] The technical solution provided by this application includes at least the following beneficial effects:

[0018] In a virtual environment, virtual objects can interact with each other through life consumption operations. The life consumption operation triggered by the first virtual object provides an attack gain effect for the second virtual object, thereby improving the interactivity between virtual objects and the diversity of gain effect implementation. Among them, the gain effect bar corresponding to the attack gain effect is displayed in conjunction with the life bar of the second virtual object, which can improve the intuitiveness of the attack gain effect display and improve the information dissemination efficiency of the attack gain effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 It is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;

[0021] Figure 2 is a flow chart of a virtual object interaction method provided by an exemplary embodiment of the present application;

[0022] Figure 3 is a schematic diagram of a gain effect bar provided by an exemplary embodiment of the present application;

[0023] Figure 4 is a schematic diagram of a first special effect animation provided by another exemplary embodiment of the present application;

[0024] Figure 5 is a flow chart of a virtual object interaction method provided by an exemplary embodiment of the present application;

[0025] Figure 6 is a schematic diagram of a striking effect provided by an exemplary embodiment of the present application;

[0026] Figure 7 is a flow chart of a virtual object interaction method provided by another exemplary embodiment of the present application;

[0027] Figure 8 is a schematic diagram of a third special effect animation provided by an exemplary embodiment of the present application;

[0028] Fig. 9 is a schematic diagram of a gain effect interface provided by an exemplary embodiment of the present application;

[0029] Fig.10 is a schematic diagram of damage detection provided by an exemplary embodiment of the present application;

[0030] Fig.11 is a flow chart of a virtual object interaction method provided by another exemplary embodiment of the present application;

[0031] Fig.12 is a structural block diagram of an interactive device for a virtual object provided by an exemplary embodiment of the present application;

[0032] Fig.13 is a structural block diagram of an interactive device for a virtual object provided by another exemplary embodiment of the present application;

[0033] Fig.14 It is a structural block diagram of a terminal provided by another exemplary embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0035] First, the nouns involved in the embodiments of the present application are briefly introduced:

[0036] Virtual environment: is a virtual environment displayed (or provided) when an application is running on a terminal. The virtual environment can be a simulation of the real world, a semi-simulated and semi-fictitious three-dimensional environment, or a purely fictitious three-dimensional environment. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment. The following embodiments are illustrated by taking the virtual environment as a three-dimensional virtual environment, but are not limited to this. Optionally, the virtual environment is also used for a virtual environment battle between at least two virtual characters. Optionally, the virtual environment is also used for a battle between at least two virtual characters using virtual firearms. Optionally, the virtual environment is also used for a battle between at least two virtual characters using virtual firearms within a target area, and the target area will continue to shrink over time in the virtual environment. The above-mentioned virtual firearms are generated by game applications and are only used for virtual props in a virtual environment.

[0037] Virtual object: refers to an active object in a virtual environment. The active object can be a virtual person, a virtual animal, an animated character, etc., such as a person, an animal, a plant, an oil drum, a wall, a stone, etc. displayed in a three-dimensional virtual environment. Optionally, the virtual object is a three-dimensional model created based on animation skeleton technology. Each virtual object has its own shape and volume in a three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment.

[0038] In an embodiment of the present application, the virtual object controlled by the current terminal device is the main control virtual object, and the object relationship between other virtual objects in the virtual environment and the main control virtual object includes a teammate relationship and a hostile relationship, wherein the virtual object in a teammate relationship with the main control virtual object can be referred to as a teammate virtual object, and the virtual object in a hostile relationship with the main control virtual object can be referred to as a hostile virtual object. Optionally, the main control virtual object and the teammate virtual object can be virtual objects belonging to the same virtual camp, or virtual objects belonging to the same virtual team, or virtual objects with a friend relationship. The user can attack the hostile virtual object by controlling the main control virtual object and eliminate the hostile virtual object in the virtual game. Optionally, the main control virtual object can complete the attack operation on the hostile virtual object through virtual skills, or it can complete the attack operation on the hostile virtual object through virtual props (such as virtual firearms).

[0039] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment of an embodiment of the present application. Schematically, the implementation environment includes a first terminal 111, a second terminal 112, a third terminal 113, a server 120 and a communication network 140.

[0040] The first terminal 111, the second terminal 112 and the third terminal 113 are running a target application that supports a virtual environment, and the target application may be any one of a virtual reality application, a three-dimensional map program, a third-person shooting game (TPS), a first-person shooting game (FPS), a multiplayer online tactical competitive game (MOBA), and a multiplayer gunfight survival game. The target application may be a stand-alone application, such as a stand-alone 3D game program. Optionally, the target application may be an independent application, a small program in a host application, or a web application, which is not limited here.

[0041] Optionally, the first terminal 111, the second terminal 112 and the third terminal 113 can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, etc.

[0042] The server 120 is used to provide backend support for the above-mentioned target application. Schematically, when the first terminal 111 receives a life consumption operation for the first virtual object, the first terminal 111 displays a life consumption animation and uploads the corresponding life consumption information to the server 120. The server 120 determines the second virtual object that meets the gain condition between the first virtual object corresponding to the first terminal 111 based on the life consumption information, and determines the second terminal 112 that controls the second virtual object. The server records the attack gain effect obtained by the second virtual object from the above-mentioned life consumption information, and broadcasts the gain effect data to the first terminal 111, the second terminal 112 and other terminals in the same virtual game or the same virtual scene. The first terminal 111, the second terminal 112 and other terminals that display the second virtual object in the virtual environment interface receive the gain effect data in the virtual environment interface. The gain effect is displayed in the surface. When the second terminal 112 receives the control operation for controlling the second virtual object to attack, it sends an attack request to the server 120. The attack request includes attack information such as the attack direction and attack target of the second virtual object. The server 120 makes a judgment based on the above attack information. When the server 120 determines that the second virtual object has successfully attacked the third virtual object, it determines the consumption of the virtual life value corresponding to the third virtual object based on the above life consumption information and the attack information, generates corresponding hit information, and broadcasts the above hit information to the third terminal 113 corresponding to the third virtual object and other terminals in the same virtual game or the same virtual scene. The third terminal 113 and other terminals displaying the third virtual object display the hit screen corresponding to the third virtual object based on the above hit information.

[0043] It is worth noting that the above-mentioned server 120 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.

[0044] Among them, cloud technology refers to a hosting technology that unifies hardware, software, network and other resources in a wide area network or local area network to realize data computing, storage, processing and sharing. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, which is used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of technical network systems require a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the high development and application of the Internet industry, in the future, each item may have its own identification mark, and all need to be transmitted to the background system for logical processing. Data of different levels will be processed separately. All kinds of industry data require strong system backing support, which can only be achieved through cloud computing.

[0045] In some embodiments, the server 120 can also be implemented as a node in a blockchain system. Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, platform product service layer, and application service layer.

[0046] The underlying blockchain platform can include processing modules such as user management, basic services, smart contracts, and operations. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintaining the generation of public and private keys (account management), key management, and the maintenance of the corresponding relationship between the user's real identity and the blockchain address (authority management), etc., and, under authorization, supervises and audits the transactions of certain real identities and provides risk control rule configuration (risk control audit); the basic service module is deployed on all blockchain node devices to verify the validity of business requests, and records the valid requests to the storage after consensus is reached. For a new business request, the basic service first performs interface adaptation analysis and authentication processing (interface adaptation), and then encrypts the business information through the consensus algorithm (consensus management), and transmits it to the shared ledger in a complete and consistent manner after encryption (network communication), and records and stores it; the smart contract module is responsible for the registration and issuance of contracts, contract triggering and contract execution. Developers can define the contract logic in a certain programming language and publish it to the blockchain (contract registration). According to the logic of the contract terms, call the key or other events to trigger the execution to complete the contract logic, and also provide the function of contract upgrade and cancellation; the operation module is mainly responsible for the deployment, configuration modification, contract setting, cloud adaptation and visual output of the real-time status of the product during the product release process.

[0047] Illustratively, the first terminal 111 and the server 120 , the second terminal 112 and the server 120 , and the third terminal 113 and the server 120 are connected via a communication network 130 .

[0048] Please refer to Figure 2 , which shows an interactive method of a virtual object shown in an embodiment of the present application. In the embodiment of the present application, the method is applied to Figure 1 In the first terminal shown, the method can also be applied to other terminal devices, which is not limited here. The method includes:

[0049] Step 201: receiving a life consumption operation for a first virtual object.

[0050] The life consumption operation is used to consume the virtual life value corresponding to the first virtual object.

[0051] In an embodiment of the present application, a target application is running in the first terminal, and the target application supports the operation of the virtual environment. Schematically, the first terminal displays a virtual environment interface through the target application, and the virtual environment interface includes a virtual environment screen, which is a screen for observing the virtual environment according to the viewing direction corresponding to the first virtual object.

[0052] Optionally, the viewing direction can be a first-person perspective or a third-person perspective, which is not limited here. The first-person perspective is the perspective corresponding to the picture that the first virtual object can observe in the virtual environment, and the picture corresponding to the first-person perspective does not include the first virtual object itself, for example, only the arm and virtual gun of the first virtual object can be seen; the third-person perspective is the perspective of observing the first virtual object through the camera model in the virtual environment, and the picture corresponding to the third-person perspective includes the first virtual object itself, and usually the camera model is located behind the first virtual object to observe the first virtual object, for example, the three-dimensional model of the first virtual object and the virtual props (such as: virtual guns) held by the first virtual object can be seen.

[0053] Illustratively, a life consumption control is superimposed in the virtual scene interface, and when the life consumption control receives a trigger signal, it is determined that a life consumption operation for the first virtual object is received. Optionally, the life consumption control may be a control corresponding to a virtual skill of the first virtual object, or a control corresponding to a virtual prop of the first virtual object, or a control corresponding to a virtual equipment equipped by the first virtual object.

[0054] Step 202: Display a life bar of the second virtual object.

[0055] The life bar is used to display the virtual life value of the second virtual object, wherein the life bar is an attribute bar of a first length, and the first virtual object and the second virtual object belong to the same camp.

[0056] In some embodiments, the above-mentioned life bar is displayed above the head of the virtual image corresponding to the second virtual object. In other embodiments, in the virtual environment interface corresponding to the first virtual object, after the first virtual object triggers the life consumption operation, the life bar of the second virtual object is displayed at the target display position in the virtual environment interface, wherein the second virtual object is the virtual object that is subjected to the attack gain effect and is screened by the terminal according to the gain condition. For example, after the first virtual object triggers the life consumption operation, the terminal determines that the second virtual object A and the second virtual object B in the virtual environment obtain the corresponding attack gain effect, and then displays the life bars of the second virtual object A and the second virtual object B in the lower right corner area of ​​the virtual environment interface, so as to facilitate the user corresponding to the first virtual object to more efficiently determine the virtual object subjected to the attack gain effect, thereby improving the efficiency of information dissemination.

[0057] Optionally, the life bar may be displayed with the appearance of the second virtual object, that is, when the second virtual object is included in the virtual environment interface, the life bar is always displayed; or, the life bar is displayed according to a target display condition, for example, when the first virtual object selects the second virtual object, the life bar corresponding to the second virtual object is displayed in the virtual environment interface in the first terminal; for example, when the first virtual object triggers a life consumption operation, the life bar of the second virtual object that is affected by the attack buff effect is automatically displayed.

[0058] Step 203, based on the life consumption operation, a gain effect bar is spliced ​​and displayed on the basis of the life bar.

[0059] Schematically, the above-mentioned gain effect bar is used to indicate the attack gain effect provided by the life consumption operation for the second virtual object, wherein the gain effect bar and the life bar are spliced ​​to obtain an attribute bar of a second length, and the second length is greater than the first length, that is, the attack gain effect is displayed by extending the attribute bar before or after the life bar.

[0060] In some embodiments, the second length is positively correlated with the virtual life value consumed corresponding to the life consumption operation, that is, the more virtual life value consumed by the first virtual object, the longer the second length is, and the higher the gain corresponding to the attack gain effect obtained by the second virtual object is.

[0061] In some embodiments, after the first virtual object triggers a life consumption operation, the first terminal determines a second virtual object in the virtual environment that satisfies a gain condition with the first virtual object according to the life consumption operation, and the gain condition is a determination condition for the first virtual object to provide a gain effect for the second virtual object, that is, the gain condition is obtained based on the life consumption operation, and in response to the first virtual object and the second virtual object satisfying the gain condition, a gain effect bar corresponding to the second virtual object is displayed. Optionally, the gain condition can be data pre-cached in the first terminal, or data obtained in real time from a server.

[0062] In other embodiments, the process of determining the second virtual object that meets the gain condition with the first virtual object is completed by the server, that is, the first terminal uploads the information of the first virtual object triggering the life consumption operation to the server, the server determines the second virtual object that meets the gain condition from the virtual environment, and returns the object identifier of the second virtual object to the first terminal, and the first terminal displays the gain effect bar corresponding to the second virtual object in the virtual environment interface according to the object identifier of the second virtual object.

[0063] Optionally, the gain condition between the first virtual object and the second virtual object may be determined by at least one of the following situations.

[0064] First, whether the gain condition is satisfied is determined based on whether the first virtual object is within the gain range of the second virtual object. In some embodiments, the first virtual object after the life consumption operation is performed corresponds to a gain range, and when the second virtual object is within the gain range, it is determined that the gain condition is satisfied between the second virtual object and the first virtual object. That is, in response to the second virtual object being within the gain range of the first virtual object, the gain effect bar is displayed.

[0065] Optionally, the range size of the above-mentioned gain range can be fixed or associated with the operation effect corresponding to the life consumption operation. For example, the higher the value of the virtual life value of the first virtual object consumed by the life consumption operation, the larger the corresponding gain range.

[0066] Optionally, the gain range may be determined according to the position of the first virtual object, and whether the second virtual object satisfies the gain condition may be determined according to the distance between the first virtual object and the second virtual object. In an exemplary manner, when the gain range is a circular range with the first virtual object as a circle and the target length as a radius, the straight-line distance between the first virtual object and the second virtual object is obtained, and when the straight-line distance is less than or equal to the target length, it is determined that the second virtual object is within the gain range.

[0067] Optionally, the gain range may also be indicated by the first terminal, that is, after triggering the life consumption operation, the user may select the corresponding gain range through the first terminal. In one example, after triggering the life consumption operation, a preview gain range is displayed in the virtual environment interface. The user may change the position of the preview gain range in the virtual environment by controlling the wheel or moving the mouse, and generate the gain range by presetting the determination operation. After determining the gain range through the first terminal, the first terminal uploads the center position corresponding to the gain range to the server, and the server determines whether the gain condition is met between the second virtual object and the first virtual object based on the distance between the second virtual object and the center position and the range size of the gain range.

[0068] Second, determining whether the first virtual object and the second virtual object satisfy a gain condition based on an interaction relationship between the first virtual object and the second virtual object. The interaction relationship may be used to indicate that the second virtual object is a target virtual object selected by the first virtual object. In an exemplary embodiment, in response to the second virtual object being a target virtual object selected by the first virtual object, a gain effect bar corresponding to the second virtual object is displayed.

[0069] Optionally, the above-mentioned interactive relationship can be determined before the life consumption operation is triggered, for example, the user selects the second virtual object through the first terminal, and controls the target of the first virtual object to remain the second virtual object; or, the above-mentioned interactive relationship can also be determined after the life consumption operation is triggered, for example, when the life consumption operation is triggered, a target selection prompt is displayed, and the user can select the second virtual object from the virtual environment according to the target selection prompt.

[0070] Third, determine whether the first virtual object and the second virtual object meet the gain condition according to the object relationship between them. The above object relationship includes teammate relationship, neutral relationship and hostile relationship. In an illustrative manner, in response to the first virtual object and the second virtual object belonging to the same virtual team, the gain effect bar corresponding to the second virtual object is displayed. In some embodiments, the first virtual object may also be a virtual object in a neutral relationship.

[0071] Fourth, determine whether the first virtual object and the second virtual object meet the gain condition according to the obstacle between them. In an exemplary manner, in response to the absence of an obstacle between the first virtual object and the second virtual object, a gain effect bar corresponding to the second virtual object is displayed, that is, if there is an obstacle between the first virtual object and the second virtual object, the second virtual object cannot obtain the gain effect triggered by the above-mentioned life consumption operation.

[0072] Illustratively, in actual applications, determining whether the first virtual object and the second virtual object meet the gain conditions can be determined by one of the above-mentioned determination methods, or by a combination of multiple determination methods. For example, when the second virtual object is within the gain range of the first virtual object and the second virtual object is a teammate virtual object of the first virtual object, a gain effect bar corresponding to the second virtual object is displayed.

[0073] In one example, if Figure 3 As shown, the virtual environment interface 300 displayed by the first terminal displays a virtual environment screen in which the virtual environment is observed from the perspective of the first virtual object 310, and the virtual environment screen includes a second virtual object 320, wherein a life bar 331 is displayed above the head of the character image corresponding to the second virtual object 320, and the HP of the second virtual object is displayed in a bar shape in the life bar 331. When the first virtual object 310 triggers the life consumption operation, a gain effect bar 332 is spliced ​​and displayed behind the life bar 331, and the length of the gain effect bar 332 is positively correlated with the numerical value of the virtual life value consumed by the first virtual object.

[0074] In some embodiments, in addition to displaying a gain effect bar to indicate the attack gain effect obtained by the second virtual object, a gain special effect may also be displayed to reflect the attack gain effect. Optionally, the gain special effect may be reflected in any one or more forms such as animation, text, image, and audio.

[0075] In one example, the gain special effect is in the form of animation, showing a first special effect animation corresponding to the second virtual object, the first special effect animation is superimposed and rendered on the character image corresponding to the second virtual object, and the first special effect animation includes at least one of a flash special effect animation, a stroke special effect animation, and a halo special effect animation. Figure 4 As shown, it shows a schematic diagram of a first special effect animation provided by an exemplary embodiment of the present application, wherein a virtual environment screen from the perspective of a first virtual object 401 is displayed in a virtual environment interface 400, and the virtual environment screen includes a second virtual object 402 that has a teammate relationship with the first virtual object 401. When a life consumption operation is triggered through a life consumption control 403, a first special effect animation 404 is displayed on and around the character image of the second virtual object 402. The first special effect animation 404 is an "upward arrow" animation displayed on and around the character image of the second virtual object 402 to indicate that the second virtual object 402 gains from the life consumption operation.

[0076] In another example, when the gain effect is in text form, the gain effect can be displayed through a gain prompt text, for example, the text content of "Attack Power UP" is displayed above the head of the second virtual object. In some embodiments, the gain prompt text can also include a specific gain value, for example, "Damage increased by 500 points".

[0077] In another example, when the gain effect is in image form, the gain effect can be displayed through a first pattern mark, wherein the first pattern mark corresponds to the second virtual object. For example, the first pattern mark is displayed above the head of the character image corresponding to the second virtual object. The first pattern mark can be any possible pattern mark such as a star pattern mark, a sun pattern mark, a moon pattern mark, etc., which is not limited here.

[0078] In another example, when the gain effect is in audio form, a preset sound effect can be used to prompt the second virtual object that it has obtained the gain effect through the life-consuming operation. For example, when the second terminal that controls the second virtual object receives the gain effect indication, it plays the above preset sound effect to remind the user that the gain effect has been obtained.

[0079] Optionally, the number of the second virtual objects may be one or more, which is not limited herein.

[0080] In some embodiments, when the virtual environment also includes a third virtual object that belongs to a different camp from the first virtual object, the first virtual object and the second virtual object can attack the third virtual object. In an exemplary embodiment, in response to the second virtual object attacking the third virtual object, the attack effect of the third virtual object under the attack of the second virtual object is displayed, wherein when the third virtual object is within the field of view of the first virtual object, the terminal corresponding to the first virtual object displays the above-mentioned attack effect.

[0081] The above-mentioned hit effect is used to indicate the consumption of the virtual health value corresponding to the third virtual object. In some embodiments, the third virtual object is a virtual object that has a hostile relationship or a neutral relationship with the second virtual object. In other embodiments, when virtual damage can be caused to teammates in the virtual game, the above-mentioned third virtual object can also be a virtual object that has a teammate relationship with the second virtual object.

[0082] Optionally, the second virtual object may use a virtual skill to attack the third virtual object, or may use a virtual prop (such as a virtual firearm) to attack the third virtual object.

[0083] In some embodiments, the second terminal corresponding to the second virtual object receives the attack operation indicated by the user, uploads the attack information corresponding to the attack operation to the server, and the server determines that the attack hit object is the third virtual object according to the attack information, determines the virtual damage caused to the third virtual object by the attack process according to the attack information, generates the hit information corresponding to the third virtual object, and broadcasts the hit information to the third terminal corresponding to the third virtual object and other terminals in the same virtual game or the same virtual scene. If the first terminal also receives the hit information, and if the virtual environment screen currently displayed by the first terminal includes the third virtual object, the first terminal displays the hit effect of the third virtual object according to the hit information.

[0084] In some embodiments, the hit effect includes damage information of the third virtual object being attacked, and the damage information includes the consumption of the virtual life value corresponding to the third virtual object, wherein the damage information includes a first consumption value and a second consumption value. The first consumption value is determined by the virtual skill used by the second virtual object or the virtual prop used when attacking. For example, when the second virtual object uses a virtual skill to attack, the skill introduction of the virtual skill indicates that 100 virtual life points of the target will be consumed, and the first consumption value is 100 points; the second consumption value is determined by the life consumption operation corresponding to the first virtual object, that is, the gain effect received by the second virtual object makes the attack of the second virtual object corresponding to the attack increase. For example, the first virtual object consumes 100 virtual life points, and the second consumption value is also 100 virtual life points.

[0085] Optionally, the number of the third virtual objects may be one or more, which is not limited herein.

[0086] To sum up, the virtual object interaction method provided in the embodiment of the present application allows virtual objects to interact with each other in a virtual environment through life consumption operations. The life consumption operation triggered by the first virtual object provides an attack gain effect for the second virtual object, thereby improving the interactivity between virtual objects and improving the diversity of gain effect implementation. The gain effect bar corresponding to the attack gain effect is displayed in conjunction with the life bar of the second virtual object, which can improve the intuitiveness of the attack gain effect display and improve the information dissemination efficiency of the attack gain effect.

[0087] Please refer to Figure 5 , which shows a virtual object interaction method provided by an exemplary embodiment of the present application. In the embodiment of the present application, the visualization of the gain effect received by the second virtual object is schematically illustrated. The method includes:

[0088] Step 501: Receive a life consumption operation for a first virtual object.

[0089] The life consumption operation is used to consume the virtual life value corresponding to the first virtual object.

[0090] Illustratively, a life consumption control is superimposed in the virtual scene interface, and when the life consumption control receives a trigger signal, it is determined that a life consumption operation for the first virtual object is received.

[0091] In other embodiments, the above life consumption operation may also be triggered by consuming at least one of other attribute values ​​of the first virtual object, such as mana point (MP), attack power, defense power, etc.

[0092] Step 502: Display a life bar of the second virtual object.

[0093] In the embodiment of the present application, a virtual object in the virtual environment interface corresponds to a life bar, and the life bar is used to display the virtual life value of the second virtual object. The life bar is displayed above the head of the virtual image corresponding to the second virtual object.

[0094] Step 503: In response to the second virtual object and the first virtual object satisfying the gain condition, a gain effect bar is displayed on the basis of the life bar.

[0095] In an embodiment of the present application, the gain effect bar is used to indicate the attack gain effect provided by the life consumption operation for the second virtual object, and the gain effect bar and the life bar are spliced ​​to obtain an attribute bar of a second length, and the second length is greater than the first length.

[0096] In some embodiments, when the life bar and the benefit effect bar are displayed in the same display manner, the life bar and the benefit effect bar can be distinguished by display effects of different colors.

[0097] Step 504: In response to the second virtual object attacking the third virtual object, determine a first consumption value based on the virtual props used by the second virtual object.

[0098] The first consumption value is used to indicate the consumption of the virtual life value corresponding to the third virtual object by the virtual prop. In the embodiment of the present application, when the second virtual object attacks the third virtual object, the virtual damage suffered by the third virtual object is composed of two parts, one part is determined according to the virtual prop used by the second virtual object when attacking the third virtual object, and the other part is determined according to the gain effect obtained by the second virtual object.

[0099] The first consumption value of the virtual health value of the third virtual object is determined according to the virtual props used by the second virtual object. Schematically, different virtual props can cause different virtual damages. For example, taking the virtual props used by the second virtual object as virtual firearms, when the virtual firearm used by the second virtual object is M416, the virtual damage corresponding to each hit virtual bullet is 15 points, and when the virtual firearm used by the second virtual object is UZI, the virtual damage corresponding to each hit virtual bullet is 9 points.

[0100] Step 505, determining a second consumption value based on the attack gain effect.

[0101] The second consumption value is used to indicate the gain of the life consumption operation of the first virtual object on the attack operation corresponding to the virtual prop.

[0102] In some embodiments, the attack gain effect is associated with the consumption of virtual life value of the first virtual object under the life consumption operation. Schematically, the attack gain effect is directly proportional to the consumption of virtual life value of the first virtual object.

[0103] Optionally, the above-mentioned attack gain effect can be a percentage gain on the attack power. For example, taking the virtual health value as HP, when the first virtual object consumes 20% of the total HP, the virtual damage caused by the second virtual object to the third virtual object also increases by 20%, that is, the second consumption value is 20% of the first consumption value.

[0104] Optionally, the above-mentioned attack gain effect can be a specific consumption of the virtual health value of the third virtual object, and the consumption of the virtual health value of the first virtual object is equal to or in a corresponding proportion to the consumption of the virtual health value of the third virtual object. For example, taking the virtual health value as HP as an example, when the first virtual object consumes 100 HP points, when the second virtual object causes virtual damage to the third virtual object, the corresponding second consumption value is 100 HP points.

[0105] Step 506: Display the hit effect of the third virtual object based on the first consumption value and the second consumption value.

[0106] In an exemplary embodiment, the first consumption value and the second consumption value are summed to obtain a total consumption value, which is the consumption of the virtual health value corresponding to the third virtual object when the second virtual object attacks the third virtual object. In an example, when the first consumption value is 50 HP and the second consumption value is 25 HP, the HP of the third virtual object is reduced by 75 HP after being attacked by the second virtual object.

[0107] Illustratively, after the first terminal obtains the total consumption value of the virtual life value of the third virtual object, if the virtual environment screen displayed by the first terminal includes the third virtual object, the hit effect of the third virtual object is displayed according to the total consumption value.

[0108] Optionally, the above-mentioned hit effect includes the above-mentioned total consumption value, that is, the consumption of the virtual life value of the third virtual object is displayed. Optionally, the above-mentioned hit effect may also include a second special effect animation, wherein the second special effect animation is used to indicate that the attack suffered by the third virtual object is an attack that has been enhanced by the life consumption operation of the first virtual object, and the second special effect animation will be sad for the third virtual object. The second special effect animation may be a flash special effect animation, a stroke special effect animation, a halo special effect animation, etc., which is not limited here. Among them, the above-mentioned second special effect animation can also be replaced by prompt information in the form of images or audio, which is not limited here.

[0109] In one example, if Figure 6As shown, it shows a schematic diagram of the hit effect provided by an exemplary embodiment of the present application. Taking the virtual scene interface 600 displayed by the first terminal as the main perspective, the virtual scene screen of the virtual scene interface 600 includes a first virtual object 610, a second virtual object 620 and a third virtual object 630. The first virtual object 610 is the main control virtual object of the first terminal. When the first virtual object 610 triggers the life consumption operation, the object image of the second virtual object 620 is displayed with a first special effect animation (dynamic arrow animation) 621. When the second virtual object 620 attacks the third virtual object 630 with a virtual firearm, the hit effect corresponding to the third virtual object 630 is displayed, wherein the hit effect includes the total consumption value 631 of the virtual life value of the third virtual object 630 and the second special effect animation (dynamic star animation) 632.

[0110] To sum up, the virtual object interaction method provided in the embodiment of the present application allows virtual objects to interact in a virtual environment through life consumption operations. The life consumption operation triggered by the first virtual object provides a gain effect for the second virtual object. When the second virtual object attacks the third virtual object, there is a corresponding relationship between the hit effect and the gain effect of the third virtual object, thereby improving the interactivity between virtual objects and the diversity of the gain effect.

[0111] In the embodiment of the present application, the visibility of the gain effect is improved by splicing the gain effect bar and the life bar together for display.

[0112] Please refer to Figure 7 , which shows a virtual object interaction method provided by an exemplary embodiment of the present application. In the embodiment of the present application, the triggering process of the life consumption operation is schematically described. The method includes:

[0113] Step 701: In response to a first virtual object being equipped with target equipment, a life consumption control is displayed on a virtual environment interface.

[0114] The above-mentioned life consumption control is used to receive life consumption operations.

[0115] In the embodiment of the present application, the life consumption operation can be completed only when the first virtual object is equipped with the target equipment, that is, the above-mentioned life consumption operation has an associated relationship with the target equipment.

[0116] Optionally, the target equipment may be virtual equipment pre-equipped by the first virtual object before entering the virtual game, or may be virtual equipment obtained by the first virtual object by picking up in the virtual environment corresponding to the virtual game, which is not limited here.

[0117] Illustratively, in response to the life consumption control receiving a trigger signal, it is determined that a life consumption operation on the first virtual object is received.

[0118] Step 702, display the cooling progress in the life consumption control.

[0119] Schematically, the above-mentioned life consumption control includes a cooling state and a waiting state, and can only be triggered when the life consumption control is in the cooling state. Among them, the corresponding cooling progress is displayed in the life consumption control, and the cooling progress is used to indicate the functional usage of the target equipment. In an embodiment of the present application, the target equipment has the function of consuming the virtual life value of the first virtual object to provide a gain effect to the second virtual object, wherein the above-mentioned function corresponds to a cooling time, that is, within the cooling time before the above-mentioned function is allowed to be triggered, the function cannot be triggered, and / or, after the above-mentioned function is triggered, it enters the above-mentioned waiting state, and enters the cooling state after the waiting state continues for the corresponding cooling time, and the function cannot be triggered in the waiting state.

[0120] Optionally, the cooling progress is displayed on the life consumption control in the form of a ring-shaped progress bar, or the cooling progress is displayed on the life consumption control in the form of a countdown.

[0121] Step 703, in response to the life consumption control receiving the trigger signal, obtaining the cooling progress and the target cooling threshold.

[0122] When the life consumption control receives the trigger signal, the first terminal obtains the current corresponding cooling progress and the target cooling threshold, where the target cooling threshold is used to determine whether the current life consumption control is in a cooling state or a waiting-to-cool state.

[0123] Optionally, the target cooling threshold may be data pre-cached in a storage area by the first terminal, or may be data acquired by the first terminal from a server in real time.

[0124] Step 7041: In response to the cooling progress reaching the target cooling threshold, determining that a life consumption operation on the first virtual object is received.

[0125] Illustratively, when the first terminal determines that the cooling progress reaches the target cooling threshold, it determines that a life consumption operation for the first virtual object is received, wherein the life consumption operation is used to consume the virtual life value corresponding to the first virtual object.

[0126] Step 7042: In response to the cooling progress failing to match the target cooling threshold, a trigger failure message is displayed.

[0127] The trigger failure information is used to prompt that the target equipment is in a waiting state. Optionally, the trigger failure information can be in the form of an image or text, for example, "The current equipment is not cooled down, please wait N seconds before using it." is displayed on the virtual environment interface.

[0128] Step 705: Display a life consumption animation corresponding to the first virtual object.

[0129] The above-mentioned life consumption animation is displayed through the character image of the first virtual object, and the life consumption animation is used to indicate that the virtual life value corresponding to the first virtual object continues to decrease at a target consumption speed. Among them, the above-mentioned target consumption speed can be a uniform consumption speed, for example, the virtual life value of the first virtual object decreases at a speed of N points per second, and N is a positive integer; or, the above-mentioned target consumption speed can also be a stage-by-stage incremental consumption speed, that is, the consumption speed of the virtual life value of the first virtual object speeds up or slows down with the growth of time, for example, the virtual life value of the first virtual object decreases at a speed of N points per second in the first 5 seconds, and decreases at a speed of M points per second in 6 to 10 seconds, and the above-mentioned M and N are both positive integers, and N≠M.

[0130] In other embodiments, in addition to the multiple consumption methods implemented at the target consumption speed, the virtual life value is consumed in a single consumption method, that is, after receiving the life consumption operation, the virtual life value of the first virtual object directly consumes N points, where N is a positive integer. Optionally, the life consumption animation may include a third special effect animation, which is rendered on the character image of the first virtual object or around the character image. The third special effect animation may be a flash special effect animation, a stroke special effect animation, a halo special effect animation, etc., which are not limited here. Optionally, the life consumption animation may also include the consumption value of the virtual life value.

[0131] In one example, taking the third special effect animation as a flame special effect as an example, Figure 8 As shown, it shows a schematic diagram of the third special effect animation provided by an exemplary embodiment of the present application, wherein a first virtual object 810 is displayed in a virtual scene interface 800, wherein the virtual scene screen in the virtual scene interface 800 is a screen in which virtual objects located around the first virtual object 810 observe the virtual environment, and after the first virtual object 810 triggers a life consumption operation, a third special effect animation 811 (flame special effect) is displayed on and around the character image of the first virtual object 810.

[0132] Step 706: In response to the second virtual object and the first virtual object satisfying the gain condition, a gain effect bar is displayed on the basis of the life bar.

[0133] In an embodiment of the present application, when the second virtual object and the first virtual object are teammates and the second virtual object is within the gain range of the first virtual object, it is determined that the second virtual object is subject to a gain effect, and a corresponding gain effect bar is displayed.

[0134] Optionally, when displaying the gain effect, the gain effect may be displayed in any one or more forms including animation, text, image, audio, etc.

[0135] In one example, when the gain special effect is in the form of animation, the above-mentioned gain special effect can be displayed through a first special effect animation, wherein the first special effect animation corresponds to the second virtual object. For example, the first special effect animation is superimposed and rendered on the character image corresponding to the second virtual object. The first special effect animation can be a flash special effect animation, a stroke special effect animation, a halo special effect animation, etc., which is not limited here.

[0136] In one example, in the picture under the first perspective corresponding to the second virtual object (i.e., the picture of the virtual environment in the virtual environment interface displayed by the second terminal from the perspective of the second virtual object), the first special effect animation can be a special effect animation superimposed on the entire virtual environment interface, for example, blurring the border of the virtual environment interface, superimposing lightning special effects on the virtual environment interface, etc. At the same time, the gain effect bar of the second virtual object is displayed on the virtual environment interface of the second terminal. Fig. 9 As shown, the virtual environment screen displayed in the virtual environment interface 900 is a screen displayed by the second terminal for observing the virtual environment with the second virtual object 920 as the viewing direction, wherein, due to the life consumption operation of the first virtual object 910, the second virtual object 920 is subjected to a gain effect, and a light effect 901 of a preset color is displayed near the border of the virtual environment interface 900. At the same time, a gain effect bar 931 displayed in a bar shape is also displayed in the life value display area 930 in the virtual environment interface 900.

[0137] Step 707 : in response to the second virtual object attacking the third virtual object, displaying the attack effect of the third virtual object.

[0138] The hit effect corresponds to the gain effect, and the hit effect is used to indicate consumption of virtual health values ​​corresponding to the third virtual object.

[0139] In some embodiments, a collision detection box is used to determine whether the second virtual object hits the first virtual object, such as Fig.10As shown, a plurality of damage detection boxes 1011 are hung on the third virtual object 1010 in the virtual environment 1000, and a collision detection box 1012 is hung on the skeleton of the third virtual object 1010. When the damage detection box 1011 detects damage, the collision detection box 1012 in the damage detection box 1011 determines the information of the hit part. Schematically, the virtual damage suffered by the third virtual object is associated with the part of the third virtual object hit by the first virtual object through the virtual prop, that is, after determining the hit part, a mapping table of the hit part and the consumption of virtual health value is obtained, and the virtual damage suffered by the third virtual object is determined according to the above mapping table, that is, the specific consumption of virtual health value is calculated, for example, a hit on the head corresponds to a reduction of 50 HP points, and a hit on the leg corresponds to a reduction of 30 HP points.

[0140] In some embodiments, in response to the virtual health value corresponding to the first virtual object being cleared, the gain effect animation corresponding to the second virtual object is canceled; and / or, in response to the trigger time corresponding to the life consumption operation reaching the target time threshold, the gain effect animation corresponding to the second virtual object is canceled. Wherein, the virtual health value being cleared means that the first virtual object can no longer provide a gain effect for the second virtual object by consuming the virtual health value. For example, when the HP of the first virtual object is cleared (indicating that the first virtual object is killed), the gain effect obtained by the second virtual object is cleared. The target time threshold is the duration of the gain effect preset by the system, that is, after the first virtual object triggers the life consumption operation, the gain effect provided by it to the second virtual object is only valid within the target time threshold. When the corresponding trigger time reaches the target time threshold, the gain effect obtained by the second virtual object will be automatically canceled.

[0141] To sum up, the virtual object interaction method provided in the embodiment of the present application allows virtual objects to interact in a virtual environment through life consumption operations. The life consumption operation triggered by the first virtual object provides a gain effect for the second virtual object. When the second virtual object attacks the third virtual object, there is a corresponding relationship between the hit effect and the gain effect of the third virtual object, thereby improving the interactivity between virtual objects and the diversity of the gain effect.

[0142] Please refer to Fig.11 , which shows a flowchart of a virtual object interaction method provided by an exemplary embodiment of the present application. The method includes:

[0143] Step 1101, equip skills.

[0144] In an embodiment of the present application, the first virtual object realizes the interaction process between virtual objects by equipping the target equipment with skills corresponding to the skills, wherein the above-mentioned interaction process is to provide a gain effect for the second virtual object by triggering the above-mentioned skills.

[0145] Step 1102, determine whether the skill has been cooled down, if so, execute step 1103.

[0146] The terminal determines whether the skill has been cooled down. If it has been cooled down, the skill cannot be used.

[0147] Step 1103: The skill is activated and is available for use.

[0148] When the terminal determines that the skill has been cooled down, it determines that the skill has been activated and is in a usable state, and the user can use the skill through the corresponding skill control.

[0149] Step 1104, determine whether to click to use, if so, execute step 1105, if not, execute step 1103.

[0150] When the skill control receives a click operation, it determines that the user's operation of using the above skill is received, and starts to execute the skill implementation process.

[0151] Step 1105, start burning life.

[0152] In the embodiment of the present application, the first virtual object starts to burn its own life after using the skill, that is, the life value of the first virtual object starts to decrease accordingly with the passage of time.

[0153] Step 1106, determine whether there are teammates nearby, if so, execute step 1107, if not, execute step 1105.

[0154] The terminal determines whether there are any virtual objects with which the first virtual object has a teammate relationship around the first virtual object, and if so, provides the corresponding gain effect for the virtual objects.

[0155] Step 1107, the teammate's attack power increases the amount of life burned.

[0156] In an embodiment of the present application, the gain effect provided by the skill is that the attack power of the teammate virtual object increases by a corresponding amount of life burned, that is, the amount of life burned by the first virtual object is the additional virtual damage incurred by the teammate virtual object when attacking the hostile virtual object. For example, the first virtual object burns 50 points of life. When the teammate virtual object attacks the hostile virtual object, the hostile virtual object needs to reduce 50 points of life in addition to the 60 points of life caused by the virtual firearm.

[0157] Step 1108, determine whether the enemy is killed, if so, execute step 1109, if not, execute step 1110.

[0158] The terminal determines whether the first virtual object is killed. When the first virtual object is not killed, the second virtual object can continuously obtain the above-mentioned gain effect, that is, continuously improve the attack power.

[0159] Step 1109, skill stops.

[0160] When the terminal determines that the first virtual object is killed, the corresponding skill stops, that is, the gain effect received by the second virtual object is cleared, and the attack power is no longer improved.

[0161] Step 1110, determine whether the skill usage time has ended, if so, execute step 1109, if not, execute step 1105.

[0162] Alternatively, when the usage time corresponding to the skill ends, the same skill will also stop, that is, the gain effect received by the second virtual object is cleared, and the attack power is no longer improved.

[0163] Please refer to Fig.12 , which shows a block diagram of a virtual object interaction device provided by an exemplary embodiment of the present application, the device includes the following modules:

[0164] A receiving module 1210 is configured to receive a life consumption operation for a first virtual object, wherein the life consumption operation is configured to consume a virtual life value corresponding to the first virtual object;

[0165] A display module 1220, configured to display a life bar of a second virtual object, wherein the life bar is configured to display a virtual life value of the second virtual object, and the first virtual object and the second virtual object belong to the same camp;

[0166] The display module 1220 is also used to splice and display a gain effect bar on the basis of the life bar based on the life consumption operation, and the gain effect bar is used to indicate the attack gain effect provided by the life consumption operation for the second virtual object. The gain effect bar and the life bar are spliced ​​to obtain an attribute bar of a second length, and the second length is greater than the first length.

[0167] In some optional embodiments, such as Fig.13 As shown, the device also includes:

[0168] An acquisition module 1230, configured to acquire a gain condition based on the life consumption operation, wherein the gain condition is a determination condition for the first virtual object to provide the gain effect for the second virtual object;

[0169] The display module 1220 is further configured to splice and display the gain effect bar based on the life bar in response to the first virtual object and the second virtual object satisfying the gain condition.

[0170] In some optional embodiments, the display module 1220 is further used to splice and display the gain effect bar based on the life bar in response to the second virtual object being within the gain range of the first virtual object; or, in response to the second virtual object being the target virtual object selected by the first virtual object, splice and display the gain effect bar based on the life bar; or, in response to the first virtual object and the second virtual object belonging to the same virtual team, splice and display the gain effect bar based on the life bar.

[0171] In some optional embodiments, the display module 1220 is also used to display a first special effect animation corresponding to the second virtual object, and the first special effect animation is superimposed and rendered on the character image corresponding to the second virtual object, and the first special effect animation includes at least one of a flash special effect animation, a stroke special effect animation, and a halo special effect animation.

[0172] In some optional embodiments, the display module 1220 is also used to display a life consumption animation corresponding to the first virtual object, and the life consumption animation is displayed through the character image of the first virtual object, and the life consumption animation is used to indicate that the virtual life value of the first virtual object continues to decrease at a target consumption rate.

[0173] In some optional embodiments, the display module 1220 is further configured to display a life consumption control on the virtual environment interface in response to the first virtual object being equipped with target equipment, wherein the life consumption control is configured to receive the life consumption operation;

[0174] The device also includes:

[0175] The determination module 1240 is used to determine that the life consumption operation on the first virtual object is received in response to the life consumption control receiving a trigger signal.

[0176] In some optional embodiments, the display module 1220 is further used to display a cooling progress in the life consumption control, where the cooling progress is used to indicate the functional usage of the target equipment;

[0177] The acquisition module 1230 is further configured to acquire the cooling progress and the target cooling threshold in response to the life consumption control receiving a trigger signal;

[0178] The determination module 1240 is further used to determine that the life consumption operation on the first virtual object has been received in response to the cooling progress reaching the target cooling threshold; or, in response to the cooling progress failing to match the target cooling threshold, display a trigger failure message, wherein the trigger failure message is used to prompt that the target equipment is in a waiting state for cooling.

[0179] In some optional embodiments, the display module 1220 is further used to cancel the display of the gain effect bar corresponding to the second virtual object in response to the virtual life value corresponding to the first virtual object being cleared; or, in response to the trigger time corresponding to the life consumption operation reaching a target time threshold, cancel the display of the gain effect bar corresponding to the second virtual object.

[0180] In some optional embodiments, the display module 1220 is further used to display the impact of the third virtual object under the attack of the second virtual object in response to the second virtual object attacking the third virtual object, wherein the impact is used to indicate the consumption of the virtual life value of the third virtual object, and the third virtual object is within the field of view of the first virtual object.

[0181] In some optional embodiments, the determination module 1240 is further configured to determine, in response to the second virtual object attacking the third virtual object, a first consumption value based on a virtual prop used by the second virtual object, wherein the first consumption value is used to indicate consumption of the virtual life value corresponding to the third virtual object by the virtual prop;

[0182] The determination module 1240 is further configured to determine a second consumption value based on the attack gain effect, wherein the second consumption value is used to indicate the gain of the life consumption operation of the first virtual object on the attack operation corresponding to the virtual prop, and the second consumption value is positively correlated with the virtual life value consumed by the first virtual object;

[0183] The display module 1220 is further configured to display the hit effect of the third virtual object based on the first consumption value and the second consumption value.

[0184] To sum up, the interactive device for virtual objects provided in the embodiment of the present application can enable virtual objects to interact with each other in a virtual environment through life consumption operations. The life consumption operation triggered by the first virtual object provides an attack gain effect for the second virtual object, thereby improving the interactivity between virtual objects and improving the diversity of gain effect implementation. The gain effect bar corresponding to the attack gain effect is displayed in conjunction with the life bar of the second virtual object, which can improve the intuitiveness of the display of the attack gain effect and improve the information dissemination efficiency of the attack gain effect.

[0185] It should be noted that the interactive device for virtual objects provided in the above embodiments is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the interactive device for virtual objects provided in the above embodiments and the interactive method embodiment of virtual objects belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0186] Fig.14 The structure block diagram of a terminal 1400 provided by an exemplary embodiment of the present application is shown. The terminal 1400 may be: a smart phone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop computer or a desktop computer. The terminal 1400 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0187] Typically, the terminal 1400 includes a processor 1401 and a memory 1402 .

[0188] The processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1401 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1401 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1401 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0189] The memory 1402 may include one or more computer-readable storage media, which may be non-transitory. The memory 1402 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1402 is used to store at least one instruction, which is used to be executed by the processor 1401 to implement the interactive method of the virtual object provided in the method embodiment of the present application.

[0190] Illustratively, the terminal 1400 also includes other components, which can be understood by those skilled in the art. Fig.14 The structure shown in the figure does not constitute a limitation on the terminal 1400, and the terminal 1400 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0191] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, which can be a computer-readable storage medium contained in the memory in the above embodiments; or a computer-readable storage medium that exists independently and is not assembled in the terminal. The computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the interactive method of the virtual object described in any of the above embodiments.

[0192] Optionally, the computer readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid state drive (SSD), or an optical disk. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0193] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0194] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A virtual object interaction method, characterized in that: The method comprises: receiving a life consumption operation for a first virtual object, wherein the life consumption operation is used to consume a virtual life value corresponding to the first virtual object; Displaying a life bar of the second virtual object, the life bar is used to display the virtual life value of the second virtual object, the life bar corresponds to an attribute bar of a first length, and the first virtual object and the second virtual object belong to the same camp; splicing and displaying a gain effect bar based on the life bar based on the life consumption operation, the gain effect bar is used to indicate the attack gain effect provided by the life consumption operation for the second virtual object, and the gain effect bar and the life bar are spliced ​​to obtain an attribute bar of a second length, and the second length is greater than the first length; In response to the second virtual object attacking the third virtual object, determining a first consumption value based on the virtual props used by the second virtual object, the first consumption value being used to indicate consumption of the virtual health value corresponding to the third virtual object by the virtual props; Determine a second consumption value based on the attack gain effect, the second consumption value is used to indicate the attack gain of the life consumption operation of the first virtual object to the attack operation corresponding to the virtual prop, and the second consumption value is positively correlated with the virtual life value consumed by the first virtual object; Based on the first consumption value and the second consumption value, the hit effect of the third virtual object under the attack of the second virtual object is displayed, and the hit effect is used to indicate the consumption of the virtual life value of the third virtual object.

2. The method according to claim 1, characterized in that The splicing and displaying of the gain effect bar based on the life consumption operation on the basis of the life bar includes: Acquiring a gain condition based on the life consumption operation, the gain condition being a determination condition for the first virtual object to provide the attack gain effect to the second virtual object; In response to the first virtual object and the second virtual object satisfying the gain condition, the gain effect bar is spliced ​​and displayed on the basis of the life bar.

3. The method according to claim 2, characterized in that In response to the first virtual object and the second virtual object satisfying the gain condition, displaying the gain effect bar on the basis of the life bar, comprising: In response to the second virtual object being located within the gain range of the first virtual object, displaying the gain effect bar in conjunction with the life bar; or, In response to the second virtual object being the target virtual object selected by the first virtual object, displaying the gain effect bar in conjunction with the life bar; or, In response to the first virtual object and the second virtual object belonging to the same virtual team, the gain effect bar is displayed in conjunction with the life bar.

4. The method according to claim 3, characterized in that In response to the second virtual object being within the gain range of the first virtual object, after the gain effect bar is displayed on the basis of the life bar, the method further includes: A first special effect animation corresponding to the second virtual object is displayed, wherein the first special effect animation is superimposed and rendered on the character image corresponding to the second virtual object, and the first special effect animation includes at least one of a flash special effect animation, a stroke special effect animation, and a halo special effect animation.

5. The method according to any one of claims 1 to 4, characterized in that: After receiving the life consumption operation for the first virtual object, the method further includes: A life consumption animation corresponding to the first virtual object is displayed, wherein the life consumption animation is displayed through a character image of the first virtual object, and the life consumption animation is used to indicate that the virtual life value of the first virtual object continues to decrease at a target consumption speed.

6. The method according to any one of claims 1 to 4, characterized in that: The receiving a life consumption operation for the first virtual object includes: In response to the first virtual object being equipped with target equipment, displaying a life consumption control on a virtual environment interface, the life consumption control being used to receive the life consumption operation; In response to the life consumption control receiving a trigger signal, it is determined that the life consumption operation on the first virtual object is received.

7. The method according to claim 6, characterized in that In response to the life consumption control receiving a trigger signal, determining that the life consumption operation on the first virtual object is received includes: Displaying a cooling progress in the life consumption control, wherein the cooling progress is used to indicate the functional usage of the target equipment; In response to the life consumption control receiving a trigger signal, acquiring the cooling progress and the target cooling threshold; In response to the cooling progress reaching the target cooling threshold, it is determined that the life consumption operation on the first virtual object has been received; or, in response to the cooling progress failing to match the target cooling threshold, a trigger failure message is displayed, and the trigger failure message is used to prompt that the target equipment is in a waiting state for cooling.

8. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to the virtual life value corresponding to the first virtual object being cleared, canceling the display of the gain effect bar corresponding to the second virtual object; or, In response to the trigger time corresponding to the life consumption operation reaching the target time threshold, the gain effect bar corresponding to the second virtual object is cancelled.

9. The method according to any one of claims 1 to 4, characterized in that: The third virtual object is within the field of view of the first virtual object.

10. The method according to any one of claims 1 to 4, characterized in that: The displaying of the attack effect of the third virtual object under the attack of the second virtual object includes: A second special effect animation of the third virtual object is displayed, where the second special effect animation is used to indicate the hit effect.

11. A virtual object interactive device, characterized in that: The device comprises: A receiving module, configured to receive a life consumption operation for a first virtual object, wherein the life consumption operation is used to consume a virtual life value corresponding to the first virtual object; A display module, used for displaying a life bar of a second virtual object, the life bar being used for displaying a virtual life value of the second virtual object, the life bar corresponding to an attribute bar of a first length, and the first virtual object and the second virtual object belong to the same camp; The display module is further used for splicing and displaying a gain effect bar on the basis of the life bar based on the life consumption operation, wherein the gain effect bar is used to indicate the attack gain effect provided by the life consumption operation for the second virtual object, and the gain effect bar and the life bar are spliced ​​to obtain an attribute bar of a second length, wherein the second length is greater than the first length; a determination module, configured to determine, in response to the second virtual object attacking the third virtual object, a first consumption value based on a virtual item used by the second virtual object, wherein the first consumption value is used to indicate consumption of a virtual health value corresponding to the third virtual object by the virtual item; The determination module is further used to determine a second consumption value based on the attack gain effect, the second consumption value is used to indicate the attack gain of the life consumption operation of the first virtual object to the attack operation corresponding to the virtual prop, and the second consumption value is positively correlated with the virtual life value consumed by the first virtual object; The display module is further used to display the impact effect of the third virtual object under the attack of the second virtual object based on the first consumption value and the second consumption value, and the impact effect is used to indicate the consumption of the virtual life value of the third virtual object.

12. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the virtual object interaction method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the program code is loaded and executed by a processor to implement the virtual object interaction method according to any one of claims 1 to 10.

14. A computer program product, characterized in that The method comprises a computer program or an instruction, wherein when the computer program or the instruction is executed by a processor, the method for interacting with a virtual object as claimed in any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Virtual object control method and device, and storage medium

    CN110860087A

  • Virtual object control method and device, equipment and storage medium

    CN112717402A

  • Using method and device of life value recovery prop, equipment and storage medium

    CN113680058A

  • Cooperative play control method, storage medium and game device

    JP2001239059A

  • Attribute value recovery method and device, storage medium, and electronic device

    WO2020155951A1