Virtual resource item sharing method, storage medium and electronic device

By providing a graphical user interface and shared storage space in multiplayer online competitive games, the problem of cumbersome resource exchange process in the existing technology is solved, convenient sharing and efficient resource management of virtual resource items is realized, and game experience and team collaboration efficiency are improved.

CN119770955APending Publication Date: 2025-04-08NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411866560.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

In multiplayer online competitive games, the existing backpack management system cannot directly support the exchange and sharing of resources among team members, resulting in cumbersome resource exchange process and reducing the efficiency of teamwork and gaming experience.

Method used

By providing a graphical user interface, when detecting virtual resource items that meet preset conditions, a prompt window is displayed and allows players to store target item identifications in a shared storage space, achieving convenient sharing of virtual resource items.

Benefits of technology

It realizes convenient sharing of virtual resource items among team members, simplifies the resource exchange process, improves resource management efficiency and game experience, and improves team collaboration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119770955A_ABST
    Figure CN119770955A_ABST
Patent Text Reader

Abstract

The present application discloses a method for sharing virtual resource items, a storage medium, and an electronic device. The method comprises: in response to detecting a virtual resource item that meets a preset condition, displaying a first prompt window in a graphical user interface, wherein the first prompt window is used to provide an item identifier of the virtual resource item; in response to a control operation for a target item identifier in the first prompt window, storing the target virtual resource item corresponding to the target item identifier in a shared storage space, wherein the shared storage space is used to store virtual resource items shared by a first virtual game character and a second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp. The present application solves the technical problems in the related art that when sharing game resources between team members, the operation process is cumbersome and the game experience is poor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to a virtual resource item sharing method, storage medium and electronic device. Background Art

[0002] In multiplayer online competitive games, resource management is one of the key factors for players' survival and victory. The backpack management system in the related art is usually implemented by the backpack management interface of the player character. The player character usually manually accesses resources in the game or in battle, but in multiplayer online competitive games, the backpack management system can only realize the storage and management of personal resources, and cannot directly support the exchange and sharing of resources among team members. When team members need to exchange resources, the process is usually very cumbersome. Specifically, the player first needs to communicate with teammates through in-game chat or voice communication tools to clarify the type and quantity of required resources. Then the player holding the resources must manually discard the items in the game scene, and the other player picks up the items from the ground, thereby completing the transfer of resources. Furthermore, due to the limited backpack space, when the capacity of the backpack is insufficient, even if the teammates are in urgent need of certain resources, the player cannot pick them up for the teammates and directly provide help. Therefore, the inconvenience of resource exchange and sharing mechanisms in existing games not only reduces the efficiency of teamwork, but also affects the game experience of players.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] At least some embodiments of the present application provide a virtual resource item sharing method, storage medium and electronic device to at least solve the technical problems in the related art of sharing game resources between team members, such as complicated operation process and poor gaming experience.

[0005] According to one embodiment of the present application, a method for sharing virtual resource items is provided, wherein a graphical user interface is provided through a terminal device, the content displayed by the graphical user interface includes a virtual game scene, and the content displayed by the virtual game scene includes a first virtual game character. The method for sharing virtual resource items includes: in response to detecting a virtual resource item that meets a preset condition, displaying a first prompt window in the graphical user interface, wherein the first prompt window is used to provide an item identification of the virtual resource item; in response to a control operation on a target item identification in the first prompt window, storing a target virtual resource item corresponding to the target item identification in a shared storage space, wherein the shared storage space is used to store virtual resource items shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

[0006] According to one embodiment of the present application, a method for sharing virtual resource items is also provided, including: a first client, in response to detecting a virtual resource item that meets a preset condition, displays a first prompt window in a graphical user interface corresponding to a first virtual game character, and in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier in a shared storage space, wherein the first prompt window is used to provide an item identifier of the virtual resource item, and the shared storage space is used to store virtual resource items shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp; the second client, in response to a resource allocation operation on the shared storage space, allocates the virtual resource item to the second virtual game character.

[0007] According to one embodiment of the present application, a virtual resource item sharing device is provided, which provides a graphical user interface through a terminal device, the content displayed by the graphical user interface includes a virtual game scene, and the content displayed by the virtual game scene includes a first virtual game character. The virtual resource item sharing device includes: a display module, which is used to display a first prompt window in the graphical user interface in response to detecting a virtual resource item that meets a preset condition, wherein the first prompt window is used to provide an item identification of the virtual resource item; a storage module, which is used to respond to a control operation on a target item identification in the first prompt window, and store a target virtual resource item corresponding to the target item identification in a shared storage space, wherein the shared storage space is used to store virtual resource items shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

[0008] According to one embodiment of the present application, a virtual resource item sharing device is also provided, including: a processing module, used by a first client to display a first prompt window in a graphical user interface corresponding to a first virtual game character in response to detecting a virtual resource item that meets a preset condition, and to store a target virtual resource item corresponding to the target item identifier in a shared storage space in response to a control operation on a target item identifier in the first prompt window, wherein the first prompt window is used to provide an item identifier of the virtual resource item, and the shared storage space is used to store virtual resource items shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp; an allocation module, used by a second client to allocate virtual resource items to the second virtual game character in response to a resource allocation operation on the shared storage space.

[0009] According to one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned virtual resource item sharing method in each embodiment of the present application when running.

[0010] According to one embodiment of the present application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the above-mentioned virtual resource item sharing method in each embodiment of the present application.

[0011] According to another aspect of the embodiments of the present application, a computer program product is also provided, including a computer program, which implements the above-mentioned virtual resource item sharing method in each embodiment of the present application when being processed and executed.

[0012] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned virtual resource item sharing method in each embodiment of the present application is implemented.

[0013] According to another aspect of the embodiments of the present application, a computer program is also provided. When the computer program is executed by a processor, the above-mentioned virtual resource item sharing method in each embodiment of the present application is implemented.

[0014] In at least some embodiments of the present application, in response to detecting a virtual resource item that meets a preset condition, a first prompt window is displayed in a graphical user interface, and then in response to a control operation for a target item identifier in the first prompt window, the target virtual resource item corresponding to the target item identifier is stored in a shared storage space, thereby enabling the first virtual game character and the second virtual game character belonging to the same game camp to conveniently share virtual resource items through a shared storage space, further promoting the reasonable allocation and efficient use of game resources, and improving team collaboration efficiency. Through intelligent resource identification and simplified sharing operations, the virtual resource item sharing method in the embodiments of the present application achieves the purpose of efficiently sharing game resources, thereby achieving the technical effects of simplifying the resource exchange process, improving resource management efficiency, and enhancing the game experience, thereby solving the technical problems of cumbersome operation process and poor game experience when sharing game resources between team members in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0016] Figure 1 It is a hardware structure block diagram of a mobile terminal of a virtual resource item sharing method according to one embodiment of the present application;

[0017] Figure 2 is a flow chart of a virtual resource item sharing method according to one embodiment of the present application;

[0018] Figure 3 is a schematic diagram of a first prompt window according to one embodiment of the present application;

[0019] Figure 4 is a schematic diagram of space capacity information according to one embodiment of the present application;

[0020] Figure 5 is a schematic diagram of a shared storage space according to one embodiment of the present application;

[0021] Figure 6 is a schematic diagram of another shared storage space according to one embodiment of the present application;

[0022] Figure 7 is a schematic diagram of a second prompt window according to one embodiment of the present application;

[0023] Figure 8 is a schematic diagram of a third prompt window according to one embodiment of the present application;

[0024] Fig. 9 is a schematic diagram of a fourth prompt window according to one embodiment of the present application;

[0025] Fig.10 is a flow chart of a virtual resource item sharing method according to one embodiment of the present application;

[0026] Fig.11 is a structural block diagram of a virtual resource item sharing device according to one embodiment of the present application;

[0027] Fig.12 is a structural block diagram of another virtual resource item sharing device according to one embodiment of the present application;

[0028] Fig.13 is a schematic diagram of an electronic device according to one embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] The above method embodiments involved in the present disclosure can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, the mobile terminal can be a smart phone, a tablet computer, a handheld computer, a mobile Internet device, a PAD, a game console and other terminal devices. Figure 1 1 is a hardware structure block diagram of a mobile terminal of a virtual resource item sharing method according to an embodiment of the present application. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a field-programmable logic device (FPGA), a neural network processor (NPU), a tensor processing unit (TPU), an artificial intelligence (AI) type processor, etc.) and a memory 104 for storing data. In one embodiment of the present application, it may also include: an input and output device 108 and a display device 110.

[0032] In some optional embodiments mainly based on game scenarios, the above-mentioned device can also provide a human-computer interaction interface with a touch-sensitive surface, which can sense finger contact and / or gestures to perform human-computer interaction with a graphical user interface (GUI). The human-computer interaction function may include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interface, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or readable storage medium executable by one or more processors.

[0033] Those skilled in the art will understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0034] According to one embodiment of the present application, an embodiment of a method for sharing virtual resource items is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0035] Figure 2 is a flow chart of a virtual resource item sharing method according to one embodiment of the present application, wherein a graphical user interface is provided through a terminal device, and the content displayed by the graphical user interface includes a virtual game scene, and the content displayed by the virtual game scene includes a first virtual game character, such as Figure 2 As shown, the method comprises the following steps:

[0036] Step S21, in response to detecting a virtual resource item that meets a preset condition, displaying a first prompt window in the graphical user interface, wherein the first prompt window is used to provide an item identification of the virtual resource item;

[0037] Step S22, in response to the control operation on the target item identifier in the first prompt window, the target virtual resource item corresponding to the target item identifier is stored in the shared storage space, wherein the shared storage space is used to store the virtual resource items shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

[0038] The above-mentioned virtual resource items may be virtual items that can be obtained and used by the first virtual game character or the second virtual game character in a multiplayer online competitive game, including but not limited to virtual weapons and equipment, medical supplies, defensive equipment, equipment accessories, throwing objects and other consumables. For example, virtual weapons and equipment may include rifles, sniper rifles, pistols and their corresponding ammunition; medical supplies may include first aid kits, bandages, energy drinks, which are used to restore health or improve status; defensive equipment may include armor and helmets, which can provide additional protection; equipment accessories may include scopes, stocks, grips, which can improve the performance of virtual equipment; throwing objects may include grenades, smoke bombs, flash bombs, etc.

[0039] The above-mentioned preset conditions may be a series of rules pre-set in the game system for determining whether the virtual resource items in the backpack meet the sharing standard. For example, the preset conditions may include but are not limited to: resource overflow detection conditions, resource type and quantity limitation conditions, team member resource demand conditions, resource timeliness conditions, resource distance conditions, etc.

[0040] Exemplarily, when the number of certain virtual resource items in the backpack of the first virtual game character exceeds the personal backpack capacity limit, or exceeds the average demand within the team, it can be determined that the virtual resource items meet the resource overflow detection conditions, thereby triggering the display of the first prompt window to provide a sharing prompt for the virtual resource items.

[0041] Exemplarily, by pre-setting specific resource types and quantities as sharing conditions, when the first virtual game character picks up medicines exceeding a certain quantity, or the ammunition type does not match its own weapon, it can be determined that the above virtual item resources meet the resource type and quantity limitation conditions, thereby triggering the display of the first prompt window to provide a sharing prompt for the virtual resource items.

[0042] Exemplarily, sharing conditions are pre-set based on the current resource holdings of team members. If the number of resources held by the second virtual game character is lower than a safety threshold, and the first virtual game character has sufficient virtual resource items, it is determined that the virtual resource items meet the resource demand conditions of the team members, thereby triggering the display of the first prompt window to provide a sharing prompt for the virtual resource items.

[0043] For example, for virtual resource items with time limits, such as throwing objects that are temporarily useless but may be needed in the future, or first aid kits that are about to expire, a first prompt window can be displayed when the resource timeliness conditions are met to prompt the player to store them in the shared storage space.

[0044] Exemplarily, when it is detected that there is a virtual resource item to be picked up within a preset range near the first virtual game character, it is determined that the virtual resource item meets the resource distance condition, thereby triggering the display of the first prompt window to provide a sharing prompt for the virtual resource item.

[0045] The first prompt window is used to provide the item identification of the virtual resource item, including but not limited to: item type, item quantity, item description, operation prompts and interactive buttons. The item identification can be the name or icon of the virtual resource item, which is used to clearly identify the specific type of the virtual resource item. The item quantity can be the number of virtual resource items that can be picked up or selected at present; the item description can include a basic description of the virtual resource item, including but not limited to the purpose, function or effect of the virtual resource item. The operation prompt includes a player operation guide, for example, it can prompt the player how to store the virtual resource item into the shared storage space, how to confirm the pickup of the virtual resource item, how to use the virtual resource item, etc. The interactive button can usually be a confirmation, cancel or special function button, such as "deposit into backpack pool", "use", "discard", etc., allowing the player to manage or use the virtual resource item.

[0046] Furthermore, in response to the control operation on the target item identifier in the first prompt window, the target virtual resource item corresponding to the target item identifier is stored in the shared storage space. The above control operation can be an interactive operation performed by the player on the target item identifier in the first prompt window to store or manage the virtual resource item in the shared storage space. The control operation can be a variety of touch or keyboard commands, depending on the user interface design of the game or application, including but not limited to: drag and drop operation, click operation, shortcut key operation, sliding operation, etc.

[0047] Exemplarily, by long pressing the target item identifier in the first prompt window, dragging it to the icon or specific area of ​​the shared storage space, such as the shared backpack pool, release the finger to complete the storage of the corresponding target virtual resource item. Exemplarily, by clicking the target item identifier in the first prompt window, a confirmation dialog box can pop up to ask the player whether to confirm that the target virtual resource item is stored in the shared storage space, and the player can click the confirmation button again to complete the operation. Exemplarily, the target virtual resource item corresponding to the target item identifier is quickly selected through a pre-set shortcut key and stored in the shared storage space. Exemplarily, the player can also slide from the target item identifier in the direction of the shared storage space to complete the storage operation of the target virtual resource item.

[0048] The above-mentioned shared storage space is used to store virtual resource items shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp. The shared storage space can be a virtual space for all team members to use together in a multiplayer game, and can be specifically in the form of a "shared backpack pool", "team warehouse" or "guild warehouse" for storing and managing virtual resource items within the team. The shared storage space can promote resource exchange between team members and improve team collaboration efficiency.

[0049] Exemplarily, the data storage of the shared storage space is usually completed on the server side to ensure the consistency and security of the data. Whenever a virtual resource item is deposited or withdrawn, the server will update the data of the storage space and synchronize it to all relevant players. On each player's client interface, a special area can be set to display the content of the shared storage space. Players can see which virtual resource items are currently in the shared storage space, as well as the quantity of each virtual resource item, and can select the required virtual resource items from it. The shared storage space can also adopt a permission control mechanism to ensure that only team members in the same game camp can access virtual resource items to prevent unauthorized access, and can further set additional permission management, such as the captain or a specific role can manage the item allocation of the shared storage space. The shared storage space also includes an intelligent allocation mechanism that automatically allocates specific items according to player needs or team strategies, reduces manual operations, and improves resource utilization efficiency. The user interface of the shared storage space needs to be intuitive and easy to use, usually displaying different types of virtual resource items in the form of icons, and providing buttons or interaction points for functions such as deposit, withdrawal, and intelligent allocation.

[0050] Figure 3 is a schematic diagram of a first prompt window according to one embodiment of the present application, such as Figure 3 As shown, when there are 90 rifle bullets to be picked up within a preset range near the first virtual game character, a first prompt window is displayed. In the first prompt window, the player controlling the first virtual game character can be prompted to pick up the rifle bullets and store them in the shared backpack pool by right dragging.

[0051] Based on the above steps S21 to S22, in response to detecting a virtual resource item that meets the preset conditions, a first prompt window is displayed in the graphical user interface, and then in response to the control operation for the target item identifier in the first prompt window, the target virtual resource item corresponding to the target item identifier is stored in the shared storage space, thereby enabling the first virtual game character and the second virtual game character belonging to the same game camp to conveniently share virtual resource items through the shared storage space, further promoting the reasonable allocation and efficient use of game resources, and improving team collaboration efficiency. Through intelligent resource identification and simplified sharing operations, the virtual resource item sharing method in the embodiment of the present application achieves the purpose of efficiently sharing game resources, thereby achieving the technical effects of simplifying the resource exchange process, improving resource management efficiency, and enhancing the game experience, thereby solving the technical problems of cumbersome operation process and poor game experience when sharing game resources between team members in the related technology.

[0052] The following is a further introduction to the virtual resource item sharing method in the embodiment of the present application.

[0053] Optionally, in step S22, in response to a control operation on the target item identifier in the first prompt window, storing the target virtual resource item corresponding to the target item identifier in the shared storage space includes:

[0054] Step S221, in response to a control operation on a target item identifier in the first prompt window, controlling the target item identifier to move along an operation track of the control operation;

[0055] Step S222, in response to detecting that the target item identifier moves into the target display area, storing the target virtual resource item corresponding to the target item identifier into the shared storage space.

[0056] Specifically, the player can control the target object identifier through touch, mouse, game controller or other input devices, such as dragging, clicking and dragging the target object identifier with a finger or mouse, and after recognizing the control operation and making a corresponding response, the target object identifier begins to move along the operation trajectory of the control operation.

[0057] The target display area is an area in the graphical user interface that represents the shared storage space. For example, the target display area may be an icon or window of a "shared backpack pool". When it is detected that the target item identifier has moved into the target display area, the corresponding target virtual resource item may be stored in the shared storage space.

[0058] Based on the above optional embodiments, by responding to the control operation on the target item identifier in the first prompt window, the target item identifier is controlled to move along the operation trajectory of the control operation, and then in response to detecting that the target item identifier moves into the target display area, the target virtual resource item corresponding to the target item identifier is stored in the shared storage space, thereby significantly improving the efficiency and convenience of virtual resource item management and team collaboration in the game scene.

[0059] Optionally, the target display area is displayed synchronously with the first prompt window, or the target display area is displayed under the triggering of a control operation.

[0060] For example, in response to detecting a virtual resource item that meets the preset conditions, the first prompt window and the target display area are displayed synchronously. The target display area is usually located in a position that is easy for the player to identify and operate, so that the player can immediately see and identify the area where the item can be stored while viewing the item information, so that the player can seamlessly perform a drag-and-drop operation to store the target virtual resource item in the shared storage space. The synchronous display method reduces the steps for the player to find the target display area and improves the consistency and efficiency of the operation.

[0061] For example, the target display area will not appear at the same time as the first prompt window by default, but will be dynamically displayed when the player performs a control operation. When the player selects the target item identifier in the first prompt window and starts dragging, the target display area can dynamically appear or enlarge according to the dragging direction and position to guide the player to store the item into the shared storage space, thereby increasing the dynamics and interactivity of the user interface, while also reducing the clutter of the interface, making the game screen clearer and more concise when there is no need to store or access items.

[0062] Based on the above optional embodiments, by flexibly setting the display timing of the target display area, players can quickly and easily store the target virtual resource items into a shared storage space to promote team collaboration and optimal allocation of resources, further optimize the item management process, reduce the number of operating steps, and enhance the gaming experience and team combat efficiency.

[0063] Optionally, the virtual resource item sharing method in the embodiment of the present application further includes: displaying space capacity information of the shared storage space in the graphical user interface, wherein the space capacity information is used to indicate the remaining capacity of the shared storage space.

[0064] Specifically, displaying the space capacity information of the shared storage space in the graphical user interface can enhance the user's sense of control and transparency over resource management. Space capacity information usually includes the total capacity and current remaining capacity of the shared storage space. The intuitive display of space capacity information helps players better understand the storage status of resources, thereby making more reasonable item management and strategic decisions.

[0065] Exemplarily, the space capacity information of the shared storage space may be presented in the following display modes, but is not limited to: capacity grid number display, digital information display, color coding display, dynamic prompt display, and mixed display combining icons and text.

[0066] Figure 4 is a schematic diagram of space capacity information according to one embodiment of the present application, such as Figure 4 As shown, when the used capacity grid number displays the space capacity information, two rows of grids or bars are used next to the icon or window of the shared storage space to indicate the remaining capacity. A portion of each grid or bar can be filled to show the currently used storage space, and the unfilled portion indicates the remaining available space.

[0067] When using digital information to display space capacity information, you can directly display the remaining capacity in the shared storage space interface, such as "Remaining / Total Capacity: 5 / 12". The display of digital information is more direct and provides clear numerical information, which is convenient for players to quickly calculate and determine whether there is still storage space.

[0068] When using color coding to display space capacity information, different colors can be used to indicate the status of the shared storage space, such as green for ample space, yellow for nearly full space, and red for full space, so that information can be quickly conveyed through visual cues.

[0069] When the dynamic prompt displays the space capacity information, when the player tries to store the target virtual resource item into the shared storage space but there is insufficient space, a dynamic prompt window may pop up to inform the player that "the storage space is full, please clear the space first" or similar information, thereby ensuring that the player does not make an incorrect operation and providing instant feedback to inform the player how to continue the operation.

[0070] When combining icons and text to display space capacity information, such as marking "Remaining capacity: 5 / 12" next to the shared backpack pool icon, it maintains visual appeal while providing detailed information.

[0071] Based on the above optional embodiments, the space capacity information of the shared storage space is displayed in the graphical user interface to prompt the remaining capacity of the shared storage space, thereby reflecting the latest storage status of the shared storage space, further enhancing the player's gaming experience, and promoting the formulation of team strategies and efficient use of resources.

[0072] Optionally, the virtual resource item sharing method in the embodiment of the present application also includes: in response to a display instruction for the shared storage space, displaying an item display window of the shared storage space, wherein the item display window includes: multiple storage grids, and the multiple storage grids are used to store different types of virtual resource items respectively.

[0073] The above-mentioned item display window includes multiple storage grids, each of which is used to store a type of virtual resource items, such as ammunition, medical kits, throwing weapons, etc. In addition, the storage grid will not only display the icon of the corresponding virtual resource item to intuitively present the appearance and type of the item, but also display the current number of items of this type in the shared storage space. The quantity display information can be in digital form and directly marked below the item icon, such as "90 / 100" means that 90 items of this type are stored, and the maximum capacity is 100. It can also be dynamically reflected through color coding, progress bars or filling grids, such as using green to indicate sufficient capacity, yellow to indicate nearly full load, and red to indicate full, thereby providing a more intuitive visual prompt.

[0074] Exemplarily, the display instruction for the shared storage space may be issued through a touch operation on the target display area. Figure 5 is a schematic diagram of a shared storage space according to one embodiment of the present application, such as Figure 5 As shown, when the target display area is displayed synchronously with the first prompt window, in response to a touch operation on the target display area, the item display window of the shared storage space can be triggered to be displayed. When the target display area is displayed on the graphical user interface under the triggering of the control operation, in response to a touch operation on the target display area, the item display window of the shared storage space can also be triggered to be displayed.

[0075] Exemplarily, the display instruction for the shared storage space may also be issued through a touch operation on the backpack control. Figure 6 is a schematic diagram of another shared storage space according to one embodiment of the present application, such as Figure 6 As shown, in response to a touch operation on a backpack control, an item display window of a virtual backpack storage space can be triggered, and an item display window of a shared storage space can be displayed in the lower right corner of the graphical user interface.

[0076] Based on the above optional embodiment, by responding to the display instruction for the shared storage space and displaying the item display window of the shared storage space, the efficiency of resource management and the strategic collaboration capability can be effectively improved, and the user experience of the game can be further enhanced.

[0077] Optionally, the virtual resource item sharing method in the embodiment of the present application further includes:

[0078] Step S23, determining the resource supply category of the first virtual game character;

[0079] Step S24: preferentially allocating virtual resource items corresponding to the resource supply category to the first virtual game character from the shared storage space.

[0080] The above-mentioned resource supply categories include but are not limited to ammunition supply, medicine supply, throwing object supply and firearm accessories supply. After determining the resource supply type required by the first virtual game character, virtual resource items corresponding to the resource supply category are preferentially allocated to the first virtual game character from the shared storage space.

[0081] Exemplarily, when virtual resource items corresponding to the resource supply category are preferentially allocated to the first virtual game character from the shared storage space, the virtual resource items can be directly allocated to the virtual backpack of the first virtual game character so that the first virtual game character can quickly equip or use them.

[0082] For example, when the virtual resource items corresponding to the resource replenishment category are preferentially allocated to the first virtual game character from the shared storage space, the permission to use the virtual resource items in the shared storage space can also be allocated to the first virtual game character. After the permission is allocated, the virtual resource items corresponding to the resource replenishment category are only for the first virtual game character to equip or use, and other virtual game characters do not have the permission to equip or use them. At the same time, the virtual resource items can still be stored in the shared storage space without occupying the backpack space of the first virtual game character.

[0083] Based on the above optional embodiments, by determining the resource supply category of the first virtual game character, and then preferentially allocating virtual resource items corresponding to the resource supply category to the first virtual game character from the shared storage space, the efficiency and accuracy of resource allocation can be improved, while enhancing the strategic depth and gaming experience of the game.

[0084] Optionally, in step S23, determining the resource supply category of the first virtual game character includes: in response to enabling a shared resource allocation function for the first virtual game character, determining the resource supply category of the first virtual game character.

[0085] The above-mentioned shared resource allocation function is an intelligent allocation function in the game scene, and the first virtual game character can obtain the required virtual resource items from the shared storage space through the intelligent allocation function. Exemplarily, when the first virtual game character has turned on the shared resource allocation function, the game system can monitor the current status of the first virtual game character in real time, including but not limited to health value, ammunition quantity, equipment status, task requirements, etc., to determine its most urgent resource needs. For example, if the health value of the first virtual game character is lower than the preset threshold, "medical supply" can be automatically identified as the current resource supply category; if the amount of ammunition is insufficient, "ammunition supply" will be determined as the priority resource supply category. After determining the resource supply category, the resource supply category can be prioritized according to the preset rules to ensure that the most important or most urgent resource needs are met first.

[0086] Based on the above optional embodiments, in response to the shared resource allocation function being enabled for the first virtual game character, the resource supply category of the first virtual game character is determined, thereby being able to instantly identify and intelligently determine the resource supply category of the first virtual game character, thereby achieving rapid and accurate allocation of resources, promoting the dynamic balance of team resources, simplifying the player's operating process, and optimizing server resource management, thereby effectively improving the collaborative efficiency and gaming experience of multiplayer online games.

[0087] Optionally, in step S23, determining the resource supply category of the first virtual game character includes:

[0088] In response to the number of spare ammunition of the weapon currently used by the first virtual game character being less than a first threshold, determining the resource replenishment category as ammunition resource replenishment;

[0089] In response to the current health value of the first virtual game character being less than a second threshold and the backup medicine having been used up, determining the resource replenishment category as medicine resource replenishment;

[0090] In response to the first virtual game character's throwing items having been used up, determining the resource replenishment category as throwing object resource replenishment;

[0091] In response to the fact that the weapon currently used by the first virtual game character lacks accessories and there are accessories in the shared storage space, the resource supply category is determined to be accessory resource supply.

[0092] When it is detected that the number of spare ammunition of the weapon currently used by the first virtual game character is lower than the first threshold, for example, when the first virtual game character with the shared resource allocation function turned on currently has less than 60 rounds of spare ammunition for both weapons, it will be automatically determined that the most urgent need of the first virtual game character is ammunition resource replenishment, thereby ensuring that in the case of fierce fighting and rapid consumption of ammunition, the character's ammunition can be replenished in time to avoid a decrease in combat effectiveness due to insufficient ammunition.

[0093] When it is detected that the current health value of the first virtual game character is lower than the second threshold value, and the backup medicines of the first virtual game character have all been used, for example, when the first virtual game character with the shared resource allocation function turned on has less than 80% health and has no medicine, the resource replenishment category will be determined as medicine resource replenishment. In this way, when the character is injured in battle or in critical condition, necessary medical resources can be quickly provided to help the character restore health and increase the chance of survival.

[0094] When it is detected that the throwing items of the first virtual game character sharing the resource allocation function have been completely exhausted, it can be determined that the replenishment of throwing resources is the current demand. Throwing is widely used in multiplayer games and can provide characters with means of attack, defense or strategic transfer. Therefore, timely replenishment of throwing resources is crucial to maintaining the tactical flexibility of the characters.

[0095] When it is detected that the weapon currently used by the first virtual game character of the shared resource allocation function lacks accessories, and the corresponding accessory resources exist in the shared storage space, it can be determined that the accessory resource replenishment is the current demand. Weapon accessories can significantly improve the performance of weapons, such as increasing the range and improving shooting accuracy, thereby ensuring that the first virtual game character can maximize the effectiveness of weapons and enhance combat effectiveness.

[0096] Based on the above optional embodiments, by responding to the real-time needs of the characters and then determining the resource supply category, not only the intelligence and immediacy of resource allocation are improved, but also the team collaboration process is optimized, the gaming experience is enhanced, and at the same time, it can also play a positive role in promoting the management of server and network resources.

[0097] Optionally, the virtual resource item sharing method in the embodiment of the present application also includes: in response to the resource supply category of the first virtual game character being the same as the resource supply category of the second virtual game character, preferentially allocating virtual resource items corresponding to the resource supply category to the target virtual game character from the shared storage space, wherein the target virtual game character is the virtual game character with the largest supply demand between the first virtual game character and the second virtual game character.

[0098] Specifically, when the resource supply category of the first virtual game character is the same as the resource supply category of the second virtual game character, the resource supply demands of the two virtual game characters corresponding to the resource supply category are monitored, and by analyzing key information such as current health points, the amount of weapon ammunition held, and the number of existing supply items, it is determined which virtual game character's resource supply needs are more urgent.

[0099] For example, the resource supply category of the first virtual game character and the resource supply category of the second virtual game character are both medical supply types, the first virtual game character has 1 advanced medical kit and a health value of 30%, and the second virtual game character has 3 advanced medical kits and a health value of 70%. By comparison, it can be seen that the health value of the first virtual game character is lower than that of the second virtual game character, and the number of advanced medical kits held by the first virtual game character is less than that of the second virtual game character. Therefore, it can be determined that the first virtual game character is the virtual game character with the largest supply demand between the two, and the advanced medical kits need to be allocated to the first virtual game character first from the shared storage space.

[0100] Based on the above optional embodiments, in response to the resource supply category of the first virtual game character being the same as the resource supply category of the second virtual game character, virtual resource items corresponding to the resource supply category are preferentially allocated to the target virtual game character from the shared storage space, and the target virtual game character is the virtual game character with the largest supply demand between the first virtual game character and the second virtual game character. Therefore, in emergency or critical situations, the virtual game character with the largest supply demand can be preferentially satisfied, which not only improves the accuracy and response speed of resource allocation, but also enhances the collaborative combat capability among team members and the overall strategic depth of the game, providing players with a more immersive, interactive and strategically rich gaming experience.

[0101] Optionally, the virtual resource item sharing method in the embodiment of the present application also includes: in response to the shared resource allocation function being enabled for the first virtual game character and the second virtual game character, the resource supply category of the first virtual game character is the same as the resource supply category of the second virtual game character, and the supply demand of the first virtual game character is the same as the supply demand of the second virtual game character, and the virtual resource items corresponding to the resource supply category are evenly allocated to the first virtual game character and the second virtual game character from the shared storage space.

[0102] Specifically, when multiple virtual game characters face resource shortages of the same type and data, the virtual resource items corresponding to the resource supply category can be evenly allocated from the shared storage space, thereby reducing the ineffective flow of resources between different virtual characters and avoiding resource waste. When the shared resource allocation function is turned on, the automatic even distribution of the same resource requirements between different virtual game characters effectively reduces the need for team members to communicate about supply requirements, and improves the speed of tactical execution and team collaboration efficiency in the game.

[0103] Evenly distributed automated processing can reduce the number of times the server processes character resource requests, especially when multiple virtual game characters request the same type of resources at the same time, which can effectively reduce the server load and ensure the smoothness and response speed of the game.

[0104] Optionally, the virtual resource item sharing method in the embodiment of the present application further includes:

[0105] In response to the first virtual game character being allocated virtual resource items corresponding to the resource replenishment category from the shared storage space, a second prompt window is displayed in the graphical user interface, wherein the second prompt window is used to provide description information of the items allocated to the first virtual game character from the shared storage space.

[0106] The above-mentioned item description information includes but is not limited to the item name, item quantity, item function or effect, item use conditions, allocation time or duration, etc. Among them, the item name can clearly identify the name of the virtual resource item allocated to the first virtual game character, such as "advanced medical kit", "9mm ammunition", "flash grenade", etc., to ensure that the player can clearly know the specific resource type allocated. The item quantity can show the specific number of items allocated to help players understand the adequacy of supplies, such as "allocated advanced medical kit × 2", "allocated 9mm ammunition × 50 rounds", etc. The item function or effect can briefly describe the main function or use effect of the item. For uncommon items or newly added resources, this information is particularly important, such as "advanced medical kit: can quickly restore 100 health points of the character", "flash grenade: causes short-term range visual blindness effect", etc., to help players better understand the purpose of the item. If the allocated item has specific item use conditions, such as the medical kit can only be used when the health value is below a certain threshold, or a certain type of ammunition can only be used with a specific weapon, such information can be informed to the player through the second prompt window to ensure that the allocated virtual resource items can be used correctly and effectively. For some items with limited-time effects, such as temporary enhancement drugs, the second prompt window can display the item's usage time or effect duration to help players grasp the timing of use.

[0107] Figure 7 is a schematic diagram of a second prompt window according to one embodiment of the present application, such as Figure 7 As shown, when the first virtual game character is allocated virtual resource items corresponding to the resource supply category from the shared storage space, a second prompt window is displayed in the graphical user interface, and the second prompt window is used to provide the first virtual game character with 2 medical kits allocated from the shared backpack pool.

[0108] Based on the above optional embodiments, in response to the first virtual game character being allocated virtual resource items corresponding to the resource supply category from the shared storage space, a second prompt window is displayed in the graphical user interface. This not only ensures that the player can immediately understand the details of the resource allocation, but also helps the player make more informed strategic decisions, enhances team collaboration and resource management efficiency, and further improves the immersion and interactivity of the gaming experience.

[0109] Optionally, the virtual resource item sharing method in the embodiment of the present application also includes: in response to the first virtual game character obtaining the virtual resource item corresponding to the resource supply category, displaying a third prompt window in the graphical user interface, wherein the third prompt window is used to inquire whether to store the obtained virtual resource item in the shared storage space.

[0110] Figure 8 is a schematic diagram of a third prompt window according to one embodiment of the present application, such as Figure 8 As shown, when the first virtual game character obtains the virtual resource item corresponding to the resource supply category, a third prompt window can be displayed in the graphical user interface to inquire whether to store the obtained virtual resource item in the shared storage space. Two operation buttons can be set in the third prompt window, one for confirming the storage and the other for canceling the storage. The confirming storage button can be marked with words such as "save", "share" or "confirm", or symbols such as a check mark; the canceling storage button can be marked with words such as "cancel", "retain" or "personal use", or symbols such as a cross, so that the player can make a quick choice.

[0111] Optionally, the first virtual game character obtains virtual resource items corresponding to the resource supply category including one of the following:

[0112] In response to the material acquisition operation for the shared storage space, the first virtual game character obtains virtual resource items corresponding to the resource supply category from the shared storage space;

[0113] In response to the shared resource allocation function being enabled for the first virtual game character, the first virtual game character obtains virtual resource items corresponding to the resource supply category from the shared storage space;

[0114] In response to a material picking operation for a virtual resource item corresponding to the resource replenishment category, the first virtual game character obtains the virtual resource item corresponding to the resource replenishment category from the virtual game scene.

[0115] Specifically, in response to a supply acquisition operation for a shared storage space, the first virtual game character can actively pull virtual resource items corresponding to the resource supply category from the shared storage space, thereby ensuring efficient flow of resources among team members, especially in emergency situations, and can quickly meet the supply needs of the first virtual game character without manual searching or picking up.

[0116] After the shared resource allocation function is turned on, virtual resource items corresponding to the resource supply category can be obtained from the shared storage space through intelligent allocation without the need for additional player operations. The intelligent resource allocation function not only improves the efficiency of resource acquisition, but also reduces the operational burden of players during intense gaming, thereby enhancing the smoothness of the gaming experience.

[0117] In the virtual game scene, by performing material picking operations on virtual resource items corresponding to resource supply categories, virtual resource items corresponding to resource supply categories can be picked up. If the backpack of the first virtual game character is full or there is a storage demand in the shared storage space, the player can be prompted to store additional resources in the shared storage space for use by other team members. This ensures that the virtual game characters can make full use of the resources in the game scene, and is also conducive to the centralized management of team resources, avoiding the dispersion and waste of resources.

[0118] Optionally, the virtual resource item sharing method in the embodiment of the present application further includes:

[0119] Calculating the sum of the number of virtual resource items currently owned by the first virtual game character and the number of virtual resource items currently allocated to the first virtual game character to obtain a calculation result;

[0120] In response to the calculation result exceeding the upper limit of the virtual resource items currently owned by the first virtual game character, a fourth prompt window is displayed in the graphical user interface, wherein the fourth prompt window is used to inquire whether to store the overflowing virtual resource items into the shared storage space.

[0121] Specifically, the sum of the number of virtual resource items currently owned by the first virtual game character and the number of virtual resource items currently allocated to the first virtual game character is calculated, thereby being able to evaluate whether the total amount of resource items owned by the first virtual game character exceeds its backpack or storage limit after the resource allocation. The upper limit value of the virtual resource items currently owned by the first virtual game character is usually set according to factors such as game design, character level or backpack capacity, so as to limit the number of resources that the first virtual game character can carry and avoid unreasonable accumulation of resources.

[0122] When the sum of the number of virtual resource items currently owned by the first virtual game character and the number of virtual resource items currently allocated to the first virtual game character exceeds the upper limit of the virtual resource items currently owned by the first virtual game character, it is determined that the virtual resource items are overflowing. At this time, a fourth prompt window is displayed in the graphic user interface. The fourth prompt window can also display item description information of the overflowing virtual resource items to ask whether to store the overflowing virtual resource items in the shared storage space for use by other team members, while avoiding overloading of personal backpacks.

[0123] Fig. 9 is a schematic diagram of a fourth prompt window according to one embodiment of the present application, such as Fig. 9 As shown, the sum of the number of bullets currently owned by the first virtual game character and the number of bullets currently allocated to the first virtual game character is calculated to obtain a calculation result, and the overflow number of bullets can be determined by comparing the calculation result with the upper limit value of the virtual resource items currently owned by the first virtual game character, and a fourth prompt window is displayed to ask whether to store the overflowed virtual resource items into the shared storage space.

[0124] Based on the above optional embodiment, a calculation result is obtained by calculating the sum of the number of virtual resource items currently owned by the first virtual game character and the number of virtual resource items currently allocated to the first virtual game character, and then in response to the calculation result exceeding the upper limit value of the virtual resource items currently owned by the first virtual game character, a fourth prompt window is displayed in the graphical user interface, thereby intelligently managing the character's resources and avoiding the inconvenience caused by resource overload, while promoting resource sharing between teams and enhancing the strategy and interactive experience of the game.

[0125] Fig.10 is a flowchart of a virtual resource item sharing method according to one embodiment of the present application. Fig.10 As shown, the method comprises the following steps:

[0126] Step S101, in response to detecting a virtual resource item that meets a preset condition, the first client displays a first prompt window in a graphical user interface corresponding to a first virtual game character, and in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier in a shared storage space, wherein the first prompt window is used to provide an item identifier of the virtual resource item, and the shared storage space is used to store the virtual resource item shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp;

[0127] Step S102: the second client allocates virtual resource items to the second virtual game character in response to the resource allocation operation for the shared storage space.

[0128] Based on the above steps S101 to S102, the first client responds to detecting virtual resource items that meet the preset conditions, displays a first prompt window in the graphical user interface corresponding to the first virtual game character, and responds to the control operation for the target item identifier in the first prompt window, stores the target virtual resource item corresponding to the target item identifier in the shared storage space, and then responds to the resource allocation operation for the shared storage space through the second client to allocate virtual resource items to the second virtual game character, thereby enabling the first virtual game character and the second virtual game character belonging to the same game camp to conveniently share virtual resource items through the shared storage space, further promoting the reasonable allocation and efficient use of game resources, and improving team collaboration efficiency. Through intelligent resource identification and simplified sharing operations, the virtual resource item sharing method in the embodiment of the present application achieves the purpose of efficiently sharing game resources, thereby achieving the technical effects of simplifying the resource exchange process, improving resource management efficiency, and enhancing the game experience, thereby solving the technical problems of cumbersome operation process and poor game experience when sharing game resources between team members in the related technology.

[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0130] In the present embodiment, a virtual resource item sharing device is also provided, and the device is used to implement the above-mentioned embodiment and preferred implementation mode, and the description that has been made will not be repeated. As used below, the term "module" can realize the combination of software and / or hardware of predetermined functions. Although the device described in the following embodiments is preferably realized with software, the realization of hardware, or the combination of software and hardware is also possible and conceived.

[0131] Fig.11 is a structural block diagram of a virtual resource item sharing device according to one embodiment of the present application, wherein a graphical user interface is provided through a terminal device, and the content displayed by the graphical user interface includes a virtual game scene, and the content displayed by the virtual game scene includes a first virtual game character, such as Fig.11 As shown, the device comprises:

[0132] Display module 1101, for displaying a first prompt window in a graphical user interface in response to detecting a virtual resource item that meets a preset condition, wherein the first prompt window is used to provide an item identification of the virtual resource item;

[0133] The storage module 1102 is used to respond to the control operation on the target item identifier in the first prompt window, and store the target virtual resource item corresponding to the target item identifier into the shared storage space, wherein the shared storage space is used to store the virtual resource items shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

[0134] Optionally, the storage module 1102 is also used to: respond to a control operation on the target item identifier in the first prompt window, control the target item identifier to move along the operation trajectory of the control operation; respond to detecting that the target item identifier moves into the target display area, and store the target virtual resource item corresponding to the target item identifier into the shared storage space.

[0135] Optionally, the target display area is displayed synchronously with the first prompt window, or the target display area is displayed under the triggering of a control operation.

[0136] Optionally, the display module 1101 is further used to: display space capacity information of the shared storage space in the graphical user interface, wherein the space capacity information is used to prompt the remaining capacity of the shared storage space.

[0137] Optionally, the display module 1101 is further used to: display an item display window of the shared storage space in response to a display instruction for the shared storage space, wherein the item display window includes: a plurality of storage grids, and the plurality of storage grids are used to store different types of virtual resource items respectively.

[0138] Optionally, the virtual resource item sharing device further includes: a determination module 1103, used to determine the resource supply category of the first virtual game character; an allocation module 1104, used to preferentially allocate virtual resource items corresponding to the resource supply category to the first virtual game character from the shared storage space.

[0139] Optionally, the determination module 1103 is further configured to: in response to the shared resource allocation function being enabled for the first virtual game character, determine the resource replenishment category of the first virtual game character.

[0140] Optionally, determination module 1103 is also used to: in response to the number of spare ammunition of the weapon currently used by the first virtual game character being less than a first threshold, determine that the resource supply category is ammunition resource supply; in response to the current health value of the first virtual game character being less than a second threshold and the spare medicines have been used up, determine that the resource supply category is medicine resource supply; in response to the throwing items of the first virtual game character having been used up, determine that the resource supply category is throwing object resource supply; in response to the weapon currently used by the first virtual game character lacking accessories and there are accessories in the shared storage space, determine that the resource supply category is accessory resource supply.

[0141] Optionally, the allocation module 1104 is also used to: in response to the resource supply category of the first virtual game character being the same as the resource supply category of the second virtual game character, preferentially allocate virtual resource items corresponding to the resource supply category to the target virtual game character from the shared storage space, wherein the target virtual game character is the virtual game character with the largest supply demand between the first virtual game character and the second virtual game character.

[0142] Optionally, the allocation module 1104 is also used for: in response to the shared resource allocation function being enabled for both the first virtual game character and the second virtual game character, the resource supply category of the first virtual game character is the same as the resource supply category of the second virtual game character, and the supply demand of the first virtual game character is the same as the supply demand of the second virtual game character, evenly allocating virtual resource items corresponding to the resource supply category to the first virtual game character and the second virtual game character from the shared storage space.

[0143] Optionally, the display module 1101 is also used to: in response to the first virtual game character being allocated virtual resource items corresponding to the resource supply category from the shared storage space, display a second prompt window in the graphical user interface, wherein the second prompt window is used to provide item description information allocated to the first virtual game character from the shared storage space.

[0144] Optionally, the display module 1101 is also used to: in response to the first virtual game character obtaining virtual resource items corresponding to the resource supply category, display a third prompt window in the graphical user interface, wherein the third prompt window is used to ask whether to store the obtained virtual resource items into the shared storage space.

[0145] Optionally, the first virtual game character obtains virtual resource items corresponding to the resource supply category, including one of the following: in response to a material acquisition operation on a shared storage space, the first virtual game character obtains the virtual resource items corresponding to the resource supply category from the shared storage space; in response to an enabled shared resource allocation function for the first virtual game character, the first virtual game character obtains the virtual resource items corresponding to the resource supply category from the shared storage space; in response to a material pickup operation on the virtual resource items corresponding to the resource supply category, the first virtual game character obtains the virtual resource items corresponding to the resource supply category from the virtual game scene.

[0146] Optionally, the virtual resource item sharing device also includes: a calculation module 1105, which is used to calculate the sum of the number of virtual resource items currently owned by the first virtual game character and the number of virtual resource items currently allocated to the first virtual game character, and obtain a calculation result; the display module 1101 is also used to display a fourth prompt window in the graphical user interface in response to the calculation result exceeding the upper limit value of the virtual resource items currently owned by the first virtual game character, wherein the fourth prompt window is used to inquire whether to store the overflowed virtual resource items in the shared storage space.

[0147] Fig.12 is a structural block diagram of another virtual resource item sharing device according to one embodiment of the present application, such as Fig.12 As shown, the device comprises:

[0148] Processing module 1201, configured for the first client to display a first prompt window in a graphical user interface corresponding to a first virtual game character in response to detecting a virtual resource item that meets a preset condition, and to store a target virtual resource item corresponding to the target item identifier in a shared storage space in response to a control operation on a target item identifier in the first prompt window, wherein the first prompt window is used to provide an item identifier of the virtual resource item, and the shared storage space is used to store a virtual resource item shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp;

[0149] The allocation module 1202 is used for the second client to allocate virtual resource items to the second virtual game character in response to the resource allocation operation for the shared storage space.

[0150] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0151] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0152] Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0153] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.

[0154] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0155] S1, in response to detecting a virtual resource item that meets a preset condition, displaying a first prompt window in a graphical user interface, wherein the first prompt window is used to provide an item identification of the virtual resource item;

[0156] S2, in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier into a shared storage space, wherein the shared storage space is used to store virtual resource items shared by a first virtual game character and a second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

[0157] Optionally, the target display area is displayed synchronously with the first prompt window, or the target display area is displayed under the triggering of a control operation.

[0158] Optionally, the computer-readable storage medium is further configured to store program codes for executing the following steps: displaying space capacity information of the shared storage space in a graphical user interface, wherein the space capacity information is used to indicate the remaining capacity of the shared storage space.

[0159] Optionally, the computer-readable storage medium is also configured to store program code for executing the following steps: in response to a display instruction for a shared storage space, display an item display window of the shared storage space, wherein the item display window includes: multiple storage grids, and the multiple storage grids are used to store different types of virtual resource items respectively.

[0160] Optionally, the computer-readable storage medium is further configured to store program codes for executing the following steps: determining a resource supply category for the first virtual game character; and preferentially allocating virtual resource items corresponding to the resource supply category to the first virtual game character from the shared storage space.

[0161] Optionally, the computer-readable storage medium is further configured to store program codes for executing the following steps: in response to the shared resource allocation function being enabled for the first virtual game character, determining a resource replenishment category of the first virtual game character.

[0162] Optionally, the computer-readable storage medium is further configured to store program codes for executing the following steps: in response to the number of spare ammunition of the weapon currently used by the first virtual game character being less than a first threshold, determining that the resource supply category is ammunition resource supply; in response to the current health value of the first virtual game character being less than a second threshold and the spare medicines having been used up, determining that the resource supply category is medicine resource supply; in response to the throwing items of the first virtual game character having been used up, determining that the resource supply category is throwing object resource supply; in response to the weapon currently used by the first virtual game character lacking accessories and accessories existing in the shared storage space, determining that the resource supply category is accessory resource supply.

[0163] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: in response to the resource supply category of the first virtual game character being the same as the resource supply category of the second virtual game character, preferentially allocating virtual resource items corresponding to the resource supply category to the target virtual game character from the shared storage space, wherein the target virtual game character is the virtual game character with the largest supply demand between the first virtual game character and the second virtual game character.

[0164] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: in response to the shared resource allocation function being enabled for both the first virtual game character and the second virtual game character, the resource supply category of the first virtual game character is the same as the resource supply category of the second virtual game character, and the supply demand of the first virtual game character is the same as the supply demand of the second virtual game character, evenly allocating virtual resource items corresponding to the resource supply category to the first virtual game character and the second virtual game character from the shared storage space.

[0165] Optionally, the computer-readable storage medium is also configured to store program code for executing the following steps: in response to the first virtual game character being allocated a virtual resource item corresponding to a resource supply category from a shared storage space, displaying a second prompt window in a graphical user interface, wherein the second prompt window is used to provide item description information allocated to the first virtual game character from the shared storage space.

[0166] Optionally, the computer-readable storage medium is also configured to store program code for executing the following steps: in response to the first virtual game character obtaining a virtual resource item corresponding to a resource supply category, displaying a third prompt window in the graphical user interface, wherein the third prompt window is used to inquire whether to store the obtained virtual resource item in a shared storage space.

[0167] Optionally, the first virtual game character obtains virtual resource items corresponding to the resource supply category, including one of the following: in response to a material acquisition operation on a shared storage space, the first virtual game character obtains the virtual resource items corresponding to the resource supply category from the shared storage space; in response to an enabled shared resource allocation function for the first virtual game character, the first virtual game character obtains the virtual resource items corresponding to the resource supply category from the shared storage space; in response to a material pickup operation on the virtual resource items corresponding to the resource supply category, the first virtual game character obtains the virtual resource items corresponding to the resource supply category from the virtual game scene.

[0168] Optionally, the computer-readable storage medium is further configured to store program code for executing the following steps: calculating the sum of the number of virtual resource items currently owned by the first virtual game character and the number of virtual resource items currently allocated to the first virtual game character to obtain a calculation result; in response to the calculation result exceeding the upper limit value of the virtual resource items currently owned by the first virtual game character, displaying a fourth prompt window in the graphical user interface, wherein the fourth prompt window is used to inquire whether to store the overflowing virtual resource items in the shared storage space.

[0169] Optionally, the computer-readable storage medium is further configured to store program codes for executing the following steps:

[0170] S1, in response to detecting a virtual resource item that meets a preset condition, the first client displays a first prompt window in a graphical user interface corresponding to a first virtual game character, and in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier in a shared storage space, wherein the first prompt window is used to provide an item identifier of the virtual resource item, and the shared storage space is used to store the virtual resource item shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp;

[0171] S2: The second client allocates virtual resource items to the second virtual game character in response to the resource allocation operation for the shared storage space.

[0172] In the computer-readable storage medium of this embodiment, in response to detecting a virtual resource item that meets the preset conditions, a first prompt window is displayed in the graphical user interface, and then in response to the control operation for the target item identifier in the first prompt window, the target virtual resource item corresponding to the target item identifier is stored in the shared storage space, thereby enabling the first virtual game character and the second virtual game character belonging to the same game camp to conveniently share virtual resource items through the shared storage space, further promoting the reasonable allocation and efficient use of game resources, and improving team collaboration efficiency. Through intelligent resource identification and simplified sharing operations, the virtual resource item sharing method in the embodiment of the present application achieves the purpose of efficiently sharing game resources, thereby achieving the technical effects of simplifying the resource exchange process, improving resource management efficiency, and improving the game experience, thereby solving the technical problems of cumbersome operation process and poor game experience when sharing game resources between team members in the related technology.

[0173] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0174] In an exemplary embodiment of the present application, a program product capable of implementing the above method of the present embodiment is stored on a computer-readable storage medium. In some possible implementations, various aspects of the embodiments of the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present application described in the above "Exemplary Method" section of the present embodiment.

[0175] According to the program product for implementing the above method in the embodiment of the present application, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the embodiment of the present application is not limited thereto. In the embodiment of the present application, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0176] The program product may be in any combination of one or more computer-readable media. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive) of computer-readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0177] It should be noted that the program code contained in the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0178] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0179] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0180] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0181] S1, in response to detecting a virtual resource item that meets a preset condition, displaying a first prompt window in a graphical user interface, wherein the first prompt window is used to provide an item identification of the virtual resource item;

[0182] S2, in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier into a shared storage space, wherein the shared storage space is used to store virtual resource items shared by a first virtual game character and a second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

[0183] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: in response to a control operation on the target item identifier in the first prompt window, control the target item identifier to move along the operation trajectory of the control operation; in response to detecting that the target item identifier moves into the target display area, store the target virtual resource item corresponding to the target item identifier into the shared storage space.

[0184] Optionally, the target display area is displayed synchronously with the first prompt window, or the target display area is displayed under the triggering of a control operation.

[0185] Optionally, the processor may also be configured to execute the following steps through a computer program: displaying space capacity information of the shared storage space in a graphical user interface, wherein the space capacity information is used to indicate the remaining capacity of the shared storage space.

[0186] Optionally, the processor may also be configured to perform the following steps through a computer program: in response to a display instruction for a shared storage space, display an item display window of the shared storage space, wherein the item display window comprises: a plurality of storage grids, the plurality of storage grids being used to respectively store different types of virtual resource items.

[0187] Optionally, the processor may also be configured to execute the following steps through a computer program: determining a resource supply category of the first virtual game character; and preferentially allocating virtual resource items corresponding to the resource supply category to the first virtual game character from the shared storage space.

[0188] Optionally, the processor may be configured to execute the following steps through a computer program: in response to enabling the shared resource allocation function for the first virtual game character, determining a resource replenishment category for the first virtual game character.

[0189] Optionally, the processor may also be configured to perform the following steps through a computer program: in response to the number of spare ammunition of a weapon currently used by the first virtual game character being less than a first threshold, determining that the resource supply category is ammunition resource supply; in response to the first virtual game character's current health being less than a second threshold and the spare medicines having been used up, determining that the resource supply category is medicine resource supply; in response to the first virtual game character's throwing items having been used up, determining that the resource supply category is throwing object resource supply; in response to the first virtual game character's currently used weapon lacking accessories and accessories existing in the shared storage space, determining that the resource supply category is accessories resource supply.

[0190] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: in response to the resource supply category of the first virtual game character being the same as the resource supply category of the second virtual game character, virtual resource items corresponding to the resource supply category are preferentially allocated to the target virtual game character from the shared storage space, wherein the target virtual game character is the virtual game character with the largest supply demand between the first virtual game character and the second virtual game character.

[0191] Optionally, the processor may also be configured to perform the following steps through a computer program: in response to the shared resource allocation function being enabled for both the first virtual game character and the second virtual game character, the resource supply category of the first virtual game character is the same as the resource supply category of the second virtual game character, and the supply demand of the first virtual game character is the same as the supply demand of the second virtual game character, the virtual resource items corresponding to the resource supply category are evenly allocated to the first virtual game character and the second virtual game character from the shared storage space.

[0192] Optionally, the processor may also be configured to perform the following steps through a computer program: in response to the first virtual game character being allocated a virtual resource item corresponding to a resource supply category from a shared storage space, displaying a second prompt window in a graphical user interface, wherein the second prompt window is used to provide item description information allocated to the first virtual game character from the shared storage space.

[0193] Optionally, the processor may also be configured to execute the following steps through a computer program: in response to the first virtual game character obtaining a virtual resource item corresponding to a resource supply category, displaying a third prompt window in the graphical user interface, wherein the third prompt window is used to inquire whether to store the obtained virtual resource item in a shared storage space.

[0194] Optionally, the first virtual game character obtains virtual resource items corresponding to the resource supply category, including one of the following: in response to a material acquisition operation on a shared storage space, the first virtual game character obtains the virtual resource items corresponding to the resource supply category from the shared storage space; in response to an enabled shared resource allocation function for the first virtual game character, the first virtual game character obtains the virtual resource items corresponding to the resource supply category from the shared storage space; in response to a material pickup operation on the virtual resource items corresponding to the resource supply category, the first virtual game character obtains the virtual resource items corresponding to the resource supply category from the virtual game scene.

[0195] Optionally, the processor may also be configured to perform the following steps through a computer program: calculating the sum of the number of virtual resource items currently owned by the first virtual game character and the number of virtual resource items currently allocated to the first virtual game character to obtain a calculation result; in response to the calculation result exceeding the upper limit of the virtual resource items currently owned by the first virtual game character, displaying a fourth prompt window in the graphical user interface, wherein the fourth prompt window is used to inquire whether to store the overflowing virtual resource items in the shared storage space.

[0196] Optionally, the processor may also be configured to perform the following steps through a computer program:

[0197] S1, in response to detecting a virtual resource item that meets a preset condition, the first client displays a first prompt window in a graphical user interface corresponding to a first virtual game character, and in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier in a shared storage space, wherein the first prompt window is used to provide an item identifier of the virtual resource item, and the shared storage space is used to store the virtual resource item shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp;

[0198] S2: The second client allocates virtual resource items to the second virtual game character in response to the resource allocation operation for the shared storage space.

[0199] In the electronic device of this embodiment, in response to detecting a virtual resource item that meets the preset conditions, a first prompt window is displayed in the graphical user interface, and then in response to the control operation for the target item identifier in the first prompt window, the target virtual resource item corresponding to the target item identifier is stored in the shared storage space, thereby enabling the first virtual game character and the second virtual game character belonging to the same game camp to conveniently share virtual resource items through the shared storage space, further promoting the reasonable allocation and efficient use of game resources, and improving team collaboration efficiency. Through intelligent resource identification and simplified sharing operations, the virtual resource item sharing method in the embodiment of the present application achieves the purpose of efficiently sharing game resources, thereby achieving the technical effects of simplifying the resource exchange process, improving resource management efficiency, and enhancing the game experience, thereby solving the technical problems of cumbersome operation process and poor game experience when sharing game resources between team members in the related technology.

[0200] Fig.13 is a schematic diagram of an electronic device according to an embodiment of the present application. Fig.13 As shown, the electronic device 1300 is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0201] like Fig.13 As shown, the electronic device 1300 is in the form of a general computing device. The components of the electronic device 1300 may include but are not limited to: at least one processor 1310, at least one memory 1320, a bus 1330 connecting different system components (including the memory 1320 and the processor 1310), and a display 1340.

[0202] The memory 1320 stores program codes, which can be executed by the processor 1310, so that the processor 1310 executes the steps described in the method part of the embodiment of the present application according to various exemplary embodiments of the present application.

[0203] The memory 1320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 13201 and / or a cache memory unit 13202, and may further include a read-only memory unit (ROM) 13203, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.

[0204] In some examples, the memory 1320 may also include a program / utility 13204 having a set (at least one) of program modules 13205, such program modules 13205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include the implementation of a network environment. The memory 1320 may further include a memory remotely disposed relative to the processor 1310, and these remote memories may be connected to the electronic device 1300 via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0205] The bus 1330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a local bus of the processor 1310, or a bus using any of a variety of bus architectures.

[0206] The display 1340 may be, for example, a touch screen type liquid crystal display (LCD) that enables a user to interact with a user interface of the electronic device 1300 .

[0207] Optionally, the electronic device 1300 may also communicate with one or more external devices 1400 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 1300, and / or any device that enables the electronic device 1300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1350. Furthermore, the electronic device 1300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 1360. Fig.13 As shown, the network adapter 1360 communicates with other modules of the electronic device 1300 via the bus 1330. It should be understood that although Fig.13Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0208] The electronic device 1300 may further include: a keyboard, a cursor control device (such as a mouse), an input / output interface (I / O interface), a network interface, a power supply and / or a camera.

[0209] It can be understood by those skilled in the art that Fig.13 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.13 More or fewer components as shown, or with Figure 1 The memory 1320 may be used to store computer programs and corresponding data, such as the computer programs and corresponding data corresponding to the virtual resource item sharing method in the embodiment of the present application. The processor 1310 executes various functional applications and data processing by running the computer programs stored in the memory 1320, that is, implementing the above-mentioned virtual resource item sharing method.

[0210] The embodiment of the present application further provides a computer program product. Optionally, in this embodiment, the computer program product may include a computer program, and the computer program implements the method provided in the embodiment when executed by a processor.

[0211] Optionally, the computer program included in the above-mentioned computer program product is executed by a processor to perform the following steps:

[0212] S1, in response to detecting a virtual resource item that meets a preset condition, displaying a first prompt window in a graphical user interface, wherein the first prompt window is used to provide an item identification of the virtual resource item;

[0213] S2, in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier into a shared storage space, wherein the shared storage space is used to store virtual resource items shared by a first virtual game character and a second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

[0214] Optionally, the computer program included in the above-mentioned computer program product is executed by a processor to perform the following steps:

[0215] S1, in response to detecting a virtual resource item that meets a preset condition, the first client displays a first prompt window in a graphical user interface corresponding to a first virtual game character, and in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier in a shared storage space, wherein the first prompt window is used to provide an item identifier of the virtual resource item, and the shared storage space is used to store the virtual resource item shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp;

[0216] S2: The second client allocates virtual resource items to the second virtual game character in response to the resource allocation operation for the shared storage space.

[0217] The embodiments of the present application also provide a computer program product. Optionally, the computer program product may include a non-volatile computer-readable storage medium, which may be used to store a computer program, and when the computer program is executed by a processor, the method provided in the embodiments is implemented.

[0218] Optionally, the computer program stored in the non-volatile computer-readable storage medium is used by the processor to execute the following steps:

[0219] S1, in response to detecting a virtual resource item that meets a preset condition, displaying a first prompt window in a graphical user interface, wherein the first prompt window is used to provide an item identification of the virtual resource item;

[0220] S2, in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier into a shared storage space, wherein the shared storage space is used to store virtual resource items shared by a first virtual game character and a second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

[0221] Optionally, the computer program stored in the non-volatile computer-readable storage medium is used by the processor to execute the following steps:

[0222] S1, in response to detecting a virtual resource item that meets a preset condition, the first client displays a first prompt window in a graphical user interface corresponding to a first virtual game character, and in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier in a shared storage space, wherein the first prompt window is used to provide an item identifier of the virtual resource item, and the shared storage space is used to store the virtual resource item shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp;

[0223] S2: The second client allocates virtual resource items to the second virtual game character in response to the resource allocation operation for the shared storage space.

[0224] The embodiment of the present application further provides a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, the method provided in the above embodiment is implemented.

[0225] Optionally, the computer program is executed by a processor to perform the following steps:

[0226] S1, in response to detecting a virtual resource item that meets a preset condition, displaying a first prompt window in a graphical user interface, wherein the first prompt window is used to provide an item identification of the virtual resource item;

[0227] S2, in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier into a shared storage space, wherein the shared storage space is used to store virtual resource items shared by a first virtual game character and a second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

[0228] Optionally, the computer program is executed by a processor to perform the following steps:

[0229] S1, in response to detecting a virtual resource item that meets a preset condition, the first client displays a first prompt window in a graphical user interface corresponding to a first virtual game character, and in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier in a shared storage space, wherein the first prompt window is used to provide an item identifier of the virtual resource item, and the shared storage space is used to store the virtual resource item shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp;

[0230] S2: The second client allocates virtual resource items to the second virtual game character in response to the resource allocation operation for the shared storage space.

[0231] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0232] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0233] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0234] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0235] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0236] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0237] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A virtual resource item sharing method, characterized in that: A graphical user interface is provided through a terminal device, wherein the content displayed by the graphical user interface includes a virtual game scene, and the content displayed by the virtual game scene includes a first virtual game character. The virtual resource item sharing method includes: In response to detecting a virtual resource item that meets a preset condition, displaying a first prompt window in the graphical user interface, wherein the first prompt window is used to provide an item identification of the virtual resource item; In response to a control operation on a target item identifier in the first prompt window, a target virtual resource item corresponding to the target item identifier is stored in a shared storage space, wherein the shared storage space is used to store virtual resource items shared by the first virtual game character and the second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp.

2. The virtual resource item sharing method according to claim 1, characterized in that: In response to a control operation on the target item identifier in the first prompt window, storing the target virtual resource item corresponding to the target item identifier in the shared storage space includes: In response to a control operation on the target item identifier in the first prompt window, controlling the target item identifier to move along an operation track of the control operation; In response to detecting that the target item identifier moves into the target display area, the target virtual resource item corresponding to the target item identifier is stored in the shared storage space.

3. The virtual resource item sharing method according to claim 2, characterized in that: The target display area is displayed synchronously with the first prompt window, or the target display area is displayed under the triggering of the control operation.

4. The virtual resource item sharing method according to claim 1, characterized in that: The virtual resource item sharing method further includes: The space capacity information of the shared storage space is displayed in the graphical user interface, wherein the space capacity information is used to prompt the remaining capacity of the shared storage space.

5. The virtual resource item sharing method according to claim 1, characterized in that: The virtual resource item sharing method further includes: In response to a display instruction for the shared storage space, an item display window of the shared storage space is displayed, wherein the item display window includes: a plurality of storage grids, and the plurality of storage grids are used to store different types of virtual resource items respectively.

6. The virtual resource item sharing method according to claim 1, characterized in that: The virtual resource item sharing method further includes: Determining a resource supply category for the first virtual game character; Virtual resource items corresponding to the resource supply category are preferentially allocated to the first virtual game character from the shared storage space.

7. The virtual resource item sharing method according to claim 6, characterized in that: Determining the resource supply category of the first virtual game character includes: In response to the shared resource allocation function being enabled for the first virtual game character, the resource supply category of the first virtual game character is determined.

8. The virtual resource item sharing method according to claim 7, characterized in that: Determining the resource supply category of the first virtual game character includes: In response to the number of spare ammunition of the weapon currently used by the first virtual game character being less than a first threshold, determining the resource replenishment category as ammunition resource replenishment; In response to the current health value of the first virtual game character being less than a second threshold and the backup medicine having been used up, determining that the resource replenishment category is medicine resource replenishment; In response to the first virtual game character's throwing items having been used up, determining that the resource replenishment category is throwing object resource replenishment; In response to the fact that the weapon currently used by the first virtual game character lacks accessories and the accessories exist in the shared storage space, the resource supply category is determined to be accessory resource supply.

9. The virtual resource item sharing method according to claim 1, characterized in that: The virtual resource item sharing method further includes: In response to the resource supply category of the first virtual game character being the same as the resource supply category of the second virtual game character, virtual resource items corresponding to the resource supply category are preferentially allocated to a target virtual game character from the shared storage space, wherein the target virtual game character is the virtual game character with the greatest supply demand between the first virtual game character and the second virtual game character.

10. The virtual resource item sharing method according to claim 1, characterized in that: The virtual resource item sharing method further includes: In response to the shared resource allocation function being enabled for both the first virtual game character and the second virtual game character, the resource supply category of the first virtual game character is the same as the resource supply category of the second virtual game character, and the supply demand of the first virtual game character is the same as the supply demand of the second virtual game character, virtual resource items corresponding to the resource supply category are evenly allocated to the first virtual game character and the second virtual game character from the shared storage space.

11. The virtual resource item sharing method according to claim 6, characterized in that: The virtual resource item sharing method further includes: In response to the first virtual game character being allocated virtual resource items corresponding to the resource supply category from the shared storage space, a second prompt window is displayed in the graphical user interface, wherein the second prompt window is used to provide description information of the items allocated to the first virtual game character from the shared storage space.

12. The virtual resource item sharing method according to claim 6, characterized in that: The virtual resource item sharing method further includes: In response to the first virtual game character obtaining the virtual resource item corresponding to the resource supply category, a third prompt window is displayed in the graphical user interface, wherein the third prompt window is used to inquire whether to store the obtained virtual resource item into the shared storage space.

13. The virtual resource item sharing method according to claim 12, characterized in that: The first virtual game character obtains the virtual resource item corresponding to the resource supply category, including one of the following: In response to the material acquisition operation for the shared storage space, the first virtual game character obtains the virtual resource item corresponding to the resource supply category from the shared storage space; In response to the shared resource allocation function being enabled for the first virtual game character, the first virtual game character obtains the virtual resource item corresponding to the resource replenishment category from the shared storage space; In response to a material picking operation for the virtual resource item corresponding to the resource replenishment category, the first virtual game character obtains the virtual resource item corresponding to the resource replenishment category from the virtual game scene.

14. The virtual resource item sharing method according to claim 12, characterized in that: The virtual resource item sharing method further includes: Calculating the sum of the number of virtual resource items currently owned by the first virtual game character and the number of virtual resource items currently allocated to the first virtual game character to obtain a calculation result; In response to the calculation result exceeding the upper limit of the virtual resource items currently owned by the first virtual game character, a fourth prompt window is displayed in the graphical user interface, wherein the fourth prompt window is used to inquire whether to store the overflowing virtual resource items into the shared storage space.

15. A virtual resource item sharing method, characterized in that: include: In response to detecting a virtual resource item that meets a preset condition, the first client displays a first prompt window in a graphical user interface corresponding to a first virtual game character, and in response to a control operation on a target item identifier in the first prompt window, stores a target virtual resource item corresponding to the target item identifier in a shared storage space, wherein the first prompt window is used to provide the item identifier of the virtual resource item, and the shared storage space is used to store the virtual resource item shared by the first virtual game character and a second virtual game character, and the first virtual game character and the second virtual game character belong to the same game camp; The second client allocates the virtual resource item to the second virtual game character in response to the resource allocation operation for the shared storage space.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the virtual resource item sharing method described in any one of claims 1 to 15 when executed by a processor.

17. An electronic device comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the virtual resource item sharing method described in any one of claims 1 to 15.

18. A computer program product, characterized in that It comprises a computer program, which implements the virtual resource item sharing method described in any one of claims 1 to 15 when executed by a processor.