Virtual object interaction method and apparatus, device, and computer-readable storage medium
By acquiring the object resources of a second virtual object and replicating all its skills when a certain number are reached, the problem of the single interaction method of virtual objects is solved, achieving higher interaction flexibility and user retention rate.
Patent Information
- Application Number
- PCT/CN2025/107885
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-14
- Filing Date
- 2025-07-10
- Publication Date
- 2026-02-19
AI Technical Summary
In existing technologies, the interaction methods of virtual objects are relatively simple, resulting in low user retention rates. Furthermore, virtual objects can only replicate one game skill, leading to poor playability and fun in the interaction.
By acquiring the object resources of the second virtual object, when the quantity reaches a certain threshold, the first virtual object can copy all the object skills of the second virtual object, and can directly cast the corresponding object skills without destroying the second virtual object.
It improves the flexibility and diversity of virtual object interaction, enhances human-computer interaction rate, and increases user retention rate.
Smart Images

Figure CN2025107885_19022026_PF_FP_ABST
Abstract
Description
Method, device and computer readable storage medium for interacting with virtual object
[0001] The present application claims priority to the Chinese patent application No. 202411115834.7, filed on August 14, 2024, and entitled "Game interaction method, device, equipment and computer readable storage medium", the entire content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] Embodiments of the present application relate to the technical field of computer technology, in particular to a method, device and computer readable storage medium for interacting with virtual object. BACKGROUND
[0003] With the continuous development of computer technology, the client supporting virtual environment has also developed rapidly, and the interaction gameplay of virtual objects in the virtual environment is also becoming more and more diversified. For example, in Multiplayer Online Battle Arena Games (MOBA), virtual objects in the virtual environment can copy the game skills of other virtual objects. SUMMARY
[0004] Embodiments of the present application provide a method, device and computer readable storage medium for interacting with virtual object. The technical solution is as follows:
[0005] In one aspect, the present application provides a method for interacting with virtual object, which is executed by a computer device, and the method comprises:
[0006] displaying a first virtual object and a second virtual object in a virtual environment;
[0007] in response to an operation of controlling the first virtual object to attack the second virtual object, obtaining an object resource of the second virtual object, the object resource being used to represent the second virtual object;
[0008] if a first number of the obtained object resource is not less than a second number, triggering a first object skill of the first virtual object based on the first object skill, and controlling the first virtual object to cast a second object skill, the second object skill being an object skill of the second virtual object corresponding to the first object skill, and the first object skill being any object skill of the first virtual object.
[0009] In another aspect, the present application provides a device for interacting with virtual object, which comprises:
[0010] The display module is configured to display the first virtual object and the second virtual object in the virtual environment.
[0011] The acquisition module is configured to acquire an object resource of the second virtual object in response to an operation of controlling the first virtual object to attack the second virtual object, the object resource being used to represent the second virtual object.
[0012] The control module is configured to control the first virtual object to cast a second object skill in a case where a first quantity of the acquired object resource is not less than a second quantity, the second object skill being an object skill of the second virtual object corresponding to a first object skill of the first virtual object, the first object skill being any object skill of the first virtual object.
[0013] In another aspect, the embodiments of the present application provide a computer device, which comprises a processor and a memory, and the memory stores at least one program code, the at least one program code is loaded and executed by the processor, so that the computer device implements the virtual object interaction method described above.
[0014] In another aspect, a non-volatile computer readable storage medium is also provided, which stores at least one program code, the at least one program code is loaded and executed by the processor, so that the computer implements the virtual object interaction method described above.
[0015] In another aspect, a computer program or computer program product is also provided, which stores at least one computer instruction, the at least one computer instruction is loaded and executed by the processor, so that the computer implements the virtual object interaction method described above.
[0016] The technical scheme provided by the embodiments of the present application, when the first virtual object attacks the second virtual object, the first virtual object will acquire the object resource of the second virtual object. In a case where the quantity of the object resource of the second virtual object acquired by the first virtual object is not less than a second quantity, the first virtual object can copy all object skills of the second virtual object, and when the first object skill of the first virtual object is triggered, the first virtual object does not need to cast the first object skill, but casts the second object skill of the second virtual object corresponding to the first object skill. This method does not need the first virtual object to eliminate the second virtual object, and can copy the object skills of the second virtual object, thereby reducing the copying threshold of the object skills. Moreover, the first virtual object can copy all object skills of the second virtual object, so that the interaction mode is more diversified, the flexibility of the interaction is higher, the human-computer interaction rate can be improved, and the user retention rate can be improved. Attached Figure Description
[0017] Figure 1 is a structural block diagram of a computer system provided in an embodiment of this application;
[0018] Figure 2 is a flowchart of a virtual object interaction method provided in an embodiment of this application;
[0019] Figure 3 is a schematic diagram of a game interaction interface provided in an embodiment of this application;
[0020] Figure 4 is a schematic diagram illustrating the acquisition of special effects according to an embodiment of this application;
[0021] Figure 5 is a schematic diagram of another game interaction interface provided in an embodiment of this application;
[0022] Figure 6 is a schematic diagram of another game interaction interface provided in an embodiment of this application;
[0023] Figure 7 is a schematic diagram of another game interaction interface provided in an embodiment of this application;
[0024] Figure 8 is a schematic diagram of another game interaction interface provided in an embodiment of this application;
[0025] Figure 9 is a schematic diagram showing another game interaction interface provided in an embodiment of this application;
[0026] Figure 10 is a flowchart of a virtual object interaction method provided in an embodiment of this application;
[0027] Figure 11 is a schematic diagram of the structure of a virtual object interaction device provided in an embodiment of this application;
[0028] Figure 12 is a schematic diagram of the structure of a terminal device provided in an embodiment of this application;
[0029] Figure 13 is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0031] It should be noted that the terms "first", "second", etc. in the present application are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the terms thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0032] Firstly, the abbreviations and key terms involved in the embodiments of the present application are defined.
[0033] Virtual object: refers to an active object in a virtual environment, which can be a virtual person, a virtual animal, an animation character, etc. A user can control the virtual object through a peripheral component or by clicking a touch display screen. Each virtual object has its own shape and volume in the virtual environment, occupying a part of the space in the virtual environment. Exemplarily, when the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional model created based on animation skeleton technology. The virtual object is a special unit in the virtual environment, and the virtual object is characterized by having a unique number of object skills different from other virtual objects. That is, the object skills of different virtual objects are not the same. In some embodiments, the user can also be referred to as a player, an interactive object, a game object, etc. The virtual object can also be referred to as a virtual character, etc.
[0034] Virtual environment: refers to the environment provided (or displayed) by an application when running on a terminal device. The virtual environment refers to the environment created for the virtual object to act in. The virtual environment can be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, etc. The virtual environment can be a simulation environment of the real world, a semi-simulation environment of the real world, or a purely fictional environment. Exemplarily, the virtual environment involved in the embodiments of the present application is a three-dimensional virtual environment. In some embodiments, the virtual environment can also be referred to as a virtual scene.
[0035] In the related art, a game interaction interface displays a first virtual object controlled by a game player and a second virtual object controlled by a non-game player. The game player can control the first virtual object to attack the second virtual object, and in the case where the first virtual object eliminates the second virtual object, the first virtual object can copy a certain game skill of the second virtual object.
[0036] However, in the above-mentioned interaction mode of virtual objects, the first virtual object can only copy one game skill of the second virtual object, which makes the playability and interest of the interaction poor, the interaction mode is relatively single, the interactability is also poor, and thus the user retention rate is low.
[0037] FIG. 1 is a structural block diagram of a computer system provided by an embodiment of the present application. As shown in FIG. 1, the computer system includes a terminal device 101 and a server 102. The terminal device 101 is installed and runs an interactive-capable client, and the client is logged in with a game object 103, that is, the terminal device 101 is the terminal device of the game object 103. The interactive method of the virtual object provided by the embodiment of the present application can be executed by the terminal device 101, or can be executed by the terminal device 101 and the server 102 together, which is not limited in the embodiment of the present application.
[0038] The server 102 is configured to provide background services for the interactive-capable client installed in the terminal device 101. In a possible implementation, the server 102 undertakes the main computing work, and the terminal device 101 undertakes the secondary computing work. Alternatively, the server 102 undertakes the secondary computing work, and the terminal device 101 undertakes the main computing work. Alternatively, the terminal device 101 and the server 102 adopt a distributed computing architecture to perform collaborative computing.
[0039] Exemplarily, the interactive-capable client can be a game client, and can also be other types of clients, which are not limited in the embodiment of the present application. Based on that the interactive-capable client is a game client, the game client can provide a virtual environment, and the game client can be a third-person shooting (TPS) game, a first-person shooting (FPS) game, a multiplayer online battle arena (MOBA) game, a multiplayer shooting survival game, a massive multiplayer online role-playing game (MMO), an action role-playing game (ARPG). Exemplarily, other types of clients can also provide a virtual environment, and the other types of clients can include a virtual reality (VR) client, an augmented reality (AR) client, a three-dimensional map program, a map simulation program, a social client, an interactive entertainment client, and the like.
[0040] The interactive client can refer to a client that needs to be independently downloaded and installed, or can refer to an embedded program that depends on a host program to run. The embedded program is an application program that is developed based on a programming language and depends on a host program to run. The embedded program does not need to be downloaded and installed, but only needs to be dynamically loaded in the host program to run. The embedded program includes but is not limited to an applet. Embodiments of the present application do not limit the type of the client. A user finds the embedded program that he or she needs through searching, scanning, and the like, and clicks to run and use. After use, the embedded program is closed and does not occupy the memory of the terminal device, which is very convenient. In addition, the client in the embodiments of the present application can be a client based on frame synchronization, that is, the method for interacting with the virtual object provided in the embodiments of the present application can be applied to the client based on frame synchronization. In some embodiments, the client can also be referred to as an application program.
[0041] Optionally, the terminal device 101 can be any electronic device product that can interact with a user through one or more of a keyboard, a touchpad, a remote controller, voice interaction, or a handwriting device. For example, the terminal device 101 can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a PC (Personal Computer), a mobile phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a smart car machine, a smart television, or the like.
[0042] The terminal device 101 can generally refer to one of a plurality of terminal devices, and the embodiments are only exemplified by taking the terminal device 101. Those skilled in the art can know that the number of the terminal device 101 can be more or less. For example, the terminal device 101 can be only one, or the terminal device 101 can be dozens or hundreds, or more, and the embodiments of the present application do not limit the number and type of the terminal device 101.
[0043] The server 102 is a server, or a server cluster composed of a plurality of servers, or any one of a cloud computing platform and a virtualization center, and the embodiments of the present application do not limit this. The server 102 is directly or indirectly communicatively connected with the terminal device 101 through a wired communication mode or a wireless communication mode. The server 102 has a data receiving function, a data processing function, and a data sending function. Of course, the server 102 can also have other functions, and the embodiments of the present application do not limit this.
[0044] In the example embodiment of the present application, the terminal device 101 displays a game interaction interface 104 by the interaction method of the virtual object provided in the example embodiment of the present application, and the game interaction interface 104 displays a first virtual object 105 and a second virtual object 106 in a virtual environment; in response to an operation of controlling the first virtual object 105 to attack the second virtual object 106, an attack value corresponding to the operation of the first virtual object 105 attacking the second virtual object 106 is determined; according to the attack value, a third quantity is determined, and object resources of the third quantity of the second virtual object 106 are acquired; in the case where the quantity of the object resources of the second virtual object 106 acquired by the first virtual object 105 is not less than a second quantity, a first object skill of the first virtual object 105 is triggered, and the first virtual object 105 is controlled to cast a second object skill, and the second object skill is an object skill corresponding to the first object skill among the object skills of the second virtual object 106.
[0045] Based on the fact that the first virtual object 105 has an associated object, in the case where the quantity of the object resources of the second virtual object 106 acquired by the first virtual object 105 is not less than the second quantity, the associated object can also be summoned to have the object image of the second virtual object 106 and the object skill of the second virtual object 106, so that the associated object can be controlled to cast the object skill of the second virtual object.
[0046] Those skilled in the art should understand that the terminal device 101 and the server 102 described above are only examples, and other existing or future terminal devices or servers, such as those applicable to the present application, should also be included in the protection scope of the present application and are hereby incorporated by reference.
[0047] The example embodiment of the present application provides an interaction method of a virtual object, which can be applied to the computer system shown in FIG. 1, and the flowchart of the interaction method of the virtual object provided in the example embodiment of the present application shown in FIG. 2. The method can be executed by a computer device, which can include the terminal device 101 in FIG. 1 or the server 102 in FIG. 1. The example embodiment of the present application takes the interaction method of the virtual object executed by the terminal device 101 in FIG. 1 as an example for description. As shown in FIG. 2, the method includes the following steps 201 to 203.
[0048] In step 201, a first virtual object and a second virtual object in a virtual environment are displayed.
[0049] In the example embodiment of the present application, a client capable of interaction is installed and run in the terminal device, and after the terminal device runs the client, an interaction interface can be displayed, and the interaction interface displays a first virtual object and a second virtual object in a virtual environment.
[0050] The client can be a game client, or can be another type of client, and embodiments of the present application do not limit the client. Embodiments of the present application are described by way of example with the client being a game client. For the case where the client is a game client, the interactive interface is a game interactive interface, that is, the terminal device displays the game interactive interface after running the game client, and the game interactive interface displays the first virtual object and the second virtual object in the virtual environment.
[0051] The terminal device is a terminal device of a game object, and the display interface of the terminal device displays related information of the client. The related information of the client can be a name of the client, or an icon of the client, or other information capable of uniquely representing the client, and embodiments of the present application do not limit the related information of the client. When the game object wants to run the client, the game object selects the related information of the client, the terminal device receives a triggering operation on the related information of the client, and displays a home page of the client. The home page of the client displays a start control, and the start control is used to start a game.
[0052] Embodiments of the present application do not limit the manner in which the game object selects the related information of the client. Optionally, the game object selects the related information of the client by clicking the related information of the client. Optionally, the game object selects the related information of the client by touching the related information of the client. Optionally, the game object selects the related information of the client by voice control. Optionally, the game object selects the related information of the client by gesture control.
[0053] When the game object wants to start a game, the game object selects the start control, the terminal device receives a triggering operation on the start control, and starts a game, displays a game interactive interface, and the game interactive interface displays the first virtual object and the second virtual object in the virtual environment. The first virtual object is a virtual object controlled by the game object, and the second virtual object can be a virtual object of the same game team as the first virtual object, for example, the second virtual object is a teammate of the first virtual object. The second virtual object can also be a virtual object different from the game team to which the first virtual object belongs, for example, the second virtual object is an enemy object of the first virtual object. The second virtual object can be a virtual object controlled by another game object, or can be a virtual object not controlled by a game object, such as an NPC (Non-Player Character, Non-Player Character). The game object selecting the start control can be the game object clicking the start control, and the game object can also select the start control by other manners, and embodiments of the present application do not limit the manner.
[0054] It should be noted that the above description is only used as an example of starting a game by selecting the start control of the game object, and the embodiments of the present application are not limited thereto.
[0055] In some embodiments, the game object can also start a game by generating a specific operation in the game handle. In some embodiments, the game object can also start a game by issuing a specific voice or making a specific gesture. The game handle is a controller used by the game object to interact with the terminal device. The game object can control the virtual object to move in the virtual environment through the joystick, buttons, triggers and other components in the game handle. In other words, a game is started when a specific operation generated by the game object in the game handle is detected, or when a specific voice issued by the game object is detected, or when a specific gesture made by the game object is detected. The specific operation, the specific voice and the specific gesture are all used to indicate the start of a game. The specific operation, the specific voice and the specific gesture are set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit them.
[0056] For example, FIG. 3 is a display schematic diagram of a game interaction interface provided by an embodiment of the present application. The first virtual object 301 and the second virtual object 302 in the virtual environment are displayed in the game interaction interface shown in FIG. 3.
[0057] Optionally, other virtual objects can also be displayed in the game interaction interface. The other virtual objects are virtual objects participating in the game with the first virtual object. The other virtual objects can be teammates of the first virtual object, or can be enemy objects of the first virtual object, and the embodiments of the present application do not limit them. For example, 303 in FIG. 3 is an other virtual object.
[0058] In step 202, in response to the operation of controlling the first virtual object to attack the second virtual object, the object resource of the second virtual object is acquired, and the object resource is used to represent the second virtual object.
[0059] In a possible implementation, the game object can control the first virtual object to attack the second virtual object. After the first virtual object attacks the second virtual object, the first virtual object can acquire the object resource of the second virtual object. The object resource of the second virtual object can be an object fragment of the second virtual object, or can be other resources of the second virtual object, and the embodiments of the present application do not limit them. The object resource of the second virtual object is used to represent the second virtual object.
[0060] In response to the operation of controlling the first virtual object to attack the second virtual object, the process of obtaining the object resources of the second virtual object includes: in response to the operation of controlling the first virtual object to attack the second virtual object, determining a third number of object resources available to the operation of the first virtual object attacking the second virtual object; and obtaining the third number of object resources of the second virtual object. The third number refers to the number of object resources available to the operation of the first virtual object attacking the second virtual object.
[0061] In a possible implementation, the third number of object resources available to the operation of the first virtual object attacking the second virtual object can be fixed or determined according to an attack value corresponding to the operation of the first virtual object attacking the second virtual object, and the embodiments of the present application do not limit this.
[0062] For example, the number of object resources available to the operation of the first virtual object attacking the second virtual object is a fixed value of 3, and the third number is 3. In response to the operation of controlling the first virtual object to attack the second virtual object, 3 object resources of the second virtual object are obtained.
[0063] In another possible implementation, the third number of object resources available to the operation of the first virtual object attacking the second virtual object is determined according to an attack value of the operation of the first virtual object attacking the second virtual object, and the process includes: determining an attack value corresponding to the operation of the first virtual object attacking the second virtual object; and determining the third number according to the attack value. In some embodiments, when the first virtual object attacks the second virtual object by using a certain object skill of the first virtual object, the attack value corresponding to the operation of the first virtual object attacking the second virtual object is the attack value corresponding to the certain object skill. For example, when the first virtual object attacks the second virtual object by using skill 1 of the first virtual object, the attack value corresponding to skill 1 of the first virtual object is 20, and the attack value corresponding to the operation of the first virtual object attacking the second virtual object is 20.
[0064] The process of determining the third number according to the attack value includes: determining a number corresponding to the attack value as the third number. For example, the number corresponding to the attack value is 3, and the third number is 3. That is, in response to the operation of the first virtual object attacking the second virtual object, 3 object resources of the second virtual object are obtained.
[0065] Optionally, the third number is determined according to the attack value and a single acquisition value of the object resources of the second virtual object. The single acquisition value of the object resources of the second virtual object refers to the attack value required to obtain the object resources of one second virtual object. For example, the single acquisition value of the object resources of the second virtual object is 5, that is, the attack value required to obtain the object resources of one second virtual object is 5.
[0066] Optionally, the quotient between the attack value and the single acquisition value of the object resource of the second virtual object is taken as the third quantity. For example, the single acquisition value of the object resource of the second virtual object is 5, and the attack value is 20, and then the third quantity is 20 / 5=4. That is, in response to the operation of the first virtual object attacking the second virtual object, 4 object resources of the second virtual object are acquired.
[0067] In some embodiments, the third quantity can also be determined according to the energy value that the first virtual object has when attacking the second virtual object. For example, the third quantity is positively correlated with the energy value that the first virtual object has when attacking the second virtual object. For example, different energy values correspond to different quantities, and the quantity corresponding to the energy value that the first virtual object has when attacking the second virtual object is taken as the third quantity.
[0068] In some embodiments, the third quantity can also be determined according to the damage value caused to the second virtual object by the operation of the first virtual object attacking the second virtual object. For example, the third quantity is positively correlated with the damage value caused to the second virtual object by the operation of the first virtual object attacking the second virtual object. For example, different damage values correspond to different quantities, and the quantity corresponding to the damage value caused to the second virtual object by the operation of the first virtual object attacking the second virtual object is taken as the third quantity.
[0069] In a possible implementation, after the object resource of the second virtual object is acquired, an acquisition special effect can also be displayed, the acquisition special effect moves from the second virtual object to the first virtual object, and the acquisition special effect is used to indicate that the first virtual object acquires the object resource of the second virtual object. For example, the acquisition special effect can be any form of special effect, which is not limited in the embodiments of the present application. For example, the acquisition special effect can be a special effect in the form of a fragment, which is presented by a fragment emitted from the second virtual object, and the fragment flies from the second virtual object to the first virtual object. By displaying the acquisition special effect, the game object can perceive the acquisition process of the object resource of the second virtual object, which is beneficial to improving the interactive experience of the game object, and further improving the human-computer interaction rate.
[0070] FIG. 4 is a display diagram of an acquisition special effect provided by the embodiments of the present application. In FIG. 4, the acquisition special effect 401 moves from the second virtual object 402 to the first virtual object 403.
[0071] In a possible implementation, after the object resource of the second virtual object is acquired, the object image of the second virtual object and a third quantity can also be displayed. The object image of the second virtual object and the third quantity are used to indicate that the quantity of the acquired object resource of the second virtual object is the third quantity. Optionally, the third quantity is superimposed on the object image of the second virtual object. Optionally, the third quantity is displayed independently of the object image of the second virtual object, for example, the third quantity is displayed on the right side of the object image of the second virtual object, or the third quantity is displayed below the object image of the second virtual object, and the like. By displaying the object image of the second virtual object and the third quantity, the game object has a certain perception of the quantity of the acquired object resource of the second virtual object, which helps to improve the interactive experience of the game object, and further improves the human-computer interaction rate.
[0072] Exemplarily, the information window is displayed in the game interaction interface, the information window is an information area set in the game for prompting the game object, the object image of the second virtual object is displayed in the information window, and the third quantity is displayed on the object image of the second virtual object.
[0073] Optionally, the object image of the second virtual object can be an object icon of the second virtual object, or can be another image capable of uniquely representing the second virtual object, and the embodiments of the present application do not limit this. As shown in FIG. 4, 404 is the object image of the second virtual object, and the third quantity 3 is superimposed on the object image of the second virtual object, that is, the quantity of the acquired object resource of the second virtual object is 3.
[0074] The quantity of the acquired object resource of the second virtual object can be the same as or different from the quantity of the object resource that can be obtained by the operation of the first virtual object attacking the second virtual object. In some embodiments, for the convenience of distinction, the quantity of the acquired object resource of the second virtual object can be referred to as a fourth quantity. In this case, after the object resource of the second virtual object is acquired, the object image of the second virtual object and the fourth quantity are displayed, and the object image of the second virtual object and the fourth quantity are used to indicate that the quantity of the acquired object resource of the second virtual object is the fourth quantity.
[0075] It should be noted that when the first virtual object also acquires the object resource of another virtual object, the game interaction interface can also display the object image of the other virtual object and the quantity of the acquired object resource of the other virtual object. In this way, the game object can perceive the quantity of the acquired object resource of the other virtual object, which helps to improve the interactive experience of the game object, and further improves the human-computer interaction rate.
[0076] In step 203, in a case where the first quantity of the acquired object resources is not less than the second quantity, the first object skill of the first virtual object is triggered, and the first virtual object is controlled to cast the second object skill, the second object skill being an object skill corresponding to the first object skill among the object skills of the second virtual object, and the first object skill being any object skill of the first virtual object.
[0077] The second quantity is set based on experience or adjusted according to an implementation environment, and embodiments of the present application do not limit this. Exemplarily, the second quantity is 10.
[0078] In a possible implementation, after the object resources of the second virtual object are acquired in step 202, in a case where the first quantity of the acquired object resources is not less than the second quantity, the first virtual object can copy the object skills of the second virtual object. Optionally, the process further includes displaying a first icon, the first icon can be displayed in the same interface as the virtual objects (the first virtual object and the second virtual object), or can be displayed in different interfaces from the virtual objects (the first virtual object and the second virtual object), and embodiments of the present application do not limit this. Embodiments of the present application take an example in which the first icon and the virtual objects (the first virtual object and the second virtual object) are both displayed in a game interaction interface. That is, the first icon is also displayed in the game interaction interface, and the first icon is an icon of the first object skill. In a case where the first icon is also displayed, the first object skill corresponding to the first icon is determined based on the first icon, the second object skill corresponding to the first object skill is determined among the object skills of the second virtual object, and the first virtual object is controlled to cast the second object skill. Exemplarily, in this implementation, the icon displayed in the game interaction interface does not need to be changed, and in a case where the quantity of the acquired object resources of the second virtual object is not less than the second quantity, the first virtual object can be controlled to cast the second object skill by triggering the first icon, and the logic of controlling the first virtual object to cast the second object skill is relatively simple, which is beneficial to improving the efficiency of controlling the first virtual object to cast the second object skill.
[0079] In some embodiments, the object skills of the first virtual object and the object skills of the second virtual object have a correspondence relationship, the object skills of the second virtual object include an object skill corresponding to each object skill of the first virtual object respectively, and according to the first object skill and the correspondence relationship, the second object skill corresponding to the first object skill can be determined from the object skills of the second virtual object. The correspondence relationship between the object skills of the first virtual object and the object skills of the second virtual object can be set according to experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. In some embodiments, in the correspondence relationship, the skill types of the two skills corresponding to each other are the same, but the skill casting effects are different. In other embodiments, the skill types of the two skills corresponding to each other are different.
[0080] For example, the first object skill is skill 1 of the first virtual object, and the second object skill is skill 1 of the second virtual object, and in the case that the first icon is triggered, the first virtual object is controlled to cast skill 1 of the second virtual object. For another example, the first object skill is skill 2 of the first virtual object, and the second object skill is skill 2 of the second virtual object, and in the case that the first icon is triggered, the first virtual object is controlled to cast skill 2 of the second virtual object.
[0081] In a possible implementation, in the case that the first icon is also displayed and the first quantity of the object resources obtained is not less than the second quantity, the first icon can also be changed to a second icon, the second icon being an icon of the second object skill; and in the case that the second icon is triggered, the first virtual object is controlled to cast the second object skill. In this implementation, the first icon is changed to the second icon corresponding to the second object skill, and then the first virtual object is controlled to cast the second object skill by triggering the second icon, so that the game object can know the object skill of the first virtual object through the second icon, which is beneficial to improve the interactive experience of the game object and in turn improve the human-computer interaction rate.
[0082] In an embodiment of the present application, in the case that the first quantity of the object resources obtained is not less than the second quantity, the object image of the first virtual object can also be displayed as the object image of the second virtual object. In this embodiment, the object image of the first virtual object is changed to make the game object know which virtual object the object skill of the first virtual object is copied from, so that the game object can better operate the first virtual object, which is beneficial to improve the interactive experience of the game object and in turn improve the human-computer interaction rate.
[0083] After the first virtual object casts the second object skill, the second object skill casted by the first virtual object can cause damage. The damage value caused by the second object skill casted by the first virtual object is a first damage value, the first damage value is determined based on the first quantity, and the first damage value is positively correlated with the first quantity, that is, the more the first quantity is, the greater the first damage value is, and vice versa, the less the first quantity is, the smaller the first damage value is.
[0084] In a possible implementation, the process of determining the first damage value includes: determining an intensity value corresponding to the first quantity; and determining the first damage value according to the second damage value and the intensity value, the second damage value being a damage value caused by the second virtual object casting the second object skill. Since the first damage value is related to the first quantity, the greater the first quantity is, the greater the first damage value is, and therefore the first virtual object can be prompted to obtain more object resources of the second virtual object to increase the damage value caused by the first virtual object casting the object skill of the second virtual object.
[0085] In an embodiment of the present application, the process of determining the intensity value corresponding to the first quantity includes: the terminal device stores a corresponding relationship between the quantity and the intensity value, and the intensity value corresponding to the first quantity is determined according to the first quantity and the corresponding relationship between the quantity and the intensity value.
[0086] The following Table 1 is an exemplary table of the corresponding relationship between the quantity and the intensity value provided by the embodiment of the present application.
[0087] Table 1
[0088] As can be seen from the above Table 1, the intensity value corresponding to the quantity 5 is 0.1, the intensity value corresponding to the quantity 7 is 0.3, and the intensity value corresponding to other quantities is shown in the above Table 1, which will not be described here.
[0089] For example, the first quantity of the object resources of the second virtual object obtained is 10, and the intensity value corresponding to the first quantity is 0.5.
[0090] In another embodiment of the present application, the process of determining the intensity value corresponding to the first quantity can further include: the terminal device generates an intensity value acquisition request, the first quantity is included in the intensity value acquisition request, and the terminal device sends the intensity value acquisition request to the server. The server stores a correspondence between quantities and intensity values. The server receives the intensity value acquisition request sent by the terminal device, parses the intensity value acquisition request to obtain the first quantity, determines the intensity value corresponding to the first quantity according to the first quantity and the correspondence between quantities and intensity values, and sends the intensity value to the terminal device so that the terminal device obtains the intensity value. The correspondence between quantities and intensity values stored in the server is similar to the correspondence between quantities and intensity values stored in the terminal device, and the embodiments of the present application will not be described here.
[0091] In yet another embodiment of the present application, the process of determining the intensity value corresponding to the first quantity can further include: determining the quantity range in which the first quantity is located, and taking the intensity value corresponding to the quantity range in which the first quantity is located as the intensity value corresponding to the first quantity. Optionally, the terminal device stores a correspondence between quantity ranges and intensity values. Table Two below is an exemplary table of the correspondence between quantity ranges and intensity values provided by the embodiments of the present application.
[0092] Table Two
[0093] As can be seen from Table Two above, the intensity value corresponding to the quantity range (0, 3] is 0.1, and the intensity value corresponding to other quantity ranges is shown in Table Two above, which will not be described here.
[0094] For example, the first quantity is 10, the quantity range in which the first quantity is located is (7, 10], and the intensity value corresponding to the quantity range in which the first quantity is located is 0.5. Therefore, the intensity value corresponding to the first quantity is 0.5.
[0095] For example, the intensity value corresponding to the first quantity is used to indicate the ratio of the first damage value to the second damage value. The intensity value corresponding to the first quantity is a value greater than 0 and not greater than 1. Optionally, according to the second damage value and the intensity value, the process of determining the first damage value includes: taking the product between the second damage value and the intensity value as the first damage value. For example, the second damage value is 20 and the intensity value is 0.5, then the first damage value is 20*0.5=10. That is, the damage value caused by the first virtual object casting the second object skill is 10.
[0096] In a possible implementation, the first damage value can also be a fixed value, that is, no matter how many object resources of the second virtual object the first virtual object has obtained, as long as the first quantity of the object resources of the second virtual object obtained by the first virtual object exceeds the second quantity, the damage value caused by the second object skill of the first virtual object is a fixed value. In the case of the first damage value being a fixed value, the first damage value is set based on experience or adjusted according to the implementation environment, which is not limited in the embodiments of the present application. Exemplarily, the first damage value is 6.
[0097] In another possible implementation, the first damage value is a value corresponding to the second quantity. When the first quantity of the object resources of the second virtual object obtained by the first virtual object is not less than the second quantity, the value corresponding to the second quantity is taken as the first damage value.
[0098] In a possible implementation, when the duration of the object skill of the second virtual object copied by the first virtual object is not less than a first duration threshold, the first virtual object cancels copying the object skill of the second virtual object. At this time, based on the first object skill of the first virtual object being triggered, the first virtual object is controlled to cast the first object skill. The first duration threshold is set based on experience or adjusted according to the implementation environment, which is not limited in the embodiments of the present application. Exemplarily, the first duration threshold is 2 minutes.
[0099] In another possible implementation, in the case that the first quantity is not less than the second quantity, a restoration control is displayed, the restoration control is used to restore the first virtual object, and the restoration of the first virtual object includes at least one of restoring the object skill of the first virtual object or restoring the object image of the first virtual object. Based on the restoration control being triggered, the first virtual object is restored.
[0100] Exemplarily, the restoration of the first virtual object includes restoring the object skill of the first virtual object and restoring the object image of the first virtual object. In this case, based on the restoration control being triggered, the implementation of restoring the first virtual object can be that, based on the restoration control being triggered, the object skill of the first virtual object is restored and the object image of the first virtual object is restored at the same time. The implementation of restoring the first virtual object based on the restoration control being triggered can also be that, based on the restoration control being triggered, the object skill of the first virtual object is restored; based on the restoration control being triggered again, the object image of the first virtual object is restored. The implementation of restoring the first virtual object based on the restoration control being triggered can also be that, based on the restoration control being triggered, the object image of the first virtual object is restored; based on the restoration control being triggered again, the object skill of the first virtual object is restored.
[0101] In some embodiments, the first virtual object can also be restored in response to detecting a restoring operation generated by the game object in the game handle, or in response to detecting a restoring voice uttered by the game object, or in response to detecting a restoring gesture made by the game object. The restoring operation, the restoring voice, and the restoring gesture are all used to indicate the restoration of the first virtual object, and are set based on experience or adjusted according to the implementation environment, which is not limited in the embodiments of the present application.
[0102] In an embodiment of the present application, some virtual objects have associated objects, and the associated objects of the virtual objects can be summoned. After the associated objects of the virtual objects are summoned, the game object can control the associated objects of the virtual objects, and the virtual objects that summon the associated objects are managed by the program and act according to the behavior tree of the program, that is, after the associated objects of the virtual objects are summoned, the control operation of the game object controls the associated objects of the virtual objects. The object image of the associated objects of the virtual objects can be the same as or different from the object image of the virtual objects, which is not limited in the embodiments of the present application. The embodiments of the present application are only described by taking the object image of the associated objects of the virtual objects as the same as the object image of the virtual objects as an example, and the object image of the associated objects of the virtual objects is not limited.
[0103] In the case that the first virtual object has an associated object, a summoning control can also be displayed. The summoning control can be displayed in the same interface as the virtual objects (the first virtual object and the second virtual object), or can be displayed in different interfaces from the virtual objects (the first virtual object and the second virtual object), which is not limited in the embodiments of the present application. The embodiments of the present application are described by taking the summoning control and the virtual objects (the first virtual object and the second virtual object) as an example, that is, the summoning control is also displayed in the game interaction interface, and the summoning control is used to summon the associated object, such as the summoning control 304 in FIG. 3. In the case that the summoning control is also displayed, the associated object is summoned in response to the summoning control being triggered, and then the associated object is displayed, for example, the associated object is displayed in the game interaction interface. FIG. 5 is a display schematic diagram of a game interaction interface provided by an embodiment of the present application. The associated object 501 is displayed in the game interaction interface shown in FIG. 5.
[0104] After the associated object is summoned, a third icon can also be displayed, which can be displayed in the same interface as the virtual objects (the first virtual object and the second virtual object) or in a different interface from the virtual objects (the first virtual object and the second virtual object). The embodiments of the present application do not limit this. The embodiments of the present application take an example in which the third icon and the virtual objects (the first virtual object and the second virtual object) are both displayed in the game interaction interface, that is, the third icon is displayed in the game interaction interface, and the third icon is an icon of an object skill of the associated object. The embodiments of the present application do not limit the number of third icons displayed in the game interaction interface. The number of third icons displayed in the game interaction interface is the number of object skills of the associated object, and each third icon corresponds to an object skill. For example, the number of object skills of the associated object is four, and the number of third icons is four. For example, the associated object has a withdrawn skill, and therefore, the third icon includes an icon corresponding to the withdrawn skill. In response to the icon corresponding to the withdrawn skill being triggered, the associated object is withdrawn, and the icon of the object skill of the first virtual object is displayed. For example, the icon of the object skill of the first virtual object is displayed in the game interaction interface, so that the game object can control the first virtual object through the icon of the object skill of the first virtual object.
[0105] It should be noted that after the associated object of the first virtual object is summoned based on the summoning control being triggered, the game object controls the associated object, and therefore the icon of the object skill of the first virtual object is cancelled in the game interaction interface. This is to leave a display position for the icon of the object skill of the associated object, so that the display of the icon of the object skill of the associated object is clearer, thereby avoiding the occurrence of a mistaken touch when the icon of the object skill of the first virtual object and the icon of the object skill of the associated object are displayed at the same time.
[0106] It should be noted that the above description only takes an example in which the associated object of the first virtual object is summoned when the summoning control is triggered. The embodiments of the present application are not limited thereto. In some embodiments, the associated object of the first virtual object can also be summoned when a summoning operation generated by the game object in the game handle is detected, or when a summoning voice issued by the game object is detected, or when a summoning gesture made by the game object is detected. The summoning operation, the summoning voice, and the summoning gesture are all used to indicate that the associated object of the first virtual object is summoned. The summoning operation, the summoning voice, and the summoning gesture are set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this.
[0107] When the associated object is summoned, in a case where the first quantity of the acquired object resource is not less than the second quantity, a change control can also be displayed, the change control being used to change the object skill of the associated object, as shown as 502 in FIG. 5. Based on the change control being triggered, the object skill of the associated object is changed to the object skill of the second virtual object.
[0108] In a possible implementation, based on the change control being triggered, the quantity of the acquired object resource of the second virtual object is adjusted to obtain an adjusted quantity, and the adjusted quantity is displayed, for example, displayed in the game interaction interface. Illustratively, the determination process of the adjusted quantity includes: taking the difference between the first quantity and the second quantity as the adjusted quantity. Illustratively, the first quantity is 12, and the second quantity is 10, and then 12-10=2 is determined as the adjusted quantity.
[0109] After the object skill of the associated object is changed to the object skill of the second virtual object, the third icon can also be changed to a fourth icon, the fourth icon being the icon of the object skill of the second virtual object; based on the fourth icon being triggered, the associated object is controlled to cast the object skill of the second virtual object. In this implementation, by changing the third icon to the fourth icon, the game object can know what object skill the associated object casts through the displayed fourth icon, thereby improving the interactive experience of the game object, and further improving the human-computer interaction rate.
[0110] It should be noted that the damage value caused by the associated object casting the object skill of the second virtual object is determined based on the damage value caused by the first quantity and the second virtual object casting the object skill of the second virtual object. The determination process of the damage value caused by the associated object casting the object skill of the second virtual object is similar to the determination process of the first damage value caused by the first virtual object casting the second object skill, which is described above, and will not be repeated here.
[0111] In a possible implementation, based on the change control being triggered, the object image of the associated object is displayed as the object image of the second virtual object. In this way, the game object can know which virtual object's object skill the associated object copies, thereby improving the interactive experience of the game object, and further improving the human-computer interaction rate.
[0112] It should be noted that the above only takes changing the object skill of the associated object and changing the object image of the associated object in the case where the change control is triggered as an example for description, and the embodiments of the present application are not limited thereto. In some embodiments, the object skill of the associated object and the object image of the associated object can also be changed in the case where a change operation generated by the game object in the game handle is detected, or in the case where a change voice emitted by the game object is detected, or in the case where a change gesture made by the game object is detected. The change operation, the change voice and the change gesture are all used to indicate changing the object skill of the associated object and changing the object image of the associated object, and the change operation, the change voice and the change gesture are set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this.
[0113] In a possible implementation, after the object skill of the associated object is changed to the object skill of the second virtual object, the object skill of the associated object is restored based on the restoration function being triggered. At this time, the master view angle of the game object is restored to the associated object. Optionally, after the object skill of the associated object is changed to the object skill of the second virtual object, a restoration control is displayed, and it is determined that the restoration function is triggered based on the restoration control being triggered. Optionally, the restoration function is determined to be triggered in response to a restoration operation generated by the game object in the game handle, or in response to a restoration voice emitted by the game object, or in response to a restoration gesture made by the game object. The restoration operation, the restoration voice and the restoration gesture are all used to trigger the restoration function, and the restoration operation, the restoration voice and the restoration gesture are set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this.
[0114] Based on the restoration function being triggered, the object image of the associated object can also be restored, that is, the object image of the associated object is restored to the object image of the associated object itself.
[0115] In another possible implementation, based on the restoration function being triggered, the associated object is withdrawn, the fourth icon displayed in the game interaction interface is cancelled, and the icon of the object skill of the first virtual object is displayed in the game interaction interface. At this time, the master view angle of the game object is restored to the first virtual object.
[0116] In yet another possible implementation, based on the restoration function being triggered, the object image of the first virtual object and the object image of the associated object are displayed, based on the object image of the first virtual object being triggered, the associated object is retrieved, the fourth icon displayed in the game interaction interface is removed, and the icon of the object skill of the first virtual object is displayed in the game interaction interface. Based on the object image of the associated object being triggered, the object skill and the object image of the associated object are restored, and the third icon is displayed in the game interaction interface. In this implementation, the master view of the game object is determined based on the selection of the game object, which is beneficial to improve the matching of the master view of the game object and the demand of the game object, improve the interactive experience of the game object, and further improve the human-computer interaction rate.
[0117] In an embodiment of the present application, in a case where the quantity of the acquired object resources of the second virtual object is not less than the second quantity, and the quantity of the acquired object resources of the third virtual object is not less than the second quantity, the associated object can copy the object skill of the second virtual object, or copy the object skill of the third virtual object, at this time, the game object needs to select one virtual object from the second virtual object and the third virtual object, so that the associated object copies the object skill of the selected virtual object.
[0118] Optionally, in a case where the quantity of the acquired object resources of the second virtual object is not less than the second quantity, and the quantity of the acquired object resources of the third virtual object is not less than the second quantity, based on the change control being triggered, the object image of the second virtual object and the object image of the third virtual object are displayed; based on the object image of the second virtual object being triggered, the object skill of the associated object is changed to the object skill of the second virtual object; the object image of the associated object is changed to the object image of the second virtual object, and the third icon is changed to the icon of the object skill of the second virtual object. Based on the object image of the third virtual object being triggered, the object skill of the associated object is changed to the object skill of the third virtual object, the object image of the associated object is changed to the object image of the third virtual object, and the third icon is changed to the icon of the object skill of the third virtual object. In this implementation, in a case where the quantity of the virtual objects whose object skills can be copied by the first virtual object is more than one, the game object is provided with the right to select, the object skill of the virtual object selected by the game object is copied by the first virtual object, the game participation of the game object is improved, the interactive experience of the game object is improved, and the human-computer interaction rate is improved.
[0119] Exemplarily, the change control being triggered refers to receiving a long-press operation on the change control, and the application embodiment does not limit the time length of the long-press operation, which may be 5 seconds for example. The object image of the second virtual object being triggered refers to receiving an operation of sliding from the change control to the object image of the second virtual object, and the object image of the third virtual object being triggered refers to receiving an operation of sliding from the change control to the object image of the third virtual object.
[0120] Exemplarily, the change control being triggered refers to receiving a click operation on the change control, the object image of the second virtual object being triggered refers to receiving a click operation on the object image of the second virtual object, and the object image of the third virtual object being triggered refers to receiving a click operation on the object image of the third virtual object.
[0121] As shown in FIG. 6 is a display schematic diagram of a game interaction interface provided by an embodiment of the application, the game interaction interface shown in (1) of FIG. 6 displays a first virtual object 601, an associated object 602 of the first virtual object 601, an object image 603 of a second virtual object, and an object image 604 of a third virtual object. As known from (1) of FIG. 6, the first virtual object 601 acquires 12 object resources of the second virtual object, the first virtual object 601 acquires 13 object resources of the third virtual object, and the second quantity is 10. Since the number of the object resources of the second virtual object acquired by the first virtual object 601 and the number of the object resources of the third virtual object acquired by the first virtual object 601 are both not less than the second quantity, a change control 605 is displayed in the game interaction interface. In response to a long-press operation on the change control 605, (2) of FIG. 6 is displayed, which displays the object image 606 of the second virtual object and the object image 607 of the third virtual object. In response to a sliding operation from the change control 605 to the object image 606 of the second virtual object, the object skill of the associated object 602 of the first virtual object 601 is changed to the object skill of the second virtual object, and the object image of the associated object 602 of the first virtual object 601 is changed to the object image of the second virtual object. Then, (3) of FIG. 6 is displayed, which displays the number of the object resources of the second virtual object as 2, displays an associated object 608 with the object image being the object image of the second virtual object, and displays a restore control 609. The object skill of the associated object 608 is the object skill of the second virtual object. In response to a trigger operation on the restore control 609, the object image of the associated object 608 is restored, and the object skill of the associated object 608 is restored.
[0122] In another embodiment of the present application, based on the first virtual object having an associated object, in the case that the first number of acquired object resources is not less than the second number, the calling function is triggered based on the calling function being triggered, the associated object is called, the object image of the associated object is the object image of the second virtual object, and the object skill of the associated object is the object skill of the second virtual object. In this implementation manner, the associated object with the object image and the object skill of the second virtual object can be directly called through the calling function, without the need to call the associated object first and then change the object skill and the object image of the associated object, so that the calling process of the associated object is relatively simple, the calling steps are simplified, and the efficiency of game interaction can be improved.
[0123] Optionally, the game interaction interface further displays a calling control, the calling control being used to call the associated object, and the calling function is triggered in response to a click operation on the calling control. Optionally, the calling function is triggered in response to a calling operation of the game object in the game handle, or in response to a calling voice emitted by the game object, or in response to a calling gesture made by the game object.
[0124] In a possible implementation manner, in the case that the number of acquired object resources of the third virtual object is also not less than the second number, the object image of the second virtual object and the object image of the third virtual object are displayed in response to a long press operation on the calling control. The associated object with the object image of the second virtual object and the object skill of the second virtual object is called in response to a sliding operation from the calling control to the object image of the second virtual object. The associated object with the object image of the third virtual object and the object skill of the third virtual object is called in response to a sliding operation from the calling control to the object image of the third virtual object.
[0125] It should be noted that after the associated object with the object image of the second virtual object and the object skill of the second virtual object is called, the icon of the object skill of the second virtual object is displayed in the game interaction interface, so that the game object controls the associated object through the icon of the object skill of the second virtual object. After the associated object with the object image of the third virtual object and the object skill of the third virtual object is called, the icon of the object skill of the third virtual object is displayed in the game interaction interface, so that the game object controls the associated object through the icon of the object skill of the third virtual object.
[0126] As shown in FIG. 7 is another game interaction interface provided by the embodiment of the present application, the game interaction interface shown in (1) of FIG. 7 displays a first virtual object 701, an object image 702 of a second virtual object, an object image 703 of a third virtual object, and a summoning control 704. As shown in FIG. 7, the first virtual object 701 acquires 12 object resources of the second virtual object, the first virtual object 701 acquires 13 object resources of the third virtual object, and the second quantity is 10. Since the number of the object resources of the second virtual object acquired by the first virtual object 701 and the number of the object resources of the third virtual object acquired by the first virtual object 701 are both not less than the second quantity, in response to a long-press operation on the summoning control 704, (2) in FIG. 7 is displayed, which displays an object image 705 of the second virtual object and an object image 706 of the third virtual object; in response to a sliding operation from the summoning control 704 to the object image 705 of the second virtual object, the object image of the associated object is the object image of the second virtual object, and the object skill of the associated object is the object skill of the second virtual object, (3) in FIG. 7 is displayed, which displays the associated object 707 whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object.
[0127] After the object image of the associated object is the object image of the second virtual object, and the object skill of the associated object is the object skill of the second virtual object, the icon of the object skill of the first virtual object is cancelled, and the icon of the object skill of the second virtual object is displayed, for example, the icon of the object skill of the first virtual object is cancelled in the game interaction interface, and the icon of the object skill of the second virtual object is displayed in the game interaction interface, so that the game object can trigger the icon of the object skill of the second virtual object to control the associated object to cast the object skill corresponding to the icon, thereby improving the convenience of the game object to cast the object skill, and further improving the interactive experience of the game object and the human-computer interaction rate.
[0128] Optionally, after the object image of the associated object is the object image of the second virtual object, and the object skill of the associated object is the object skill of the second virtual object, the object image and the object skill of the associated object can also be restored. The restoration process has been described in the above content, and details are shown in the above content, which will not be described here.
[0129] In a further embodiment of the present application, the first virtual object has an associated object, and a recovery control can also be displayed, which can be displayed in the same interface as the virtual objects (the first virtual object and the second virtual object) or in a different interface from the virtual objects (the first virtual object and the second virtual object), which is not limited in the present application. The present application takes an example in which the recovery control and the virtual objects (the first virtual object and the second virtual object) are displayed in the game interaction interface, that is, the game interaction interface also displays the recovery control, which is used to restore the attribute value of the first virtual object, and 305 in FIG. 3 is the recovery control. Optionally, the attribute value of the first virtual object can be the life value of the first virtual object, and the life value of the first virtual object is increased by a target value in response to a triggering operation on the recovery control. The target value is set based on experience or adjusted according to the implementation environment, which is not limited in the present application. For example, the target value is 10, that is, the life value of the first virtual object is increased by 10 in response to the triggering operation on the recovery control. For example, the life value of the first virtual object is 20, and the life value of the first virtual object is adjusted to 30 in response to the triggering operation on the recovery control.
[0130] In the case where the recovery control is also displayed and the first quantity of the object resources obtained is not less than the second quantity, the recovery control is changed to a confirmation control; based on the confirmation control being triggered, the associated object is summoned, the object image of the associated object is the object image of the second virtual object, and the object skill of the associated object is the object skill of the second virtual object. For example, the confirmation control is triggered in response to a click operation on the confirmation control. In this implementation manner, a new control does not need to be added in the game interaction interface, the existing recovery control is directly changed to the confirmation control, and the associated object with the object image being the object image of the second virtual object and the object skill being the object skill of the second virtual object is directly summoned by triggering the confirmation control, without the need to first summon the associated object of the first virtual object and then change the object image and the object skill of the associated object, which simplifies the summoning process of the associated object, makes the summoning manner of the associated object more convenient, and further improves the efficiency of game interaction.
[0131] As shown in FIG. 8 is a display schematic diagram of another game interaction interface provided by the embodiment of the present application. The game interaction interface shown in (1) of FIG. 8 displays a first virtual object 801, a recovery control 802, an object image 803 of a second virtual object and an object image 804 of a third virtual object. As can be seen from FIG. 8, the first virtual object 801 acquires 2 object resources of the second virtual object, and the first virtual object 801 acquires 3 object resources of the third virtual object. When the number of acquired object resources of the second virtual object is not less than the second number, (2) of FIG. 8 is displayed, in which the first virtual object 801 acquires 12 object resources of the second virtual object, and the recovery control 802 is modified into a confirmation control 805. In response to a click operation on the confirmation control 805, the associated object whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object is summoned, and (3) of FIG. 8 is displayed, in which the associated object 806 whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object is displayed.
[0132] In a possible implementation, when the number of acquired object resources of the third virtual object is also not less than the second number, in response to a long press operation on the confirmation control, the object image of the second virtual object and the object image of the third virtual object are displayed. In response to a sliding operation from the confirmation control to the object image of the second virtual object, the associated object whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object is summoned. In response to a sliding operation from the confirmation control to the object image of the third virtual object, the associated object whose object image is the object image of the third virtual object and whose object skill is the object skill of the third virtual object is summoned.
[0133] After the associated object whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object is summoned, the icon of the object skill of the first virtual object is cancelled in the game interaction interface, and the icon of the object skill of the second virtual object is displayed in the game interaction interface, so that the game object controls the associated object to cast the object skill corresponding to the icon by triggering the icon of the object skill of the second virtual object.
[0134] Optionally, after the associated object whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object is summoned, the object image and the object skill of the associated object can also be restored. The restoration process has been described in the above content, and details are shown in the above content, which will not be described herein again.
[0135] As shown in FIG. 9 is a display schematic diagram of still another game interaction interface provided by the embodiment of the present application. The game interaction interface shown in (1) of FIG. 9 displays a first virtual object 901, a recovery control 902, an object image 903 of a second virtual object and an object image 904 of a third virtual object. As can be seen from FIG. 9, the first virtual object 901 acquires 2 object resources of the second virtual object, and acquires 3 object resources of the third virtual object. When the number of acquired object resources of the second virtual object and the number of acquired object resources of the third virtual object are both not less than the second number, (2) of FIG. 9 is displayed, wherein the first virtual object 901 acquires 12 object resources of the second virtual object, acquires 13 object resources of the third virtual object, and modifies the recovery control 902 into a confirmation control 905. In response to a long-press operation on the confirmation control 905, an object image 906 of the second virtual object and an object image 907 of the third virtual object are displayed; in response to a sliding operation from the confirmation control 905 to the object image 907 of the third virtual object, the associated object is summoned to be an object image of the third virtual object, and the object skill is an object skill of the third virtual object, and (3) of FIG. 9 is displayed, wherein an associated object 908 whose object image is the object image of the third virtual object and whose object skill is the object skill of the third virtual object is displayed.
[0136] After the associated object is summoned to be the object image of the third virtual object and the object skill of the associated object is the object skill of the third virtual object, the icon of the object skill of the first virtual object is no longer displayed in the game interaction interface, and the icon of the object skill of the third virtual object is displayed in the game interaction interface, so that the game object controls the associated object to cast the object skill corresponding to the icon of the object skill by triggering the icon of the object skill of the third virtual object.
[0137] Optionally, after the associated object is summoned to be the object image of the third virtual object and the object skill of the associated object is the object skill of the third virtual object, the object image and the object skill of the associated object can also be restored. The restoration process has been described in the above content, and details are shown in the above content, which will not be described here.
[0138] In the above three embodiments, after the associated object whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object is summoned, the game object does not need to learn new object skills because the associated object can completely copy the object skills of the second virtual object, thereby reducing the learning cost of the game object. Moreover, after the associated object whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object is summoned, the icon displayed in the game interaction interface is the icon of the object skill of the second virtual object, which is consistent with the game interaction interface when the game object plays the second virtual object, thereby further reducing the learning cost of the game object.
[0139] It should be noted that when the duration for which the associated object of the first virtual object copies the object skill of the second virtual object is not less than the second duration threshold, the associated object of the first virtual object cancels copying the object skill of the second virtual object. At this time, based on any object skill of the associated object of the first virtual object being triggered, the associated object of the first virtual object is controlled to cast any object skill. The second duration threshold is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. Exemplarily, the second duration threshold is 2 minutes. The second duration threshold can be the same as or different from the first duration threshold.
[0140] The above method, after the first virtual object attacks the second virtual object, the first virtual object obtains the object resources of the second virtual object. In the case where the number of the object resources of the second virtual object obtained by the first virtual object is not less than a second number, the first virtual object can copy all object skills of the second virtual object, and when the first object skill of the first virtual object is triggered, the first virtual object does not need to cast the first object skill, but casts the second object skill of the second virtual object corresponding to the first object skill. This method does not require the first virtual object to eliminate the second virtual object, and can copy the object skills of the second virtual object, thereby reducing the copying threshold of the object skills. Moreover, the first virtual object can copy all object skills of the second virtual object, so that the interaction mode is more diversified, the interaction flexibility is higher, the human-computer interaction rate can be improved, and the user retention rate can be improved.
[0141] FIG. 10 is a flowchart of a virtual object interaction method provided by an embodiment of the present application, which can be executed by the terminal device 101 in the computer system shown in FIG. 1. As shown in FIG. 10, the method includes the following steps 1001 to 1008.
[0142] In step 1001, a game interaction interface is displayed, and the game interaction interface displays a first virtual object and a second virtual object located in a virtual environment.
[0143] In a possible implementation, the process of displaying the game interaction interface has been described in step 201, and details are referred to the related content of step 201. Therefore, the present application does not repeat the description here.
[0144] In step 1002, in response to the operation of controlling the first virtual object to attack the second virtual object, the object resource of the second virtual object is acquired.
[0145] In a possible implementation, the process of acquiring the object resource of the second virtual object in response to the operation of controlling the first virtual object to attack the second virtual object has been described in step 202, and details are referred to the related content of step 202. Therefore, the present application does not repeat the description here.
[0146] In step 1003, it is determined whether the first quantity of the acquired object resource of the second virtual object is not less than a second quantity.
[0147] The second quantity is set based on experience or adjusted according to the implementation environment, and the present application does not limit this. For example, the second quantity is 10.
[0148] In step 1004, in the case where the first quantity is less than the second quantity, the first virtual object cannot copy the object skill of the second virtual object, and the associated object of the first virtual object cannot copy the object skill of the second virtual object.
[0149] When the quantity of the object resource of the second virtual object acquired by the first virtual object is less than the second quantity, the first virtual object cannot copy the object skill of the second virtual object, the object image of the first virtual object cannot be changed to the object image of the second virtual object, the associated object of the first virtual object cannot copy the object skill of the second virtual object, and the object image of the associated object of the first virtual object cannot be changed to the object image of the second virtual object. That is, the first virtual object can only summon the associated object of the first virtual object, and cannot summon the associated object whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object.
[0150] In step 1005, in the case where the first quantity is not less than the second quantity, based on the first object skill of the first virtual object being triggered, the first virtual object is controlled to cast a second object skill, and the second object skill is the object skill corresponding to the first object skill among the object skills of the second virtual object.
[0151] In a possible implementation, in the case that the first quantity is not less than the second quantity, the first object skill of the first virtual object is triggered, and the process of controlling the first virtual object to cast the second object skill has been described in step 203, and details are described in the related content of step 203, and the embodiments of the present application will not be repeated here.
[0152] In step 1006, the first virtual object is restored in response to the restoration function being triggered.
[0153] When the first virtual object copies the object skill of the second virtual object and the first virtual object is changed to the object image of the second virtual object, the first virtual object can be restored, and the restoration of the first virtual object includes the restoration of the object skill of the first virtual object and the restoration of the object image of the first virtual object. The process has been described in step 203, and details are described in the related content of step 203, and the embodiments of the present application will not be repeated here.
[0154] In step 1007, in the case that the first quantity is not less than the second quantity, in response to the calling function being triggered, the associated object whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object is called.
[0155] In the case that the first virtual object has an associated object, in the case that the first quantity is not less than the second quantity, in response to the calling function being triggered, the associated object whose object image is the object image of the second virtual object and whose object skill is the object skill of the second virtual object is called. The process has been described in step 203, and details are described in the related content of step 203, and the embodiments of the present application will not be repeated here.
[0156] In step 1008, the associated object is restored in response to the restoration function being triggered.
[0157] When the associated object of the first virtual object copies the object skill of the second virtual object and the associated object of the first virtual object is changed to the object image of the second virtual object, the associated object of the first virtual object can be restored, and the restoration of the associated object of the first virtual object includes the restoration of the object skill of the associated object of the first virtual object and the restoration of the object image of the associated object of the first virtual object. The process has been described in step 203, and details are described in the related content of step 203, and the embodiments of the present application will not be repeated here.
[0158] FIG. 11 is a structural schematic diagram of a virtual object interaction device provided by an embodiment of the present application, as shown in FIG. 11, the device includes:
[0159] The display module 1101 is configured to display a first virtual object and a second virtual object located in a virtual environment.
[0160] The acquisition module 1102 is configured to acquire object resources of the second virtual object in response to the operation of controlling the first virtual object to attack the second virtual object, the object resources being used to represent the second virtual object.
[0161] The control module 1103 is configured to, in a case where the first quantity of the acquired object resources is not less than the second quantity, control the first virtual object to cast a second object skill based on the first object skill of the first virtual object being triggered, the second object skill being an object skill corresponding to the first object skill among the object skills of the second virtual object, and the first object skill being any object skill of the first virtual object.
[0162] In a possible implementation, the control module 1103 is configured to, in a case where the first icon is also displayed, determine the first object skill corresponding to the first icon based on the first icon being triggered, the first icon being an icon of the first object skill; determine the second object skill corresponding to the first object skill among the object skills of the second virtual object; and control the first virtual object to cast the second object skill.
[0163] In a possible implementation, the apparatus further includes:
[0164] The changing module is configured to, in a case where the first icon is also displayed and the first quantity of the acquired object resources is not less than the second quantity, change the first icon to a second icon, the first icon being an icon of the first object skill and the second icon being an icon of the second object skill.
[0165] The control module 1103 is further configured to control the first virtual object to cast the second object skill based on the second icon being triggered.
[0166] In a possible implementation, the display module 1101 is further configured to, in a case where the first quantity of the acquired object resources is not less than the second quantity, display the object image of the first virtual object as the object image of the second virtual object.
[0167] In a possible implementation, the display module 1101 is further configured to display an acquisition special effect, the acquisition special effect moving from the second virtual object to the first virtual object, and the acquisition special effect being used to indicate that the first virtual object has acquired the object resources of the second virtual object.
[0168] In a possible implementation, the acquisition module 1102 is configured to, in response to the operation of controlling the first virtual object to attack the second virtual object, determine a third quantity of object resources available to the operation of the first virtual object attacking the second virtual object; and acquire the third quantity of object resources of the second virtual object.
[0169] In a possible implementation, the acquisition module 1102 is configured to determine an attack value corresponding to an operation of the first virtual object attacking the second virtual object; and determine the third quantity according to the attack value.
[0170] In a possible implementation, the display module 1101 is further configured to display the object image of the second virtual object and the fourth quantity, where the object image of the second virtual object and the fourth quantity are used to indicate that the quantity of the acquired object resource of the second virtual object is the fourth quantity.
[0171] In a possible implementation, the first virtual object has an associated object, and the apparatus further includes:
[0172] The calling module is configured to, in response to the calling control being triggered while the calling control is displayed, call the associated object, where the calling control is used to call the associated object.
[0173] The display module 1101 is further configured to, in response to the first quantity of the acquired object resource being not less than the second quantity, display a change control, where the change control is used to change the object skill of the associated object.
[0174] The change module is configured to change the object skill of the associated object to the object skill of the second virtual object based on the change control being triggered.
[0175] In a possible implementation, the display module 1101 is further configured to display the object image of the second virtual object based on the change control being triggered.
[0176] In a possible implementation, the display module 1101 is further configured to display a third icon, where the third icon is an icon of the object skill of the associated object.
[0177] The change module is further configured to change the third icon to a fourth icon, where the fourth icon is an icon of the object skill of the second virtual object.
[0178] The control module 1103 is configured to control the associated object to cast the object skill of the second virtual object based on the fourth icon being triggered.
[0179] In a possible implementation, the apparatus further includes:
[0180] The first restoration module is configured to restore the object skill of the associated object based on the restoration function being triggered.
[0181] In a possible implementation, the apparatus further includes:
[0182] The second restoration module is configured to withdraw the associated object based on the restoration function being triggered.
[0183] In a possible implementation, the second restoring module is configured to display the object image of the first virtual object and the object image of the associated object based on the restoring function being triggered; and based on the object image of the first virtual object being triggered, the associated object is retrieved.
[0184] In a possible implementation, the first virtual object has an associated object.
[0185] The apparatus further includes:
[0186] The calling module is configured to call the associated object based on the calling function being triggered, in a case where the first quantity of the acquired object resources is not less than the second quantity, the object image of the associated object being the object image of the second virtual object, and the object skill of the associated object being the object skill of the second virtual object.
[0187] In a possible implementation, the first virtual object has an associated object, and the apparatus further includes:
[0188] The changing module is configured to change the restoring control into the confirming control in a case where the restoring control is further displayed and the first quantity of the acquired object resources is not less than the second quantity, the restoring control being used to restore the attribute value of the first virtual object.
[0189] The calling module is configured to call the associated object based on the confirming control being triggered, the object image of the associated object being the object image of the second virtual object, and the object skill of the associated object being the object skill of the second virtual object.
[0190] In a possible implementation, the damage value caused by the first virtual object casting the second object skill is a first damage value, and the first damage value is determined based on the first quantity.
[0191] In a possible implementation, the apparatus further includes:
[0192] The determining module is configured to determine an intensity value corresponding to the first quantity; and determine the first damage value according to the second damage value and the intensity value, the second damage value being a damage value caused by the second virtual object casting the second object skill.
[0193] After the first virtual object attacks the second virtual object, the first virtual object can obtain the object resource of the second virtual object. When the number of the object resource of the second virtual object obtained by the first virtual object is not less than the second number, the first virtual object can copy all object skills of the second virtual object. When the first object skill of the first virtual object is triggered, the first virtual object does not need to cast the first object skill, but casts the second object skill corresponding to the first object skill of the second virtual object. Without the need of the first virtual object to eliminate the second virtual object, the object skill of the second virtual object can be copied, and the threshold of copying the object skill is reduced. Moreover, the first virtual object can copy all object skills of the second virtual object, so that the interactive mode is more diversified, the flexibility of interaction is higher, the human-computer interaction rate can be improved, and then the user retention rate can be improved.
[0194] It should be understood that the above-mentioned device provided in the implementation of its function, only above-mentioned each functional module is divided into example, in actual application, can be needed to complete the above-mentioned function by different functional module, namely the internal structure of the device is divided into different functional module, to complete the above description all or part of the function. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be described here.
[0195] FIG. 12 shows a structural block diagram of a terminal device 1200 provided in an example embodiment of the present application. The terminal device 1200 can be any kind of electronic device product that can interact with a user through one or more ways such as a keyboard, a touchpad, a remote controller, voice interaction or a handwriting device. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car, a smart television, a smart speaker, a smart watch, etc.
[0196] Generally, the terminal device 1200 includes a processor 1201 and a memory 1202.
[0197] The processor 1201 can include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1201 can be implemented in the form of at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), a PLA (Programmable Logic Array). The processor 1201 can also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1201 can be integrated with a GPU (Graphics Processing Unit) for rendering and drawing content required to be displayed by the display screen. In some embodiments, the processor 1201 can further include an AI (Artificial Intelligence) processor for processing machine learning-related computing operations.
[0198] The memory 1202 can include one or more computer-readable storage media that can be non-transitory. The memory 1202 can also include a high-speed random access memory, and a nonvolatile memory such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one instruction for being executed by the processor 1201 to implement the virtual object interaction method provided by the method embodiment of the present application. In some embodiments, the non-transitory computer-readable storage medium can also be referred to as a non-volatile computer-readable storage medium.
[0199] In some embodiments, the terminal device 1200 can also optionally include a display screen 1205.
[0200] The display screen 1205 is configured to display a UI (User Interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 is also capable of capturing touch signals on or above the surface of the display screen 1205. The touch signals can be input as control signals to the processor 1201 for processing. At this time, the display screen 1205 can also be configured to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1205 can be one, disposed on the front panel of the terminal device 1200; in other embodiments, the display screen 1205 can be at least two, respectively disposed on different surfaces of the terminal device 1200 or in a folding design; in other embodiments, the display screen 1205 can be a flexible display screen, disposed on a curved surface or a folding surface of the terminal device 1200. Even, the display screen 1205 can also be disposed in an irregular shape other than a rectangle, i.e., a special-shaped screen. The display screen 1205 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode). In some embodiments, the first virtual object, the second virtual object, the icon, and the like involved in the method embodiments of the present application are displayed through the display screen 1205.
[0201] Those skilled in the art can understand that the structure shown in FIG. 12 does not constitute a limitation on the terminal device 1200, and can include more or fewer components than those shown, or combine certain components, or adopt a different component arrangement.
[0202] FIG. 13 is a structural schematic diagram of a server provided by the embodiments of the present application. The server 1300 can have great differences due to different configurations or performances, and can include one or more processors (CPU) 1301 and one or more memories 1302, wherein the one or more memories 1302 store at least one program code, which is loaded and executed by the one or more processors 1301 to implement the virtual object interaction method provided by the above-mentioned various method embodiments. Of course, the server 1300 can also have a wired or wireless network interface, a keyboard, and an input and output interface, and the like, so as to perform input and output. The server 1300 can also include other components for realizing the functions of the device, which are not described herein.
[0203] In an example embodiment, a non-volatile computer-readable storage medium is also provided, which stores at least one program code, the at least one program code being loaded and executed by a processor to enable a computer to implement any of the above virtual object interaction methods.
[0204] Optionally, the non-volatile computer-readable storage medium described above can be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0205] In an example embodiment, a computer program or computer program product is also provided, which stores at least one computer instruction, the at least one computer instruction being loaded and executed by a processor to enable a computer to implement any of the above virtual object interaction methods.
[0206] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions. For example, the operation of controlling the first virtual object to attack the second virtual object involved in the present application is obtained under full authorization.
[0207] It should be understood that "multiple" referred to herein means two or more. "And / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally represents that the associated objects before and after it are in an "or" relationship.
[0208] The above only describes example embodiments of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method of interacting with a virtual object, wherein, The method is executed by a computer device, and the method comprises: displaying a first virtual object and a second virtual object in a virtual environment; in response to an operation of controlling the first virtual object to attack the second virtual object, acquiring object resources of the second virtual object, the object resources being used to represent the second virtual object; in a case where a first quantity of the acquired object resources is not less than a second quantity, controlling the first virtual object to cast a second object skill based on a first object skill of the first virtual object being triggered, the second object skill being an object skill corresponding to the first object skill among object skills of the second virtual object, and the first object skill being any object skill of the first virtual object.
2. The method of claim 1, wherein, The controlling the first virtual object to cast a second object skill based on a first object skill of the first virtual object being triggered comprises: in a case where a first icon is also displayed, determining a first object skill corresponding to the first icon based on the first icon being triggered, the first icon being an icon of the first object skill; determining a second object skill corresponding to the first object skill among object skills of the second virtual object; controlling the first virtual object to cast the second object skill.
3. The method of claim 1 or 2, wherein, The method further comprises: in a case where a first icon is also displayed and a first quantity of the acquired object resources is not less than a second quantity, changing the first icon to a second icon, the first icon being an icon of the first object skill, and the second icon being an icon of the second object skill; controlling the first virtual object to cast the second object skill based on the second icon being triggered.
4. The method according to any one of claims 1 to 3, wherein, The method further comprises: in a case where a first quantity of the acquired object resources is not less than a second quantity, displaying an object image of the first virtual object as an object image of the second virtual object.
5. The method according to any one of claims 1 to 4, wherein, The method further comprises: displaying an acquisition special effect, the acquisition special effect moving from the second virtual object to the first virtual object, and the acquisition special effect being used to indicate that the first virtual object has acquired object resources of the second virtual object.
6. The method according to any one of claims 1 to 5, wherein, The acquiring object resources of the second virtual object in response to an operation of controlling the first virtual object to attack the second virtual object comprises: in response to an operation of controlling the first virtual object to attack the second virtual object, determining a third quantity of object resources that can be obtained by the operation of the first virtual object attacking the second virtual object; acquiring the third quantity of object resources of the second virtual object.
7. The method of claim 6, wherein, The determining a third quantity of object resources that can be obtained by the operation of the first virtual object attacking the second virtual object comprises: determining an attack value corresponding to the operation of the first virtual object attacking the second virtual object; determining the third quantity according to the attack value.
8. The method according to any one of claims 1 to 7, wherein, The method further comprises: displaying an object image of the second virtual object and a fourth quantity, the object image of the second virtual object and the fourth quantity being used to indicate that a quantity of acquired object resources of the second virtual object is the fourth quantity.
9. The method according to any one of claims 1 to 8, wherein, The first virtual object has an associated object, and the method further includes: In a case where the first quantity of the object resources obtained is not less than a second quantity, displaying a change control, the change control being used to change an object skill of the associated object; In a case where the first quantity of the object resources obtained is not less than a second quantity, displaying a change control, the change control being used to change an object skill of the associated object; Based on the change control being triggered, changing the object skill of the associated object to an object skill of the second virtual object.
10. The method of claim 9, wherein, The method further includes: Based on the change control being triggered, displaying an object image of the associated object as an object image of the second virtual object.
11. The method of claim 9 or 10, wherein, The method further includes: Displaying a third icon, the third icon being an icon of an object skill of the associated object; Changing the third icon to a fourth icon, the fourth icon being an icon of an object skill of the second virtual object; Based on the fourth icon being triggered, controlling the associated object to cast the object skill of the second virtual object.
12. The method of any one of claims 9 to 11, wherein, The method further includes: Based on a restoration function being triggered, restoring the object skill of the associated object.
13. The method of any one of claims 9 to 11, wherein, The method further includes: Based on a restoration function being triggered, withdrawing the associated object.
14. The method of claim 13, wherein, The method further includes: Based on a restoration function being triggered, displaying an object image of the first virtual object and an object image of the associated object; Based on the object image of the first virtual object being triggered, withdrawing the associated object.
15. The method of any one of claims 1 to 14, wherein, The first virtual object has an associated object; the method further includes: In a case where the first quantity of the object resources obtained is not less than a second quantity, based on a summoning function being triggered, summoning the associated object, an object image of the associated object being an object image of the second virtual object, and an object skill of the associated object being an object skill of the second virtual object.
16. The method of any one of claims 1 to 15, wherein, The first virtual object has an associated object; the method further includes: In a case where the first quantity of the object resources obtained is not less than a second quantity, and a recovery control is further displayed, changing the recovery control to a confirmation control, the recovery control being used to restore an attribute value of the first virtual object; Based on the confirmation control being triggered, summoning the associated object, an object image of the associated object being an object image of the second virtual object, and an object skill of the associated object being an object skill of the second virtual object.
17. The method of any one of claims 1 to 16, wherein, The damage value caused by the first virtual object casting the second object skill is a first damage value, the first damage value being determined based on the first quantity.
18. The method of claim 17, wherein, The method further includes: Determining an intensity value corresponding to the first quantity; According to a second damage value and the intensity value, determining the first damage value, the second damage value being a damage value caused by the second virtual object casting the second object skill.
19. An apparatus for interacting with a virtual object, wherein, The apparatus includes: a display module, configured to display a first virtual object and a second virtual object in a virtual environment; An acquisition module is configured to acquire an object resource of the second virtual object in response to an operation of controlling the first virtual object to attack the second virtual object, the object resource being used to represent the second virtual object; A control module is configured to, in a case where a first quantity of the acquired object resource is not less than a second quantity, control the first virtual object to cast a second object skill based on a first object skill of the first virtual object being triggered, the second object skill being an object skill corresponding to the first object skill among object skills of the second virtual object, and the first object skill being any object skill of the first virtual object.
20. A computer device, wherein, The computer device includes a processor and a memory, and the memory stores at least one program code, which is loaded and executed by the processor, so that the computer device implements the virtual object interaction method according to any one of claims 1 to 18.
21. A non-transitory computer readable storage medium, wherein, The non-volatile computer readable storage medium stores at least one program code, which is loaded and executed by the processor, so that the computer implements the virtual object interaction method according to any one of claims 1 to 18.
22. A computer program product, wherein, The computer program product stores at least one computer instruction, which is loaded and executed by the processor, so that the computer implements the virtual object interaction method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Virtual object control method and device, terminal and storage medium
CN111282284A
Information display method and device in virtual environment, equipment and medium
CN112870699A
Method and device for acquiring skills in virtual environment, equipment and medium
CN113769391A
Interaction control method and device, computer equipment and storage medium
CN116684656A
Virtual skill use method and device, equipment, medium and program product
CN116920394A