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

By directly selecting the exchange object and resource type in the game interface, the resource exchange process in multiplayer games is simplified, the problem of complex and time-consuming resource exchange in the existing technology is solved, and the game experience is improved.

CN114053714BActive Publication Date: 2024-10-01NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111362675.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-17
Publication Date
2024-10-01
Estimated Expiration
2041-11-17

AI Technical Summary

Technical Problem

In multiplayer action competitive games, resource exchange operations between teammates are complicated and cannot quickly exchange resources, which wastes time and affects the game experience.

Method used

Display the information of friendly virtual objects through the game interface, directly select the exchange object and target resource type, simplify the resource exchange process, and realize rapid resource exchange between virtual objects.

Benefits of technology

It simplifies the resource exchange operation process, shortens the exchange time, improves the user's gaming experience, and avoids the situation where resources are picked up by other virtual objects during the exchange process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114053714B_ABST
    Figure CN114053714B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a control method, device, computer equipment and storage medium for a virtual object, the method comprising: displaying a game interface of a current virtual object, the game interface including object information of at least one friendly virtual object in the same camp as the current virtual object in a target game; responding to a resource exchange trigger operation for the object information of the friendly virtual object, determining that the operated friendly virtual object is the current exchange object; responding to a resource selection operation triggered by the game interface, determining the target resource type to which the virtual resources to be exchanged between the current virtual object and the current exchange object belong; exchanging a first resource of the target resource type corresponding to the current virtual object with a second resource of the target resource type corresponding to the current exchange object. The operation of exchanging resources between the current virtual object and the friendly virtual object is simple, achieving the purpose of quickly exchanging resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to a method, device, computer equipment and storage medium for controlling a virtual object. Background Art

[0002] In multiplayer action competitive games, such as design games, shooting games, multiplayer role-playing games, etc., teammates in the same camp often have scenarios and needs to exchange resources instantly and quickly. However, in the research and discussion of existing technologies, when a player exchanges resources with a teammate, both the player and the teammate need to discard the resources to be exchanged, and then the player and the teammate exchange and pick up each other's resources to achieve the resource exchange. The operation process is complicated, time-consuming, and cannot achieve the purpose of quickly exchanging resources. Summary of the invention

[0003] The embodiments of the present application provide a method, apparatus, computer device and storage medium for controlling a virtual object, which can simplify the operation process and operation time for exchanging resources between a current virtual object and a friendly virtual object, achieve the purpose of quickly exchanging resources in the game, and enhance the user's gaming experience.

[0004] The embodiment of the present application provides a method for controlling a virtual object, wherein a game interface is provided through a terminal device, wherein the game interface includes at least part of a virtual scene and a virtual object located in the virtual scene, including:

[0005] Displaying a game interface of the current virtual object, the game interface including object information of at least one friendly virtual object in the same camp as the current virtual object in the target game;

[0006] In response to a resource exchange triggering operation on the object information of the friendly virtual object, determining that the operated friendly virtual object is a current exchange object;

[0007] In response to a resource selection operation triggered by the game interface, determining a target resource type to which the virtual resource to be exchanged between the current virtual object and the current exchange object belongs;

[0008] The first resource of the target resource type corresponding to the current virtual object is exchanged with the second resource of the target resource type corresponding to the current exchange object.

[0009] Accordingly, an embodiment of the present application further provides a control device for a virtual object, which provides a game interface through a terminal device, wherein the game interface includes at least part of a virtual scene and a virtual object located in the virtual scene, including:

[0010] A display unit, configured to display a game interface of a current virtual object, wherein the game interface includes object information of at least one friendly virtual object in the same camp as the current virtual object in a target game;

[0011] A first determining unit, configured to respond to a resource exchange triggering operation on the object information of the friendly virtual object and determine that the operated friendly virtual object is a current exchange object;

[0012] A second determination unit, configured to respond to a resource selection operation triggered by the game interface and determine a target resource type to which the virtual resource to be exchanged between the current virtual object and the current exchange object belongs;

[0013] The exchange unit is used to exchange a first resource belonging to the target resource type corresponding to the current virtual object with a second resource belonging to the target resource type corresponding to the current exchange object.

[0014] Optionally, the first determining unit is further configured to:

[0015] In response to a trigger operation on the exchange start control, setting the current virtual object and the friendly virtual object to be in a resource exchange state;

[0016] In response to a resource exchange triggering operation on a friendly virtual object in the resource exchange state, the operated friendly virtual object is determined to be the current exchange object.

[0017] Optionally, the object information includes an object identifier of the friendly virtual object, and the first determining unit is further configured to:

[0018] In response to the resource exchange triggering operation on the object identifier of the friendly virtual object, the friendly virtual object corresponding to the operated object identifier is determined as the current exchange object.

[0019] Optionally, the game interface includes a first resource identifier of the current virtual object, and the second determining unit is further used to:

[0020] In response to the resource selection operation on the first resource identifier, it is determined that the resource type corresponding to the operated first resource identifier is the target resource type.

[0021] Optionally, the second determining unit is further used for:

[0022] In response to the resource selection operation on the first resource identifier of the current virtual object, determining that a resource type corresponding to the operated first resource identifier is a candidate resource type;

[0023] If the resources belonging to the candidate resource type among the virtual resources held by the current virtual object are not empty, and the resources belonging to the candidate resource type among the virtual resources held by the current exchange object are not empty, the candidate resource type is determined to be the target resource type.

[0024] Optionally, the first resource identifier is used to indicate the resource type to which the virtual resource assembled by the current virtual object belongs, and the exchange unit is further used to:

[0025] Determining, among the virtual resources that have been assembled in the current virtual object, a virtual resource belonging to the target resource type as the first resource;

[0026] Among the virtual resources that the friendly virtual object has assembled, a virtual resource belonging to the target resource type is determined as the second resource.

[0027] Optionally, the first resource identifier is used to indicate a resource selection control of the current virtual object, and the second determining unit is further used to:

[0028] In response to the resource selection operation for the first resource identifier, displaying on the game interface a first resource type element to which the virtual resource currently held by the current virtual object belongs, and a second resource type element to which the virtual resource currently held by the exchange object belongs;

[0029] In response to the touch operation on the first resource type element and the second resource type element, it is determined that the resource type corresponding to the touched resource type element is the target resource type.

[0030] Optionally, the object information includes a second resource identifier of the friendly virtual object, where the second resource identifier is used to indicate a resource type to which a resource assembled by the friendly virtual object belongs, and the second determining unit is further used to:

[0031] In response to the resource selection operation on the second resource identifier, it is determined that the resource type corresponding to the operated second resource identifier is the target resource type.

[0032] Optionally, the switching unit is further used for:

[0033] Sending an exchange request to the current exchange object;

[0034] The first resource is exchanged with the second resource according to feedback information of the current exchange object agreeing to the exchange request within a preset time.

[0035] Similarly, an embodiment of the present application also provides a computer device, including:

[0036] Memory for storing computer programs;

[0037] A processor is used to execute any step of the virtual object control method.

[0038] In addition, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the methods for controlling a virtual object are implemented.

[0039] The embodiments of the present application provide a method, apparatus, computer equipment and storage medium for controlling virtual objects. When a player wants to exchange resources between a current virtual object controlled by the player and a friendly virtual object belonging to the same camp, the player can directly select the current exchange object through the object information of at least one friendly virtual object displayed in the game interface, and can directly select the target resource type to which the virtual resource to be exchanged belongs in the game interface, and then exchange the resources. This makes the operation process of exchanging resources between the current virtual object and the friendly virtual object very simple, and the time for resource exchange is short, thereby achieving the purpose of quickly exchanging resources in the game and improving the user's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 is a system schematic diagram of a control device for a virtual object provided in an embodiment of the present application;

[0042] Figure 2 is a flowchart of a method for controlling a virtual object provided in an embodiment of the present application;

[0043] Figure 3 is a schematic diagram of a game interface of a current virtual object provided in an embodiment of the present application;

[0044] Figure 4 is another flowchart of the method for controlling a virtual object provided in an embodiment of the present application;

[0045] Figure 5 is a structural schematic diagram of a control device for a virtual object provided in an embodiment of the present application;

[0046] Figure 6 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0048] The embodiments of the present application provide a control method, device, computer equipment and storage medium for a virtual object. Specifically, the control method for a virtual object in the embodiments of the present application can be performed by a computer device, wherein the computer device can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA), etc. The terminal can also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client, etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution network services, and basic cloud computing services such as big data and artificial intelligence platforms.

[0049] For example, when the control method of the virtual object is run on the terminal, the terminal device stores a game application and is used to present the scene in the game screen. The terminal device is used to interact with the user through a graphical user interface, for example, the game application is downloaded and installed by the terminal device and run. The terminal device may provide the graphical user interface to the user in a variety of ways, for example, it can be rendered and displayed on the display screen of the terminal device, or the graphical user interface is presented through holographic projection. For example, the terminal device may include a touch display screen and a processor, the touch display screen is used to present the graphical user interface and receive the operation instructions generated by the user acting on the graphical user interface, the graphical user interface includes a game screen and a game screen, and the processor is used to run the game application and the game, generate a graphical user interface, respond to the operation instructions, and control the display of the graphical user interface on the touch display screen.

[0050] For example, when the control method of the virtual object runs on the server, it can be a cloud game. Cloud gaming refers to a gaming method based on cloud computing. In the operation mode of cloud gaming, the operating body of the game application and the game screen presentation body are separated, and the storage and operation of the game cloud game commodity interaction method are completed on the cloud gaming server. The game screen presentation is completed on the client of the cloud gaming. The cloud gaming client is mainly used for receiving and sending game data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, a personal digital assistant, etc., but the terminal device for processing game data is a cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send an operation instruction to the cloud gaming server. The cloud gaming server runs the game program according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.

[0051] See also Figure 1 , Figure 1 A system diagram of a control device for a virtual object provided in an embodiment of the present application. The system may include at least one terminal and at least one game server. The terminal held by the user may be connected to the game servers of different games through different networks. For example, the network may be a wireless network or a wired network. The wireless network may be a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. The terminal may provide a game interface, the game interface including at least part of a virtual scene and a virtual object located in the virtual scene, for displaying the game interface of the current virtual object, the game interface including object information of at least one friendly virtual object in the same camp as the current virtual object in the target game; responding to a resource exchange trigger operation for the object information of the friendly virtual object, determining that the operated friendly virtual object is the current exchange object; responding to a resource selection operation triggered by the game interface, determining the target resource type to which the virtual resource to be exchanged between the current virtual object and the current exchange object belongs; exchanging the first resource of the target resource type corresponding to the current virtual object with the second resource of the target resource type corresponding to the current exchange object. The game server is used to send the virtual scene displayed by the game interface to the terminal.

[0052] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0053] This embodiment will be described from the perspective of a control device for a virtual object. The control device for the virtual object may be specifically integrated in a terminal device, which may include a smart phone, a laptop computer, a tablet computer, a personal computer, and other devices.

[0054] The embodiment of the present application provides a method for controlling a virtual object, which can be executed by a processor of a terminal, such as Figure 2 As shown, the specific process of the virtual object control method mainly includes steps 201 to 204, which are described in detail as follows:

[0055] Step 201: Display a game interface of the current virtual object, where the game interface includes object information of at least one friendly virtual object in the same camp as the current virtual object in the target game.

[0056] In an embodiment of the present application, the terminal displays a game interface of the current virtual object, and the game interface includes at least a portion of the virtual scene of the target game and the virtual object located in the virtual scene. The current virtual object may or may not be in the virtual scene displayed on the game interface. Similarly, a friendly virtual object in the same camp as the current virtual object may or may not be in the virtual scene displayed on the game interface.

[0057] In the embodiment of the present application, the virtual scene included in the game interface of the target game may have game props, and / or multiple virtual objects (buildings, trees, mountains, etc.) included in the game world environment. The target game may be a first-person shooter game, a multiplayer online role-playing game, etc.

[0058] In an embodiment of the present application, in order to enable the player manipulating the current virtual object to select the current exchange object with which he wants to exchange resources from multiple friendly virtual objects according to factors such as the game situation, the object information of the friendly virtual object can be displayed in the game interface of the current virtual object, so that the current virtual object can understand the relevant information of each friendly virtual object in real time. The object information can be the object identifier of the friendly virtual object and the second resource identifier of the friendly virtual object. For example, the object identifier can be the nickname, number, blood bar status, etc. of the friendly virtual object, and the second resource identifier can be the resource type of the virtual resource that the friendly virtual object has assembled or held, and / or the resource level of the virtual resource that has been assembled or held. In addition, in order to better distinguish different friendly virtual objects, natural numbers, English letters, etc. can be used to number different friendly virtual objects. The number of the friendly virtual object can be displayed next to the object information of the friendly virtual object, so that the number and object information of each friendly virtual object can be better associated. The number of the friendly virtual object can also be displayed following the position of the friendly virtual object in the virtual scene, so that the current virtual object can derive the approximate position of each friendly virtual object in the virtual scene according to the number.

[0059] For example, Figure 3In the schematic diagram of the game interface of the current virtual object shown, the game interface 30 includes the avatar 11, nickname 12, health bar 13 and resource type identification 14, resource type identification 15 and resource type identification 16 of the friendly virtual object 1, the avatar 21, nickname 22, health bar 23 and resource type identification 24, resource type identification 25 and resource type identification 26 of the equipped virtual resources of the friendly virtual object 2, and the avatar 31, nickname 32, health bar 33 and resource type identification 34, resource type identification 35 and resource type identification 36 of the equipped virtual resources of the friendly virtual object 3. Among them, a resource type identification of a friendly virtual object indicates that the friendly virtual object is equipped with a virtual resource under this resource type. In addition, the colors of different resource type identifications of the same friendly virtual object can be different, and the color of the resource type identification indicates the level of the virtual resource of this resource type that the friendly virtual object has equipped.

[0060] In an embodiment of the present application, when the player manipulating the current virtual object selects the current exchange object from friendly virtual objects, the selection can be made based on the virtual resources that the current virtual object has been equipped or held, as well as the virtual resources that each friendly virtual object has been equipped or held. For example, if the armor level of the current virtual object manipulated by the player is low, and the current virtual object has to resist damage from enemy virtual objects, the player can select a friendly virtual object that has been equipped or held and has a higher armor level as the current exchange object.

[0061] For another example, if the attack weapon of the current virtual object controlled by the player is suitable for close combat, and the current virtual object is at a position far away from the enemy in the game scene, while the attack weapon of friendly virtual object 1 is suitable for long-range combat, the player finds that friendly virtual object 1 is close to the enemy based on the numbered position of friendly virtual object 1. The player can select friendly virtual object 1 as the current exchange object to exchange attack weapons, thereby optimizing the combat strategy of virtual objects in the same camp.

[0062] Step 202: In response to a resource exchange triggering operation on object information of a friendly virtual object, determine that the operated friendly virtual object is a current exchange object.

[0063] In an embodiment of the present application, the current exchange object is at least one virtual object among friendly virtual objects, and the current exchange object is used to exchange virtual resources with the current virtual object.

[0064] In an embodiment of the present application, it can be arranged that when the player manipulating the current virtual object directly performs a resource exchange trigger operation on the object information of one of the friendly virtual objects, the resource exchange process of the current virtual object is directly started, and the friendly virtual object corresponding to the resource exchange trigger operation is directly determined as the current exchange object.

[0065] In the embodiment of the present application, in order to prevent the player from accidentally touching the object information of the friendly virtual object during the game, thereby preventing the player from accidentally triggering the resource exchange process, a control for starting the resource exchange process can also be set in the game interface. When the player manipulating the current virtual object clicks the control, the relevant operation is performed on the object information of the friendly virtual object to determine the current exchange object. At this time, the game interface can be set to include an exchange start control, and the above step 202 "responding to the resource exchange trigger operation for the object information of the friendly virtual object, determining that the operated friendly virtual object is the current exchange object" can include: responding to the trigger operation for the exchange start control, setting the current virtual object and the friendly virtual object in a resource exchange state. At this time, the above step 202 "responding to the resource exchange trigger operation for the object information of the friendly virtual object, determining that the operated friendly virtual object is the current exchange object" is: responding to the resource exchange trigger operation for the friendly virtual object in the resource exchange state, determining that the operated friendly virtual object is the current exchange object.

[0066] In an embodiment of the present application, the current virtual object is in a resource exchange state, which indicates that the process of exchanging virtual resources between the current virtual object and other virtual objects is started. The resource exchange trigger operation performed by the player on the object information of the friendly virtual object within a preset time can be regarded as selecting the current exchange object, and the resource selection operation performed by the player on the resource type within a preset time can also be regarded as selecting the target resource type.

[0067] In the embodiment of the present application, the friendly virtual object being in the resource exchange state indicates that a resource exchange trigger operation is performed on the friendly virtual object within a preset time, and the friendly virtual object can be set as the current exchange object for resource exchange.

[0068] In the embodiment of the present application, the specific operation of the resource exchange triggering operation is not limited, for example, it can be a click operation, a long press operation, or a sliding operation.

[0069] In the embodiment of the present application, the object information of the friendly virtual object may include the object identifier of the friendly virtual object, and the object identifier is an identifier that uniquely distinguishes different virtual objects in the target game. For example, the object identifier may be a nickname, number, and / or avatar of the virtual object. The current exchange object may be selected by performing a resource exchange trigger operation on the object identifier of the friendly virtual object. Specifically, in the above step 202, "responding to the resource exchange trigger operation on the object information of the friendly virtual object, determining that the operated friendly virtual object is the current exchange object" may be: responding to the resource exchange trigger operation on the object identifier of the friendly virtual object, determining that the friendly virtual object corresponding to the operated object identifier is the current exchange object.

[0070] For example, Figure 3 In the schematic diagram of the game interface of the current virtual object shown, when the player clicks on the avatar 11 of the friendly virtual object 1, it indicates that the friendly virtual object 1 is selected as the current exchange object.

[0071] Step 203: In response to the resource selection operation triggered by the game interface, determine the target resource type to which the virtual resource to be exchanged between the current virtual object and the current exchange object belongs.

[0072] In an embodiment of the present application, the game interface may include a first resource identifier of the current virtual object, and a resource selection operation may be performed on the first resource identifier to determine the target resource type. At this time, in the above step 203, "responding to the resource selection operation triggered by the game interface, determining the target resource type of the virtual resource that the current virtual object and the current exchange object need to exchange" may include: responding to the resource selection operation for the first resource identifier, and determining that the resource type corresponding to the operated first resource identifier is the target resource type.

[0073] In the embodiment of the present application, the player can only determine the virtual resources for resource exchange with the current exchange object from the virtual resources that the current virtual object has equipped. At this time, the player only needs to perform resource selection operation on the virtual resources that the current virtual object has equipped, that is, the first resource identifier can indicate the resource type to which the virtual resources that the current virtual object has equipped belong. The player can also not only determine the virtual resources for resource exchange from the virtual resources that the current virtual object has equipped, but also perform resource selection operation in all virtual resources held by the current virtual object, that is, the first resource identifier can indicate the resource type to which the virtual resources that the current virtual object has held belong. In addition, in addition to enabling the current virtual object to exchange the virtual resources that it has held with the current exchange object (the current exchange object can give the virtual resources that it has held to the current virtual object, or it can give the virtual resources that it does not have to the current virtual object), the player can also enable the current virtual object to give the virtual resources that it does not hold to the current exchange object, thereby exchanging the virtual resources that the current exchange object has held, that is, the first resource identifier can indicate the resource type to which the virtual resources that the current virtual object has held belong, and can also indicate the resource type to which the virtual resources that the current virtual object does not hold but the current exchange object has held belong.

[0074] For example, in Figure 3The schematic diagram of the game interface of the current virtual object shown may include resource type icons to which the virtual resources equipped by the current virtual object belong. In order to distinguish different resource type icons, different resource type icons may be numbered, namely, armor icon A, shooting weapon icon B, and throwing weapon icon C. When the player clicks on armor icon A, armor becomes the target resource type for exchange, and the armor of the current virtual object is exchanged with the armor of the current exchange object 1.

[0075] In the embodiment of the present application, if after the target resource type is selected, there is no virtual resource belonging to the target resource type among the resources held by the current virtual object, and there is no virtual resource belonging to the target resource type among the resources held by the current exchange object being exchanged, it indicates that it is unnecessary to exchange resources. Therefore, before performing resource exchange, it is necessary to determine whether at least one of the two parties performing resource exchange has a virtual resource of the target resource type. At this time, the above step of "responding to the resource selection operation for the first resource identifier, determining that the resource type corresponding to the operated first resource identifier is the target resource type" can be:

[0076] In response to a resource selection operation on a first resource identifier of a current virtual object, determining that a resource type corresponding to the operated first resource identifier is a candidate resource type;

[0077] If the resources belonging to the candidate resource type among the virtual resources held by the current virtual object are not empty, and the resources belonging to the candidate resource type among the virtual resources held by the current exchange object are not empty, the candidate resource type is determined to be the target resource type.

[0078] In an embodiment of the present application, after the player has selected the target resource type to which the virtual resource to be exchanged belongs, the terminal needs to determine the virtual resource to be specifically exchanged between the current virtual object and the current exchange object. At this time, if the first resource identifier is used to indicate the resource type to which the virtual resource that the current virtual object has been equipped belongs, it means that the player only selects the virtual resource to be exchanged with the current exchange object from the virtual resources that the current virtual object has been equipped. Similarly, the virtual resource to be exchanged with the current virtual object is only determined from the virtual resources that the current exchange object has been equipped. Since in the target game, for multiple virtual resources of one type, the virtual object can only be equipped with one of them, after the target resource type is determined, only one of the virtual resources that the current virtual object and the current exchange object have been equipped belongs to the target resource type, so the specific virtual resource to be exchanged can be determined. At this time, before the above step of "exchanging the first resource of the target resource type corresponding to the current virtual object with the second resource of the target resource type corresponding to the current exchange object", the first resource and the second resource can be determined specifically as follows:

[0079] Among the virtual resources that have been assembled in the current virtual object, determining a virtual resource belonging to the target resource type as a first resource;

[0080] Among the virtual resources that have been assembled by the friendly virtual object, a virtual resource belonging to the target resource type is determined as the second resource.

[0081] In the embodiment of the present application, if the player can select the virtual resource to be exchanged from the virtual resource held by the current virtual object and the virtual resource held by the current exchange object, and in order to make the game interface more concise and avoid displaying too many virtual resource identifiers, the first resource identifier can be used to indicate the resource selection control of the current virtual object. At this time, in the above step 203, "responding to the resource selection operation for the first resource identifier, determining that the resource type corresponding to the operated first resource identifier is the target resource type" can be:

[0082] In response to the resource selection operation for the first resource identifier, displaying on the game interface a first resource type element to which the virtual resource currently held by the virtual object belongs, and a second resource type element to which the virtual resource currently held by the exchange object belongs;

[0083] In response to a touch operation on a first resource type element and a second resource type element, a resource type corresponding to the touched resource type element is determined as a target resource type.

[0084] For example, the first resource identifier can be the backpack identifier of the current virtual object. When the player clicks on the backpack identifier, a backpack list can be displayed in the game interface. The backpack list can include different resource type controls. Each resource type control can include virtual resource icons belonging to the resource type in the virtual resources already held by the current virtual object, and virtual resource icons belonging to the resource in the virtual resources not held by the current virtual object but already held by a friendly virtual object. In order to distinguish between the virtual resource icons held by the current virtual object and the virtual resource icons not held by the current virtual object, the two can be displayed in different colors or light and dark states. When the player clicks on a resource type control in the backpack list, it indicates that the resource type corresponding to the resource type control is the target resource type, and all or part of the virtual resources included in the target resource type in the backpack list of the current virtual object can be exchanged with the current exchange object.

[0085] In an embodiment of the present application, the object information includes a second resource identifier of a friendly virtual object, and the second resource identifier is used to indicate the resource type to which the resource that the friendly virtual object has been equipped belongs. The player can determine the target resource type for resource exchange by clicking on the second resource identifier. At this time, the above-mentioned step 203 "responding to the resource selection operation triggered by the game interface, and determining the target resource type to which the virtual resource to be exchanged between the current virtual object and the current exchange object belongs" can be: responding to the resource selection operation for the second resource identifier, and determining that the resource type corresponding to the second resource identifier being operated is the target resource type.

[0086] For example, Figure 3 As shown, when the player clicks on the resource type identifier 15 of the friendly virtual object 1, it indicates that the target resource type for virtual resource exchange is the resource type corresponding to the resource type identifier 15.

[0087] Step 204: Exchange the first resource of the target resource type corresponding to the current virtual object with the second resource of the target resource type corresponding to the current exchange object.

[0088] In the embodiment of the present application, the above step 204 of "exchanging the first resource of the target resource type corresponding to the current virtual object with the second resource of the target resource type corresponding to the current exchange object" may be:

[0089] Send an exchange request to the current exchange object;

[0090] The first resource is exchanged with the second resource according to the consent feedback information of the current exchange object to the exchange request within a preset time.

[0091] In the embodiment of the present application, when the terminal does not receive the consent feedback information of the current exchange object to the exchange request within the preset time, the exchange of the first resource and the second resource is canceled.

[0092] In an embodiment of the present application, the order of step 202 and step 203 is not restricted, that is, the order in which the player selects the current exchange object from the friendly virtual object and selects the target resource type for resource exchange from the first resource identifier or the second resource identifier can be flexibly set according to actual conditions.

[0093] All of the above technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described in detail here.

[0094] The control method of virtual objects provided in the embodiment of the present application is that when a player wants to exchange resources between the current virtual object being controlled by the player and a friendly virtual object belonging to the same camp, the player can directly select the current exchange object through the object information of at least one friendly virtual object displayed in the game interface, and can directly select the target resource type to which the virtual resource to be exchanged belongs in the game interface, and then exchange the resources, so that the operation process of exchanging resources between the current virtual object and the friendly virtual object is very simple, and the time of resource exchange is short, thereby achieving the purpose of quickly exchanging resources in the game and improving the user's gaming experience. Moreover, the current virtual object does not need to discard the first resource, and the current exchange object does not need to discard the second resource, so as to avoid the situation where the first resource and the second resource are picked up by other virtual objects during the exchange process.

[0095] See also Figure 4 , Figure 4 Another schematic diagram of a virtual object control method provided in an embodiment of the present application. The specific process of the method may be as follows:

[0096] Step 401: Display the game interface of the current virtual object.

[0097] For example, the game interface includes a first resource identifier of a resource type to which the virtual resource equipped by the current virtual object belongs, an object identifier of a friendly virtual object, and a second resource identifier of a resource type to which the virtual resource equipped by the friendly virtual object belongs.

[0098] Step 402: Number the first resource identifier and the object identifier.

[0099] For example, the object identifiers of the friendly virtual objects are numbered using continuous natural numbers, and the first resource identifiers are numbered using English letters.

[0100] Step 403: respond to the resource exchange triggering operation for the object identifier of the friendly virtual object, and determine that the operated friendly virtual object is the current exchange object.

[0101] For example, the player clicks on the object identifier of one of the friendly virtual objects to determine that the clicked friendly virtual object is the current exchange object.

[0102] Step 404: In response to the resource selection operation for the first resource identifier, determine the target resource type to which the virtual resource to be exchanged between the current virtual object and the current exchange object belongs.

[0103] For example, the player clicks on one of the first resource identifiers and determines that the resource type corresponding to the clicked first resource identifier is the target resource type.

[0104] Step 405: The terminal manipulating the current virtual object sends an exchange request to the terminal manipulating the current exchange object through the game server.

[0105] Step 406: Whether the consent feedback information is received.

[0106] For example, it is determined whether the terminal manipulating the current virtual object receives consent feedback information for the exchange request within a preset time.

[0107] Step 407: If yes, perform resource exchange.

[0108] For example, a first resource belonging to the target resource type corresponding to the current virtual object is exchanged with a second resource belonging to the target resource type corresponding to the current exchange object.

[0109] Step 408: If not, cancel the resource exchange.

[0110] All of the above technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described in detail here.

[0111] The control method of virtual objects provided in the embodiment of the present application is that when a player wants to exchange resources between the current virtual object being controlled by the player and a friendly virtual object belonging to the same camp, the player can directly select the current exchange object through the object information of at least one friendly virtual object displayed in the game interface, and can directly select the target resource type to which the virtual resource to be exchanged belongs in the game interface, and then exchange the resources, so that the operation process of exchanging resources between the current virtual object and the friendly virtual object is very simple, and the time of resource exchange is short, thereby achieving the purpose of quickly exchanging resources in the game and improving the user's gaming experience. Moreover, the current virtual object does not need to discard the first resource, and the current exchange object does not need to discard the second resource, so as to avoid the situation where the first resource and the second resource are picked up by other virtual objects during the exchange process.

[0112] In order to better implement the control method of the virtual object in the embodiment of the present application, the embodiment of the present application also provides a control device for the virtual object. Figure 5 , Figure 5 A schematic diagram of the structure of a control device for a virtual object provided in an embodiment of the present application. A game interface is provided through a terminal device, the game interface includes at least part of a virtual scene and a virtual object located in the virtual scene, and the control device for the virtual object may include a display unit 501, a first determination unit 502, a second determination unit 503, and an exchange unit 504.

[0113] The display unit 501 is used to display a game interface of the current virtual object, where the game interface includes object information of at least one friendly virtual object in the same camp as the current virtual object in the target game;

[0114] A first determining unit 502 is configured to respond to a resource exchange triggering operation on object information of a friendly virtual object and determine that the operated friendly virtual object is a current exchange object;

[0115] The second determining unit 503 is used to respond to the resource selection operation triggered by the game interface and determine the target resource type of the virtual resource to be exchanged between the current virtual object and the current exchange object;

[0116] The exchange unit 504 is used to exchange a first resource of a target resource type corresponding to the current virtual object with a second resource of the target resource type corresponding to the current exchange object.

[0117] Optionally, the first determining unit 502 is further configured to:

[0118] In response to a trigger operation on an exchange start control, the current virtual object and the friendly virtual object are set to be in a resource exchange state;

[0119] In response to a resource exchange triggering operation on a friendly virtual object in a resource exchange state, the operated friendly virtual object is determined to be a current exchange object.

[0120] Optionally, the object information includes an object identifier of a friendly virtual object, and the first determining unit 502 is further configured to:

[0121] In response to a resource exchange triggering operation for an object identifier of a friendly virtual object, a friendly virtual object corresponding to the operated object identifier is determined as a current exchange object.

[0122] Optionally, the game interface includes the first resource identifier of the current virtual object, and the second determining unit 503 is further used to:

[0123] In response to a resource selection operation on a first resource identifier, a resource type corresponding to the operated first resource identifier is determined to be a target resource type.

[0124] Optionally, the second determining unit 503 is further configured to:

[0125] In response to a resource selection operation on a first resource identifier of a current virtual object, determining that a resource type corresponding to the operated first resource identifier is a candidate resource type;

[0126] If the resources belonging to the candidate resource type among the virtual resources held by the current virtual object are not empty, and the resources belonging to the candidate resource type among the virtual resources held by the current exchange object are not empty, the candidate resource type is determined to be the target resource type.

[0127] Optionally, the first resource identifier is used to indicate the resource type to which the virtual resource assembled by the current virtual object belongs, and the exchange unit 504 is further used to:

[0128] Among the virtual resources that have been assembled in the current virtual object, determining a virtual resource belonging to the target resource type as a first resource;

[0129] Among the virtual resources that have been assembled by the friendly virtual object, a virtual resource belonging to the target resource type is determined as the second resource.

[0130] Optionally, the first resource identifier is used to indicate a resource selection control of the current virtual object, and the second determining unit 503 is further used to:

[0131] In response to the resource selection operation for the first resource identifier, displaying on the game interface a first resource type element to which the virtual resource currently held by the virtual object belongs, and a second resource type element to which the virtual resource currently held by the exchange object belongs;

[0132] In response to a touch operation on a first resource type element and a second resource type element, a resource type corresponding to the touched resource type element is determined as a target resource type.

[0133] Optionally, the object information includes a second resource identifier of the friendly virtual object, where the second resource identifier is used to indicate a resource type to which a resource assembled by the friendly virtual object belongs, and the second determining unit 503 is further used to:

[0134] In response to the resource selection operation for the second resource identifier, it is determined that the resource type corresponding to the operated second resource identifier is the target resource type.

[0135] Optionally, the switching unit 504 is further configured to:

[0136] Send an exchange request to the current exchange object;

[0137] The first resource is exchanged with the second resource according to the consent feedback information of the current exchange object to the exchange request within a preset time.

[0138] All of the above technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described in detail here.

[0139] The control device for virtual objects provided in the embodiment of the present application displays the game interface of the current virtual object through the display unit 501, and the game interface includes the object information of at least one friendly virtual object in the same camp as the current virtual object in the target game, and then, the first determination unit 502 responds to the resource exchange trigger operation for the object information of the friendly virtual object, and determines that the operated friendly virtual object is the current exchange object, and then, the second determination unit 503 responds to the resource selection operation triggered by the game interface, and determines the target resource type of the virtual resources to be exchanged between the current virtual object and the current exchange object, and finally, the first resource of the target resource type corresponding to the current virtual object is exchanged with the second resource of the target resource type corresponding to the current exchange object through the exchange unit 504. The operation process of exchanging resources between the current virtual object and the friendly virtual object is very simple, and the time of resource exchange is short, thereby achieving the purpose of quickly exchanging resources in the game and improving the game experience of users.

[0140] Accordingly, the embodiment of the present application also provides a computer device, which may be a terminal, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer, a personal digital assistant, or other terminal device. Figure 6 As shown, Figure 6 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device 600 includes a processor 601 having one or more processing cores, a memory 602 having one or more computer-readable storage media, and a computer program stored in the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. It will be understood by those skilled in the art that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0141] The processor 601 is the control center of the computer device 600. It uses various interfaces and lines to connect the various parts of the entire computer device 600, executes various functions of the computer device 600 and processes data by running or loading software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, thereby monitoring the computer device 600 as a whole.

[0142] In the embodiment of the present application, the processor 601 in the computer device 600 will load instructions corresponding to the processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 will run the application programs stored in the memory 602 to implement various functions:

[0143] Displaying a game interface of the current virtual object, the game interface including object information of at least one friendly virtual object in the same camp as the current virtual object in the target game;

[0144] In response to a resource exchange trigger operation for object information of a friendly virtual object, determining that the operated friendly virtual object is a current exchange object;

[0145] In response to a resource selection operation triggered through a game interface, determining a target resource type of a virtual resource to be exchanged between a current virtual object and a current exchange object;

[0146] The first resource of the target resource type corresponding to the current virtual object is exchanged with the second resource of the target resource type corresponding to the current exchange object.

[0147] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0148] Optional, such as Figure 6 As shown, the computer device 600 further includes: a touch screen 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch screen 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607, respectively. Those skilled in the art can understand that Figure 6 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0149] The touch display screen 603 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 603 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the computer device, which may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel may be used to collect the user's touch operation on or near it (such as the user cashing in the operation of any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 601, and can receive the command sent by the processor 601 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 601 to determine the type of touch event, and then the processor 601 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 603 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 603 can also be used as a part of the input unit 606 to realize the input function.

[0150] In an embodiment of the present application, the processor 601 executes a game application to generate a game interface on the touch display screen 603. The game interface includes an object identifier and a second resource identifier of a friendly virtual object, and a first resource identifier of the current virtual object. When a player wants to exchange virtual resources with one of the friendly virtual objects, the player can click on the object identifier of the friendly virtual object to be exchanged, and click on the first resource identifier or the second resource identifier. The processor 601 receives the user's click operation on the object identifier of the friendly virtual object, and determines that the clicked friendly virtual object is the current exchange object for resource exchange with the current virtual object. The processor 601 receives the user's click operation on the first resource identifier or the second resource identifier, and determines that the clicked virtual resource type is the target resource type of the virtual object to be exchanged between the current virtual object and the current exchange object. Then, the processor 601 sends an exchange request to the terminal corresponding to the current exchange object through the server. When the computer device receives the exchange consent feedback sent by the terminal of the current exchange object, the second resource exchanged from the current exchange object is configured for the current virtual object.

[0151] The radio frequency circuit 604 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other computer device through wireless communication, and to send and receive signals between the network device or other computer device.

[0152] The audio circuit 605 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 605 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 605 and converted into audio data, and then the audio data is output to the processor 601 for processing, and then sent to another computer device through the radio frequency circuit 604, or the audio data is output to the memory 602 for further processing. The audio circuit 605 may also include an earplug jack to provide communication between an external headset and the computer device.

[0153] The input unit 606 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0154] The power supply 607 is used to supply power to various components of the computer device 600. Optionally, the power supply 607 can be logically connected to the processor 601 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 607 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0155] although Figure 6 Not shown, the computer device 600 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0156] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0157] As can be seen from the above, in the computer device provided by this embodiment, when the player wants to exchange resources between the current virtual object controlled by him / her and a friendly virtual object belonging to the same camp, the current exchange object can be directly selected through the object information of at least one friendly virtual object displayed in the game interface, and the target resource type to which the virtual resources to be exchanged belong can be directly selected in the game interface, and then the resources can be exchanged, so that the operation process of exchanging resources between the current virtual object and the friendly virtual object is very simple, and the time for resource exchange is short, thereby achieving the purpose of quickly exchanging resources in the game and improving the user's gaming experience.

[0158] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0159] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any of the virtual object control methods provided in the embodiments of the present application. For example, the computer program can execute the following steps:

[0160] Displaying a game interface of the current virtual object, the game interface including object information of at least one friendly virtual object in the same camp as the current virtual object in the target game;

[0161] In response to a resource exchange trigger operation for object information of a friendly virtual object, determining that the operated friendly virtual object is a current exchange object;

[0162] In response to a resource selection operation triggered through a game interface, determining a target resource type of a virtual resource to be exchanged between a current virtual object and a current exchange object;

[0163] The first resource of the target resource type corresponding to the current virtual object is exchanged with the second resource of the target resource type corresponding to the current exchange object.

[0164] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0165] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0166] Since the computer program stored in the storage medium can execute the steps in any virtual object control method provided in the embodiments of the present application, the beneficial effects that can be achieved by any virtual object control method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0167] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0168] The above is a detailed introduction to a control method, device, computer equipment and storage medium for a virtual object provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the technical solution and core idea of ​​the present invention. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present invention.

Claims

1. A method for controlling a virtual object, It is characterized in that Providing a game interface through a terminal device, the game interface including at least part of a virtual scene and a virtual object located in the virtual scene, including: Displaying a game interface of the current virtual object, the game interface including object information of at least one friendly virtual object in the same camp as the current virtual object in the target game; In response to a resource exchange triggering operation on the object information of the friendly virtual object, determining that the operated friendly virtual object is a current exchange object; In response to a resource selection operation triggered by the game interface, determining a target resource type to which the virtual resource to be exchanged between the current virtual object and the current exchange object belongs, wherein the resources of the target resource type among the virtual resources held by the current virtual object are not empty, and the resources of the target resource type among the virtual resources held by the current exchange object are not empty; The first resource of the target resource type corresponding to the current virtual object is exchanged with the second resource of the target resource type corresponding to the current exchange object.

2. The method according to claim 1, It is characterized in that The game interface includes an exchange start control, and the response to the resource exchange trigger operation for the object information of the friendly virtual object, before determining that the operated friendly virtual object is the current exchange object, also includes: In response to a trigger operation on the exchange start control, setting the current virtual object and the friendly virtual object to be in a resource exchange state; The responding to the resource exchange triggering operation on the object information of the friendly virtual object, and determining that the operated friendly virtual object is the current exchange object, includes: In response to a resource exchange triggering operation on a friendly virtual object in the resource exchange state, the operated friendly virtual object is determined to be the current exchange object.

3. The method according to claim 1, It is characterized in that The object information includes an object identifier of the friendly virtual object, and the responding to the resource exchange triggering operation for the object information of the friendly virtual object, and determining that the operated friendly virtual object is the current exchange object, includes: In response to the resource exchange triggering operation on the object identifier of the friendly virtual object, the friendly virtual object corresponding to the operated object identifier is determined as the current exchange object.

4. The method according to claim 1, It is characterized in that The game interface includes a first resource identifier of the current virtual object, and the response to the resource selection operation triggered by the game interface determines the target resource type of the virtual resource to be exchanged between the current virtual object and the current exchange object, including: In response to the resource selection operation on the first resource identifier, it is determined that the resource type corresponding to the operated first resource identifier is the target resource type.

5. The method according to claim 4, It is characterized in that The responding to the resource selection operation for the first resource identifier, determining that the resource type corresponding to the operated first resource identifier is the target resource type, includes: In response to the resource selection operation on the first resource identifier of the current virtual object, determining that a resource type corresponding to the operated first resource identifier is a candidate resource type; If the resources belonging to the candidate resource type among the virtual resources held by the current virtual object are not empty, and the resources belonging to the candidate resource type among the virtual resources held by the current exchange object are not empty, the candidate resource type is determined to be the target resource type.

6. The method according to claim 4, It is characterized in that The first resource identifier is used to indicate the resource type to which the virtual resource assembled by the current virtual object belongs, and before exchanging the first resource of the target resource type corresponding to the current virtual object with the second resource of the target resource type corresponding to the current exchange object, the method further includes: Determining, among the virtual resources that have been assembled in the current virtual object, a virtual resource belonging to the target resource type as the first resource; Among the virtual resources that the friendly virtual object has assembled, a virtual resource belonging to the target resource type is determined as the second resource.

7. The method according to claim 4, It is characterized in that The first resource identifier is used to indicate a resource selection control of the current virtual object, and the response to the resource selection operation for the first resource identifier determines that the resource type corresponding to the operated first resource identifier is the target resource type, including: In response to the resource selection operation for the first resource identifier, displaying on the game interface a first resource type element to which the virtual resource currently held by the current virtual object belongs, and a second resource type element to which the virtual resource currently held by the exchange object belongs; In response to the touch operation on the first resource type element and the second resource type element, it is determined that the resource type corresponding to the touched resource type element is the target resource type.

8. The method according to claim 1, It is characterized in that The object information includes a second resource identifier of the friendly virtual object, the second resource identifier is used to indicate a resource type to which a resource that has been equipped by the friendly virtual object belongs, and the response to the resource selection operation triggered by the game interface determines a target resource type to which a virtual resource to be exchanged between the current virtual object and the current exchange object belongs, including: In response to the resource selection operation on the second resource identifier, it is determined that the resource type corresponding to the operated second resource identifier is the target resource type.

9. The method according to claim 1, It is characterized in that The exchanging the first resource of the target resource type corresponding to the current virtual object with the second resource of the target resource type corresponding to the current exchange object includes: Sending an exchange request to the current exchange object; The first resource is exchanged with the second resource according to feedback information of the current exchange object agreeing to the exchange request within a preset time.

10. A control device for a virtual object, It is characterized in that Providing a game interface through a terminal device, the game interface including at least part of a virtual scene and a virtual object located in the virtual scene, including: A display unit, configured to display a game interface of a current virtual object, wherein the game interface includes object information of at least one friendly virtual object in the same camp as the current virtual object in a target game; A first determining unit, configured to respond to a resource exchange triggering operation on the object information of the friendly virtual object and determine that the operated friendly virtual object is a current exchange object; A second determination unit is used to respond to a resource selection operation triggered by the game interface, and determine a target resource type to which the virtual resource to be exchanged between the current virtual object and the current exchange object belongs, wherein the resources belonging to the target resource type among the virtual resources held by the current virtual object are not empty, and the resources belonging to the target resource type among the virtual resources held by the current exchange object are not empty; The exchange unit is used to exchange a first resource belonging to the target resource type corresponding to the current virtual object with a second resource belonging to the target resource type corresponding to the current exchange object.

11. A computer device, It is characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps in the method for controlling a virtual object as claimed in any one of claims 1 to 9 when executing the computer program.

12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the method for controlling a virtual object according to any one of claims 1 to 9 are implemented.