A method, device, equipment and storage medium for processing props in a game
By using the graphic user interface of the terminal device to perform touch operation in the game, the cumbersome problem of virtual prop splitting process is solved, and more efficient and flexible prop splitting is achieved.
Patent Information
- Application Number
- CN202111392343.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-23
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2041-11-23
AI Technical Summary
In the prior art, the splitting process of virtual props in the game is cumbersome and time-consuming, and the splitting efficiency is low.
By performing a first touch operation on the graphical user interface of the terminal device, entering the prop split mode, and performing a second touch operation to perform prop splitting processing, including a proportional or specified number of splitting methods, the second touch operation is to move at least one finger in a direction away from the target touch point.
This improves the efficiency and flexibility of players in splitting virtual props. Players only need to perform coherent touch operations to achieve rapid splitting of props.
Smart Images

Figure CN113908549B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of games, and in particular, to a method, device, equipment, and storage medium for processing items in a game. Background Art
[0002] During the game process, players sometimes need to split virtual items. For example, splitting a group of bullets into at least one portion. In the prior art, if a player wants to split a virtual item in the game, they need to first select the virtual item, and then a control with multiple options will pop up on the interface. After the player selects the split option in the control, a split quantity adjustment control will be displayed on the interface. After the player sets the adjustment control, the terminal will split the virtual item according to the quantity set in the adjustment control. In the above process, the player needs to perform multiple selection operations and multiple confirmation operations, making the splitting process of the virtual item cumbersome and time-consuming, that is, the splitting efficiency of the virtual item is low. Summary of the Invention
[0003] In view of this, the embodiments of the present application provide a method, device, equipment, and storage medium for processing items in a game to improve the splitting efficiency and flexibility of the first target virtual item for the player.
[0004] In a first aspect, the embodiments of the present application provide a method for processing items in a game. A graphical user interface is provided through a terminal device, and an item bar interface for storing virtual items is displayed on the graphical user interface. The item processing method includes:
[0005] In response to a first touch operation for making a first target virtual item in the item bar interface enter the item splitting mode, controlling the first target virtual item to enter the item splitting mode;
[0006] In response to a second touch operation on the first target virtual item, performing item splitting processing corresponding to the second touch operation on the first target virtual item, where the second touch operation is a touch operation in which at least one finger moves in a direction away from the target touch point, and the item splitting processing includes: proportional splitting processing or specified quantity splitting processing, and the target touch point is the touch point of the second touch operation.
[0007] Optionally, the first touch operation and the second touch operation are continuous operations, and the first touch operation is a touch operation including at least two fingers.
[0008] Optionally, the step of performing item splitting processing corresponding to the second touch operation on the first target virtual item in response to the second touch operation on the first target virtual item includes:
[0009] In response to a touch operation in which each finger included in the first touch operation moves away from the target touch point, according to the number of fingers included in the first touch operation, the first target virtual item is split into the same number of portions as the number of fingers in an equal-amount splitting manner.
[0010] Optionally, the response to the second touch operation on the first target virtual item, and the item splitting process corresponding to the second touch operation on the first target virtual item includes:
[0011] In response to a touch operation in which one finger among each finger included in the first touch operation moves away from the target touch point, a specified number of virtual items are split out from the first target virtual item.
[0012] Optionally, after controlling the first target virtual item to enter the item splitting mode, the item processing method further includes:
[0013] Display a first splitting control including at least one splitting value on the graphical user interface;
[0014] The response to the second touch operation on the first target virtual item, and the item splitting process corresponding to the second touch operation on the first target virtual item includes:
[0015] In response to a selection operation on a target splitting value among the splitting values, the first target virtual item is split into the same number of portions as the target splitting value in an equal-amount splitting manner.
[0016] Optionally, the first touch operation includes a single-finger long-press operation.
[0017] Optionally, after controlling the first target virtual item to enter the item splitting mode, the item processing method further includes:
[0018] Display a second splitting control including at least one first splitting ratio on the graphical user interface;
[0019] The response to the second touch operation on the first target virtual item, and the item splitting process corresponding to the second touch operation on the first target virtual item includes:
[0020] In response to a selection operation on a first target splitting ratio among the first splitting ratios, a first target number of virtual items are split out from the first target virtual item;
[0021] Wherein, the proportion of the first target number of virtual items in the first target virtual item is the first target splitting ratio.
[0022] Optionally, the prop processing method further includes:
[0023] discarding the first target number of virtual props;
[0024] or,
[0025] The virtual props other than the first target number of virtual props in the first target virtual props are discarded.
[0026] Optionally, after controlling the first target virtual prop to enter the prop splitting mode, the prop processing method further includes:
[0027] displaying a third split control including at least one second split ratio on the graphical user interface;
[0028] In response to the second touch operation performed on the first target virtual prop, performing prop splitting processing corresponding to the second touch operation on the first target virtual prop includes:
[0029] In response to a selection operation for a second target split ratio in the second split ratio, discarding a second target number of props in the first target virtual props;
[0030] The proportion of the second target number of virtual props in the first target virtual props is the second target split ratio, or the proportion of the second target number of virtual props in the first target virtual props is the difference between 1 and the second target split ratio.
[0031] Optionally, the prop processing method further includes:
[0032] In response to a third touch operation for causing the second target virtual prop and the third target virtual prop in the inventory interface to enter the prop merging mode, controlling the second target virtual prop and the third target virtual prop to enter the prop merging mode;
[0033] In response to a fourth touch operation performed on the second target virtual prop and the third target virtual prop, prop merging processing is performed on the second target virtual prop and the third target virtual prop, wherein the third touch operation is a two-finger operation, the third touch operation and the fourth touch operation are continuous operations, and the fourth touch operation is a close-up operation performed by the two fingers included in the third touch operation.
[0034] In a second aspect, an embodiment of the present application further provides a device for processing props in a game, wherein a graphical user interface is provided through a terminal device, and the graphical user interface displays an inventory interface for storing virtual props, and the device for processing props includes:
[0035] The first control module is configured to respond to a first touch operation for causing a first target virtual item in the item bar interface to enter the item splitting mode, and control the first target virtual item to enter the item splitting mode;
[0036] The splitting module is configured to respond to a second touch operation performed on the first target virtual item, and perform item splitting processing corresponding to the second touch operation on the first target virtual item, where the second touch operation is a touch operation in which at least one finger moves in a direction away from the target touch point, and the item splitting processing includes: proportional splitting processing or specified quantity splitting processing, and the target touch point is the touch point of the second touch operation.
[0037] Optionally, the first touch operation and the second touch operation are consecutive operations, and the first touch operation is a touch operation including at least two fingers.
[0038] Optionally, when the splitting module is configured to respond to a second touch operation performed on the first target virtual item and perform item splitting processing corresponding to the second touch operation on the first target virtual item, it is specifically configured to:
[0039] Respond to a touch operation in which each finger included in the first touch operation moves in a direction away from the target touch point, and according to the number of fingers included in the first touch operation, split the first target virtual item into the same number of parts as the number of fingers in an equal splitting manner.
[0040] Optionally, when the splitting module is configured to respond to a second touch operation performed on the first target virtual item and perform item splitting processing corresponding to the second touch operation on the first target virtual item, it is specifically configured to:
[0041] Respond to a touch operation in which one finger among each finger included in the first touch operation moves in a direction away from the target touch point, and split a specified quantity of virtual items from the first target virtual item.
[0042] Optionally, after the first control module is configured to control the first target virtual item to enter the item splitting mode, it is further configured to:
[0043] Display a first splitting control including at least one splitting value on the graphical user interface;
[0044] When the splitting module is configured to respond to a second touch operation performed on the first target virtual item and perform item splitting processing corresponding to the second touch operation on the first target virtual item, it is specifically configured to:
[0045] In response to the selection operation for the target split value among the split values, split the first target virtual item into the same number of shares as the target split value according to the equal-amount split method.
[0046] Optionally, the first touch operation includes a single-finger long-press operation.
[0047] Optionally, after the first control module is used to control the first target virtual item to enter the item split mode, it is further used for:
[0048] Display a second split control including at least one first split ratio on the graphical user interface;
[0049] When the split module is used to respond to the second touch operation on the first target virtual item and perform the item split process corresponding to the second touch operation on the first target virtual item, it is specifically used for:
[0050] In response to the selection operation for the first target split ratio among the first split ratios, split a first target quantity of virtual items from the first target virtual item;
[0051] Wherein, the proportion of the first target quantity of virtual items in the first target virtual item is the first target split ratio.
[0052] Optionally, the item processing device further includes:
[0053] A discard module for discarding the first target quantity of virtual items;
[0054] Or,
[0055] For discarding the virtual items in the first target virtual item except the first target quantity of virtual items.
[0056] Optionally, after the first control module is used to control the first target virtual item to enter the item split mode, it is further used for:
[0057] Display a third split control including at least one second split ratio on the graphical user interface;
[0058] When the split module is used to respond to the second touch operation on the first target virtual item and perform the item split process corresponding to the second touch operation on the first target virtual item, it is specifically used for:
[0059] In response to the selection operation for the second target split ratio among the second split ratios, discard the second target quantity of items in the first target virtual item;
[0060] The proportion of the second target number of virtual props in the first target virtual props is the second target split ratio, or the proportion of the second target number of virtual props in the first target virtual props is the difference between 1 and the second target split ratio.
[0061] Optionally, the prop processing device further includes:
[0062] a second control module, configured to respond to a third touch operation for causing the second target virtual prop and the third target virtual prop in the inventory interface to enter the prop merging mode, and control the second target virtual prop and the third target virtual prop to enter the prop merging mode;
[0063] a merging module, configured to respond to a fourth touch operation performed on the second target virtual prop and the third target virtual prop, and perform prop merging processing on the second target virtual prop and the third target virtual prop, wherein the third touch operation is a two-finger operation, the third touch operation and the fourth touch operation are continuous operations, and the fourth touch operation is a close-up operation performed by the two fingers included in the third touch operation.
[0064] In a third aspect, an embodiment of the present application provides a computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the prop processing method described in any one of the first aspects are implemented.
[0065] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the prop processing method described in any one of the above-mentioned first aspects are executed.
[0066] The embodiment of the present application provides a method for processing props in a game. When a player performs a first touch operation on a first target virtual prop in an inventory interface on a user graphical interface, the terminal device responds to the first touch operation and controls the first target virtual prop to enter a prop splitting mode. After the first target virtual prop enters the prop splitting mode, the player performs a second touch operation on the first target virtual prop. The terminal device responds to the second touch operation and splits the first target virtual prop. In the above process, the player only needs to perform continuous touch operations to split the first target virtual prop, which allows the player to split the first target virtual prop more flexibly and quickly, which is conducive to improving the player's efficiency and flexibility in splitting the first target virtual prop.
[0067] To make the above objects, features, and advantages of the present application more apparent and understandable, the following provides preferred embodiments in conjunction with the accompanying drawings and describes them in detail as follows. Description of the Drawings
[0068] To more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other relevant drawings can also be obtained based on these drawings.
[0069] Figure 1 Shows a flowchart of a method for processing items in a game provided by Embodiment 1 of the present application;
[0070] Figure 2 Shows an example diagram of a second touch operation in a game provided by Embodiment 1 of the present application;
[0071] Figure 3 Shows another example diagram of a second touch operation in a game provided by Embodiment 1 of the present application;
[0072] Figure 4 Shows another example diagram of a second touch operation in a game provided by Embodiment 1 of the present application;
[0073] Figure 5 Shows an example diagram of a continuous operation of a first touch operation and a second touch operation in a game provided by Embodiment 1 of the present application;
[0074] Figure 6 Shows another example diagram of a continuous operation of a first touch operation and a second touch operation in a game provided by Embodiment 1 of the present application;
[0075] Figure 7 Shows an example diagram of the splitting method of a first target virtual item in a game provided by Embodiment 1 of the present application;
[0076] Figure 8 Shows another example diagram of the splitting method of a first target virtual item in a game provided by Embodiment 1 of the present application;
[0077] Figure 9 Shows an example diagram of a setting method for a specified quantity in a game provided by Embodiment 1 of the present application;
[0078] Figure 10 Shows another example diagram of the splitting method of a first target virtual item in a game provided by Embodiment 1 of the present application;
[0079] Figure 11 An example diagram showing the splitting method of a first target virtual item in another game provided in the first embodiment of the present application;
[0080] Figure 12 An example diagram showing the discarding method of virtual items in a game provided in the first embodiment of the present application;
[0081] Figure 13 An example diagram showing the merging method of a second target virtual item and a third target virtual item in a game provided in the first embodiment of the present application;
[0082] Figure 14 A schematic structural diagram of a prop processing device in a game provided in the embodiment of the present application;
[0083] Figure 15 A schematic structural diagram of a computer device provided in the embodiment of the present application. Detailed implementation manners
[0084] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Usually, the components of the embodiments of the present application described and illustrated herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts belong to the scope of protection of the present application.
[0085] The embodiments of the present application provide a prop processing method, device, equipment, and storage medium in a game, which will be described below through embodiments.
[0086] Embodiment 1
[0087] Figure 1 Shows a flowchart of a prop processing method in a game provided in the first embodiment of the present application. As Figure 1 shown, a graphical user interface is provided through a terminal device, and an item bar interface for storing virtual items is displayed on the graphical user interface. The above prop processing method can be implemented through the following steps S101 to step S102:
[0088]
[0089] Specifically, the inventory interface is the display interface of the inventory in the game for storing virtual items. The inventory interface includes at least one virtual item. The first target virtual item is the virtual item that the player wants to split among the virtual items. It should be noted that the first target virtual item is a splittable virtual item, and the splittable virtual item includes a set of the same virtual item, such as: a set of bullets, a set of grenades, a set of energy drinks, etc.
[0090] The first touch operation includes other touch operations except for the touch operations preset for the terminal device itself; for example: double-finger click operation, pressing operation exceeding the preset force, pressing operation exceeding the preset duration, other gestures except for the gestures preset for the terminal device itself, and dragging the first target virtual item to a specified position, etc. It should be noted that the above first touch operation can be a custom touch operation set by the player, a fixed touch operation preset by the game server, or a touch operation selected by the player from at least one fixed touch operation preset by the game server, and no specific limitation is made here.
[0091] In specific implementation, when a player wants to split a certain virtual item in the game, the player can open the inventory interface by clicking on the icon representing the inventory on the graphical user interface. The terminal device displays the inventory interface on the graphical user interface, and at least one virtual item is displayed on the inventory interface; when the player performs a first touch operation on the first target virtual item on the inventory interface, the terminal device controls the first target virtual item to enter the item splitting mode.
[0092] Step S102: In response to a second touch operation performed on the above first target virtual item, perform item splitting processing corresponding to the second touch operation on the first target virtual item, where the second touch operation is a touch operation in which at least one finger moves in a direction away from the target touch point, and the item splitting processing includes: proportional splitting processing or specified quantity splitting processing, and the target touch point is the touch point of the second touch operation.
[0093] Specifically, the target touch point is the initial touch point where the finger used for the second touch operation is located before moving. The number of the target touch points can be equal to the number of fingers or less than the number of fingers. For example: when the number of fingers is greater than 1, the target touch point is the center point of the initial touch points corresponding to each finger; the number of target touch points can be set according to the actual situation, and no specific limitation is made here. In addition, the position of the target touch point is within the range of a preset distance from the target virtual item, so the position of the target touch point can be on the first target virtual item or not on the first target virtual item, and no specific limitation is made here.
[0094] The above touch operation in which the finger moves away from the target touch point includes a touch operation in which the finger slides from the area where the target touch point is located in a direction away from that area. For the above second touch operation, when the number of fingers used for the second touch operation is 1, the second touch operation is a touch operation in which the finger moves in a direction away from the target touch point; when the number of fingers used for the second touch operation is n (n>1), the second touch operation includes a touch operation in which one finger moves in a direction away from the target touch point and touch operations in which at least two fingers move in a direction away from the target touch point respectively. Among them, when at least two fingers move in a direction away from the target touch point respectively, the moving directions of the fingers are different.
[0095] For example, Figure 2 FIG. shows an example diagram of a second touch operation in a game provided in the first embodiment of the present application, as Figure 2 shown, when the number of fingers is 1, the moving direction is away from the target touch point 203, and the second touch operation performed by the player on the first target virtual item 202 on the graphical user interface 201 is: one finger starts from the position where the target touch point 203 is located and slides in the moving direction. Figure 3 FIG. shows another example diagram of a second touch operation in a game provided in the first embodiment of the present application, as Figure 3 shown, when the number of fingers is 2, the moving direction is away from the target touch point 203 and the target touch point 204, and the second touch operation performed by the player on the first target virtual item 202 on the graphical user interface 201 is: one finger starts from the position where the target touch point 203 is located and slides in the moving direction. Figure 4 FIG. shows another example diagram of a second touch operation in a game provided in the first embodiment of the present application, as Figure 4 shown, when the number of fingers is 2, the first moving direction and the second moving direction are both away from the target touch point 203 and the target touch point 204, and the second touch operation performed by the player on the first target virtual item 202 on the graphical user interface 201 is: one finger starts from the position where the target touch point 203 is located and slides in the first moving direction; at the same time, another finger starts from the position where the target touch point 204 is located and slides in the second moving direction.
[0096] The above-mentioned proportional splitting process refers to splitting the first target virtual item according to a preset splitting ratio. For example, if the first target virtual item is a collection of 50 bullets, when the preset splitting ratio is 2:3, the proportional splitting process for the first target virtual item is: splitting the collection of 50 bullets into a collection of 20 bullets and a collection of 30 bullets; when the preset splitting ratio is 1:2:2, the proportional splitting process for the first target virtual item is: splitting the collection of 50 bullets into a collection of 10 bullets and two collections of 20 bullets.
[0097] The above-mentioned specified quantity splitting process includes splitting out a specified number of virtual items from the first target virtual item and equally splitting the first target virtual item into a specified number of virtual items. For example, if the first target virtual item is a collection of 50 bullets, when the specified quantity is 5, the specified quantity splitting process for the first target virtual item includes: Case 1: Splitting out 5 bullets from the collection of 50 bullets; Case 2: Splitting the collection of 50 bullets into 5 collections each containing 10 bullets.
[0098] It should be noted that the above-mentioned splitting ratio and the above-mentioned specified quantity can be set by the player, preset by the game server, or selected by the player from multiple options preset by the game server, and no specific limitation is made here.
[0099] In specific implementation, after the first target virtual item enters the item splitting mode, the player performs a second touch operation on the first target virtual item. The second touch operation includes at least one touch operation. The terminal device pre-sets the corresponding relationship between various touch operations and item splitting processes, and performs the item splitting process corresponding to the second touch operation on the first target virtual item according to the second touch operation. Among them, different touch operations can correspond to different item splitting processes or the same item splitting process. For example, when a finger moves away from the target touch point, the first target virtual item is split according to a preset splitting ratio; when two fingers both move away from the target touch point, the first target virtual item is bisected.
[0100] In Figure 1In the method for processing virtual items in the shown game, when a player performs a first touch operation on a first target virtual item in the item bar interface on the user graphical interface, the terminal device responds to the first touch operation and controls the first target virtual item to enter the item splitting mode. After the first target virtual item enters the item splitting mode, the player performs a second touch operation on the first target virtual item. The terminal device responds to the second touch operation and performs splitting processing on the first target virtual item. In the above process, the player only needs to perform two touch operations to split the first target virtual item, which enables the player to split the first target virtual item more flexibly and quickly, and is beneficial to improving the splitting efficiency and flexibility of the first target virtual item for the player.
[0101] In another feasible implementation, the above second touch operation further includes a touch operation in which at least one finger moves away from the target touch point and stays for a preset duration after the movement.
[0102] In another feasible implementation, after controlling the first target virtual item to enter the item splitting mode, the player can also perform a second touch operation on other splittable virtual items other than the first target virtual item, so that the terminal device performs item splitting processing corresponding to the second touch operation on the splittable virtual item.
[0103] In a feasible implementation, the above first touch operation and the above second touch operation can be continuous operations. When the first touch operation and the second touch operation are continuous operations, the first touch operation is a touch operation including at least two fingers. Through this continuous operation, the player can split the first target virtual item faster and more flexibly, that is, it is beneficial to improving the splitting flexibility and efficiency of the first target virtual item for the player.
[0104] Specifically, the above continuous operation means that after the first touch operation, the finger used for the first touch operation does not need to leave the user graphical interface and can directly perform the second touch operation; the above touch operation including two fingers means a touch operation completed by two fingers, and the touch operation including at least two fingers means a touch operation completed by at least two fingers. For example, the first touch operation is a two-finger long press operation exceeding a preset duration.
[0105] It should be noted that the number of fingers used for the second touch operation is equal to the number of fingers used for the first touch operation. For example, Figure 5 shows an example diagram of the continuous operation of the first touch operation and the second touch operation in a game provided by Embodiment 1 of the present application, as Figure 5As shown, above the arrow is the first touch operation performed by the player on the first target virtual item 202 on the graphical user interface 201, that is: a two-finger long press operation exceeding a preset duration. Among them, the target touch point 203 is the position where one finger is located, and the target touch point 204 is the position where the other finger is located; below the arrow is the second touch operation performed by the player on the first target virtual item 202, that is: one finger starts from the position where the target touch point 203 is located and slides in the first moving direction; at the same time, the other finger starts from the position where the target touch point 204 is located and slides in the second moving direction. Figure 6 The figure shows an example diagram of consecutive operations of the first touch operation and the second touch operation in another game provided by the first embodiment of the present application. As Figure 6 shown, above the arrow is the first touch operation performed by the player on the first target virtual item 202 on the graphical user interface 201, that is: a two-finger long press operation exceeding a preset duration. Among them, the target touch point 203 is the position where one finger is located, and the target touch point 204 is the position where the other finger is located; below the arrow is the second touch operation performed by the player on the first target virtual item 202, that is: only one finger starts from the position where the target touch point 203 is located and slides in the first moving direction, and the other finger remains stationary. Through the consecutive operations of the above first touch operation and second touch operation, the following functions can be achieved:
[0106] Split a preset number of virtual items (for example: 1 virtual item) from the above first target virtual item 202, or split a preset proportion of virtual items from the above first target virtual item 202. For example: the first target virtual item includes a total of 4 virtual items, and split 1 / 2 of the virtual items (that is: 2 virtual items) from the first target virtual item 202.
[0107] In a feasible implementation scheme, based on the embodiment where the above first touch operation and second touch operation are consecutive operations, the above step S102 can be implemented in the following manner:
[0108] Respond to the touch operation in which each finger included in the first touch operation moves away from the target touch point, and according to the number of fingers included in the first touch operation, split the first target virtual item into the same number of parts as the number of fingers according to the equal split method.
[0109] Specifically, each finger included in the first touch operation includes every finger used to complete the first touch operation. If m fingers (m is an integer and m≥1) are used to complete the first touch operation, after the player executes the first touch operation, each of the m fingers is controlled to move away from the target touch point (i.e., execute the second touch operation). At this time, the terminal device equally splits the first target virtual item into m parts, where the number of virtual items included in each split virtual item is the same. This method enables the player to quickly and flexibly split the first target virtual item equally, that is, it is beneficial to improve the flexibility and efficiency of splitting the first target virtual item by the player.
[0110] For example, Figure 7 FIG. shows an example diagram of a method for splitting a first target virtual item in a game provided in the first embodiment of the present application, as Figure 7 shown, Figure 7 The number shown in the lower right of the bullet pattern represents the number of the bullet, and the same applies hereinafter. The first target virtual item 202 on the graphical user interface 201 includes a total of six bullets (virtual items). Above the first arrow is the first touch operation performed by the player on the first target virtual item 202, that is, a three-finger long press operation exceeding the preset duration. Among them, the target touch point 203 is the position where the first finger is located, the target touch point 204 is the position where the second finger is located, and the target touch point 205 is the position where the third finger is located. Below the first arrow is the second touch operation performed by the player on the first target virtual item 202, that is, the first finger starts from the position of the target touch point 203 and slides in the first moving direction. At the same time, the second finger starts from the position of the target touch point 204 and slides in the second moving direction. At the same time, the third finger starts from the position of the target touch point 205 and slides in the third moving direction. This method enables each finger included in the first touch operation to move away from the target touch point. Below the second arrow is the item splitting process performed by the terminal device on the first target virtual item 202, that is, the first target virtual item 202 is equally split into three parts, namely the first virtual item 301, the second virtual item 302, and the third virtual item 303. Among them, the number of bullets included in the first virtual item 301, the second virtual item 302, and the third virtual item 303 is the same (both include two bullets).
[0111] In a feasible implementation scheme, based on the above embodiment where the first touch operation and the second touch operation are continuous operations, the above step S102 can be implemented in the following manner:
[0112] In response to a touch operation in which one of the fingers included in the first touch operation moves away from the target touch point, a specified number of virtual items are split from the first target virtual item.
[0113] Specifically, if m fingers (m is an integer and m≥1) are used to complete the first touch operation, after the player performs the first touch operation, only any one of these m fingers is controlled to move away from the target touch point (i.e., perform the second touch operation). At this time, the terminal device splits a specified number of virtual items from the first target virtual item; this method enables the player to quickly and flexibly split a specified number of virtual items from the first target virtual item, that is, it is beneficial to improve the splitting flexibility and splitting efficiency of the player for the first target virtual item.
[0114] For example, Figure 8 FIG. shows an example diagram of another way to split the first target virtual item in the game provided by the first embodiment of the present application, as Figure 8 shown, the preset specified number is 4, and the first target virtual item 202 on the graphical user interface 201 includes a total of six bullets (virtual items). Above the first arrow is the first touch operation performed by the player on the first target virtual item 202, that is, a three-finger long press operation exceeding the preset duration. Among them, the target touch point 203 is the position where the first finger is located, the target touch point 204 is the position where the second finger is located, and the target touch point 205 is the position where the third finger is located; below the first arrow is the second touch operation performed by the player on the first target virtual item 202, that is, the first finger starts from the position of the target touch point 203 and slides in the first moving direction; at the same time, the second finger remains stationary at the position of the target touch point 204; at the same time, the third finger remains stationary at the position of the target touch point 205; below the second arrow is the item splitting process performed by the terminal device on the first target virtual item 202, that is, 4 bullets are split from the first target virtual item 202 to obtain a virtual item 304 containing 4 bullets.
[0115] It should be noted that the above specified number can be set by the player, preset by the game server, or selected by the player from multiple options preset by the game server, and no specific limitation is made here.
[0116] For example, Figure 9 FIG. shows an example diagram of a method for setting a specified number provided by the first embodiment of the present application, as Figure 9 shown, after the player performs the second touch operation, the terminal device displays a prompt box 401 on the graphical user interface 201. In this prompt box 401, the player can click on the text "Specified number: 5Cross out the numbers underlined in “ / 30” and change the underlined numbers to set the specified quantity; among them, the underlined numbers are the set specified quantity. The player can also set the specified quantity by sliding the slider on the progress bar below the text. When the player slides the slider to the left or right, the underlined numbers in the text will decrease as the slider slides to the left, or increase as the slider slides to the right. When the slider is at the far left of the progress bar, the underlined number is 0. When the slider is at the far right of the progress bar, the underlined number is 30 (30 represents the total number of virtual items included in the first target virtual item). The player can also set the specified quantity by clicking on the right-facing triangular control on the right side of the progress bar for increasing the value and the left-facing triangular control on the left side of the progress bar for decreasing the value. When the player clicks on the right-facing triangular control, the underlined number increases accordingly, and at the same time, the slider on the progress bar moves to the right; when the player clicks on the right-facing triangular control, the underlined number decreases accordingly, and at the same time, the slider on the progress bar moves to the left. When the player has completed setting the specified quantity, they can click on the confirmation control below the progress bar to confirm the finally set specified quantity. At this time, the terminal device splits out the specified quantity of virtual items from the first target virtual item according to this specified quantity.
[0117] In a feasible implementation, after performing the above step S101, in order to facilitate the user to flexibly set the splitting quantity, a first splitting control including at least one splitting value is displayed on the graphical user interface; based on this, the above step S102 can be implemented in the following manner:
[0118] In response to the selection operation of the target splitting value among the splitting values, the first target virtual item is split into the same number of copies as the target splitting value according to the equal splitting method.
[0119] Specifically, the splitting value refers to the number of equal splitting copies of the first target virtual item, and this splitting value is less than or equal to the total number of virtual items included in the first target virtual item; for example: when the total number of virtual items included in the first target virtual item is 12, the splitting values include: 1, 2, 3, 4, 6, and 12. The target splitting value refers to the number of splitting copies of the first target virtual item determined among the splitting values; the first splitting control is a control for the player to select the target splitting value, so this first splitting control needs to include at least one splitting value.
[0120] It should be noted that the first splitting control can include all splitting values that can perform splitting operations, or can include some of the splitting values among all splitting values that can perform splitting operations. For example, when the total number of virtual items included in the first target virtual item is 12, the splitting values can include: 1, 2, 3, 4, 6, and 12; it can also only include 2 and 6. Regarding the splitting values included in the first splitting control, they can be set according to the actual situation and are not specifically limited here.
[0121] For example, Figure 10 FIG. shows an example diagram of another splitting method of the first target virtual item in the game provided in the first embodiment of the present application. As Figure 10 shown, the first target virtual item 202 in total includes 6 bullets (virtual items). After the first target virtual item 202 enters the item splitting mode, the terminal device displays a first splitting control 501 on the graphical user interface 201. The first splitting control 501 is a roulette wheel, and the roulette wheel includes 4 splitting values, which are 1, 2, 3, and 6 respectively. When the player controls the arrow at the center of the roulette wheel to point to the area where the splitting value 3 is located, it means that the target splitting value selected by the player is 3. The terminal device equally splits the first target virtual item 202 into 3 parts, which are virtual item 601, virtual item 602, and virtual item 603 respectively. Among them, the number of bullets included in virtual item 601, virtual item 602, and virtual item 603 is the same (both contain two bullets).
[0122] Through the above method, the player can independently select the number of equal parts for splitting the first target virtual item, which is beneficial to improving the splitting flexibility of the player for the first target virtual item.
[0123] In a feasible implementation scheme, in order to make the terminal device display the first splitting control on the graphical user interface after performing the above step S101, the first touch operation used when performing the above step S101 can be set as a single-finger long-press operation, that is: when the first touch operation is a single-finger long-press operation, after the first target virtual device enters the item splitting mode, the terminal device displays the first splitting control on the graphical user interface. Through this method, the player can independently decide whether to display the first splitting control, which is beneficial to improving the interaction flexibility between the game server and the player.
[0124] It should be noted that the first touch operation includes but is not limited to a single-finger long-press operation. For example, it can be a pressing operation with a force exceeding a preset value. Regarding the setting of the first touch operation, it can be set according to the actual situation and is not specifically limited here.
[0125] In a feasible implementation, after performing the above step S101, in order to facilitate the user to flexibly set the splitting ratio, a second splitting control including at least one first splitting ratio is displayed on the graphical user interface; based on this, the above step S102 can be implemented in the following manner:
[0126] In response to a selection operation for a first target splitting ratio among the first splitting ratios, split out a first target number of virtual items from the first target virtual items; wherein, the proportion of the first target number of virtual items in the first target virtual items is the first target splitting ratio.
[0127] Specifically, the first splitting ratio refers to the proportion of the number of virtual items split out from the first target virtual items in the total number of all virtual items included in the first target virtual items. The second splitting control includes at least one first splitting ratio. When the player splits the first target virtual items using the first target splitting ratio among the first splitting ratios included in the second splitting control, the terminal device determines the number of virtual items that need to be split out from the first target virtual items, that is: the first target number, by using the calculation method of multiplying the total number of virtual items included in the first target virtual items by the first target splitting ratio, and then splits out the first target number of virtual items from the first target virtual items. In this way, the player can independently select the proportion of the number of virtual items split out from the first target virtual items, which is beneficial to improving the flexibility of splitting the first target virtual items by the player.
[0128] It should be noted that the second splitting control may include all the first splitting ratios for which splitting operations can be performed, or may include some of the first splitting ratios among all the first splitting ratios for which splitting operations can be performed. For example, when the total number of virtual items included in the first target virtual items is 5, the split values may include: 1 / 5, 2 / 5, 3 / 5, 4 / 5, and 1; it may also only include 2 / 5 and 4 / 5; the first splitting ratios included in the second splitting control can be set according to the actual situation and are not specifically limited here.
[0129] Illustrate by way of example, Figure 11 FIG. shows an example diagram of another splitting method of the first target virtual items in the game provided by the first embodiment of the present application, as Figure 11As shown, the first target virtual item 202 includes a total of 6 bullets (virtual items). After the first target virtual item 202 enters the item splitting mode, the terminal device displays a second splitting control 701 on the graphical user interface 201. The second splitting control 701 is a roulette wheel, and the roulette wheel includes 4 first splitting ratios, which are 1 / 6, 1 / 3, 2 / 3, and 1 / 2 respectively. When the player controls the arrow at the center of the roulette wheel to point to the area where the first splitting ratio 2 / 3 is located, it means that the first target splitting ratio selected by the player is 2 / 3. The terminal device splits out a virtual item containing 4 (first target quantity) bullets from the first target virtual item 202.
[0130] In a feasible implementation, after splitting out the virtual item with the first target quantity from the first target virtual item, the virtual item with the first target quantity can be discarded, or the virtual item remaining after splitting out the virtual item with the first target quantity from the first virtual item can be discarded, that is: discard the virtual item other than the virtual item with the first target quantity in the first target virtual item. This method is beneficial to increasing the storage space of the item bar. Since the virtual character controlled by the player needs to carry all the virtual items included in the item bar in the game, the above method is also beneficial to reducing the burden on the virtual character controlled by the player, and thus is beneficial to increasing the movement speed of the virtual character controlled by the player.
[0131] Specifically, the above-mentioned discarding refers to deleting from the item bar. Based on Figure 11 the example diagram of another splitting method of the first target virtual item in the game provided in the first embodiment of the present application shown, Figure 12 an example diagram of a discarding method of a virtual item in the game provided in the first embodiment of the present application is shown. As Figure 12 shown, after splitting out the virtual item with the first target quantity from the first target virtual item, a discarding control for discarding the virtual item with the first target quantity and a retaining control for retaining the virtual item with the first target quantity are provided for the player on the graphical user interface 201. The discarding control and the retaining control are associated with the virtual item with the first target quantity split out. When the player clicks the discarding control, the terminal device discards the virtual item with the first target quantity. When the player clicks the retaining control, the virtual item with the first target quantity is retained, that is: discard the virtual item other than the virtual item with the first target quantity in the first target virtual item.
[0132] In a feasible implementation, after performing the above step S101, the terminal device displays a third splitting control including at least one second splitting ratio on the graphical user interface; based on this, the above step S102 can be implemented in the following manner:
[0133] In response to the selection operation for the second target splitting ratio in the second splitting ratio, discard the second target quantity of items in the first target virtual item; wherein, the proportion of the second target quantity of virtual items in the first target virtual item is the second target splitting ratio, or the proportion of the second target quantity of virtual items in the first target virtual item is the difference between the value 1 and the second target splitting ratio.
[0134] In specific implementation, if the purpose of the player splitting the first target virtual item is to discard some virtual items in the first target virtual item, the terminal device can, after the first target virtual item enters the item splitting mode, display a third splitting control on the user graphical interface. The third splitting control includes at least one second splitting ratio. The player can select the required second target splitting ratio from the second splitting ratios in the third splitting control. The terminal device can determine the second target quantity according to the second target splitting ratio, and then directly discard the second target quantity of virtual items from the first target virtual item. By this method, after the player selects the second target splitting ratio, the terminal device can directly discard the second target quantity of virtual items from the first target virtual item without performing a splitting operation on the first target virtual item, which is beneficial to saving the processing time of the first target virtual item and thus beneficial to improving the processing efficiency of the first target virtual item.
[0135] Specifically, for the second target quantity, the second target quantity can be equal to the product of the total quantity of virtual items included in the first target virtual item and the second target splitting ratio. For example: the total quantity of virtual items included in the first target virtual item is 6, and the second target splitting ratio is 1 / 3, then the second target quantity is equal to 2; in addition, the second target quantity can also be equal to the product of the total quantity of virtual items included in the first target virtual item and the target ratio difference, where the target ratio difference is the difference between 1 and the second target splitting ratio. For example: the total quantity of virtual items included in the first target virtual item is 6, and the second target splitting ratio is 1 / 3, then the second target quantity is equal to 4.
[0136] For the description of the above second splitting ratio, please refer to the above description of the first splitting ratio; for the description of the above second target splitting ratio, please refer to the above description of the first target splitting ratio; for the description of the above third splitting control, please refer to the above description of the second splitting control; no specific elaboration will be made here.
[0137] In a feasible implementation scheme, after performing the above step S102, the above item processing method can also be implemented through the following steps S801 to step S802:
[0138] Step S801: In response to a third touch operation for causing a second target virtual item and a third target virtual item in the item bar interface to enter the item merging mode, control the second target virtual item and the third target virtual item to enter the item merging mode.
[0139] Step S802: In response to a fourth touch operation performed on the second target virtual item and the third target virtual item, perform item merging processing on the second target virtual item and the third target virtual item, where the third touch operation is a two-finger operation, the third touch operation and the fourth touch operation are consecutive operations, and the fourth touch operation is a closing operation performed by the two fingers included in the third touch operation.
[0140] Specifically, the above-mentioned second target virtual item and the above-mentioned third target virtual item are mergeable virtual items, and the mergeable virtual items can also be a set including the same virtual item, such as: a bullet set, a grenade set, an energy drink set, etc. The above-mentioned two-finger operation refers to operating with two fingers simultaneously. The above-mentioned third touch operation includes operations such as multiple two-finger click operations, two-finger pressing operations exceeding a preset force, two-finger long-press operations exceeding a preset duration, and two-finger sliding operations with a preset gesture. In the third touch operation, the distance between the two fingers used for the third touch operation is greater than or equal to a preset distance. For the description of the third touch operation and the fourth touch operation being consecutive operations, please refer to the above description of the first touch operation and the second touch operation being consecutive operations, and no further elaboration will be made here.
[0141] It should be noted that when performing the above-mentioned third touch operation and the above-mentioned fourth touch operation, the action points of each finger are within a preset area containing the second target virtual item and the third target virtual item. Therefore, the action points can be on the second target virtual item and the third target virtual item, or not on the second target virtual item and the third target virtual item, which is specifically set according to the actual situation and is not limited here.
[0142] It should be noted again that after performing item merging processing on the second target virtual item and the third target virtual item, a fourth target virtual item can be obtained. The position of the fourth target virtual item can be at the position where the second target virtual item is located, or at the position where the third target virtual item is located, or at other positions except the positions where the second target virtual item and the third target virtual item are located. Regarding the position of the fourth target virtual item, it can be set according to the actual situation and is not specifically limited here.
[0143] Illustrate by way of example. Figure 13The figure shows an example diagram of the merging method of the second target virtual item and the third target virtual item provided in the first embodiment of the present application. As Figure 13 shown, in the graphical user interface 201, both the second target virtual item 902 and the third target virtual item 903 include two bullets (virtual items). If the player wants to merge the second target virtual item 902 and the third target virtual item 903, in the preset area 901 containing the second target virtual item 902 and the third target virtual item 903, long-press the touch point 904 with the first finger, and at the same time, long-press the touch point 905 with the second finger to control the second target virtual item 902 and the third target virtual item 903 to enter the item merging mode; after entering the item merging mode, without moving the fingers, directly start moving the first finger from the position where the touch point 904 is located in the fourth moving direction, and at the same time, move the second finger from the position where the touch point 905 is located in the fifth moving direction to perform a two-finger approaching operation, so as to realize the item merging process of the second target virtual item 902 and the third target virtual item 903, and obtain the merged virtual item 906, which includes 4 bullets.
[0144] Through the above method, players can quickly and flexibly perform the merging process of two virtual items, which is beneficial to improving the merging flexibility and efficiency of the second target virtual item and the third target virtual item.
[0145] It should be noted that the virtual items for which the item merging process is performed include but are not limited to the second target virtual item and the third target virtual item, and can also be three virtual items, or four virtual items. For the specific merging method, refer to the description of the item merging process of the above-mentioned second target virtual item and the third target virtual item, and will not be elaborated here.
[0146] In another feasible implementation, after performing the above step S801, the player can control the finger to slide across the area where the second target virtual item and the third target virtual item are located or long-press the second target virtual item or the third target virtual item for a preset duration to select the splittable second target virtual item and third target virtual item.
[0147] In another feasible implementation, after the first target virtual item enters the item splitting mode, in response to a fifth touch operation for exiting the item splitting mode of the first target virtual item, control the first target virtual item to exit the item splitting mode; wherein, the fifth touch operation includes: a click operation on other areas of the graphical user interface except the area occupied by the inventory interface, a click operation on the icon for closing the inventory interface, and a touch operation for exiting the game interface where the inventory interface is located, etc. If the user does not want to split the first target virtual item after it enters the item splitting mode, the first target virtual item can be exited from the item splitting mode through the above fifth touch operation. It should be noted that the method for exiting the item merging mode of the second target virtual item and the third target virtual item refers to the method for exiting the item splitting mode of the first target virtual item as described above, and will not be elaborated here.
[0148] In another feasible implementation, before performing the above step S101, if the first target virtual item cannot be split, in response to the first touch operation, display a prompt message for prompting that the item cannot be split on the graphical user interface, for example: the content of the prompt message is "This item cannot be split." Similarly, before performing the above step S801, if the second target virtual item and the third target virtual item cannot be merged, in response to the third touch operation, display a prompt message for prompting that the items cannot be merged on the graphical user interface, for example: the content of the prompt message is "Items cannot be merged."
[0149] In another feasible implementation, after performing the above step S101, if the first target virtual item can be split, display the first target virtual item using a first preset display method, for example: highlight the first target virtual item. Similarly, after performing the above step S801, if the second target virtual item and the third target virtual item can be merged, display the second target virtual item and the third target virtual item using the above first preset display method.
[0150] In another feasible implementation, in response to a selection operation on a control for enabling or disabling the item processing mode in the game, perform an enabling or disabling operation on the item processing mode, where the item processing mode includes an item splitting mode and an item merging mode.
[0151] In another feasible implementation, after controlling the first target virtual item to enter the item splitting mode, a fourth splitting control is displayed on the graphical user interface, where the fourth splitting control includes: at least one splitting value and at least one splitting ratio; for example: the fourth splitting control is a roulette wheel, on which at least one splitting value is set in the direction from 12 o'clock to 4 o'clock, and at least one splitting ratio is set in the direction from 8 o'clock to 12 o'clock. In addition, the area from 4 o'clock to 8 o'clock on the roulette wheel can be set according to the actual situation, for example: set as the area for canceling the roulette wheel. When the player clicks on this area or an area outside the roulette wheel, the display of the fourth splitting control is exited.
[0152] Embodiment 2
[0153] Figure 14 Fig. shows a schematic structural diagram of a prop processing device in a game provided by an embodiment of the present application. As Figure 14 shown, a graphical user interface is provided through a terminal device, and an item bar interface for storing virtual items is displayed on the graphical user interface. The prop processing device includes:
[0154] A first control module 1401, configured to respond to a first touch operation for causing a first target virtual item in the item bar interface to enter the item splitting mode, and control the first target virtual item to enter the item splitting mode;
[0155] A splitting module 1402, configured to respond to a second touch operation performed on the first target virtual item, and perform prop splitting processing corresponding to the second touch operation on the first target virtual item, where the second touch operation is a touch operation in which at least one finger moves in a direction away from the target touch point, and the prop splitting processing includes: proportional splitting processing or specified quantity splitting processing, and the target touch point is the touch point of the second touch operation.
[0156] In a feasible implementation, the first touch operation and the second touch operation are consecutive operations, and the first touch operation is a touch operation including at least two fingers.
[0157] In a feasible implementation, when the splitting module 1402 is configured to respond to a second touch operation performed on the first target virtual item and perform prop splitting processing corresponding to the second touch operation on the first target virtual item, it is specifically configured to:
[0158] Respond to a touch operation in which each finger included in the first touch operation moves in a direction away from the target touch point, and according to the number of fingers included in the first touch operation, split the first target virtual item into the same number of parts as the number of fingers in an equal splitting manner.
[0159] In a feasible implementation, when the splitting module 1402 is used to perform the prop splitting process corresponding to the second touch operation on the first target virtual prop in response to the second touch operation on the first target virtual prop, it is specifically configured to:
[0160] In response to the touch operation in which one of the fingers in each finger included in the first touch operation moves away from the target touch point, split a specified number of virtual props from the first target virtual prop.
[0161] In a feasible implementation, after the first control module 1401 is used to control the first target virtual prop to enter the prop splitting mode, it is further configured to:
[0162] Display a first splitting control including at least one splitting value on the graphical user interface;
[0163] When the splitting module is used to perform the prop splitting process corresponding to the second touch operation on the first target virtual prop in response to the second touch operation on the first target virtual prop, it is specifically configured to:
[0164] In response to the selection operation on the target splitting value in the splitting values, split the first target virtual prop into the same number of copies as the target splitting value according to the equal-amount splitting method.
[0165] In a feasible implementation, the first touch operation includes a single-finger long-press operation.
[0166] In a feasible implementation, after the first control module 1401 is used to control the first target virtual prop to enter the prop splitting mode, it is further configured to:
[0167] Display a second splitting control including at least one first splitting ratio on the graphical user interface;
[0168] When the splitting module is used to perform the prop splitting process corresponding to the second touch operation on the first target virtual prop in response to the second touch operation on the first target virtual prop, it is specifically configured to:
[0169] In response to the selection operation on the first target splitting ratio in the first splitting ratios, split a first target number of virtual props from the first target virtual prop;
[0170] Wherein, the proportion of the first target number of virtual props in the first target virtual prop is the first target splitting ratio.
[0171] In a feasible embodiment, the prop processing device further includes:
[0172] a discarding module, configured to discard the first target number of virtual props;
[0173] or,
[0174] The method is used to discard virtual items other than the first target number of virtual items in the first target virtual items.
[0175] In a feasible implementation, after being used to control the first target virtual prop to enter the prop splitting mode, the first control module 1401 is further used to:
[0176] displaying a third split control including at least one second split ratio on the graphical user interface;
[0177] The splitting module is configured to respond to a second touch operation performed on the first target virtual prop and perform prop splitting processing corresponding to the second touch operation on the first target virtual prop, specifically configured to:
[0178] In response to a selection operation for a second target split ratio in the second split ratio, discarding a second target number of props in the first target virtual props;
[0179] The proportion of the second target number of virtual props in the first target virtual props is the second target split ratio, or the proportion of the second target number of virtual props in the first target virtual props is the difference between 1 and the second target split ratio.
[0180] In a feasible embodiment, the prop processing device further includes:
[0181] a second control module, configured to respond to a third touch operation for causing the second target virtual prop and the third target virtual prop in the inventory interface to enter the prop merging mode, and control the second target virtual prop and the third target virtual prop to enter the prop merging mode;
[0182] a merging module, configured to respond to a fourth touch operation performed on the second target virtual prop and the third target virtual prop, and perform prop merging processing on the second target virtual prop and the third target virtual prop, wherein the third touch operation is a two-finger operation, the third touch operation and the fourth touch operation are continuous operations, and the fourth touch operation is a close-up operation performed by the two fingers included in the third touch operation.
[0183] Example 3
[0184] The embodiment of the present application also provides a computer device 1500. Figure 15 The following shows a schematic structural diagram of a computer device provided by the embodiment of the present application. As Figure 15 shown, the device includes a memory 1501, a processor 1502, and a computer program stored on the memory 1501 and executable on the processor 1502. Among them, the above-mentioned memory 1501 and the above-mentioned processor 1502 are communicatively connected through a bus. When the processor 1502 executes the above-mentioned computer program, the above-mentioned prop processing method is implemented.
[0185] Specifically, the above-mentioned memory 1501 and processor 1502 can be general memories and processors, which are not specifically limited here. When the processor 1502 runs the computer program stored in the memory 1501, it can execute the above-mentioned prop processing method, solving the problem of low splitting efficiency of virtual props in the prior art.
[0186] Embodiment 4
[0187] The embodiment of the present application also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the above-mentioned prop processing method are executed.
[0188] Specifically, the storage medium can be a general storage medium, such as a removable disk, a hard disk, etc. When the computer program on the storage medium is run, it can execute the above-mentioned prop processing method, solving the problem of low splitting efficiency of virtual props in the prior art.
[0189] The device provided by the embodiment of the present application can be specific hardware on the device or software or firmware installed on the device, etc. The implementation principle and the technical effects produced by the device provided by the embodiment of the present application are the same as those of the foregoing method embodiment. For the sake of brief description, for the parts not mentioned in the device embodiment, reference can be made to the corresponding content in the foregoing method embodiment. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the foregoing-described system, device, and unit can all refer to the corresponding processes in the above-mentioned method embodiment, and will not be repeated here.
[0190] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some communication interfaces. The indirect coupling or communication connection of the devices or units can be in electrical, mechanical or other forms.
[0191] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0192] In addition, each functional unit in the embodiments provided in the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0193] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0194] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In addition, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0195] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present application can still modify the technical solutions recorded in the foregoing embodiments or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. All should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims described.
Claims
1. A method for processing items in a game, characterized in that Providing a graphical user interface through a terminal device, an item bar interface for storing virtual items is displayed on the graphical user interface, and the item processing method includes: Responding to a first touch operation for making a first target virtual item in the item bar interface enter the item splitting mode, and controlling the first target virtual item to enter the item splitting mode; Responding to a second touch operation on the first target virtual item, performing item splitting processing corresponding to the second touch operation on the first target virtual item, wherein the second touch operation is a touch operation in which at least one finger moves in a direction away from the target touch point, and the item splitting processing includes: proportional splitting processing or specified quantity splitting processing, and the target touch point is the touch point of the second touch operation; Wherein, the first touch operation and the second touch operation are consecutive operations.
2. The prop processing method according to claim 1, wherein, The first touch operation is a touch operation including at least two fingers.
3. The prop processing method according to claim 2, wherein The step of responding to the second touch operation on the first target virtual item and performing item splitting processing corresponding to the second touch operation on the first target virtual item includes: Responding to a touch operation in which each finger included in the first touch operation moves in a direction away from the target touch point, and splitting the first target virtual item into the same number of portions as the number of fingers according to the equal-amount splitting method according to the number of fingers included in the first touch operation.
4. The prop processing method according to claim 2, wherein The step of responding to the second touch operation on the first target virtual item and performing item splitting processing corresponding to the second touch operation on the first target virtual item includes: Responding to a touch operation in which one finger among each finger included in the first touch operation moves in a direction away from the target touch point, and splitting a specified quantity of virtual items from the first target virtual item.
5. The prop processing method according to claim 1, characterized in that After controlling the first target virtual item to enter the item splitting mode, the item processing method further includes: Displaying a first splitting control including at least one splitting value on the graphical user interface; The step of responding to the second touch operation on the first target virtual item and performing item splitting processing corresponding to the second touch operation on the first target virtual item includes: Responding to a selection operation on a target splitting value among the splitting values, and splitting the first target virtual item into the same number of portions as the target splitting value according to the equal-amount splitting method.
6. The prop processing method according to claim 5, wherein The first touch operation includes a single-finger long-press operation.
7. The prop processing method according to claim 1, wherein After controlling the first target virtual item to enter the item splitting mode, the item processing method further includes: Displaying a second splitting control including at least one first splitting ratio on the graphical user interface; The step of responding to the second touch operation on the first target virtual item and performing item splitting processing corresponding to the second touch operation on the first target virtual item includes: Responding to a selection operation on a first target splitting ratio among the first splitting ratios, and splitting a first target quantity of virtual items from the first target virtual item; The proportion of the first target number of virtual props in the first target virtual props is the first target split ratio.
8. The prop processing method according to claim 7, characterized in that The prop processing method further includes: discarding the first target number of virtual props; or, The virtual props other than the first target number of virtual props in the first target virtual props are discarded.
9. The prop processing method according to claim 1, characterized in that After controlling the first target virtual prop to enter the prop splitting mode, the prop processing method further includes: displaying a third split control including at least one second split ratio on the graphical user interface; In response to the second touch operation performed on the first target virtual prop, performing prop splitting processing corresponding to the second touch operation on the first target virtual prop includes: In response to a selection operation for a second target split ratio in the second split ratio, discarding a second target number of props in the first target virtual props; The proportion of the second target number of virtual props in the first target virtual props is the second target split ratio, or the proportion of the second target number of virtual props in the first target virtual props is the difference between 1 and the second target split ratio.
10. The method according to claim 1, characterized in that, The prop processing method further includes: In response to a third touch operation for causing the second target virtual prop and the third target virtual prop in the inventory interface to enter the prop merging mode, controlling the second target virtual prop and the third target virtual prop to enter the prop merging mode; In response to a fourth touch operation performed on the second target virtual prop and the third target virtual prop, prop merging processing is performed on the second target virtual prop and the third target virtual prop, wherein the third touch operation is a two-finger operation, the third touch operation and the fourth touch operation are continuous operations, and the fourth touch operation is a close-up operation performed by the two fingers included in the third touch operation.
11. A prop processing device in a game, characterized in that A graphical user interface is provided through a terminal device, wherein the graphical user interface displays an inventory interface for storing virtual props, and the prop processing device includes: a first control module configured to respond to a first touch operation for causing a first target virtual item in the inventory interface to enter an item splitting mode, and control the first target virtual item to enter the item splitting mode; a splitting module, configured to respond to a second touch operation performed on the first target virtual prop and perform prop splitting processing on the first target virtual prop corresponding to the second touch operation, wherein the second touch operation is a touch operation of at least one finger moving in a direction away from a target touch point, and the prop splitting processing includes: proportional splitting processing or specified number splitting processing, and the target touch point is the touch point of the second touch operation; The first touch operation and the second touch operation are continuous operations.
12. A computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the steps of the prop processing method described in any one of claims 1 to 10 are implemented.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the prop processing method according to any one of claims 1 to 10 are executed.
Citation Information
Patent Citations
Virtual prop processing method and apparatus, electronic device and storage medium
CN108459811A
Data processing method and device in game and electronic terminal
CN112516583A