Virtual item processing method, device and electronic terminal
By providing virtual storage space and custom space functions in the game, the problem of inconvenience of players in organizing their backpacks is solved, more efficient item management is achieved, and the game experience is improved.
Patent Information
- Application Number
- CN202211153521.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-21
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-09-21
AI Technical Summary
Players can organize their backpacks in the game with less convenience, which affects the gaming experience.
A virtual storage space is provided, including at least two storage spaces. Players can customize the purpose and capacity of each space. The system automatically places virtual items in the specified space.
It reduces players' frequent backpacking operations in the game, and improves the convenience and experience of the game.
Smart Images

Figure CN115645924B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular to a method, device, and electronic terminal for processing virtual items. Background Art
[0002] In many games, players can open their backpacks to adjust the positions of virtual items in the backpack, adjust the number of virtual items in the backpack, discard some virtual items, etc. For example, when the backpack is full, the player needs to open the backpack and discard some virtual items so that they can pick up new virtual items in the backpack.
[0003] However, in the prior art, players often need to open their backpacks and manually organize them, which affects other operations on the game, making it less convenient for players to organize their backpacks and affecting their gaming experience. Summary of the Invention
[0004] The purpose of the present disclosure is to provide a method, device, and electronic terminal for processing virtual items in a game, so as to alleviate the technical problem of low operational convenience for players in organizing their backpacks in the game.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for processing virtual items, the method comprising:
[0006] Displaying a virtual storage space, wherein the virtual storage space includes at least two storage grids, and the storage grids are used to place the acquired virtual items;
[0007] In response to an item determination operation for a target storage slot among the storage slots, determining a target virtual item to be placed in the target storage slot;
[0008] In response to the acquisition event of the target virtual item, the target virtual item is placed in the target storage slot.
[0009] In a second aspect, an embodiment of the present disclosure provides a device for processing virtual items, the device comprising:
[0010] A display module, configured to display a virtual storage space, wherein the virtual storage space includes at least two storage compartments, and the storage compartments are configured to store acquired virtual items;
[0011] a determination module, configured to determine a target virtual item to be placed in a target storage slot in response to an item determination operation for the target storage slot in the storage slots;
[0012] The placement module is configured to place the target virtual item in the target storage slot in response to an acquisition event of the target virtual item.
[0013] In a third aspect, an embodiment of the present disclosure provides an electronic terminal comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.
[0014] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method described in the first aspect above.
[0015] The embodiments of the present disclosure bring the following beneficial effects:
[0016] The embodiments of the present disclosure provide a method, device, and electronic terminal for processing virtual items. The method first displays a virtual storage space, which includes at least two storage slots for placing acquired virtual items. Then, in response to an item determination operation for a target storage slot among the storage slots, a target virtual item to be placed in the target storage slot is determined. Then, in response to an acquisition event of the target virtual item, the target virtual item is placed in the target storage slot. In this solution, by displaying virtual storage spaces such as backpacks for players and responding to the player's operation to determine the item in the target grid in the backpack item grid, the player can customize the desired items and quantities in advance. When picking up the item, the item can be automatically placed according to the pre-customized settings. The player can set the purpose of each item grid in the backpack in advance, such as which type of virtual item each item grid corresponds to and how many virtual items of the same type the item grid can accommodate. This makes it possible for the player to not need to frequently open the backpack to organize the virtual items in the subsequent game, avoiding the impact of backpack organization on other game operations, alleviating the technical problem of low convenience in organizing the backpack in the game, and improving the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;
[0019] Figure 2A schematic diagram of the structure of an electronic terminal provided in an embodiment of the present disclosure;
[0020] Figure 3 A schematic diagram of a usage scenario of an electronic terminal provided in an embodiment of the present disclosure;
[0021] Figure 4 A flowchart of a method for processing virtual items provided in an embodiment of the present disclosure;
[0022] Figure 5 A schematic diagram of a graphical user interface provided in an embodiment of the present disclosure;
[0023] Figure 6 Another graphical user interface diagram provided by an embodiment of the present disclosure;
[0024] Figure 7 This is a structural intention of a virtual item processing device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0026] The terms "including," "having," and any variations thereof, as used in the embodiments of the present disclosure, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.
[0027] In existing games, players need to pick up virtual items such as weapons to fight opponents in the game. After picking up virtual items, they will be placed in the backpack. When the backpack grid is full, the player needs to click the relevant button to open the backpack and manually replace nearby items or weapons. For weapons of the same type, they can be automatically replaced with higher-grade ones when picked up (for example, if the backpack contains a white-quality gun and there is a blue-quality gun nearby, pressing the button to pick it up will automatically replace the white-quality gun in the backpack), but most items need to be replaced manually. Therefore, when the backpack reaches the upper limit, the player needs to keep opening the backpack and manually organize it. Moreover, when the battle is more intense, calling out the backpack will block the screen, and the character cannot be controlled, and there is no time to click to pick up and replace items.
[0028] As can be seen from the above defects, there is a technical problem in current games that players have low operational convenience in organizing their backpacks in the game.
[0029] Based on this, the embodiments of the present disclosure provide a method, device, and electronic terminal for processing virtual items. Through this method, players can associate each item slot in the backpack with the item type and quantity, avoiding the impact of backpack organization on other game operations, alleviating the technical problem of low operational convenience of backpack organization in the game, and improving the player's gaming experience.
[0030] In one embodiment of the present disclosure, a method for processing virtual items can be executed on a local terminal device or a server. When the method for processing virtual items is executed on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0031] In an optional embodiment, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the processing method of virtual items are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0032] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0033] In a possible implementation, an embodiment of the present disclosure provides a method for processing virtual items, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or the client device in the cloud interaction system mentioned above.
[0034] For example, Figure 1 As shown, Figure 1 Schematic diagram of an application scenario provided by an embodiment of the present disclosure. This application scenario may include an electronic terminal (e.g., mobile phone 102) and a server 101. The electronic terminal may communicate with the server 101 via a wired or wireless network. The electronic terminal is used to run a virtual desktop, which can interact with the server 101 through the virtual desktop to control the virtual character on the server 101.
[0035] The electronic terminal of this embodiment is described by taking a mobile phone 102 as an example. The mobile phone 102 includes components such as a radio frequency (RF) circuit 210, a memory 220, a touch screen 230, and a processor 240. Those skilled in the art will understand that Figure 2 The mobile phone structure shown in the figure does not constitute a limitation of the mobile phone, and may include more or fewer components than shown in the figure, or combine or separate some components, or arrange the components differently. Those skilled in the art will understand that the touch screen 230 is a user interface (UI), and the mobile phone 102 may include more or fewer user interfaces than shown in the figure.
[0036] The RF circuit 210 may also communicate with a network and other devices via wireless communications using any communication standard or protocol, including but not limited to Global System of Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
[0037] Memory 220 can be used to store software programs and modules. Processor 240 executes the various functional applications and data processing of mobile phone 102 by running the software programs and modules stored in memory 220. Memory 220 may primarily include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, and the like; the data storage area may store data generated based on the use of mobile phone 102. Memory 220 may also include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0038] The touch screen 230 can be used to display a graphical user interface and receive user operations on the graphical user interface. Specifically, the touch screen 230 may include a display panel and a touch panel. The display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can collect user contact or non-contact operations on or near it (for example, Figure 3 As shown, the user uses a finger 301, a stylus, or any other suitable object or accessory to operate on or near the touch panel, and generates a pre-set operation instruction. In addition, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction and posture, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into information that the processor can process, and then sends it to the processor 240, and can receive the command sent by the processor 240 and execute it. In addition, the touch panel can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave, and any technology developed in the future can also be used to implement the touch panel. Furthermore, the touch panel can cover the display panel, and the user can operate on or near the touch panel covered on the display panel according to the graphical user interface displayed on the display panel. After the touch panel detects the operation on or near it, it is transmitted to the processor 240 to determine the user input, and then the processor 240 provides a corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be implemented as two independent components or integrated.
[0039] The processor 240 is the control center of the mobile phone 102. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 220 and calling data stored in the memory 220, it executes various functions of the mobile phone 102 and processes data, thereby monitoring the mobile phone as a whole.
[0040] The embodiments of the present disclosure are further described below with reference to the accompanying drawings.
[0041] Figure 4 A flowchart of a method for processing virtual items provided in an embodiment of the present disclosure is provided.
[0042] like Figure 4 As shown, the method includes:
[0043] Step S410: displaying a virtual storage space, where the virtual storage space includes at least two storage grids, and the storage grids are used to place the acquired virtual items.
[0044] For example, a player can open a game backpack (virtual storage space) in the game, which contains several item slots, i.e. storage slots, which are used to place virtual items. In actual applications, a backpack interface such as Figure 5 Item identification area 501 Item slot area 502 First item identification 503 First item identification 503 First item identification 503 Item slot 504 Item slot 504 First item identification 503 First item identification 503 .
[0045] Step S420 : In response to the item determination operation for the target storage slot among the storage slots, determining the target virtual item to be placed in the target storage slot.
[0046] For example, Figure 5 As shown, the player's operation process for determining an item in a target storage slot can be as follows: The backpack interface may include an item identification area 501 and an item slot area 502. The player can drag a first item identifier 503 to an item slot 504 (the target storage slot), thereby causing the system to determine the target virtual item (the first virtual item corresponding to the first item identifier 503) to be placed in the target storage slot. The player can also complete the item determination in the target storage slot by clicking. For example, when the player clicks the first item identifier 503, the system may determine the first virtual item corresponding to the first item identifier 503 as the target virtual item. When the player clicks the item slot 504 again, the system may determine the item slot 504 as the target storage slot. The player can also first click the item slot 504 to cause the system to determine the item slot 504 as the target storage slot. The system then displays several virtual item identifiers for the player. When the player clicks the first item identifier 503 among the several virtual item identifiers, the system may determine the first virtual item corresponding to the first item identifier 503 as the target virtual item.
[0047] It should be noted that the player can individually configure any item slot in the item slot area 502, and can set the virtual item category and quantity corresponding to each item slot. If the player does not specify a specific item slot, the system can default to the first empty and unconfigured item slot in the ranking.
[0048] Step S430 , in response to the acquisition event of the target virtual item, placing the target virtual item in the target storage slot.
[0049] For example, Figure 5 As shown, when a player approaches a target virtual item in the game, that is, the target virtual item is within the player's pickup range, the player can manually acquire the target virtual item by clicking the corresponding pickup button, or the system can automatically acquire the target virtual item. The acquired target virtual item will be preferentially stored in item slot 504. If item slot 504 is full, it will be preferentially stored in item slot 505, which is also designated for storing target virtual items. If item slot 505 is also full, the target virtual item will be placed in an empty, unconfigured item slot.
[0050] In existing gameplay, since item slots aren't specifically configured, each slot isn't assigned a specific virtual item. Therefore, when a player acquires a new virtual item, it's placed in a random slot in their backpack. This creates a chaotic mess, making it difficult for players to find the virtual item they need, and requiring manual sorting.
[0051] In the embodiment of the present application, the system can display a virtual storage space such as a backpack for the player and respond to the player's operation to determine the item in the target grid in the backpack item grid, so that the player can customize the desired items and quantities in advance. When picking up the item, the item can be automatically placed according to the pre-customized settings. The player can set the purpose of each item grid in the backpack in advance, such as which type of virtual item each item grid corresponds to and how many virtual items of the same type the item grid can accommodate. This makes it possible for the player to frequently open the backpack to organize the virtual items in subsequent games, avoid affecting other game operations due to organizing the backpack, alleviate the technical problem of low convenience in organizing the backpack in the game, and improve the player's gaming experience.
[0052] The above steps are described in detail below.
[0053] In some embodiments, the system can display item identifiers for players at target storage slots, prompting players which virtual item the target storage slots correspond to, enriching functionality and allowing players to intuitively understand the purpose of target storage slots, improving the convenience of backpack organization operations, and enhancing the player's gaming experience. As an example, the above step S420 may specifically include the following steps:
[0054] Step a) In response to a selection operation on a target storage compartment among the storage compartments, an item identifier is displayed at a corresponding position of the target storage compartment.
[0055] Step b) In response to a determination operation on the target item identifier in the item identifiers, a target storage slot is determined in which a target virtual item corresponding to the target item identifier is to be placed.
[0056] Regarding the above step a), the item identifier is used to represent the virtual item.
[0057] For example, Figure 5 As shown, the player can drag the first item identifier 503 to the item grid 504 (the target storage slot), completing the selection of the target storage slot and the determination of the target virtual item, thereby causing the system to determine the target virtual item (the item corresponding to the first item identifier 503) to be placed in the target storage slot. Once the system determines the target virtual item corresponding to the first item identifier 503 and the corresponding item quantity, it can display them in the item grid 504. For example, the target virtual item can be displayed as a blurred or gray image in the item grid 504, and the corresponding item quantity can be displayed in the lower right corner to provide a prompt to the player.
[0058] By making the system respond to the player's selection operation for the target storage slot in the storage slots, displaying the item identifier at the corresponding position of the target storage slot, and then responding to the determination operation for the target item identifier in the item identifier, determining the target virtual item corresponding to the target item identifier to be placed in the target storage slot, the player can intuitively know the purpose of the target storage slot, improve the convenience of backpack organization operations, and enhance the player's gaming experience.
[0059] In some embodiments, this method can be applied to mobile phones, tablet computers, and other terminal devices that can provide a graphical user interface, making the application scenarios more extensive. Players can use a relatively simple operation method to operate the item identifiers and storage grids in the graphical user interface, thereby more conveniently completing the functional assignment of the storage grids. As an example, the graphical user interface is provided by the terminal device, and the graphical user interface includes at least one item identifier displayed on the outside of the storage grid, and the item identifier is used to represent the virtual item; the above-mentioned step S420 may specifically include the following steps:
[0060] Step c) In response to a first designation operation on the target item identifier in the item identifier and the target storage slot in the storage slot, determining a target virtual item corresponding to the target item identifier to be placed in the target storage slot.
[0061] For example, Figure 5 As shown, the backpack interface may include an item identification area 501 and an item slot area 502. Item identification area 501 is located outside item slot area 502. Item identifiers in item identification area 501 represent virtual items. A player can perform a first designation operation on a first item identifier 503 and an item slot 504, causing the system to identify the first virtual item corresponding to first item identifier 503 as the target virtual item and item slot 504 as the target storage slot.
[0062] In actual applications, the first designation operation may be a click operation. For example, when the player clicks on first item identifier 503, the system may determine the first virtual item corresponding to first item identifier 503 as the target virtual item. When the player clicks on item slot 504 again, the system may determine item slot 504 as the target storage slot. The first designation operation may also be a drag operation. For example, when the player drags first virtual item identifier 503 to item slot 504, the system may determine the first virtual item corresponding to first item identifier 503 as the target virtual item and item slot 504 as the target storage slot.
[0063] By making the system respond to the player's first designated operation on the target item identifier in the item identifier and the target storage slot in the storage slot, and determining the target virtual item corresponding to the target item identifier to be placed in the target storage slot, the player can operate the item identifier and the storage slot in the graphical user interface in a relatively simple manner, thereby completing the function allocation of the storage slot more conveniently.
[0064] Based on the above step c), players can not only set up free item slots, but also slots that already have virtual items placed in them, enabling pre-setting to replace items already in the slots, making the backpack organization function more diverse and flexible. For example, by setting the item identifier and slots through the first designated operation, newly acquired target virtual items of different types replace existing virtual items and are stored in the current slot, thereby achieving quick replacement and organization of virtual items in the slots, improving the convenience of backpack organization operations and enhancing the player's gaming experience. As an example, the original virtual item is placed in the target storage slot; the above step c) may specifically include the following steps:
[0065] Step d) In response to a first designation operation on the target item identifier in the item identifier and the original virtual item in the target storage slot, determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
[0066] For example, Figure 6 As shown, an original virtual item of a certain type is stored in item slot 601. The system can respond to a player's first designated action, such as a dragging action, on a second item identifier 602. When the player drags the second item identifier 602 into item slot 601, the system can determine the second virtual item corresponding to the second item identifier 602 as the replacement virtual item in item slot 601. When the player approaches the second virtual item in the game, they can manually acquire it by clicking the corresponding pickup button, or have the system automatically acquire it, thereby replacing the original virtual item in item slot 601.
[0067] By making the system respond to the player's first designated operation on the target item identifier in the item identifier and the original virtual item in the target storage slot, it is determined that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, so that the newly acquired target virtual item of a different type replaces the existing virtual item and is stored in the current item slot, thereby achieving quick replacement and organization of the virtual items in the item slot, improving the convenience of backpack organization operations, and enhancing the player's gaming experience.
[0068] In some embodiments, when a player encounters a target virtual item in a game scene and is close enough to the target virtual item, the system can automatically pick up the target virtual item without the player having to open the backpack to pick it up manually, which reduces the player's operation steps and effectively improves the efficiency of backpack organization.
[0069] As an example, the above step S430 may specifically include the following steps:
[0070] Step e): in response to the event that the target virtual item appears within the designated virtual range, placing the target virtual item from the designated virtual range into the target storage slot.
[0071] For example, the player has pre-set a target storage grid for placing a target virtual item. When the player observes the target virtual item in the game scene, he can control the virtual character to move closer to the target virtual item. When the target virtual item is within a specified virtual range, that is, the distance between the target virtual item and the virtual character is close enough, the system can automatically obtain the target virtual item and place the target virtual item from the specified virtual range into the target storage grid.
[0072] By making the system respond to the event that the target virtual item appears within the specified virtual range, the target virtual item is placed from the specified virtual range to the target storage slot, thereby realizing automatic picking up of the target virtual item by the system. There is no need for the player to open the backpack to pick it up manually, which reduces the player's operation steps and effectively improves the efficiency of backpack organization.
[0073] Based on step c), players can also set the capacity of idle slots to provide more functionality. Players can set the number of target virtual items that each slot can hold, thereby ensuring that backpack capacity is not over-occupied or wasted, thereby improving the player's gaming experience. As an example, if no virtual items are placed in the target storage slot, step c) may include the following steps:
[0074] Step f) in response to a first designation operation on a target item identifier in the item identifiers and a target storage slot in the storage slots, determining a target virtual item corresponding to the target item identifier and the quantity of items corresponding to the first designation operation.
[0075] Step g) determining the target virtual items and the number of items to be placed in the target storage slot.
[0076] For example, Figure 5 As shown, the first designated operation can be a drag operation. The player can drag the first item identifier 503 to the item grid 504 (the target storage grid), thereby causing the system to complete the determination of the target virtual item (the item corresponding to the first item identifier 503) to be placed in the target storage grid. The number of target virtual items to be placed can be set by default to the maximum capacity of the item grid 504 relative to the target virtual item. Alternatively, the number of items can be increased by one each time the player drags the first item identifier 503. Alternatively, a pop-up window can appear after the player drags the first item identifier 503, and the player can manually enter the number of items and press the Enter key on the keyboard to confirm, thereby confirming the number of the first virtual items.
[0077] By enabling the system to respond to the player's first designated operation on the target item identifier in the item identifier and the target storage slot in the storage slot, determine the target virtual item corresponding to the target item identifier and the number of items corresponding to the first designated operation, and then determine the target virtual item and the number of items to be placed in the target storage slot, the player can set the specific number of target virtual items that each item slot can accommodate, ensuring that the backpack capacity will not be over-occupied or wasted, and improving the player's gaming experience.
[0078] In some embodiments, the first designated operation may include multiple types. By including multiple types of the first designated operation, the operation mode is made more flexible. Players can use multiple operation modes to make the system confirm the target virtual item corresponding to the item identifier and the corresponding item quantity, thereby improving the player's gaming experience. Exemplarily, the first designated operation includes any one or more of the following:
[0079] Click operations, sliding operations, operations with a touch duration longer than the preset duration, and digital input operations.
[0080] As an example, the first designated operation may be a click operation, and the click operation may be a single-click operation, a double-click operation, etc. Figure 5 As shown, when the player clicks the first item identifier 503, the system can confirm the first virtual item corresponding to the first item identifier 503 and associate the first free item slot 504 with the first virtual item.
[0081] As another example, the first designated operation may be a sliding operation, i.e., a dragging operation. Figure 5 As shown, when the player drags the first item identifier 503 to the empty item slot 504, the system can confirm the first virtual item corresponding to the first item identifier 503 and associate the first empty item slot 504 with the first virtual item.
[0082] As another example, the first designated operation may be an operation in which the touch duration is longer than a preset duration, that is, a long press operation, such as Figure 5 As shown, when the player performs a long press operation on the first item identifier 503, the system can confirm the first virtual item corresponding to the first item identifier 503 and associate the first free item slot 504 with the first virtual item.
[0083] As another example, the first designated operation may also include a numeric input operation. Numeric operations can be combined with the above operations to set the item quantity. For example, a player can click on the first item identifier 503 or the associated item slot 504. A pop-up window will pop up, and the player can perform a numeric operation such as numeric input in the pop-up window to confirm the item quantity. It can also be set that each time the player clicks on the first item identifier 503, the item quantity increases by one. It can also be set that each time the player drags the first item identifier 503 to the item slot 504, the item quantity increases by one. It can also be set that each time the player long-presses the first item identifier 503 for a preset duration, the item quantity increases by one, for example, each long-press for one second increases the item quantity by one. The player can also modify the set item quantity by clicking on the first item identifier 503 or the associated item slot 504.
[0084] By including multiple types of the first designated operation, the operation method is made more flexible and can be adapted to the gaming habits of different players. Players can use multiple operation methods to allow the system to confirm the target virtual item corresponding to the item identifier and the quantity of items corresponding to the first designated operation, thereby improving the player's gaming experience.
[0085] Based on steps f) and g) above, players can accurately and intuitively set the item type and quantity corresponding to each item slot. For example, the above-mentioned designation operation can be to select an item identifier and then enter a number to determine the virtual item and its quantity, thereby accurately setting the item type and quantity corresponding to the item slot. As an example, step f) above may specifically include the following steps:
[0086] Step h): In response to an identification selection operation and a number selection operation for a target item identification in the item identification, determining a target virtual item corresponding to the target item identification and the number of items corresponding to the number selection operation.
[0087] For example, Figure 5 As shown, the player can click on the first item identifier 503 to select the first item identifier 503. The system can then pop up a pop-up window for the player to select a number. The player can manually enter a number or select a number from a number list to confirm the number of items.
[0088] By making the system respond to the player's identification selection operation and number selection operation for the target item identification in the item identification, determining the target virtual item corresponding to the target item identification and the number of items corresponding to the number selection operation, the player can accurately set the type of virtual item and the number of items corresponding to each item grid, thereby improving the convenience of organizing the backpack in the game and enhancing the player's gaming experience.
[0089] Based on steps f) and g) above, players can drag item markers and slots without virtual items to increase the number of items, making the operation more concise and quick. For example, players can drag item markers to slots with idle virtual items, increasing the number of items by one each time they drag. This not only enhances the realism of item organization but also allows for more accurate determination of the number of items to be placed. As an example, step f) above may specifically include the following steps:
[0090] Step i) In response to a dragging operation of dragging a target item identifier in the item identifier to a target storage slot in the storage slot, determining a target virtual item corresponding to the target item identifier and the number of dragging operations, and determining the number of items according to the number of dragging operations.
[0091] For example, Figure 5 As shown, when a player drags a first item marker 503 to an empty slot 504 that does not contain any virtual items, the system can confirm the first virtual item corresponding to the first item marker 503 and associate the first empty slot 504 with the first virtual item. Each time the player drags the first item marker 503 to slot 504, the item quantity increases by one. For example, if the player drags the first item marker 503 twice, the system can determine that slot 504 corresponds to two first virtual items.
[0092] By making the system respond to the player's dragging operation of dragging the target item identifier in the item identifier to the target storage slot in the storage slot, determining the target virtual item corresponding to the target item identifier and the number of dragging operations, and determining the number of items based on the number of dragging operations, the operation is made simpler and clearer, so that the player can clearly feel the increased number of items, thereby improving the player's gaming experience.
[0093] Based on steps f) and g) above, the system can provide prompts during player settings to facilitate player confirmation of the currently set virtual items, their quantity, and their locations. For example, the set item grid can be displayed in a special format, making the corresponding virtual item information more intuitive and visible, preventing players from resetting already set item grids due to misoperation, and thus improving the player's gaming experience. As an example, after step f), the method can also include the following steps:
[0094] Step j) displaying the target virtual item with the number of items at the corresponding position in the target storage compartment according to a first preset display format.
[0095] For example, Figure 5 As shown, after the system determines the first virtual item corresponding to the first item identifier 503 and the item quantity corresponding to the first designated operation, it can determine the first virtual item of the item quantity as the virtual item to be placed in the item grid, and display it in the corresponding position in the item grid 504 according to a preset display format. For example, the first virtual item (prop 1) is displayed in the item grid 504 as a virtual image or gray image (first preset display format), and the corresponding item quantity is displayed in the lower right corner, thereby prompting the player that the virtual item to be placed in the item grid 504 is prop 1 and the item quantity is two. For another example, another first virtual item (prop 2) is displayed in the item grid 506 as a virtual image or gray image, and the corresponding item quantity is displayed in the lower right corner, thereby prompting the player that the virtual item to be placed in the item grid 506 is prop 2 and the item quantity is six.
[0096] By causing the system to display the target virtual item quantity at the corresponding position in the target storage grid according to the first preset display format, the virtual item information corresponding to the item grid is made more intuitive and visible, avoiding the player's repeated setting of the set item grid due to misoperation, thereby improving the player's gaming experience.
[0097] Based on step j), the display in the first preset display format can be updated in real time with the cancellation operation to prompt the player with the real-time operation result. Specifically, the player can also cancel the association operation of the set item grid, allowing the player to reset the item grid, making the function more diverse and flexible. For example, by dragging the first virtual item out of the grid, the first virtual item to be placed in the grid can be canceled. As an example, after step j), the method can also include the following steps:
[0098] Step k): in response to a dragging operation of dragging the target virtual item displayed in the first preset display format in the target storage slot out of the target storage slot, canceling the target virtual item to be placed in the target storage slot.
[0099] For example, Figure 5 As shown, when the item grid 504 is associated with the first virtual item (target virtual item) and the first virtual item is displayed in a virtual image or a gray image (first preset display form), the player can drag the first virtual item in the item grid 504 to drag the first virtual item out of the item grid 504, thereby canceling the first virtual item to be placed in the item grid 504 and canceling the association between the first virtual item and the item grid 504.
[0100] By enabling the system to respond to the player's dragging operation of dragging the target virtual item displayed in the first preset display form in the target storage grid out of the target storage grid, the target virtual item to be placed in the target storage grid is cancelled, so that the player can reset the prop grid, making the function richer and more flexible, and improving the player's gaming experience.
[0101] Based on step c), after determining that a virtual item is to be placed in an item slot, it can be canceled. For example, canceling the target virtual item to be placed in the item slot can be achieved in a variety of ways, making the function more diverse and the operation more flexible. As an example, after step c), the method can also include the following steps:
[0102] Step 1): in response to a second designation operation on a target storage slot where the target virtual item is to be placed, cancelling the placement of the target virtual item in the target storage slot.
[0103] For example, Figure 5As shown, the player can cancel the placement of the first virtual item in the item grid 504 by performing a second designated operation on the item grid 504 where the first virtual item is to be placed. For example, the player can cancel the placement of the first virtual item in the item grid 504 by clicking on the first virtual item in the item grid 504 or by dragging the first virtual item in the item grid 504.
[0104] By enabling the system to respond to the player's second designated operation on the target storage slot where the target virtual item is to be placed, and canceling the target virtual item to be placed in the target storage slot, the player can cancel the target virtual item to be placed in the item slot, making the functions richer, the operation more flexible, and improving the player's gaming experience.
[0105] Based on step 1) above, the second designated operation may include multiple types of operations. By including multiple types of second designated operations, the functionality is enriched, and the player can flexibly cancel the target virtual item to be placed in the item slot through multiple operations. As an example, the second designated operation includes any one or more of the following:
[0106] Click operations, sliding operations, and operations with a touch duration longer than the preset duration.
[0107] As an example, the second specified operation may be a click operation, which may be a single-click operation, a double-click operation, etc. Figure 5 As shown, when the player clicks on the item grid 504 , the system can cancel the first virtual item to be placed in the item grid 504 .
[0108] As another example, the second specified operation may be a sliding operation, i.e., a dragging operation. Figure 5 As shown, when the player drags the first virtual item in the item grid 504 to the outside of the item grid 504 , the system can cancel the first virtual item to be placed in the item grid 504 .
[0109] As another example, the second designated operation may be an operation where the touch duration is longer than the preset duration, that is, a long press operation, such as Figure 5 As shown, when the player performs a long press operation on the item grid 504 , the system can cancel the first virtual item to be placed in the item grid 504 .
[0110] By including multiple types of operations for the second designated operation, the functions are enriched and adapted to the gaming habits of different players. Players can flexibly cancel the first virtual item to be placed in the item grid through multiple operation methods, thereby improving the player's gaming experience.
[0111] Based on the above step 1), the player can perform batch operations on multiple item slots, making the player's operation more convenient. By removing the target virtual items to be placed in multiple item slots through a single operation, the player's gaming experience is improved. As an example, the above step 1) may specifically include the following steps:
[0112] Step m): in response to a selection operation on a plurality of target storage slots where the target virtual item is to be placed, canceling the target storage slots selected by the selection operation where the target virtual item is to be placed.
[0113] For example, Figure 5 As shown, the player can hold down the "ctrl" key on the keyboard, then use the mouse to select the item grid to be canceled, such as item grid 504 and item grid 505, and then drag them together to cancel the first virtual item to be placed in item grid 504 and item grid 505.
[0114] By enabling the system to respond to the player's selection operation for multiple target storage slots where the target virtual item is to be placed, and canceling the target virtual item to be placed in the target storage slot selected by the selection operation, the player's operation is made more convenient. By canceling the target virtual item to be placed in multiple item slots through one operation, the player's gaming experience is improved.
[0115] Based on step d) above, players can easily and accurately and intuitively set the type of item to be replaced in each slot. For example, by dragging the target item identifier onto the original virtual item in the slot, the type of virtual item placed in the slot can be replaced. As an example, after step d) above, the method may further include the following steps:
[0116] Step n): in response to a dragging operation of dragging the target item identifier in the item identifier to the original virtual item in the target storage slot, determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
[0117] For example, Figure 6 As shown, an original virtual item of a certain type (prop 1) is stored in item slot 601. The player can drag a second item identifier 602 into item slot 601, and the system will then determine the second virtual item (prop 2) corresponding to second item identifier 602 as the target virtual item to replace the original virtual item in item slot 601. When the player approaches the second virtual item in the game, they can manually acquire it by clicking the corresponding pickup button, or have the system automatically acquire it, thereby replacing the third virtual item in item slot 601.
[0118] By making the system respond to the player's dragging operation of dragging the target item identifier in the item identifier to the original virtual item in the target storage grid, it is determined that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage grid, so that the player can set the type of item to be replaced in each item grid accurately and intuitively in a simple way, thereby improving the player's operation convenience.
[0119] Based on step d) above, after the player drags the second item identifier to the original virtual item in the item grid, the system can display the original virtual item in the item grid in a special manner. This allows the system to display the replacement result of the drag operation when replacing the virtual item via the drag operation. This makes the virtual item information corresponding to the item grid more intuitive and visible, facilitating the player's confirmation of the replacement result and improving the player's gaming experience. As an example, the method can also include the following steps:
[0120] Step o): in response to a dragging operation of dragging the target item identifier to the original virtual item in the target storage slot, changing the display form of the original virtual item in the target storage slot.
[0121] For example, Figure 6 As shown, when the player drags the second item identifier 602 to the item grid 601, the system can determine the second virtual item (prop 2) corresponding to the second item identifier 602 as the replacement virtual item for the original virtual item in the item grid 601, and can change the display form of the original virtual item (prop 1), such as highlighting it in a circle around it, dynamically displaying it, etc., and can display the second virtual item identifier in the lower left corner of the item grid 601.
[0122] By making the system respond to the player's dragging operation of dragging the target item identifier to the original virtual item in the target storage grid and changing the display form of the original virtual item in the target storage grid, the virtual item information corresponding to the item grid can be made more intuitive and visible, thereby improving the player's gaming experience.
[0123] Based on step d) above, the system can specifically display the second virtual item to be replaced in the item slot, so that a replacement prompt can also be provided during the replacement process. This can clearly and intuitively let the player know what type of item the virtual item in the item slot will be replaced with, making it easier for the player to confirm the result of the replacement operation and improving the player's gaming experience. As an example, after step d) above, the method can also include the following steps:
[0124] Step p): displaying the target virtual item in the target storage space where the original virtual item is placed according to a second preset display format.
[0125] For example, Figure 6As shown, when the player drags the second item identifier 602 to the item grid 601, the system can determine the second virtual item (prop 2) corresponding to the second item identifier 602 as the replacement virtual item for the original virtual item (prop 1) in the item grid 601, and display a reduced second virtual item identifier 603 in the lower left corner of the item grid 601.
[0126] By causing the system to display the target virtual item in the target storage slot where the original virtual item is placed according to the second preset display format, the player can clearly and intuitively know which type of item the virtual item in the item slot will be replaced with, thereby improving the player's gaming experience.
[0127] Based on step d) above, the player can also cancel the replacement setting to provide more functionality. For example, the player can cancel the setting of replacing the original virtual item with the second virtual item, avoiding the virtual item being incorrectly replaced due to erroneous operation, thereby improving the player's gaming experience. As an example, after step d) above, the method may further include the following steps:
[0128] Step q): in response to a third designated operation on the target storage slot where the original virtual item is placed, canceling the original virtual item in the target storage slot to be replaced by the target virtual item.
[0129] For example, Figure 6 As shown, after the system has determined the second virtual item (prop 2) corresponding to the second item identifier 602 as the replacement virtual item for the original virtual item (prop 1) in the item grid 601, the player can cancel the second virtual item as the replacement virtual item for the original virtual item in the item grid 601 by performing a third designated operation on the item grid 601, such as right-clicking the item grid 601 with the mouse.
[0130] In actual applications, it can also be combined with the previous cancel operation. When the player right-clicks alone, the replacement setting is canceled normally and restored to the standard item grid state; when the player holds down the "alt" key and then right-clicks the mouse, the replacement preset is canceled when the first right-click is clicked, and the previous association between the item grid and the first virtual item is canceled when the second right-click is clicked.
[0131] By enabling the system to respond to the player's third designated operation on the target storage slot where the original virtual item is placed, the original virtual item in the target storage slot to be replaced by the target virtual item is cancelled, so that the player can cancel the replacement setting, making the function richer and improving the player's gaming experience.
[0132] Figure 7 A schematic diagram of the structure of a virtual item processing device provided in an embodiment of the present disclosure.
[0133] like Figure 7 As shown, the virtual item processing device 700 includes:
[0134] Display module 701, used to display a virtual storage space, the virtual storage space including at least two storage grids, the storage grids being used to place acquired virtual items;
[0135] A determination module 702 is configured to determine a target virtual item to be placed in a target storage slot in response to an item determination operation for the target storage slot in the storage slots;
[0136] The placement module 703 is configured to place the target virtual item in a target storage slot in response to an acquisition event of the target virtual item.
[0137] In some embodiments, the determination module 702 is specifically configured to:
[0138] In response to a selection operation on a target storage slot among the storage slots, an item identifier is displayed at a corresponding position of the target storage slot; the item identifier is used to represent a virtual item;
[0139] In response to a determination operation on the target item identifier in the item identifiers, a target storage slot is determined where a target virtual item corresponding to the target item identifier is to be placed.
[0140] In some embodiments, a graphical user interface is provided by a terminal device, the graphical user interface including at least one item identifier displayed outside the storage compartment, the item identifier being used to represent the virtual item; the determination module 702 is specifically configured to:
[0141] In response to a first designation operation on a target item identifier in the item identifiers and a target storage slot in the storage slots, a target virtual item corresponding to the target item identifier is determined to be placed in the target storage slot.
[0142] In some embodiments, the original virtual item is placed in the target storage slot; the determination module 702 is specifically configured to:
[0143] In response to a first designation operation on a target item identifier in the item identifier and an original virtual item in the target storage slot, it is determined that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
[0144] In some embodiments, the placement module 703 is specifically configured to:
[0145] In response to an event that the target virtual item appears within the designated virtual range, the target virtual item is placed from the designated virtual range into a target storage slot.
[0146] In some embodiments, no virtual item is placed in the target storage slot; the determination module 702 is specifically configured to:
[0147] In response to a first designation operation on a target item identifier in the item identifiers and a target storage slot in the storage slots, determining a target virtual item corresponding to the target item identifier and a quantity of items corresponding to the first designation operation;
[0148] Determine the target virtual item for the number of items to be placed in the target storage slot.
[0149] In some embodiments, the first specified operation includes any one or more of the following:
[0150] Click operations, sliding operations, operations with a touch duration longer than the preset duration, and digital input operations.
[0151] In some embodiments, the determination module 702 is specifically configured to:
[0152] In response to an identification selection operation and a number selection operation for a target item identification in the item identifications, a target virtual item corresponding to the target item identification and an item quantity corresponding to the number selection operation are determined.
[0153] In some embodiments, the determination module 702 is specifically configured to:
[0154] In response to a dragging operation of dragging a target item identifier in the item identifier to a target storage slot in the storage slot, a target virtual item corresponding to the target item identifier and the number of dragging operations are determined, and the number of items is determined according to the number of dragging operations.
[0155] In some embodiments, the apparatus may further comprise:
[0156] The second display module is used to respond to a first designated operation on the target item identifier in the item identifier and the target storage slot in the storage slot, determine the target virtual item corresponding to the target item identifier and the item quantity corresponding to the first designated operation, and then display the target virtual item quantity at the corresponding position in the target storage slot according to a first preset display format.
[0157] In some embodiments, the apparatus may further comprise:
[0158] The first canceling module is configured to cancel the target virtual item to be placed in the target storage slot in response to a dragging operation of dragging the target virtual item displayed in the first preset display format out of the target storage slot after the target virtual item having the target virtual item quantity displayed in the first preset display format is displayed in a corresponding position in the target storage slot in accordance with the first preset display format.
[0159] In some embodiments, the apparatus may further comprise:
[0160] The second cancelling module is configured to, after determining the target virtual item corresponding to the target item identifier to be placed in the target storage slot, cancel the target virtual item to be placed in the target storage slot in response to a second designating operation on the target storage slot to be placed.
[0161] In some embodiments, the second specified operation includes any one or more of the following:
[0162] Click operations, sliding operations, and operations with a touch duration longer than the preset duration.
[0163] In some embodiments, the second cancellation module is specifically configured to:
[0164] In response to a selection operation on a plurality of target storage slots where target virtual items are to be placed, the target storage slots where target virtual items are to be placed selected by the selection operation are cancelled.
[0165] In some embodiments, the determination module 702 is specifically configured to:
[0166] In response to a dragging operation of dragging a target item identifier in the item identifier to an original virtual item in a target storage slot, it is determined that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
[0167] In some embodiments, the apparatus may further comprise:
[0168] The changing module is configured to change the display form of the original virtual item in the target storage slot in response to a dragging operation of dragging the target item identifier to the original virtual item in the target storage slot.
[0169] In some embodiments, the apparatus may further comprise:
[0170] The third display module is configured to, in response to a first designated operation on the target item identifier in the item identifier and the original virtual item in the target storage slot, determine that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, and then display the target virtual item in the target storage slot in accordance with a second preset display format.
[0171] In some embodiments, the apparatus may further comprise:
[0172] The third canceling module is configured to, in response to a first designation operation on the target item identifier in the item identifier and the original virtual item in the target storage slot, determine that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, and then, in response to a third designation operation on the target storage slot where the original virtual item is placed, cancel the original virtual item in the target storage slot to be replaced by the target virtual item.
[0173] The virtual item processing device provided by the embodiment of the present disclosure has the same technical features as the virtual item processing method provided by the above embodiment, so it can also solve the same technical problems and achieve the same technical effects. By displaying a virtual storage space such as a backpack for the player and responding to the player's operation to determine the item in the target grid in the backpack item grid, the system enables the player to customize the desired items and quantity in advance. When the item is picked up, the item can be automatically placed according to the pre-customized settings. The player can set the purpose of each item grid in the backpack in advance, such as which type of virtual item each item grid corresponds to and how many virtual items of that type the item grid can accommodate. This allows the player to not need to frequently open the backpack to organize the virtual items in the subsequent game, avoiding the impact of organizing the backpack on other game operations, alleviating the technical problem of the low convenience of the player's backpack organization in the game, and improving the player's gaming experience.
[0174] The present disclosure also provides an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device executes a method for processing a virtual item as described in the embodiments, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions. The processor performs the following steps according to the preamble of the method item:
[0175] Displaying a virtual storage space, wherein the virtual storage space includes at least two storage grids, and the storage grids are used to place the acquired virtual items;
[0176] In response to an item determination operation for a target storage slot among the storage slots, determining a target virtual item to be placed in the target storage slot;
[0177] In response to the acquisition event of the target virtual item, the target virtual item is placed in the target storage slot.
[0178] Its specific embodiments and specific working processes can all refer to the corresponding processes in the above method embodiments, and will not be repeated here.
[0179] In a feasible embodiment, when the processor performs the operation of determining the target virtual item to be placed in the target storage slot in response to the item determination operation for the target storage slot among the storage slots, the processor is specifically configured to:
[0180] In response to a selection operation on a target storage slot among the storage slots, an item identifier is displayed at a corresponding position of the target storage slot; the item identifier is used to represent the virtual item;
[0181] In response to a determination operation on a target item identifier among the item identifiers, a target storage slot is determined where a target virtual item corresponding to the target item identifier is to be placed.
[0182] In one feasible embodiment, a graphical user interface is provided by a terminal device, wherein the graphical user interface includes at least one item identifier displayed outside the storage slot, wherein the item identifier is used to represent the virtual item; and when the processor performs the item determination operation in response to the target storage slot among the storage slots and determines the target virtual item to be placed in the target storage slot, the processor is specifically configured to:
[0183] In response to a first designation operation on a target item identifier in the item identifiers and a target storage slot in the storage slots, a target virtual item corresponding to the target item identifier is to be placed in the target storage slot.
[0184] In one feasible embodiment, the target storage slot has an original virtual item placed therein; and when the processor performs the first designation operation in response to the target item identifier in the item identifier and the target storage slot in the storage slot, and determines that the target storage slot is to contain the target virtual item corresponding to the target item identifier, the processor is specifically configured to:
[0185] In response to a first designation operation on a target item identifier in the item identifiers and an original virtual item in the target storage slot, it is determined that a target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
[0186] In a feasible embodiment, when the processor executes the step of placing the target virtual item in the target storage slot in response to the acquisition event of the target virtual item, the processor is specifically configured to:
[0187] In response to an event that the target virtual item appears within a designated virtual range, the target virtual item is placed from the designated virtual range into the target storage slot.
[0188] In one feasible embodiment, the virtual item is not placed in the target storage slot; when the processor performs the first designation operation in response to the target item identifier in the item identifier and the target storage slot in the storage slot, and determines that the target virtual item corresponding to the target item identifier is to be placed in the target storage slot, the processor is specifically configured to:
[0189] In response to a first designation operation on a target item identifier in the item identifiers and a target storage slot in the storage slots, determining a target virtual item corresponding to the target item identifier and a quantity of items corresponding to the first designation operation;
[0190] The target virtual items of the target storage grid to be placed with the target number of items are determined.
[0191] In a feasible embodiment, the first specified operation includes any one or more of the following:
[0192] Click operations, sliding operations, operations with a touch duration longer than the preset duration, and digital input operations.
[0193] In one feasible embodiment, when executing a first designated operation in response to a target item identifier in the item identifiers, determining a target virtual item corresponding to the target item identifier and the quantity of items corresponding to the first designated operation, the processor is specifically configured to:
[0194] In response to an identification selection operation and a number selection operation for a target item identification in the item identifications, a target virtual item corresponding to the target item identification and an item quantity corresponding to the number selection operation are determined.
[0195] In one feasible embodiment, when executing the first designation operation in response to the target item identifier in the item identifier and the target storage slot in the storage slot, determining the target virtual item corresponding to the target item identifier and the number of items corresponding to the first designation operation, the processor is specifically configured to:
[0196] In response to a dragging operation of dragging a target item identifier in the item identifier to a target storage slot in the storage slot, a target virtual item corresponding to the target item identifier and the number of dragging operations are determined, and the number of items is determined according to the number of dragging operations.
[0197] In one feasible embodiment, after executing the first designation operation in response to the target item identifier in the item identifier and the target storage slot in the storage slot, determining the target virtual item corresponding to the target item identifier and the number of items corresponding to the first designation operation, the processor is further configured to:
[0198] The target virtual item with the target quantity is displayed at a corresponding position in the target storage compartment according to a first preset display format.
[0199] In a feasible embodiment, after executing the step of displaying the target virtual item having the quantity of items in the corresponding position in the target storage slot according to the first preset display format, the processor is further configured to:
[0200] In response to a dragging operation of dragging the target virtual item displayed in the target storage slot according to the first preset display form out of the target storage slot, the target virtual item to be placed in the target storage slot is cancelled.
[0201] In a feasible implementation manner, after determining the target storage slot where the target virtual item corresponding to the target item identifier is to be placed, the processor is further configured to:
[0202] In response to a second designation operation on the target storage slot where the target virtual item is to be placed, the target storage slot where the target virtual item is to be placed is cancelled.
[0203] In a feasible embodiment, the second specified operation includes any one or more of the following:
[0204] Click operations, sliding operations, and operations with a touch duration longer than the preset duration.
[0205] In a feasible embodiment, when executing the second designated operation for the target storage slot where the target virtual item is to be placed and canceling the target storage slot where the target virtual item is to be placed, the processor is specifically configured to:
[0206] In response to a selection operation on a plurality of target storage slots where the target virtual item is to be placed, the target storage slots selected by the selection operation where the target virtual item is to be placed are cancelled.
[0207] In one feasible embodiment, when executing the first designated operation in response to the target item identifier in the item identifier and the original virtual item in the target storage slot, and determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, the processor is specifically configured to:
[0208] In response to a dragging operation of dragging a target item identifier in the item identifiers to an original virtual item in the target storage slot, it is determined that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
[0209] In one possible embodiment, the processor is further configured to:
[0210] In response to a dragging operation of dragging the target item identifier to the original virtual item in the target storage slot, a display form of the original virtual item in the target storage slot is changed.
[0211] In one feasible embodiment, after executing the first designated operation in response to the target item identifier in the item identifier and the original virtual item in the target storage slot and determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, the processor is further configured to:
[0212] The target virtual item is displayed in the target storage slot where the original virtual item is placed according to a second preset display format.
[0213] In one feasible embodiment, after executing the first designated operation in response to the target item identifier in the item identifier and the original virtual item in the target storage slot and determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, the processor is further configured to:
[0214] In response to a third designation operation on the target storage slot where the original virtual item is placed, the original virtual item in the target storage slot to be replaced by the target virtual item is cancelled.
[0215] Through the above method, the system displays virtual storage spaces such as backpacks for players and responds to the player's operation to determine the item in the target grid in the backpack item grid, so that the player can customize the desired items and quantities in advance. When picking up the item, the item can be automatically placed according to the pre-customized settings. The player can set the purpose of each item grid in the backpack in advance, such as which type of virtual item each item grid corresponds to, and how many virtual items of the same type the item grid can accommodate. This makes it possible for the player to frequently open the backpack to organize the virtual items in subsequent games, avoiding the impact of organizing the backpack on other game operations, alleviating the technical problem of low convenience in organizing the backpack in the game, and improving the player's gaming experience.
[0216] Corresponding to the above-mentioned method for processing virtual items, an embodiment of the present disclosure further provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to perform the following steps:
[0217] Displaying a virtual storage space, wherein the virtual storage space includes at least two storage grids, and the storage grids are used to place the acquired virtual items;
[0218] In response to an item determination operation for a target storage slot among the storage slots, determining a target virtual item to be placed in the target storage slot;
[0219] In response to the acquisition event of the target virtual item, the target virtual item is placed in the target storage slot.
[0220] Its specific embodiments and specific working processes can all refer to the corresponding processes in the above method embodiments, and will not be repeated here.
[0221] In a feasible embodiment, when the processor performs the operation of determining the target virtual item to be placed in the target storage slot in response to the item determination operation for the target storage slot among the storage slots, the processor is specifically configured to:
[0222] In response to a selection operation on a target storage slot among the storage slots, an item identifier is displayed at a corresponding position of the target storage slot; the item identifier is used to represent the virtual item;
[0223] In response to a determination operation on a target item identifier among the item identifiers, a target storage slot is determined where a target virtual item corresponding to the target item identifier is to be placed.
[0224] In one feasible embodiment, a graphical user interface is provided by a terminal device, wherein the graphical user interface includes at least one item identifier displayed outside the storage slot, wherein the item identifier is used to represent the virtual item; and when the processor performs the item determination operation in response to the target storage slot among the storage slots and determines the target virtual item to be placed in the target storage slot, the processor is specifically configured to:
[0225] In response to a first designation operation on a target item identifier in the item identifiers and a target storage slot in the storage slots, a target virtual item corresponding to the target item identifier is to be placed in the target storage slot.
[0226] In one feasible embodiment, the target storage slot has an original virtual item placed therein; and when the processor performs the first designation operation in response to the target item identifier in the item identifier and the target storage slot in the storage slot, and determines that the target storage slot is to contain the target virtual item corresponding to the target item identifier, the processor is specifically configured to:
[0227] In response to a first designation operation on a target item identifier in the item identifiers and an original virtual item in the target storage slot, it is determined that a target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
[0228] In a feasible embodiment, when the processor executes the step of placing the target virtual item in the target storage slot in response to the acquisition event of the target virtual item, the processor is specifically configured to:
[0229] In response to an event that the target virtual item appears within a designated virtual range, the target virtual item is placed from the designated virtual range into the target storage slot.
[0230] In one feasible embodiment, the virtual item is not placed in the target storage slot; when the processor performs the first designation operation in response to the target item identifier in the item identifier and the target storage slot in the storage slot, and determines that the target virtual item corresponding to the target item identifier is to be placed in the target storage slot, the processor is specifically configured to:
[0231] In response to a first designation operation on a target item identifier in the item identifiers and a target storage slot in the storage slots, determining a target virtual item corresponding to the target item identifier and a quantity of items corresponding to the first designation operation;
[0232] The target virtual items of the target storage grid to be placed with the target number of items are determined.
[0233] In a feasible embodiment, the first specified operation includes any one or more of the following:
[0234] Click operations, sliding operations, operations with a touch duration longer than the preset duration, and digital input operations.
[0235] In one feasible embodiment, when executing a first designated operation in response to a target item identifier in the item identifiers, determining a target virtual item corresponding to the target item identifier and the quantity of items corresponding to the first designated operation, the processor is specifically configured to:
[0236] In response to an identification selection operation and a number selection operation for a target item identification in the item identifications, a target virtual item corresponding to the target item identification and an item quantity corresponding to the number selection operation are determined.
[0237] In one feasible embodiment, when executing the first designation operation in response to the target item identifier in the item identifier and the target storage slot in the storage slot, determining the target virtual item corresponding to the target item identifier and the number of items corresponding to the first designation operation, the processor is specifically configured to:
[0238] In response to a dragging operation of dragging a target item identifier in the item identifier to a target storage slot in the storage slot, a target virtual item corresponding to the target item identifier and the number of dragging operations are determined, and the number of items is determined according to the number of dragging operations.
[0239] In one feasible embodiment, after executing the first designation operation in response to the target item identifier in the item identifier and the target storage slot in the storage slot, determining the target virtual item corresponding to the target item identifier and the number of items corresponding to the first designation operation, the processor is further configured to:
[0240] The target virtual item with the target quantity is displayed at a corresponding position in the target storage compartment according to a first preset display format.
[0241] In a feasible embodiment, after executing the step of displaying the target virtual item having the quantity of items in the corresponding position in the target storage slot according to the first preset display format, the processor is further configured to:
[0242] In response to a dragging operation of dragging the target virtual item displayed in the target storage slot according to the first preset display form out of the target storage slot, the target virtual item to be placed in the target storage slot is cancelled.
[0243] In a feasible implementation manner, after determining the target storage slot where the target virtual item corresponding to the target item identifier is to be placed, the processor is further configured to:
[0244] In response to a second designation operation on the target storage slot where the target virtual item is to be placed, the target storage slot where the target virtual item is to be placed is cancelled.
[0245] In a feasible embodiment, the second specified operation includes any one or more of the following:
[0246] Click operations, sliding operations, and operations with a touch duration longer than the preset duration.
[0247] In a feasible embodiment, when executing the second designated operation for the target storage slot where the target virtual item is to be placed and canceling the target storage slot where the target virtual item is to be placed, the processor is specifically configured to:
[0248] In response to a selection operation on a plurality of target storage slots where the target virtual item is to be placed, the target storage slots selected by the selection operation where the target virtual item is to be placed are cancelled.
[0249] In one feasible embodiment, when executing the first designated operation in response to the target item identifier in the item identifier and the original virtual item in the target storage slot, and determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, the processor is specifically configured to:
[0250] In response to a dragging operation of dragging a target item identifier in the item identifiers to an original virtual item in the target storage slot, it is determined that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
[0251] In one possible embodiment, the processor is further configured to:
[0252] In response to a dragging operation of dragging the target item identifier to the original virtual item in the target storage slot, a display form of the original virtual item in the target storage slot is changed.
[0253] In one feasible embodiment, after executing the first designated operation in response to the target item identifier in the item identifier and the original virtual item in the target storage slot and determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, the processor is further configured to:
[0254] The target virtual item is displayed in the target storage slot where the original virtual item is placed according to a second preset display format.
[0255] In one feasible embodiment, after executing the first designated operation in response to the target item identifier in the item identifier and the original virtual item in the target storage slot and determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, the processor is further configured to:
[0256] In response to a third designation operation on the target storage slot where the original virtual item is placed, the original virtual item in the target storage slot to be replaced by the target virtual item is cancelled.
[0257] Through the above method, the system displays virtual storage spaces such as backpacks for players and responds to the player's operation to determine the item in the target grid in the backpack item grid, so that the player can customize the desired items and quantities in advance. When picking up the item, the item can be automatically placed according to the pre-customized settings. The player can set the purpose of each item grid in the backpack in advance, such as which type of virtual item each item grid corresponds to, and how many virtual items of the same type the item grid can accommodate. This makes it possible for the player to frequently open the backpack to organize the virtual items in subsequent games, avoiding the impact of organizing the backpack on other game operations, alleviating the technical problem of low convenience in organizing the backpack in the game, and improving the player's gaming experience.
[0258] The processing device for virtual items provided in the embodiments of the present disclosure can be specific hardware on the device or software or firmware installed on the device. The implementation principle and technical effects of the device provided in the embodiments of the present disclosure are the same as those of the aforementioned method embodiments. For the sake of brief description, any part not mentioned in the device embodiment can be referred to the corresponding content in the aforementioned method embodiments. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can all refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0259] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only 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 communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0260] For another example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0261] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0262] In addition, each functional unit in the embodiments provided in the present disclosure 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.
[0263] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the virtual item processing method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other media that can store program codes.
[0264] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0265] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-mentioned embodiments, ordinary technicians in this field should understand that any technician familiar with this technical field can still modify the technical solutions described in the above-mentioned embodiments within the technical scope disclosed in the present disclosure, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present disclosure. They should all be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A method for processing virtual items, characterized in that: The method comprises: Displaying a virtual storage space, wherein the virtual storage space includes at least two storage grids, and the storage grids are used to place the acquired virtual items; In response to an item determination operation for a target storage slot among the storage slots, determining a target virtual item to be placed in the target storage slot; In response to the acquisition event of the target virtual item, the target virtual item is preferentially placed in a target storage slot; if the target storage slot is full, the target virtual item is preferentially placed in another target storage slot that is also set for placing the target virtual item; if the other target storage slot is also full, the target virtual item is placed in an empty and unset storage slot.
2. The method according to claim 1, characterized in that In response to the item determination operation for the target storage slot among the storage slots, determining the target virtual item to be placed in the target storage slot includes: In response to a selection operation on a target storage slot among the storage slots, an item identifier is displayed at a corresponding position of the target storage slot; the item identifier is used to represent the virtual item; In response to a determination operation on a target item identifier among the item identifiers, a target storage slot is determined where a target virtual item corresponding to the target item identifier is to be placed.
3. The method according to claim 1, characterized in that Providing a graphical user interface via a terminal device, the graphical user interface including at least one item identifier displayed on the outside of the storage slot, the item identifier being used to represent the virtual item; and determining a target virtual item to be placed in the target storage slot in response to an item determination operation for a target storage slot among the storage slots, comprising: In response to a first designation operation on a target item identifier in the item identifiers and a target storage slot in the storage slots, a target virtual item corresponding to the target item identifier is to be placed in the target storage slot.
4. The method according to claim 3, characterized in that The target storage slot has an original virtual item placed therein; and in response to a first designation operation on the target item identifier in the item identifier and the target storage slot in the storage slot, determining that the target storage slot is to be used to place the target virtual item corresponding to the target item identifier, includes: In response to a first designation operation on a target item identifier in the item identifiers and an original virtual item in the target storage slot, it is determined that a target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
5. The method according to claim 1, characterized in that The step of preferentially placing the target virtual item in a target storage slot in response to the acquisition event of the target virtual item includes: In response to an event that the target virtual item appears within a designated virtual range, the target virtual item is placed from the designated virtual range into the target storage slot.
6. The method according to claim 3, characterized in that The target storage slot does not contain the virtual item; and in response to a first designation operation on the target item identifier in the item identifier and the target storage slot in the storage slot, determining that the target virtual item corresponding to the target item identifier is to be placed in the target storage slot includes: In response to a first designation operation on a target item identifier in the item identifiers and a target storage slot in the storage slots, determining a target virtual item corresponding to the target item identifier and a quantity of items corresponding to the first designation operation; The target virtual items of the target storage grid to be placed with the target number of items are determined.
7. The method according to claim 6, characterized in that The first specified operation includes any one or more of the following: Click operations, sliding operations, operations with a touch duration longer than the preset duration, and digital input operations.
8. The method according to claim 6, characterized in that In response to a first designation operation on a target item identifier in the item identifiers, determining a target virtual item corresponding to the target item identifier and the quantity of the item corresponding to the first designation operation includes: In response to an identification selection operation and a number selection operation for a target item identification in the item identifications, a target virtual item corresponding to the target item identification and an item quantity corresponding to the number selection operation are determined.
9. The method according to claim 6, characterized in that In response to a first designation operation on a target item identifier in the item identifier and a target storage slot in the storage slot, determining a target virtual item corresponding to the target item identifier and a quantity of items corresponding to the first designation operation includes: In response to a dragging operation of dragging a target item identifier in the item identifier to a target storage slot in the storage slot, a target virtual item corresponding to the target item identifier and the number of dragging operations are determined, and the number of items is determined according to the number of dragging operations.
10. The method according to claim 6, characterized in that After determining the target virtual item corresponding to the target item identifier and the number of items corresponding to the first designation operation in response to the first designation operation on the target item identifier and the target storage slot in the storage slot, the method further includes: The target virtual item with the target quantity is displayed at a corresponding position in the target storage compartment according to a first preset display format.
11. The method according to claim 10, characterized in that After displaying the target virtual item of the quantity in the corresponding position in the target storage slot according to the first preset display format, the method further includes: In response to a dragging operation of dragging the target virtual item displayed in the target storage slot according to the first preset display form out of the target storage slot, the target virtual item to be placed in the target storage slot is cancelled.
12. The method according to claim 3, characterized in that After determining the target storage space where the target virtual item corresponding to the target item identifier is to be placed, the method further includes: In response to a second designation operation on the target storage slot where the target virtual item is to be placed, the target storage slot where the target virtual item is to be placed is cancelled.
13. The method according to claim 12, characterized in that The second specified operation includes any one or more of the following: Click operations, sliding operations, and operations with a touch duration longer than the preset duration.
14. The method according to claim 12, characterized in that In response to the second designation operation on the target storage slot where the target virtual item is to be placed, cancelling the placement of the target virtual item in the target storage slot includes: In response to a selection operation on a plurality of target storage slots where the target virtual item is to be placed, the target storage slots selected by the selection operation where the target virtual item is to be placed are cancelled.
15. The method according to claim 4, characterized in that In response to the first designation operation on the target item identifier in the item identifier and the original virtual item in the target storage slot, determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot includes: In response to a dragging operation of dragging a target item identifier in the item identifiers to an original virtual item in the target storage slot, it is determined that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot.
16. The method according to claim 4, characterized in that Also includes: In response to a dragging operation of dragging the target item identifier to the original virtual item in the target storage slot, a display form of the original virtual item in the target storage slot is changed.
17. The method according to claim 4, characterized in that After determining, in response to the first designation operation on the target item identifier in the item identifier and the original virtual item in the target storage slot, that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot, the method includes: The target virtual item is displayed in the target storage slot where the original virtual item is placed according to a second preset display format.
18. The method according to claim 4, characterized in that After determining that the target virtual item corresponding to the target item identifier is to replace the original virtual item in the target storage slot in response to the first designation operation on the target item identifier and the original virtual item in the target storage slot, the method further includes: In response to a third designation operation on the target storage slot where the original virtual item is placed, the original virtual item in the target storage slot to be replaced by the target virtual item is cancelled.
19. A virtual item processing device, characterized in that: The device comprises: A display module, configured to display a virtual storage space, wherein the virtual storage space includes at least two storage compartments, and the storage compartments are configured to store acquired virtual items; a determination module, configured to determine a target virtual item to be placed in a target storage slot in response to an item determination operation for the target storage slot in the storage slots; a placement module, configured to, in response to an acquisition event of the target virtual item, preferentially place the target virtual item in a target storage slot; if the target storage slot is full, preferentially place the target virtual item in another target storage slot that is also set for placing the target virtual item; if the other target storage slot is also full, place the target virtual item in an empty storage slot that has not been set.
20. An electronic terminal comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 18 are implemented.
21. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Virtual item displaying method and device and storage medium
CN108744510A
Virtual article display method and device, storage medium and electronic device
CN111888760A