Interaction method and device based on virtual item, equipment and medium

By displaying operation prompts during the dragging of virtual items, and providing shortcuts for changing their form, the problem of cumbersome operations for changing the position and form of virtual items is solved, thus improving the efficiency of human-computer interaction.

CN120919624APending Publication Date: 2025-11-11TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410565520.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Existing technologies involve cumbersome methods for changing the position and form of virtual items, resulting in low efficiency in human-computer interaction.

Method used

By displaying operation prompts during the dragging of virtual items, users are informed that shape-changing operations are supported during dragging, and shortcuts are provided, such as rotating or expanding virtual items by pressing buttons, to achieve single-stage changes in shape and position.

Benefits of technology

It enables smoother and more precise changes to the form and position of virtual items, reducing the learning cost and operational complexity for users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120919624A_ABST
    Figure CN120919624A_ABST
Patent Text Reader

Abstract

The invention discloses an interaction method and device based on a virtual article, equipment and a medium, and belongs to the field of man-machine interaction. The method comprises the following steps: displaying a first virtual article; in the dragging process of the first virtual article, an operation prompt is displayed, and the operation prompt is used for prompting that a form change operation is supported in the dragging process and a shortcut of the form change operation is displayed; in response to the received form change operation, changing the form of the first virtual article; and after the dragging process is finished, placing the first virtual article according to the changed form of the first virtual article. According to the method, the position and the form of the object can be changed only through one operation stage, and compared with multi-stage operation in the related technology, the form and the position of the virtual object can be changed more smoothly and more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of human-computer interaction, and in particular to an interaction method, apparatus, device and medium based on virtual items. Background Technology

[0002] In the gaming world, there are scenarios where the location of virtual items can be changed. For example, placing virtual items from a character's inventory in the game's warehouse, or picking up virtual items from a virtual airdrop crate and adding them to a character's backpack.

[0003] The related technology provides a PC game. In this game, there is a need to change the position of virtual items in the inventory. To change the position, the user must first click the status change option ("rotate" option) to change the shape of the virtual item at its current location. After the shape changes, the user can then click and drag the virtual item to another location using the mouse.

[0004] The methods for changing the position of items provided by related technologies are rather cumbersome, resulting in low efficiency in human-computer interaction. Summary of the Invention

[0005] This application provides an interaction method, apparatus, device, and medium based on virtual items, wherein changing the position and form of the item can be completed in only one operation stage. Compared with the multi-stage operation of related technologies, this application can change the form and position of virtual items more smoothly and accurately. The technical solution is as follows:

[0006] According to one aspect of this application, an interaction method based on virtual items is provided, the method comprising:

[0007] Display the first virtual item;

[0008] During the dragging of the first virtual item, an operation prompt is displayed, which indicates that the dragging process supports a shape change operation and provides a shortcut for the shape change operation.

[0009] In response to receiving the form change operation, the form of the first virtual item is changed;

[0010] After the dragging process is completed, place the first virtual item according to its modified form.

[0011] According to another aspect of this application, an interactive device based on virtual items is provided, the device comprising:

[0012] The display module is used to display the first virtual item;

[0013] The display module is also used to display operation prompts during the dragging of the first virtual item. The operation prompts are used to indicate that the dragging process supports shape change operations and the shortcuts for the shape change operations.

[0014] The display module is also configured to change the form of the first virtual item in response to receiving the form change operation;

[0015] The processing module is used to place the first virtual item according to the changed form of the first virtual item after the dragging process is completed.

[0016] According to one aspect of this application, a computer device is provided, the computer device comprising: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the virtual item-based interaction method as described above.

[0017] According to another aspect of this application, a computer-readable storage medium is provided, the storage medium storing a computer program that is loaded and executed by a processor to implement the virtual item-based interaction method as described above.

[0018] According to another aspect of this application, a computer program product or computer program is provided, the computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the virtual item-based interaction method provided in the above aspect.

[0019] The beneficial effects of the technical solutions provided in this application include at least the following:

[0020] In this application, during the dragging of the first virtual item, the player can perform a shape change operation. That is, changing the position and shape of the item can be completed in only one operation stage. Compared with the multi-stage operation of related technologies, this application can change the shape and position of virtual items more smoothly and accurately.

[0021] Furthermore, by displaying operation prompts during the dragging of the first virtual item, this application informs the user of the form change operation that can be performed during dragging, as well as the shortcut for the form change operation, thus informing the user of the existence of the form change operation and how to trigger it. This eliminates the need for the user to explore the form change operation on their own, thereby reducing the user's learning cost. Attached Figure Description

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

[0023] Figure 1 A schematic diagram of a character wearing area and a virtual warehouse provided in an exemplary embodiment is shown;

[0024] Figure 2 A schematic diagram illustrating the principle of an interactive method based on virtual items provided in an exemplary embodiment is shown.

[0025] Figure 3 A schematic diagram of a computer system provided in an exemplary embodiment is shown;

[0026] Figure 4 A flowchart illustrating an exemplary embodiment of a virtual item-based interaction method is provided.

[0027] Figure 5 A schematic diagram of the interface during the dragging of an item is shown in an exemplary embodiment;

[0028] Figure 6 A flowchart illustrating another exemplary embodiment of a virtual item-based interaction method is shown;

[0029] Figure 7 A flowchart illustrating another exemplary embodiment of a virtual item-based interaction method is shown;

[0030] Figure 8 A flowchart illustrating another exemplary embodiment of a virtual item-based interaction method is shown;

[0031] Figure 9 A flowchart illustrating another exemplary embodiment of a virtual item-based interaction method is shown;

[0032] Figure 10 A flowchart illustrating another exemplary embodiment of a virtual item-based interaction method is shown;

[0033] Figure 11 A schematic diagram of the first two steps of organizing a warehouse is shown in an exemplary embodiment;

[0034] Figure 12 A schematic diagram of the last two steps in organizing a warehouse is shown in an exemplary embodiment;

[0035] Figure 13A flowchart illustrating an exemplary embodiment of a virtual item-based interaction method is provided.

[0036] Figure 14 A schematic diagram illustrating the first two steps of adapting an item according to an exemplary embodiment is shown;

[0037] Figure 15 A schematic diagram of the last two steps when adapting an item according to an exemplary embodiment is shown;

[0038] Figure 16 A flowchart illustrating an exemplary embodiment of a virtual item-based interaction method is provided.

[0039] Figure 17 A schematic diagram of the first two steps of obtaining an item is shown in an exemplary embodiment;

[0040] Figure 18 A schematic diagram of the last two steps of obtaining an item is shown in an exemplary embodiment;

[0041] Figure 19 A flowchart illustrating an exemplary embodiment of a virtual item-based interaction method is provided.

[0042] Figure 20 A structural block diagram of an interactive device based on virtual items provided in an exemplary embodiment is shown;

[0043] Figure 21 A structural block diagram of a computer device provided in an exemplary embodiment is shown. Detailed Implementation

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

[0045] It should be understood that "several" in this article refers to one or more, and "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0046] First, a brief introduction to the terms used in the embodiments of this application:

[0047] Virtual environment: This is the virtual environment displayed when the client runs on the terminal. This virtual environment can be a simulation of the real world, a semi-simulated / semi-virtual environment, or a completely virtual environment.

[0048] Optionally, the virtual environment can provide a battle environment for virtual characters. For example, in a battle royale game, at least one virtual character engages in a single battle in the virtual environment. The virtual character survives by avoiding attacks from enemy units and dangers present in the virtual environment (such as poison gas circles, swamps, etc.). When a virtual character's health points in the virtual environment reach zero, the virtual character's life ends, and the last surviving virtual character is the winner.

[0049] Virtual character: refers to an active object in a virtual environment. This active object can be a virtual person, virtual animal, anime character, etc., such as a person or animal displayed in a 3D virtual environment. Optionally, the virtual character is a 3D model created based on animation skeletal technology. Each virtual character has its own shape and volume in the 3D virtual environment and occupies a portion of the space within the 3D virtual environment.

[0050] Virtual items: These refer to virtual items in a game. Examples include virtual backpacks, virtual clothing, virtual equipment, virtual healing kits, etc. Optionally, virtual items can be three-dimensional; each virtual item has its own shape and volume within the three-dimensional virtual environment, occupying a portion of that environment.

[0051] In the gaming world, there are scenarios where the location of virtual items needs to be changed. For example, placing virtual items from a virtual character's inventory into the game's storage, or retrieving virtual items from a virtual airdrop crate into a character's backpack. In these scenarios, it's necessary to change the virtual items' location. Typically, two container areas will be displayed on the interface: one is the virtual character's equipped area, and the other is the game inventory. A drag-and-drop operation moves the virtual item from the equipped area to the game inventory, and vice versa.

[0052] For example, one is the backpack storage area, and the other is the game warehouse. By dragging, you can move items such as candy, water, and bandages from the backpack storage area to the game warehouse, and vice versa.

[0053] This application aims to provide an interaction method based on virtual items.

[0054] In this application, the methods for changing the location of virtual items include the following two.

[0055] 1. In a virtual container, move a virtual item from a first position to a second position.

[0056] II. A method for moving a virtual item from a first virtual container to a second virtual container. Optionally, the virtual containers may include a virtual warehouse, a character's equipped area, a backpack storage area, an auto-attachment storage area, etc. Virtual containers have storage capabilities.

[0057] Figure 1 A schematic diagram of a character wearing area 110 and a virtual warehouse 120 provided in an exemplary embodiment of this application is shown. The character wearing area 110 displays virtual items carried by the virtual character. Optionally, during a game, the virtual character can use the virtual items in the character wearing area 110.

[0058] Reference Figure 1 The character's equipment area 110 includes headgear slots, facegear slots, main item slots, secondary item slots, headphone slots, bulletproof vest slots, holster slots, knife sheath slots, tactical ammunition slots, backpack slots, safe box slots, key chain slots, etc.

[0059] Headgear slot, used to hold headgear such as helmets and hats.

[0060] A facial equipment slot is used to hold facial protective equipment such as masks, goggles, and face shields.

[0061] The main item slot is used to hold the first long-range shooting item, which is usually the item held by the virtual character.

[0062] The secondary item slot is used to hold another long-range shooting item, which is often carried on the back of the virtual character.

[0063] Headphone slot, used to hold headphones, such as tactical headsets, communication devices used to simulate virtual characters in combat.

[0064] Bulletproof vest slot, used to hold bulletproof vests worn by virtual characters.

[0065] Holster slot, used to hold a short firing tool, such as a pistol.

[0066] The scabbard slot is used to hold close-combat tools, such as daggers.

[0067] Tactical ammunition racks are used to accommodate ammunition racks worn by virtual characters. Optionally, the ammunition racks may also have storage functionality, in conjunction with reference... Figure 1 When the virtual character is wearing a slingshot, the slingshot storage area 130 will be displayed. Figure 1 The central storage area 130 comprises 8 sub-storage areas, each containing 2 storage compartments. Optionally, the energy storage capacity of the central storage area is related to the type of central storage area.

[0068] In this application, the volume of a virtual item can be measured by the number of grid cells, and the shape of a virtual item can be measured by the number of grid cells in its length and width directions. For example, the volume of a standard surgical kit is 2 (occupying two grid cells), and the shape of a standard surgical kit is 1*2, or it can be 2*1.

[0069] Backpack slots are used to accommodate backpacks worn by virtual characters. The backpacks have storage functions and are designed for reference. Figure 1 When the virtual character is wearing a backpack, the backpack storage area 140 will be displayed. Figure 1 The backpack's storage area 140 includes 4x4 storage compartments. Optionally, the backpack's energy storage capacity depends on the type of backpack.

[0070] A safety box slot is used to hold a safety box carried by the virtual character. Optionally, the safety box has a storage function; when the virtual character is equipped with a safety box, the storage area of ​​the safety box will be displayed. Figure 1 (Not shown), optionally, the energy storage capacity of the safety box is related to the type of safety box.

[0071] A keychain slot for accommodating a virtual character's keychain. Optionally, the keychain may have storage functionality. When a virtual character is equipped with a keychain, the keychain storage area will be displayed. Figure 1 (Not shown).

[0072] Virtual Warehouse 120 has a large storage capacity. Optionally, during a match, a virtual character can use virtual items in the character's wear area 110, but cannot use virtual items in Virtual Warehouse 120. Optionally, outside of a match, a user can place virtual items from the character's wear area 110 into Virtual Warehouse 120, or place virtual items from Virtual Warehouse 120 into the character's wear area 110.

[0073] Optionally, the storage capacity of the virtual warehouse 120 is measured by the number of cells. Figure 1 The virtual warehouse 120 includes 500 storage compartments. The virtual warehouse 120 has a shape of 20*25, and the unit is a storage compartment.

[0074] The game covered in this application includes the following scenario: Outside of a match, a user drags a target item from the virtual warehouse 120 and places it in the character's wearing area 110. The target item in the character's wearing area 110 will be carried into the match. The user can acquire other items during the match and place them in the character's wearing area 110. In response to the user completing a match or winning a match, other items acquired during the match will be taken out of the match. The user can then drag and drop other items acquired during the match from the character's wearing area 110 and place them in the virtual warehouse 120.

[0075] Figure 2The diagram illustrates the principle of an interaction method based on virtual items provided in an exemplary embodiment of this application. Figure 2 The character's wearing area 210 and the virtual warehouse 220 are shown.

[0076] Reference Figure 2 Initially, the virtual backpack 230 in the virtual warehouse 220 is in a rolled-up state, with a 1x2 shape and each unit consisting of storage slots. In response to a drag operation on the virtual backpack 230, an operation prompt 240 will be displayed during the dragging process. The prompt 240 indicates that the virtual backpack 230 supports rotation during dragging and can be quickly rotated using the "R" key on the keyboard. The prompt 240 also indicates that the virtual backpack 230 supports unfolding during dragging and can be quickly unfolded using the "F" key on the keyboard.

[0077] Figure 2 The diagram shows the shape of the virtual backpack 230 after rotation. At this point, the virtual backpack 230 has rotated 90 degrees counterclockwise compared to before rotation. It is understood that the rotation direction and angle can be arbitrarily set; this application only uses a 90-degree clockwise rotation as an example. The rotated virtual backpack 230 remains rolled up.

[0078] After rotation, an updated operation prompt 241 will be displayed. The updated operation prompt 241 indicates that the virtual backpack 230 supports rotation during dragging, and that the virtual backpack 230 can be quickly rotated using the "R" key on the keyboard. The updated operation prompt 241 also indicates that the virtual backpack 230 supports expansion during dragging, and that the virtual backpack 230 can be quickly expanded using the "F" key on the keyboard.

[0079] Figure 2 The image shows the unfolded form of the virtual backpack 230. At this time, the virtual backpack 230 is in the unfolded form, which has a shape of 4*4, with each unit being a storage compartment.

[0080] After unfolding, another updated operation prompt 242 will be displayed. This updated prompt 242 indicates that the virtual backpack 230 supports rolling during dragging, and that the virtual backpack 230 can be quickly rolled up using the "F" key on the keyboard. It should be noted that in this application, the unfolded virtual backpack is designed as a square and direct rotation does not perform well, so it cannot be rotated further. However, the rolled-up virtual backpack after rotation will still display the rotation operation prompt.

[0081] Reference Figure 2In response to the virtual backpack 230 being dragged to the backpack slot 250, the virtual backpack 230 is equipped on the virtual character. Optionally, if the virtual backpack 230 is not dragged to the backpack slot 250, the operation of moving the virtual backpack 230 is abandoned. Optionally, in response to the virtual backpack 230 being dragged to the backpack slot 250, the virtual backpack 230 will automatically be in an unfolded state, and the backpack storage area will be displayed.

[0082] Optionally, the virtual backpack 230 is displayed in a fixed form in the backpack slot, meaning that changes in form during dragging will not affect the backpack form displayed in the backpack slot.

[0083] Optionally, in response to the virtual backpack 230 being dragged to the backpack slot 250, the form of the virtual backpack 230 in the backpack slot 250 is determined according to the form of the virtual backpack 230 at the end of the drag. If the virtual backpack 230 is in a rolled-up form at the end of the drag, the backpack storage area is not displayed; if the virtual backpack 230 is in an unfolded form at the end of the drag, the backpack storage area is automatically displayed.

[0084] Figure 3 A structural block diagram of a computer system provided in an exemplary embodiment of this application is given. The computer system 300 includes: a first terminal 310, a server 320, and other terminals 330.

[0085] The first terminal 310 has a client 311 installed and running that supports a virtual environment. This client 311 can be a game client, optionally a PC game. When the first terminal 310 runs the client 311, the user interface of the client 311 is displayed on the screen of the first terminal 310. The first terminal 310 is the terminal used by the first user 312. The first user 312 uses the first terminal 310 to change the location of virtual items via a first external device (optionally a mouse) 313 and a second external device (optionally a keyboard) 314. For example, using the first external device 313, a virtual backpack in the warehouse can be dragged and placed in the character's wearing area; during the dragging process, the form of the virtual backpack can be changed via the second external device 314.

[0086] Optionally, the device type of the first terminal 310 includes at least one of the following: desktop computer, laptop computer, smart TV, smartphone, wearable device, vehicle terminal, and tablet computer. The following embodiments illustrate this by using a terminal including a desktop computer.

[0087] Those skilled in the art will understand that the number of terminals described above can be more or less. For example, there may be only one terminal (i.e., the user plays against the artificial intelligence), or there may be six, eight, or more terminals. This application does not limit the number of terminals or the type of device.

[0088] Figure 3 Only one terminal is shown, but in different embodiments, multiple other terminals 330 can access the server 320. Optionally, one or more terminals 330 are terminals corresponding to developers, on which a client development and editing platform supporting a virtual environment is installed. Developers can edit and update the client on the terminal 330 and transmit the updated client installation package to the server 320 via wired or wireless network. The first terminal 310 can download the client installation package from the server 320 to update the client.

[0089] The first terminal 310 and other terminals 330 are connected to the server 320 via a wireless network or a wired network.

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

[0091] In an illustrative example, server 320 includes processor 322, user account database 323, battle service module 324, and user-facing input / output interface (I / O interface) 325. Processor 322 loads instructions stored in server 320 and processes data in user account database 323 and battle service module 324. User account database 323 stores data about user accounts used by the first terminal 310 and other terminals 330, such as user account avatars, nicknames, combat power indices, and the service area where the user account is located. Battle service module 324 provides multiple battle rooms for users to play against each other. User-facing I / O interface 325 establishes communication and exchanges data with the first terminal 310 via wireless or wired network.

[0092] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the item information involved in this application was obtained with full authorization.

[0093] Furthermore, when dealing with relevant information, the relevant information processor will adhere to the principles of legality, legitimacy, and necessity, clearly define the purpose, method, and scope of the relevant information processing, obtain the consent of the relevant information subject, and take necessary technical and organizational measures to ensure the security of the relevant information.

[0094] Figure 4 The flowchart illustrates an exemplary embodiment of the interaction method based on virtual items provided in this application, wherein the method is... Figure 3 The method, illustrated by example, is performed by the first terminal 310.

[0095] Step 420: Display the first virtual item;

[0096] The first virtual item refers to an item that can be stored in the game. Specifically, it refers to an item that can be placed in a container. Optionally, the first virtual item is represented in the container through icons, 3D models, text, etc. Optional first virtual items include backpacks, combat equipment, healing items, flare guns, currency, keys, special quest items, fruits, food, potions, etc.

[0097] In some embodiments, the first virtual item can be placed in the game warehouse, character wearing area, backpack storage area, pod storage area, safe storage area, boxes in the game scene, shelves, etc., all of which can be referred to as containers.

[0098] This schematically displays the first virtual item in the virtual warehouse. Optionally, the capacity of the virtual warehouse is measured by the number of storage slots; for example, the virtual warehouse capacity is 20*25 storage slots. Optionally, the first virtual item is an item occupying a certain volume, which is measured by the number of storage slots it occupies. For example, a volume of 1*2 means the first virtual item is 1 storage slot long and 2 storage slots wide; or, a volume of 2*1 means the first virtual item is 2 storage slots long and 1 storage slot wide. Both cases indicate that the first virtual item has a volume of 2 (two storage slots).

[0099] This section schematically displays the first virtual item in the character's equipped area. Optionally, the character's equipped area includes multiple equipment slots, such as headgear, face armor, main item, secondary item, headphone, body armor, holster, scabbard, tactical ammunition pouch, backpack, safe, keychain, etc. Optionally, items in equipment slots are not counted in volume. Optionally, if a backpack is placed in the backpack slot, the backpack storage area will be displayed. The capacity of the backpack storage area is measured by the number of storage compartments; for example, the backpack storage area has a capacity of 4x4, with each compartment being a storage compartment.

[0100] This illustratively displays the first virtual item in the supply crate that spawns during a match. Optionally, the capacity of the supply crate is measured in terms of the number of storage slots; for example, the supply crate has a capacity of 10*10 storage slots.

[0101] Step 440: During the dragging of the first virtual item, an operation prompt is displayed. The operation prompt is used to indicate that the form change operation is supported during the dragging process, as well as the shortcut for the form change operation.

[0102] In the game, there is a need to change the location of the first virtual item. These needs can generally be divided into two types: 1. Moving the first virtual item from the first container to the second container via drag and drop. For example, dragging and dropping the first virtual item from the virtual warehouse to the character's equipped area;

[0103] 2. Drag and drop the first virtual item from the first position in the container to the second position in the same container. For example, drag and drop the first virtual item from the first position in the virtual warehouse to the second position in the virtual warehouse (to achieve the purpose of warehouse organization).

[0104] For example, drag and drop the first virtual item located in the first position of the backpack storage area to the second position of the backpack storage area (to achieve the purpose of organizing the backpack storage area).

[0105] In this application, only the dragging process of the first virtual item is addressed, and the container / position of the first virtual item before dragging or after dragging is not limited. That is, the method provided in this application can be applied to the above scenarios in which the position of the first virtual item is changed.

[0106] In one embodiment, the dragging process involves using a first external device connected to the first terminal via a wired or wireless connection to drag the first virtual object. Optionally, the first external device may include a mouse, a VR (Virtual Reality) / AR (Augmented Reality) device, a gesture sensing device, etc. Taking a mouse as an example, firstly, the cursor is controlled to land on the first virtual object. In response to a left-click operation, the first virtual object is selected. By continuously moving the cursor, the first virtual object moves with the cursor, thus achieving the dragging operation.

[0107] Shape-changing operations include rotation, unfolding, and compression. Optionally, the type of shape-changing operation is related to the type of the first virtual item. Only virtual items that support unfolding / compression operations can perform these operations during dragging, such as virtual backpacks, clothing, and slingshots.

[0108] Rotation operations refer to operations that change the rotational form of an object, such as rotating an upright backpack to make it lie flat. Unfolding operations refer to operations that change an item from a compressed state to an unfolded state, such as unfolding a rolled-up backpack or folding folded clothes. Compression operations refer to operations that change an item from an unfolded state to a compressed state, such as rolling up an unfolded backpack or folding unfolded clothes. Optionally, compression operations include rolling up operations (such as rolling up a backpack) and folding operations (such as folding clothes).

[0109] Operation prompts indicate supported shape-changing operations during dragging, as well as shortcuts for these operations. Shortcuts, optional, refer to the methods of pressing keyboard shortcuts. For example, rotation can be triggered by pressing the "R" key; expand / compress can be triggered by pressing the "F" key. These shortcuts can be either preset by the game system or user-defined.

[0110] Optionally, the action prompt includes at least one element of text and graphic. Optionally, the action prompt has at least one attribute of color, border, blinking effect, shape, size, brightness, and transparency.

[0111] In one embodiment, the operation prompt is presented in a flashing state, which is more likely to attract user attention. In another embodiment, the operation prompt is presented in a highlighted state, which is more likely to attract user attention. In yet another embodiment, the operation prompt has a border, which is more likely to attract user attention.

[0112] In one embodiment, the operation prompt includes a text area and an icon area. The text area is used to indicate that shape-changing operations are supported during dragging, and the icon area is used to indicate shortcuts for shape-changing operations.

[0113] illustrative, for reference only Figure 2 , Figure 2 The operation prompt 240 includes a text area displaying the text "Rotate" to indicate that rotation is supported during dragging, and another text displaying the text "Expand" to indicate that expansion is supported during dragging. Figure 2 The operation prompt 240 also includes a pattern area showing the key "R" to indicate that pressing the "R" key on the keyboard can trigger a rotation operation, and the pattern area also shows the key "F" to indicate that pressing the "F" key on the keyboard can trigger an unfold operation.

[0114] In one embodiment, the operation prompt moves along with the dragging of the first virtual object; that is, there is no relative movement between the operation prompt and the first virtual object. The operation prompt is located near the first virtual object. Optionally, the operation prompt can be positioned above, below, to the left, to the right, at the top left corner, at the top right corner, at the bottom left corner, at the bottom right corner, etc., of the first virtual object. Figure 2 In the middle, operation prompt 240 is located in the lower right corner of the first virtual item.

[0115] In this embodiment, the operation prompt is located near the first virtual object and moves with the first virtual object. This helps the user to form an integrated perception of the operation prompt and the first virtual object. The user only needs to focus on a certain area on the screen, without having to pay attention to the operation prompt and the first virtual object.

[0116] Step 460: In response to receiving a form change operation, change the form of the first virtual item;

[0117] In one embodiment, before receiving a shape change operation, the first virtual item displays a folded shape, and in response to receiving an unfold operation, the first virtual item displays an unfolded shape.

[0118] In one embodiment, before receiving a shape change operation, the first virtual item displays an unfolded shape, and in response to receiving a folding operation, the first virtual item displays a folded shape.

[0119] In one embodiment, before receiving a shape change operation, the first virtual item displays a first rotated shape (such as an upright backpack), and in response to receiving a rotation operation, the first virtual item displays a second rotated shape (such as a horizontal backpack).

[0120] In one embodiment, the operation prompts are updated as the form of the first virtual item changes. For example, before the form changes, an unfold operation prompt is displayed; in response to receiving an unfold operation, the unfolded form of the first virtual item is displayed, and a fold operation prompt is displayed.

[0121] For example, before the form changes, a folding operation prompt is displayed; in response to receiving the folding operation, the first virtual item in the folded form is displayed, and an unfolding operation prompt is displayed.

[0122] That is, the operation prompts are updated in real time according to the state of the first virtual item.

[0123] In one embodiment, during the dragging of the first virtual item, the number of times the form changes is not limited; that is, there is a situation where the user does not terminate the dragging operation and the user continuously changes the form of the first virtual item.

[0124] In another embodiment, during the dragging of the first virtual item, only a limited number of shape change operations can be performed, for example, the shape of the first virtual item can only be changed once.

[0125] In one embodiment, during the dragging process, the interface displays the shape of the first virtual item in real time, as well as the target container (the container to be used to place the item). The target container is divided by grids, and the shape of the first virtual item can also be measured by grids. Therefore, during the dragging process, the user can observe the fit between various item shapes and the target container in real time, and finally place the item in the expected position of the target container. At the same time, before ending the dragging operation, the user can clearly perceive the result after the dragging ends.

[0126] For example, if a user wants to roll up the 4x4 virtual backpack in the character's wearing area and place it in the 1x2 empty area of ​​the virtual warehouse, they can change the backpack's shape and adjust its position according to the real-time operation prompts displayed during the dragging process, and finally accurately place the item in the expected location.

[0127] Reference Figure 5 , Figure 5 The process of dragging the virtual backpack 510 from the character's wearing area to the virtual warehouse is shown. Before dragging, the virtual backpack 510 is in an unfolded state with a 4*4 shape. During the dragging process, a roll-up operation is performed, and the shape of the virtual backpack 510 changes to 1*2. During the dragging process, the user observes that a blank area in the virtual warehouse is exactly 1*2 in size, so the user drags the virtual backpack 510 and places it in that blank area. A blank area refers to an area that does not contain any items.

[0128] Step 480: After the dragging process is complete, place the first virtual item according to its changed form.

[0129] In one embodiment, in response to ending the drag operation in the container area, the first virtual item is placed in the container area according to the changed form of the first virtual item.

[0130] In another embodiment, in response to the end of the drag operation in the blank area of ​​the container, the first virtual item is placed in the blank area according to the changed shape of the first virtual item.

[0131] Optionally, place the first virtual item according to its form when the drag operation ends. Optionally, in response to ending the drag operation in a non-container area or a non-empty area within a container, abandon the operation of placing the first virtual item.

[0132] In summary, by displaying operation prompts during the dragging of the first virtual item, this application informs the user of the form change operation that can be performed during dragging, as well as the shortcut for the form change operation. This informs the user of the existence of the form change operation and how to trigger it, eliminating the need for the user to explore the form change operation on their own, thereby reducing the user's learning cost.

[0133] based on Figure 4 In the alternative embodiment shown, step 420 can be replaced by: displaying the first virtual item in the first container. Step 480 can be replaced by: after the dragging process ends, placing the first virtual item in the second container according to the changed form of the first virtual item.

[0134] In one embodiment, the capacity of both the first container and the second container is measured by the number of cells, and at least one container includes multiple cells; the volume of the first virtual item is measured by the number of cells, and the first virtual item occupies at least one cell when it is in a placed state.

[0135] Optionally, the first container is the storage space for the second virtual item, which is a virtual item with storage capabilities. The second container is a storage space designed by the game system. For illustration purposes, the first container can be a backpack storage area (where the second virtual item is a backpack), a slingshot storage area (where the second virtual item is a slingshot), etc., and the second container can be a virtual warehouse.

[0136] Optionally, the second container is the storage space for the second virtual item, which is a virtual item with storage capabilities, while the first container is the storage space designed by the game system. For illustration purposes, the second container can be a backpack storage area (where the second virtual item is a backpack), a slingshot storage area (where the second virtual item is a slingshot), etc., while the first container is a virtual warehouse.

[0137] In another embodiment, the first container is a slot dedicated to items of a first category, to which the first virtual item belongs. The capacity of the second container is measured by the number of cells, and the second container comprises multiple cells. The volume of the first virtual item is measured by the number of cells, and the first virtual item occupies at least one cell when placed.

[0138] Indicatively, the first container includes headgear slots, facegear slots, main item slots, secondary item slots, headphone slots, body armor slots, holster slots, knife sheath slots, tactical ammunition slots, backpack slots, safe box slots, key chain slots, etc. The second container includes virtual warehouses, virtual supply boxes, etc.

[0139] based on Figure 4 In the optional embodiments shown, step 440 can be replaced by step S1, and step 460 can be replaced by step S2.

[0140] Step S1: During the dragging of the first virtual item, n operation prompts corresponding to the first form are displayed. The n operation prompts are used to indicate that n form change operations are supported during the dragging process, as well as the shortcuts corresponding to the n form change operations, where n is a positive integer.

[0141] The first form refers to the overall form in which the first virtual item is located.

[0142] For an item that only supports rotation and not unfolding / compression, the first form is illustrated as a first rotation form. For an item that supports both rotation and unfolding / compression, the first form is illustrated as a rotation + compression / unfolding form.

[0143] In this embodiment, n operation prompts will be displayed according to the first form of the first virtual item. For example, if the first virtual item is in a first rotated form and an unfolded form, rotation operation prompts and unfolded operation prompts will be displayed.

[0144] Step S2: In response to receiving any one of the n form change operations, change the first virtual item from the first form to the second form.

[0145] The second form refers to the overall form in which the first virtual item is located, which can be referred to in the introduction of the first form above.

[0146] In one embodiment, in response to receiving any one of the n form change operations, the first virtual item is changed from the first form to the second form, and m operation prompts are displayed, which are used to indicate that the dragging process supports m form change operations, and the shortcuts corresponding to the m form change operations, where m is a positive integer.

[0147] The M types of operation prompts correspond to the second form. That is, in this embodiment, the corresponding m types of operation prompts will be displayed according to the second form of the first virtual item.

[0148] That is, the operation prompts in this embodiment are updated in real time.

[0149] In summary, in the above embodiments, the currently executable form change operation is determined based on the real-time overall form of the first virtual item. Once the overall form of the first virtual item changes, the executable form change operation will be re-determined. Real-time operation prompts allow users to quickly understand the available form change operations even after the item's form changes during dragging.

[0150] Figure 6 The flowchart illustrates an exemplary embodiment of the interaction method based on virtual items provided in this application, wherein the method is... Figure 3 The method, illustrated by example, is performed by the first terminal 310.

[0151] Step 610: Display the first virtual item;

[0152] The first virtual item refers to an item that can be stored in the game. Specifically, it refers to an item that can be placed in a container. Optionally, the first virtual item is represented in the container through icons, 3D models, text, etc. Optional first virtual items include backpacks, combat equipment, healing items, flare guns, currency, keys, special quest items, fruits, food, potions, etc.

[0153] In some embodiments, the first virtual item can be placed in the game warehouse, character wearing area, backpack storage area, pod storage area, safe storage area, boxes in the game scene, shelves, etc., all of which can be referred to as containers.

[0154] This example illustrates the first virtual item in the virtual warehouse. Alternatively, it displays the first virtual item in the character's equipped area. Or, it displays the first virtual item in the supply crate.

[0155] Step 620: During the dragging of the first virtual item, when the first virtual item is in a compressed state, an unfold operation prompt is displayed. The unfold operation prompt is used to indicate that the unfold operation is supported during the dragging process, as well as the shortcut for the unfold operation.

[0156] This is an illustrative example. When the mouse cursor lands on the first virtual item, a left mouse button click confirms selection. The cursor's movement controls the virtual item's movement. During this movement, the virtual item may be in a compressed state, such as a rolled-up backpack or folded clothing.

[0157] For the first virtual item in compressed form, an expand operation prompt will be displayed on the interface. The expand operation prompt indicates that the expand operation is supported during dragging, and provides a shortcut for the expand operation. That is, this embodiment provides a real-time operation prompt, which changes in real-time based on the state of the first virtual item; if the first virtual item is in compressed form, an expand operation prompt will be displayed.

[0158] In one embodiment, the expand operation prompt includes an expand text area and an expand icon area. The expand text area indicates that the expand operation is supported during dragging, and the expand icon area indicates a shortcut for the expand operation. Illustratively, the expand text area displays the text "Expand," indicating that the expand operation is supported during dragging. The expand icon area shows the "F" key, indicating that the expand operation can be triggered by pressing the "F" key on the keyboard.

[0159] In one embodiment, the expand operation prompt moves with the dragging of the first virtual item, and the expand operation prompt is located near the first virtual item. Optionally, the expand operation prompt can be located above, below, to the left, to the right, at the top left corner, at the top right corner, at the bottom left corner, at the bottom right corner, etc., of the first virtual item.

[0160] In one embodiment, the unfolding operation prompt includes an unfolding operation animation, such as playing an animation of a finger pressing the "F" key on a keyboard to unfold the compressed backpack.

[0161] Step 630: In response to receiving the unfold operation prompt, change the compressed form of the first virtual item to the unfolded form of the first virtual item.

[0162] Indicatively, in response to receiving an operation that triggers the "F" key on the keyboard, the rolled-up virtual backpack is changed to an unfolded virtual backpack.

[0163] Indicatively, in response to receiving an operation triggered by the "F" key on the keyboard, the virtual clothing in the folded state is changed to the unfolded state.

[0164] In one embodiment, a first virtual item occupies at least one storage slot when it is placed. In response to receiving an unfold operation prompt, the first virtual item occupying a first number of slots is changed to occupy a second number of slots; wherein the first number is less than the second number. For example, a virtual backpack occupying 1*2 slots in a rolled-up state will occupy 4*4 slots when unfolded; at this point, the virtual backpack is in an unfolded state.

[0165] Step 640: After the dragging process is complete, place the first virtual item according to its changed form.

[0166] In one embodiment, only one form change operation occurs during the dragging process, that is, the first virtual item is changed from a compressed form to an expanded form. After the dragging is completed, the first virtual item will be placed in the expanded form, that is, after placement, the first virtual item will be displayed in the expanded form.

[0167] Figure 7The flowchart illustrates an exemplary embodiment of the interaction method based on virtual items provided in this application, wherein the method is... Figure 3 The method, illustrated by example, is performed by the first terminal 310.

[0168] Step 710: Display the first virtual item;

[0169] The first virtual item refers to an item that can be stored in the game. Specifically, it refers to an item that can be placed in a container. Optionally, the first virtual item is represented in the container through icons, 3D models, text, etc. Optional first virtual items include backpacks, combat equipment, healing items, flare guns, currency, keys, special quest items, fruits, food, potions, etc.

[0170] In some embodiments, the first virtual item can be placed in the game warehouse, character wearing area, backpack storage area, pod storage area, safe storage area, boxes in the game scene, shelves, etc., all of which can be referred to as containers.

[0171] This example illustrates the first virtual item in the virtual warehouse. Alternatively, it displays the first virtual item in the character's equipped area. Or, it displays the first virtual item in the supply crate.

[0172] Step 720: During the dragging of the first virtual item, when the first virtual item is in an expanded state, a compression operation prompt is displayed. The compression operation prompt is used to indicate that compression operation is supported during dragging, as well as the shortcut for compression operation.

[0173] This is an illustrative example. When the mouse cursor lands on the first virtual item, a left mouse button click confirms selection. The cursor's movement controls the virtual item's movement. During this movement, the virtual item may be in an unfolded state, such as an unfolded backpack or unfolded clothing.

[0174] For the first virtual item in its expanded state, a compression operation prompt will be displayed on the interface. This compression operation prompt indicates that compression is supported during dragging and provides a shortcut for compression. In other words, this embodiment provides a real-time operation prompt that changes in real-time based on the state of the first virtual item; if the first virtual item is in its expanded state, a compression operation prompt will be displayed.

[0175] In one embodiment, the compression operation prompt includes a compression text area and a compression icon area. The compression text area indicates that compression is supported during dragging, and the compression icon area indicates a shortcut for compression. Illustratively, the compression text area displays the text "Compress," indicating that compression is supported during dragging. The compression icon area shows the "F" key, indicating that pressing the "F" key on the keyboard triggers the compression operation.

[0176] In one embodiment, the compression operation prompt moves along with the dragging of the first virtual item, and the compression operation prompt is located near the first virtual item. Optionally, the compression operation prompt can be positioned above, below, to the left, to the right, at the top left corner, at the top right corner, at the bottom left corner, at the bottom right corner, etc., of the first virtual item.

[0177] In one embodiment, the compression operation prompt includes a compression operation animation, such as playing an animation of a finger pressing the "F" key on a keyboard to compress the unfolded backpack.

[0178] Step 730: In response to receiving the compression operation prompt, change the first virtual item in the expanded form to the first virtual item in the compressed form.

[0179] Indicatively, in response to receiving an operation that triggers the "F" key on the keyboard, the virtual backpack is changed from an unfolded state to a rolled-up state.

[0180] Indicatively, in response to receiving an operation triggered by the "F" key on the keyboard, the virtual clothing in its unfolded state is changed to a folded state.

[0181] In one embodiment, when a first virtual item is placed, it occupies at least one grid cell. In response to receiving a compression operation prompt, the first virtual item occupying a second number of grid cells is changed to occupy a first number of grid cells; wherein the second number is greater than the first number.

[0182] For example, a virtual backpack that occupies 4x4 grids in its unfolded state will be compressed to occupy 1x2 grids, at which point the virtual backpack is in its compressed state.

[0183] Step 740: After the dragging process is complete, place the first virtual item according to its changed form.

[0184] In one embodiment, only one form change operation occurs during the dragging process, that is, the first virtual item is changed from an expanded form to a compressed form. After the dragging is completed, the first virtual item will be placed in the compressed form, that is, after placement, the first virtual item will be displayed in the compressed form.

[0185] In one embodiment, the first virtual item is a virtual item with storage capabilities, and at least one other virtual item is stored within the first virtual item. After the dragging process is completed, the first virtual item is placed according to its modified form, and at least one other virtual item is placed separately.

[0186] To illustrate, drag the virtual backpack from the character's wearing area to the virtual warehouse. Before dragging, the virtual backpack in the character's wearing area still contains items such as water, bandages, and candy. During the dragging process, the virtual backpack is rolled up and placed in a 1*2 grid area in the virtual warehouse. The water, bandages, candy, and other items are taken out separately and placed in the virtual warehouse as well.

[0187] In one embodiment, at least one other virtual item stored in the first virtual item is placed according to a preset placement rule. For example, after dragging is completed, the item is automatically placed in an empty area within the target container. Alternatively, it is automatically placed in an empty area within the source container.

[0188] To illustrate, the virtual backpack is dragged from the first virtual warehouse to the second virtual warehouse. Before dragging, the virtual backpack in the character's wearing area still contains items such as water, bandages, and candy. During the dragging process, the virtual backpack is rolled up. After the dragging is finished, the water, bandages, candy, and other items are placed in the second virtual warehouse or left in the first virtual warehouse.

[0189] The first virtual warehouse can be the warehouse corresponding to the first role, and the second virtual warehouse can be the warehouse corresponding to the second role, where the second role is the virtual role controlled by the first terminal.

[0190] That is, the above embodiments provide a placement scheme for the first virtual item and other virtual items when moving and compressing the first virtual item (the first virtual item stores at least one other virtual item).

[0191] In one embodiment, a confirmation pop-up is displayed, which includes a first option for confirming the clearing of at least one other virtual item from the first virtual item; in response to the first option receiving a trigger operation, it is determined that after the dragging process ends, the first virtual item is placed according to the changed form of the first virtual item, and at least one other virtual item is placed separately.

[0192] As an illustration, when performing a roll-up operation on a virtual backpack during dragging, if there are items in the virtual backpack, a secondary confirmation pop-up will be triggered after the dragging process ends. The secondary confirmation pop-up is used to ask the user whether to empty the items in the backpack and move the empty items to the warehouse. If the user selects to agree, the backpack will be emptied and rolled up; if the user cancels, the roll-up operation will be canceled.

[0193] Figure 8 The flowchart illustrates an exemplary embodiment of the interaction method based on virtual items provided in this application, wherein the method is... Figure 3 The method, illustrated by example, is performed by the first terminal 310.

[0194] Step 810: Display the first virtual item;

[0195] The first virtual item refers to an item that can be stored in the game. Specifically, it refers to an item that can be placed in a container. Optionally, the first virtual item is represented in the container through icons, 3D models, text, etc. Optional first virtual items include backpacks, combat equipment, healing items, flare guns, currency, keys, special quest items, fruits, food, potions, etc.

[0196] In some embodiments, the first virtual item can be placed in the game warehouse, character wearing area, backpack storage area, pod storage area, safe storage area, boxes in the game scene, shelves, etc., all of which can be referred to as containers.

[0197] This example illustrates the first virtual item in the virtual warehouse. Alternatively, it displays the first virtual item in the character's equipped area. Or, it displays the first virtual item in the supply crate.

[0198] Step 820: During the dragging of the first virtual item, when the first virtual item is in a rotatable state, a rotation operation prompt is displayed. The rotation operation prompt is used to indicate that rotation operation is supported during dragging, as well as the shortcut for rotation operation.

[0199] This example illustrates how to control the mouse cursor to fall on the first virtual item. In response to a left mouse button click, the first virtual item is selected. Continuous cursor movement controls the movement of the first virtual item. During this movement, the first virtual item may be in a rotatable state; for example, a virtual backpack may be rolled up, or virtual clothing may be folded, and so on.

[0200] For the first virtual item in a rotatable state, a rotation operation prompt will be displayed on the interface. The rotation operation prompt indicates that rotation is supported during dragging, and provides a shortcut for rotation. That is, this embodiment provides a real-time operation prompt, which changes in real-time based on the state of the first virtual item; if the first virtual item is in a rotatable state, a rotation operation prompt will be displayed.

[0201] In one embodiment, the rotation operation prompt includes a rotation text area and a rotation graphic area. The rotation text area indicates that rotation is supported during dragging, and the rotation graphic area indicates a shortcut for the rotation operation. Illustratively, the rotation text area displays the text "Rotate," indicating that rotation is supported during dragging. The rotation graphic area shows the "R" key, indicating that pressing the "R" key on the keyboard triggers the rotation operation.

[0202] In one embodiment, the rotation prompt moves along with the dragging of the first virtual object, and the rotation prompt is located near the first virtual object. Optionally, the rotation prompt can be positioned above, below, to the left, to the right, at the top left corner, at the top right corner, at the bottom left corner, at the bottom right corner, etc., of the first virtual object.

[0203] In one embodiment, the rotation prompt includes a rotation animation, such as playing an animation of a finger pressing the "R" key on a keyboard to rotate a virtual backpack.

[0204] Step 830: In response to receiving the rotation operation prompt, the first virtual item is changed from the first rotation state to the second rotation state. The first rotation state indicates that the first virtual item is in a rotatable state.

[0205] Indicatively, in response to receiving an operation triggered by the "R" key on the keyboard, the virtual backpack in the first rotation state is changed to the virtual backpack in the second rotation state.

[0206] Indicatively, the first rotational form is a backpack standing upright, and the second rotational form is a backpack lying flat.

[0207] In one embodiment, the first virtual item occupies at least one storage slot when it is in a placed state. In response to receiving a rotation operation prompt, the first virtual item occupying a p*q grid area is changed to occupy a q*p grid area.

[0208] Wherein, the p*q grid region refers to a region with a length of p and a width of q, and the q*p grid region refers to a region with a length of q and a width of p, where p and q are both positive integers.

[0209] To illustrate, before rotation, the virtual backpack occupies a 1*2 grid area; after rotation, it occupies a 2*1 grid area. That is, each rotation operation swaps the number of grids occupied by the length and width dimensions.

[0210] Optionally, the rotation operation can be clockwise or counterclockwise. Optionally, for a virtual backpack in an upright position, performing one rotation operation will bring the virtual backpack to a flat position, and performing another rotation operation will bring the virtual backpack back to an upright position. That is, two rotation operations correspond to one rotation cycle.

[0211] Step 840: After the dragging process is complete, place the first virtual item according to its changed form.

[0212] In one embodiment, only one shape change operation occurs during the dragging process, that is, the first virtual item is changed from the first rotation shape to the second rotation shape. After the dragging is completed, the first virtual item will be placed according to the second rotation shape. That is, after placement, the first virtual item will be displayed in the second rotation shape.

[0213] Figure 9 The flowchart illustrates an exemplary embodiment of the interaction method based on virtual items provided in this application, wherein the method is... Figure 3 The method, illustrated by example, is performed by the first terminal 310.

[0214] Step 910: Display the first virtual item;

[0215] The first virtual item refers to an item that can be stored in the game. Specifically, it refers to an item that can be placed in a container. Optionally, the first virtual item is represented in the container through icons, 3D models, text, etc. Optional first virtual items include backpacks, combat equipment, healing items, flare guns, currency, keys, special quest items, fruits, food, potions, etc.

[0216] In some embodiments, the first virtual item can be placed in the game warehouse, character wearing area, backpack storage area, pod storage area, safe storage area, boxes in the game scene, shelves, etc., all of which can be referred to as containers.

[0217] This example illustrates the first virtual item in the virtual warehouse. Alternatively, it displays the first virtual item in the character's equipped area. Or, it displays the first virtual item in the supply crate.

[0218] Step 920: During the dragging of the first virtual item, when the first virtual item is in a compressed state, an expand operation prompt and a rotate operation prompt are displayed. The expand operation prompt is used to indicate that the expand operation is supported during dragging, as well as the shortcut for the expand operation. The rotate operation prompt is used to indicate that the rotate operation is supported during dragging, as well as the shortcut for the rotate operation.

[0219] This is an illustrative example. When the mouse cursor lands on the first virtual item, a left mouse button click confirms selection. The cursor's movement controls the virtual item's movement. During this movement, the virtual item may be in a compressed state, such as a rolled-up backpack or folded clothing.

[0220] For the first virtual item in compressed form, the interface will display expand and rotate operation prompts. The expand operation prompt indicates that the expand operation is supported during dragging, and provides a shortcut for expanding. The rotate operation prompt indicates that the rotate operation is supported during dragging, and provides a shortcut for rotating.

[0221] That is, the embodiments of this application provide a real-time operation prompt. The operation prompt will change in real time based on the state of the first virtual item. When the first virtual item is in a compressed state, an unfold operation prompt and a rotate operation prompt will be displayed.

[0222] Step 930: In response to receiving the unfold operation prompt, change the compressed form of the first virtual item to the unfolded form of the first virtual item, and cancel the display of the rotation operation prompt;

[0223] Indicatively, in response to receiving an operation that triggers the "F" key on the keyboard, the rolled-up virtual backpack is changed to an unfolded virtual backpack.

[0224] Indicatively, in response to receiving an operation triggered by the "F" key on the keyboard, the virtual clothing in the folded state is changed to the unfolded state.

[0225] In this embodiment of the application, when the virtual item is in the unfolded state, the rotation operation prompt will not be displayed. This is because the first virtual item is large in the unfolded state, and the performance after rotation is not good. In addition, in many designs, the unfolded virtual item is square and will occupy the square grid area. In this case, rotation will not change the shape and will not affect the placement of the virtual item.

[0226] Step 940: After the dragging process is complete, place the first virtual item according to its changed form.

[0227] In one embodiment, only one form change operation occurs during the dragging process, that is, the first virtual item is changed from a compressed form to an expanded form. After the dragging is completed, the first virtual item will be placed in the expanded form, that is, after placement, the first virtual item will be displayed in the expanded form.

[0228] The virtual item-based interaction method provided in this application can be applied to warehouse organization scenarios.

[0229] Figure 10 The flowchart illustrates an exemplary embodiment of the interaction method based on virtual items provided in this application, wherein the method is... Figure 3 The method, illustrated by example, is performed by the first terminal 310.

[0230] Step 1001: Display the first virtual item in the character's equipped area;

[0231] Step 1002: During the dragging of the first virtual item, an operation prompt is displayed. The operation prompt is used to indicate that the dragging process supports shape change operations, as well as the shortcut for shape change operations.

[0232] Reference Figure 11 , Figure 11 Part (A) shows a schematic diagram of the interface before warehouse organization. The left side is the character's outfitting area, and the right side is the virtual warehouse. At this time, the virtual character is wearing a virtual backpack in the outfitting area. In response to the virtual backpack receiving a drag operation, Figure 11 Section (B) shows the virtual backpack during the dragging process, at which point the virtual backpack is in an expanded state.

[0233] Reference Figure 12 , Figure 12 Part (A) shows the virtual backpack after performing the roll-up operation during the dragging process, and the virtual backpack being dragged to an empty space in the warehouse. Figure 12 Section (B) shows the virtual backpack placed in the warehouse after the drag ends.

[0234] Combination Figure 11 and Figure 12 In the game, there is a scenario where the user wants to arrange different types of items neatly in alternating rows. The warehouse is manually divided into areas, and backpack items are placed in the second area. There are two empty spaces on the far right of the area, enough for the user to put away their 4x4 backpack and switch to 1x2 mode before placing the items.

[0235] In related technologies, users can either directly drag the backpack to an empty space, use shortcut keys based on experience and memory to pack it up, and then place it directly; or they can drag the backpack to an area large enough to hold 4x4 items, select the backpack, choose to roll it up in the pop-up options to switch to 1x2, and then drag the 1x2 backpack to the final placement area. The former requires users to fully understand the game rules and remember the default or user-defined shortcut key mappings, while the latter involves more interaction steps and is less smooth.

[0236] Using the scheme of this application, in accordance with as follows Figure 11 and Figure 12 The steps shown indicate that users only need to perform two simple operations to complete the warehouse organization process from process 1 to process 4 in the diagram:

[0237] Step 1: Drag the backpack to the desired location in the warehouse.

[0238] Step 2: Roll up the backpack using the default or user-defined shortcut key as prompted on the backpack during dragging, and then stop dragging.

[0239] Step 1003: In response to receiving a form change operation, change the form of the first virtual item;

[0240] In an optional embodiment, during the dragging of the first virtual item, n operation prompts corresponding to the first form are displayed. These n prompts indicate that n form-changing operations are supported during dragging, and provide shortcuts corresponding to each of the n form-changing operations, where n is a positive integer. In response to receiving any one of the n form-changing operations, the first virtual item is changed from the first form to the second form.

[0241] In an optional embodiment, during the dragging of the first virtual item, if the first virtual item is in a compressed state, an expand operation prompt is displayed. The expand operation prompt indicates that an expand operation is supported during dragging, and provides a shortcut for the expand operation. In response to receiving the expand operation prompt and the corresponding expand operation, the first virtual item in the compressed state is changed to the first virtual item in the expanded state.

[0242] In one optional embodiment, the first virtual item occupies at least one grid when it is in a placed state. In response to receiving a expand operation corresponding to a expand operation prompt, the first virtual item occupying a first number of grids is changed to occupy a second number of grids; wherein the first number is less than the second number.

[0243] In an optional embodiment, during the dragging of the first virtual item, when the first virtual item is in an expanded state, a compression operation prompt is displayed. The compression operation prompt indicates that compression is supported during dragging and provides a shortcut for compression. In response to receiving the compression operation prompt and the corresponding compression operation, the expanded first virtual item is changed to a compressed first virtual item.

[0244] In one optional embodiment, the first virtual item occupies at least one slot when it is placed. In response to receiving a compression operation prompt corresponding to a compression operation, the first virtual item occupying a second number of slots is changed to occupy a first number of slots; wherein the second number is greater than the first number.

[0245] In an optional embodiment, the first virtual item is a virtual item with storage capabilities, and at least one other virtual item is stored within the first virtual item; after the dragging process ends, the first virtual item is placed according to the changed form of the first virtual item, and at least one other virtual item is placed separately.

[0246] In an optional embodiment, a confirmation pop-up is displayed, which includes a first option for confirming the clearing of at least one other virtual item from the first virtual item; in response to the first option receiving a trigger operation, it is determined that after the dragging process ends, the first virtual item is placed according to the changed form of the first virtual item, and at least one other virtual item is placed separately.

[0247] In an optional embodiment, during the dragging of the first virtual item, when the first virtual item is in a rotatable state, a rotation operation prompt is displayed. The rotation operation prompt is used to indicate that rotation operation is supported during dragging, as well as a shortcut for rotation operation.

[0248] In response to receiving a rotation operation prompt, the first virtual item is changed from a first rotation state to a second rotation state. The first rotation state indicates that the first virtual item is in a rotatable state.

[0249] In an optional embodiment, the first virtual item occupies at least one grid cell when it is in a placed state. In response to receiving a rotation operation prompt, the first virtual item occupying a p*q grid cell area is changed to occupy a q*p grid cell area.

[0250] Wherein, the p*q grid region refers to a region with a length of p and a width of q, and the q*p grid region refers to a region with a length of q and a width of p, where p and q are both positive integers.

[0251] In an optional embodiment, during the dragging of the first virtual item, when the first virtual item is in a compressed state, an expand operation prompt and a rotate operation prompt are displayed. The expand operation prompt is used to indicate that the expand operation is supported during dragging, as well as the shortcut for the expand operation. The rotate operation prompt is used to indicate that the rotate operation is supported during dragging, as well as the shortcut for the rotate operation.

[0252] In response to receiving the unfold operation prompt, the compressed first virtual item is changed to the unfolded first virtual item; the rotation operation prompt is canceled.

[0253] In an optional embodiment, the operation prompt moves along with the dragging of the first virtual item, and the operation prompt is located near the first virtual item.

[0254] Step 1004: After the dragging process is completed, place the first virtual item in the virtual warehouse according to the changed form of the first virtual item.

[0255] The virtual item-based interaction method provided in this application can be applied to scenarios where items are adapted to match the shape of a blank area by changing the shape of the item.

[0256] Figure 13 The flowchart illustrates an exemplary embodiment of the interaction method based on virtual items provided in this application, wherein the method is... Figure 3 The method, illustrated by example, is performed by the first terminal 310.

[0257] Step 1301: Display the first virtual item in the virtual warehouse;

[0258] Step 1302: During the dragging of the first virtual item, an operation prompt is displayed. The operation prompt is used to indicate that the dragging process supports shape change operations, as well as the shortcut for shape change operations.

[0259] Reference Figure 14 , Figure 14 Part (A) shows a schematic diagram of the interface before moving the healing pack to the weapon. The left side is the character's equipment area, and the right side is the virtual inventory. At this time, the virtual inventory stores healing packs. In response to the healing pack receiving a drag operation, Figure 14 Part (B) shows the healing pack during the dragging process, at which point the healing pack has a 2*1 shape.

[0260] Reference Figure 15 , Figure 15 Part (A) shows the treatment pack after the rotation operation is performed during the dragging process, at which point the shape of the treatment pack is 2*1. Figure 15 Section (B) shows the healing pack placed in the sling after the drag is complete.

[0261] Combination Figure 14 and Figure 15 In the game, there is a scenario where the user wants to move a 2x1 healing pack from the virtual warehouse to the character and attach it to the rightmost 1x2 space in the first row.

[0262] In related technologies, users can either directly drag the healing pack to an empty space, rotate it using shortcut keys based on experience and memory, and then place it directly; or they can drag the healing pack to an empty area larger than 2x2, select the healing pack, choose to rotate it to 1x2 from the pop-up options, and then drag the 1x2 healing pack to the final placement area. This has the same drawbacks as the warehouse organization process mentioned earlier.

[0263] In this application, according to... Figure 8 With just two simple steps, users can complete item adaptation from steps 1 to 4 in the diagram:

[0264] Step 1: Drag the healing pack to the rightmost empty space in the first row of the pop-up menu.

[0265] Step 2: Rotate the healing pack using the default or user-defined shortcut keys as indicated by the rotation prompts on the dragged healing pack, then stop dragging.

[0266] Step 1303: In response to receiving a form change operation, change the form of the first virtual item;

[0267] In an optional embodiment, during the dragging of the first virtual item, n operation prompts corresponding to the first form are displayed. These n prompts indicate that n form-changing operations are supported during dragging, and provide shortcuts corresponding to each of the n form-changing operations, where n is a positive integer. In response to receiving any one of the n form-changing operations, the first virtual item is changed from the first form to the second form.

[0268] In an optional embodiment, during the dragging of the first virtual item, if the first virtual item is in a compressed state, an expand operation prompt is displayed. The expand operation prompt indicates that an expand operation is supported during dragging, and provides a shortcut for the expand operation. In response to receiving the expand operation prompt and the corresponding expand operation, the first virtual item in the compressed state is changed to the first virtual item in the expanded state.

[0269] In one optional embodiment, the first virtual item occupies at least one grid when it is in a placed state. In response to receiving a expand operation corresponding to a expand operation prompt, the first virtual item occupying a first number of grids is changed to occupy a second number of grids; wherein the first number is less than the second number.

[0270] In an optional embodiment, during the dragging of the first virtual item, when the first virtual item is in an expanded state, a compression operation prompt is displayed. The compression operation prompt indicates that compression is supported during dragging and provides a shortcut for compression. In response to receiving the compression operation prompt and the corresponding compression operation, the expanded first virtual item is changed to a compressed first virtual item.

[0271] In one optional embodiment, the first virtual item occupies at least one slot when it is placed. In response to receiving a compression operation prompt corresponding to a compression operation, the first virtual item occupying a second number of slots is changed to occupy a first number of slots; wherein the second number is greater than the first number.

[0272] In an optional embodiment, the first virtual item is a virtual item with storage capabilities, and at least one other virtual item is stored within the first virtual item; after the dragging process ends, the first virtual item is placed according to the changed form of the first virtual item, and at least one other virtual item is placed separately.

[0273] In an optional embodiment, a confirmation pop-up is displayed, which includes a first option for confirming the clearing of at least one other virtual item from the first virtual item; in response to the first option receiving a trigger operation, it is determined that after the dragging process ends, the first virtual item is placed according to the changed form of the first virtual item, and at least one other virtual item is placed separately.

[0274] In an optional embodiment, during the dragging of the first virtual item, when the first virtual item is in a rotatable state, a rotation operation prompt is displayed. The rotation operation prompt is used to indicate that rotation operation is supported during dragging, as well as a shortcut for rotation operation.

[0275] In response to receiving a rotation operation prompt, the first virtual item is changed from a first rotation state to a second rotation state. The first rotation state indicates that the first virtual item is in a rotatable state.

[0276] In an optional embodiment, the first virtual item occupies at least one grid cell when it is in a placed state. In response to receiving a rotation operation prompt, the first virtual item occupying a p*q grid cell area is changed to occupy a q*p grid cell area.

[0277] Wherein, the p*q grid region refers to a region with a length of p and a width of q, and the q*p grid region refers to a region with a length of q and a width of p, where p and q are both positive integers.

[0278] In an optional embodiment, during the dragging of the first virtual item, when the first virtual item is in a compressed state, an expand operation prompt and a rotate operation prompt are displayed. The expand operation prompt is used to indicate that the expand operation is supported during dragging, as well as the shortcut for the expand operation. The rotate operation prompt is used to indicate that the rotate operation is supported during dragging, as well as the shortcut for the rotate operation.

[0279] In response to receiving the unfold operation prompt, the compressed first virtual item is changed to the unfolded first virtual item; the rotation operation prompt is canceled.

[0280] In an optional embodiment, the operation prompt moves along with the dragging of the first virtual item, and the operation prompt is located near the first virtual item.

[0281] Step 1304: After the dragging process is completed, place the first virtual item in the character's wearing area according to the changed form of the first virtual item.

[0282] The interaction method based on virtual items provided in this application can be applied to scenarios involving item acquisition.

[0283] Figure 16 The flowchart illustrates an exemplary embodiment of the interaction method based on virtual items provided in this application, wherein the method is... Figure 3 The method, illustrated by example, is performed by the first terminal 310.

[0284] Step 1601: Display the first virtual item in the supply crate;

[0285] Step 1602: During the dragging of the first virtual item, an operation prompt is displayed. The operation prompt is used to indicate that the form change operation is supported during the dragging process, as well as the shortcut for the form change operation.

[0286] Reference Figure 17 , Figure 17 Part (A) shows an interface illustration of a character finding a large backpack in a supply crate but having insufficient space on their character. The left side shows the character's equipment area, and the right side shows the supply crate. At this point, the supply crate contains the large backpack. In response to a drag operation on the large backpack, Figure 17 Section (B) shows the large-capacity backpack during the dragging process.

[0287] Reference Figure 18 , Figure 18 Part (A) illustrates the large-capacity backpack during the table reading process after the roll-up operation is performed during the dragging process. Figure 18 Section (B) shows a diagram illustrating the process of placing a rolled-up, large-capacity backpack into the character's inventory after the table reading is completed.

[0288] This application supports nested backpack operations, where one backpack is placed inside another. Large-capacity backpacks often possess high value, and users wearing backpacks will have a strong desire to take them if they find one during a match. Related technologies either only allow nested backpack interactions or prohibit nesting, allowing users to carry only one backpack at a time during a match. The former makes accessing items from the innermost backpack after nesting becomes extremely cumbersome, while the latter can make users feel they are missing out on significant benefits.

[0289] Reference Figure 17 and Figure 18This application, while allowing for packing, also allows users to carry high-value, large-capacity backpacks with minimal space loss through a roll-up operation. By displaying roll-up prompts during the dragging process, this application greatly helps users learn and understand the packing mechanics and strategic gameplay, providing greater strategic depth and more complex gameplay.

[0290] Step 1603: In response to receiving a form change operation, change the form of the first virtual item;

[0291] In an optional embodiment, during the dragging of the first virtual item, n operation prompts corresponding to the first form are displayed. These n prompts indicate that n form-changing operations are supported during dragging, and provide shortcuts corresponding to each of the n form-changing operations, where n is a positive integer. In response to receiving any one of the n form-changing operations, the first virtual item is changed from the first form to the second form.

[0292] In an optional embodiment, during the dragging of the first virtual item, if the first virtual item is in a compressed state, an expand operation prompt is displayed. The expand operation prompt indicates that an expand operation is supported during dragging, and provides a shortcut for the expand operation. In response to receiving the expand operation prompt and the corresponding expand operation, the first virtual item in the compressed state is changed to the first virtual item in the expanded state.

[0293] In one optional embodiment, the first virtual item occupies at least one grid when it is in a placed state. In response to receiving a expand operation corresponding to a expand operation prompt, the first virtual item occupying a first number of grids is changed to occupy a second number of grids; wherein the first number is less than the second number.

[0294] In an optional embodiment, during the dragging of the first virtual item, when the first virtual item is in an expanded state, a compression operation prompt is displayed. The compression operation prompt indicates that compression is supported during dragging and provides a shortcut for compression. In response to receiving the compression operation prompt and the corresponding compression operation, the expanded first virtual item is changed to a compressed first virtual item.

[0295] In one optional embodiment, the first virtual item occupies at least one slot when it is placed. In response to receiving a compression operation prompt corresponding to a compression operation, the first virtual item occupying a second number of slots is changed to occupy a first number of slots; wherein the second number is greater than the first number.

[0296] In an optional embodiment, the first virtual item is a virtual item with storage capabilities, and at least one other virtual item is stored within the first virtual item; after the dragging process ends, the first virtual item is placed according to the changed form of the first virtual item, and at least one other virtual item is placed separately.

[0297] In an optional embodiment, a confirmation pop-up is displayed, which includes a first option for confirming the clearing of at least one other virtual item from the first virtual item; in response to the first option receiving a trigger operation, it is determined that after the dragging process ends, the first virtual item is placed according to the changed form of the first virtual item, and at least one other virtual item is placed separately.

[0298] In an optional embodiment, during the dragging of the first virtual item, when the first virtual item is in a rotatable state, a rotation operation prompt is displayed. The rotation operation prompt is used to indicate that rotation operation is supported during dragging, as well as a shortcut for rotation operation.

[0299] In response to receiving a rotation operation prompt, the first virtual item is changed from a first rotation state to a second rotation state. The first rotation state indicates that the first virtual item is in a rotatable state.

[0300] In an optional embodiment, the first virtual item occupies at least one grid cell when it is in a placed state. In response to receiving a rotation operation prompt, the first virtual item occupying a p*q grid cell area is changed to occupy a q*p grid cell area.

[0301] Wherein, the p*q grid region refers to a region with a length of p and a width of q, and the q*p grid region refers to a region with a length of q and a width of p, where p and q are both positive integers.

[0302] In an optional embodiment, during the dragging of the first virtual item, when the first virtual item is in a compressed state, an expand operation prompt and a rotate operation prompt are displayed. The expand operation prompt is used to indicate that the expand operation is supported during dragging, as well as the shortcut for the expand operation. The rotate operation prompt is used to indicate that the rotate operation is supported during dragging, as well as the shortcut for the rotate operation.

[0303] In response to receiving the unfold operation prompt, the compressed first virtual item is changed to the unfolded first virtual item; the rotation operation prompt is canceled.

[0304] In an optional embodiment, the operation prompt moves along with the dragging of the first virtual item, and the operation prompt is located near the first virtual item.

[0305] Step 1604: After the dragging process is completed, place the first virtual item in the character's wearing area according to the changed form of the first virtual item.

[0306] Figure 19 The flowchart illustrates an exemplary embodiment of the interaction method based on virtual items provided in this application, wherein the method is... Figure 3 The method, illustrated by example, is performed by the first terminal 310.

[0307] Step 1901, Begin;

[0308] Step 1902: Received item drag operation;

[0309] Step 1903: Determine the operations that can be performed on the dragged item based on the type of the dragged item and the current environment;

[0310] When a user drags an item, the terminal determines, based on the type of the target item and the current environmental conditions, what actions can be performed on the dragged item and what prompts are needed.

[0311] Step 1904: Display the actions that need to be prompted to the player in the form of text + key, and show them in the lower right corner of the item being dragged;

[0312] The terminal displays all executable operations in the lower right corner of the dragged item using their mapped shortcut keys and prompt text.

[0313] Step 1905: Receive the action performed by the player;

[0314] Step 1906: Switch the form of the dragged item;

[0315] If the user performs an operation according to the prompt, the form of the dragged item will be switched according to the corresponding operation. After switching, the system will continue to judge the item and determine the operation that can be performed and requires prompting while it is being dragged. The corresponding shortcut key and prompt will be displayed. This process will continue until the dragging behavior is terminated.

[0316] In one embodiment, when the user is outside the game, when the user performs a roll-up operation on the dragging backpack, if there are items in the backpack, a secondary confirmation pop-up will be triggered after the user stops dragging, asking the user whether to clear the items in the backpack and move the cleared items to the warehouse. If the user selects to agree, the backpack will be cleared and rolled up; if the user cancels, the roll-up operation will be canceled.

[0317] Step 1907: Received a stop dragging command;

[0318] Step 1908: Perform the judgment after stopping dragging;

[0319] Step 1909, End.

[0320] In summary, the above embodiments can help users quickly learn and master the operations that can be performed on the first virtual object during dragging with minimal operational cost in some games or applications. Even after the form of the first virtual object changes during dragging, users can still quickly understand its available or key operations. Furthermore, users can clearly perceive the result after ending the dragging operation before it ends.

[0321] Figure 20 The diagram illustrates a structural block diagram of an interactive device based on virtual items provided in an exemplary embodiment of this application. The device includes:

[0322] Display module 2001 is used to display the first virtual item;

[0323] The display module 2001 is also used to display operation prompts during the dragging of the first virtual item. The operation prompts are used to indicate that the dragging process supports shape change operations and shortcuts for shape change operations.

[0324] The display module 2001 is also used to change the form of the first virtual item in response to receiving a form change operation;

[0325] The processing module 2002 is used to place the first virtual item according to the changed form of the first virtual item after the dragging process is completed.

[0326] In an optional embodiment, the display module 2001 is further configured to display n operation prompts corresponding to the first form during the dragging process of the first virtual item. The n operation prompts are used to indicate that n form change operations are supported during the dragging process, as well as the shortcuts corresponding to the n form change operations, where n is a positive integer.

[0327] In response to receiving any one of the n form change operations, the first virtual item is changed from the first form to the second form.

[0328] In an optional embodiment, the display module 2001 is further configured to display an expand operation prompt when the first virtual item is in a compressed state during the dragging process of the first virtual item. The expand operation prompt is used to indicate that the expand operation is supported during the dragging process, as well as the shortcut for the expand operation.

[0329] In response to receiving the unfold operation prompt, the first virtual item in compressed form is changed to the first virtual item in unfolded form.

[0330] In an optional embodiment, when the first virtual item is in a placed state, it occupies at least one grid cell; the display module 2001 is further configured to, in response to receiving an expand operation corresponding to an expand operation prompt, change the first virtual item occupying a first number of grid cells to a first virtual item occupying a second number of grid cells;

[0331] The first quantity is less than the second quantity.

[0332] In an optional embodiment, the display module 2001 is further configured to display a compression operation prompt when the first virtual item is in an expanded state during the dragging process of the first virtual item. The compression operation prompt is used to indicate that compression operation is supported during the dragging process, as well as a shortcut for the compression operation.

[0333] In response to receiving a compression operation prompt, the first virtual item in its expanded form is changed to a compressed form.

[0334] In an optional embodiment, when the first virtual item is in a placement state, it occupies at least one grid cell; the display module 2001 is further configured to, in response to receiving a compression operation corresponding to a compression operation prompt, change the first virtual item occupying a second number of grid cells to a first virtual item occupying a first number of grid cells.

[0335] The second quantity is greater than the first quantity.

[0336] In an optional embodiment, the first virtual item is a virtual item with storage capacity, and the first virtual item stores at least one other virtual item; the display module 2001 is also used to place the first virtual item according to the changed form of the first virtual item after the dragging process is completed, and to place at least one other virtual item separately.

[0337] In an optional embodiment, the display module 2001 is further configured to display a confirmation pop-up window, the confirmation pop-up window including a first option, the first option being configured to confirm clearing at least one other virtual item in the first virtual item;

[0338] The device also includes a determination module 2003. The determination module 2003 is configured to, in response to receiving a trigger operation for the first option, determine, after the dragging process is completed, to place the first virtual item according to the changed form of the first virtual item, and to place at least one other virtual item separately.

[0339] In an optional embodiment, the display module 2001 is further configured to display a rotation operation prompt when the first virtual item is in a rotatable state during the dragging process of the first virtual item. The rotation operation prompt is used to indicate that rotation operation is supported during the dragging process, as well as a shortcut for rotation operation.

[0340] In response to receiving a rotation operation prompt, the first virtual item is changed from a first rotation state to a second rotation state. The first rotation state indicates that the first virtual item is in a rotatable state.

[0341] In an optional embodiment, when the first virtual item is in a placement state, it occupies at least one grid cell; the display module 2001 is further configured to, in response to receiving a rotation operation corresponding to a rotation operation prompt, change the first virtual item occupying the p*q grid cell area to a first virtual item occupying the q*p grid cell area.

[0342] Wherein, the p*q grid region refers to a region with a length of p and a width of q, and the q*p grid region refers to a region with a length of q and a width of p, where p and q are both positive integers.

[0343] In an optional embodiment, the display module 2001 is further configured to display an expand operation prompt and a rotate operation prompt during the dragging of the first virtual item, when the first virtual item is in a compressed state. The expand operation prompt is used to indicate that the expand operation is supported during the dragging process, as well as the shortcut for the expand operation. The rotate operation prompt is used to indicate that the rotate operation is supported during the dragging process, as well as the shortcut for the rotate operation.

[0344] In response to receiving the unfold operation prompt, the first virtual item in compressed form is changed to the first virtual item in unfolded form;

[0345] Cancel the display of rotation operation prompts.

[0346] In an optional embodiment, the operation prompt moves along with the dragging of the first virtual item, and the operation prompt is located near the first virtual item.

[0347] In an optional embodiment, the display module 2001 is further configured to display the first virtual item in the first container; the processing module 2002 is further configured to place the first virtual item in the second container according to the changed form of the first virtual item after the dragging process ends.

[0348] In an optional embodiment, the capacity of both the first container and the second container is measured by the number of cells, and at least one container includes multiple cells; the volume of the first virtual item is measured by the number of cells, and the first virtual item occupies at least one cell when it is in a placed state.

[0349] In an optional embodiment, the first container is the storage space for the second virtual item, the second virtual item being a virtual item with storage capabilities, and the second container being the storage space designed by the game system.

[0350] In an optional embodiment, the second container is the storage space for the second virtual item, which is a virtual item with storage capabilities, and the first container is the storage space designed by the game system.

[0351] In an optional embodiment, the first container is a slot dedicated to items of a first category, and the first virtual item belongs to the first category; the capacity of the second container is measured by the number of cells, and the second container includes multiple cells; the volume of the first virtual item is measured by the number of cells, and the first virtual item occupies at least one cell when it is in a placed state.

[0352] In summary, by displaying operation prompts during the dragging of the first virtual item, this application informs the user of the form change operation that can be performed during dragging, as well as the shortcut for the form change operation. This informs the user of the existence of the form change operation and how to trigger it, eliminating the need for the user to explore the form change operation on their own, thereby reducing the user's learning cost.

[0353] Please refer to Figure 21 This illustration shows a structural block diagram of a computer device 2100 provided in an exemplary embodiment of this application. The computer device 2100 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), or MP4 player (Moving Picture Experts Group Audio Layer IV). The computer device 2100 may also be referred to as a user device, portable terminal, head-mounted computer device, or other names.

[0354] Typically, computer device 2100 includes a processor 2101 and a memory 2102.

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

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

[0357] In some embodiments, the computer device 2100 may also optionally include: a peripheral device interface 2103 and at least one peripheral device. Specifically, the peripheral device includes at least one of: a radio frequency circuit 2104, a display screen 2105, a camera assembly 2106, an audio circuit 2107, a power supply 2108, a mouse 2109, and a keyboard 2110.

[0358] Peripheral device interface 2103 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 2101 and memory 2102. In some embodiments, processor 2101, memory 2102 and peripheral device interface 2103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 2101, memory 2102 and peripheral device interface 2103 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0359] The radio frequency (RF) circuit 2104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 2104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 2104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 2104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 2104 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 2104 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0360] Display screen 2105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. Optionally, computer device 2100 includes an internal display screen and an external display screen positioned close to the eyes of a user. The external display screen displays an image of the user's eyes when surrounding objects interact with the user of computer device 2100. Optionally, display screen 2105 also has the capability to acquire touch signals on or above the surface of display screen 2105. These touch signals can be input as control signals to processor 2101 for processing. Display screen 2105 is used to provide virtual buttons and / or a comment keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, display screen 2105 may be a single display screen, located on the front panel of computer device 2100; in other embodiments, display screen 2105 may be at least two, respectively located on different surfaces of computer device 2100 or in a folded design; in still other embodiments, display screen 2105 may be a flexible display screen, located on a curved or folded surface of computer device 2100. Furthermore, the display screen 2105 can be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 2105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0361] Camera assembly 2106 is used to acquire images or videos. Optionally, camera assembly 2106 includes an internal camera and an external camera. Typically, the internal camera is used to capture user eye pose data. In some embodiments, there are at least two external cameras, which are any one of a main camera, a depth camera, and a wide-angle camera, to achieve background blurring by fusion of the main camera and the depth camera, and panoramic shooting and AR (Augmented Reality) shooting by fusion of the main camera and the wide-angle camera. In some embodiments, camera assembly 2106 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.

[0362] Audio circuitry 2107 provides an audio interface between the user and computer device 2100. Audio circuitry 2107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to processor 2101 for processing, or input to radio frequency circuitry 2104 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different location on computer device 2100. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from processor 2101 or radio frequency circuitry 2104 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, audio circuitry 2107 may also include a headphone jack.

[0363] Power supply 2108 is used to supply power to the various components in computer device 2100. Power supply 2108 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 2108 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

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

[0365] This application also provides a computer-readable storage medium storing a computer program that is executed by a computer device to implement the above-described interaction method based on virtual items.

[0366] Optionally, the computer-readable storage medium may include: read-only memory (ROM), random-access memory (RAM), solid-state drives (SSDs), or optical discs, etc. The random-access memory may include resistive random-access memory (ReRAM) and dynamic random-access memory (DRAM).

[0367] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual item-based interaction method provided in the above-described method embodiments.

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

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

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

Claims

1. An interaction method based on virtual items, characterized in that, The method includes: Display the first virtual item; During the dragging of the first virtual item, an operation prompt is displayed, which indicates that the dragging process supports a shape change operation and provides a shortcut for the shape change operation. In response to receiving the form change operation, the form of the first virtual item is changed; After the dragging process is completed, place the first virtual item according to its modified form.

2. The method according to claim 1, characterized in that, During the dragging of the first virtual item, operation prompts are displayed, including: During the dragging process of the first virtual item, n operation prompts corresponding to the first form are displayed. The n operation prompts are used to indicate that n form change operations are supported during the dragging process, as well as the shortcuts corresponding to the n form change operations, where n is a positive integer. The response to receiving the form change operation, changing the form of the first virtual item, includes: In response to receiving any one of the n form change operations, the first virtual item is changed from the first form to the second form.

3. The method according to claim 2, characterized in that, During the dragging process of the first virtual item, n operation prompts corresponding to the first form are displayed, including: During the dragging of the first virtual item, when the first virtual item is in a compressed state, an unfolding operation prompt is displayed. The unfolding operation prompt is used to indicate that the unfolding operation is supported during the dragging process, as well as the shortcut for the unfolding operation. The response to receiving any one of the n form change operations, changing the first virtual item from the first form to the second form, includes: In response to receiving the unfold operation prompt, the first virtual item in compressed form is changed to the first virtual item in unfolded form.

4. The method according to claim 3, characterized in that, The first virtual item occupies at least one grid when it is in a placement state; The step of responding to receiving the unfold operation prompt and changing the compressed form of the first virtual item into the unfolded form of the first virtual item includes: In response to receiving the unfold operation prompt, the first virtual item occupying the first number of grids is changed to occupy the second number of grids. Wherein, the first quantity is less than the second quantity.

5. The method according to claim 2, characterized in that, During the dragging process of the first virtual item, n operation prompts corresponding to the first form are displayed, including: During the dragging of the first virtual item, when the first virtual item is in an expanded state, a compression operation prompt is displayed. The compression operation prompt is used to indicate that compression operation is supported during the dragging process, as well as the shortcut for the compression operation. The response to receiving any one of the n form change operations, changing the first virtual item from the first form to the second form, includes: In response to receiving the compression operation prompt, the first virtual item in its expanded form is changed to the first virtual item in its compressed form.

6. The method according to claim 5, characterized in that, The first virtual item occupies at least one grid when it is in a placement state; The step of responding to receiving the compression operation prompt and changing the expanded form of the first virtual item into a compressed form includes: In response to receiving the compression operation prompt, the first virtual item occupying the second number of grids is changed to occupy the first virtual item occupying the first number of grids; The second quantity is greater than the first quantity.

7. The method according to claim 5, characterized in that, The first virtual item is a virtual item with storage capabilities, and at least one other virtual item is stored within the first virtual item; After the dragging process is completed, placing the first virtual item according to its changed form includes: After the dragging process is completed, place the first virtual item according to the changed form of the first virtual item, and place the at least one other virtual item separately.

8. The method according to claim 7, characterized in that, The method further includes: A confirmation pop-up window is displayed, which includes a first option for confirming the clearing of at least one other virtual item in the first virtual item; In response to receiving a trigger operation for the first option, it is determined that after the dragging process is completed, the first virtual item is placed according to the changed form of the first virtual item, and the at least one other virtual item is placed separately.

9. The method according to claim 2, characterized in that, During the dragging process of the first virtual item, n operation prompts corresponding to the first form are displayed, including: During the dragging of the first virtual item, when the first virtual item is in a rotatable state, a rotation operation prompt is displayed. The rotation operation prompt is used to indicate that rotation operation is supported during the dragging process, as well as the shortcut for the rotation operation. The response to receiving any one of the n form change operations, changing the first virtual item from the first form to the second form, includes: In response to receiving the rotation operation corresponding to the rotation operation prompt, the first virtual item is changed from a first rotation state to a second rotation state, wherein the first rotation state indicates that the first virtual item is in the rotatable state.

10. The method according to claim 9, characterized in that, The first virtual item occupies at least one grid when it is in a placement state; The step of changing the first virtual item from a first rotation form to a second rotation form in response to receiving the rotation operation prompt includes: In response to receiving the rotation operation corresponding to the rotation operation prompt, the first virtual item occupying the p*q grid area is changed to the first virtual item occupying the q*p grid area; Wherein, the p*q grid region refers to a region with a length of p grids and a width of q grids, and the q*p grid region refers to a region with a length of q grids and a width of p grids, where p and q are both positive integers.

11. The method according to claim 2, characterized in that, During the dragging process of the first virtual item, n operation prompts corresponding to the first form are displayed, including: During the dragging of the first virtual item, when the first virtual item is in a compressed state, an expand operation prompt and a rotate operation prompt are displayed. The expand operation prompt is used to indicate that the expand operation is supported during the dragging process, as well as the shortcut for the expand operation. The rotate operation prompt is used to indicate that the rotate operation is supported during the dragging process, as well as the shortcut for the rotate operation. The response to receiving any one of the n form change operations, changing the first virtual item from the first form to the second form, includes: In response to receiving the unfold operation prompt, the first virtual item in compressed form is changed into the first virtual item in unfolded form; The method further includes: Cancel the display of the rotation operation prompt.

12. The method according to any one of claims 1 to 11, characterized in that, The operation prompt moves along with the dragging of the first virtual item, and the operation prompt is located near the first virtual item.

13. The method according to claim 1, characterized in that, The display of the first virtual item includes: Display the first virtual item in the first container; After the dragging process is completed, placing the first virtual item according to its changed form includes: After the dragging process is completed, the first virtual item is placed in the second container according to the changed form of the first virtual item.

14. The method according to claim 13, characterized in that, The capacity of both the first container and the second container is measured by the number of cells, and the at least one container includes multiple cells; The volume of the first virtual item is measured by the number of grids, and the first virtual item occupies at least one grid when it is in a placed state.

15. The method according to claim 14, characterized in that, The first container is the storage space for the second virtual item, which is a virtual item with storage capabilities, and the second container is a storage space designed by the game system. or, The second container is the storage space for the second virtual item, which is a virtual item with storage capabilities, while the first container is a storage space designed by the game system.

16. The method according to claim 13, characterized in that, The first container is a slot specifically for items of the first category, and the first virtual item belongs to the first category; The capacity of the second container is measured by the number of cells, and the second container comprises multiple cells; The volume of the first virtual item is measured by the number of grids, and the first virtual item occupies at least one grid when it is in a placed state.

17. An interactive device based on virtual items, characterized in that, The device includes: The display module is used to display the first virtual item; The display module is also used to display operation prompts during the dragging of the first virtual item. The operation prompts are used to indicate that the dragging process supports shape change operations and the shortcuts for the shape change operations. The display module is also configured to change the form of the first virtual item in response to receiving the form change operation; The processing module is used to place the first virtual item according to the changed form of the first virtual item after the dragging process is completed.

18. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the virtual item-based interaction method as described in any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is loaded and executed by a processor to implement the virtual item-based interaction method as described in any one of claims 1 to 16.

20. A computer program product, characterized in that, The computer program product stores a computer program that is loaded and executed by a processor to implement the virtual item-based interaction method as described in any one of claims 1 to 16.