Virtual item transfer method, device, equipment, storage medium and product

CN122665331APending Publication Date: 2026-09-01SHENZHEN TENCENT TIANYOU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610885508.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-17
Publication Date
2026-09-01

AI Technical Summary

Technical Problem

[0004]上述方案中,赠送方丢弃虚拟物品后,还需要受赠方寻找虚拟物品,并控制虚拟对象移动到虚拟物品位置,操作流程较为复杂,影响用户之间的互动效率

Benefits of technology

在虚拟环境中,需要将第一虚拟对象拥有的虚拟物品转移给第二虚拟对象的情况下,第一虚拟对象的控制者可以通过预转移操作选择预转移给第二虚拟对象的第一虚拟物品,后续当第一虚拟对象和第二虚拟对象互相靠近时,即可以自动将第一虚拟物品从第一虚拟对象转移至第二虚拟对象,在虚拟物品的转移过程中,不需要第一虚拟对象的控制者丢弃虚拟物品,也不需要第二虚拟对象的控制者控制第二虚拟对象寻找并失去虚拟物品,可以极大的简化虚拟物品转移的过程中的用户操作,提高互动效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122665331A_ABST
    Figure CN122665331A_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, storage medium, and product for transferring virtual items, relating to the field of virtual environment technology. The method includes: displaying an environment screen of a virtual environment in a virtual environment interface, the virtual environment including at least two virtual objects; receiving a pre-transfer operation, the pre-transfer operation being an operation to pre-transfer a first virtual item owned by a first virtual object to a second virtual object; and, upon receiving the pre-transfer operation, transferring the first virtual item to the second virtual object in response to the distance between the first virtual object and the second virtual object being less than a distance threshold.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of virtual environment technology, and in particular to a method, apparatus, device, storage medium and product for transferring virtual items. Background Technology

[0002] In team-based games, after a user controls a virtual object to collect virtual items in the game scene, the user can gift the virtual items to a virtual object controlled by a teammate.

[0003] In related technologies, after a user controls a virtual object in a game to collect virtual items, if they need to give the virtual items to a virtual object controlled by a teammate, they can open their backpack, drop the virtual items from the backpack into the virtual environment, and the virtual object controlled by the teammate can move to the vicinity of the virtual items to pick them up.

[0004] In the above scheme, after the giver discards the virtual item, the recipient still needs to find the virtual item and control the virtual object to move to the virtual item's location. The operation process is relatively complicated and affects the efficiency of interaction between users. Summary of the Invention

[0005] This application provides a method, apparatus, device, storage medium, and product for transferring virtual items. The technical solution is as follows: On the one hand, a method for transferring virtual items is provided, the method being executed by a computer device, the method comprising: The virtual environment interface displays the environment screen of the virtual environment, which includes at least two virtual objects. Receive a pre-transfer operation, wherein the pre-transfer operation is an operation that pre-transfers the first virtual item owned by the first virtual object to the second virtual object; Upon receiving the pre-transfer operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold, the first virtual item is transferred to the second virtual object.

[0006] On the other hand, a device for transferring virtual items is provided, the device comprising: A screen display module is used to display the environment screen of a virtual environment in a virtual environment interface, wherein the virtual environment includes at least two virtual objects; An operation receiving module is used to receive a pre-transfer operation, wherein the pre-transfer operation is an operation that pre-transfers the first virtual item owned by the first virtual object to the second virtual object; The item transfer module is used to transfer the first virtual item to the second virtual object after receiving the pre-transfer operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold.

[0007] In some embodiments, the operation receiving module is used for, Display the item container of the first virtual object, wherein the item container includes the first virtual item; Receive the pre-transfer operation performed on the first virtual item.

[0008] In some embodiments, information elements of the second virtual object are displayed at fixed positions in the virtual environment interface; the information elements are used to display information about the virtual object. The pre-transfer operation includes: Drag the first virtual item in the item container to the designated position corresponding to the information element of the second virtual object.

[0009] In some embodiments, the pre-transfer operation includes: The operation of selecting an option for the second virtual object in the transfer object list, wherein the transfer object list is triggered and displayed by a trigger operation on the first virtual item in the item container.

[0010] In some embodiments, the apparatus further includes: The status setting module is used to set the first virtual item to a pre-transfer state in response to the pre-transfer operation; The item transfer module is used to transfer the first virtual item to the second virtual object when the distance between the first virtual object and the second virtual object is less than a distance threshold and the first virtual item is in the pre-transfer state.

[0011] In some embodiments, the apparatus further includes: The marker display module is used to display a pre-transfer marker for the first virtual item when the first virtual item is in the pre-transfer state.

[0012] In some embodiments, the pre-transfer marker includes the identifier of the second virtual object.

[0013] In some embodiments, the apparatus further includes: The status cancellation module is used to cancel the pre-transfer status of the first virtual item in response to the cancellation pre-transfer operation of the first virtual item.

[0014] In some embodiments, the cancellation of the pre-transfer operation includes: A sliding operation on the first virtual item within the item container of the first virtual object.

[0015] In some embodiments, the item transfer module is used for, In response to the distance between the first virtual object and the second virtual object being less than a distance threshold, a first transfer prompt message is displayed, which prompts whether to transfer the first virtual item to the second virtual object. Upon receiving a confirmation transfer operation based on the first transfer prompt information, the first virtual item is transferred to the second virtual object; the confirmation transfer operation is an operation to confirm the transfer of the first virtual item to the second virtual object.

[0016] In some embodiments, the item transfer module is configured to display the first transfer prompt information in response to a first duration in which the distance between the first virtual object and the second virtual object is less than a distance threshold.

[0017] In some embodiments, the item transfer module is used to display the first transfer prompt information corresponding to the information element of the second virtual object displayed at a fixed position in the virtual environment interface.

[0018] In some embodiments, the item transfer module is configured to transfer the first virtual item to the second virtual object when it receives a confirmation transfer-out operation based on the first transfer prompt information and the terminal controlling the second virtual object receives a confirmation transfer-in operation based on the second transfer prompt information. The second transfer notification information is displayed by the terminal controlling the second virtual object, and is used to prompt whether to accept the information of the first virtual item transferred from the first virtual object; the confirmation transfer operation is an operation to confirm the acceptance of the first virtual item transferred from the first virtual object.

[0019] In some embodiments, on the terminal side controlling the second virtual object, the position of the second transfer prompt information corresponds to the position of the information element of the first virtual object.

[0020] In some embodiments, the apparatus further includes: The control display module is used to display a prompt message to trigger the control within a second time period after receiving the confirmation transfer operation based on the first transfer prompt information, in the event that the terminal of the second virtual object has not received the confirmation transfer operation; The item transfer module is used to display the first transfer prompt information again when a trigger operation is received on the prompt information trigger control.

[0021] In some embodiments, the apparatus further includes: The control display module is used to display a prompt message and trigger the control if no confirmation of transfer is received or a rejection of transfer is received within a third time period after the first transfer prompt message is displayed. The item transfer module is used to display the first transfer prompt information again when a trigger operation is received on the prompt information trigger control.

[0022] In some embodiments, the control display module is configured to perform at least one of the following: The prompt message trigger control is displayed corresponding to the information element of the second virtual object displayed at a fixed position in the virtual environment interface; In the item container of the first virtual object, the prompt information trigger control is displayed corresponding to the first virtual item.

[0023] In some embodiments, the apparatus further includes: An action display module is used to display the interactive effect of the first virtual object transferring the first virtual item to the second virtual object during the process of transferring the first virtual item to the second virtual object; The interactive effects include at least one of the following: Interactive actions, interactive emoticons, interactive voice, interactive sound effects, and interactive user interface (UI) elements.

[0024] In some embodiments, the apparatus further includes: The drop display module is used to display the first virtual item as a dropped item in the virtual environment when the first virtual item has not been transferred and the first virtual object is eliminated in the virtual environment. The first virtual item has not been transferred, including: The first virtual item has not yet been removed from the item container of the first virtual object; or, The first virtual item has been removed from the item container of the first virtual object and has not yet been added to the item container of the second virtual object.

[0025] In some embodiments, the apparatus further includes: The prompt information display module is used to display item prompt information corresponding to the first virtual item in the virtual environment. The item prompt information is used to indicate that the first virtual item is a virtual item that the first virtual object is to be transferred to the second virtual object.

[0026] In some embodiments, the apparatus further includes: The status cancellation module is used to cancel the pre-transfer status of the first virtual item if the first virtual item has not been transferred and the second virtual object is eliminated in the virtual environment.

[0027] On the other hand, a computer device is provided, the computer device comprising: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the virtual item transfer method as described above.

[0028] On the other hand, a computer-readable storage medium is provided that stores a computer program, which is loaded and executed by a processor to implement the virtual item transfer method described above.

[0029] On the other hand, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium, wherein a processor retrieves the computer instructions from the computer-readable storage medium, causing the processor to load and execute them to implement the virtual item transfer method as described above.

[0030] The beneficial effects of the technical solutions provided in this application include at least the following: In a virtual environment, when it is necessary to transfer virtual items owned by a first virtual object to a second virtual object, the controller of the first virtual object can select the first virtual item to be transferred to the second virtual object through a pre-transfer operation. Subsequently, when the first and second virtual objects are close to each other, the first virtual item can be automatically transferred from the first virtual object to the second virtual object. During the transfer of virtual items, the controller of the first virtual object does not need to discard the virtual items, nor does the controller of the second virtual object need to control the second virtual object to find and lose the virtual items. This can greatly simplify the user operation during the transfer of virtual items and improve the efficiency of interaction. Attached Figure Description

[0031] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0032] Figure 1 This is a structural block diagram of a computer system provided in an exemplary embodiment of this application; Figure 2 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application; Figure 3 This is a schematic diagram of a pre-transfer operation involved in an embodiment of this application; Figure 4 This is a schematic diagram of a pre-transfer operation involved in an embodiment of this application; Figure 5 This is a schematic diagram of a pre-transfer operation involved in an embodiment of this application; Figure 6 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application; Figure 7 This is a schematic diagram of a pre-transfer mark according to an embodiment of this application; Figure 8 This is a schematic diagram of a pre-transfer mark according to an embodiment of this application; Figure 9 This is a schematic diagram of a pre-transfer mark according to an embodiment of this application; Figure 10 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application; Figure 11 This is a schematic diagram illustrating the cancellation of pre-transfer in an embodiment of this application; Figure 12 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application; Figure 13 This is a schematic diagram illustrating a confirmation transfer in an embodiment of this application; Figure 14 This is a schematic diagram illustrating a confirmation transfer in an embodiment of this application; Figure 15 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application; Figure 16 This is a schematic diagram of a prompt message triggering control according to an embodiment of this application; Figure 17 This is a schematic diagram of a prompt message triggering control according to an embodiment of this application; Figure 18 This is a schematic diagram illustrating a virtual item transfer according to an embodiment of this application; Figure 19 This is a user interaction flowchart related to an embodiment of this application; Figure 20 This is a schematic diagram of the item donation state machine involved in the embodiments of this application; Figure 21 This is a flowchart illustrating the process of triggering a gift again when there is no timely confirmation, as described in the embodiments of this application. Figure 22 This is a branch diagram of the donation process in the obsolete scenario involved in the embodiments of this application; Figure 23 This is a structural block diagram of a virtual item transfer device provided in an exemplary embodiment of this application; Figure 24 This is a structural block diagram of a computer device provided in an exemplary embodiment of this application. Detailed Implementation

[0033] 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.

[0034] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0035] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0036] It should be understood that although the terms first, second, etc., may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, a first parameter may also be referred to as a second parameter, and similarly, a second parameter may also be referred to as a first parameter. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0037] It should be noted that this application may display prompt interfaces, pop-ups, or output voice prompts before and during the collection of user-related data (such as operation data, account data, game data, etc.). These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their relevant data is being collected. This ensures that the application only begins the steps related to collecting user-related data after receiving confirmation from the user regarding the prompt interface or pop-up; otherwise (i.e., without receiving confirmation from the user), the steps to collect user-related data end, meaning no user-related data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of relevant user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0038] Virtual environment: This is a virtual environment displayed (or provided) when an application runs on a terminal. This virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment.

[0039] Virtual objects refer to movable objects in a virtual environment. These movable objects can be at least one of the following: virtual characters, virtual roles, virtual pets, virtual animals, virtual vehicles, and virtual accessories. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual objects are three-dimensional models created based on animation skeletal technology. Each virtual object in the three-dimensional virtual environment has its own shape, volume, and orientation, and occupies a portion of the space within the three-dimensional virtual environment.

[0040] Figure 1 A structural block diagram of a computer system provided in an exemplary embodiment of this application is shown. The computer system 100 includes: a first terminal 110, a server 120, and a second terminal 130.

[0041] The first terminal 110 has a first client 111 installed and running that supports a virtual environment. This first client 111 can be a multiplayer online battle program. When the first terminal 110 runs the first client 111, the user interface of the first client 111 is displayed on the screen of the first terminal 110. In this embodiment, the first client 111 is used as an example of a three-dimensional action game supporting multiplayer competitive gameplay across all terrains. The first terminal 110 is the terminal used by the first user 112. The first user 112 uses the first terminal 110 to control a first virtual object located in the virtual environment to perform activities (such as walking, running, jumping, riding vehicles, using attack items, releasing skills, etc.), or to operate the virtual items owned by the first virtual object. The first virtual object can be referred to as the virtual object of the first user 112. The first user 112 can assemble, disassemble, unload, discard, gift, exchange, sell, etc., of the virtual items owned by the first virtual object; this application does not limit this. Indicatively, the first virtual object can be a simulated character or an anime character.

[0042] The second terminal 130 has a second client 131 installed and running that supports a virtual environment. This second client 131 can be a multiplayer online battle program. When the second terminal 130 runs the second client 131, the user interface of the second client 131 is displayed on the screen of the second terminal 130. In this embodiment, the second client 131 is used as an example of a three-dimensional action game supporting multiplayer competitive gameplay across all terrains. The second terminal 130 is the terminal used by the second user 113. The second user 113 uses the second terminal 130 to control a second virtual object located in the virtual environment to perform activities (such as walking, running, jumping, riding vehicles, using attack items, releasing skills, etc.) or manipulate the virtual items owned by the second virtual object. The second virtual object can be referred to as the virtual object of the second user 113. The second user 113 can assemble, disassemble, unload, discard, gift, exchange, sell, etc., of the virtual items owned by the second virtual object; this application does not limit this. Indicatively, the second virtual object can be a realistic character or an anime character.

[0043] Optionally, the first virtual object and the second virtual object reside in the same virtual environment. Optionally, the first virtual object and the second virtual object may belong to the same faction, the same team, the same organization, have a friend relationship, or have temporary communication permissions.

[0044] Optionally, the clients installed on the first terminal 110 and the second terminal 130 are the same, or the clients installed on the two terminals are the same type of client on different operating system platforms (Android or iOS). The first terminal 110 can refer to one of multiple terminals, and the second terminal 130 can refer to another of multiple terminals; this embodiment only uses the first terminal 110 and the second terminal 130 as examples. The device types of the first terminal 110 and the second terminal 130 may be the same or different, and these device types include at least one of the following: smartphones, tablets, e-book readers, laptops, desktop computers, handheld game consoles, smart TVs, wearable devices, cloud gaming terminals, etc. In some embodiments, the 3D action game supports both mobile and desktop clients. That is, the multiple terminals include mobile terminals running mobile clients and computer terminals running desktop clients.

[0045] Figure 1 Only two terminals are shown in the diagram, but in different embodiments, multiple other terminals 140 can access the server 120. Optionally, one or more terminals 140 may also be terminals corresponding to developers, on which a development and editing platform for clients supporting virtual environments is installed. Developers can edit and update the client on the terminal 140 and transmit the updated client installation package to the server 120 via wired or wireless network. The first terminal 110 and the second terminal 130 can download the client installation package from the server 120 to update the client.

[0046] The first terminal 110, the second terminal 130, and other terminals 140 are connected to the server 120 via a wireless network or a wired network.

[0047] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 is used to provide backend services for clients supporting a 3D virtual environment. Optionally, server 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, server 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, server 120 and the terminal use a distributed computing architecture for collaborative computing.

[0048] In an illustrative example, server 120 includes processor 122, user account database 123, battle service module 124, and user-facing input / output interface (I / O interface) 125. Processor 122 loads instructions stored in server 120 and processes data in user account database 123 and battle service module 124. User account database 123 stores user account data used by first terminal 110, second terminal 130, and other terminals 140, such as user account avatars, nicknames, combat power indices, and service regions. Battle service module 124 provides multiple battle rooms for users to engage in battles, such as 1v1, 3v3, and 5v5 battles. User-facing I / O interface 125 establishes communication and exchanges data with first terminal 110 and / or second terminal 130 via wireless or wired network.

[0049] In some embodiments, at least one of the multiple terminals supports peripheral devices, including but not limited to: game controllers, physical keyboards, mice, etc. The peripheral device includes one or more physical buttons. The user uses these one or more physical buttons to control the activity of virtual objects and / or manipulate virtual items owned by the virtual objects.

[0050] In some embodiments, at least one of the multiple terminals supports a touchscreen, on which one or more touch controls are displayed. The user uses the one or more touch controls to control the activities of the virtual object and / or manipulate the virtual items owned by the virtual object.

[0051] This application provides a 3D action game that supports multiplayer competitive gameplay across all terrains, supporting PVP (Player vs. Player) and PVE (Player vs. Environment) modes. In competitive gameplay, each player manipulates a chosen virtual object into a 3D virtual environment. Within this environment, different players engage in combat, each manipulating their chosen virtual objects.

[0052] Figure 2 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application. The method is executed by a computer device, such as a terminal, a server, or a combination of both. For example, the terminal includes... Figure 1 The system shown includes a first terminal 110 and / or a second terminal 130, and the server includes... Figure 1 Server 120 in the system shown. (Example) Figure 2 As shown, the method includes the following steps.

[0053] Step 220: Display the virtual environment in the virtual environment interface. The virtual environment includes at least two virtual objects.

[0054] In some embodiments, a computer device displays a screen of a virtual environment in a virtual environment interface, the screen of which includes a first virtual object.

[0055] In some embodiments, the aforementioned environmental image is an image captured / collected by a virtual camera of a virtual environment, and the virtual environment interface is the carrier on which the environmental image is displayed on the screen.

[0056] In some embodiments, the first virtual object is an object currently controlled by the computer device; the environment screen of the virtual environment is displayed on the display screen of the computer device (at this time, the computer device can perform tasks such as screen display, operation reception, and virtual object control), or the environment screen of the virtual environment is displayed on the display screen of a terminal device connected to the computer device (at this time, the terminal device can perform tasks such as screen display, operation reception, and operation information reporting, and the computer device can perform tasks such as screen push, operation information reception, and virtual object control).

[0057] Step 240: Receive pre-transfer operation, which is the operation of pre-transferring the first virtual item owned by the first virtual object to the second virtual object.

[0058] In some embodiments, after detecting a pre-transfer operation, the computer device determines the first virtual item owned by the first virtual object as a virtual item to be transferred to the second virtual object, and records this information in the background; for example, the computer device records the pre-transfer relationship between the first virtual item and the second virtual object in the background.

[0059] In some embodiments, the pre-transfer operation described above is a specified operation performed on the first virtual item.

[0060] In some embodiments, the pre-transfer operation is initiated from the first virtual item and selects the second virtual object; accordingly, the computer device determines, through the pre-transfer operation, that the virtual item corresponding to the initiation point of the pre-transfer operation is the virtual item to be pre-transferred (the first virtual item), and determines that the virtual object selected by the pre-transfer operation is the destination object of the pre-transfer (the second virtual object).

[0061] In some embodiments, the pre-transfer operation is initiated from the second virtual object and selects the first virtual item; accordingly, the computer device determines, through the pre-transfer operation, that the virtual object corresponding to the initiation point of the pre-transfer operation is the destination object of the pre-transfer (the second virtual object), and determines that the virtual item selected by the pre-transfer operation is the virtual item to be transferred (the first virtual item).

[0062] Step 260: Upon receiving the pre-transfer operation, in response to the distance between the first virtual object and the second virtual object being less than the distance threshold, the first virtual item is transferred to the second virtual object.

[0063] In some embodiments, after receiving a pre-transfer operation, the computer device obtains the distance between the first virtual object and the second virtual object in real time based on information recorded in the background (such as the pre-transfer relationship mentioned above).

[0064] For example, the computer device obtains information about the second virtual object in the pre-transfer relationship (such as the identifier of the second virtual object), queries the location information (such as coordinates) of the second virtual object in the virtual environment in real time through the identifier of the second virtual object, and at the same time obtains the location information of the first virtual object in the virtual environment. Based on the location information of the first virtual object in the virtual environment and the location information of the second virtual object in the virtual environment, the distance between the first virtual object and the second virtual object is obtained.

[0065] In some embodiments, after a computer device detects that the distance between a first virtual object and a second virtual object is less than a distance threshold, it automatically transfers the first virtual item from the first virtual object to the second virtual object.

[0066] In some embodiments, the above-mentioned automatic transfer of the first virtual item from the first virtual object to the second virtual object means that the first virtual item owned by the first virtual object is transferred to the second virtual object without the controller of the first virtual object needing to perform any additional operations on the first virtual item (such as the controller of the first virtual object not needing to discard the first virtual item) or the controller of the second virtual object needing to perform any additional operations on the first virtual item (such as not needing to control the second virtual object to pick up the first virtual item).

[0067] In some embodiments, the above-described transfer of the first virtual item from the first virtual object to the second virtual object includes at least one of the following: 1) The first virtual object gifts the first virtual item to the second virtual object.

[0068] In some embodiments, when the first virtual object gifts the first virtual item to the second virtual object, it means that when the first virtual object transfers the first virtual item to the second virtual object, the second virtual object does not need to give up any other virtual items or virtual resources.

[0069] 2) The first virtual object sells the first virtual item to the second virtual object.

[0070] In some embodiments, the above-mentioned first virtual object selling the first virtual item to the second virtual object means that when the first virtual object transfers the first virtual item to the second virtual object, it obtains a specified amount of virtual resources (such as virtual currency, points, etc.) from the second virtual object.

[0071] In some embodiments, the specified quantity of virtual resources obtained from the second virtual object is set by the controller of the first virtual object when performing the pre-transfer operation.

[0072] For example, the controller of the first virtual object and the controller of the second virtual object pre-agree on a specified number of the aforementioned virtual resources, and the controller of the first virtual object sets the specified number of the virtual resources when performing the aforementioned pre-transfer operation.

[0073] In some embodiments, after the computer device detects that the distance between the first virtual object and the second virtual object is less than a distance threshold, it automatically transfers the first virtual item from the first virtual object to the second virtual object and transfers a specified number of virtual resources owned by the second virtual object to the first virtual object.

[0074] 3) The first virtual object uses the first virtual item to exchange for the second virtual item with the second virtual object.

[0075] In some embodiments, the first virtual object using the first virtual item to exchange for the second virtual item with the second virtual object means that when the first virtual object transfers the first virtual item to the second virtual object, it obtains the virtual item (i.e., the second virtual item) owned by the second virtual object.

[0076] In some embodiments, the second virtual item obtained by the first virtual object from the second virtual object is set by the controller of the second virtual object when performing the pre-transfer operation.

[0077] For example, the controllers of the first virtual object and the second virtual object pre-agree on exchanging a first virtual item (owned by the first virtual object) and a second virtual item (owned by the second virtual object). When performing the pre-transfer operation, the controller of the first virtual object chooses to pre-transfer the first virtual item to the second virtual object. Similarly, the controller of the second virtual object can also perform a selection operation to select the second virtual item for exchanging the first virtual item. The computer device records the exchange relationship between the first and second virtual items. After the computer device detects that the distance between the first and second virtual objects is less than a distance threshold, it automatically transfers the first virtual item from the first virtual object to the second virtual object according to the exchange relationship, and transfers the second virtual item owned by the second virtual object to the first virtual object.

[0078] In some embodiments, the second virtual object may be a single virtual object or multiple second virtual objects; in the case that there are multiple second virtual objects, after receiving the pre-transfer operation, in response to the distance between the first virtual object and the third virtual object being less than a distance threshold, the first virtual item is transferred to the third virtual object; the third virtual object is one of the multiple second virtual objects.

[0079] In other words, a first virtual item can be pre-transferred to multiple second virtual objects (or, multiple pre-transfer destination virtual objects can be set for a virtual item). When the first virtual object is close to one of the second virtual objects, the first virtual item can be transferred to that second virtual object.

[0080] In summary, through the solution shown in the embodiments of this application, when it is necessary to transfer virtual items owned by a first virtual object to a second virtual object in a virtual environment, the controller of the first virtual object can select the first virtual item to be transferred to the second virtual object through a pre-transfer operation. Subsequently, when the first virtual object and the second virtual object are close to each other, the first virtual item can be automatically transferred from the first virtual object to the second virtual object. During the transfer of virtual items, the controller of the first virtual object does not need to discard the virtual items, nor does the controller of the second virtual object need to control the second virtual object to find and pick up the virtual items. This can greatly simplify the user operation during the transfer of virtual items and improve the interaction efficiency.

[0081] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, step 240 includes: Step 240a: Display the item container of the first virtual object, which contains the first virtual item.

[0082] In some embodiments, the aforementioned display item container refers to the interface presented after the item container of the virtual object is opened, and the item container is used to display the virtual items owned by the first virtual object. For example, when the controller of the first virtual object performs an operation to open the item container, the computer device responds to the operation by displaying the item container of the first virtual object.

[0083] The first virtual object's item container displays the first virtual item; optionally, if the first virtual object also possesses other virtual items, the item container may also display other virtual items.

[0084] Step 240b: Receive the pre-transfer operation performed on the first virtual item.

[0085] In some embodiments, the pre-transfer operation performed on the first virtual item refers to an operation initiated from the item container at the location corresponding to the first virtual item, selecting the destination virtual object (i.e., the second virtual object) to which the first virtual item is to be transferred.

[0086] In the scheme shown in the embodiments of this application, the controller of the first virtual object can select to pre-transfer the first virtual item to a specified virtual object (second virtual object) by performing a pre-transfer operation on the first virtual item in the item container. The operation method is simple and direct, thereby ensuring the convenience of the pre-transfer operation and ensuring the efficiency of interaction.

[0087] Based on the solutions shown in any one or more of the above embodiments of this application, in some embodiments, information elements of a second virtual object are displayed at a fixed position in the virtual environment interface; the information elements are used to display information about the virtual object. The above pre-transfer operations include: Drag the first virtual item in the item container to the specified position corresponding to the information element of the second virtual object.

[0088] In some embodiments, when the computer device displays the environment screen in the virtual environment interface, it also displays information elements of other virtual objects (such as teammates or selected virtual objects) related to the first virtual object in a fixed position in the virtual environment interface (such as the left edge area, right edge area, etc. of the virtual environment interface), including information elements of the second virtual object.

[0089] In some embodiments, the information elements of other virtual objects related to the first virtual object are displayed in a fixed position in the virtual environment interface, which means that the display position of the information element in the virtual environment interface remains unchanged (does not change with the change of the environment screen).

[0090] In some embodiments, the aforementioned information elements are not part of the environment screen, but rather are displayed as interface elements in the virtual environment interface, superimposed on the upper layer of the environment screen.

[0091] In some embodiments, the location of the aforementioned information elements in the virtual environment interface is preset by the developer or set by the user.

[0092] In some embodiments, the information elements of the second virtual object are visual elements used to display information about the second virtual object; for example, the information elements of the second virtual object include at least one of the following: 1) The nameplate of the second virtual object.

[0093] For example, the information elements of the aforementioned second virtual object include a bar visualization element, which displays the name or identifier (such as a number) of the second virtual object.

[0094] 2) The health bar of the second virtual object.

[0095] For example, the information elements of the second virtual object mentioned above include a bar visualization element, which is used to display the current health points and / or health point percentage of the second virtual object.

[0096] 3) The avatar of the second virtual object.

[0097] For example, the information elements of the second virtual object mentioned above include an avatar frame, which displays the static / dynamic avatar of the second virtual object.

[0098] In some embodiments, the designated location corresponding to the information element of the second virtual object includes at least one of the following: 1) The location of the information elements of the second virtual object.

[0099] In some embodiments, the specified position corresponding to the information element of the second virtual object includes the position covered by the information element of the second virtual object, or the position covered by the bounding box (e.g., the minimum bounding box) of the information element of the second virtual object.

[0100] For example, if the second virtual object is a teammate of the first virtual object, and the object area of ​​the second virtual object is the nameplate of the second virtual object, after the controller of the first virtual object opens the item container, he drags a virtual item from the item container to a teammate's nameplate (that is, the pre-transfer operation mentioned above). After the computer device receives / detects the operation of dragging a virtual item from the item container to a teammate's nameplate, it determines the virtual item at the point of initiation of the operation as the first virtual item, and determines the teammate corresponding to the end point / release point of the drag operation as the second virtual object.

[0101] Please refer to Figure 3 The diagram illustrates a pre-transfer operation according to an embodiment of this application. Taking a shooting game scenario as an example, as... Figure 3 As shown, the virtual environment interface 30 displays an item container 31, which includes a first virtual item 31a. Simultaneously, the virtual environment interface 30 also displays a teammate list 32 for the first virtual object, which includes the nameplates of each teammate of the first virtual object. The controller of the first virtual object wants to pre-transfer the first virtual item 31a to teammate number 1 (i.e., the aforementioned second virtual object), and drags the first virtual item 31a onto teammate number 1's nameplate to perform the pre-transfer operation. Accordingly, based on the drag operation, the computer device determines that the controller of the first virtual object wants to pre-transfer the first virtual item 31a to teammate number 1.

[0102] 2) The area outside the information elements of the second virtual object, and whose relative position to the information elements of the second virtual object is fixed.

[0103] In some embodiments, the specified position corresponding to the information element of the second virtual object includes the area near the information element of the second virtual object and the area adjacent to the information element of the second virtual object; for example, the specified position corresponding to the information element of the second virtual object includes the area to the left / right / above / below the information element of the second virtual object and the area immediately adjacent to the information element of the second virtual object.

[0104] In some embodiments, the area outside the information elements of the second virtual object and whose relative position to the information elements of the second virtual object is fixed is the location for visualization; for example, an item receiving box is displayed in the area to the left / right / above / below the information elements of the second virtual object and adjacent to the information elements of the second virtual object, and the area covered by the item receiving box is the designated location corresponding to the information elements of the second virtual object.

[0105] For example, if the second virtual object is a teammate of the first virtual object, and the object area of ​​the second virtual object is the item receiving box to the right of the nameplate of the second virtual object, after the controller of the first virtual object opens the item container, drags a virtual item from the item container to the item receiving box to the right of a teammate's nameplate (that is, the pre-transfer operation mentioned above), after the computer device receives / detects the operation of dragging a virtual item from the item container to the item receiving box to the right of a teammate's nameplate, it determines the virtual item at the point of initiation of the operation as the first virtual item, and determines the teammate corresponding to the item receiving box where the endpoint / release point of the drag operation is located as the second virtual object.

[0106] Please refer to Figure 4 The diagram illustrates a pre-transfer operation according to an embodiment of this application. Taking a shooting game scenario as an example, as... Figure 4 As shown, the virtual environment interface 40 displays an item container 41, which includes a first virtual item 41a. The virtual environment interface 40 also displays a teammate list for the first virtual object, including the nameplates of each teammate. The controller of the first virtual object wants to pre-transfer the first virtual item 41a to teammate number 1 (i.e., the aforementioned second virtual object). The controller drags the first virtual item 41a to the item receiving box 42 to the right of teammate number 1's nameplate to perform the pre-transfer operation. Accordingly, based on the drag operation, the computer device determines that the controller of the first virtual object wants to pre-transfer the first virtual item 41a to teammate number 1.

[0107] In the solution shown in the embodiments of this application, the controller of the first virtual object can determine the pre-transfer of the first virtual item to the specified virtual object (second virtual object) by dragging the first virtual item in the item container. The operation is simple and direct, thereby ensuring the convenience of the pre-transfer operation and ensuring the efficiency of interaction.

[0108] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, the above pre-transfer operation includes: The operation of selecting the option for the second virtual object in the transfer object list, which is triggered by the operation of the first virtual item in the item container.

[0109] In some embodiments, during the process of the computer device displaying the item container, the controller of the first virtual object performs a trigger operation on a virtual item in the item container. In response to the trigger operation, the computer device displays a list of transferable objects, which includes multiple options for transferable virtual objects. The controller of the first virtual object performs a selection operation on an option of a virtual object in the list of transferable objects. In response to the selection operation, the computer device determines the virtual item for which the trigger operation was performed as the virtual item to be transferred (i.e., the first virtual item), and determines the virtual object corresponding to the option selected by the selection operation as the destination virtual object for the transfer (i.e., the second virtual object).

[0110] In some embodiments, the above-mentioned selection operation of the second virtual object in the transfer object list may include a click operation, a long press operation, etc.; the embodiments of this application do not limit the operation type of the selection operation.

[0111] In some embodiments, the triggering operation for the first virtual item in the item container described above includes, but is not limited to, at least one of the following: 1) Long press operation on the first virtual item; 2) Swipe operation in a specified direction on the first virtual item; for example, swipe left / swipe right / swipe up / swipe down on the first virtual item; 3) Clicking on the trigger control displayed on the first virtual item; for example, if the first virtual item displays a transfer control (i.e., the aforementioned trigger control), the triggering operation for the first virtual item in the item container includes clicking on the transfer control; 4) Gesture operation on the first virtual item; for example, the user defines a gesture operation (such as hovering over the virtual item) to trigger the display of the transfer object list. When the user's finger hovers over the screen position where the first virtual item is located, the computer device determines that it has received a trigger operation on the first virtual item in the item container.

[0112] This application embodiment only uses the above-mentioned triggering operations as examples for illustration, and does not limit the operation type and operation form of the above-mentioned triggering operation on the first virtual item in the item container.

[0113] Please refer to Figure 5 The diagram illustrates a pre-transfer operation according to an embodiment of this application. Taking a shooting game scenario as an example, as... Figure 5 As shown, in the virtual environment interface 50, an item container 51 is displayed, which includes a first virtual item 51a. If the controller of the first virtual object wants to pre-transfer the first virtual item 51a to teammate number 1 (i.e., the aforementioned second virtual object), they can long press or swipe right on the first virtual item 51a to trigger the display of the transfer object list 52, and select the option to click on teammate number 1. Accordingly, based on the aforementioned triggering operation (long press and swipe right) on the first virtual item 51a and the clicking operation on the option of teammate number 1, the computer device determines that the controller of the first virtual object wants to pre-transfer the first virtual item 51a to teammate number 1.

[0114] In the solution shown in the embodiments of this application, the controller of the first virtual object triggers the transfer object list by performing a trigger operation on the first virtual item in the item container, and selects the second virtual object in the transfer object list. This does not rely on other elements superimposed on the upper layer of the environment screen, and has a wider range of applications.

[0115] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, information elements of a second virtual object are displayed at a fixed position in the virtual environment interface; the information elements are used to display information about the virtual object; the pre-transfer operation includes: The operation of selecting the first virtual item in the item list or item container, which is triggered to be displayed by the triggering operation of the information element of the second virtual object.

[0116] In some embodiments, the computer device displays information elements of one or more other virtual objects related to a first virtual object in a virtual environment interface. The controller of the first virtual object performs a trigger operation on the information element of one of the one or more other virtual objects. In response to the trigger operation, the computer device displays an item list or item container, which includes various virtual items owned by the first virtual object. The controller of the first virtual object performs a selection operation on a virtual item in the item list or item container. In response to the selection operation, the computer device determines the virtual item selected by the operation as the virtual item to be transferred (i.e., the first virtual item) and determines the virtual object corresponding to the information element triggered by the operation as the destination virtual object to be transferred (i.e., the second virtual object).

[0117] In some embodiments, the above-mentioned selection operation of virtual items in the item list or item container may include click operation, long press operation, etc.; the embodiments of this application do not limit the operation type of the selection operation.

[0118] In some embodiments, the triggering operation on the information elements of the second virtual object described above includes, but is not limited to, at least one of the following: 1) Clicking or long-pressing information elements of the second virtual object; 2) Sliding operations on information elements of the second virtual object; for example, swiping left / right / up / down on information elements of the second virtual object; 3) Clicking the trigger control displayed corresponding to the information element of the second virtual object; for example, the trigger control is displayed on or near the information element of the second virtual object, and the triggering operation of the information element of the second virtual object includes clicking the trigger control.

[0119] This application embodiment only uses the above-mentioned triggering operations as examples for illustration, and does not limit the operation type and operation form of the above-mentioned triggering operations on the information elements of the second virtual object.

[0120] In the scheme shown in the embodiments of this application, the controller of the first virtual object triggers the display of an item list or item container by performing a trigger operation on the information elements of the second virtual object, and selects the first virtual item in the item list or item container.

[0121] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, please refer to some embodiments. Figure 6 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application, such as... Figure 6 As shown, the above method for transferring virtual items also includes step 250, and step 260 can be implemented as step 260a.

[0122] Step 250: In response to the pre-transfer operation, set the first virtual item to the pre-transfer state.

[0123] In some embodiments, after receiving the pre-transfer operation, the computer device sets the state of the first virtual item owned by the first virtual object to a pre-transfer state, which indicates that the first virtual item will be automatically transferred to the second virtual object.

[0124] For example, after receiving the aforementioned pre-transfer operation, the computer device adds a status flag to the first virtual item owned by the first virtual object in the background, indicating that the first virtual item is in a pre-transfer state; or, after receiving the aforementioned pre-transfer operation, the computer device modifies the status flag of the first virtual item owned by the first virtual object to the flag corresponding to the pre-transfer state in the background, indicating that the first virtual item is in a pre-transfer state; for example, the default value of the status flag is 0, indicating that the first virtual item is not in a pre-transfer state, and after receiving the aforementioned pre-transfer operation, the computer device sets the value of the status flag to 1, indicating that the first virtual item is in a pre-transfer state; or, for another example, the default value of the status flag is 1, indicating that the first virtual item is not in a pre-transfer state, and after receiving the aforementioned pre-transfer operation, the computer device sets the value of the status flag to 0, indicating that the first virtual item is in a pre-transfer state.

[0125] For example, after receiving the above-mentioned pre-transfer operation, the computer device adds the identification information of the first virtual item owned by the first virtual object to the pre-transfer item list in the background, indicating that the first virtual item is in a pre-transfer state.

[0126] In some embodiments, for a first virtual item in a pre-transfer state, the computer device records in the background information that the first virtual item is to be transferred to a second virtual object (such as the correspondence between the first virtual item and the second virtual object, or the correspondence between the first virtual object, the first virtual item, and the second virtual object).

[0127] Step 260a: If the distance between the first virtual object and the second virtual object is less than the distance threshold and the first virtual item is in a pre-transfer state, transfer the first virtual item to the second virtual object.

[0128] In some embodiments, when the first virtual item is in the aforementioned pre-transfer state, the computer device obtains the distance between the first virtual object and the second virtual object in real time based on information recorded in the background. After detecting that the distance between the first virtual object and the second virtual object is less than a distance threshold, the first virtual item is automatically transferred from the first virtual object to the second virtual object.

[0129] In some embodiments, after the first virtual item is no longer in the pre-transfer state or has left the pre-transfer state, the computer device stops the step of obtaining the distance between the first virtual object and the second virtual object.

[0130] In the solution shown in the embodiments of this application, the computer device detects the distance between the first virtual object and the second virtual object in real time through the pre-transfer state of the first virtual item. The distance detection and automatic transfer of the virtual item are performed when the first virtual item is in the pre-transfer state, avoiding the steps of performing distance detection and automatic transfer for virtual items that do not need to be pre-transfer or are out of the pre-transfer state, thus ensuring the accuracy of virtual item transfer.

[0131] Based on the solutions shown in any one or more embodiments of the above-described embodiments of this application, in some embodiments, the method for transferring virtual items further includes: When the first virtual item is in a pre-transfer state, a pre-transfer mark is displayed for the corresponding first virtual item.

[0132] In some embodiments, the aforementioned pre-transfer marker is a visual marker indicating that the corresponding first virtual item is a virtual item to be pre-transferred to other virtual objects.

[0133] In some embodiments, the computer device displays a pre-transfer marker corresponding to a first virtual item in an item container.

[0134] In some embodiments, the computer device overlays a pre-transfer marker onto a pattern of a first virtual item within an item container.

[0135] Please refer to Figure 7 The illustration shows a schematic diagram of a pre-transfer marker according to an embodiment of this application. Taking a virtual environment such as a shooting game scene as an example, ... Figure 7 As shown, in the virtual environment interface 70, there is an item container 71, which includes a first virtual item 71a that is in a pre-transfer state; a pre-transfer mark 71b is superimposed on the pattern of the first virtual item 71a, indicating that the first virtual item 71a is in a pre-transfer state.

[0136] In some embodiments, the computer device displays a pre-transfer marker in the item container, outside the pattern of the first virtual item, and at a position that satisfies a specified relationship with the pattern of the first virtual item (e.g., the left adjacent position, right adjacent position, upper adjacent position, or lower adjacent position of the pattern of the first virtual item).

[0137] Please refer to Figure 8 The illustration shows a schematic diagram of a pre-transfer marker according to an embodiment of this application. Taking a virtual environment such as a shooting game scene as an example, ... Figure 8 As shown, in the virtual environment interface 80, there is an item container 81, which includes a first virtual item 81a that is in a pre-transfer state; a pre-transfer mark 81b is displayed on the left side of the image of the first virtual item 81a, indicating that the first virtual item 81a is in a pre-transfer state.

[0138] Based on the solutions shown in any one or more embodiments of the above-described embodiments of this application, in some embodiments, the computer device may also perform other highlighting processes for the first virtual item in the pre-transfer state to indicate that the first virtual item is in the pre-transfer state; for example, the computer device displays the first virtual item according to specified visual attributes; for example, the computer device displays the first virtual item according to at least one of specified border color, background color, font color, and highlighting effect to indicate that the first virtual item is in the pre-transfer state.

[0139] In the solution shown in the embodiments of this application, the computer device displays a pre-transfer mark on the first virtual item in the pre-transfer state to remind the controller of the first virtual object that the first virtual item is in the pre-transfer state, so that the first virtual object can intuitively understand the pre-transfer status of the first virtual item, avoid the controller of the first virtual object from performing erroneous operations on the first virtual item (such as repeated pre-transfer operations or incorrect pre-transfer operations), and improve the interaction efficiency.

[0140] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, the pre-transfer mark includes the identifier of the second virtual object.

[0141] In some embodiments, the pre-transfer marker may further include the identifier of the target virtual object (i.e., the second virtual object) for the virtual item pre-transfer.

[0142] For example, the identifier of the second virtual object mentioned above includes the number, name, etc. of the second virtual object.

[0143] Please refer to Figure 9 The illustration shows a schematic diagram of a pre-transfer marker according to an embodiment of this application. Taking a virtual environment such as a shooting game scene as an example, ... Figure 9As shown, in the virtual environment interface 90, there is an item container 91, which includes a first virtual item 91a that is in a pre-transfer state; a pre-transfer mark 91b is superimposed on the pattern of the first virtual item 91a, and the pre-transfer mark 91b includes the number "1" of the second virtual object, indicating that the first virtual item 91a is in a pre-transfer state and the destination virtual object of the pre-transfer is teammate number 1.

[0144] In some embodiments, where multiple second virtual objects exist, the pre-transfer marker includes the identifiers of the multiple second virtual objects.

[0145] In the solution shown in the embodiments of this application, the computer device indicates that the first virtual item is a virtual item to be transferred to other virtual objects through a pre-transfer mark. At the same time, it also visually indicates the target virtual object of the pre-transfer of the first virtual item through the identifier of the second virtual object in the pre-transfer mark. This allows the first virtual object to intuitively understand the pre-transfer status of the first virtual item, avoids the controller of the first virtual object from performing misoperations on the first virtual item (such as repeated pre-transfer operations or incorrect pre-transfer operations), and improves the efficiency of interaction.

[0146] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, please refer to some embodiments. Figure 10 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application, such as... Figure 10 As shown, the above method for transferring virtual items also includes step 262.

[0147] Step 262: In response to the cancellation of the pre-transfer operation on the first virtual item, cancel the pre-transfer status of the first virtual item.

[0148] In some embodiments, for a first virtual item that is already in a pre-transfer state, the controller of the first virtual object can also cancel the pre-transfer of the first virtual item to other virtual objects by canceling the pre-transfer operation; correspondingly, the computer device detects the cancellation of the pre-transfer operation on the first virtual item and cancels the pre-transfer state of the first virtual item.

[0149] For example, if a computer device detects a cancellation of a pre-transfer operation on a first virtual item, it can remove the status flag corresponding to the first virtual item owned by the first virtual object, indicating that the first virtual item is in a pre-transfer state, in the background; or, if a computer device detects a cancellation of a pre-transfer operation on a first virtual item, it can modify the status flag of the first virtual item owned by the first virtual object to the flag corresponding to a non-pre-transfer state, indicating that the first virtual item is not in a pre-transfer state; for example, if the value of the status flag is 1, it indicates that the first virtual item is in a pre-transfer state, and the computer device sets the status flag to 0 after receiving the aforementioned cancellation of the pre-transfer operation; or, if the value of the status flag is 0, it indicates that the first virtual item is in a pre-transfer state, and the computer device sets the status flag to 1 after receiving the aforementioned cancellation of the pre-transfer operation.

[0150] For example, if a computer device detects a cancellation of the pre-transfer operation for a first virtual item, it removes the identifier information of the first virtual item owned by the first virtual object from the pre-transfer item list in the background, indicating that the first virtual item is no longer in a pre-transfer state.

[0151] In some embodiments, in response to a cancellation of pre-transfer operation on a first virtual item, the pre-transfer marker corresponding to the first virtual item is removed from display.

[0152] In some embodiments, for a first virtual item that is already in a pre-transfer state, if the computer device detects a cancellation of the pre-transfer operation on the first virtual item, it can also cancel the corresponding pre-transfer mark, thereby visually indicating that the first virtual item has left the pre-transfer state.

[0153] In the solution shown in the embodiments of this application, the computer device detects the cancellation of the pre-transfer operation of the first virtual item, cancels the pre-transfer state of the first virtual item, realizes the cancellation of the pre-transfer of the virtual item, allows the controller of the first virtual object to cancel the pre-transfer, ensures the flexibility of the pre-transfer and cancellation of the pre-transfer of the virtual item, and improves the interaction efficiency.

[0154] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, the above-mentioned cancellation of pre-transfer operation includes: In the item container of the first virtual object, perform a sliding operation on the first virtual item.

[0155] In some embodiments, the above-described sliding operation on the first virtual item includes a sliding operation on the first virtual item in a specified direction.

[0156] In some embodiments, the above-described sliding operation on the first virtual item includes a sliding operation on the first virtual item in a specified direction where the sliding distance is greater than a specified distance.

[0157] In some embodiments, the specified direction is preset by the developer; or, the specified direction is set by the user (the controller of the first virtual object). For example, the computer device may display a settings interface, which includes a setting item for the sliding direction of canceling the pre-transfer operation. The controller of the first virtual object sets the sliding direction through the setting item for the sliding direction of canceling the pre-transfer operation. Correspondingly, after the computer device detects the setting operation of the controller of the first virtual object on the setting item for the sliding direction of canceling the pre-transfer operation, it saves the sliding direction set by the setting operation.

[0158] In some embodiments, the sliding distance is preset by the developer; or, the sliding distance is set by the user (the controller of the first virtual object). For example, the computer device may display a settings interface that includes a setting item for the sliding distance to cancel the pre-transfer operation. The controller of the first virtual object sets the sliding distance through this setting item. Correspondingly, after the computer device detects the setting operation of the controller of the first virtual object on the setting item for the sliding distance to cancel the pre-transfer operation, it saves the sliding distance set by the setting operation.

[0159] Please refer to Figure 11 The illustration shows a schematic diagram of a method for canceling a pre-transfer, as described in an embodiment of this application. Taking a virtual environment that is a shooting game scene as an example, such as... Figure 11 As shown, in the virtual environment interface 1100, there is an item container 1101, which includes a first virtual item 1101a that is in a pre-transfer state. If the controller of the first virtual item wants to cancel the pre-transfer of the first virtual item 1101a, he / she can slide the first virtual item 1101a to the left a certain distance (i.e., the above-mentioned cancel pre-transfer operation) to cancel the pre-transfer of the first virtual item 1101a.

[0160] In the solution shown in the embodiments of this application, the computer device cancels the pre-transfer of the first virtual item by detecting the sliding operation on the first virtual item. The operation method is simple and direct and can improve the interaction efficiency.

[0161] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, please refer to some embodiments. Figure 12 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application, such as... Figure 12 As shown, step 260 above includes steps 260a and 260b.

[0162] Step 260a: In response to the distance between the first virtual object and the second virtual object being less than a distance threshold, a first transfer prompt message is displayed. The first transfer prompt message is used to prompt whether to transfer the first virtual item to the second virtual object.

[0163] In some embodiments, after the computer device detects that the distance between the first virtual object and the second virtual object is less than a distance threshold, a first transfer prompt message is displayed in the virtual environment interface displayed on the terminal device (such as the computer device mentioned above or other terminals besides the computer device) used by the controller of the first virtual object, so as to prompt the controller of the first virtual object to confirm whether to transfer the first virtual item to the second virtual object.

[0164] In some embodiments, the first transfer prompt information is displayed through a prompt window; for example, after the computer device detects that the distance between the first virtual object and the second virtual object is less than a distance threshold, a transfer prompt window is displayed, which includes a transfer prompt statement (e.g., "Do you want to transfer xxx (name of the first virtual item) to yyy (name of the second virtual object)?").

[0165] In some embodiments, the exit prompt window may also include a control to confirm the exit.

[0166] In some embodiments, the exit prompt window may also include a control to refuse exit.

[0167] In some embodiments, the exit prompt window may also include an image of a first virtual item.

[0168] Step 260b: Upon receiving a confirmation transfer operation based on the first transfer prompt information, transfer the first virtual item to the second virtual object; the confirmation transfer operation is an operation to confirm the transfer of the first virtual item to the second virtual object.

[0169] In some embodiments, when a first transfer prompt message is displayed, the controller of the first virtual object performs a confirmation transfer operation on the first transfer prompt message, and the computer device automatically transfers the first virtual item to the second virtual object in response to the confirmation transfer operation.

[0170] For example, the first transfer prompt information is displayed through a transfer prompt window, which includes a confirmation control. When the controller of the first virtual object clicks the confirmation control in the transfer prompt window, the computer device detects the click and automatically transfers the first virtual item to the second virtual object.

[0171] In some embodiments, if the controller of the first virtual object performs a rejection operation on the first transfer prompt message when the first transfer prompt message is displayed, the computer device will not perform the step of automatically transferring the first virtual item to the second virtual object.

[0172] Please refer to Figure 13 The illustration shows a schematic diagram of a confirmation transfer according to an embodiment of this application. Taking a virtual environment as a shooting game scene as an example, such as... Figure 13 As shown, when the distance between the first virtual object and the second virtual object is less than a distance threshold, and the first virtual item is in the aforementioned pre-transfer state, a transfer prompt window 1301 is displayed in the virtual environment interface 1300. This window includes a transfer prompt statement 1301a, a confirmation transfer control 1301b, a rejection transfer control 1301c, and an image of the first virtual item 1301d. If the controller of the first virtual object wants to transfer the first virtual item, they can click the confirmation transfer control 1301b. At this time, the computer device will automatically transfer the first virtual item from the first virtual object's item container (such as a backpack) to the second virtual object's item container. If the controller of the first virtual object does not want to transfer the first virtual item, they can click the rejection transfer control 1301c. In this case, the computer device will not automatically transfer the first virtual item.

[0173] In the solution shown in the embodiments of this application, after the computer device detects that the distance between the first virtual object and the second virtual object is less than a distance threshold, it prompts the controller of the first virtual object to confirm whether to transfer the first virtual item, thereby ensuring the accuracy of the transfer of the first virtual item and increasing the fault tolerance rate of the virtual item transfer.

[0174] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, step 260a above: In response to the duration during which the distance between the first virtual object and the second virtual object is less than a distance threshold, a first transfer prompt message is displayed.

[0175] In some embodiments, the aforementioned first duration is preset by the developer.

[0176] In some embodiments, the first duration is set by the controller of the first virtual object; for example, the computer device may display a settings interface, which includes a setting item for the first duration. The controller of the first virtual object sets the first duration through the setting item for the first duration. Correspondingly, after the computer device detects the setting operation of the controller of the first virtual object on the setting item for the first duration, it saves the first duration set by the setting operation.

[0177] In some embodiments, after the computer device first detects that the distance between the first virtual object and the second virtual object is less than a distance threshold, it continues to detect the duration for which the distance between the first virtual object and the second virtual object remains less than the distance threshold. When the duration reaches a first duration, a first transfer prompt message is displayed.

[0178] For example, if the computer device detects at a first moment (such as the previous frame or the moment when it detected whether the distance between the first virtual object and the second virtual object is less than the distance threshold) that the distance between the first virtual object and the second virtual object is not less than the distance threshold, and the computer device detects at the next moment that the distance between the first virtual object and the second virtual object is less than the distance threshold, then a timer is started, and the computer device continues to detect whether the distance between the first virtual object and the second virtual object is less than the distance threshold. If the distance between the first virtual object and the second virtual object is continuously detected to be less than the distance threshold before the timer's duration reaches the first duration, then a first transfer prompt message is displayed.

[0179] In this scenario, the distance between the first virtual object and the second virtual object may remain near a distance threshold and fluctuate around it. If the computer device detects that the distance between the first virtual object and the second virtual object is less than the distance threshold and immediately displays the first transfer prompt information, the first transfer prompt information will be repeatedly displayed and canceled (i.e., the first transfer prompt information will jitter), which will cause inconvenience to the user. In this embodiment, the computer device delays the display of the first transfer prompt information after detecting that the distance between the first virtual object and the second virtual object is less than the distance threshold. This avoids the situation where the first transfer prompt information is repeatedly displayed when the distance between the first virtual object and the second virtual object remains near the distance threshold, thus ensuring the display effect of the first transfer prompt information.

[0180] In some embodiments, after the computer device displays the first transfer prompt information, it stops detecting whether the distance between the first virtual object and the second virtual object is less than a distance threshold; that is, even if the distance between the first virtual object and the second virtual object changes to be not less than the distance threshold after the first transfer prompt information is displayed, the first transfer prompt information will not be canceled.

[0181] In some embodiments, after the computer device displays the first transfer prompt information, it continues to detect whether the distance between the first virtual object and the second virtual object is less than a distance threshold. If it detects that the distance between the first virtual object and the second virtual object is not less than the distance threshold, the display of the first transfer prompt information is canceled.

[0182] In some embodiments, after the computer device displays the first transfer prompt information, it continues to detect whether the distance between the first virtual object and the second virtual object is less than a distance threshold. If the distance between the first virtual object and the second virtual object is detected to be not less than the distance threshold for a duration of a second duration, the display of the first transfer prompt information is canceled.

[0183] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, the above-mentioned display of the first transfer prompt information includes: The information element of the second virtual object, which is displayed at a fixed position in the virtual environment interface, displays the first transfer prompt message.

[0184] In some embodiments, when displaying the first transfer prompt information, the computer device displays the first transfer prompt information at the corresponding position of the information element of the target object to be transferred (i.e., the aforementioned second virtual object).

[0185] In some embodiments, when the computer device displays the first transfer prompt information, it displays the first transfer information on the side (e.g., the left or right side) of the information element of the second virtual object, and the horizontal central axis of the first transfer information is the same as the horizontal central axis of the information element of the second virtual object.

[0186] In some embodiments, when the computer device displays the first transfer prompt information, it displays the first transfer information on the side of the information element of the second virtual object, and the upper edge of the first transfer information is horizontally aligned with the upper edge of the information element of the second virtual object (at the same height in the same virtual scene interface).

[0187] In some embodiments, when the computer device displays the first transfer prompt information, it displays the first transfer information on the side of the information element of the second virtual object, and the lower edge of the first transfer information is horizontally aligned with the lower edge of the information element of the second virtual object (at the same height in the same virtual scene interface).

[0188] For example, taking the aforementioned information element as the nameplate of a virtual object controlled by a teammate in the game, the nameplate of the virtual object controlled by the teammate is displayed on the left edge of the game interface. Teammate 2 controls the virtual object that is the target object to be transferred. The first transfer information is displayed through a pop-up window, which appears to the right of the nameplate of the virtual object controlled by the teammate, and the height of the pop-up window is aligned with the height of the nameplate of the virtual object controlled by teammate 2. For example, the horizontal center line of the pop-up window is the same straight line as the horizontal center line of the nameplate of the virtual object controlled by teammate 2, or the height of the top edge of the pop-up window is aligned with the height of the top edge of the nameplate of the virtual object controlled by teammate 2, or the height of the bottom edge of the pop-up window is aligned with the height of the bottom edge of the nameplate of the virtual object controlled by teammate 2. For example, taking... Figure 13 Taking the interface as an example, assuming that the second virtual object is a virtual object controlled by player 1, the aforementioned exit prompt window 1301 can also be displayed corresponding to the nameplate of the virtual object controlled by player 1. For example, the exit prompt window 1301 can also be displayed on the right side of the nameplate of the virtual object controlled by player 1, and the height of the upper edge of the exit prompt window 1301 is aligned with the height of the upper edge of the nameplate of the virtual object controlled by player 1.

[0189] In the solution shown in the embodiments of this application, the first transfer prompt information is displayed in correspondence with the information elements of the target object to be transferred. The user can quickly determine which virtual object is the target object to be transferred by the display position of the first transfer prompt information and the relationship between the display positions of the information elements of other virtual objects, thereby ensuring the prompting effect of the first transfer prompt information and ensuring the user's interaction efficiency.

[0190] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, step 260 includes: Upon receiving a confirmation transfer operation based on the first transfer prompt information, and upon receiving a confirmation transfer operation based on the second transfer prompt information from the terminal controlling the second virtual object, the first virtual item is transferred to the second virtual object. The second transfer notification information is displayed by the terminal controlling the second virtual object and is used to prompt whether to receive the information of the first virtual item transferred from the first virtual object; the confirmation transfer operation is the operation to confirm receipt of the first virtual item transferred from the first virtual object.

[0191] In some embodiments, after the computer device detects the confirmation of the transfer-out operation, it displays a second transfer prompt message in the virtual environment interface displayed on the terminal of the second virtual object; or, the computer device instructs the terminal of the second virtual object to display the second transfer prompt message in its displayed virtual environment interface. If the controller of the second virtual object confirms receipt of the first virtual item, a confirmation of transfer-in operation can be performed on the second transfer prompt message. If the computer device detects the confirmation of transfer-in operation, or receives the operation information of the confirmation of transfer-in operation forwarded by the terminal of the second virtual object, it automatically transfers the first virtual item to the second virtual object.

[0192] In some embodiments, the second transfer prompt information is displayed through a prompt window; for example, after the computer device detects the confirmation of the transfer operation, the terminal side of the second virtual object displays a transfer prompt window, which includes a transfer prompt statement (e.g., "Do you accept the transfer of xxx (name of the first virtual item) from zzz (name of the second virtual object)?").

[0193] In some embodiments, the redirection prompt window may also include a control to confirm the redirection.

[0194] In some embodiments, the redirection prompt window may also include a control to refuse redirection.

[0195] In some embodiments, the redirection prompt window may also include an image of a first virtual item.

[0196] For example, the second prompt message is displayed through a transfer prompt window, which includes a confirmation control. The controller of the second virtual object clicks the confirmation control in the transfer prompt window. The computer device detects the click operation performed on the confirmation control in the transfer prompt window, or, after receiving the operation information of the click operation forwarded by the terminal of the second virtual object, it automatically transfers the first virtual item to the second virtual object.

[0197] In some embodiments, if the controller of the second virtual object rejects the transfer operation when the first transfer prompt message is displayed, the computer device will not perform the step of automatically transferring the first virtual item to the second virtual object.

[0198] Please refer to Figure 14 The illustration shows a schematic diagram of a confirmation transfer according to an embodiment of this application. Taking a virtual environment as a shooting game scene as an example, such as... Figure 14As shown, when the distance between the first virtual object and the second virtual object is less than a distance threshold, and the first virtual item is in the aforementioned pre-transfer state, the controller of the first virtual object performs a confirmation transfer operation. At this time, in the virtual environment interface 1400 displayed on the terminal side of the controller of the second virtual object, a transfer-in prompt window 1401 is displayed, including a transfer-in prompt statement 1401a, a confirmation transfer control 1401b, a rejection transfer control 1401c, and an image of the first virtual item 1401d. If the controller of the second virtual object wants to receive the first virtual item, he / she can click the confirmation transfer control 1401b. At this time, the computer device automatically transfers the first virtual item from the item container (such as a backpack) of the first virtual object to the item container of the second virtual object. If the controller of the second virtual object does not want to receive the first virtual item, he / she can click the rejection transfer control 1401c. In this case, the computer device will not automatically transfer the first virtual item.

[0199] In the solution shown in the embodiments of this application, by displaying a second transfer prompt message on the terminal side of the controller of the second virtual object, the controller of the second virtual object is prompted to confirm whether to receive the first virtual item, thereby ensuring that the transfer of the first virtual item conforms to the wishes of the controller of the second virtual object and avoiding unnecessary transfer of virtual items.

[0200] In some embodiments, after the second transfer prompt information is displayed on the terminal side of the controller of the second virtual object, the computer device or the terminal of the controller of the second virtual object stops detecting whether the distance between the first virtual object and the second virtual object is less than the distance threshold; that is, after the second transfer prompt information is displayed, even if the distance between the first virtual object and the second virtual object changes to be not less than the distance threshold, the display of the second transfer prompt information will not be canceled.

[0201] In some embodiments, after the second transfer prompt information is displayed on the terminal side of the controller of the second virtual object, the computer device or the terminal of the controller of the second virtual object continues to detect whether the distance between the first virtual object and the second virtual object is less than a distance threshold. If it is detected that the distance between the first virtual object and the second virtual object is not less than the distance threshold, the display of the second transfer prompt information is canceled.

[0202] In some embodiments, after the second transfer prompt information is displayed on the terminal side of the controller of the second virtual object, the computer device or the terminal of the controller of the second virtual object continues to detect whether the distance between the first virtual object and the second virtual object is less than a distance threshold. If the distance between the first virtual object and the second virtual object is detected to be not less than the distance threshold for a period of time that reaches a second duration, the display of the second transfer prompt information is canceled.

[0203] In some embodiments, when the terminal of the computer device / second virtual object controller displays the second transfer prompt information, if the item container of the second virtual object is full or the remaining space of the item container of the second virtual object is insufficient to accommodate the first virtual item, the terminal of the second virtual object controller displays a prompt information that the item container space is insufficient, so as to prompt the controller of the second virtual object to determine whether to discard other virtual items in the item container of the second virtual object.

[0204] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, on the terminal side controlling the second virtual object, the position of the second transfer prompt information corresponds to the position of the information element of the first virtual object.

[0205] When the terminal controlling the second virtual object displays the second transfer prompt information, it displays the second transfer prompt information at the corresponding position of the information element of the source object to be transferred (that is, the first virtual object mentioned above).

[0206] In some embodiments, when the terminal controlling the second virtual object displays the second transfer prompt information, it displays the second transfer information on the side (e.g., the left or right side) of the information element of the first virtual object, and the horizontal central axis of the second transfer information is the same as the horizontal central axis of the information element of the first virtual object.

[0207] In some embodiments, when the terminal controlling the second virtual object displays the second transfer prompt information, it displays the second transfer information on the side of the information element of the first virtual object, and the upper edge of the second transfer information is horizontally aligned with the upper edge of the information element of the first virtual object.

[0208] In some embodiments, when the terminal controlling the second virtual object displays the second transfer prompt information, it displays the second transfer information on the side of the information element of the first virtual object, and the lower edge of the second transfer information is horizontally aligned with the lower edge of the information element of the first virtual object.

[0209] For example, taking the aforementioned information element as the nameboard of a virtual object controlled by a teammate in the game, the nameboard of the virtual object controlled by the teammate is displayed on the left edge of the game interface. The virtual object controlled by teammate 4 is the source object to be transferred. The second transfer information is displayed through a pop-up window, which appears to the right of the nameboard of the virtual object controlled by teammate 4. The height of the pop-up window is aligned with the height of the nameboard of the virtual object controlled by teammate 4. For example, the horizontal center line of the pop-up window is the same straight line as the horizontal center line of the nameboard of the virtual object controlled by teammate 4, or the height of the top edge of the pop-up window is aligned with the height of the top edge of the nameboard of the virtual object controlled by teammate 4, or the height of the bottom edge of the pop-up window is aligned with the height of the bottom edge of the nameboard of the virtual object controlled by teammate 4. For example, taking... Figure 14 Taking the interface as an example, assuming the first virtual object is a virtual object controlled by player number 4, the aforementioned entry prompt window 1401 can also be displayed corresponding to the nameplate of the virtual object controlled by player number 4. For example, the exit prompt window 1401 can also be displayed on the right side of the nameplate of the virtual object controlled by player number 4, and the height of the upper edge of the exit prompt window 1401 is aligned with the height of the upper edge of the nameplate of the virtual object controlled by player number 4.

[0210] In the solution shown in the embodiments of this application, the second transfer prompt information is displayed in correspondence with the information elements of the target object to be transferred. The user can quickly determine which virtual object is the source object to be transferred by the display position of the second transfer prompt information and the relationship between the display positions of the information elements of other virtual objects, thereby ensuring the prompting effect of the second transfer information and ensuring the user's interaction efficiency.

[0211] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, please refer to some embodiments. Figure 15 This is a flowchart of a virtual item transfer method provided in an exemplary embodiment of this application, such as... Figure 15 As shown, the above method for transferring virtual items also includes steps 272 and 274.

[0212] Step 272: If, within a second time period after receiving the confirmation transfer operation based on the first transfer prompt information, the terminal controlling the second virtual object does not receive the confirmation transfer operation, a prompt information trigger control is displayed.

[0213] In some embodiments, the terminal that controls the second virtual object is also referred to as the terminal of the controller of the second virtual object.

[0214] In some embodiments, after the computer device detects that the controller of the first virtual object has performed a confirmation transfer operation, the terminal side of the controller of the second virtual object displays a second transfer prompt message. If the controller of the second virtual object does not perform a confirmation transfer operation (e.g., triggering the confirmation transfer control in the transfer prompt window) within a second time period after the second transfer prompt message is displayed (that is, within a second time period after the computer device receives the confirmation transfer operation performed based on the first transfer prompt message), the computer device may display a prompt message trigger control on the terminal side of the controller of the first virtual object.

[0215] In some embodiments, after the computer device detects that the controller of the first virtual object has performed a confirmation transfer operation, the terminal side of the controller of the second virtual object displays a second transfer prompt message. If the controller of the second virtual object performs a rejection transfer operation within a second time period after the second transfer prompt message is displayed (e.g., clicking the rejection transfer control in the transfer prompt window), the computer device can display a prompt message and trigger the control on the terminal side of the controller of the first virtual object.

[0216] In some embodiments, if the computer device or the terminal of the controller of the second virtual object does not receive or detect the above-mentioned confirmation transfer operation within a second time period after the second transfer prompt information is displayed, the computer device or the terminal of the controller of the second virtual object cancels the display of the second transfer prompt information on the terminal side of the controller of the second virtual object.

[0217] For example, if the controller of the second virtual object needs to prioritize operating the second virtual object and cannot receive the first virtual item in time, they may not perform the confirmation transfer operation or perform the rejection transfer operation; or, if the controller of the second virtual object is in a temporarily absent state and cannot perform the confirmation transfer operation; in this case, the computer device or the terminal of the controller of the second virtual object can cancel the display of the second transfer prompt information on the terminal side of the controller of the second virtual object, and the computer device can display the prompt information trigger control on the terminal side of the controller of the first virtual object.

[0218] In some embodiments, if, within a second period after receiving a confirmation transfer operation based on the first transfer prompt information, the terminal controlling the second virtual object does not receive a confirmation transfer-in operation or receives a rejection transfer-in operation, and the distance between the first virtual object and the second virtual object is less than a distance threshold (or the duration for which the distance between the first virtual object and the second virtual object is less than the distance threshold reaches a first period), the computer device displays a prompt information trigger control on the terminal side of the controller of the first virtual object.

[0219] Step 274: Upon receiving a trigger operation on the prompt message trigger control, display the first transfer prompt message again.

[0220] In some embodiments, the triggering operation of the prompt information triggering control mentioned above includes clicking, long-pressing, sliding, etc.; the embodiments of this application do not limit the operation type and operation method of the triggering operation of the prompt information triggering control mentioned above.

[0221] In this embodiment, after the controller of the first virtual object confirms the transfer of the first virtual item, if the controller of the second virtual object does not confirm receipt of the first virtual item within a second time period, the computer device can display a prompt information trigger control on the terminal side of the controller of the first virtual object. When the controller of the first virtual object wants to initiate the transfer of the first virtual item to the second virtual object again, he / she can trigger the prompt information trigger control. The computer device detects the triggering operation of the prompt information trigger control and can display the first transfer prompt information again, thereby providing a channel for re-triggering the transfer of virtual items and improving the fault tolerance rate of virtual item transfer.

[0222] Based on the solutions shown in any one or more embodiments of the above-described embodiments of this application, in some embodiments, the method for transferring virtual items further includes: If no confirmation of transfer is received or a rejection of transfer is received within three time intervals after the first transfer prompt message is displayed, the prompt message will trigger the control. Upon receiving a trigger operation on the prompt message trigger control, the first transfer prompt message is displayed again.

[0223] In some embodiments, after the computer device displays the first transfer prompt information on the terminal side of the controller of the first virtual object, if a confirmation transfer operation is not detected / received within a third time period, or a rejection transfer operation is received (such as a click operation on the rejection transfer control in the transfer prompt window), the computer device may display the prompt information and trigger the control on the terminal side of the controller of the first virtual object.

[0224] In some embodiments, if the computer device does not receive or detect the aforementioned confirmation transfer operation or receives a rejection transfer operation within a third time period after the first transfer prompt information is displayed, the computer device cancels the display of the first transfer prompt information on the terminal side of the controller of the first virtual object.

[0225] For example, if the controller of the first virtual object needs to prioritize operating the first virtual object and cannot transfer the first virtual item in time, they may not perform the confirmation transfer operation, or they may perform the rejection transfer operation; or, the controller of the first virtual object is in a temporarily away state and cannot perform the confirmation transfer operation. In this case, the computer device can cancel the display of the first transfer prompt information on the terminal side of the controller of the first virtual object, and the computer device can display the prompt information trigger control on the terminal side of the controller of the first virtual object.

[0226] In some embodiments, if no confirmation of transfer or rejection of transfer is received within a third period after the first transfer prompt message is displayed, and the distance between the first virtual object and the second virtual object is less than a distance threshold (or the duration for which the distance between the first virtual object and the second virtual object is less than the distance threshold reaches a first period), the computer device displays a prompt message trigger control on the terminal side of the controller of the first virtual object.

[0227] In this embodiment, if the controller of the first virtual object does not confirm the transfer of the first virtual item, the computer device can display a prompt information trigger control on the terminal side of the controller of the first virtual object. When the controller of the first virtual object wants to initiate the transfer of the first virtual item to the second virtual object again, the prompt information trigger control can be triggered. The computer device detects the trigger operation of the prompt information trigger control and can display the first transfer prompt information again, thereby providing a channel for re-triggering the transfer of virtual items and improving the fault tolerance rate of virtual item transfer.

[0228] Based on the solutions shown in any one or more embodiments of the above embodiments of this application, in some embodiments, the above-mentioned prompt message trigger control includes at least one of the following: 1) Display prompt information trigger control for the information element of the second virtual object displayed at a fixed position in the virtual environment interface.

[0229] In some embodiments, the computer device may display a prompt information trigger control at a fixed position in the virtual environment interface displayed on the terminal side of the controller of the first virtual object, corresponding to the information element of the second virtual object; accordingly, when the controller of the first virtual object wants to initiate the transfer of the first virtual item to the second virtual object again, the prompt information trigger control may be triggered at the position corresponding to the information element of the second virtual object to trigger the re-display of the first transfer prompt information.

[0230] For example, please refer to Figure 16 The diagram illustrates a prompt message triggering control according to an embodiment of this application. Taking a virtual environment that is a shooting game scene as an example, such as... Figure 16As shown, in the virtual environment interface 1600 displayed on the terminal side of the controller of the first virtual object, if the transfer of the first virtual item to the second virtual object fails in the previous attempt, the computer device displays a prompt information trigger control 1601 to the right of the information element of the second virtual object; if the controller of the first virtual object needs to transfer the first virtual item to the second virtual object again, he / she can click the prompt information trigger control 1601 to trigger the display of the transfer prompt window again.

[0231] 2) In the item container of the first virtual object, a prompt message trigger control is displayed corresponding to the first virtual item.

[0232] In some embodiments, the computer device may display an item container on the virtual environment screen displayed on the terminal side of the controller of the first virtual object, and display a prompt message trigger control at the position corresponding to the first virtual item in the item container.

[0233] For example, the computer device displays a prompt message trigger control in the image of the first virtual item in the item container; or, the computer device displays a prompt message trigger control at a specified position (such as the left / right / top / bottom of the image of the first virtual item) near the image of the first virtual item in the item container.

[0234] For example, please refer to Figure 17 The diagram illustrates a prompt message triggering control according to an embodiment of this application. Taking a virtual environment that is a shooting game scene as an example, such as... Figure 17 As shown, in the virtual environment interface 1700 displayed on the terminal side of the controller of the first virtual object, an item container 1701 is displayed. The item container 1701 includes a first virtual item 1701a. If the transfer of the first virtual item to the second virtual object fails in the previous attempt, the computer device displays a prompt information trigger control 1701b in the image of the first virtual item 1701a. If the controller of the first virtual object needs to transfer the first virtual item to the second virtual object again, he / she can click the prompt information trigger control 1701b to trigger the re-display of the transfer prompt window.

[0235] In the solution shown in the embodiments of this application, the computer device displays a prompt information trigger control corresponding to the information element of the second virtual object displayed at a fixed position in the virtual environment interface. This allows the controller of the first virtual object to directly trigger the re-display of the first transfer prompt information on the environment screen, thereby triggering the re-transfer of the first virtual item. This simplifies user operation and improves interaction efficiency. Alternatively, the computer device displays a prompt information trigger control corresponding to the first virtual item in the item container of the first virtual object, without having to occupy the upper display space of the environment screen, thus ensuring a clean interface display.

[0236] Based on the solutions shown in any one or more embodiments of the above-described embodiments of this application, in some embodiments, the method for transferring virtual items further includes: During the process of transferring the first virtual item to the second virtual object, the interactive effect of the first virtual object transferring the first virtual item to the second virtual object is displayed; The interactive effects mentioned above include at least one of the following: Interactive actions, interactive emoticons, interactive voice, interactive sound effects, and interactive user interface (UI) elements.

[0237] For example, please refer to Figure 18 The illustration shows a schematic diagram of virtual item transfer according to an embodiment of this application. Taking a shooting game scene as an example, as... Figure 18 As shown, during the process of the computer device transferring the first virtual item 1801 from the first virtual object 1802 to the second virtual object 1803, the first virtual object 1802 and the second virtual object 1803 perform the action of handing over the first virtual item 1801.

[0238] In this embodiment of the application, during the process of automatically transferring the first virtual item to the second virtual object, the computer device controls the interaction between the first virtual object and the second virtual object to ensure the simulation effect of transferring virtual items between the first virtual object and the second virtual object, thereby improving the simulation realism of the virtual environment.

[0239] Based on the solutions shown in any one or more embodiments of the above-described embodiments of this application, in some embodiments, the method for transferring virtual items further includes: If the first virtual item has not been transferred and the first virtual object is eliminated in the virtual environment, the first virtual item will be displayed as a dropped item in the virtual environment. Among them, the first virtual item that was not transferred includes: The first virtual item has not yet been removed from the item container of the first virtual object; or, The first virtual item has been removed from the item container of the first virtual object and has not yet been added to the item container of the second virtual object.

[0240] In some embodiments, before the interactive action of the first virtual object transferring the first virtual item to the second virtual object is performed, the computer device keeps the first virtual item in the item container of the first virtual object; during the interactive action of the first virtual object transferring the first virtual item to the second virtual object, the computer device removes the first virtual item from the item container of the first virtual object; after the interactive action of the first virtual object transferring the first virtual item to the second virtual object is completed, the computer device adds the first virtual item to the item container of the second virtual object.

[0241] In some embodiments, if the first virtual item has not yet been removed from the item container of the first virtual object (i.e., the above-mentioned interactive action has not yet started), or if the first virtual item has been removed from the item container of the first virtual object but has not yet been added to the item container of the second virtual object (i.e., during the execution of the above-mentioned interactive action), and if the first virtual object is eliminated in the virtual environment, the first virtual item can be displayed as a dropped item in the virtual environment. This avoids the situation where the virtual item is lost from the virtual environment if the virtual item transfer is not completed, and ensures the accuracy of virtual item processing.

[0242] In some embodiments, displaying the first virtual item as a dropped item in the virtual environment means displaying the first virtual item separately from other virtual items owned by the first virtual object as a dropped item.

[0243] Based on the solutions shown in any one or more embodiments of the above-described embodiments of this application, in some embodiments, the method for transferring virtual items further includes: In the virtual environment, an item prompt message is displayed for the first virtual item. The item prompt message is used to indicate that the first virtual item is a virtual item that is to be transferred from the first virtual object to the second virtual object.

[0244] In some embodiments, after the first virtual item is displayed as a dropped item in the virtual environment, the terminal of the computer device / controller of the second virtual object also displays item prompt information corresponding to the first virtual item on the terminal side of the controller of the second virtual object. The item prompt information is used to indicate that the first virtual item is a virtual item that the first virtual object is to be transferred to the second virtual object.

[0245] In this embodiment of the application, if the first virtual object is eliminated before the first virtual object transfers the first virtual item to the second virtual object, the first virtual item is displayed as a dropped item in the virtual environment, and an item prompt message is also used to indicate that the first virtual item is a virtual item that the first virtual object is about to transfer to the second virtual object, so as to remind the controller of the second virtual object to pick up the first virtual item as soon as possible and ensure the prompting effect of the transfer of the first virtual item.

[0246] Based on the solutions shown in any one or more embodiments of the above-described embodiments of this application, in some embodiments, the method for transferring virtual items further includes: If the first virtual item has not been transferred and the second virtual object is eliminated in the virtual environment, cancel the pre-transfer status of the first virtual item.

[0247] In some embodiments, if the first virtual item has not yet been removed from the item container of the first virtual object (i.e., the aforementioned interactive action has not yet started), or if the first virtual item has been removed from the item container of the first virtual object and has not yet been added to the item container of the second virtual object (i.e., during the execution of the aforementioned interactive action), the computer device may cancel the pre-transfer state of the first virtual item if the second virtual object is eliminated in the virtual environment.

[0248] In some embodiments, if the first virtual item is removed from the item container of the first virtual object and has not yet been added to the item container of the second virtual object (i.e., during the execution of the above-described interactive action), and the second virtual object is eliminated in the virtual environment, the computer device will re-add the first virtual item to the item container of the first virtual object and cancel the pre-transfer status of the first virtual item.

[0249] In some embodiments, if the first virtual item is removed from the item container of the first virtual object and has not yet been added to the item container of the second virtual object (i.e., during the execution of the above-described interactive action), and the second virtual object is eliminated in the virtual environment, the computer device displays the first virtual item as a dropped item in the virtual environment and cancels the pre-transfer state of the first virtual item.

[0250] In this embodiment of the application, if the first virtual item has not yet been removed from the item container of the first virtual object (i.e., the above-mentioned interactive action has not yet started), or if the first virtual item has been removed from the item container of the first virtual object and has not yet been added to the item container of the second virtual object (i.e., during the execution of the above-mentioned interactive action), and if the second virtual object is eliminated in the virtual environment, the pre-transfer state of the first virtual item can be canceled, so that the first virtual item can be transferred to other virtual objects, ensuring the accuracy of virtual item processing.

[0251] Based on the solutions shown in any one or more of the above embodiments of this application, various application scenarios for pre-transferring virtual items between virtual objects in a game environment can be realized, including but not limited to: application scenarios of virtual objects gifting / giving virtual items, application scenarios of virtual objects selling virtual items, application scenarios of virtual objects exchanging virtual items, etc.; these application scenarios are described below.

[0252] Application Scenario 1: Application scenario where virtual objects give / gift virtual items to each other.

[0253] The computer device (terminal / server of the first virtual object) displays the game environment screen on the game interface. The game environment includes at least two virtual objects, including the first virtual object. After receiving a pre-gift operation executed by the controller of the first virtual object to gift the first virtual item owned by the first virtual object to the second virtual object, the computer device gifts the first virtual item to the second virtual object if the distance between the first virtual object and the second virtual object is less than a distance threshold.

[0254] In some embodiments, a computer device displays an item container for a first virtual object, the item container including a first virtual item, and receives a pre-gift operation performed on the first virtual item.

[0255] In some embodiments, a second virtual object information element is displayed at a fixed position in the game interface; the information element is used to display information about the virtual object; the pre-gifting operation includes: dragging the first virtual item in the item container to a designated position corresponding to the information element of the second virtual object.

[0256] In some embodiments, the pre-gifting operation includes: selecting an option for a second virtual object in a gift recipient list, the gift recipient list being triggered by a triggering operation on a first virtual item in an item container.

[0257] In some embodiments, the method further includes: in response to the pre-gifting operation, setting the first virtual item to a pre-gifted state; When the distance between the first virtual object and the second virtual object is less than a distance threshold, and the first virtual object is in a pre-gifted state, the computer device will gift the first virtual object to the second virtual object.

[0258] In some embodiments, the method further includes: displaying a pre-gift mark on the first virtual item when the first virtual item is in a pre-gifted state.

[0259] In some embodiments, the pre-given marker includes the identifier of a second virtual object.

[0260] In some embodiments, the method further includes: canceling the pre-gift status of the first virtual item in response to the cancellation of the pre-gift operation of the first virtual item.

[0261] In some embodiments, canceling the pre-gift operation includes: a swipe operation on the first virtual item within the item container of the first virtual object.

[0262] In some embodiments, the above-mentioned gifting of the first virtual item to the second virtual object after receiving the pre-gifting operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold, includes: In response to the distance between the first virtual object and the second virtual object being less than a distance threshold, a first gifting prompt message is displayed, which prompts whether to gift the first virtual item to the second virtual object; upon receiving a confirmation gifting operation based on the first gifting prompt message, the first virtual item is gifted to the second virtual object; the confirmation transfer operation is an operation to confirm gifting the first virtual item to the second virtual object.

[0263] In some embodiments, the above-mentioned response to the distance between the first virtual object and the second virtual object being less than a distance threshold, displaying the first gift prompt information, includes: displaying the first gift prompt information in response to the duration for which the distance between the first virtual object and the second virtual object is less than the distance threshold reaching a first duration.

[0264] In some embodiments, upon receiving a confirmation gift operation based on a first gift prompt message, gifting the first virtual item to the second virtual object includes: When a confirmation gift operation based on the first gift prompt is received, and the terminal controlling the second virtual object receives a confirmation transfer operation based on the second gift prompt, the first virtual item is gifted to the second virtual object. The second gift notification message is displayed by the terminal controlling the second virtual object, and is used to prompt whether to accept the information of the first virtual item gifted by the first virtual object; the confirmation transfer operation is the operation to confirm acceptance of the first virtual item gifted by the first virtual object.

[0265] In some embodiments, the method further includes: if the terminal controlling the second virtual object does not receive a confirmation transfer operation within a second time period after receiving a confirmation gift operation based on the first gift prompt information, displaying a prompt information trigger control; and if a trigger operation is received on the prompt information trigger control, displaying the first gift prompt information again.

[0266] In some embodiments, the method further includes: if no confirmation of gifting is received or a rejection of gifting is received within a third time period after the first gifting prompt message is displayed, displaying a prompt message trigger control; and if a triggering operation is received on the prompt message trigger control, displaying the first gifting prompt message again.

[0267] In some embodiments, the method further includes: displaying the interactive effect of the first virtual object gifting the first virtual item to the second virtual object during the process of gifting the first virtual item to the second virtual object.

[0268] In some embodiments, the above method further includes: if the first virtual item has not been gifted and the first virtual object is eliminated in the virtual environment, displaying the first virtual item as a dropped item in the virtual environment; The first virtual item has not been gifted, including: the first virtual item has not been removed from the item container of the first virtual object; or, the first virtual item has been removed from the item container of the first virtual object but has not been added to the item container of the second virtual object.

[0269] In some embodiments, the above method further includes: In the virtual environment, an item prompt message is displayed for the first virtual item. The item prompt message is used to indicate that the first virtual item is a virtual item that the first virtual object has given to the second virtual object.

[0270] In some embodiments, the above method further includes: If the first virtual item is not gifted and the second virtual object is eliminated in the virtual environment, the pre-gift status of the first virtual item is cancelled.

[0271] The solution described in the above embodiments of this application can be applied to in-game battles in tactical competitive games to build a complete item gifting interaction chain of "reservation → gifting → confirmation → emotional feedback". This can solve the problems of low efficiency, lack of targeted support, and lack of emotional expression in the "discard → pick up" mode of related technologies.

[0272] The embodiments of this application may involve the following terms: 1) Reserved: When the giver selects an item in their backpack and designates a teammate as the recipient, the item enters the "Reserved" state, locking the intention to give the item but the transfer has not yet been completed.

[0273] 2) Gift (donation): The complete act of formally transferring reserved items to the recipient through the system confirmation process, including reservation, confirmation, animation playback and data settlement.

[0274] 3) Valid range for gifting: The system sets a distance threshold (e.g., 2 meters). When the giver and the recipient are within this range, a gifting confirmation pop-up will be automatically triggered. If the distance is exceeded, the item will remain in the reserved item slot and wait.

[0275] 4) Waiting to be triggered again: If the recipient does not take any action within the valid time of the gift confirmation pop-up (timeout), the gift will not be canceled, but will enter this intermediate state. The giver can initiate the same gift again through the designated entry point.

[0276] 5) Emotional Interaction: The system plays visual and auditory feedback when a gift is successfully given, including character handing over / receiving animations, expressions, voice, sound effects and UI prompts, which are designed to enhance the sense of ritual and emotional connection of the gifting behavior.

[0277] 6) Elimination of Legacy Path: Exception handling logic when either party is eliminated in the gifting process, covering item drop, rollback, and change of gift prompts, to ensure data consistency and prevent item duplication.

[0278] The key technologies and functionalities of the embodiments in this application are as follows: 1) Drag and drop items to trigger gifting: After opening their backpack, players can directly drag items to the teammate's portrait area on the left side of the screen. This one-step operation completes the reserved action of "selecting items + selecting teammates", replacing the traditional multi-step discard-pickup process.

[0279] 2) Automatic / manual gifting switching based on distance perception: The system continuously detects the distance between the giver and the recipient. Within the effective gifting range (threshold 2m), a confirmation panel will automatically pop up; if the distance is exceeded, the item will be placed in the reserved item bar and triggered again when the conditions are met.

[0280] 3) "Pending Re-trigger" state mechanism: If the recipient does not take any action within the timeout period, the gift will not be canceled directly, but will enter an intermediate state; the giver can bring up the confirmation pop-up again through the teammate list or the shortcut in the backpack to avoid repeatedly selecting items and teammates.

[0281] 4) Emotional interactive feedback: After a successful gift exchange, an animation of the handover / receive of both parties' characters is played (approximately 1.2 seconds), accompanied by emoticons, voice, and sound effects, transforming the functional exchange of goods into a warm social behavior.

[0282] 5) Complete exception handling for eliminated scenarios: For three scenarios, namely, the giver is eliminated, the recipient is eliminated, and the item is eliminated before the transfer is completed after confirmation, branch logic such as item drop, rollback, and change of gift prompt is designed to ensure data consistency.

[0283] 6) Gift cancellation mechanism: Reserved items can be canceled by swiping horizontally in the backpack, which is intuitive and low-cost.

[0284] Please refer to Figure 19 It illustrates a user interaction flowchart related to an embodiment of this application; as shown Figure 19 As shown, the user interaction process involved in this application embodiment is divided into three main stages: reservation stage 1901, trigger stage 1902, and completion stage 1903.

[0285] 1) Reserved phase 1901: Drag the backpack to trigger the gift.

[0286] Please refer to the above. Figure 3 and Figure 9 Player B opens their inventory and drags the target item from the inventory bar to the avatar area of ​​teammate A on the left side of the screen. After the system recognizes the long-press drag gesture, it marks the item as "reserved" (corresponding to the pre-transfer state mentioned above) and marks its intended recipient in the inventory with a visual difference (such as a highlighted icon). After the item enters the reserved state, the visual style of the item in the inventory changes, clearly informing the player that the item has been reserved for the designated teammate.

[0287] 2) Triggering phase 1902: Distance perception and confirmation pop-up.

[0288] Please refer to the above. Figure 13 and Figure 14 The system's distance detection module continuously monitors the positional relationship between the donor and recipient. When both parties enter the effective gifting range (threshold 2m), the system automatically pops up a confirmation panel. The donor's side displays a pop-up window asking "Give the player the item now?", which includes item details and two operation buttons: "Later" and "Give Now" (corresponding to the rejection and confirmation control in the above embodiment, respectively).

[0289] 3) Completion Phase 1903: Emotional Gift Animation.

[0290] Please refer to the above. Figure 18 Once both parties confirm, the system deducts the gift from the giver and adds the gift to the recipient, while playing a 1.2-second animation of the giver handing over the gift and the recipient receiving it. This, combined with sound effects and UI feedback, gives the act of giving a sense of ritual.

[0291] 4) Re-triggering when not confirmed in time.

[0292] During combat, the recipient may fail to respond to the gift confirmation pop-up within the valid timeframe due to being busy or having their interface obscured. After the pop-up closes after timeout, the gift is not canceled directly but enters a "pending re-trigger" state. The system provides two re-trigger options: Entry point 1: The "Waiting to be gifted" button in the teammate list. Please refer to the following: Figure 16 In the teammate list, team status bar, or squad interface, for teammates with a "gift awaiting gift" relationship, a "Gift Awaiting Gift" icon (i.e., the trigger control for the aforementioned prompt message) will be displayed next to their name or avatar. After the giver clicks on it, the system will initiate the same gift request to that teammate again.

[0293] Entry point two: The "Gift" button on items inside the backpack. Please refer to this. Figure 17 When the giver opens their inventory, a "Gift" button (i.e., the trigger control mentioned above) will appear on items in the "Pending Gift" state. After clicking, the system will default to using the previously selected teammate and initiate the gift request again.

[0294] 5) Cancellation of gift.

[0295] Please refer to Figure 11 In this embodiment, reserved items can be cancelled. Players can swipe horizontally on reserved items in the inventory interface to display the "Cancel Gift" option. The operation is intuitive and does not affect the combat rhythm.

[0296] The solution shown in the embodiments of this application includes the following parts from a technical perspective: 1) System state machine design Please refer to Figure 20 This diagram illustrates a state machine for gifting items according to an embodiment of this application. Figure 20 As shown, the lifecycle of an item gift is driven by the following states: Normal → Reserved (corresponding to the pre-transfer state) → Pending confirmation (corresponding to the states displaying the first and second transfer prompts) → Pending triggering again (corresponding to the states displaying the prompt trigger control) → Gift successful / Gift canceled. Each state transition has a clear trigger condition and fallback path.

[0297] 2) Distance detection module The client / server continuously calculates the Euclidean distance between the donor and recipient. A threshold for the effective donation range is set (default 2m). When the distance is less than or equal to the threshold, a confirmation pop-up is triggered. To avoid frequent triggering, a debouncing strategy is adopted, which delays the pop-up by 0.5 seconds after entering the range and pauses distance triggering during the pop-up period.

[0298] 3) Confirmation of timeout and re-trigger mechanism Please refer to Figure 21 This illustrates a flowchart of the process for re-triggering a gift when there is no timely confirmation, as described in an embodiment of this application. Figure 21 As shown, the confirmation pop-up has a valid timeout (default 15-30 seconds). After the timeout, the pop-up closes, and the gift is marked as "Pending Re-trigger". The donor's item information (item ID, recipient ID) is persistently stored locally and on the server, ensuring that re-selection is unnecessary upon re-triggering. The teammate list and inventory UI each provide a re-trigger entry point, reusing the same gift request data.

[0299] 4) Exception handling for obsolete scenarios Please refer to Figure 22 It illustrates a branch diagram of the donation process in an obsolete scenario according to an embodiment of this application; as follows: Figure 22 As shown, during the reservation or donation confirmation process, situations may arise where the donor or recipient is eliminated. The system handles the following three scenarios respectively: • If the giver is eliminated: If the item has not yet been deducted from the backpack (data settlement incomplete), the gift is considered incomplete. The item will drop to the ground when the giver is eliminated, and the system will notify the recipient or all teammates that they can pick it up. If the item has been deducted but the transfer has not been completed, it will be rolled back according to the incomplete logic (the item will be returned to the location where the giver dropped it), ensuring data consistency and preventing item duplication.

[0300] • If the recipient is eliminated: The gift will automatically expire, and the item will remain in the giver's inventory or reserved item slot. Optionally, the system will notify the giver that "Your teammate has been eliminated; you can gift the item to another teammate."

[0301] • Eliminated after confirmation but before transfer completion: If the recipient has clicked "Receive" and the system has executed the deduction logic, the transfer will still be completed in principle. If the recipient is eliminated during this period, the item will drop at the location where the recipient was eliminated.

[0302] The solution shown in the embodiments of this application can have the following effects: 1) Significantly improve the efficiency of resource exchange: The one-step drag-and-drop gifting operation replaces the traditional 3-5 step process of "discard-voice instruction-move-search-pick up", which can quickly complete targeted support in battle and reduce the risk of revealing location due to resource exchange.

[0303] 2) Achieve precise targeted gifting: Items can be designated to specific teammates to prevent them from being picked up by non-target teammates or enemies, thus improving the accuracy and strategy of team resource allocation.

[0304] 3) Reduce the cost of repetitive operations: The "awaiting re-trigger" status mechanism retains the reserved information and, together with the dual entry points in the teammate list and backpack, triggers again, avoiding the need to repeatedly select items and teammates due to timeout.

[0305] 4) Enhance social interaction: After a successful gift is given, the character will provide emotional interaction such as animations, emoticons, and voice feedback, transforming the exchange of goods into an interactive behavior.

[0306] 5) Ensure data consistency in abnormal scenarios: There are clear handling logics for boundary scenarios such as the elimination of the donor, the elimination of the recipient, and the elimination after confirmation but before the transfer is completed, to avoid the loss or duplication of items and ensure the robustness of the game's economic system.

[0307] 6) Reversible operation and low cost: The reservation can be canceled by swiping horizontally, giving players full decision-making flexibility without increasing the burden of operation.

[0308] Application Scenario 2: The application scenario of selling virtual items between virtual objects.

[0309] The computer device (terminal / server of the first virtual object) displays the game environment screen, which includes at least two virtual objects, including the first virtual object; after receiving a pre-sale operation executed by the controller of the first virtual object to sell the first virtual item owned by the first virtual object to the second virtual object, the first virtual item is automatically sold to the second virtual object if the distance between the first virtual object and the second virtual object is less than a distance threshold.

[0310] In some embodiments, a computer device displays an item container for a first virtual object, the item container including the first virtual item, and receives a pre-sale operation performed on the first virtual item.

[0311] In some embodiments, a second virtual object information element is displayed at a fixed position in the game interface; the information element is used to display information about the virtual object; the pre-sale operation includes: dragging the first virtual item in the item container to a designated position corresponding to the information element of the second virtual object.

[0312] In some embodiments, the pre-sale operation includes: selecting an option for a second virtual object in the list of objects for sale, the list of objects for sale being displayed by a triggering operation on a first virtual item in an item container.

[0313] In some embodiments, the pre-sale operation further includes: displaying a resource quantity setting interface, which is used to set a specified resource quantity for the sale of the first virtual item; the automatic sale of the first virtual item to the second virtual object includes: automatically transferring the first virtual item to the second virtual object, and automatically transferring a specified amount of virtual resources from the second virtual object to the first virtual object.

[0314] In some embodiments, the method further includes: setting the first virtual item to a pre-sale state in response to a pre-sale operation; When the distance between the first virtual object and the second virtual object is less than a distance threshold, and the first virtual object is in a pre-sale state, the computer device sells the first virtual object to the second virtual object.

[0315] In some embodiments, the method further includes: displaying a pre-sale marker for the first virtual item when the first virtual item is in a pre-sale state.

[0316] In some embodiments, the pre-sale marker includes the identifier of a second virtual object.

[0317] In some embodiments, the method further includes: canceling the pre-sale status of the first virtual item in response to the cancellation of the pre-sale operation of the first virtual item.

[0318] In some embodiments, canceling a pre-sale operation includes: a swipe operation on a first virtual item within the item container of a first virtual object.

[0319] In some embodiments, the above-mentioned sale of the first virtual item to the second virtual object after receiving the pre-sale operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold, includes: In response to the distance between the first virtual object and the second virtual object being less than a distance threshold, a first sale prompt message is displayed, which prompts whether to sell the first virtual item to the second virtual object; upon receiving a confirmation sale operation based on the first sale prompt message, the first virtual item is sold to the second virtual object; the confirmation transfer operation is an operation to confirm the sale of the first virtual item to the second virtual object.

[0320] In some embodiments, the above-mentioned response to the distance between the first virtual object and the second virtual object being less than a distance threshold, displaying the first sale prompt information, includes: displaying the first sale prompt information in response to the duration for which the distance between the first virtual object and the second virtual object is less than the distance threshold reaching a first duration.

[0321] In some embodiments, upon receiving a confirmation sale operation based on a first sale notification, selling the first virtual item to the second virtual object includes: Upon receiving a confirmation sale operation based on the first sale prompt information, and upon receiving a confirmation transfer operation based on the second sale prompt information from the terminal controlling the second virtual object, the first virtual item is sold to the second virtual object. The second sale notification message is displayed by the terminal controlling the second virtual object, and is used to prompt whether to accept the information of the first virtual item sold by the first virtual object; the confirmation transfer operation is the operation to confirm acceptance of the first virtual item sold by the first virtual object.

[0322] In some embodiments, the method further includes: if the terminal controlling the second virtual object does not receive a confirmation transfer operation within a second time period after receiving a confirmation sale operation based on the first sale prompt information, displaying a prompt information trigger control; and if a trigger operation is received on the prompt information trigger control, displaying the first sale prompt information again.

[0323] In some embodiments, the method further includes: if no confirmation of sale is received or a rejection of sale is received within a third time period after the first sale notification is displayed, displaying a notification trigger control; and if a trigger operation is received on the notification trigger control, displaying the first sale notification again.

[0324] In some embodiments, the method further includes: displaying an interactive effect of the first virtual object selling the first virtual item to the second virtual object during the process of selling the first virtual item to the second virtual object.

[0325] In some embodiments, the above method further includes: displaying the first virtual item as a dropped item in the virtual environment when the first virtual item has not been sold and the first virtual object has been eliminated in the virtual environment. The first virtual item has not been sold, including: the first virtual item has not been removed from the item container of the first virtual object; or, the first virtual item has been removed from the item container of the first virtual object but has not been added to the item container of the second virtual object.

[0326] In some embodiments, the above method further includes: In the virtual environment, an item prompt message is displayed for the first virtual item. The item prompt message is used to indicate that the first virtual item is a virtual item that the first virtual object is pre-sold to the second virtual object.

[0327] In some embodiments, the above method further includes: If the first virtual item is not sold and the second virtual object is eliminated in the virtual environment, cancel the pre-sale status of the first virtual item.

[0328] Application Scenario 3: Exchanging virtual items between virtual objects.

[0329] The computer device (terminal / server of the first virtual object) displays the game environment, which includes at least two virtual objects, including the first virtual object. Upon receiving a pre-swap operation from the controller of the first virtual object, to exchange a first virtual item owned by the first virtual object for a second virtual object, and provided the distance between the first and second virtual objects is less than a distance threshold, the first virtual item is automatically exchanged for the second virtual object, and a second virtual item owned by the second virtual object is automatically exchanged for the first virtual object. Correspondingly, the terminal / server of the second virtual object displays the game environment, which includes at least two virtual objects, including the second virtual object. Upon receiving a pre-swap operation from the controller of the second virtual object, to exchange a second virtual item owned by the second virtual object for a first virtual object, and provided the distance between the first and second virtual objects is less than a distance threshold, the first virtual item is automatically exchanged for the second virtual object, and a second virtual item owned by the second virtual object is automatically exchanged for the first virtual object.

[0330] In some embodiments, a computer device displays an item container for a first virtual object, the item container including a first virtual item, and receives a pre-exchange operation performed on the first virtual item.

[0331] In some embodiments, a second virtual object's information element is displayed at a fixed position in the game interface; the information element is used to display information about the virtual object; the pre-exchange operation includes: dragging a first virtual item in the item container to a designated position corresponding to the information element of the second virtual object.

[0332] In some embodiments, the pre-exchange operation includes: selecting an option for a second virtual object in the exchange object list, the exchange object list being displayed by a triggering operation on a first virtual item in an item container.

[0333] In some embodiments, the method further includes: setting the first virtual item to a pre-exchange state in response to the pre-exchange operation; When the distance between the first virtual object and the second virtual object is less than a distance threshold, and the first virtual object is in a pre-exchange state, the computer device exchanges the first virtual object to the second virtual object.

[0334] In some embodiments, the method further includes: displaying a pre-exchange mark for the first virtual item when the first virtual item is in a pre-exchange state.

[0335] In some embodiments, the pre-exchange tag includes the identifier of the second virtual object.

[0336] In some embodiments, the method further includes: canceling the pre-exchange state of the first virtual item in response to the cancellation pre-exchange operation of the first virtual item.

[0337] In some embodiments, canceling the pre-swap operation includes: a sliding operation on the first virtual item within the item container of the first virtual object.

[0338] In some embodiments, the above-mentioned exchange of the first virtual item to the second virtual object after receiving the pre-exchange operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold, includes: In response to the distance between the first virtual object and the second virtual object being less than a distance threshold, a first exchange prompt message is displayed, which prompts whether to exchange the first virtual item to the second virtual object; upon receiving a confirmation exchange operation based on the first exchange prompt message, the first virtual item is exchanged to the second virtual object; the confirmation transfer operation is an operation to confirm the exchange of the first virtual item to the second virtual object.

[0339] In some embodiments, the above-mentioned response to the distance between the first virtual object and the second virtual object being less than a distance threshold, displaying the first exchange prompt information, includes: displaying the first exchange prompt information in response to the duration for which the distance between the first virtual object and the second virtual object is less than the distance threshold reaching a first duration.

[0340] In some embodiments, upon receiving a confirmation exchange operation based on a first exchange prompt message, exchanging the first virtual item for the second virtual object includes: Upon receiving a confirmation exchange operation based on the first exchange prompt information, and upon receiving a confirmation exchange operation based on the second exchange prompt information from the terminal controlling the second virtual object, the first virtual item is exchanged for the second virtual object. The second exchange prompt message is displayed by the terminal controlling the second virtual object, and is used to prompt whether to exchange the second virtual item with the first virtual object; the confirmation exchange operation performed based on the second exchange prompt message is an operation to confirm the exchange of the second virtual item with the first virtual object.

[0341] In some embodiments, the method further includes: if, within a second time period after receiving a confirmation exchange operation performed based on the first exchange prompt information, the terminal controlling the second virtual object does not receive a confirmation exchange operation performed based on the second exchange prompt information, displaying a prompt information trigger control; and if a trigger operation is received on the prompt information trigger control, displaying the first exchange prompt information again.

[0342] In some embodiments, the method further includes: if, within a third time period after displaying the first exchange prompt information, no confirmation exchange operation based on the first exchange prompt information is received or a rejection exchange operation based on the first exchange prompt information is received, displaying a prompt information trigger control; and if a trigger operation on the prompt information trigger control is received, displaying the first exchange prompt information again.

[0343] In some embodiments, the method further includes: displaying the interactive effect of the first virtual object exchanging the first virtual item with the second virtual object during the process of exchanging the first virtual item with the second virtual object.

[0344] In some embodiments, the above method further includes: displaying the first virtual item as a dropped item in the virtual environment when the first virtual item has not been exchanged and the first virtual object is eliminated in the virtual environment. The first virtual item has not been exchanged, including: the first virtual item has not been removed from the item container of the first virtual object; or, the first virtual item has been removed from the item container of the first virtual object but has not been added to the item container of the second virtual object.

[0345] In some embodiments, the above method further includes: In the virtual environment, an item prompt message is displayed for the first virtual item. The item prompt message is used to indicate that the first virtual item is a virtual item that the first virtual object is about to exchange with the second virtual object.

[0346] In some embodiments, the above method further includes: If the first virtual item has not been exchanged and the second virtual object is eliminated in the virtual environment, cancel the pre-exchange status of the first virtual item.

[0347] Figure 23 This is a structural block diagram of a virtual item transfer device provided in an exemplary embodiment of this application. Figure 23 As shown, the device includes the following structure.

[0348] The screen display module 2301 is used to display the environment screen of the virtual environment in the virtual environment interface, wherein the virtual environment includes at least two virtual objects; The operation receiving module 2302 is used to receive a pre-transfer operation, wherein the pre-transfer operation is an operation that pre-transfers the first virtual item owned by the first virtual object to the second virtual object; The item transfer module 2303 is used to transfer the first virtual item to the second virtual object after receiving the pre-transfer operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold.

[0349] In some embodiments, the operation receiving module 2302 is used for, Display the item container of the first virtual object, wherein the item container includes the first virtual item; Receive the pre-transfer operation performed on the first virtual item.

[0350] In some embodiments, information elements of the second virtual object are displayed at fixed positions in the virtual environment interface; the information elements are used to display information about the virtual object. The pre-transfer operation includes: Drag the first virtual item in the item container to the designated position corresponding to the information element of the second virtual object.

[0351] In some embodiments, the pre-transfer operation includes: The operation of selecting an option for the second virtual object in the transfer object list, wherein the transfer object list is triggered and displayed by a trigger operation on the first virtual item in the item container.

[0352] In some embodiments, the apparatus further includes: The status setting module is used to set the first virtual item to a pre-transfer state in response to the pre-transfer operation; The item transfer module 2303 is used to transfer the first virtual item to the second virtual object when the distance between the first virtual object and the second virtual object is less than a distance threshold and the first virtual item is in the pre-transfer state.

[0353] In some embodiments, the apparatus further includes: The marker display module is used to display a pre-transfer marker for the first virtual item when the first virtual item is in the pre-transfer state.

[0354] In some embodiments, the pre-transfer marker includes the identifier of the second virtual object.

[0355] In some embodiments, the apparatus further includes: The status cancellation module is used to cancel the pre-transfer status of the first virtual item in response to the cancellation pre-transfer operation of the first virtual item.

[0356] In some embodiments, the cancellation of the pre-transfer operation includes: A sliding operation on the first virtual item within the item container of the first virtual object.

[0357] In some embodiments, the item transfer module 2303 is used for, In response to the distance between the first virtual object and the second virtual object being less than a distance threshold, a first transfer prompt message is displayed, which prompts whether to transfer the first virtual item to the second virtual object. Upon receiving a confirmation transfer operation based on the first transfer prompt information, the first virtual item is transferred to the second virtual object; the confirmation transfer operation is an operation to confirm the transfer of the first virtual item to the second virtual object.

[0358] In some embodiments, the item transfer module 2303 is configured to display the first transfer prompt information in response to the duration during which the distance between the first virtual object and the second virtual object is less than a distance threshold for a first duration.

[0359] In some embodiments, the item transfer module 2303 is used to transfer the first virtual item to the second virtual object when it receives a confirmation transfer-out operation based on the first transfer prompt information and the terminal controlling the second virtual object receives a confirmation transfer-in operation based on the second transfer prompt information. The second transfer notification information is displayed by the terminal controlling the second virtual object, and is used to prompt whether to accept the information of the first virtual item transferred from the first virtual object; the confirmation transfer operation is an operation to confirm the acceptance of the first virtual item transferred from the first virtual object.

[0360] In some embodiments, the apparatus further includes: The control display module is used to display a prompt message to trigger the control within a second time period after receiving the confirmation transfer operation based on the first transfer prompt information, in the event that the terminal of the second virtual object has not received the confirmation transfer operation; The item transfer module 2303 is used to display the first transfer prompt information again when a trigger operation is received on the prompt information trigger control.

[0361] In some embodiments, the apparatus further includes: The control display module is used to display a prompt message and trigger the control if no confirmation of transfer is received or a rejection of transfer is received within a third time period after the first transfer prompt message is displayed. The item transfer module 2303 is used to display the first transfer prompt information again when a trigger operation is received on the prompt information trigger control.

[0362] In some embodiments, the control display module is configured to perform at least one of the following: The prompt message trigger control is displayed corresponding to the information element of the second virtual object displayed at a fixed position in the virtual environment interface; In the item container of the first virtual object, the prompt information trigger control is displayed corresponding to the first virtual item.

[0363] In some embodiments, the apparatus further includes: An action display module is used to display the interactive effect of the first virtual object transferring the first virtual item to the second virtual object during the process of transferring the first virtual item to the second virtual object; The interactive effects include at least one of the following: Interactive actions, interactive emoticons, interactive voice, interactive sound effects, and interactive user interface (UI) elements.

[0364] In some embodiments, the apparatus further includes: The drop display module is used to display the first virtual item as a dropped item in the virtual environment when the first virtual item has not been transferred and the first virtual object is eliminated in the virtual environment. The first virtual item has not been transferred, including: The first virtual item has not yet been removed from the item container of the first virtual object; or, The first virtual item has been removed from the item container of the first virtual object and has not yet been added to the item container of the second virtual object.

[0365] In some embodiments, the apparatus further includes: The prompt information display module is used to display item prompt information corresponding to the first virtual item in the virtual environment. The item prompt information is used to indicate that the first virtual item is a virtual item that the first virtual object is to be transferred to the second virtual object.

[0366] In some embodiments, the apparatus further includes: The status cancellation module is used to cancel the pre-transfer status of the first virtual item if the first virtual item has not been transferred and the second virtual object is eliminated in the virtual environment.

[0367] It should be noted that the specific limitations of the embodiments of the one or more virtual item transfer devices provided above can be found in the limitations of the virtual item transfer methods above, and will not be repeated here. Each module of the above device can be implemented entirely or partially by software, hardware, or a combination thereof. Each module can be embedded in the processor of the computer device in hardware form or independent of the processor, or it can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0368] This application also provides a computer device, which includes: a processor and a memory, wherein the memory stores a computer program; the processor is used to execute the computer program in the memory to implement the virtual item transfer method provided in the above method embodiments.

[0369] Figure 24 This is a structural block diagram of a computer device 2400 provided in an exemplary embodiment of this application.

[0370] The computer device 2400 can be a portable mobile terminal, such as a smartphone, tablet, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), or handheld game console. The computer device 2400 may also be referred to as a user device, portable terminal, or other names.

[0371] Typically, computer device 2400 includes a processor 2401 and a memory 2402.

[0372] Processor 2401 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 2401 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 2401 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 2401 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 2401 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0373] The memory 2402 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 2402 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 2402 are used to store at least one instruction, which is executed by the processor 2401 to implement the virtual item transfer method provided in the embodiments of this application.

[0374] In some embodiments, the computer device 2400 may also optionally include: a peripheral device interface 2403 and at least one peripheral device. Specifically, the peripheral device includes at least one of: a radio frequency circuit 2404, a touch display screen 2405, a camera assembly 2406, an audio circuit 2407, and a power supply 2408.

[0375] Peripheral interface 2403 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 2401 and memory 2402.

[0376] In some embodiments, the computer device 2400 further includes one or more sensors 2409. The one or more sensors 2409 include, but are not limited to, an accelerometer 2410, a gyroscope 2411, a pressure sensor 2412, an optical sensor 2413, and a proximity sensor 2414.

[0377] Those skilled in the art will understand that Figure 24 The structure shown does not constitute a limitation on the computer device 2400, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0378] In an exemplary embodiment, this application provides a chip including programmable logic circuits and / or program instructions, which, when run on a computer device, is used to implement the virtual item transfer method provided in the above method embodiments.

[0379] This application also provides a computer-readable storage medium storing a computer program, which is loaded and executed by a processor to implement the virtual item transfer method provided in the above method embodiments.

[0380] This application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the processor of the computer device to load and execute the method for transferring virtual items provided in the above-described method embodiments.

[0381] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0382] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0383] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0384] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for transferring virtual items, characterized in that, The method is performed by a computer device, and the method includes: The virtual environment interface displays the environment screen of the virtual environment, which includes at least two virtual objects. Receive a pre-transfer operation, wherein the pre-transfer operation is an operation that pre-transfers the first virtual item owned by the first virtual object to the second virtual object; Upon receiving the pre-transfer operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold, the first virtual item is transferred to the second virtual object.

2. The method according to claim 1, characterized in that, The receiving pre-transfer operation includes: Display the item container of the first virtual object, wherein the item container includes the first virtual item; Receive the pre-transfer operation performed on the first virtual item.

3. The method according to claim 2, characterized in that, The information element of the second virtual object is displayed in a fixed position in the virtual environment interface; the information element is used to display information about the virtual object. The pre-transfer operation includes: Drag the first virtual item in the item container to the designated position corresponding to the information element of the second virtual object.

4. The method according to claim 2, characterized in that, The pre-transfer operation includes: The operation of selecting an option for the second virtual object in the transfer object list, wherein the transfer object list is triggered and displayed by a trigger operation on the first virtual item in the item container.

5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: In response to the pre-transfer operation, the first virtual item is set to a pre-transfer state; Upon receiving the pre-transfer operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold, transferring the first virtual item to the second virtual object includes: If the distance between the first virtual object and the second virtual object is less than a distance threshold, and the first virtual item is in the pre-transfer state, the first virtual item is transferred to the second virtual object.

6. The method according to claim 5, characterized in that, The method further includes: When the first virtual item is in the pre-transfer state, a pre-transfer mark is displayed for the first virtual item.

7. The method according to claim 6, characterized in that, The pre-transfer marker includes the identifier of the second virtual object.

8. The method according to any one of claims 5 to 7, characterized in that, The method further includes: In response to the cancellation of the pre-transfer operation on the first virtual item, the pre-transfer state of the first virtual item is cancelled.

9. The method according to claim 8, characterized in that, The cancellation of the pre-transfer operation includes: A sliding operation on the first virtual item within the item container of the first virtual object.

10. The method according to any one of claims 1 to 9, characterized in that, Upon receiving the pre-transfer operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold, transferring the first virtual item to the second virtual object includes: In response to the distance between the first virtual object and the second virtual object being less than a distance threshold, a first transfer prompt message is displayed, which prompts whether to transfer the first virtual item to the second virtual object. Upon receiving a confirmation transfer operation based on the first transfer prompt information, the first virtual item is transferred to the second virtual object; the confirmation transfer operation is an operation to confirm the transfer of the first virtual item to the second virtual object.

11. The method according to claim 10, characterized in that, The step of displaying a first transfer prompt message in response to the distance between the first virtual object and the second virtual object being less than a distance threshold includes: When the distance between the first virtual object and the second virtual object is less than a distance threshold for a duration of a first duration, the first transfer prompt message is displayed.

12. The method according to claim 10 or 11, characterized in that, The display of the first transfer prompt information includes: The first transfer prompt information is displayed corresponding to the information element of the second virtual object displayed at a fixed position in the virtual environment interface.

13. The method according to any one of claims 10 to 12, characterized in that, Upon receiving a confirmation transfer operation based on the first transfer prompt information, transferring the first virtual item to the second virtual object includes: Upon receiving a confirmation transfer operation based on the first transfer prompt information, and the terminal controlling the second virtual object receiving a confirmation transfer operation based on the second transfer prompt information, the first virtual item is transferred to the second virtual object; The second transfer notification information is displayed by the terminal controlling the second virtual object, and is used to prompt whether to accept the information of the first virtual item transferred from the first virtual object; the confirmation transfer operation is an operation to confirm the acceptance of the first virtual item transferred from the first virtual object.

14. The method according to claim 13, characterized in that, On the terminal side controlling the second virtual object, the position of the second transfer prompt information corresponds to the position of the information element of the first virtual object.

15. The method according to claim 13 or 14, characterized in that, The method further includes: If, within a second time period after receiving the confirmation transfer operation based on the first transfer prompt information, the terminal controlling the second virtual object does not receive the confirmation transfer operation, a prompt information trigger control will be displayed; Upon receiving a trigger operation on the prompt message trigger control, the first transfer prompt message is displayed again.

16. The method according to any one of claims 10 to 14, characterized in that, The method further includes: If no confirmation of transfer is received or a rejection of transfer is received within a third time period after the first transfer prompt message is displayed, the prompt message triggers the control. Upon receiving a trigger operation on the prompt message trigger control, the first transfer prompt message is displayed again.

17. The method according to claim 15 or 16, characterized in that, The display prompt message trigger control includes at least one of the following: The prompt message trigger control is displayed corresponding to the information element of the second virtual object displayed at a fixed position in the virtual environment interface; In the item container of the first virtual object, the prompt information trigger control is displayed corresponding to the first virtual item.

18. The method according to any one of claims 1 to 17, characterized in that, The method further includes: During the process of transferring the first virtual item to the second virtual object, the interactive effect of the first virtual object transferring the first virtual item to the second virtual object is displayed; The interactive effects include at least one of the following: Interactive actions, interactive emoticons, interactive voice, interactive sound effects, and interactive user interface (UI) elements.

19. The method according to any one of claims 1 to 18, characterized in that, The method further includes: If the first virtual item has not been transferred and the first virtual object is eliminated in the virtual environment, the first virtual item will be displayed as a dropped item in the virtual environment. The first virtual item has not been transferred, including: The first virtual item has not yet been removed from the item container of the first virtual object; or, The first virtual item has been removed from the item container of the first virtual object and has not yet been added to the item container of the second virtual object.

20. The method according to claim 19, characterized in that, The method further includes: In the virtual environment, item prompt information is displayed for the first virtual item. The item prompt information is used to indicate that the first virtual item is a virtual item that the first virtual object is to be transferred to the second virtual object.

21. The method according to any one of claims 5 to 9, characterized in that, The method further includes: If the first virtual item has not been transferred and the second virtual object is eliminated in the virtual environment, cancel the pre-transfer status of the first virtual item.

22. A device for transferring virtual items, characterized in that, The device includes: A screen display module is used to display the environment screen of a virtual environment in a virtual environment interface, wherein the virtual environment includes at least two virtual objects; An operation receiving module is used to receive a pre-transfer operation, wherein the pre-transfer operation is an operation that pre-transfers the first virtual item owned by the first virtual object to the second virtual object; The item transfer module is used to transfer the first virtual item to the second virtual object after receiving the pre-transfer operation, in response to the distance between the first virtual object and the second virtual object being less than a distance threshold.

23. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one program, which is loaded and executed by the processor to implement the method for transferring virtual items as described in any one of claims 1 to 21.

24. A computer-readable storage medium, characterized in that, The storage medium stores at least one program segment, which is loaded and executed by a processor to implement the virtual item transfer method as described in any one of claims 1 to 21.

25. A computer program product, characterized in that, It includes computer instructions that, when executed by a processor, implement the method for transferring virtual items as described in any one of claims 1 to 21.