Operation method and apparatus for virtual prop, and terminal and storage medium
By displaying batch operation controls on the game terminal, gamers are allowed to transfer virtual props in batches, solving the problem of low efficiency in transferring multiple virtual props, and achieving more efficient virtual prop transfer operations.
Patent Information
- Application Number
- PCT/CN2024/089746
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-15
- Filing Date
- 2024-04-25
- Publication Date
- 2025-06-12
AI Technical Summary
In a game, when a game character is equipped with multiple virtual props, the prior art requires less efficient operation for transferring virtual props from one game character to another.
Provides a method of operating virtual props, by displaying batch operation controls on the terminal, allowing gamers to batch transfer virtual props from one virtual object to another virtual object after receiving a specific operation.
This method improves the efficiency of prop transfer between virtual objects, reduces operation costs, and improves operation efficiency and fluency.
Smart Images

Figure CN2024089746_12062025_PF_FP_ABST
Abstract
Description
Virtual item operation method, device, terminal and storage medium
[0001] This application claims priority to Chinese patent application number 202310710846.3, filed on June 15, 2023, entitled “Operation method, device, terminal and storage medium for virtual props”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] The embodiments of the present application relate to the field of human-computer interaction technology, and in particular to a method, device, terminal, and storage medium for operating a virtual prop. Background Art
[0003] In order to change the attributes and skills of the game characters, game players often wear or remove the virtual props equipped by the game characters.
[0004] In order to transfer the virtual props of one game character to another game character, in related technologies, the game player is usually required to select the game character originally wearing the virtual props and transfer the virtual props to the other game character by dragging or other operations.
[0005] However, when a game character wears multiple virtual props, the efficiency of transferring virtual props using the above method is low.
[0006] Summary of the Invention
[0007] The present invention provides a method, device, terminal, and storage medium for operating virtual props. The technical solution is as follows:
[0008] In one aspect, an embodiment of the present application provides a method for operating a virtual item, the method being executed by a terminal and comprising:
[0009] displaying a first virtual object, wherein the first virtual object is equipped with a virtual prop;
[0010] Upon receiving a first operation on the first virtual object and the number of props equipped on the first virtual object is greater than a first number, displaying a batch operation control for triggering a batch operation on the virtual props equipped on the first virtual object, where the first number is a positive integer;
[0011] When a second operation on the batch operation control is received and the operation target indicated by the second operation is a second virtual object, the virtual prop equipped by the first virtual object is transferred to the second virtual object.
[0012] On the other hand, an embodiment of the present application provides a device for operating a virtual prop, the device comprising:
[0013] A display module, configured to display a first virtual object, wherein the first virtual object is equipped with a virtual prop;
[0014] The display module is further configured to, upon receiving a first operation on the first virtual object and when the number of props equipped on the first virtual object is greater than a first number, display a batch operation control, the batch operation control being configured to trigger a batch operation on the virtual props equipped on the first virtual object, wherein the first number is a positive integer;
[0015] The transfer module is configured to transfer the virtual props equipped by the first virtual object to the second virtual object when a second operation on the batch operation control is received and the operation target indicated by the second operation is a second virtual object.
[0016] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one computer instruction, and the at least one computer instruction is used to be executed by the processor to implement the virtual prop operation method as described in the above aspect.
[0017] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores at least one computer instruction, and the at least one computer instruction is used to be executed by a processor to implement the virtual prop operation method as described in the above aspects.
[0018] In another aspect, embodiments of the present application provide a computer program product comprising computer instructions stored in a computer-readable storage medium. A processor of a terminal reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to perform the virtual item operation method provided in the above aspects.
[0019] In an embodiment of the present application, a batch operation control is added to virtual objects. When a first operation is received on a first virtual object and the number of props equipped on the first virtual object is greater than the first number, the batch operation control is displayed. When a second operation is received on the batch operation control and the target of the second operation is a second virtual object, the virtual props equipped on the first virtual object are transferred to the second virtual object. Using the solution of the present application, the virtual props equipped on the first virtual object can be transferred in batches, which reduces operating costs compared to transferring virtual props one by one and improves the efficiency of prop transfer between virtual objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] FIG1 is a schematic diagram of a turn-based chess game provided by an exemplary embodiment of the present application;
[0021] FIG2 is a flow chart of a method for operating a virtual prop provided by an exemplary embodiment of the present application;
[0022] FIG3 is a schematic diagram illustrating a method of transferring virtual props equipped on a first virtual object to a second virtual object in batches through a drag operation according to an exemplary embodiment of the present application;
[0023] FIG4 is a schematic diagram illustrating dragging a batch operation control corresponding to a first virtual object to an avatar identifier of a second virtual object according to an exemplary embodiment of the present application;
[0024] FIG5 is a schematic diagram of a prop thumbnail control and a prop transfer prompt according to an exemplary embodiment of the present application;
[0025] FIG6 is a schematic diagram of a prohibition transfer prompt shown in an exemplary embodiment of the present application;
[0026] FIG7 is a schematic diagram of disassembling a target virtual prop equipped by a second virtual object, shown in an exemplary embodiment of the present application;
[0027] FIG8 is a schematic diagram of a prop selection bar shown in an exemplary embodiment of the present application;
[0028] FIG9 is a schematic diagram showing disassembling a virtual prop equipped by a first virtual object through a third operation according to an exemplary embodiment of the present application;
[0029] FIG10 is a schematic diagram showing a transfer confirmation prompt according to an exemplary embodiment of the present application;
[0030] FIG11 is a schematic diagram showing a virtual prop identifier and a batch operation control displayed in an object information panel of a first virtual object according to an exemplary embodiment of the present application;
[0031] FIG12 is a schematic diagram showing a virtual prop identifier and a batch operation control displayed around a first virtual object according to an exemplary embodiment of the present application;
[0032] FIG13 is a flowchart of a method for operating a virtual prop provided by an exemplary embodiment of the present application;
[0033] FIG14 is a timing diagram of a method for operating a virtual prop provided by an exemplary embodiment of the present application;
[0034] FIG15 is a structural block diagram of a device for operating a virtual item provided by an exemplary embodiment of the present application;
[0035] FIG16 is a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0036] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0037] It should be understood that the term "several" in this document refers to one or more, and "multiple" refers to two or more. "And / or" describes the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exists simultaneously, or B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0038] First, the nouns involved in the embodiments of this application are introduced:
[0039] Turn-based chess games: These are chess games in which the "chess pieces" are arranged in advance before the game begins, and during the game, the "chess pieces" can automatically fight according to the pre-arranged layout. The "chess pieces" are usually represented by virtual characters, and during the game, the virtual characters automatically release various skills to fight. The battle is usually round-based. When all the "chess pieces" of one side are killed (i.e., the health points of the virtual characters are reduced to zero), that side is the loser of the current round. In some embodiments, in addition to the "chess-type virtual characters" that play the game, each side is also provided with a virtual character representing the user participating in the game. The virtual character cannot be moved to the battle area or the preparation area as a "chess piece". The virtual character is also provided with a health point (or health point). The health point of the virtual character is reduced accordingly (battle failure) or remains unchanged (battle victory) according to the result of each game. When the health point of the virtual character is reduced to zero, the user corresponding to the virtual character exits the game, and the remaining users continue to play. Optionally, turn-based chess games include Auto Chess.
[0040] Auto Chess: It is a turn-based chess game, an eight-player, collectible hero card game. Each round consists of two phases: the preparation phase and the battle phase. In the preparation phase, users purchase chess pieces (heroes) from the store and arrange their troops on the board. In the battle phase, both teams lock their lineups, and the chess pieces automatically engage until all of one team's pieces are dead or the round duration is reached. The player who destroys all of their chess pieces loses the round and will have a certain amount of health deducted. The game rounds are repeated, and new opponents are matched until a player's health is ≤ 0 and they are eliminated. The last remaining player wins the game (1st place), and the other players are ranked (2nd-8th) based on the order of elimination and their health at the time of elimination.
[0041] Chessboard: refers to the area in the battle interface of a turn-based chess game used to prepare for and conduct battles. The chessboard can be any one of a two-dimensional virtual chessboard, a 2.5-dimensional virtual chessboard, and a three-dimensional virtual chessboard, and this application does not limit this.
[0042] Chess pieces: Refers to virtual objects placed on the board in turn-based chess games, including battle pieces, standby pieces, and pieces sold in stores. Battle pieces include those located in the battle area, standby pieces include those located in the standby area, and shop-sold pieces are added to the standby area upon purchase and become standby pieces. Chess pieces can include virtual characters, virtual chess pieces, virtual characters, virtual animals, anime characters, etc., and can be displayed using three-dimensional models.
[0043] Optionally, the position of the battle pieces on the board can be changed. During the preparation phase, the user can adjust the position of pieces in the battle area, move pieces in the battle area to the preparation area (if there are available candidate positions in the preparation area), or move pieces in the preparation area to the battle area. It should be noted that the position of pieces in the preparation area can also be adjusted during the battle phase.
[0044] Optionally, during the battle phase, the positions of chess pieces in the battle area are different from those during the preparation phase. During the battle phase, the game application automatically controls the movement and combat of chess pieces within the battle area. For example, during the battle phase, chess pieces can automatically move from their own battle area to the enemy's battle area and attack enemy pieces; or chess pieces can automatically move from position A in their own battle area to position B in their own battle area.
[0045] In addition, during the preparation phase, chess pieces can only be placed in one's own battle area (one's own formation area).
[0046] Regarding the method of obtaining battle chess pieces, in some embodiments, during the game, the user can use gold coins to purchase chess pieces in the store during the preparation stage.
[0047] As shown in FIG1 , the battle area 112 displays a first battle piece 111 a , a second battle piece 111 b , and a third battle piece 111 c , and the preparation area 111 displays a first preparation piece 112 a , a second preparation piece 112 b , and a third preparation piece 112 c .
[0048] Virtual Items: In turn-based chess games, chess pieces can be equipped with one or more virtual items. Optionally, virtual items include multiple virtual item types. By way of example only, virtual items may include clothing virtual items, shoe virtual items, weapon virtual items, and other virtual item types. Each virtual item type may include multiple different virtual items. For example, weapon virtual items may include attack claws, broadswords, crystal swords, short staffs, javelins, and holy swords.
[0049] In some embodiments, different types of virtual objects may have different compatibility with virtual items. For example, for a mage-type virtual object, spell-related virtual items such as magic crystals and staffs have a higher compatibility, while physical virtual items such as daggers and bows have a lower compatibility.
[0050] Attributes: Each chess piece in a turn-based chess game has its own attributes, which include at least two of the following attributes: the faction to which the chess piece belongs (such as Alliance A, Alliance B, Neutral Faction, etc.), the type of chess piece (such as Warrior, Archer, Mage, Assassin, Guard, Swordsman, Gunner, Fighter, etc.), the attack type of the chess piece (such as Spell, Physical, etc.), the identity of the chess piece (such as Noble, Demon, Elf, etc.), etc. The embodiments of this application do not limit the specific types of attributes. Optionally, the virtual props equipped by each chess piece can change the attributes of the chess piece.
[0051] In conjunction with the above introduction to turn-based chess games, the embodiments of the present application are described using a turn-based chess game as an example. However, the method of the embodiments of the present application can also be applied to other games that require equipment transfer between virtual objects, for example, in role-playing games (RPGs) or first-person shooters (FPSs) that allow equipment transfer between different virtual characters. The embodiments of the present application do not impose any restrictions on the game type.
[0052] During the game, in order to transfer the virtual props equipped on one virtual object to another virtual object, the game player usually needs to select the virtual object originally equipped with the virtual props, and drag the equipment icon corresponding to the virtual props to the other virtual object through operations such as dragging, thereby transferring the virtual props to the other virtual object.
[0053] However, when a virtual object is equipped with multiple virtual props, the efficiency of transferring virtual props using the above method is low.
[0054] This application proposes a virtual props operation method for performing batch operations on multiple virtual props, which can realize batch transfer operations on virtual props equipped on virtual objects, thereby reducing operation costs and improving operation efficiency and fluency.
[0055] 2 is a flowchart of a method for operating a virtual item provided by an exemplary embodiment of the present application. This embodiment uses the method executed by a terminal as an example for explanation. The flowchart includes the following steps.
[0056] Step 201: Display a first virtual object, where the first virtual object is equipped with a virtual prop.
[0057] Optionally, the first virtual object may be a virtual character, a virtual chess piece, a virtual person, a virtual animal, a cartoon character, etc., and the first virtual object may be displayed using a three-dimensional model.
[0058] Optionally, the first virtual object is a chess piece placed on a chessboard, including a battle chess piece or a battle preparation chess piece and a chess piece sold in a store.
[0059] Optionally, the first virtual object may have a virtual object type, such as a warrior, shooter, mage, assassin, guard, swordsman, gunner, fighter, or the like.
[0060] Optionally, the first virtual object is equipped with two or more virtual items at the same time. For example, the first virtual object can be equipped with two virtual items: a Void Staff and a Resurrection Armor.
[0061] A virtual item is one or more pieces of equipment that a virtual object can equip.
[0062] Optionally, the virtual props include multiple virtual prop types. For example, the virtual props may include different virtual prop types such as clothing virtual props, shoe virtual props, and weapon virtual props.
[0063] For example only, each virtual item type may include multiple different virtual items. For example, weapon virtual items may include attack claws, broadswords, crystal swords, demon blades, short sticks, javelins, golden hoop sticks, holy swords, and other different virtual items.
[0064] Step 202: When a first operation on a first virtual object is received and the number of props equipped on the first virtual object is greater than a first number, a batch operation control is displayed. The batch operation control is used to trigger a batch operation of virtual props equipped on the first virtual object, and the first number is a positive integer.
[0065] The first operation is an operation for triggering the display of a batch operation control corresponding to the virtual object. Optionally, the first operation is a predicted operation of the application, or the first operation can be a custom operation.
[0066] Optionally, the first operation is a long press operation, a click operation, a double-click operation, or a pressing operation on the first virtual object, which is not limited in the embodiments of the present application. For example, when a game player selects the first virtual object by long pressing the mouse pointer or touching the finger, the terminal determines that the first operation on the first virtual object has been received.
[0067] The number of items equipped by the first virtual object refers to the sum of the number of all virtual items equipped by the first virtual object. For example, if all virtual items equipped by the first virtual object are the Void Staff and the Resurrection Armor, the number of items equipped by the first virtual object is 2.
[0068] Optionally, there is an upper limit on the number of props equipped. For example, in some games, the total number of virtual props equipped by each virtual object does not exceed 3.
[0069] The first quantity is the threshold for triggering a batch operation on virtual items. The first quantity is a positive integer. Optionally, the first quantity is 1. When the number of items equipped to the first virtual object is greater than 1, the terminal displays a batch operation control based on the first operation. For example, when the upper limit of virtual items equipped to the virtual object is 3 and the first quantity is 1, if the first operation is received on the first virtual object while the first virtual object is equipped with 2 or 3 virtual items, the terminal displays a batch operation control.
[0070] In some embodiments, the first number may be a preset value of the application and cannot be modified. In other embodiments, the first number may be user-defined.
[0071] Optionally, the batch operation control may be located around the first virtual object, or in an object information panel corresponding to the first virtual object, wherein the object information panel is used to display object information of the first virtual object, including attribute values, levels, item equipment status, etc.
[0072] Step 203: When a second operation on the batch operation control is received and the operation target indicated by the second operation is the second virtual object, the virtual prop equipped by the first virtual object is transferred to the second virtual object.
[0073] The second operation is for a batch operation control and is used to trigger an operation for transferring virtual props in batches.
[0074] Optionally, the second operation is a drag operation of the batch operation control by the game player. For example, the game player drags the batch operation control to the location of the second virtual object using a mouse pointer or finger touch.
[0075] Optionally, the operation target of the second operation indication is the location where the game player's mouse pointer or finger touches when the second operation ends. For example, the operation target may be the second virtual object, a blank location, the first virtual object, or a non-player character (NPC).
[0076] Optionally, the second virtual object is another virtual object that belongs to the same camp as the first virtual object.
[0077] Optionally, the number of props equipped on the second virtual object may be zero or greater than zero. That is, the second virtual object may be equipped with no virtual props or with one or more virtual props.
[0078] Optionally, the second virtual object may be a virtual character located in the preparation area, or a virtual character located in the combat area.
[0079] In some embodiments, before transferring a virtual item equipped on a first virtual object to a second virtual object, it may be necessary to disassemble the virtual item equipped on the first or second virtual object using a disposable virtual item such as a disassembler, which consumes the disassembler. In other embodiments, the virtual items equipped on the first virtual object can be transferred in batches to the second virtual object directly by a second operation on the batch operation control, without requiring a disposable virtual item such as a disassembler.
[0080] In some embodiments, the transfer of virtual items from the first virtual object to the second virtual object can be performed during the battle preparation phase. Optionally, the first virtual object and the second virtual object can both be located in the battle area; or, the first virtual object and the second virtual object can both be located in the battle preparation area; or, one of the first virtual object and the second virtual object can be located in the battle preparation area and the other in the battle area.
[0081] In other embodiments, the transfer of virtual items from the first virtual object to the second virtual object can be performed during the battle phase. Optionally, the first virtual object and the second virtual object can both be virtual objects located in the preparation area; or, the first virtual object can be a virtual object located in the preparation area, and the second virtual object can be a virtual object located in the combat area (i.e., transferring items from chess pieces in the preparation area to chess pieces in the combat area to improve the attributes of the chess pieces in the combat area).
[0082] In summary, by adding a batch operation control to virtual objects, and displaying the batch operation control upon receiving a first operation on a first virtual object and the number of props equipped on the first virtual object is greater than the first number, and upon receiving a second operation on the batch operation control and the target of the second operation is a second virtual object, the virtual props equipped on the first virtual object are transferred to the second virtual object. The present application solution enables batch transfer of virtual props equipped on the first virtual object, which reduces operating costs compared to transferring virtual props one by one and improves the efficiency of prop transfers between virtual objects.
[0083] In order to transfer virtual props equipped on the first virtual object to the second virtual object in batches, in some embodiments, the second operation is a drag operation.
[0084] 3 , which is a schematic diagram illustrating a method of transferring virtual props equipped on a first virtual object to a second virtual object in batches through a dragging operation according to an exemplary embodiment of the present application.
[0085] As shown in Figure 3, the corresponding game interface diagram before a drag operation has a first virtual object 301 and a second virtual object 302. For example only, first virtual object 301 is equipped with three virtual props: virtual prop A, virtual prop B, and virtual prop C. Therefore, the number of props equipped on first virtual object 301 is 3. When a first operation (such as a long press) is received on first virtual object 301, and the number of props equipped on first virtual object 301 is greater than the first number (assuming it is 1), a batch operation control 310 is displayed (see the corresponding game interface diagram during the drag operation).
[0086] When a drag operation is received on batch operation control 310 and the dragging end point is located on second virtual object 302, the terminal transfers the virtual props equipped by first virtual object 301 to second virtual object 302. In other words, the three virtual props equipped by first virtual object 301 are transferred in batches to second virtual object 302, and first virtual object 301 no longer has any virtual props equipped.
[0087] In order to shorten the dragging distance of the drag operation and further improve the efficiency of batch transfer of virtual props, in some embodiments, the batch operation control corresponding to the first virtual object can be dragged to the avatar icon of the second virtual object to achieve batch transfer of the virtual props of the first virtual object to the second virtual object.
[0088] Refer to FIG. 4 , which is a schematic diagram showing an exemplary embodiment of the present application showing dragging a batch operation control corresponding to a first virtual object to an avatar identifier of a second virtual object.
[0089] As shown in Figure 4 , a game player intends to transfer a batch of virtual items from a first virtual object 401 to a second virtual object 402. To reduce the dragging distance, the terminal can display avatar icons 421 corresponding to the second virtual objects 402 around a batch operation control 410 in the game interface. When the game player drags batch operation control 410 to avatar icon 421 using a mouse pointer or finger touch, the batch transfer of virtual items from the first virtual object 401 to the second virtual object 402 is achieved. The game player no longer needs to perform a long drag operation to drag batch operation control 410 to the location of the second virtual object 402, thereby improving operational efficiency.
[0090] Similarly, the terminal can display an avatar icon 422 corresponding to the third virtual object 403 around the batch operation control 410 in the game interface for the game player to select. When the game player intends to transfer the virtual props of the first virtual object 401 to the third virtual object 403 in batches, they can do so by dragging the batch operation control 410 to the avatar icon 422.
[0091] In this embodiment, by displaying the avatar identifier of the second virtual object around the batch operation control, the dragging distance of the drag operation during batch transfer can be shortened, further improving the efficiency of batch transfer of virtual props.
[0092] During the dragging operation, in order to indicate to the game player that a batch transfer of virtual props is in progress, the terminal may display a prop thumbnail control or a prop transfer prompt on the game interface.
[0093] In some embodiments, before transferring the virtual props equipped by the first virtual object to the second virtual object, the terminal transforms the batch operation control into a prop thumbnail control when receiving a drag operation on the batch operation control.
[0094] The prop thumbnail widget is used to indicate that a virtual prop is being transferred during a drag operation.
[0095] Optionally, a prop thumbnail identifier of the virtual prop equipped by the first virtual object is displayed in the prop thumbnail control, and the prop thumbnail control moves with the dragging operation.
[0096] Optionally, the prop thumbnail identifier is a thumbnail identifier or a text identifier of the virtual prop equipped by the first virtual object.
[0097] Optionally, when the terminal receives a drag operation on the batch operation control from the game player, the batch operation control is immediately transformed into a prop thumbnail control for display.
[0098] In some embodiments, when the dragging position of the dragging operation is located at the second virtual object, the terminal displays a prop transfer prompt to prompt the game player to end the dragging operation at the dragging position.
[0099] Optionally, the prop transfer prompt includes a first object identifier of the first virtual object, a second object identifier of the second virtual object, and a prop abbreviated identifier.
[0100] The first object identifier is used to represent the initial equipment party of the virtual prop during the virtual prop transfer process, that is, the transferor of the virtual prop.
[0101] Optionally, the first object identifier may be an avatar or thumbnail of the first virtual object.
[0102] The second object identifier is used to represent the party to be equipped with the virtual props during the virtual props transfer process, that is, the party to which the virtual props are transferred.
[0103] Optionally, the second object identifier may be an avatar or thumbnail of the second virtual object.
[0104] The item abbreviation identifier is used to represent all or part of the virtual items involved in the virtual item transfer process. Optionally, the item abbreviation identifier can be a thumbnail or text corresponding to the virtual item.
[0105] Refer to FIG5 , which is a schematic diagram of a prop thumbnail control and a prop transfer prompt shown in an exemplary embodiment of the present application.
[0106] As shown in FIG. 5 , the game player intends to transfer three virtual items (virtual item A, virtual item B, and virtual item C) on the first virtual object 501 to the second virtual object 502 .
[0107] When a first operation (such as a long press operation) on the first virtual object 501 is received and the number of props equipped by the first virtual object 501 is greater than a first number (assuming it is 1), a batch operation control 510 is displayed.
[0108] Upon receiving a drag operation on the batch operation control 510, the terminal transforms the batch operation control 510 in the game interface into an item thumbnail control 511. The item thumbnail control 511 displays the item thumbnails of the virtual items equipped by the first virtual object 501, such as the item thumbnails corresponding to virtual item A, virtual item B, and virtual item C. Furthermore, the item thumbnail control 511 can move with the drag operation to prompt the game player that a drag operation is being performed to transfer virtual items.
[0109] When the dragging position of the drag operation is located at the second virtual object 502 , the terminal displays a prop transfer prompt 520 in the game interface to prompt the game player that the virtual prop of the first virtual object 501 is about to be transferred to the second virtual object 502 .
[0110] Optionally, the prop transfer prompt 520 is located on the top or side of the second virtual object 502 .
[0111] In some embodiments, the prop transfer prompt 520 includes a first object identifier 521 of the first virtual object 501 , a second object identifier 522 of the second virtual object 502 , and a prop thumbnail identifier 523 .
[0112] The first object identifier 521 is used to indicate the virtual object to which the virtual prop is transferred. Optionally, the first object identifier 521 may be an avatar or thumbnail of the first virtual object 501 .
[0113] The second object identifier 522 is used to indicate the transfer object of the virtual prop. Optionally, the second object identifier 522 can be an avatar or thumbnail of the second virtual object 502.
[0114] The item thumbnail identifier 523 is used to indicate the transferred virtual item. Optionally, the item thumbnail identifier 523 includes thumbnails corresponding to virtual item A, virtual item B, and virtual item C.
[0115] In this embodiment, upon receiving a drag operation, the batch operation control is transformed into an item thumbnail control, and the item thumbnail control moves with the drag operation, thereby intuitively and clearly displaying the virtual item being transferred to the game player. When the drag operation is performed on the second virtual object, an item transfer prompt is displayed, and the item transfer prompt includes the first object identifier of the first virtual object, the second object identifier of the second virtual object, and the item thumbnail identifier. This intuitively and clearly displays the virtual item being transferred and the related virtual objects to the game player, thereby avoiding the situation where the virtual item is mistakenly transferred to a virtual object other than the second virtual object, and improving the accuracy of virtual item transfer.
[0116] In a possible scenario, when the dragging position of the drag operation is located on the second virtual object and the second virtual object supports equipping virtual props, the terminal can display a prop transfer prompt in the game interface.
[0117] In another possible scenario, the second virtual object may not support the virtual item equipped by the first virtual object. For example, the character type of the second virtual object cannot equip the virtual item (for example, the second virtual object is a non-player character), or the character level of the second virtual object does not meet the level requirements for equipping the virtual item.
[0118] Therefore, when the second virtual object does not support equipping virtual props, the terminal may display a transfer prohibition prompt.
[0119] Refer to FIG6 , which is a schematic diagram of a prohibition transfer prompt according to an exemplary embodiment of the present application.
[0120] As shown in FIG6 , the game player intends to transfer the virtual props of the first virtual object 601 to the second virtual object 602 in batches by dragging the virtual props.
[0121] During the dragging process, the batch operation control (not shown) is transformed into a prop thumbnail control 611 .
[0122] When the dragging position of the drag operation is located on the second virtual object 602 and the second virtual object 602 does not support the equipment of virtual props, a transfer prohibition prompt 620 is displayed to prompt the user that the second virtual object 601 does not support the equipment of virtual props and the virtual preparation transfer cannot be performed.
[0123] During the process of transferring virtual items in batches, the batch transfer may need to be canceled for certain reasons. For example, during a game, the virtual items equipped by the first virtual object in the preparation area need to be transferred to the second virtual object in the battle area, but during the transfer operation, the second virtual object is about to be defeated or has been defeated, the player needs to terminate the batch transfer. In order to facilitate the rapid cancellation of batch transfers in such scenarios, in some embodiments, upon receiving a drag operation on the batch operation control, and there is no virtual object at the dragging end point of the drag operation, the terminal retains the virtual items equipped by the first virtual object.
[0124] In addition to maintaining the virtual props equipped on the first virtual object when there is no virtual object at the dragging end point, in other embodiments, when a drag operation on a batch operation control is received and the virtual object at the dragging end point of the drag operation does not support equipping virtual props, the terminal maintains the virtual props equipped on the first virtual object.
[0125] For example, when the dragging end position of the drag operation is located at the second virtual object 602 and the second virtual object 602 does not support equipping virtual props, the virtual props A, virtual props B, and virtual props C equipped by the first virtual object 601 are maintained.
[0126] When a game player intends to transfer virtual props from a first virtual object to a second virtual object in batches, the second virtual object may already be equipped with virtual props. Therefore, in some embodiments, the virtual props of the second virtual object need to be disassembled first.
[0127] In a possible design, when the second virtual object is equipped with a virtual prop, the terminal needs to disassemble the virtual prop of the second virtual object.
[0128] In another possible design, when the second virtual object is equipped with a virtual prop and the second virtual object cannot equip the virtual prop to be transferred of the first virtual object while keeping the equipped virtual prop, the terminal needs to disassemble the virtual prop of the second virtual object.
[0129] In some embodiments, when the second virtual object is equipped with a virtual prop, the terminal disassembles a target virtual prop equipped with the second virtual object based on the first virtual object and the virtual prop equipped with the second virtual object.
[0130] Optionally, when the second virtual object is equipped with virtual props and the sum of the number of props equipped by the second virtual object and the first virtual object is greater than the upper limit of the prop equipment of the second virtual object, the terminal disassembles the target virtual props equipped by the second virtual object based on the virtual props equipped by the first virtual object and the second virtual object.
[0131] When the second virtual object is equipped with a virtual prop, and the sum of the number of props equipped on the second virtual object and the first virtual object is less than or equal to the upper limit of the prop equipment of the second virtual object, the terminal determines that there is no need to disassemble the target virtual prop equipped on the second virtual object. In an illustrative example, the upper limit of the prop equipment of the second virtual object is 3. When the first virtual object is equipped with 2 virtual props and the second virtual object is equipped with 2 virtual props, the terminal needs to determine the target virtual prop to be disassembled. When the first virtual object is equipped with 2 virtual props and the second virtual object is equipped with 1 virtual prop, the terminal does not need to determine the target virtual prop to be disassembled.
[0132] The target virtual prop is a virtual prop that the second virtual object needs to disassemble.
[0133] Regarding the method of determining the target virtual prop, in some embodiments, when both the first virtual object and the second virtual object are equipped with a target type of virtual prop, the terminal determines the target type of virtual prop equipped by the second virtual object as the target virtual prop.
[0134] In some embodiments, the terminal obtains the number of props equipped by the second virtual object. If the number of props equipped by the second virtual object is zero, it is determined that the target virtual prop does not exist for the second virtual object; if the number of props equipped by the second virtual object is greater than zero, the terminal obtains the virtual prop type of the virtual prop equipped by the second virtual object and the virtual prop type of the virtual prop equipped by the first virtual object.
[0135] When the virtual item type of the second virtual object overlaps with the virtual item type of the first virtual object, the terminal uses the virtual item type as the target type and determines the virtual item of the target type equipped by the second virtual object as the target virtual item for disassembly.
[0136] In some embodiments, the terminal may automatically place the disassembled target virtual prop into a backpack.
[0137] In other embodiments, the terminal may also automatically transfer the disassembled target virtual prop to the first virtual object.
[0138] Referring to FIG. 7 , FIG. 7 is a schematic diagram illustrating a process of disassembling a target virtual prop equipped by a second virtual object according to an exemplary embodiment of the present application.
[0139] 7 , a game player intends to transfer a batch of virtual items from a first virtual object 701 to a second virtual object 702. Before dragging the batch operation control 710, the first virtual object 701 is equipped with virtual items A1, B1, and C1, and the second virtual object 702 is equipped with virtual items A2 and D1.
[0140] The letter number of a virtual item represents its type. Different virtual items with the same letter number are of the same type, while different virtual items with different letter numbers are of different types. For example, virtual item A1 is a crystal sword, and virtual item A2 is a holy sword, both of which are weapon virtual items. Virtual item B1 is a magic wand and shoes, both of which are clothing virtual items. Virtual item C1 is a vanguard shield, both of which are armor virtual items. Virtual item D1 is a medal of courage, both of which are auxiliary virtual items. Therefore, virtual items B1, C1, and D1 are of different types.
[0141] The terminal obtains a number of props equipped on second virtual object 702, which is 2 and a positive integer greater than zero. Therefore, the virtual prop types obtained for second virtual object 702 are weapon virtual props and auxiliary virtual props, and the virtual prop types obtained for first virtual object 701 are weapon virtual props, clothing virtual props, and armor virtual props. That is, first virtual object 701 and second virtual object 702 both have a weapon virtual prop. Therefore, the terminal selects the weapon virtual prop as the target type, identifies virtual prop A2 equipped on second virtual object 702 as the target virtual prop, and removes virtual prop A2.
[0142] Optionally, the terminal automatically disassembles the virtual prop A2 through a disassembler and automatically puts the virtual prop A2 back into the backpack.
[0143] After virtual item A2 is removed from second virtual object 702, first virtual object 701 and second virtual object 702 no longer have virtual items of the same type. After dragging batch operation control 710, second virtual object 702 is equipped with virtual items A1, B1, C1, and D1, while first virtual object 701 no longer has any virtual items.
[0144] In this embodiment, by determining the target type of virtual prop equipped by the second virtual object as the target virtual prop and disassembling the target virtual prop, conflicts of virtual props of the same type can be avoided when both the first virtual object and the second virtual object are equipped with virtual props of the target type, thereby improving the accuracy of batch transfer of virtual props.
[0145] In another method for determining the target virtual item, the terminal determines the target virtual item to be disassembled based on the order of the virtual items equipped by the second virtual object in the equipment column. In some embodiments, when the virtual items in the equipment column are equipped along a first direction, the terminal determines the target virtual item along a second direction, or the terminal determines the target virtual item along the first direction, wherein the second direction is opposite to the first direction.
[0146] For example, when the upper limit of props equipment of the second virtual object is 3 pieces, and when equipping virtual props, the virtual props are filled into the equipment column in the order of left, middle and right, the first direction is from left to right.
[0147] When the total number of virtual props equipped by the second virtual object and the first virtual prop is greater than the upper limit of prop equipment, the terminal determines the target virtual props that need to be disassembled (i.e., the virtual props equipped later are disassembled first) in the order of right, center, and left (i.e., the second direction is from right to left), or the terminal determines the target virtual props that need to be disassembled (i.e., the virtual props equipped first are disassembled first) in the order of left, center, and again (i.e., the second direction).
[0148] For example, if a first virtual object is equipped with virtual item ABC and a second virtual object is equipped with virtual item EF, when the virtual items equipped by the first virtual object are transferred in batches to the second virtual object, the target virtual item to be removed from the second virtual object is virtual item EF, and the second virtual object is ultimately equipped with virtual item ABC. Furthermore, when the removed target virtual item is transferred to the first virtual object, the first virtual object is ultimately equipped with virtual item EF.
[0149] For another example, if a first virtual object is equipped with virtual item AB and a second virtual object is equipped with virtual item CD, and the first direction is from left to right and the second direction is from right to left, when the virtual items equipped by the first virtual object are transferred in batches to the second virtual object, the target virtual item to be removed from the second virtual object is virtual item D, and the second virtual object is ultimately equipped with virtual item ABC. Furthermore, when the removed target virtual items are transferred to the first virtual object, the first virtual object is ultimately equipped with virtual item D.
[0150] When transferring virtual items from a first virtual object to a second virtual object in bulk, a game player may need to manually adjust the transfer of some virtual items based on battle strategy, such as transferring only some of the virtual items from the first virtual object to the second virtual object. Therefore, in some embodiments, if the second virtual object is equipped with virtual items, the terminal may display an item selection bar in the game interface, allowing the game player to manually adjust the virtual items to be transferred.
[0151] In some embodiments, before transferring the virtual prop equipped by the first virtual object to the second virtual object, if the second virtual object is equipped with the virtual prop, the terminal may further display a prop selection bar.
[0152] Among them, the prop selection bar is a toolbar for game players to select virtual props.
[0153] Optionally, the prop selection bar is displayed on the side of the second virtual object.
[0154] In some embodiments, the prop selection bar includes a first prop area and a second prop area, wherein the first prop area is used to display virtual props to be disassembled, and the second prop area is used to display virtual props to be equipped by the second virtual object, and the second prop area initially displays the virtual props equipped by the first virtual object and the second virtual object.
[0155] In some embodiments, upon receiving the transfer confirmation operation, the virtual prop displayed in the second prop area is the virtual prop that the second virtual object will ultimately equip after the prop transfer is completed. The transfer confirmation operation can be triggered by a confirmation control in the prop selection bar.
[0156] Refer to FIG8 , which is a schematic diagram of a prop selection bar shown in an exemplary embodiment of the present application.
[0157] As shown in Figure 8, the game player intends to transfer the virtual props of the first virtual object 801 to the second virtual object 802 in batches. In some embodiments, the terminal can trigger the display of the prop selection bar 820 in the game interface based on a specific trigger operation. For example, when the dragging end point of the drag operation is located on the second virtual object 802, the terminal displays the prop selection bar 820. In some embodiments, the terminal can also trigger the display of the prop selection bar 820 based on other methods, such as when the game player slides up or double-clicks the batch operation control 810, the terminal displays the prop selection bar 820 in the game interface, and this embodiment of the application is not limited to this.
[0158] The prop selection bar 820 includes a first prop area 821 and a second prop area 822. The first prop area 821 is used to display virtual props to be disassembled, and the second prop area 822 is used to display virtual props to be equipped by the second virtual object 802. The second prop area 822 initially displays the virtual props equipped by the first virtual object 801 and the second virtual object 802.
[0159] As shown in FIG8 , before the adjustment operation, the first prop area 821 is initially displayed as empty, and the second prop area 822 initially displays all virtual props equipped by the first virtual object 801 and the second virtual object 802 , including virtual props A1 , A2 , B1 , C1 and D1 .
[0160] The item selection bar 820 includes the words "Please select the virtual item to be disassembled" to prompt the player to adjust the virtual items in the first item area 821 and the second item area 822. For example, following the prompt, the player moves virtual items A2 and C1 from the second item area 822 to the first item area 821, indicating that virtual items A2 and C1 are to be disassembled.
[0161] After the game player selects the virtual props to be removed, they click the "I've Selected" confirmation control 823. In response to the game player's adjustment of the virtual props in the first and second prop areas, the terminal determines the virtual props to be equipped to the second virtual object. For example, the terminal may determine the virtual props A1, B1, and D1 remaining in the second prop area 822 after the adjustment as the virtual props to be equipped to the second virtual object 802.
[0162] Because the virtual props to be equipped by the second virtual object may include some of the virtual props currently equipped by the second virtual object and some of the virtual props currently equipped by the first virtual object, when transferring props, only some of the virtual props currently equipped by the first virtual object need to be removed, while some of the virtual props currently equipped by the second virtual object need to be retained. Therefore, based on the virtual props to be equipped by the second virtual object, the first virtual object, and the virtual props currently equipped by the second virtual object, the terminal determines the virtual props to be removed from the second virtual object and the virtual props to be transferred from the first virtual object.
[0163] In some embodiments, the terminal determines the intersection of the virtual item to be equipped by the second virtual object and the virtual item currently equipped by the first virtual object as the virtual item to be transferred corresponding to the first virtual object. For example, if the virtual item to be equipped by the second virtual object is S1 and the virtual item currently equipped by the first virtual object is S2, the virtual item to be transferred corresponding to the first virtual object is S1∩S2.
[0164] In some embodiments, the terminal determines the intersection of the virtual props to be equipped by the second virtual object and the virtual props currently equipped by the second virtual object, and determines the virtual props other than the intersection among the virtual props currently equipped by the second virtual object as the virtual props to be disassembled corresponding to the second virtual props. For example, when the virtual props to be equipped by the second virtual object is S1 and the virtual props currently equipped by the second virtual object is S3, the virtual props to be disassembled corresponding to the second virtual object are S3-(S1∩S3). For example, based on the virtual props A1, B1, D1 to be equipped by the second virtual object, the virtual props A1, B1, C1 currently equipped by the first virtual object, and the virtual props A2 and D1 currently equipped by the second virtual object, the terminal can determine that the virtual props to be disassembled corresponding to the second virtual object 802 are virtual props A2, and the virtual props to be transferred corresponding to the first virtual object 801 are virtual props A1 and B1.
[0165] Optionally, the terminal automatically disassembles the virtual prop to be disassembled corresponding to the second virtual object. For example, the terminal automatically puts the virtual prop A2 to be disassembled back into the backpack.
[0166] After dragging the batch operation control 810, the virtual props A1 and B1 to be transferred corresponding to the first virtual object 801 are transferred to the second virtual object 802. The terminal automatically puts the remaining virtual prop C1 to be disassembled back into the backpack. The first virtual object 801 is no longer equipped with virtual props.
[0167] Regarding the handling of virtual props to be disassembled, in some embodiments, the terminal can automatically place the virtual props to be disassembled back into the backpack, for example, placing the virtual prop A2 to be disassembled corresponding to the second virtual object 802 back into the backpack; in other embodiments, the terminal can automatically keep the remaining virtual props to be disassembled on the first virtual object, for example, keeping the remaining virtual prop C1 to be disassembled on the first virtual object 801; in another embodiment, the terminal can also automatically transfer the virtual props to be disassembled corresponding to the second virtual object to the first virtual object, for example, transferring the virtual prop A2 to be disassembled corresponding to the second virtual object 802 to the first virtual object 801. In this embodiment, by adjusting the virtual props in the first and second prop areas of the prop selection bar, manual adjustment of the virtual props to be equipped on the second virtual object and the virtual props to be disassembled can be achieved, thereby improving operational efficiency and enabling more precise equipping or disassembly of virtual props.
[0168] During the batch operation on the virtual props of the first virtual object, the game player may intend not to transfer the virtual props but only to dismantle the virtual props equipped by the first virtual object.
[0169] In some embodiments, when a third operation on the batch operation control is received, the virtual prop equipped by the first virtual object is disassembled.
[0170] 9 , which is a schematic diagram illustrating disassembling a virtual prop equipped by a first virtual object through a third operation according to an exemplary embodiment of the present application.
[0171] As shown in Figure 9, before the third trigger operation, the game interface includes a first virtual object 901 and a corresponding batch operation control 910. The first virtual object 901 is equipped with virtual props A, B and C.
[0172] In response to the third operation, the virtual items A, B, and C equipped by the first virtual object 901 are removed. Therefore, after the third operation, the first virtual object 901 is not equipped with any virtual items. The removed virtual items A, B, and C are returned to the backpack.
[0173] Optionally, the third operation is a click or long press operation. The third trigger operation can also be other trigger operation types (different from the second operation), which is not limited in this embodiment of the present application.
[0174] In this embodiment, the third operation can be used to efficiently dismantle the virtual props equipped by the first virtual object, thereby improving the operation efficiency of the game player.
[0175] During the batch transfer of virtual props from a first virtual object to a second virtual object, the virtual props of the first virtual object may have different compatibility with the second virtual object. For example, the virtual prop may not be suitable for (or particularly suitable for) the character type of the second virtual object; or the virtual prop may not be suitable for (or particularly suitable for) the character level of the second virtual object. Therefore, the terminal can provide a prompt before the batch transfer of virtual props based on the compatibility between the virtual props and the second virtual object to reduce the probability of props being transferred incorrectly.
[0176] In some embodiments, when a second operation on the batch operation control is received and the operation target indicated by the second operation is a second virtual object, the terminal determines a matching degree between the virtual prop equipped by the first virtual object and the second virtual object.
[0177] Optionally, the matching degree is determined based on the second virtual object's character type, character level, and other object attributes and the item attributes of the virtual item. For example, if the second virtual object's character type is a mage, spell-related virtual items such as a magic crystal and a mysterious staff will have a higher matching degree, while physical virtual items such as a warp dagger will have a relatively lower matching degree.
[0178] Optionally, the degree of match is determined based on the game player's historical preferences. For example, the frequency with which the game player has historically equipped the second virtual object with virtual items can be counted; a higher frequency indicates a higher degree of match. In some embodiments, the frequency with which different virtual items are equipped to the same virtual object on the terminal is normalized, and the degree of match between each virtual item and the virtual object is determined based on the normalized frequency.
[0179] In one possible scenario, when the matching degree between the virtual item and the second virtual object is greater than a matching degree threshold, the terminal transfers the virtual item equipped on the first virtual object to the second virtual object, and the terminal does not display a transfer confirmation prompt.
[0180] In another possible scenario, when the degree of matching between the virtual prop and the second virtual object is less than a matching threshold, the terminal displays a transfer confirmation prompt; in response to a confirmation operation on the transfer confirmation prompt, the terminal transfers the virtual prop equipped by the first virtual object to the second virtual object; in response to a cancellation operation on the transfer confirmation prompt, the terminal maintains the virtual prop equipped by the first virtual object.
[0181] Refer to FIG. 10 , which is a schematic diagram showing a transfer confirmation prompt according to an exemplary embodiment of the present application.
[0182] As shown in FIG. 10 , the game player performs a drag operation on the batch operation control 1010 , intending to transfer the virtual props A, B, and C equipped by the first virtual object 1001 to the second virtual object 1002 .
[0183] When the matching degree between virtual item A and second virtual object 1002 is lower than a matching degree threshold (e.g., 50%), the terminal displays a transfer confirmation prompt 1020 in the game interface. Transfer confirmation prompt 1020 includes the words "The matching degree between virtual item A and second virtual object is low. Please confirm whether to continue the transfer?" to prompt the game player to further select a "Continue Transfer" control 1021 or a "Cancel Transfer" control 1022.
[0184] In response to the game player's confirmation operation on the transfer confirmation prompt 1020 (for example, clicking the "Continue Transfer" control 1021), the virtual props A, B and C equipped by the first virtual object 1001 are transferred to the second virtual object 1002.
[0185] In response to the game player cancelling the transfer confirmation prompt 1020 (eg, clicking the “Cancel Transfer” control 1022 ), the virtual items A, B, and C equipped to the first virtual object 1001 are retained.
[0186] After the game player cancels the transfer confirmation prompt 1020, in one possible implementation, the game player can transfer the virtual props equipped on the first virtual object 1001 to the second virtual object 1002 in batches based on the prop selection bar, and at the same time disassemble the virtual prop A based on the adjustment operation in the prop selection bar.
[0187] In this embodiment, during the batch transfer of virtual props, when the virtual props equipped by the first virtual object have a low degree of match with the second virtual object, a transfer confirmation prompt is displayed to provide a reference for the game player's virtual prop transfer behavior, avoid the accidental transfer of virtual props with a low degree of match, and improve the accuracy of batch transfer.
[0188] Regarding the setting position of the batch operation control, in some embodiments, the batch operation control can be placed around the first virtual object; in other embodiments, the batch operation control is placed in the object information panel corresponding to the first virtual object.
[0189] 11 , which is a schematic diagram showing a virtual prop identifier and a batch operation control displayed in an object information panel of a first virtual object according to an exemplary embodiment of the present application.
[0190] As shown in FIG11 , a first virtual object 1101 is equipped with virtual props A, B, and C. In response to a first trigger operation (such as a long press operation) on the first virtual object 1101 , the terminal displays an object information panel 1110 of the first virtual object 1101 .
[0191] In some embodiments, the object information panel 1110 displays item identifiers of virtual items A, B, and C, such as item identifier 1111 , to show the game player the virtual items equipped by the first virtual object 1101 .
[0192] In some embodiments, when the number of props equipped on the first virtual object 1101 is greater than the first number, a batch operation control 1112 is displayed in the object information panel 1110. The batch operation control 1112 is used to trigger a batch operation on the virtual props equipped on the first virtual object 1101.
[0193] For example, the game player can move the batch operation control 1112 to the second virtual object 1102 by dragging, so as to transfer the virtual props of the first virtual object 1101 to the second virtual object 1102 in batches.
[0194] In some embodiments, when a first operation is received on a first virtual object and the number of equipped items on the first virtual object is less than a first number, the terminal displays an object information panel without a batch operation control. For example, object information panel 1110 displays only item identifier 1111 without batch operation control 1112. The game player can individually drag the item identifier corresponding to any virtual item in item identifier 1111 to transfer the virtual item individually.
[0195] 12 , which is a schematic diagram showing a virtual prop identifier and a batch operation control displayed around a first virtual object according to an exemplary embodiment of the present application.
[0196] As shown in FIG. 12 , a first virtual object 1201 is equipped with virtual props A, B, and C.
[0197] When a first operation (such as a long press operation) is received on the first virtual object 1201 and the number of props equipped by the first virtual object is greater than the first number, the terminal displays a batch operation control 1210 and a prop identifier of the virtual props around the first virtual object 1201 in the game interface.
[0198] The prop identifiers of the virtual props may include: a prop identifier 1221 of a virtual prop A, a prop identifier 1222 of a virtual prop B, and a prop identifier 1223 of a virtual prop C.
[0199] In some embodiments, the game player can move the batch operation control 1210 to the second virtual object 1202 by dragging to transfer the virtual props of the first virtual object 1201 to the second virtual object 1202 in batches.
[0200] In some embodiments, when a first trigger operation is received on a first virtual object and the number of props equipped on the first virtual object is less than a first number, the terminal displays a prop identifier of the virtual prop around the first virtual object instead of displaying a batch operation control.
[0201] In some embodiments, the item identifier of a virtual item can be used to transfer a single virtual item. For example, the terminal receives a game player's drag operation on the item identifier 1221 of virtual item A and transfers virtual item A from the first virtual object 1201 to the second virtual object 1202.
[0202] In some embodiments, the batch operation control can also be set at other possible locations in the game interface, such as fixedly set in the upper right corner of the game interface, or set in a dedicated panel for managing virtual props, etc. The embodiments of the present application do not limit the specific setting method of the batch operation control.
[0203] 13 , which is a flow chart of a method for operating a virtual item according to an exemplary embodiment of the present application. The flow chart includes the following steps.
[0204] Step 1301: Long press the first virtual object.
[0205] Among them, long pressing can be the first operation in the above embodiment.
[0206] Step 1302: Determine whether the first virtual object is equipped with two or more virtual props.
[0207] Optionally, based on the virtual props in the object information panel of the first virtual object, the number of props and equipment is calculated, and then it is determined whether the number of props and equipment is 2 or more.
[0208] If the first virtual object is not equipped with two or more virtual props, step 1303 is executed and the batch operation control is not displayed.
[0209] If the first virtual object is equipped with two or more virtual props, step 1304 is executed.
[0210] Step 1304: Display batch operation controls.
[0211] The batch operation control is used to trigger batch operations on virtual props equipped by the first virtual object.
[0212] In some embodiments, the terminal may display a batch operation control around the first virtual object in the game interface.
[0213] In other embodiments, the terminal may display a batch operation control in the object information panel of the first virtual object.
[0214] Step 1305: Click or drag the batch operation control.
[0215] Among them, dragging can be the second operation in the above embodiment, and clicking can be the third operation in the above embodiment.
[0216] When the operation on the batch operation control is a click, step 1306 is executed to dismantle the virtual props in batches.
[0217] When the operation on the batch operation control is dragging, step 1307 is executed to pick up all virtual props equipped by the first virtual object.
[0218] Optionally, when all virtual props equipped by the first virtual object are picked up, thumbnail identifiers of the virtual props are displayed around the first virtual object.
[0219] Step 1308: Drag the batch operation control to the second virtual object.
[0220] Step 1309: Determine whether the second virtual object is equipped with a virtual item.
[0221] If the second virtual object is not equipped with any virtual props, step 1310 is executed to transfer all virtual props of the first virtual object to the second virtual object.
[0222] When the second virtual object is equipped with a virtual item, step 1311 is executed.
[0223] Step 1311: dismantle the virtual props equipped on the second virtual object, and transfer the virtual props of the first virtual object to the second virtual object.
[0224] Optionally, all virtual props equipped on the second virtual object are disassembled, and all virtual props of the first virtual object are transferred to the second virtual object.
[0225] Optionally, when both the first virtual object and the second virtual object are equipped with virtual props of the target type, the virtual prop of the target type equipped on the second virtual object is determined as the target virtual prop; the target virtual prop is disassembled, and all virtual props of the first virtual object are transferred to the second virtual object.
[0226] Optionally, through the prop selection bar, based on the adjustment operation of the game player, the virtual prop to be disassembled corresponding to the second virtual object and the virtual prop to be transferred corresponding to the first virtual object are determined; the virtual prop to be disassembled corresponding to the second virtual object is disassembled, and the virtual prop to be transferred corresponding to the first virtual object is transferred to the second virtual object.
[0227] See Figure 14, which is a timing diagram of a method for operating virtual items provided by an exemplary embodiment of the present application. This timing diagram illustrates the sequential data interaction between the game player, the game client (presentation layer), and the game client (logic layer). This timing diagram includes the following steps.
[0228] Step 1401: The game player selects the first virtual object equipped with two or more virtual props.
[0229] Step 1402: The game client (presentation layer) sends the selection instruction corresponding to the selected operation to the game client (logic layer).
[0230] Step 1403: Based on the selection instruction, the game client (logic layer) calls the equipment information of the first virtual object and sends it to the game client (presentation layer).
[0231] Step 1404: The game client (presentation layer) receives the equipment information of the first virtual object and displays the equipment information of the first virtual object and batch operation controls to the game player.
[0232] Optionally, the game client (presentation layer) may display the equipment information and batch operation controls of the first virtual object in the first virtual object perimeter or in the object information panel.
[0233] Step 1405: The game player picks up virtual props when dragging the batch operation control.
[0234] Step 1406: The game client (presentation layer) transforms the batch operation control into a prop thumbnail control, and the prop thumbnail control is adsorbed to the mouse pointer or finger position of the game player during the dragging process of the game player.
[0235] Step 1407: The game player drags the prop thumbnail control to the second virtual object.
[0236] Step 1408: The game client (presentation layer) prompts the game player that the operation target has been selected.
[0237] Optionally, the game client (presentation layer) displays a prompt to transfer the virtual props to the second virtual object to prompt the game player that the operation target has been selected.
[0238] Step 1409: The game player ends the dragging operation by releasing the mouse pointer or finger.
[0239] Step 1410: The game client (logic layer) receives an execution instruction from the game player to end the drag operation, transfers the virtual props to the second virtual object, and sends a refresh instruction to the game client (presentation layer) so that the game client (presentation layer) refreshes the corresponding page presentation.
[0240] Step 1411: The game client (logic layer) calls the equipment information of the second virtual object to determine whether the second virtual object has prepared virtual props and whether the type of the virtual props of the second virtual object overlaps with that of the first virtual object.
[0241] Step 1412: If the type of the virtual prop of the second virtual object overlaps with that of the first virtual object, the game client (logic layer) puts the virtual prop into the backpack. At the same time, the game client (logic layer) sends a message to the game client (presentation layer) to enable the game client (presentation layer) to play the page display of the virtual prop entering the backpack.
[0242] Step 1413: End the operation.
[0243] Referring to FIG. 15 , FIG. 15 is a structural block diagram of a virtual props operating device provided by an exemplary embodiment of the present application, the device comprising:
[0244] Display module 1501, configured to display a first virtual object equipped with a virtual prop;
[0245] The display module 1501 is further configured to, upon receiving a first operation on the first virtual object and the number of props equipped on the first virtual object is greater than a first number, display a batch operation control for triggering a batch operation on the virtual props equipped on the first virtual object, where the first number is a positive integer;
[0246] The transfer module 1502 is configured to transfer the virtual item equipped on the first virtual object to the second virtual object when a second operation on the batch operation control is received and the operation target indicated by the second operation is a second virtual object.
[0247] Optionally, the second operation is a drag operation, and the transfer module 1502 is configured to:
[0248] When a drag operation on the batch operation control is received and the dragging end point of the drag operation is located at the second virtual object, the virtual prop equipped on the first virtual object is transferred to the second virtual object.
[0249] Optionally, before transferring the virtual prop equipped by the first virtual object to the second virtual object, the transfer module 1502 is configured to:
[0250] When a drag operation is received on the batch operation control, the batch operation control is transformed into an item thumbnail control, wherein the item thumbnail control displays an item thumbnail identifier of the virtual item equipped by the first virtual object, and the item thumbnail control moves with the drag operation;
[0251] When the dragging position of the dragging operation is located on the second virtual object, a prop transfer prompt is displayed, wherein the prop transfer prompt includes the first object identifier of the first virtual object, the second object identifier of the second virtual object, and the prop thumbnail identifier.
[0252] Optionally, the transfer module 1502 is configured to:
[0253] When the dragging position of the dragging operation is located on the second virtual object and the second virtual object supports equipping a virtual prop, displaying the prop transfer prompt;
[0254] Optionally, the transfer module 1502 is configured to:
[0255] When the dragging position of the dragging operation is located on the second virtual object and the second virtual object does not support the equipment of virtual props, a transfer prohibition prompt is displayed.
[0256] Optionally, when a drag operation is received on the batch operation control and there is no virtual object at the dragging end point of the drag operation, or the virtual object at the dragging end point does not support equipping virtual props, the virtual props equipped with the first virtual object are maintained.
[0257] Optionally, before transferring the virtual prop equipped by the first virtual object to the second virtual object, the transfer module 1502 is configured to:
[0258] In a case where the second virtual object is equipped with a virtual item, a target virtual item equipped with the second virtual object is disassembled based on the virtual items equipped with the first virtual object and the second virtual object.
[0259] Optionally, the transfer module 1502 is configured to:
[0260] In a case where both the first virtual object and the second virtual object are equipped with a target type of virtual prop, determining the target type of virtual prop equipped by the second virtual object as the target virtual prop;
[0261] Disassemble the target virtual prop.
[0262] Optionally, the transfer module 1502 is configured to:
[0263] The target virtual prop is transferred to the first virtual object.
[0264] Optionally, before transferring the virtual prop equipped by the first virtual object to the second virtual object, the transfer module 1502 is configured to:
[0265] When the second virtual object is equipped with a virtual prop, displaying a prop selection bar, the prop selection bar including a first prop area and a second prop area, the first prop area being used to display a virtual prop to be disassembled, the second prop area being used to display a virtual prop to be equipped by the second virtual object, and the second prop area initially displaying the virtual props equipped by the first virtual object and the second virtual object;
[0266] In response to adjustment operations on virtual props in the first prop area and the second prop area, determining a virtual prop to be equipped by the second virtual object;
[0267] Determining, based on the virtual item to be equipped by the second virtual object and the virtual items currently equipped by the first virtual object and the second virtual object, a virtual item to be disassembled corresponding to the second virtual object and a virtual item to be transferred corresponding to the first virtual object;
[0268] disassembling the virtual prop to be disassembled corresponding to the second virtual object;
[0269] The transferring the virtual prop equipped by the first virtual object to the second virtual object includes:
[0270] The to-be-transferred virtual item corresponding to the first virtual object is transferred to the second virtual object.
[0271] Optionally, when a third trigger operation on the batch operation control is received, the virtual prop equipped by the first virtual object is disassembled.
[0272] Optionally, the transfer module 1502 is configured to:
[0273] Upon receiving the second operation on the batch operation control, and when the operation target indicated by the second operation is a second virtual object, determining a degree of matching between the virtual item equipped by the first virtual object and the second virtual object;
[0274] If the matching degree is greater than a matching degree threshold, transferring the virtual item equipped by the first virtual object to the second virtual object;
[0275] Optionally, the transfer module 1502 is configured to:
[0276] If the matching degree is less than the matching degree threshold, displaying a transfer confirmation prompt;
[0277] In response to a confirmation operation on the transfer confirmation prompt, transferring the virtual item equipped by the first virtual object to the second virtual object;
[0278] In response to a cancel operation on the transfer confirmation prompt, the virtual item equipped to the first virtual object is maintained.
[0279] Optionally, the display module 1501 is used to:
[0280] In response to the first operation on the first virtual object, displaying an object information panel of the first virtual object, wherein the object information panel displays an item identifier of the virtual item; and when the number of items equipped on the first virtual object is greater than the first number, displaying the batch operation control in the object information panel; or
[0281] When the first operation on the first virtual object is received and the number of props equipped on the first virtual object is greater than the first number, the prop identifier of the virtual prop and the batch operation control are displayed around the first virtual object.
[0282] Optionally, the display module 1501 is used to:
[0283] Upon receiving the first operation on the first virtual object and the number of props equipped for the first virtual object is less than the first number, displaying the object information panel without the batch operation control; or
[0284] When the first operation on the first virtual object is received and the number of props equipped on the first virtual object is less than the first number, a prop mark of the virtual prop is displayed around the first virtual object.
[0285] Refer to FIG16 , which is a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application.
[0286] Optionally, the terminal 1600 is a smart phone, a tablet computer, a notebook computer, or a desktop computer. The terminal may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other names.
[0287] Specifically, the terminal 1600 includes a central processing unit (CPU) 1601, a system memory 1604 including a random access memory 1602 and a read-only memory 1603, and a system bus 1605 connecting the system memory 1604 and the CPU 1601. The terminal 1600 also includes a basic input / output (I / O) system 1606 that facilitates information transmission between various components within the computer, and a mass storage device 1607 for storing an operating system 1613, application programs 1614, and other program modules 1615.
[0288] The basic input / output system 1606 includes a display 1608 for displaying information and an input device 1609 such as a mouse and keyboard for user input. The display 1608 and the input device 1609 are connected to the central processing unit 1601 via an input / output controller 1610 connected to the system bus 1605. The basic input / output system 1606 may also include an input / output controller 1610 for receiving and processing input from a variety of other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1610 also provides output to a display screen, printer, or other types of output devices.
[0289] The mass storage device 1607 is connected to the central processing unit 1601 via a mass storage controller (not shown) connected to the system bus 1605. The mass storage device 1607 and its associated computer-readable media provide non-volatile storage for the terminal 1600. In other words, the mass storage device 1607 may include a computer-readable medium (not shown) such as a hard disk or drive.
[0290] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include random access memory (RAM), read-only memory (ROM), flash memory or other solid-state storage technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic tape cassette, magnetic tape, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage medium is not limited to the above-mentioned ones. The above-mentioned system memory 1604 and mass storage device 1607 can be collectively referred to as memory.
[0291] The memory stores one or more programs, and the one or more programs are configured to be executed by one or more central processing units 1601. The one or more programs contain instructions for implementing the above-mentioned methods. The central processing unit 1601 executes the one or more programs to implement the methods provided by the above-mentioned various method embodiments.
[0292] According to various embodiments of the present application, the terminal 1600 may also be connected to a remote computer on a network such as the Internet for operation. That is, the terminal 1600 may be connected to a network 1612 via a network interface unit 1611 connected to the system bus 1605. Alternatively, the network interface unit 1611 may be used to connect to other types of networks or remote computer systems (not shown).
[0293] The memory also includes one or more programs, which are stored in the memory and include steps executed by a computer device in the method provided in the embodiment of the present application.
[0294] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to implement the method described in any of the above embodiments.
[0295] Optionally, the computer-readable storage medium may include: ROM, RAM, solid state drives (SSDs) or optical disks, etc. Among them, RAM may include resistance random access memory (ReRAM) and dynamic random access memory (DRAM).
[0296] The present invention provides a 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 method described in the above embodiment.
[0297] Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be accomplished by hardware, or by programs instructing related hardware to accomplish the steps. The programs may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.
[0298] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for operating a virtual item, the method being executed by a terminal, the method comprising: displaying a first virtual object, wherein the first virtual object is equipped with a virtual prop; When a first operation on the first virtual object is received and the number of props equipped on the first virtual object is greater than a first number, a batch operation control is displayed, the batch operation control is used to trigger a batch operation of virtual props equipped on the first virtual object, and the first number is a positive integer; When a second operation on the batch operation control is received and the operation target indicated by the second operation is a second virtual object, the virtual prop equipped by the first virtual object is transferred to the second virtual object.
2. The method according to claim 1, wherein: The second operation is a drag operation; The method of, when receiving a second operation on the batch operation control and the operation target indicated by the second operation is a second virtual object, transferring the virtual prop equipped by the first virtual object to the second virtual object comprises: When a drag operation on the batch operation control is received and the dragging end point of the drag operation is located at the second virtual object, the virtual prop equipped by the first virtual object is transferred to the second virtual object.
3. The method according to claim 2, wherein: Before transferring the virtual props equipped by the first virtual object to the second virtual object, the method further includes: When a drag operation is received on the batch operation control, the batch operation control is transformed into a prop thumbnail control, in which a prop thumbnail identifier of the virtual prop equipped by the first virtual object is displayed, and the prop thumbnail control moves with the drag operation; When the dragging position of the dragging operation is located at the second virtual object, a prop transfer prompt is displayed, wherein the prop transfer prompt includes a first object identifier of the first virtual object, a second object identifier of the second virtual object, and a thumbnail identifier of the prop.
4. The method according to claim 3, wherein: When the dragging position of the dragging operation is located at the second virtual object, displaying a prop transfer prompt includes: When the dragging position of the dragging operation is located at the second virtual object and the second virtual object supports equipping virtual props, displaying the prop transfer prompt; The method further comprises: When the dragging position of the dragging operation is located at the second virtual object and the second virtual object does not support the equipment of virtual props, a transfer prohibition prompt is displayed.
5. The method according to any one of claims 2 to 4, wherein: The method further comprises: When a drag operation is received on the batch operation control and there is no virtual object at the dragging end point of the drag operation, or the virtual object at the dragging end point does not support equipping virtual props, the virtual props equipped by the first virtual object are maintained.
6. The method according to any one of claims 1 to 5, wherein: Before transferring the virtual props equipped by the first virtual object to the second virtual object, the method further includes: In a case where the second virtual object is equipped with a virtual item, based on the first virtual object and the virtual items equipped with the second virtual object, a target virtual item equipped with the second virtual object is disassembled.
7. The method according to claim 6, wherein: The step of disassembling a target virtual prop equipped by the second virtual object based on the virtual props equipped by the first virtual object and the second virtual object includes: In a case where both the first virtual object and the second virtual object are equipped with a target type of virtual prop, determining the target type of virtual prop equipped by the second virtual object as the target virtual prop; The target virtual prop is disassembled.
8. The method according to claim 6, wherein: The method further comprises: The target virtual prop is transferred to the first virtual object.
9. The method according to any one of claims 1 to 5, wherein: Before transferring the virtual props equipped by the first virtual object to the second virtual object, the method further includes: In the case where the second virtual object is equipped with a virtual prop, a prop selection bar is displayed, wherein the prop selection bar includes a first prop area and a second prop area, wherein the first prop area is used to display the virtual prop to be disassembled, and the second prop area is used to display the virtual prop to be equipped by the second virtual object, and the second prop area initially displays the virtual props equipped by the first virtual object and the second virtual object; In response to the adjustment operation of the virtual props in the first prop area and the second prop area, determining the virtual prop to be equipped by the second virtual object; Based on the virtual props to be equipped by the second virtual object, the first virtual object and the virtual props currently equipped by the second virtual object, determining the virtual props to be disassembled corresponding to the second virtual object and the virtual props to be transferred corresponding to the first virtual object; disassembling the virtual prop to be disassembled corresponding to the second virtual object; The transferring the virtual prop equipped by the first virtual object to the second virtual object comprises: The to-be-transferred virtual prop corresponding to the first virtual object is transferred to the second virtual object.
10. The method according to any one of claims 1 to 5, wherein: The method further comprises: When a third operation on the batch operation control is received, the virtual prop equipped by the first virtual object is disassembled.
11. The method according to any one of claims 1 to 5, wherein: The method of, when receiving a second operation on the batch operation control and the operation target indicated by the second operation is a second virtual object, transferring the virtual prop equipped by the first virtual object to the second virtual object comprises: When the second operation on the batch operation control is received and the operation target indicated by the second operation is a second virtual object, determining a matching degree between the virtual prop equipped by the first virtual object and the second virtual object; When the matching degree is greater than a matching degree threshold, transferring the virtual props equipped by the first virtual object to the second virtual object; The method further comprises: When the matching degree is less than the matching degree threshold, displaying a transfer confirmation prompt; In response to a confirmation operation on the transfer confirmation prompt, transferring the virtual prop equipped by the first virtual object to the second virtual object; In response to a cancel operation on the transfer confirmation prompt, the virtual item equipped by the first virtual object is kept.
12. The method according to any one of claims 1 to 5, wherein: The method of displaying a batch operation control when a first operation on the first virtual object is received and the number of props equipped by the first virtual object is greater than a first number includes: In response to the first operation on the first virtual object, an object information panel of the first virtual object is displayed, wherein the object information panel displays the item identifier of the virtual item; when the number of items equipped on the first virtual object is greater than the first number, the batch operation control is displayed in the object information panel; or When the first operation on the first virtual object is received and the number of props equipped on the first virtual object is greater than the first number, a prop identifier of the virtual prop and the batch operation control are displayed around the first virtual object.
13. The method according to claim 12, wherein: The method further comprises: When the first operation on the first virtual object is received and the number of props equipped by the first virtual object is less than the first number, displaying the object information panel without the batch operation control; or When the first operation on the first virtual object is received and the number of props equipped on the first virtual object is less than the first number, a prop mark of the virtual prop is displayed around the first virtual object.
14. A device for operating a virtual item, the device comprising: A display module, configured to display a first virtual object, wherein the first virtual object is equipped with a virtual prop; The display module is further configured to display a batch operation control when a first operation on the first virtual object is received and the number of props equipped by the first virtual object is greater than a first number, wherein the batch operation control is used to batch operate virtual props equipped by the first virtual object, and the first number is a positive integer; The transfer module is used to transfer the virtual props equipped by the first virtual object to the second virtual object when a second operation on the batch operation control is received and the operation target indicated by the second operation is a second virtual object.
15. A terminal comprising a processor and a memory; the memory stores at least one computer instruction, and the at least one computer instruction is used to be executed by the processor to implement the virtual prop operation method according to any one of claims 1 to 13.
16. A computer-readable storage medium storing at least one computer instruction, wherein the at least one computer instruction is used to be executed by a processor to implement the method for operating a virtual item according to any one of claims 1 to 13.
17. A computer program product, comprising computer instructions, wherein the computer instructions are stored in a computer-readable storage medium; a processor of a terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal implements the method for operating a virtual item as described in any one of claims 1 to 13.