Method and device for transporting virtual assets, electronic equipment and storage medium
By controlling the movement of associated virtual objects and displaying virtual resources in the storage space in the graphical user interface, a simple resource exchange is achieved, improving the efficiency of virtual resource exchange, optimizing game efficiency, and extending device lifespan.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2026-02-10
- Publication Date
- 2026-06-16
AI Technical Summary
When the virtual character is far away from the teammate's virtual character, the resource exchange operation is cumbersome, resulting in low exchange efficiency.
The system controls the movement of associated virtual objects to the second virtual role via material delivery commands, and displays the virtual materials in the first storage space in the graphical user interface of the second terminal device. In response to transfer commands, the virtual materials are transferred to the second storage space.
It simplifies the resource exchange process, improves the efficiency of virtual resource exchange, shortens game session duration, reduces the operational burden on equipment, and extends equipment lifespan.
Smart Images

Figure CN122209063A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer processing technology, specifically to methods, apparatus, electronic devices, and storage media for transporting virtual materials. Background Technology
[0002] Currently, with the increasing variety of game genres, the resources offered in game scenarios are also becoming more abundant.
[0003] In this technology, users control virtual characters through their user accounts. When a virtual character exchanges resources with a teammate's virtual character, the virtual character places virtual resources in the game scene. The teammate's virtual character then moves to the game scene where the virtual resources are placed and picks them up, thus completing the resource exchange between the two virtual characters.
[0004] However, in the aforementioned technologies, when the distance between the virtual character and the teammate's virtual character is far, such as when the teammate's virtual character is outside the virtual character's field of vision, the virtual character needs to first inform the teammate's virtual character of the location of the virtual supplies, and then the teammate's virtual character moves to that location to pick up the virtual supplies. The supply exchange operation is cumbersome, resulting in slow supply exchange efficiency. Summary of the Invention
[0005] In view of this, this application provides a method, apparatus, electronic device and storage medium for transporting virtual goods to solve the problem of slow efficiency in goods exchange.
[0006] Firstly, this application provides a method for transporting virtual goods, the method comprising:
[0007] A first graphical user interface is provided through a first terminal device, the first graphical user interface displays a first game scene, the first game scene includes a first virtual character controlled by the first terminal device and associated virtual objects that are associated with the first virtual character; In response to a material delivery command triggered by a first terminal device, the associated virtual object is controlled to move toward a second virtual character; wherein the second virtual character and the first virtual character belong to the same faction, and the associated virtual object is configured with a first storage space, the first storage space including at least one virtual material; When a preset positional relationship is satisfied between the associated virtual object and the second virtual character, the virtual materials in the first storage space are displayed in the second graphical user interface provided by the second terminal device; In response to a transfer command triggered by the second terminal device, the virtual resources in the first storage space are transferred to the second storage space; wherein, the second storage space refers to the storage space of the second virtual character controlled by the second terminal device.
[0008] Secondly, this application provides a virtual goods transportation device, the device comprising: A first display module is configured to provide a first graphical user interface through a first terminal device. The first graphical user interface displays a first game scene, which includes a first virtual character controlled by the first terminal device and associated virtual objects that are related to the first virtual character. A mobile control module is used to control the associated virtual object to move towards a second virtual character in response to a material delivery command triggered by a first terminal device; wherein the second virtual character and the first virtual character belong to the same faction, and the associated virtual object is configured with a first storage space, the first storage space including at least one virtual material; The second display module is used to display the virtual materials of the first storage space in the second graphical user interface provided by the second terminal device when the preset positional relationship between the associated virtual object and the second virtual character is satisfied. The material transfer module is used to control the transfer of virtual materials in the first storage space to the second storage space in response to a transfer command triggered by the second terminal device; wherein, the second storage space refers to the storage space of the second virtual character controlled by the second terminal device.
[0009] Thirdly, this application provides an electronic device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the virtual material transportation method of the first aspect or any corresponding embodiment described above.
[0010] Fourthly, this application provides a computer-readable storage medium storing computer instructions for causing a computer to execute the virtual material transportation method of the first aspect or any corresponding embodiment described above.
[0011] Fifthly, this application provides a computer program product, including computer instructions for causing a computer to execute the virtual material transportation method of the first aspect or any corresponding embodiment described above.
[0012] The virtual resource transportation method provided in this application embodiment controls the movement of associated virtual objects in a first graphical user interface to a second virtual character via resource transportation instructions. This then displays the first storage space of the associated virtual object in the second graphical user interface. A transfer instruction triggered by a second terminal device controls the transfer of virtual resources from the first storage space to the second storage space. In other words, the associated virtual object stores virtual resources in the first storage space, and the resource transportation instructions control the transport of virtual resources from the associated virtual object to the second virtual character. This method is simple to operate, improves the efficiency of virtual resource exchange, and the high efficiency of resource exchange helps improve game efficiency, indirectly shortening game duration and reducing the operational burden on the device caused by excessively long game sessions. Timely release of cached information also helps improve the overall lifespan of the device. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the specific embodiments or related technologies of this application, the drawings used in the description of the specific embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0014] Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of this application; Figure 2 This is a schematic flowchart of a first method for transporting virtual goods according to an embodiment of this application; Figure 3 An exemplary first schematic diagram of a second graphical user interface is shown; Figure 4 An exemplary diagram illustrates a second type of graphical user interface; Figure 5 An exemplary schematic diagram of a first graphical user interface is shown; Figure 6 A second schematic diagram of the first graphical user interface is shown as an example; Figure 7 A third schematic diagram of the first graphical user interface is shown as an example; Figure 8 A fourth schematic diagram of the first graphical user interface is shown as an example; Figure 9 A fifth schematic diagram of the first graphical user interface is shown as an example; Figure 10 This is a schematic diagram of a second process for a virtual goods transportation method according to an embodiment of this application; Figure 11This is a schematic diagram of a third method for transporting virtual goods according to an embodiment of this application; Figure 12 An illustrative diagram illustrating how to obtain associated virtual objects is provided. Figure 13 A seventh schematic diagram of the first graphical user interface is shown as an example; Figure 14 An eighth schematic diagram of the first graphical user interface is shown as an example; Figure 15 This is a structural block diagram of a virtual material transport device according to an embodiment of this application; Figure 16 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0015] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0016] It should be noted that the information (including but not limited to user input information, such as information entered by the user into input boxes), data (including but not limited to data used for analysis, stored data, and displayed data, such as context code, all code of the current project, the service pressure corresponding to operations performed on all code of the current project, and the code development status of the current project), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with relevant laws, regulations, and standards. For example, the context code, operations performed on all code of the current project, the corresponding service pressure, and the code development status involved in this application were all obtained with full authorization.
[0017] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0018] As one optional application scenario in the embodiments of this application, such as Figure 1 As shown, the system may include at least one terminal device and at least one server. Figure 1The system is illustrated in the example, which includes a computer 101, a mobile terminal 102, and a server 103, and the terminal devices such as the computer 101 and the mobile terminal 102 are connected to the server 103 through a network 110.
[0019] Specifically, the terminal device can be a smartphone, tablet, laptop, PDA, desktop computer, game console, smart TV, smart wearable device, in-vehicle terminal, VR (Virtual Reality) device, AR (Augmented Reality) device, etc. Server 103 can be a standalone physical server, a server cluster, a distributed system, or a cloud server providing cloud services. Network 110 can be a wired or wireless network, examples of which include, but are not limited to, the Internet, corporate intranet, local area network, wide area network, mobile communication network, and combinations thereof.
[0020] For example, in this embodiment of the application, the terminal device includes an application. This application can be an application that requires downloading and installation, or an application that can be used immediately upon clicking.
[0021] For example, the aforementioned application can be any application capable of providing a game scene for virtual characters and virtual objects to interact within that scene. For instance, the application could be a game application, such as a first-person shooter (FPS), a third-person shooter (TPS), a battle royale (BR) survival game, or a multiplayer online battle arena (MOBA) game, etc. Of course, besides game applications, other types of applications can also display virtual characters to users and provide them with corresponding functions. Examples include VR applications, AR applications, 3D mapping applications, military simulation applications, social applications, and interactive entertainment applications. Optionally, the form and corresponding functions of the virtual characters provided by different applications may vary, and these can be pre-configured according to actual needs; this embodiment does not limit this.
[0022] Optionally, a virtual environment refers to a scene created for virtual objects to engage in activities (such as gaming), such as virtual houses, virtual islands, virtual maps, and virtual buildings. This game scene can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment. Optionally, the game scene can be a two-dimensional game scene, a 2.5-dimensional game scene, or a three-dimensional game scene, etc., and this application embodiment does not limit this.
[0023] Optionally, a virtual character refers to a character controlled by a user account within an application. Optionally, a virtual character can be a human figure, an animal, a cartoon character, or other forms; this embodiment does not limit this. Optionally, a virtual character can be displayed in three-dimensional or two-dimensional form; this embodiment does not limit this. Optionally, when the game scene is a three-dimensional game scene, the virtual character is a three-dimensional model created based on animation skeletal technology. Exemplarily, each virtual character has its own shape and volume in the three-dimensional game scene, occupying a portion of the space within the three-dimensional game scene.
[0024] For example, a client running the aforementioned application is located on a terminal device. The game scene is a scene displayed (or provided) by the client of the application when it runs on the terminal device. The user logs into the application based on their user account and controls the virtual character in the game scene.
[0025] For example, the aforementioned virtual characters include virtual characters belonging to the same faction and virtual characters belonging to different factions; that is, in the application, virtual characters are divided into different factions. For example, taking a shooting game as an example, ten users are matched into two teams, red and blue, with five people per team. In this case, the virtual characters in the red team belong to the same faction and are teammates, the virtual characters in the blue team belong to the same faction and are teammates, while the virtual characters in the red team belong to different factions and are enemies.
[0026] For example, different users correspond to different virtual characters. For instance, the terminal devices include a first terminal device, a second terminal device, and a third terminal device. The first terminal device runs a first client of a game application, through which the first user logs in with their first game account and controls the first virtual character to enter a game match. The second terminal device runs a second client of a game application, through which the second user logs in with their second game account and controls the second virtual character to enter a game match. The third terminal device runs a third client of a game application, through which the third user logs in with their third game account and controls the third virtual character to enter a game match. The first and second virtual characters belong to the same faction, the first and third virtual characters belong to different factions (i.e., opposing factions), and the second and third virtual characters also belong to different factions. For example, the second virtual character can be referred to as a teammate of the first virtual character, and the third virtual character can be referred to as an enemy of the first virtual character.
[0027] Optionally, the server is the backend server of the aforementioned application.
[0028] In related technologies, users control virtual characters through user accounts. When a virtual character exchanges resources with a teammate virtual character, the virtual character places virtual resources in the game scene, and the teammate virtual character moves to the game scene where the virtual resources are placed to pick them up, thus completing the resource exchange between the two virtual characters. However, in the aforementioned related technologies, when the distance between the virtual character and the teammate virtual character is large, such as when the teammate virtual character is outside the virtual character's field of vision, the virtual character needs to first inform the teammate virtual character of the location of the virtual resources, and then the teammate virtual character moves to that location to pick up the virtual resources. This resource exchange operation is cumbersome and results in slow resource exchange efficiency. Furthermore, in this application, a resource transport command is used to control the associated virtual object to move towards a second virtual character to transport virtual resources to the second virtual character. This operation is simple and improves the efficiency of virtual resource exchange. Below, the virtual resource search method provided in this application will be specifically described with reference to the embodiments of this application.
[0029] According to an embodiment of this application, a method for transporting virtual goods is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0030] This embodiment provides a method for transporting virtual goods, which can be used in the above-mentioned server (or, in the interaction scenario between the first client of the first terminal device and the second client of the second terminal device). Figure 2 This is a flowchart of a virtual goods transportation method according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps: Step S201: Provide a first graphical user interface through the first terminal device.
[0031] In this embodiment, the server (or the first client) provides a first graphical user interface (GUI) through a first terminal device. This GUI displays a first game scene, which includes a first virtual character controlled by the first terminal device and associated virtual objects related to the first virtual character.
[0032] Optionally, the associated virtual object refers to a virtual object with the function of transporting supplies. For example, the associated virtual object can be at least one of a virtual vehicle, a virtual item, or a virtual companion. A virtual companion is a non-player character (NPC).
[0033] Step S202: In response to a material delivery instruction triggered by the first terminal device, control the associated virtual object to move to the second virtual role.
[0034] In this embodiment, the server (or the first client) responds to a material movement operation triggered by the first terminal device, controlling the associated virtual object to move towards the second virtual character. The second virtual character and the first virtual character belong to the same faction.
[0035] For example, in this embodiment of the application, the associated virtual object is configured with a first storage space, which includes at least one virtual resource. Optionally, the associated virtual object also has a resource search function. For example, in response to a search command, the first client searches for the existence of a target virtual object within a preset range of the associated virtual object; further, when a target virtual object exists, the client controls the associated virtual object to perform a resource search to display the marking information of the virtual resource, which is used to characterize the position of the virtual resource in the game scene. Here, the search command refers to a search command for virtual resources triggered by the first user controlling the first virtual character; the preset range is a range pre-set by the designer. For example, the preset range can be flexibly set and adjusted according to the actual situation. For example, the preset range is a circular range of 200 meters around the associated virtual object. For example, in response to a search command, when the first storage space meets the first preset condition, the first client controls the search for the existence of a target virtual object within the preset range of the associated virtual object; further, when a target virtual object exists, the client controls the associated virtual object to perform a resource search to display the marking information of the virtual resource. For example, the first preset condition is that there is remaining virtual material storage space in the first storage space.
[0036] For example, in this embodiment of the application, during the process of the associated virtual object moving to the second virtual character, the server marks the associated virtual object with the marking information of the second virtual character. For example, the marking information of the second virtual character includes, but is not limited to, at least one of the following: the name of the second virtual character, the avatar of the second virtual character, the serial number of the second virtual character, the color corresponding to the second virtual character, etc.
[0037] For example, such as Figure 3 As shown, the server displays the first virtual character 31 and the associated virtual object 32 through the first terminal device. During the process of the associated virtual object moving to the second virtual character, the server marks the associated virtual object with the marking information of the second virtual character (the color (black) corresponding to the second new character) 33.
[0038] Step S203: When the preset positional relationship is satisfied between the associated virtual object and the second virtual character, the virtual materials in the first storage space are displayed in the second graphical user interface provided by the second terminal device.
[0039] In this embodiment, when a preset positional relationship is satisfied between the associated virtual object and the second virtual character, the server (or the second client) displays the virtual resources in the first storage space through a second graphical user interface provided by the second terminal device. The preset positional relationship means that the distance between the associated virtual object and the second virtual character is less than a distance threshold. For example, the distance threshold can be any value and can be flexibly set and adjusted according to actual circumstances.
[0040] For example, the second graphical user interface includes a backpack viewing control.
[0041] For example, when the second virtual character and the associated virtual object satisfy a preset positional relationship, the server (or the second client) displays the backpack viewing control in a third display style. At this time, the backpack viewing control in the third display style is used to invoke and display the second storage space and the first storage space, where the second storage space refers to the storage space of the second virtual character controlled by the second terminal device. For example, as... Figure 4 As shown, the server (or the second client) invokes and displays the second storage space 42 and the first storage space 43 through the backpack viewing control 41 with the third display style.
[0042] For example, if a preset positional relationship is not satisfied between the second virtual character and its associated virtual character, the server (or the second client) displays the backpack viewing control in a fourth display style. In this case, the backpack viewing control in the fourth display style is used to invoke and display the second storage space.
[0043] Step S204: In response to a transfer command triggered by the second terminal device, control the transfer of virtual materials in the first storage space to the second storage space.
[0044] In this embodiment, the server (or the second client) responds to a transfer command triggered by the second terminal device, controlling the transfer of virtual resources from the first storage space to the second storage space. The second storage space refers to the storage space of the second virtual character controlled by the second terminal device.
[0045] For example, the first storage space includes multiple first item slots, which are used to display virtual resources stored by the associated virtual object; the second storage space includes multiple third item slots, which are used to display virtual resources owned by the second virtual character but not stored in the first storage space. For example, in response to a second operation on a first item slot, the server (or the second client) transfers the virtual resources stored in the first item slot to the third item slot. Optionally, the second operation is a click operation (including single or multiple clicks), a long press operation, a drag operation, etc. The second operation on the first item slot is a transfer instruction triggered by the second terminal device.
[0046] The virtual resource transportation method provided in this embodiment controls the movement of associated virtual objects in the first graphical user interface to the second virtual character via resource transportation commands. The second graphical user interface then displays the first storage space of the associated virtual objects. A transfer command triggered by the second terminal device controls the transfer of virtual resources from the first storage space to the second storage space. In other words, the associated virtual objects store virtual resources in the first storage space, and the resource transportation commands control the transport of virtual resources from the associated virtual objects to the second virtual character. This method is simple to operate, improves the efficiency of virtual resource exchange, and the high efficiency of resource exchange helps improve game efficiency, indirectly shortening game duration and reducing the operational burden on the device caused by excessively long game sessions. Timely release of cached information also helps improve the overall lifespan of the device.
[0047] In addition, during the process of the associated virtual object moving to the second virtual character, the associated virtual object is marked with the marking information of the second virtual character. That is, by marking the associated virtual object, the recipient of the material delivery can be identified intuitively and accurately, and effective information of the game can be grasped in a timely manner, which helps to shorten the game time and thus reduce the operating burden on the device caused by excessively long game sessions.
[0048] In an exemplary embodiment, step S202 includes: Step S2021: Display the material delivery control in the first graphical user interface.
[0049] In this embodiment of the application, before the supplies are delivered, the server (or the first client) displays a supplies delivery control in a first graphical user interface. This supplies delivery control is used to summon the identification information of at least one virtual teammate.
[0050] In one possible implementation, a material delivery control is displayed via a first control. Exemplarily, in this embodiment, the server (or first client) displays a first control for an associated virtual object in a first graphical user interface; further, the material delivery control is displayed in response to a first operation on the first control. Optionally, the first operation is a click operation, a long press operation, a drag operation, etc. Exemplarily, such as... Figure 5 and Figure 6 As shown, a first control 51 is displayed in the first graphical user interface; in response to a first operation on the first control 51, a layer of wheel 61 is displayed, which includes a material transport control 62.
[0051] In another possible implementation, a supplies delivery control is displayed via a backpack viewing control. Exemplarily, in this embodiment, the server (or the first client) displays a backpack viewing control for a first virtual character in a first graphical user interface; further, in response to a first operation on the backpack viewing control of the first virtual character, a first storage space and a supplies delivery control are displayed. The first storage space includes multiple first item slots, which are used to display virtual supplies stored by the associated virtual object. Exemplarily, such as... Figure 7 As shown, a backpack viewing control 71 for a first virtual character is displayed in the first graphical user interface; in response to a first operation on the backpack viewing control 71, a first storage space 72 and a material delivery control 73 are displayed.
[0052] Optionally, the backpack viewing control has a third display style and a fourth display style. For example, the server (or the first client) displays the backpack viewing control in the first graphical user interface; further, when the first virtual character and the associated virtual object satisfy a preset positional relationship, the backpack viewing control is displayed in the third display style, in which case the backpack viewing control in the third display style is used to summon and display the third storage space and the first storage space; when the first virtual character and the associated virtual character do not satisfy a preset positional relationship, the backpack viewing control is displayed in the fourth display style, in which case the backpack viewing control in the fourth display style is used to summon and display the third storage space.
[0053] For example, the first graphical user interface also includes a second control for controlling a virtual character to ride an associated virtual object, i.e., the associated virtual object has the function of a virtual vehicle. For example, the second control includes a first sub-control and a second sub-control. Figure 5 As shown, the associated virtual object corresponds to the first control 51, the first sub-control 52, and the second sub-control 53.
[0054] For example, in response to an operation on the first sub-control, the server (or the first client) controls the first virtual character to ride in the associated virtual object as the main driver, the main driver's identity being used to indicate that the first virtual character has driving functions for the associated virtual object; further, in response to the first virtual character's driving operation for the associated virtual object, the server controls the associated virtual object to move carrying the first virtual character based on the driving operation.
[0055] For example, in response to an operation on the second sub-control, the server (or the first client) controls the first virtual character to ride in the associated virtual object as a non-driver, whereby the non-driver identity indicates that the first virtual character does not have driving capabilities for the associated virtual object. At this time, if the first client detects a driving operation by the first virtual character on the associated virtual object, it does not respond to the driving operation and keeps the associated virtual object stationary.
[0056] Step S2022, in response to the first operation on the material delivery control, display the identification information of at least one virtual teammate.
[0057] In the embodiment of this application, after displaying the aforementioned supply delivery control, the server (or the first client) responds to a first operation on the supply delivery control by displaying identification information for at least one virtual teammate. This at least one virtual teammate includes a second virtual character. Exemplarily, the identification information for a virtual teammate includes, but is not limited to, at least one of the following: the virtual teammate's serial number, the virtual object's health, the virtual teammate's name, and the virtual object's delivery control, etc.
[0058] For example, in this embodiment of the application, if the distance between the virtual teammate and the first virtual character is greater than a target value, the server (or the first client) displays the identification information of the virtual teammate in a first display style. The first display style is used to indicate that the virtual teammate is outside the material delivery range of the associated virtual object.
[0059] For example, in this embodiment of the application, if the distance between the virtual teammate and the first virtual character is less than or equal to the aforementioned target value, the server (or the first client) displays the identification information of the virtual teammate in a second display style. The second display style is used to indicate that the virtual teammate is within the material delivery range of the associated virtual object.
[0060] For example, the target value can be any value, and it can be flexibly set and adjusted according to the actual situation.
[0061] For example, when displaying the material delivery control via the first control, such as Figure 6 and Figure 8 As shown, in response to a first operation on the material delivery control 62, a second-level wheel 81 is displayed. This second-level wheel 81 includes identification information 82 of virtual teammates displayed in a first display style, and identification information 83 of virtual teammates displayed in a second display style. For example, as... Figure 8 As shown, the second-level roulette 81 also includes a return control 84, which, in response to a first operation on the return control 84, allows the user to return from the second-level roulette 81 to the first-level roulette 61.
[0062] For example, when the supplies delivery control is displayed via the backpack view control, such as Figure 7 and Figure 9 As shown, in response to a first operation on the material delivery control 73, the identification information 91 of the virtual teammate is displayed in a first display style, and the identification information 92 of the virtual teammate is displayed in a second display style.
[0063] In step S2023, in response to the first operation on the identification information of the second virtual character, a material delivery instruction for the second virtual character is generated.
[0064] In this embodiment of the application, after displaying the identification information of the aforementioned virtual teammate, the server (or the first client) responds to the first operation targeting the identification information of the second virtual character, generating a material delivery instruction for the second virtual character. For example, as shown... Figure 9 As shown, in response to the first operation of motion control 93 in the identification information of the second virtual character (virtual object 2), a material delivery instruction for the second virtual character is generated.
[0065] For example, in this embodiment, the server (or the first client) responds to a first operation on the identification information of the second virtual character. If virtual resources exist in the first storage space, a resource delivery instruction is generated for the second virtual character; if no virtual resources exist in the first storage space, a first reminder message is displayed. The first reminder message prompts the first virtual character to store virtual resources in the first storage space. Optionally, when the resource delivery control is displayed via the first control, the first storage space is simultaneously displayed when the first reminder message is displayed. Optionally, when the resource delivery control is displayed via the backpack viewing control, since the first storage space is already displayed in the first graphical user interface, it is not necessary to reopen the first storage space when displaying the first reminder message; only the first reminder message needs to be displayed.
[0066] For example, in this embodiment of the application, the server (or the first client) displays a third storage space in a first graphical user interface. The third storage space refers to the storage space of the first virtual character, and includes multiple second item slots. These second item slots are used to display virtual items owned by the first virtual character but not stored in the first storage space. Further, in response to a second operation on a second item slot, the server (or the first client) transfers the virtual items stored in the second item slot to the first item slot.
[0067] For example, to highlight relevant information, when virtual items stored in the second item slot are moved to the first item slot, and the virtual items in the second item slot are displayed in the character's inventory window, the server (or the first client) marks and displays the border of the first storage space; further, when virtual items stored in the second item slot are moved to the first storage space, the server (or the first client) marks and displays each first item slot. For example, the marking is not highlighted.
[0068] For example, to save display space, the server (or the first client) responds to a first operation on the second item slot by canceling the display of the first storage window and displaying description information of the virtual items stored in the second item slot in the display area of the first storage space; or, in response to a first operation on the window collapse control, cancels the display of the first storage space. For example, as Figure 9 As shown, in response to a first operation on the window collapse control 74, the first storage space 72 is canceled from display.
[0069] Step S2024: In response to the material delivery instruction, control the associated virtual object to move to the second virtual role.
[0070] In this embodiment of the application, upon receiving the aforementioned material transportation instruction, the server (or the first client) responds to the aforementioned material transportation instruction and controls the associated virtual object to move to the second virtual character.
[0071] For example, during the movement of the associated virtual object, if a first storage space is displayed in the first graphical user interface, the first storage space will remain displayed if the distance between the associated virtual object and the first virtual character is less than a target threshold; further, if the distance between the associated virtual object and the first virtual character is greater than or equal to the target threshold, the first storage space will be dedisplayed. For example, the target threshold can be any value, and can be flexibly set and adjusted according to actual circumstances.
[0072] The virtual resource transportation method provided in this embodiment displays the identification information of at least one virtual teammate through a resource movement control, and then controls the associated virtual object to transport resources to the second virtual character through a first operation targeting the identification information of the second virtual character, flexibly selecting the recipient of the virtual resources and improving the freedom of virtual resource exchange.
[0073] In addition, the backpack view control displays the first storage space and the material transportation control. This means that while displaying the material transportation control, the virtual materials in the first storage space can be displayed intuitively, allowing for timely monitoring of the virtual materials in the first storage space. This facilitates timely and reasonable adjustments to the virtual materials (i.e., virtual materials to be transported) in the first storage space, thereby improving the efficiency of virtual material exchange.
[0074] In addition, if virtual materials exist in the first storage space, the associated virtual object can be identified as having the ability to send material transport instructions. Conversely, if no virtual materials exist in the first storage space, a first reminder message is displayed to prompt the first virtual character to store virtual materials in the first storage space. Timely material storage reminders help improve the efficiency of subsequent material exchange. Furthermore, empty packages (where no virtual materials are stored in the first storage space) are not transported, which helps reduce the computational overhead caused to the equipment by invalid material transport and reduces the transport burden on the equipment.
[0075] In addition, by using different identifiers to distinguish whether virtual teammates are within the supply delivery range of associated virtual objects, the direct and accurate range determination not only enriches the interface display, but also improves the selection efficiency of the second virtual character, thereby indirectly improving the subsequent delivery efficiency of virtual supplies.
[0076] In addition, the function of the backpack viewing control is determined by the preset positional relationship. When the first virtual character and the associated virtual object meet the preset positional relationship, the backpack viewing control can simultaneously display the third storage space and the first storage space. The operation is simple and improves the display efficiency of the storage space, which in turn helps to improve the efficiency of subsequent material transfer and material exchange based on the storage space.
[0077] This embodiment provides a method for transporting virtual goods, which can be used in the above-mentioned server (or, the interaction scenario between the first client of the first terminal device and the third client of the third terminal device). Figure 10 This is a flowchart of a virtual goods transportation method according to an embodiment of this application, such as... Figure 10 As shown, the process includes the following steps: Step S1001: Provide a first graphical user interface through the first terminal device.
[0078] Step S1002: In response to a material delivery instruction triggered by the first terminal device, control the associated virtual object to move to the second virtual role.
[0079] The above steps S1001-1002 and Figure 2 Steps S201-202 in the embodiment are similar; see details below. Figure 2 Examples are not detailed here.
[0080] Step S1003: Provide a third graphical user interface through a third terminal device.
[0081] In this embodiment, the server (or a third client) provides a third graphical user interface (GUI) through a third terminal device. The third GUI displays a third game scene, which includes a third virtual character, and this third virtual character is in a different faction from the first virtual character.
[0082] Optionally, during the movement of the associated virtual object, if the associated virtual object moves into the field of view of the third virtual character, the server (or the third client) displays the associated virtual object in the third graphical user interface, and the associated virtual object is marked by the marking information of the second virtual character.
[0083] In step S1004, during the process of the associated virtual object moving to the second virtual role, in response to the target interaction operation from the third virtual role targeting the associated virtual object, the virtual resources in the first storage space are controlled to be acquired.
[0084] In this embodiment of the application, during the process of the associated virtual object moving to the second virtual role, the server (or the third client) responds to the target interactive operation of the third virtual role on the associated virtual object and controls the acquisition of virtual materials in the first storage space.
[0085] For example, in response to a target interaction operation from a third virtual character regarding an associated virtual object, the server (or a third client) controls the adjustment of the associated virtual object from its current state to a target state. Further, in the target state, in response to a space viewing operation for the associated virtual object in the target state, the server controls the display of virtual resources in the first storage space. Further, in response to a transfer command triggered by a third terminal device, the server controls the transfer of virtual resources from the first storage space to a fourth storage space, enabling the third virtual character to access the virtual resources in the first storage space. Here, the fourth storage space refers to the storage space of the third virtual character controlled by the third terminal device.
[0086] For example, the fourth storage space includes multiple fourth item slots, which are used to display virtual resources owned by the third virtual character but not stored in the first storage space. For example, in response to a second operation on the first item slot, the server (or the third client) generates a transfer instruction triggered by a third terminal device; further, in response to the transfer instruction triggered by the third terminal device, it controls the transfer of virtual resources from the first storage space to the fourth storage space.
[0087] In one possible implementation, the target interaction is an attack operation, the current state is a state where health is not zero, and the target state is a state where health is zero. For example, in response to an attack operation from a third virtual character targeting an associated virtual object, the server (or a third client) controls the adjustment of the associated virtual object from a state where health is not zero to a state where health is zero; further, in the state where health is zero, in response to a resource viewing operation targeting the associated virtual object in the state of zero health, the server controls the display of virtual resources in the first storage space; further, in response to a transfer command triggered by a third terminal device, the server controls the transfer of virtual resources in the first storage space to a fourth storage space, enabling the third virtual character to access the virtual resources in the first storage space.
[0088] In another possible implementation, the target interactive operation is, as described below, the execution of an interactive behavior that meets preset conditions for the associated virtual object. The current state is the associated state for the first virtual character, and the target state is the associated state for the third virtual character. For example, in response to an interactive behavior from the third virtual character that meets preset conditions for the associated virtual object, the server (or third client) controls the adjustment of the associated virtual object from the associated state for the first virtual character to the associated state for the third virtual character. Further, in the associated state for the third virtual character, in response to a material viewing operation for the associated virtual object in the associated state for the third virtual character, the server controls the display of virtual materials in the first storage space. Further, in response to a transfer command triggered by the third terminal device, the server controls the transfer of virtual materials in the first storage space to the fourth storage space, enabling the third virtual character to access the virtual materials in the first storage space.
[0089] For example, when displaying virtual materials in the first storage space through the material viewing operation, the server (or the third client) directly displays the first storage space to display the virtual materials in the first storage space; or, the virtual materials in the first storage space are displayed in the form of a pick list.
[0090] For example, as the associated virtual object moves towards the second virtual character, an icon of the associated virtual object is displayed in the map display window. Optionally, the map display window includes a first map display window in a first graphical user interface, a second map display window in a second graphical user interface, and a third map display window in a third graphical user interface.
[0091] The virtual resource transportation method provided in this embodiment enables the third virtual character to acquire virtual resources in the first storage space through target interaction operations of the third virtual character on the associated virtual object. Moreover, the third virtual character and the first virtual character are in different camps. The resource grabbing during the resource transportation process increases the freedom of the game and enhances the strategic nature of the game.
[0092] This embodiment provides a method for transporting virtual goods, which can be used in the above-mentioned server (or, in the interaction scenario between the first client of the first terminal device and the second client of the second terminal device). Figure 11 This is a flowchart of a virtual goods transportation method according to an embodiment of this application, such as... Figure 11 As shown, the process includes the following steps: Step S1101: Provide a first graphical user interface through the first terminal device.
[0093] Step S1102: In response to a material delivery instruction triggered by the first terminal device, control the associated virtual object to move to the second virtual character.
[0094] Step S1103: When the preset positional relationship is satisfied between the associated virtual object and the second virtual character, the virtual materials in the first storage space are displayed in the second graphical user interface provided by the second terminal device.
[0095] Step S1104: In response to a transfer command triggered by the second terminal device, control the transfer of virtual materials in the first storage space to the second storage space.
[0096] The above steps S1101-1104 and Figure 2 Steps S201-204 in the embodiment are similar; see details below. Figure 2 Examples are not detailed here.
[0097] Step S1105: If the associated virtual object and the second virtual character satisfy the preset positional relationship, determine that the associated virtual object moves to the destination.
[0098] In this embodiment of the application, when the associated virtual object and the second virtual character satisfy a preset positional relationship, the server (or the second client) determines that the associated virtual object moves to the destination.
[0099] Step S1106: If the duration of the associated virtual object's stay at the destination reaches a preset duration, control the associated virtual object to return to the starting point before the material delivery or to a position that satisfies a preset positional relationship with the current position of the first virtual character.
[0100] In this embodiment, if the associated virtual object stays at the destination for a preset duration, the server (or the second client) controls the associated virtual object to return to its starting point before the material delivery or to a position that satisfies a preset positional relationship with the current position of the first virtual character. For example, as... Figure 4 As shown, when the associated virtual object moves to its destination, the second graphical user interface displays relevant information 44 for a preset duration.
[0101] For example, the preset duration can be any value, and the preset duration can be flexibly set and adjusted according to the actual situation.
[0102] For example, during the stay of the associated virtual object at the destination, the server (or the second client) controls the transfer of virtual items from the second storage space to the first storage space in response to a transfer instruction triggered by the second terminal device. For example, the server (or the second client) transfers virtual items stored in the third item slot to the first item slot in response to a second operation on the third item slot.
[0103] For example, if the associated virtual object stays at the destination for a preset duration, the server (or the second client) controls the associated virtual object to move towards the first virtual character. Further, if a preset positional relationship is satisfied between the associated virtual object and the first virtual character, the server (or the first client), in response to a first operation on the backpack viewing control for a third display style, displays a first storage space and a third storage space in a first graphical user interface; further, in response to a second operation on the first item slot, it transfers the virtual resources stored in the first item slot to the second item slot, allowing the first virtual character to view or obtain the virtual resources reported by the second virtual character through the first storage space.
[0104] The virtual resource transportation method provided in this embodiment constrains the dwell time of the associated virtual object towards the second virtual character by setting a preset duration. When the dwell time reaches the preset duration, the associated virtual object automatically returns to the starting point or the vicinity of the first virtual character. That is, a single resource transportation can not only realize the transportation of virtual resources from the first virtual character to the second virtual character, but the second virtual character can also use the preset duration to move virtual resources towards the first virtual character. One resource transportation involves two resource exchanges, which further improves the exchange efficiency of virtual resources.
[0105] The method for obtaining the associated virtual object is described below. This method for obtaining the associated virtual object can be used by the first client of the first terminal device or the server mentioned above (hereinafter referred to as the first client), such as... Figure 12 As shown, it specifically includes: Step S1201: Display the virtual object.
[0106] A virtual object refers to any virtual object that has not been associated with the first virtual character. In this embodiment, the first client displays the virtual object.
[0107] Optionally, the virtual object corresponds to a target area, which includes at least one virtual object. For example, the first client displays an interactive reward control, which is used to invoke and display interactive reward information, representing the total reward obtained by performing an interactive action that meets preset conditions; further, in response to the first virtual character being in the target area, a first prompt message and interactive reward information are displayed, the first prompt message reminding the first virtual character to enter the target area; further, when the first virtual character is in the target area, in response to a first operation on the interactive reward control, the display of interactive reward information is canceled, and gameplay instructions for the target area are displayed; further, when the first virtual character is located in the interactive area of a virtual object, the virtual object and its corresponding interactive control are displayed.
[0108] Optionally, the target area may correspond to a level information. For example, if the target area includes rare virtual objects, a first-level prompt is displayed, indicating that the target area is a high-level area; if the target area does not include rare virtual objects, a second-level prompt is displayed, indicating that the target area is a normal area. Rare virtual objects refer to virtual objects whose probability of appearing in a single game is less than a specific value. For example, this specific value can be any value and can be flexibly set and adjusted according to actual circumstances.
[0109] Optionally, when the first virtual character is located on the spawn island, the first client displays the locations of various target areas in the aforementioned map display window; when the first virtual character is moving away from the spawn island, the first client displays the location of the target area closest to the first virtual character in the map display window. The spawn island refers to the virtual environment in which the first virtual character is located when matched into a game but not yet engaged in that game.
[0110] Step S1202: In response to performing an interactive behavior that meets preset conditions on the virtual object, establish an association between the virtual object and the first virtual character.
[0111] In this embodiment, after displaying the virtual object, the first client, in response to performing an interactive action on the virtual object that meets preset conditions, establishes an association between the virtual object and the first virtual character. For example, the preset condition is successful interaction. For example, the interactive action includes the first virtual character's interactive action on the virtual object and / or the teammate virtual character's interactive action on the virtual object. The teammate virtual character includes the aforementioned second virtual character.
[0112] For example, in response to a first operation on an interactive control, the first client controls a first virtual character to ride a virtual object to enter an interaction process, and displays an interaction indicator icon to represent the interaction progress of the first virtual character with respect to the virtual object. Further, if the first operation of the first virtual character with respect to the interactive control meets preset conditions, the display style of the interaction indicator icon is changed to indicate an increase in interaction progress, and first text information is displayed to indicate that the first operation of the interactive control meets preset conditions. If the first operation of the first virtual character with respect to the interactive control does not meet preset conditions, the display style of the interaction indicator icon remains unchanged. Further, if the number of first operations meeting preset conditions reaches a first threshold, the first client determines that the interaction of the first virtual character with respect to the virtual object is successful, and displays second text information to indicate that the interaction of the first virtual character with respect to the virtual object is successful; further, the display style of the interaction benefit information is changed to indicate an increase in total benefit. If the number of first operations not meeting preset conditions reaches a second threshold, the first client determines that the interaction of the first virtual character with respect to the virtual object has failed, exits the interaction process, and displays third text information to indicate that the interaction of the first virtual character with respect to the virtual object has failed. For example, the preset condition is that when the distance between the edge of the aperture and the edge of the interactive control is less than a distance threshold, the first operation on the interactive control is triggered, and the aperture is displayed around the interactive control.
[0113] For example, the threshold for the first count can be any value, and the threshold for the first count can be flexibly set and adjusted according to the actual situation.
[0114] For example, during the process of changing the display style of the aforementioned interactive revenue information to represent an increase in total revenue, a dynamic effect of increased revenue is displayed, and this dynamic effect has a corresponding display duration. The display duration can be any value and can be flexibly set and adjusted according to actual circumstances.
[0115] Optionally, the aforementioned preset conditions also include leaving the target area. For example, when performing an interactive action that satisfies the preset conditions on a virtual object, if the virtual object has a resource search function, and the first virtual character drives the virtual object away from the target area, the first client establishes an association between the virtual object and the first virtual character; if the virtual object has a resource search function, and the first virtual character does not drive the virtual object away from the target area, the first client, in response to the first virtual character's stop-load operation on the virtual object, cancels the display of the virtual object; if the virtual object does not have a resource search function, the first client cancels the display of the virtual object.
[0116] One point to note is that the above is an introduction to the method of establishing association from the perspective of the first virtual character. In actual application, the teammate virtual characters of the first virtual character can also establish an association between the first virtual character and the virtual object through the above process. That is, the association of virtual objects belongs to the shared resources of the same team.
[0117] For example, such as Figure 13 and 14 As shown, the first client displays a virtual object 131 and an interactive control 132; further, in response to a first operation on the interactive control 132, the first virtual character 133 is controlled to ride the virtual object 131 to enter the interaction process, and an interactive indicator icon 141 is displayed; further, if the first operation on the interactive control is triggered when the distance between the edge of the aperture 142 and the edge of the interactive control 132 is less than a distance threshold, it is determined that the first operation of the first virtual character on the interactive control meets the preset conditions, and the display style of the interactive indicator icon 141 is changed; further, if the number of first operations that meet the preset conditions reaches the first threshold, it is determined that the first virtual character 133 has successfully interacted with the virtual object 131; further, if the virtual object 131 has a resource search function and the first virtual character 133 drives the virtual object 131 away from the target area, it is determined that an interactive behavior that meets the preset conditions is executed on the virtual object 131, and an association relationship is established between the virtual object 131 and the first virtual character 133; at the same time, since the association relationship belongs to the shared resources of the same team, an association relationship is established between the virtual object 131 and the teammate virtual characters of the first virtual character 133.
[0118] It should be noted that the above section introduced the material transportation function of associated virtual objects. The following section introduces the material search function of associated virtual objects.
[0119] For example, a method for searching virtual resources can be used in a first client of the first terminal device or the server described above. The first terminal device provides a first graphical user interface (GUI), which displays a first game scene. The first game scene includes a first virtual character and associated virtual objects related to the first virtual character, specifically including: Step S1: In response to the search command, search for whether the target virtual object exists within the preset range of associated virtual objects.
[0120] In this embodiment of the application, the first client provides a first graphical user interface through a first terminal device. The first graphical user interface displays a first game scene, which includes a first virtual character controlled by the first terminal device and associated virtual objects that are related to the first virtual character.
[0121] In this embodiment, the first client responds to a search command by searching for the existence of a target virtual object within a preset range associated with the virtual object. The search command refers to a search command for virtual resources triggered by the first user controlling the first virtual character; the preset range is a range pre-set by the designer. For example, the preset range can be flexibly set and adjusted according to actual conditions. For instance, the preset range can be a circular area of 200 meters around the associated virtual object.
[0122] Step S2: When a target virtual object exists, display the marking information of the virtual material.
[0123] In this embodiment, when a target virtual object exists, the first client displays the marking information of the virtual resource. This marking information is used to characterize the location of the virtual resource within the game scene.
[0124] Optionally, the target virtual object includes, but is not limited to, at least one of the following: virtual resources, virtual characters, virtual companions, etc. In one possible implementation, the target virtual object is a virtual resource; in response to a search command, the first client displays the virtual resource's tag information when the virtual resource exists within a preset range. In another possible implementation, the target virtual object is both a virtual character and virtual resources; in response to a virtual operation, the first client displays the virtual resource's tag information when both a virtual character and virtual resources exist simultaneously within a preset range.
[0125] In one possible implementation, the associated virtual character remains stationary during resource searching. For example, when a target virtual object is present, the first client controls the associated virtual character to remain stationary and search for resources within a preset range. Upon completion of the resource search, the virtual resource's marker information is displayed. It should be noted that the associated virtual object can be configured with animations associated with specific states; for example, during resource searching, it can move around in place or nearby.
[0126] In another possible implementation, the associated virtual character moves to search for resources. For example, when a target virtual object exists, the first client controls the associated virtual object to move from a first position; further, when the associated virtual object returns to the first position, the resource search is considered complete, and the virtual resource's marker information is displayed. Optionally, the first position can be the current position of the associated virtual object or the current position of the first virtual character. During the process of the associated virtual object moving to search for resources, the search can be conducted by detecting whether virtual resources exist within a preset search range determined by the real-time position of the associated virtual object.
[0127] Optionally, if the target virtual object does not exist, the first client determines that a resource search cannot be performed and displays a target prompt message. This target prompt message indicates that the resource search corresponding to the search command failed, meaning the search command did not find any virtual resources.
[0128] The virtual resource search method provided in this embodiment automatically controls associated virtual objects to search for resources through search commands, displaying the marking information of virtual resources. This method is simple to operate, saves time, and improves the efficiency of virtual resource search. Furthermore, the high efficiency of resource search is beneficial to improving game efficiency, indirectly shortening game duration and reducing the operational burden on the device caused by excessively long game sessions. Timely release of cached information helps extend the overall lifespan of the device. Moreover, the search process is divided into two steps: a coarse search first detects whether a target virtual object exists within a preset range. If a target virtual object exists, a further refined search is performed to obtain the marking information of the virtual resources. Conversely, if no target virtual object exists within the preset range, no further refined search is required, which helps reduce the computational overhead during the resource search process.
[0129] For example, the above-mentioned method for searching virtual resources also includes: Step S3: Display the progress indicator icon corresponding to the search command.
[0130] In this embodiment, when a target virtual object exists, the first client displays a progress indicator icon corresponding to the search command. This progress indicator icon represents the search progress corresponding to the search command. Specifically, during the resource search process, the progress indicator icon changes with the search duration.
[0131] Optionally, different material types correspond to different progress indicator icons. For example, in this embodiment, when displaying the progress indicator icon corresponding to a search command, the progress indicator icon indicated by the material type is displayed. The material type is included in the aforementioned search command.
[0132] For example, the types of supplies include virtual weapons, virtual first aid kits, and virtual vehicles.
[0133] For example, when the aforementioned process indicator icon stops changing, it indicates that the resource search is complete, and the first client displays the virtual resource's tagging information.
[0134] The virtual resource search method provided in this embodiment intuitively displays the resource search progress corresponding to the search command through a process indicator icon. During the resource search process, the process indicator changes with the search duration, reducing the anxiety of waiting during the resource search process.
[0135] In addition, different types of resources have different progress indicator icons, which represent the type of virtual resources being searched, making the content displayed on the interface richer.
[0136] For example, the above-mentioned method for searching virtual resources also includes: Step S4: Display the material search control corresponding to the associated virtual object.
[0137] The resource search control is used to invoke and display at least one type selection control. In this embodiment, before performing a resource search, the first client displays the resource search control corresponding to the associated virtual object.
[0138] Step S5, in response to the first operation on the material search control, displays at least one type selection control.
[0139] In this embodiment of the application, the first client displays at least one type selection control in response to an operation on the material search control.
[0140] Step S6: In response to the operation on the type selection control, generate a search instruction.
[0141] In this embodiment, after displaying the type selection control, the first client generates the search instruction in response to the operation on the type selection control. The search instruction includes the material type corresponding to the type selection control.
[0142] Step S7: Display the second control corresponding to the associated virtual object.
[0143] Optionally, the first graphical user interface further includes a second control, which is used to control the virtual character to ride on the associated virtual object, that is, the associated virtual object has the function of a virtual vehicle.
[0144] In this embodiment of the application, before performing a resource search, the first client displays a second control corresponding to the associated object.
[0145] Step S8: In response to the operation on the second control, control the first virtual character to ride the associated virtual object.
[0146] It should be noted that because the associated virtual object functions as a virtual vehicle, the search for virtual resources becomes more flexible. For example, in response to a driving operation on the associated virtual object, the first client controls the associated virtual object to move to a corresponding second location; further, in response to the aforementioned search command, a resource search is performed at that second location.
[0147] The virtual resource search method provided in this embodiment displays at least one type selection control through the resource search control, and then selects the resource type corresponding to the search command through the type selection control. While improving the search efficiency of virtual resources, it also allows users to select the currently needed resource type to search according to the situation, thereby improving the search flexibility of virtual resources.
[0148] In addition, the second control enables the first virtual character to ride associated virtual objects, meaning that associated virtual objects have both resource search and riding functions, which increases the richness of associated virtual objects and thus improves the flexibility of the game.
[0149] For example, when a target virtual object exists, step S2 above includes: Step S21: Obtain the search results for the materials corresponding to the search command.
[0150] In this embodiment, when a target virtual object exists, the first client obtains the resource search results corresponding to the search command. The resource search results include the location information of at least one virtual resource, and the acquisition time of each virtual resource. The acquisition time refers to the moment when the virtual resource was found.
[0151] Step S22: Based on the location information of each virtual resource and the acquisition time of each virtual resource, display the tag information of the searched virtual resources.
[0152] In this embodiment of the application, after obtaining the above-mentioned search results for materials, the first client displays the tagging information of the searched virtual materials based on the location information of each virtual material and the acquisition time of each virtual material.
[0153] In one possible implementation, after obtaining the search results for the materials, the first client obtains the location information of the subsequently searched virtual materials based on the time of acquisition of each virtual material; further, based on the location information of the subsequently searched virtual materials, it displays the tag information of the subsequently searched virtual materials.
[0154] In another possible implementation, to reduce device cache pressure and improve the efficiency of displaying tagging information, during the resource search process, when the first client obtains a newly found virtual resource, it discards the previously found virtual resource and records the location information of the newly found virtual resource. In this case, the resource search results only include the location information of the virtual resource, without needing to record the acquisition time. Afterwards, after obtaining the aforementioned resource search results, the first client directly displays the tagging information of the virtual resource based on the location information of the virtual resource included in the resource search results.
[0155] For example, the first client displays the tagging information of the n virtual resources found after the search. Here, n is a positive integer, and the value of n can be flexibly set and adjusted according to the actual situation, such as 1, 2, 3, etc.
[0156] Optionally, for the marking information, different virtual characters correspond to different display information, and different material types correspond to different display information. The display information is used to characterize the display style of the marking information. For example, in this embodiment, when displaying the marking information, the first client obtains the first display information corresponding to the first virtual character and the second display information corresponding to the material type; further, based on the first and second display information, the display style of the marking information is determined. For example, the first display information is used to characterize the display color of the marking information, and the second display information is used to characterize the display pattern of the marking information.
[0157] Optionally, when displaying the marking information of virtual resources, the first client displays the marking information of virtual resources in both the first game scene and the first map display window. The first map display window is used to display the virtual environment in which the first virtual character is currently located.
[0158] The type of supplies can be a broad category, such as functional types like bullets and medicines. It can also be a more specific category, such as small-caliber bullets or fast-healing medicines. Furthermore, it can be a specific type of supply, such as the specific attributes of items like 5mm bullets, first-aid kits, and tourniquets.
[0159] Optionally, the marking information corresponds to a marking duration. For example, in this embodiment, the first client cancels the display of the marking information when the display duration reaches the specified duration. The marking duration can be any length and can be flexibly set and adjusted according to actual circumstances, such as 20 seconds, 30 seconds, 40 seconds, etc. Alternatively, in this embodiment, the marking information is canceled when other virtual characters pick up virtual resources. These other virtual characters include the first virtual character, the second virtual character, and a third virtual character belonging to a different faction than the first virtual character. For example, picking up virtual resources includes, but is not limited to, at least one of the following: storing virtual resources in storage space, using virtual resources, or grabbing virtual resources into one's hand.
[0160] The virtual resource search method provided in this embodiment displays the tag information of the searched virtual resources through the resource search results. That is, the display of tag information is constrained based on the acquisition time of the virtual resources, so as to avoid the interface display clutter caused by too much tag information and improve the interface cleanliness.
[0161] In addition, by using the first display information corresponding to the first virtual character and the second display information corresponding to the resource type, the display style of the marking information can be determined. That is, based on the marking information, the virtual character that triggered the search command and the type of resource searched can be determined at the same time. While improving the richness of the interface, the marking information displayed intuitively can help to grasp more effective game information, which is conducive to reducing the game time from the side.
[0162] In addition, by constraining the marking information by marking duration or whether it is picked up, and promptly canceling the display of marking information, it is beneficial to improve the cleanliness of the interface. Moreover, on the one hand, the marking information corresponds to the marking duration, and on the other hand, the searched virtual resources can still be picked up by other virtual characters, which helps to maintain the balance of the game and indirectly improves the strategic nature of the game.
[0163] Specifically, the methods for searching for virtual resources also include: Step S9: The first client sends the search results for the materials corresponding to the search command to the second terminal device.
[0164] In this embodiment of the application, after obtaining the above-mentioned material search results, the first client sends the material search results corresponding to the above-mentioned search instruction to the second terminal device.
[0165] In step S10, the second terminal device displays the tagging information of virtual materials based on the material search results.
[0166] In this embodiment of the application, after obtaining the above-mentioned material search results, the second terminal device displays the tagging information of virtual materials based on the material search results.
[0167] It should be noted that, for the second virtual character and the first virtual character, since the virtual character and the type of material corresponding to the above search command are the same, the marking information displayed by the second client has the same display style (including display color, display pattern, etc.) as the marking information displayed by the first client.
[0168] The virtual resource search method provided in this embodiment allows the second terminal device to display the marked information of the virtual resources searched by the first virtual character in the second graphical user interface through the resource search results corresponding to the search command. Furthermore, since the second virtual character and the first virtual character belong to the same faction, the marked information obtained after the search is shared among teammates, which promotes communication and cooperation among teammates, improves the interactivity between teammates, and helps to increase user stickiness.
[0169] This embodiment also provides a virtual goods transportation device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0170] This embodiment provides a virtual material transportation device, such as... Figure 15 As shown, it includes: The first display module 1501 is used to provide a first graphical user interface through a first terminal device. The first graphical user interface displays a first game scene, and the first game scene includes a first virtual character controlled by the first terminal device and associated virtual objects that are associated with the first virtual character. The mobile control module 1502 is used to control the associated virtual object to move to the second virtual character in response to a material transportation command triggered by the first terminal device; wherein the second virtual character and the first virtual character belong to the same faction, the associated virtual object is configured with a first storage space, and the first storage space includes at least one virtual material; The second display module 1503 is used to display virtual materials in the first storage space in the second graphical user interface provided by the second terminal device when a preset positional relationship is satisfied between the associated virtual object and the second virtual character. The material transfer module 1504 is used to control the transfer of virtual materials in the first storage space to the second storage space in response to a transfer command triggered by the second terminal device; wherein, the second storage space refers to the storage space of the second virtual character controlled by the second terminal device.
[0171] In some alternative implementations, the motion control module 1502 includes: A control display unit is used to display material transportation controls in the first graphical user interface; The identification display unit is configured to display identification information of at least one virtual teammate in response to a first operation on the material delivery control; wherein the at least one virtual teammate includes a second virtual character; The role selection unit is used to generate a material delivery instruction for the second virtual character in response to a first operation on the identification information of the second virtual character. The movement control unit is used to control the movement of the associated virtual object to the second virtual role in response to a material delivery command.
[0172] In some alternative implementations, the control display unit is used for: In the first graphical user interface, a first control for the associated virtual object is displayed; In response to the first action on the first control, display the material delivery control.
[0173] In some alternative implementations, the control display unit is used for: In the first graphical user interface, a backpack viewing control for the first virtual character is displayed; In response to a first operation of the backpack viewing control for the first virtual character, a first storage space and a material delivery control are displayed; wherein, the first storage space includes multiple first item slots, which are used to display the virtual materials stored by the associated virtual object.
[0174] In some alternative implementations, the role selection unit is used for: In response to a first operation on the identification information of the second virtual character, if virtual resources exist in the first storage space, a resource delivery instruction for the second virtual character is generated. In response to a first operation targeting the identification information of the second virtual character, if there are no virtual resources in the first storage space, a first reminder message is displayed; wherein, the first reminder message is used to prompt the first virtual character to store virtual resources in the first storage space.
[0175] In some alternative implementations, the identification display unit is used for: If the distance between the virtual teammate and the first virtual character is greater than the target value, the identification information of the virtual teammate is displayed in the first display style; wherein, the first display style is used to indicate that the virtual teammate is outside the material delivery range of the associated virtual object; If the distance between the virtual teammate and the first virtual character is less than the target value, the identification information of the virtual teammate is displayed in the second display style; wherein, the second display style is used to indicate that the virtual teammate is within the material transportation range of the associated virtual object.
[0176] In some alternative embodiments, the apparatus further includes: The object tagging module is used to tag the associated virtual object with the tagging information of the second virtual character during the process of the associated virtual object moving to the second virtual character.
[0177] In some alternative embodiments, the apparatus further includes: The third display module provides a third graphical user interface through a third terminal device. The third graphical user interface displays a third game scene, which includes a third virtual character. The third virtual character is in a different faction from the first virtual character. The object interaction module is used to control the acquisition of virtual resources in the first storage space in response to the target interaction operation of the third virtual role on the associated virtual object during the process of the associated virtual object moving to the second virtual role.
[0178] In some alternative embodiments, the apparatus further includes: The object stopping module is used to determine that the associated virtual object moves to the destination when a preset positional relationship is satisfied between the associated virtual object and the second virtual character; The object return module is used to return the associated virtual object to the starting position before the material delivery or to a position that satisfies a preset positional relationship with the current position of the first virtual character when the associated virtual object stays at the destination for a preset duration.
[0179] In some alternative embodiments, the apparatus further includes: The backpack display module is used to display the third storage space in the first graphical user interface; wherein, the third storage space refers to the storage space of the first virtual character, and the third storage space includes multiple second item slots, which are used to display virtual resources owned by the first virtual character but not stored in the first storage space; The item transfer module is used to respond to a second operation on the second item slot and transfer the virtual resources stored in the second item slot to the first item slot.
[0180] In some alternative embodiments, the apparatus further includes: The backpack viewing module is used to display backpack viewing controls in the first graphical user interface; The first viewing module is used to display the backpack viewing control in a third display style when the first virtual character and the associated virtual object meet the preset positional relationship; wherein, the backpack viewing control in the third display style is used to summon and display the third storage space and the first storage space; The second viewing module is used to display the backpack viewing control in a fourth display style when the preset positional relationship between the first virtual character and the associated virtual character is not met; wherein, the backpack viewing control in the fourth display style is used to summon and display the third storage space.
[0181] The virtual material transportation device provided in this application can execute the virtual material transportation method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0182] Figure 16 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0183] The following is a detailed reference. Figure 16 The diagram illustrates a structural schematic suitable for implementing the electronic device described in the embodiments of this application. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 1601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1602 or a program loaded from memory 1608 into random access memory (RAM) 1603. The RAM 1603 also stores various programs and data required for the operation of the electronic device. The processor 1601, ROM 1602, and RAM 1603 are interconnected via a bus 1604. An input / output (I / O) interface 1605 is also connected to the bus 1604.
[0184] Typically, the following devices can be connected to the I / O interface 1605: input devices 1606 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1607 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; memory devices 1608 including, for example, magnetic tape, hard disk, etc.; and communication devices 1609. Communication device 1609 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 16 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0185] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 1609, or installed from a memory 1608, or installed from a ROM 1602. When the computer program is executed by the processor 1601, it performs the functions defined in the virtual goods transportation method of embodiments of this application.
[0186] Figure 16 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0187] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the virtual goods transportation method shown in the above embodiments is implemented.
[0188] For example, the electronic device is the target terminal device.
[0189] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0190] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A method for transporting virtual goods, characterized in that, The method includes: A first graphical user interface is provided through a first terminal device, the first graphical user interface displays a first game scene, the first game scene includes a first virtual character controlled by the first terminal device and associated virtual objects that are associated with the first virtual character; In response to a material delivery command triggered by a first terminal device, the associated virtual object is controlled to move toward a second virtual character; wherein the second virtual character and the first virtual character belong to the same faction, and the associated virtual object is configured with a first storage space, the first storage space including at least one virtual material; When a preset positional relationship is satisfied between the associated virtual object and the second virtual character, the virtual materials in the first storage space are displayed in the second graphical user interface provided by the second terminal device; In response to a transfer command triggered by the second terminal device, the virtual resources in the first storage space are transferred to the second storage space; wherein, the second storage space refers to the storage space of the second virtual character controlled by the second terminal device.
2. The method according to claim 1, characterized in that, The step of controlling the associated virtual object to move to the second virtual character in response to a material delivery command triggered by the first terminal device includes: Display material delivery controls in the first graphical user interface; In response to a first operation on the material delivery control, identification information of at least one virtual teammate is displayed; wherein, the at least one virtual teammate includes the second virtual character; In response to a first operation on the identification information of the second virtual character, a material delivery instruction for the second virtual character is generated; In response to the material delivery instruction, control the associated virtual object to move toward the second virtual character.
3. The method according to claim 2, characterized in that, The step of displaying the material delivery controls in the first graphical user interface includes: In the first graphical user interface, a first control for the associated virtual object is displayed; In response to a first operation on the first control, the material delivery control is displayed.
4. The method according to claim 2, characterized in that, The step of displaying the material delivery controls in the first graphical user interface includes: In the first graphical user interface, a backpack viewing control for the first virtual character is displayed; In response to a first operation of the backpack viewing control for the first virtual character, the first storage space and the material delivery control are displayed; wherein, the first storage space includes a plurality of first item slots, the first item slots being used to display the virtual materials stored by the associated virtual object.
5. The method according to claim 2, characterized in that, The first operation in response to the identification information of the second virtual character, generating a material delivery instruction for the second virtual character, includes: In response to a first operation on the identification information of the second virtual character, if virtual resources exist in the first storage space, a resource delivery instruction for the second virtual character is generated. In response to a first operation targeting the identification information of the second virtual character, if there are no virtual resources in the first storage space, a first reminder message is displayed; wherein, the first reminder message is used to prompt the first virtual character to store virtual resources in the first storage space.
6. The method according to claim 2, characterized in that, The display of identification information for at least one virtual teammate includes: If the distance between the virtual teammate and the first virtual character is greater than the target value, the identification information of the virtual teammate is displayed in a first display style; wherein, the first display style is used to indicate that the virtual teammate is outside the material delivery range of the associated virtual object; If the distance between the virtual teammate and the first virtual character is less than the target value, the identification information of the virtual teammate is displayed in a second display style; wherein, the second display style is used to indicate that the virtual teammate is within the material transportation range of the associated virtual object.
7. The method according to claim 1, characterized in that, The method further includes: During the process of the associated virtual object moving towards the second virtual character, the associated virtual object is marked with the marking information of the second virtual character.
8. The method according to claim 1, characterized in that, A third graphical user interface is provided through a third terminal device. The third graphical user interface displays a third game scene. The third game scene includes a third virtual character. The third virtual character is in a different faction from the first virtual character. During the process of the associated virtual object moving towards the second virtual character, in response to a target interactive operation from the third virtual character targeting the associated virtual object, the system controls the acquisition of virtual resources in the first storage space.
9. The method according to claim 1, characterized in that, The method further includes: If the preset positional relationship is satisfied between the associated virtual object and the second virtual character, the associated virtual object is determined to move to the destination; If the associated virtual object stays at the destination for a preset duration, the associated virtual object returns to the starting point before the material delivery or to a position that satisfies the preset positional relationship with the current position of the first virtual character.
10. The method according to claim 1, characterized in that, The method further includes: In the first graphical user interface, a third storage space is displayed; wherein, the third storage space refers to the storage space of the first virtual character, and the third storage space includes a plurality of second item slots, which are used to display virtual resources owned by the first virtual character but not stored in the first storage space; In response to a second operation on the second item slot, the virtual resources stored in the second item slot are transferred to the first item slot.
11. The method according to claim 1, characterized in that, The method further includes: In the first graphical user interface, a backpack viewing control is displayed; When the first virtual character and the associated virtual object satisfy the preset positional relationship, the backpack viewing control is displayed in a third display style; wherein, the backpack viewing control in the third display style is used to summon and display the third storage space and the first storage space; If the preset positional relationship is not satisfied between the first virtual character and the associated virtual character, the backpack viewing control is displayed in a fourth display style; wherein, the backpack viewing control in the fourth display style is used to summon and display the third storage space.
12. A virtual goods transport device, characterized in that, The device includes: A first display module is configured to provide a first graphical user interface through a first terminal device. The first graphical user interface displays a first game scene, which includes a first virtual character controlled by the first terminal device and associated virtual objects that are related to the first virtual character. A mobile control module is used to control the associated virtual object to move towards a second virtual character in response to a material delivery command triggered by a first terminal device; wherein the second virtual character and the first virtual character belong to the same faction, and the associated virtual object is configured with a first storage space, the first storage space including at least one virtual material; The second display module is used to display the virtual materials of the first storage space in the second graphical user interface provided by the second terminal device when the preset positional relationship between the associated virtual object and the second virtual character is satisfied. The material transfer module is used to control the transfer of virtual materials in the first storage space to the second storage space in response to a transfer command triggered by the second terminal device; wherein, the second storage space refers to the storage space of the second virtual character controlled by the second terminal device.
13. An electronic device, characterized in that, include: A memory and a processor are communicatively connected, the memory storing computer instructions, and the processor executing the computer instructions to perform the method for transporting virtual materials as described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the method of transporting virtual materials as described in any one of claims 1 to 11.
15. A computer program product, characterized in that, Includes computer instructions for causing a computer to perform a method for transporting virtual goods as described in any one of claims 1 to 11.