Method for operating virtual items and device, equipment, and program thereof

The method and apparatus streamline virtual item operations by allowing users to change quantities through a single slide operation, enhancing efficiency and reducing accidental touches, thus improving the user experience in games.

JP2024542769AActive Publication Date: 2024-11-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2024532933
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-06-24
Filing Date
2023-04-17
Publication Date
2024-11-15
Estimated Expiration
2043-04-17

AI Technical Summary

Technical Problem

Existing methods for operating virtual items in games require complex operations to change their quantities, leading to low efficiency and increased chances of accidental touches.

Method used

A method and apparatus that allows users to dynamically change the quantity of virtual items through a single slide operation, incorporating an item display module, quantity display module, and operation execution module to facilitate seamless selection, adjustment, and execution of operations on virtual items.

Benefits of technology

Enhances operation efficiency by simplifying the process to one slide operation, reducing accidental touches, and improving the continuity and smoothness of selecting and executing operations on virtual items.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024542769000001_ABST
    Figure 2024542769000001_ABST
Patent Text Reader

Abstract

A method for operating a virtual item, and its device, equipment, storage medium, and program product, which belong to the Internet and computer technical fields, are provided. The method includes the steps of: displaying an item column, in which at least one display item of a virtual item is displayed in the item column (210); displaying a quantity selection interface corresponding to a first virtual item in response to a first sliding operation for a display item of a first virtual item among the at least one virtual items (220); dynamically changing a selected quantity of the first virtual item displayed in the quantity selection interface in the process in which the display item of the first virtual item moves with the first sliding operation (230); and performing a first operation on the selected quantity of the first virtual item in response to the release of the first sliding operation (240). The selection of virtual items, the dynamic adjustment of the selected quantity of virtual items, and the execution of the first operation on these virtual items can be realized only by the sliding operation, which is helpful in improving the convenience and efficiency of the operation.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS-REFERENCE TO RELATED APPLICATIONS) This application claims priority to a Chinese patent application filed on June 24, 2022, bearing application number 202210728889.X and entitled "Method for operating virtual items, and apparatus, devices, storage media, and program products thereof," the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the field of Internet and computer technology, and in particular to a method for manipulating virtual items and an apparatus, device, storage medium, and program product thereof. [Background technology]

[0003] In some games, a user can perform corresponding operations on available virtual items to achieve the effect of using or transferring the virtual items.

[0004] In the related technology, when changing the number of virtual items, a user needs to select a virtual item, input a number into the quantity selection interface of the virtual item, or manually drag a slider to determine the selected quantity of the virtual item, and then perform a confirm operation. In response to the confirm operation, the terminal device performs a corresponding operation, such as discarding, combining, purchasing, etc., on the selected quantity of the virtual item.

[0005] However, in the related technology, a user needs to perform complicated operations to change the number of virtual items, resulting in low operational efficiency. Summary of the Invention [Problem to be solved by the invention]

[0006] The present application provides a method for manipulating a virtual item, and an apparatus, device, storage medium, and program product thereof. [Means for solving the problem]

[0007] According to one aspect of an embodiment of the present application, there is provided a method for operating a virtual item, the method being executed by a terminal device, the method comprising: A step of displaying an item section, in which at least one display item of a virtual item is displayed in the item section; displaying a quantity selection interface corresponding to a first virtual item in response to a first sliding operation on a display item of a first virtual item among the at least one virtual item; dynamically changing the selected quantity of the first virtual item displayed in the quantity selection interface during the process in which the display item of the first virtual item moves in accordance with the first sliding operation; and in response to releasing the first sliding operation, performing a first operation on the selected quantity of the first virtual item.

[0008] According to one aspect of an embodiment of the present application, there is provided a virtual item operation device, the device comprising: an item display module; a quantity display module; and an operation execution module; The item display module is configured to display an item space, and the item space displays at least one display item of the virtual item; the quantity display module is configured to display a quantity selection interface corresponding to a first virtual item in response to a first slide operation on a display item of a first virtual item among the at least one virtual item; The quantity display module is further configured to dynamically change the selected quantity of the first virtual item displayed in the quantity selection interface during the process in which the display item of the first virtual item moves in accordance with the first sliding operation; An operation performing module is configured to perform a first operation on the selected quantity of the first virtual item in response to releasing the first sliding operation.

[0009] According to one aspect of an embodiment of the present application, a terminal device is provided having a processor and a memory, a computer program is stored in the memory, and the processor realizes the above-mentioned method of operating a virtual item by loading and executing the computer program.

[0010] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided that stores a computer program that, when loaded and executed by a processor, causes the processor to realize the above-mentioned method of operating a virtual item.

[0011] According to one aspect of an embodiment of the present application, a computer program product is provided that includes a computer program, the computer program being stored in a computer-readable storage medium, and a processor reading and executing the computer program from the computer-readable storage medium to realize the above-mentioned method of operating a virtual item. Effect of the Invention

[0012] The technical solutions according to the embodiments of the present application may include the following beneficial effects:

[0013] By performing a slide operation on the display item of the first virtual item and releasing the slide operation, the selected quantity of the first virtual item can be dynamically determined, and the first operation can be performed on the selected quantity of the first virtual item. On the one hand, in the embodiment of the present application, the selection of the virtual item, the adjustment of the selected quantity, and the triggering of the first operation can be realized with only one slide operation, and the corresponding operation (e.g., discarding some virtual items) can be performed on some virtual items with only one step operation, which fully improves the convenience of the operation. On the other hand, the embodiment of the present application can improve the continuity between the process of determining the selected quantity and the execution of the first operation, and improve the smoothness of the process of performing the first operation on the selected quantity of the first virtual item. On the other hand, compared with the complicated operation in the related art, the embodiment of the present application only needs to perform one slide operation, which simplifies the operation, thereby improving the operation efficiency, and only one slide operation needs to be performed, which helps to reduce the probability of problems such as erroneous touches and improve the success rate of the operation. [Brief description of the drawings]

[0014] [Figure 1] 1 is a schematic diagram of an implementation environment of the solution according to one exemplary embodiment of the present application; [Diagram 2] 1 is a flowchart of a method for manipulating a virtual item according to one exemplary embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram of a method for displaying item columns according to an exemplary embodiment of the present application; [Figure 4] 2 is a schematic diagram of a control movement direction according to one exemplary embodiment of the present application; [Diagram 5] FIG. 2 is a schematic diagram of a change in the display position of a slider according to an exemplary embodiment of the present application; [Figure 6] FIG. 2 is a schematic diagram of a method for displaying a quantity selection interface according to an exemplary embodiment of the present application; [Figure 7] FIG. 2 is a schematic diagram of a method for determining a selected quantity according to an exemplary embodiment of the present application. [Figure 8]FIG. 2 is a schematic diagram of discarding a first virtual item according to one exemplary embodiment of the present application. [Figure 9] FIG. 13 is a schematic diagram of a second sliding operation according to an exemplary embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram of a method for manipulating a virtual item according to another exemplary embodiment of the present application. [Figure 11] FIG. 2 is a block diagram of a virtual item manipulation device according to one exemplary embodiment of the present application. [Figure 12] FIG. 2 is a block diagram of the structure of a terminal device according to an exemplary embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] In order to make the objectives, technical solutions and advantages of the present application clearer, the following describes the embodiments of the present application in more detail with reference to the drawings.

[0016] 1 is a schematic diagram of an implementation environment of a solution according to an exemplary embodiment of the present application. The implementation environment of the solution may be implemented as a computer system, such as a game application system. The implementation environment of the solution may include a terminal device 10 and a server 20.

[0017] The terminal device 10 may be an electronic device such as a mobile phone, a tablet computer, a personal computer (PC), a game machine, a multimedia playback device, a wearable device, a smart voice dialogue device, a smart home appliance, an in-vehicle terminal, a smart robot, etc. In one example, a target application is installed and executed in the terminal device 10, and the target application may be a game application, a shopping application, a simulated learning application, a live application, a social entertainment application, etc. In some embodiments, the game application may include a first person shooting (FPS) game, an adventure game (ATG), an action game (ACT), a simulation game (SLG), etc.

[0018] For example, take the target application as a first-person shooter application, the target application provides the user with at least one virtual item, which is used to affect attributes of a first virtual object controlled by the user or affect attributes of a second virtual object not controlled by the user in the target application, such as a virtual attacking tool, a virtual vehicle, a virtual defensive tool, a buffing tool, etc. Optionally, the user can perform corresponding operations on the virtual tools, such as discarding, combining, picking up, buying, selling, etc.

[0019] The server 20 can provide back-end services for the target application executed on the terminal device 10, for example, the server 20 may be a back-end server of the target application. The server 20 may be an independent physical server, a server cluster or a distributed system configured by multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communications, domain name services, artificial intelligence platforms, etc. Optionally, the server 20 at least has functions of transmitting and receiving data, storing and computing.

[0020] The terminal device 10 and the server 20 can communicate with each other via a network, which may be a wired network or a wireless network.

[0021] In some embodiments, taking a game application as an example, the server 20 can be configured to provide game data to the game application executed on the terminal device 10, for example, the server 20 can provide game data such as virtual items, placement positions and quantities of the virtual items in a virtual environment to the game application. The game application places a corresponding number of virtual items at corresponding positions in the virtual environment respectively based on the game data provided by the server 20, and when the distance between a first virtual object controlled by a user and a certain virtual item satisfies a display distance, the game application displays the virtual item in the virtual environment.

[0022] 2 is a flowchart of a method for operating a virtual item according to an exemplary embodiment of the present application. Exemplarily, an execution subject of the method may be a terminal device 10 in the implementation environment of the solution shown in FIG. 1, for example, the execution subject may be a client of a target application executed on the terminal device 10. As shown in FIG. 2, the method may include several steps (210 to 240) as follows:

[0023] In step 210, an item section is displayed, and at least one display item of a virtual item is displayed in the item section.

[0024] The virtual item may be an item provided to a user account for use when a client of a target application is executed on a terminal device, and the virtual item may be a pseudo item of a real item, a semi-simulated or semi-fictional item, or a completely fictional item, and the present application is not limited thereto. For example, the virtual item may be used in a virtual environment, and the virtual environment may be an environment displayed (or provided) when a client of a target application is executed on a terminal device, and the virtual environment refers to an environment constructed for the activity of a virtual object (e.g., a game match), and may be, for example, a virtual building, a virtual island, a virtual sky, a virtual land, etc.

[0025] In some embodiments, the virtual item can affect the attribute information of at least one virtual object in the virtual environment. For example, in a fighting game, if the virtual item is an attacking tool, it can be used to reduce the health points of the virtual object in the virtual environment. In another example, if the virtual item is an auxiliary tool, it can be used to increase the state (e.g., health points, movement speed, viewing range, etc.) of the virtual object. In some other embodiments, the virtual item can affect the virtual environment. For example, if the virtual item is a building material, it can be used to build a new structure in the virtual environment. Note that the type and action of the virtual item can be determined according to actual needs, and the present application is not limited here.

[0026] The item column is used to store or display at least one virtual item. In some embodiments, at least one display item of the virtual item is displayed in the item column. A display item of a certain virtual item is used to display information related to the virtual item of the type. Exemplarily, the display item of the virtual item displays at least one of identification mark information of the virtual item, the total number of the virtual items, and a usage instruction of the virtual item. The embodiment of the present application is not limited to the style of the item column, and may be a backpack style, a shelf style, a list style, etc. The embodiment of the present application is also not limited to the style of the display item of the virtual item, and may be a combination style of graphics and text, an image style, a text style, etc. Optionally, for the display items of two different virtual items in the item column, their display sizes may be the same or different.

[0027] In some embodiments, the identification mark information of the virtual item is used to identify the type of virtual item, and a user can quickly find the display position of the type of virtual item in the item list based on the display item of the virtual item, where the identification mark information of the virtual item may be at least one of the name of the virtual item, the icon of the virtual item, and the label of the virtual item.

[0028] In some embodiments, the total number of virtual items may refer to the number of virtual items owned by the virtual object, i.e., the maximum number of virtual items of the type that the user can currently use. Exemplarily, the item field displays display items of available virtual items, and the total number of available virtual items may be 1 or more, that is, the item field displays only virtual items that the user can control in the current game progress. For example, the item field can be used to display virtual items stored in a virtual backpack held by a virtual object, and the virtual backpack can include all virtual items currently owned by the virtual object, and when a user opens the virtual backpack, the client displays an item field corresponding to the virtual backpack, and the item field displays display items of all virtual items in the virtual backpack in the form of a list. The item field displays display items of available virtual items, and by reducing the display of invalid information, it helps to speed up the speed at which a user determines a virtual item to be searched for from the item field.

[0029] In some embodiments, the total number of virtual items can be changed. Illustratively, the total number of virtual items can be decreased in response to consumption operations associated with the type of virtual items. For example, the consumption operations can include at least one of a transfer operation on a virtual item, a use operation on a virtual item, a combine operation on a virtual item, and the like.

[0030] Here, the transfer operation for the virtual items may refer to dumping a certain number of virtual items into the virtual environment, for example, dumping n virtual items A from the item list into the virtual environment, where n is a positive integer, or the transfer operation for the virtual items may refer to transferring a certain number of virtual items to another virtual object in the virtual environment, for example, transferring m virtual items B from the item list into the virtual backpack of another virtual object, where m is a positive integer.

[0031] Optionally, a transfer operation on a virtual item does not change the attributes of the virtual item, for example, a virtual item C is dropped in the virtual environment by a user, and the virtual item C can still be used after being picked up by another virtual object.

[0032] In some embodiments, a use operation on a virtual item may refer to an operation of acting on the virtual item. For example, a virtual item is used to increase the health points of a virtual object, which may be any one virtual object in the virtual environment that is within the effect range of the virtual item. After using b virtual items of a certain type on a virtual object, the health points of the virtual object are increased and the total number of virtual items of the certain type is decreased by b, where b is a positive integer.

[0033] In some embodiments, the total number of virtual items increases in response to an acquisition action associated with the virtual item. For example, in an FPS game, the acquisition action may include at least one of picking up a virtual item of the type in the virtual environment, transferring other virtual objects in a game play, and receiving a corresponding reward after completing a task, etc. In another example, in a SIM game, the acquisition action may include at least one of a manufacturing action for the virtual item of the type, picking up a virtual item of the type in the virtual environment, transferring other virtual objects in a game play, etc.

[0034] 3 is a schematic diagram of a method of displaying an item column according to one exemplary embodiment of the present application. In FIG. 3, an item column 310 is displayed on an edge of a display interface 300, and display items corresponding to eight virtual items are displayed in the item column 310. Here, a display item 312 is used to indicate a virtual item "drink", and the name of the virtual item ("Item 4"), an icon 314 of the virtual item, and the total number of the virtual items ("2") are displayed in the display item 312.

[0035] In step 220, in response to a first sliding operation on a display item of a first virtual item of the at least one virtual item, a quantity selection interface corresponding to the first virtual item is displayed.

[0036] The above-mentioned first virtual item may refer to one or more virtual items whose display items are displayed in the item section, and the first virtual item in the embodiment of the present application is also called a target virtual item, and indicates any one or more of at least one virtual item. For example, the item section displays a display item of virtual item 1, a display item of virtual item 2, a display item of virtual item 3, and a display item of virtual item 4, respectively, and in this case, the first virtual item may refer to any one or more of virtual item 1, virtual item 2, virtual item 3, and virtual item 4, for example, the first virtual item is virtual item 1. In another example, the first virtual item may include virtual item 2 and virtual item 4, and the present application is not limited thereto.

[0037] In some embodiments, the terminal device determines at least one display item of the virtual item from the item column in response to a selection operation of the display item. The selection operation of the display item may include a click operation, a slide operation, a button press operation, etc. Optionally, the selection operation of the display item may be triggered by a user via a display of the terminal device, or may be triggered by an external controller connected to the terminal device, such as a mouse, a keyboard, or a steering wheel.

[0038] In some embodiments, the first sliding operation refers to a sliding operation triggered within the display area of ​​the display item of the first virtual item. For example, the first sliding operation may be a sliding operation along a specific sliding direction, for example, a leftward sliding operation of a finger on the display item of the first virtual item.

[0039] In some embodiments, the quantity selection interface corresponding to the first virtual item is used to display a selected quantity of the first virtual item, and the selected quantity of the first virtual item refers to the quantity of the first virtual object selected by the user. Optionally, the quantity selection interface corresponding to the first virtual item displays at least one of a number and a ratio mark to represent the selected quantity of the first virtual item. The selected quantity of the first virtual item displayed in the quantity selection interface is equal to or greater than 0 and equal to or less than the total number of the first virtual items. When the total number of the first virtual items is greater than 1, the selected quantity of the first virtual item changes with the moving process of the first sliding operation.

[0040] To facilitate the user to control the distance of the first sliding operation, a quantity selection interface corresponding to the first virtual item and an item field can be simultaneously displayed on the user interface, and in this way, the user can adjust the first sliding operation based on a change in the selected quantity in the quantity selection interface, for example, changing the selected quantity by adjusting the sliding distance of the first sliding operation.

[0041] In some embodiments, the display position of the quantity selection interface corresponding to the first virtual item does not overlap with the display position of the item section.

[0042] For example, an item column is displayed in a right region of the user interface, a quantity selection interface corresponding to a first virtual item is displayed in a central region of the user interface, and a minimum distance between a boundary of the quantity selection interface corresponding to the first virtual item and a boundary of the item column is less than or equal to i pixels, where i is a natural number.

[0043] In another example, a list of items is displayed in a first area in a user interface, a quantity selection interface corresponding to a first virtual item is displayed in a second area below the first area, and a minimum distance between the first area and the second area is greater than or equal to j pixels, where j is a natural number.

[0044] In some other embodiments, the display position of the quantity selection interface corresponding to the first virtual item overlaps with the display position of the item column in the user interface. Optionally, the quantity selection interface corresponding to the first virtual item is displayed around the display item of the first virtual item. For example, the quantity selection interface corresponding to the first virtual item is displayed at the bottom of the display item of the first virtual item, and the quantity selection interface corresponding to the first virtual item temporarily covers (e.g., completely covers or semi-transparently covers) some of the other display items around the display item of the first virtual item.

[0045] In addition, the display area of ​​the quantity selection interface of the first virtual item can be set according to the actual situation, and the present application is not limited thereto.

[0046] In step 230, during the process in which the display item of the first virtual item moves with the first sliding operation, the selected quantity of the first virtual item displayed on the quantity selection interface is dynamically changed.

[0047] In an embodiment of the present application, the display item of the virtual item can move in conjunction with the slide operation, thus allowing the user to intuitively feel the effect of the slide operation, thereby improving the accuracy of the user's control over the slide operation.

[0048] Optionally, the selected quantity of the first virtual item may change in correlation with the sliding distance of the first sliding operation, for example, as the sliding distance of the first sliding operation increases, the value of the selected quantity of the first virtual item also increases, or as the sliding distance of the first sliding operation increases, the value of the selected quantity of the first virtual item also decreases. The display item of the first virtual item may change in correlation with the sliding distance of the first sliding operation, for example, as the sliding distance of the first sliding operation increases, the position movement value of the display item of the first virtual item also increases.

[0049] In some embodiments, in response to a first sliding operation on a display item of the first virtual item, the client displays an initial selected quantity of the first virtual item in a quantity selection interface corresponding to the first virtual item, and in the process of the display item of the first virtual item moving in accordance with the first sliding operation, the client changes the initial selected quantity and determines a value of the changed selected quantity corresponding to the first virtual item based on the first sliding operation.

[0050] For example, the initial selected quantity of the first virtual item is 0, and in the process of the display item of the first virtual item moving with the first slide operation, the value of the selected quantity of the first virtual item displayed in the quantity selection interface continues to increase until the selected quantity of the first virtual item becomes equal to the total number of the first virtual item.

[0051] In another example, the initial selected quantity of the first virtual item is the total number of the first virtual item, and the client displays the initial selected quantity of the first virtual item on the quantity selection interface in response to a first sliding operation on the display item of the first virtual item, and in the process of the display item of the first virtual item moving with the first sliding operation, the selected quantity of the first virtual item displayed on the quantity display interface continues to decrease until the value of the selected quantity of the first virtual item is equal to x, where x=0, 1. The specific content of this process is referred to the following embodiment and will not be described in detail here.

[0052] At step 240, in response to releasing the first sliding action, a first action is performed on the selected quantity of the first virtual item.

[0053] The release of the first sliding operation refers to the end of the first sliding operation. For example, when the user stops sliding and controls the finger (or the touch screen device) to move away from the display of the terminal device, the terminal device no longer receives information related to the first sliding operation. In some embodiments, when the terminal device detects that the finger that triggered the first sliding operation has been moved away from the screen of the terminal device (for example, the pressure of the contact point between the first sliding operation and the terminal device is less than the pressure threshold), the terminal device can identify the release of the first sliding operation. Or, when the terminal device detects that the finger that triggered the first sliding operation has been moved away from the screen of the terminal device, the terminal device can identify the release of the first sliding operation.

[0054] In some embodiments, the first operation refers to an operation that can be performed on the virtual items in a game. Exemplarily, the first operation may include at least one of: dropping the selected quantity of the first virtual items into the virtual environment, transferring the selected quantity of the first virtual items to other virtual objects, using the selected quantity of the first virtual items all at once, etc., and the present application is not limited thereto.

[0055] Optionally, the first operation can change the total number of the first virtual item. For example, if the selected quantity of the first virtual item is 3 and the total number of the first virtual item is 5, after the terminal device performs the first operation on the selected quantity of the first virtual item, the total number of the first virtual item becomes 2 (the calculation method is 5-3).

[0056] In summary, the technical solution according to the embodiment of the present application can dynamically determine the selected quantity of the first virtual item by performing a slide operation on the display item of the first virtual item and releasing the slide operation, and can perform the first operation on the selected quantity of the first virtual item. On the one hand, the embodiment of the present application can realize the selection of the virtual item, the adjustment of the selected quantity, and the triggering of the first operation with only one slide operation, and can perform the corresponding operation (e.g., discarding some virtual items) on some virtual items with only one step operation, which fully improves the convenience of the operation. On the other hand, the embodiment of the present application can improve the continuity between the process of determining the selected quantity and the execution of the first operation, and can improve the smoothness of the process of performing the first operation on the selected quantity of the first virtual item. On the other hand, compared with the complicated operation in the related art, the embodiment of the present application only needs to perform one slide operation, which simplifies the operation, thereby improving the operation efficiency, and only one slide operation needs to be performed, which helps to reduce the probability of problems such as erroneous touching and improve the success rate of the operation.

[0057] In the following, a process of dynamically changing the selected quantity of the first virtual item will be introduced and described through several embodiments.

[0058] In some embodiments, the quantity selection interface displays a slide bar and a slider located on the slide bar, and the display position of the slider on the slide bar is used to display a proportional relationship between the selected quantity of the first virtual item and the total number of the first virtual items. The step of the terminal device dynamically changing the selected quantity of the first virtual item displayed on the quantity selection interface during the process in which the display item of the first virtual item moves with the first slide operation includes: the terminal device determining the selected quantity of the first virtual item based on the sliding distance of the first slide operation during the process in which the display item of the first virtual item moves with the first slide operation; and the terminal device dynamically changing the display position of the slider on the slide bar in response to the change in the selected quantity of the first virtual item, to display the proportional relationship between the selected quantity of the first virtual item and the total number of the first virtual items.

[0059] Here, the slider on the slide bar can be moved to any position on the slide bar. For different positions of the slider on the slide bar, the selected quantity of the corresponding first virtual item is not exactly the same. By showing the correspondence between the selected quantity and the first slide operation by the slide bar and the slider, it can allow the user to adjust the selected quantity of the first virtual item more intuitively, and further helps to improve the accuracy of the operation.

[0060] In some embodiments, there is consistency between the sliding operation of the slider in the slide bar and the sliding direction of the first slide operation, that is, there is also consistency between the distribution direction of the slide bar in the quantity selection interface and the sliding direction of the first slide operation. For example, when the sliding direction of the first slide operation is horizontal, the slide bar is displayed horizontally in the quantity selection interface. For example, when the sliding direction of the first slide operation is vertical, the slide bar is displayed vertically in the quantity selection interface. By supporting the movement direction of the slider in the slide bar to match the sliding direction of the first slide operation and the distribution direction of the slide bar to match the sliding direction of the first slide operation, the user can intuitively sense the effect of the first slide operation on the selected quantity, and the accuracy of the operation can be further improved.

[0061] The slide distance of the first slide operation refers to the movement distance in the slide direction of the first slide operation, and the movement distance can be calculated based on the coordinates of the current contact point corresponding to the first slide operation and the coordinates of the initial contact point of the first slide operation.

[0062] In some embodiments, the selected quantity of the first virtual item is directly proportional to the sliding distance of the first sliding operation, i.e., the selected quantity of the first virtual item increases as the sliding distance of the first sliding operation increases until the selected quantity of the first virtual item is equal to the total number of the first virtual items, or the selected quantity of the first virtual item decreases as the sliding distance of the first sliding operation decreases until the selected quantity of the first virtual item is equal to 0 or 1.

[0063] In some embodiments, the selected quantity of the first virtual item is inversely proportional to the sliding distance of the first sliding operation, i.e., the selected quantity of the first virtual item decreases as the sliding distance of the first sliding operation increases until the selected quantity of the first virtual item is equal to 0 or 1, or the selected quantity of the first virtual item increases as the sliding distance of the first sliding operation decreases until the selected quantity of the first virtual item is equal to the total number of the first virtual items.

[0064] In some embodiments, the terminal device determines the selected quantity of the first virtual item based on the sliding distance of the first sliding operation or the moving distance of the display item of the first virtual item. Here, the moving distance of the display item of the first virtual item refers to the distance the display item of the first virtual item moves with the first sliding operation, and the moving distance of the display item of the first virtual item can be calculated based on the current position of the display item of the first virtual item and the initial position of the display item of the first virtual item. In some embodiments, if the sliding distance of the first sliding operation is equal to or greater than the moving distance of the display item of the first virtual item, the degree of movement of the display item of the first virtual item can be determined by decreasing the sliding degree of the first sliding operation at the same rate.

[0065] In some embodiments, in the process of the display item of the first virtual item moving in response to the first slide operation, in order to avoid other display content being obscured by the movement of the display item of the first virtual item, the terminal device cancels the display of the portion of the display item of the first virtual item that exceeds the item column.

[0066] In some embodiments, the terminal device moves the display item of the first virtual item in accordance with the first sliding operation by setting a movement control at the display position of the display item of the first virtual item.

[0067] Exemplarily, the movement control may be determined based on a complete display item, and the complete display item may determine the style and initial display position of the movement control. Optionally, the movable direction of the movement control is related to the sliding direction of the first sliding operation. For example, the movable direction of the movement control is consistent with the sliding direction of the first sliding operation. In some embodiments, the movement of the movement control is limited by a movement range, and the movement control can only be moved within the movement range, for example, the movement range of the movement control is the same as the display area of ​​the display item of the first virtual item, i.e., the complete display area of ​​the display item is the movement range of the movement control.

[0068] As an example, Fig. 4 is a schematic diagram of the movement direction of a control according to one exemplary embodiment of the present application. In Fig. 4, the movement direction of the movement control corresponding to the display item 420 of the first virtual item in the item column 410 is horizontal, and the movement control corresponding to the display item 420 of the first virtual item moves within a movement range 430, which is the complete display area of ​​the display item 420. In the process of the display item 420 of the first virtual item moving with the first sliding operation, the terminal device cancels the display of the part 422 of the display item 420 of the first virtual item that exceeds the item column 410.

[0069] In some embodiments, the step of the terminal device determining a selected quantity of the first virtual item based on the slide distance of the first slide operation includes the step of the terminal device obtaining a ratio between the slide distance of the first slide operation and a predetermined maximum slide distance, and the step of the terminal device determining a selected quantity of the first virtual item based on the ratio and the total number of the first virtual items.

[0070] Here, the predetermined maximum sliding distance refers to the maximum sliding distance that can be reached by the first sliding operation, and the predetermined maximum sliding distance is equal to or smaller than the display size of the user interface. In order to reduce the obstruction of the screen displayed on the user interface by the user's finger during the process of performing the first sliding operation and to shorten the time it takes for the user to determine the selected quantity of the first virtual item by the first sliding operation, the predetermined maximum sliding distance is usually smaller than the display size of the user interface. Optionally, the predetermined maximum sliding distance is preset, for example, the predetermined maximum sliding distance is related to the display size of the user interface.

[0071] In some embodiments, the predetermined maximum slide distance is related to the display size of the display item of the first virtual item. For example, if the display item of the first virtual item is a rectangle and the long side includes k pixels, the predetermined maximum slide distance is equal to k pixels, where k is a positive integer. By setting the predetermined maximum slide distance, the effective range of the first slide operation is limited, and the first slide operation performed by the user is limited within the predetermined maximum slide distance, which is helpful in avoiding erroneous touching of other controls during the first slide operation.

[0072] For example, if the sliding distance of the first sliding operation is 20 pixels and the predetermined maximum sliding distance is 50 pixels, the ratio between the sliding distance of the first sliding operation calculated by the terminal device and the predetermined maximum sliding distance is equal to 0.4.

[0073] In some embodiments, the terminal device determines the selected quantity of the first virtual item by calculating the product of the above ratio and the total number of the first virtual items. For example, assuming that the calculated ratio is 0.7 and the total number of the first virtual items is 10, the selected quantity of the first virtual items is 0.7*10=7. If the selected quantity of the first virtual items is a natural number and the product of the ratio and the total number of the first virtual items has a decimal point, an integer operation needs to be performed on the product of the multiplication. The integer operation may be a rounding up operation, for example, rounding up 1.4 to 2, and the integer operation may be a rounding down operation, for example, rounding down 1.4 to 1. Assuming that the total number of a certain first virtual item is 6, when the ratio is equal to 0.6 in the process of sliding the slider with the first sliding operation, the selected quantity of the first virtual items is 0.6*6=3.6, which can be rounded up to 4.

[0074] In some embodiments, in the process of the display item of the first virtual item moving with the first sliding operation, the terminal device can update and calculate the selected quantity of the first virtual item at a certain time interval. For example, the terminal device recalculates the selected quantity of the first virtual item every 0.2 seconds. During the first sliding operation, the slider also performs a corresponding sliding operation on the slide bar, indicating that the selected quantity of the first virtual item is constantly changing.

[0075] For example, when the sliding direction of the first sliding operation is from left to right, the movement direction of the slider on the slide bar is also from left to right. In another example, when the sliding direction of the first sliding operation is from top to bottom, the movement direction of the slider on the slide bar is also from top to bottom.

[0076] As an example, Figure 5 is a schematic diagram of the change in the display position of a slider according to one exemplary embodiment of the present application. In the display screen 500, the terminal device displays a quantity selection interface 512 corresponding to the first virtual item in response to a first sliding operation on a display item 510 of a first virtual item, and a slider 514 in the quantity selection interface 512 is displayed at the right end of a slide bar 516, in this case, the selected quantity of the first virtual item is 0. As the sliding distance of the first sliding operation continues to increase, the slider 514 and the display item 510 begin to change. As the first sliding operation proceeds, the terminal device displays in the quantity selection interface 512 that the slider 514 moves left along the slide bar 516 and the display item 510 moves left, in this case, the selected quantity of the first virtual item is changed from 0 to 51.

[0077] It can be understood from the above that the display item of the first virtual item can move with the first sliding operation, so in some embodiments, the moving direction of the slider on the slide bar, the sliding direction of the first sliding operation, and the moving direction of the display item of the first virtual item are the same. For example, when the sliding direction of the first sliding operation is from left to right, the moving direction of the slider on the slide bar is from left to right, and the moving direction of the display item of the first virtual item is also from left to right.

[0078] Through the above method, the user can quickly determine the selected quantity of the first virtual item through the first sliding operation, which helps to simplify the operations that the user needs to perform to perform the first operation on the selected quantity of the first virtual item, makes the process of the user performing operations on the virtual items in the item column during the game smoother, and helps to improve the user's gaming experience.

[0079] The following will introduce and explain the process of displaying the quantity selection interface through several embodiments.

[0080] In some embodiments, the step of displaying a quantity selection interface corresponding to the first virtual item by the terminal device in response to a first slide operation on a display item of a first virtual item among the at least one virtual item includes the steps of: controlling the terminal device to move the display item of the first virtual item in response to the first slide operation on the display item of the first virtual item in accordance with the first slide operation; and displaying the quantity selection interface corresponding to the first virtual item by the terminal device when the moving distance of the display item of the first virtual item reaches a first threshold. By displaying the quantity selection interface after the first slide operation satisfies a condition, it is possible to avoid displaying a meaningless quantity selection interface due to a user's erroneous operation, thereby ensuring the user experience.

[0081] Optionally, the moving direction of the display item of the first virtual item coincides with the sliding direction of the first sliding operation. For example, when the sliding direction of the first sliding operation is from right to left, the moving direction of the display item of the first virtual item is also from right to left.

[0082] The moving process of the display item of the first virtual item displayed in the user interface is matched with the sliding process of the first sliding operation, and the moving speed of the display item of the first virtual item is correlated with the sliding speed of the first sliding operation so that the moving process of the display item of the first virtual item can be used as a reference for the sliding distance that the first sliding operation needs to reach. Illustratively, the moving speed of the display item of the first virtual item is equal to the sliding speed of the first sliding operation.

[0083] The terminal device controls the moving speed of the display item of the first virtual item based on the sliding speed of the first sliding operation, and matches the movement of the display item of the first virtual item with the sliding process of the first sliding operation. In the process of performing the first sliding operation, the terminal device can display a corresponding screen, which facilitates the user to obtain feedback information corresponding to the first sliding operation (the moving process of the display item of the first virtual item), and makes the first sliding operation more interactive.

[0084] In some embodiments, when the sliding distance of the first sliding operation is less than or equal to a first threshold, the terminal device controls the display item of the first virtual item to move in accordance with the first sliding operation, and at the same time, gradually moves and displays the presentation information to the export position of the display item of the first virtual item, where the presentation information is used to inform the user that the first sliding operation is invalid when the sliding distance is less than or equal to the first threshold, i.e., has no effect on the user interface.

[0085] In some embodiments, the method for canceling the first sliding operation is related to the sliding direction of the first sliding operation. Exemplarily, the method for canceling the first sliding operation is to change the sliding direction of the first sliding operation. For example, when the sliding direction of the first sliding operation is from right to left, the method for canceling the first sliding operation may be to adjust the sliding direction of the first sliding operation to slide from left to right, to adjust the sliding direction of the first sliding operation downward, or to adjust the sliding direction of the first sliding operation upward, etc.

[0086] When the quantity selection interface corresponding to the first virtual item is not displayed, the terminal device repeatedly determines whether the slide distance of the current first slide operation is equal to or greater than a first threshold according to the movement of the first slide operation, and when the slide distance of the first slide operation is smaller than the first threshold, the terminal device monitors the magnitude relationship between the slide distance of the first slide operation and the first threshold, and when the first slide operation is equal to or greater than the first threshold, the terminal device displays the quantity selection interface corresponding to the first virtual item.

[0087] In some embodiments, the first threshold is equal to or less than the length of the display item of the first virtual item. For example, when the length of the display item of the first virtual item is 300 pixels, the first threshold may be 45 pixels, 60 pixels, 80 pixels, etc. The value of the above first threshold can be determined according to the actual situation such as the display length of the display item of the first virtual item, and the present application is not limited thereto.

[0088] In some embodiments, the quantity selection interface is further used to display a status in which the selected quantity of the first virtual item changes with the first sliding operation, for example, during the first sliding operation, the quantity selection interface dynamically adjusts and displays the value of the selected quantity of the first virtual item.

[0089] As an example, FIG. 6 is a schematic diagram of a method for displaying a quantity selection interface according to one exemplary embodiment of the present application. In FIG. 6, an item column 610 is displayed in the display interface 600, and a user can determine a display item 612 of a first virtual item by a first sliding operation and move the display item 612 of the first virtual item (the sliding direction of the first sliding operation in FIG. 6 is sliding horizontally to the left). In response to the first sliding operation, the terminal device displays a quantity selection interface 620 when the sliding distance of the first sliding operation is equal to or greater than a first threshold. A slide bar 622 and a slider 624 on the slide bar 622 are displayed in the quantity selection interface 620. The quantity selection interface 620 further displays the name of the first virtual item (item 5) and the selected quantity of the first virtual item ("0"). The quantity selection interface 620 further displays a suggestion for an operation to be performed on the selected quantity of the first virtual item, “DISCHARGE,” indicating that the first sliding operation is used to discard the selected quantity of the first virtual item into the virtual environment.

[0090] By configuring the slider to move with the first sliding operation, the user does not need to manually adjust the position of the slider on the slide bar after displaying the quantity selection interface, reducing the operations that need to be performed to perform the first operation on the selected quantity of the first virtual item, helping to simplify user operations and improve the smoothness of the operation of discarding some of the virtual items.

[0091] In some embodiments, in addition to the slide bar and the slider, the quantity selection interface further displays at least one of the total number of the first virtual item, the selected quantity of the first virtual item corresponding to the position of the slider on the slide bar, and operation presentation information. Optionally, after displaying the quantity selection interface corresponding to the first virtual item, the slider on the quantity selection interface starts to move on the slide bar with the first slide operation. When the user causes the selected quantity of the first virtual item to reach an expected quantity through the first slide operation, the user stops the first slide operation. When the terminal device detects the release of the first slide operation, the terminal device performs the first operation on the selected quantity of the first virtual item.

[0092] In some embodiments, when the sliding distance of the first sliding operation is greater than the first threshold and less than the second threshold, the terminal device determines the selected quantity of the first virtual item based on the sliding distance of the first sliding operation and the total number of the first virtual items. When the sliding distance of the first sliding operation is equal to or greater than the second threshold, the terminal device determines the total number of the first virtual items as the selected quantity of the first virtual items.

[0093] Here, the first threshold is smaller than the second threshold. The first threshold and the second threshold may be preset, for example, the second threshold is equal to the long side size of the display item of the first virtual item, and the first threshold is equal to one-fifth of the second threshold. The specific setting method of the first threshold and the second threshold is determined according to actual information, and is not set here in this application.

[0094] As an example, Figure 7 is a schematic diagram of a method for determining a selected quantity according to one exemplary embodiment of the present application. If the sliding distance of the first sliding operation is equal to or greater than a second threshold, the display of the display item 710 of the first virtual item is completely canceled, and in the quantity selection interface 720, the slider 722 is slid to the left end of the slide bar 724, in which case the selected quantity of the first virtual item is equal to the total number of the first virtual item.

[0095] By performing a first sliding operation on the display item of the first virtual item, a dynamic change of the selected quantity of the first virtual item from 0 to the total number of the first virtual items is realized based on the distance of the first sliding operation, making the method of determining the selected quantity of the first virtual item simpler.

[0096] In some embodiments, the step of the terminal device performing the first operation on the selected quantity of the first virtual item includes the step of the terminal device discarding the selected quantity of the first virtual item, thereby realizing the quick discarding of a portion of the virtual item only through an interaction operation, thereby improving the efficiency and convenience of discarding a portion of the virtual item.

[0097] Discarding a selected quantity of the first virtual item can be understood as discarding a selected quantity of the first virtual item into the virtual environment, where the discarded first virtual item cannot be directly used by the user.

[0098] Optionally, when the selected quantity of the first virtual item is discarded, the display item of the first virtual item in the item section is changed. In some embodiments, after the terminal device discards the selected quantity of the first virtual item, if the selected quantity of the first virtual item is smaller than the total number of the first virtual items, the total number of the first virtual items displayed in the display item of the first virtual item in the item section is changed, and the total number of virtual items after the change = the total number of the first virtual items in the item section - the selected quantity of the first virtual items. If the selected quantity of the first virtual items is equal to the total number of the first virtual items, the display of the display item of the first virtual item in the item section is canceled, or the display item of the first virtual item is adjusted to an unavailable state (e.g., the display column of the first virtual item is set to gray).

[0099] As an example, Fig. 8 is a schematic diagram of discarding a first virtual item according to one exemplary embodiment of the present application. In Fig. 8, the terminal device displays a quantity selection interface 812 on the display interface 800 in response to a first sliding operation on a display item 810 of the first virtual item, and determines a selected quantity of the first virtual item based on the first sliding operation. The selected quantity of the first virtual item currently displayed in the quantity selection interface 812 is 51, and the total number of the first virtual items displayed in the display item 810 of the first virtual item is 150. In response to the release of the first sliding operation, the terminal device discards the selected quantity of the first virtual item and cancels the display of the quantity selection interface 812, and then the selected quantity of the first virtual item is displayed in the virtual environment and the virtual object is visible, for example, the terminal device displays presentation information 820 on the virtual object, and the presentation information 820 is used to indicate that the selected quantity of the first virtual item exists in the virtual environment. After discarding the selected quantity of the first virtual item, the total number of the first virtual item displayed in the display item 810 of the first virtual item is changed to 99.

[0100] In some embodiments, a user can control a virtual object to move in a virtual environment, and during the movement, the virtual object can carry a certain number of virtual items. The item field is used to display a display item of the virtual item carried by the virtual object. Optionally, to improve the realism of the game mechanics, a maximum weight or space volume of the virtual props carried by the virtual object is set. After discarding a selected number of virtual items, the weight or volume of the virtual items carried by the virtual object is changed. The virtual backpack can be limited by setting a maximum number or maximum volume of virtual props that the virtual object can carry. In some embodiments, the weight or capacity limits of different types of virtual backpacks are not exactly the same. The item field is used to display a display item of the virtual items stored in the virtual backpack.

[0101] In some embodiments, when the first virtual item has an associated virtual item, the terminal device can further discard the associated virtual item of the first virtual item, where the associated virtual item of the first virtual item refers to a virtual item that can be used in combination with the first virtual item.

[0102] Optionally, the related virtual item and the first virtual item can be used in a superimposed manner, thereby improving the effect of using the first virtual item. For example, if the first virtual item is an attack tool and the related virtual item is an enhancement potion, the attack attribute of the first virtual item can be improved by using the two items in a superimposed manner.

[0103] Optionally, the first virtual item and the related virtual item can be used together to achieve a different usage effect than using the first virtual item or the related virtual items individually, for example, the first virtual item can be used to increase the health points of a virtual object and the related virtual item can be used to increase the moving speed of the virtual item, and the first virtual item and the related virtual item can be used together to increase the weight limit of the virtual item carried by the virtual object in addition to increasing the health points of the virtual object and increasing the moving speed of the virtual object.

[0104] In some embodiments, when a user decides to discard the first virtual item because the related virtual item cannot be used separately or cannot achieve a better effect than when used separately but in combination with the first virtual item, the use value of the related item in the item list is reduced. Therefore, when the user discards the first virtual item, the client automatically discards the related virtual object, which helps to reduce the user's selection and discarding operations for the related virtual item, simplifies the user's operations, and has the effect of quickly organizing the virtual backpack.

[0105] In some embodiments, the step of the terminal device discarding the associated virtual item of the first virtual item includes the steps of the terminal device determining a remaining quantity of the first virtual item based on a selected quantity of the first virtual item and a total number of the first virtual items, the terminal device determining a discard quantity of the associated virtual item based on the total number of the associated virtual items and the remaining quantity of the first virtual item, and the terminal device discarding the discard quantity of the associated virtual items.

[0106] Optionally, remaining quantity of the first virtual item = total number of the first virtual item - selected quantity of the first virtual item. In some embodiments, the remaining quantity of the first virtual item is greater than or equal to 1.

[0107] The terminal device determines a quantity of the related virtual items to be retained based on the total number of the related virtual items and the remaining quantity of the first virtual item, and determines a quantity of the related virtual items to be discarded based on the total number of the related virtual items and the quantity of the related virtual items to be retained. The quantity of the related virtual items to be retained is used to ensure that there are sufficient related virtual items to be used in combination with the remaining quantity of the first virtual item.

[0108] In some embodiments, the step of the terminal device determining a quantity of the related virtual item to be discarded based on the total number of the related virtual items and the remaining quantity of the first virtual item includes a step of determining a usage ratio between the first virtual item and the related virtual item, and a step of determining a quantity of the related virtual item to be discarded based on the usage ratio, the total number of the related virtual items, and the remaining quantity of the first virtual item.

[0109] For example, if the usage ratio between the first virtual item and the related virtual item is 1:2, the total number of the related virtual items is 10, and the remaining quantity of the first virtual items is 2, then the quantity of the related virtual items to be retained is equal to 2*2=4, and the discard quantity of the related virtual items is 6 (10-4), then after the terminal device discards the selected quantity of the first virtual items, it will further discard 6 related virtual items.

[0110] In some embodiments, when the terminal discards the first virtual item, the terminal determines whether there is a related virtual item of the virtual item type, and if there is no related virtual item of the first virtual item, the terminal device only performs a discard operation of the first virtual item. If there is a related virtual item of the first virtual item, the terminal device discards the first virtual item and the related virtual item.

[0111] Optionally, before discarding the related virtual item, the terminal device displays a discard confirmation interface for the related virtual item, and the terminal device discards the related virtual item in response to a confirmation operation on the discard confirmation interface. The confirmation operation may include at least one of a slide operation, a click operation, and a button press operation.

[0112] Through the above method, when discarding a first virtual item, the operation that the user intends to perform is predicted by discarding the related virtual items of the first virtual item, which helps to reduce the user's repeated discard operations for related virtual items and shorten the user's processing time for virtual items displayed in the item column.

[0113] In some embodiments, after the terminal device displays the item column, the technical solution according to the embodiments of the present application further includes the steps of: in response to a second sliding operation on the display item of the first virtual item, the terminal device controls the display item of the first virtual item to move with the second sliding operation, where the sliding direction of the second sliding operation is opposite to that of the first sliding operation; and in response to a release of the second sliding operation, the terminal device performs a first operation on all the first virtual items when the release position of the second sliding operation is located in the target area, thereby quickly realizing the first operation on all the first virtual items and further improving the convenience of the operation.

[0114] Optionally, the terminal device controls the moving speed of the display items of the first virtual item based on the sliding speed of the second sliding operation, and controls the moving direction of the display items of the first virtual item based on the sliding direction of the second sliding operation. The above-mentioned target area refers to an area for quickly selecting all the first virtual items to perform the first operation. In some embodiments, in order to speed up the user's performance speed of the second operation, the target area is displayed around the item column. For example, the target area is displayed on the right side of the item column area, and the left edge of the target area and the right edge of the item column are adjacent to each other. The display position of the target area in the user interface can be determined according to the actual situation, and the present application is not limited thereto.

[0115] In some embodiments, the release of the second sliding operation refers to the terminal device detecting the end of the second sliding operation, for example, the user's finger being removed from the screen of the terminal device. The release position of the second sliding operation refers to the position where the user's finger is removed from the screen of the terminal device when the second sliding operation is completed, and may be understood as the position where the pressure of the second operation on the screen of the terminal device becomes smaller than the pressure threshold, and the present application is not limited thereto.

[0116] The first operation corresponding to all the first virtual items includes at least one of: discarding all the first virtual items in the virtual environment, transferring all the first virtual items to other virtual objects, and using all the first virtual items. Illustratively, in response to the release of the second sliding operation, the terminal device discards all the first virtual items A, and then cancels the display of the display items of the first virtual items A in the item column.

[0117] As an example, FIG. 9 is a schematic diagram of a second slide operation according to one exemplary embodiment of the present application. A display interface 900 displays a display item 910 of a first virtual item, and the terminal device moves the display item 910 of the first virtual item to a target area 920 in response to a second slide operation on the display item 910 of the first virtual item. When the release position of the second slide operation is located in the target area 920, the terminal device discards all the first virtual items, and when the release position of the second slide operation is located in the display area of ​​the item column or in another area in the user interface except the target area 920, the terminal device returns the display item 910 of the first virtual item to the item column and displays it. In this case, the display position of the first virtual item returned to the item column may be the same as the display position in the item column before the second slide operation.

[0118] In some embodiments, the first slide operation and the second slide operation are performed consecutively. The conversion between the first slide operation and the second slide operation can be realized by changing the slide direction. For example, if the first slide operation is a slide from right to left and the second slide operation is a slide from left to right, during the first slide operation, the user can change the slide direction of the finger, so that the first slide operation is converted into the second slide operation, and the way of performing the operation on all the first virtual items becomes faster.

[0119] In some embodiments, after the terminal device displays a quantity selection interface corresponding to the first virtual item, the technical solution according to the embodiments of the present application further includes the step of: in response to the sliding direction of the first sliding operation being changed, after the sliding direction of the first sliding operation is changed, the first sliding operation disappears, the display of the quantity selection interface is canceled, and the first operation is not performed on the selected quantity of the first virtual item.

[0120] Optionally, the change in the sliding direction of the first sliding operation may refer to the angle between the sliding direction of the first sliding operation and the standard sliding direction being equal to or greater than an angle threshold. For example, if the standard sliding direction of the first sliding operation is horizontally left and the angle threshold is 45°, when the angle between the sliding direction of the first sliding operation and the standard sliding direction is equal to or greater than 45°, the terminal device determines that the sliding direction of the first sliding operation has been changed, and the terminal device cancels the display of the quantity selection interface and does not perform the first operation on the selected quantity of the first virtual item. Optionally, in this case, the terminal device returns the display item of the first virtual item to the item column and displays it.

[0121] Optionally, the change in the sliding direction of the first sliding operation may indicate that the changed sliding direction is perpendicular to the previous sliding direction of the first sliding operation. For example, if the sliding direction of the first sliding operation is horizontally leftward, the change in the sliding direction of the first sliding operation indicates that the first sliding operation slides upward or downward. In response to the change in the direction of the first sliding operation, the terminal device does not execute the first operation on the selected quantity of the first virtual item.

[0122] In some embodiments, the quantity selection interface further displays cancel operation prompting information, where the cancel operation prompting information is used to prompt the user to cancel the first sliding operation by changing the sliding direction of the first sliding operation. The cancel operation prompting information may be information such as sliding upward to cancel the first sliding operation, sliding downward to cancel the first sliding operation, etc.

[0123] As an example, Fig. 10 is a schematic diagram of a virtual item operation method according to another exemplary embodiment of the present application. A terminal device displays an item field, and in some embodiments, in a game, the item field has a fixed display area. In response to an operation to display the item field (e.g., an operation to open a virtual backpack), the terminal device displays the item field in the fixed display area. In response to a determination operation for a first virtual item, the terminal device determines a display item of the first virtual item from the item field. The terminal device detects whether or not a first slide operation for the first virtual item has been performed.

[0124] When a first sliding operation occurs, the terminal device acquires a sliding distance of the first sliding operation in real time. The terminal device determines whether the sliding distance is greater than a first threshold. When the sliding distance is less than the first threshold, the terminal device restores the display item of the first virtual item in response to the disappearance of the first sliding operation.

[0125] If the sliding distance is equal to or greater than a first threshold, the terminal device displays a quantity selection interface. The quantity selection interface is used to display a selected quantity of the first virtual item. The terminal device determines whether the sliding distance of the first sliding operation is smaller than a second threshold. The terminal device dynamically changes the selected quantity of the first virtual item based on the sliding distance of the first sliding operation.

[0126] If the sliding distance of the first sliding operation is less than the second threshold, the terminal device executes the first operation on the selected quantity of the first virtual items in response to the release of the first sliding operation, and if the sliding distance of the first sliding operation is equal to or greater than the second threshold, the terminal device executes the first operation on all of the first virtual items in response to the release of the first sliding operation.

[0127] If a first sliding operation for a first virtual item does not occur, the terminal device acquires a second sliding operation, and in response to the release of the second sliding operation, the terminal device determines whether or not the release position is located in the target area.

[0128] When the release position of the second operation is located in the target area, the terminal device executes the first operation on all of the first virtual items, and when the release position of the second operation is not located in the target area, the terminal device restores and displays the display item of the first virtual item in the item column.

[0129] By changing the sliding direction of the first sliding operation, the terminal device does not perform the first operation on the selected number of the first virtual items, that is, the user can quickly cancel the first sliding operation by changing the direction of the first sliding operation, which improves the convenience of the operation of canceling the first sliding operation. At the same time, the operation is simple and clear, which avoids the possibility of the user making a mistaken touch when canceling the first sliding operation, and helps to improve the user experience.

[0130] In some embodiments, after the terminal device displays the item column, the technical solution according to the embodiments of the present application further includes a step in which the terminal device determines the multiple virtual items as multiple first virtual items in response to a selection operation on the display items of the multiple virtual items displayed in the item column, and a step in which the terminal device displays a quantity selection interface in response to a first sliding operation on the display item of any one of the first virtual items, where the quantity selection interface displays selected quantities corresponding to each of the multiple first virtual items.

[0131] The selection operation for the display items of the multiple virtual items displayed in the item column includes at least one of a click operation and a check operation.

[0132] In some embodiments, the first sliding operation can simultaneously determine selected quantities of the first virtual items displayed in the item column. In response to a click operation on a display item of the virtual items displayed in the item column, the terminal device determines one or more virtual items clicked in a display area of ​​the display item as the first virtual items. In response to the first sliding operation on any one of the display items of the first virtual items, the terminal device displays a quantity selection interface and individually determines selected quantities corresponding to each of the first virtual items based on a sliding distance of the first sliding operation.

[0133] In some embodiments, the terminal device determines a selected quantity of a first first virtual item based on a sliding distance of the first sliding operation, and the terminal device sets the selected quantity of the first first virtual item as a selected quantity corresponding to each of the multiple first virtual items.

[0134] In some embodiments, the terminal device determines selected quantities corresponding to each of the multiple first virtual items based on a selected quantity of a reference virtual item, where the reference virtual item is any one of the multiple first virtual items, and specifically, the terminal device determines a selected quantity of the reference item based on a sliding distance of a first sliding operation, determines a selected ratio based on the selected quantity of the reference virtual item and the total number of the reference virtual items, and determines a selected quantity corresponding to each of the multiple first virtual items based on the selected ratio and the total number corresponding to each of the multiple first virtual items.

[0135] For example, the selected ratio = the selected quantity of the reference virtual item divided by the total number of the reference virtual items, and for any one first virtual item, the selected quantity corresponding to the first virtual item = the selected ratio * the total number of the first virtual items.

[0136] The terminal device displays a quantity selection interface in response to the first sliding operation on the display item of the first virtual object selected by the last selection operation. The specific content of this process is the same as that of the first sliding operation on the display item of the first virtual item, and for the specific content, please refer to the above embodiment.

[0137] A single slide operation can determine the selected quantities of a plurality of first virtual items, which helps to improve the efficiency with which the user performs a first operation (for example, a discard operation) on the virtual items displayed in the item column.

[0138] In some embodiments, the display size of the display items of the virtual items is related to the total number of virtual items, e.g., if the quantity of virtual item A is greater than the quantity of virtual item B, then the display size of the display item of virtual item A is greater than or equal to the display size of the display item of virtual item B.

[0139] In this case, the display item of the virtual item has a display range, and the display range has a corresponding maximum display size and a minimum display size limit. In some embodiments, the terminal device dynamically adjusts the display size of the display item of the virtual item in the item column within the display size range based on the total number of the virtual items.

[0140] By dynamically adjusting the display size of the display line of the virtual item of the type based on the total number of virtual items, the user can more intuitively know the total number of virtual items of the type in the item column. By increasing the display size, the user can easily operate the display line of the virtual item of the type, and the accuracy of the user's operation to control the quantity of the virtual items of the type is improved.

[0141] In some embodiments, the item space can display at least one virtual item display item at a time. In many cases, multiple virtual item display items can be displayed in the item space at a time. For example, the item space may display seven virtual item display items.

[0142] The item column further has a corresponding slide display function, and the terminal device updates and displays the display items of other virtual items on the edge of the item column in response to a slide operation on the item column (for example, sliding or moving a slider displayed in the item column up and down), where the display items of the other virtual items are not displayed in the item column before the slide operation. The edge of the item column may be the bottom of the item column.

[0143] In some embodiments, the arrangement order of the display items of different virtual items in the item section can be determined based on the total number corresponding to each virtual item. For example, the display items of multiple virtual items are arranged from top to bottom in the item section, and the terminal device can arrange the virtual items in the item section in descending order of the total number. The display item of the virtual item with the largest total number is arranged at the bottom of the item section.

[0144] In some embodiments, the terminal device displays an item column in a user interface, and at least one display item of the virtual item is displayed in the item column. Optionally, the item column occupies a part of a display area on the user interface. The display area of ​​the item column in the user interface may be fixed, for example, the item column can be displayed in a left area in the user interface. The display area of ​​the item column in the user interface can also be customized and set by a user. For example, the user can set the display area of ​​the item column to the upper left corner in a game setting interface.

[0145] In some embodiments, when the total number of the first virtual items is greater than 1, the technical solution according to the embodiments of the present application further includes the step of the terminal device displaying a scale mark around the display area of ​​the first virtual item during the process in which the display item of the first virtual item moves along with the first slide operation, where the scale mark is used to divide the display item of the first virtual item into p display parts, where p is a positive integer.

[0146] Here, the scale marks are displayed on the edges of the display item of the first virtual item, for example, three scale marks are displayed on the lower edge of the display item of the first virtual item, and the three scale marks divide the display area of ​​the virtual item into four display parts.

[0147] In some embodiments, different display portions correspond to different ranges of selected quantities. For example, when the total number of the first virtual items is 4, p=2, and the maximum predetermined sliding distance is equal to the length of the display item of the first virtual item, the display item of the first virtual item is divided into a first display portion and a second display portion by one scale mark, where the range of the selected quantity of the virtual items corresponding to the first display portion is [1,2], and the range of the selected quantity of the virtual items corresponding to the second display portion is [3,4].

[0148] By displaying scale marks around the display area of ​​the virtual item, a scale indication is provided to the user in the process of the user performing the first slide operation, and the user can quickly determine the slide distance of the corresponding first slide operation that has reached the selected quantity according to the presentation of the scale marks.

[0149] In some embodiments, after displaying the quantity selection interface, the terminal device determines the initial selected quantity of the first virtual item according to a current game situation.

[0150] For example, when the user is in a team mode, if the first virtual item belongs to a supply item, the terminal device determines half of the total number of the first virtual item as the initial selected quantity of the first virtual item. In this case, the initial position of the slide bar of the slider in the quantity selection interface can indicate the proportional relationship between the initial selected quantity of the first virtual item and the total number of the first virtual item.

[0151] Since the slider at this time is not located at the end point of the slide bar, the slider can slide to both sides of the slide bar, and then the terminal device can dynamically adjust the selected quantity of the first virtual item in response to the first slide operation or the second slide operation. For example, the terminal device controls the slider to slide left in response to the first slide operation to increase the selected quantity of the first virtual item, and if the slide distance of the second slide operation is smaller than a second threshold, the terminal device controls the slider to slide right in response to the second slide operation to decrease the selected quantity of the first virtual item, where the slide direction of the first slide operation is opposite to the slide direction of the second slide operation, and the first slide operation and the second slide operation here can both be used to adjust the position of the slider on the slide bar. The terminal device performs the first operation on the selected quantity of the first virtual item in response to the release of the first slide operation or the second slide operation.

[0152] In this manner, the first virtual item (e.g., virtual attack tools, virtual blood packs, etc.) can be provided to other users in a timely manner and helps expedite the process of the user determining a selected quantity of the first virtual item.

[0153] In some embodiments, in a scene of picking up a virtual item, when the terminal device determines that the virtual item to be picked up exceeds the upper limit of virtual object carrying, the terminal device can determine a selected quantity of the first virtual item based on attribute information of the virtual item to be picked up, where the attribute information of the virtual item to be picked up refers to weight information or volume information of the virtual item to be picked up. The virtual item to be picked up refers to a pickable virtual item displayed in the virtual environment.

[0154] In some embodiments, the virtual object operated by the user has a carrying limit (e.g., a weight carrying limit, a volume carrying limit, or a type carrying limit), which means that the virtual object can only carry a limited number of virtual items. When the virtual item carried by the virtual object reaches or is close to the carrying limit, the terminal device cannot perform a pickup operation on the virtual item to be picked up in response to the pickup operation. For example, the terminal device determines a selected quantity of the first virtual item based on the remaining carrying capacity of the virtual object and weight information of the virtual item to be picked up, so as to facilitate the pick-up of the virtual item to be picked up by the virtual object.

[0155] Optionally, the terminal device can further determine an initial selected quantity of the first virtual item based on a distance between the virtual object and the virtual item to be picked up, i.e., the virtual object must discard at least the initial selected quantity of the first virtual item before picking up the virtual item to be picked up. In some embodiments, when the virtual object is within the pick-up range of the virtual item to be picked up, the terminal device determines an initial selected quantity of the first virtual item based on attribute information of the virtual item to be picked up. Illustratively, the terminal device determines an initial selected quantity of the first virtual item based on attribute information of the virtual item to be picked up and attribute information of the first virtual item. For example, the attribute information of the virtual item refers to weight information of the virtual item, and when the weight information of the virtual item to be picked up is 3 and the weight information of the first virtual item is 1.5, the initial selected quantity of the first virtual item is 2.

[0156] In some embodiments, when the ratio between the value of the attribute information of the virtual item to be picked up and the attribute information of the first virtual item is a decimal, the ratio is rounded up to an integer, such as by rounding up. For example, when the weight information of the virtual item to be picked up is 5 and the weight information of the first virtual item is 2, the ratio between the value of the weight information of the virtual item to be picked up and the weight information of the first virtual item is 2.5, and the initially selected quantity of the first virtual item is equal to 3 by rounding up.

[0157] The following are apparatus embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the apparatus embodiments of the present application, please refer to the method embodiments of the present application.

[0158] 11 shows a block diagram of a virtual item operation device according to an exemplary embodiment of the present application. The device can be implemented as all or part of a terminal device by software, hardware, or a combination of both. The device 1100 can include an item display module 1110, a quantity display module 1120, and an operation execution module 1130.

[0159] The item display module 1110 is configured to display an item space, in which at least one display item of the virtual item is displayed.

[0160] The quantity display module 1120 is configured to display a quantity selection interface corresponding to a first virtual item in response to a first sliding operation on a display item of a first virtual item of the at least one virtual item.

[0161] The quantity display module 1120 is further configured to dynamically change the selected quantity of the first virtual item displayed in the quantity selection interface during the process of the display item of the first virtual item moving in accordance with the first slide operation.

[0162] An operation performing module 1130 is configured to perform a first operation on the selected quantity of the first virtual item in response to releasing the first sliding operation.

[0163] In some embodiments, the quantity selection interface displays a slide bar and a slider located on the slide bar, and the display position of the slider on the slide bar is used to display a proportional relationship between the selected quantity of the first virtual item and the total number of the first virtual item, and the quantity display module 1120 further includes a quantity determination unit and a quantity change unit (not shown in FIG. 11 ).

[0164] The quantity determination unit is configured to determine a selected quantity of the first virtual item based on a sliding distance of the first sliding operation during a process in which a display item of the first virtual item moves in accordance with the first sliding operation.

[0165] The quantity change unit is configured to dynamically change a display position of the slider on the slide bar in response to a change in the selected quantity of the first virtual item, thereby displaying a proportional relationship between the selected quantity of the first virtual item and the total number of the first virtual items.

[0166] In some embodiments, a moving direction of the slider on the slide bar coincides with a sliding direction of the first sliding operation.

[0167] In some embodiments, the quantity determination unit is configured to obtain a ratio between a slide distance of the first slide operation and a predetermined maximum slide distance, and determine a selected quantity of the first virtual item based on the ratio and a total number of the first virtual item.

[0168] In some embodiments, the quantity display module 1120 is further configured to, in response to the first slide operation on a display item of a first virtual item of the at least one virtual item, control the display item of the first virtual item to move in accordance with the first slide operation, and when the moving distance of the display item of the first virtual item reaches a first threshold, display the quantity selection interface corresponding to the first virtual item.

[0169] In some embodiments, the operation performing module 1130 is configured to discard the selected quantity of the first virtual item.

[0170] In some embodiments, the device 1100 further comprises an associated discard module (not shown in FIG. 11).

[0171] The associated discard module is configured to discard an associated virtual item of the first virtual item.

[0172] In some embodiments, the associated discard module is further configured to determine a remaining quantity of the first virtual item based on the selected quantity of the first virtual item and a total number of the first virtual items, determine a discard quantity of the associated virtual item based on the total number of the associated virtual items and the remaining quantity of the first virtual item, and discard the discard quantity of the associated virtual items.

[0173] In some embodiments, the apparatus 1100 further comprises a global execution module (not shown in FIG. 11).

[0174] The overall execution module is configured to, in response to a second slide operation on a display item of the first virtual item, control the display item of the first virtual item to move in accordance with the second slide operation, where a slide direction of the second slide operation is opposite to a slide direction of the first slide operation, and, in response to a release of the second slide operation, execute the first operation on all of the first virtual items when the release position of the second slide operation is located in a target area.

[0175] In some embodiments, the apparatus 1100 further comprises an execution cancellation module (not shown in FIG. 11).

[0176] An execution cancellation module is configured to, in response to the sliding direction of the first sliding operation being changed, disappear the first sliding operation after the sliding direction of the first sliding operation is changed, cancel the display of the quantity selection interface, and not execute the first operation on a selected quantity of the first virtual item.

[0177] In some embodiments, the apparatus 1100 further comprises a multiple item selection module (not shown in FIG. 11).

[0178] The multiple item selection module is configured to determine the multiple virtual items as the multiple first virtual items in response to a selection operation on display items of the multiple virtual items displayed in the item column, and displaying a quantity selection interface corresponding to the first virtual items in response to a first sliding operation on the display items of the first virtual items includes displaying the quantity selection interface in response to the first sliding operation on any one of the display items of the first virtual items, and the quantity selection interface displays selected quantities corresponding to each of the multiple first virtual items.

[0179] In summary, the technical solution according to the embodiment of the present application can dynamically determine the selected quantity of the first virtual item by performing a slide operation on the display item of the first virtual item and releasing the slide operation, and can perform the first operation on the selected quantity of the first virtual item. On the one hand, the embodiment of the present application can realize the selection of the virtual item, the adjustment of the selected quantity, and the triggering of the first operation with only one slide operation, and can perform the corresponding operation (e.g., discarding some virtual items) on some virtual items with only one step operation, which fully improves the convenience of the operation. On the other hand, the embodiment of the present application can improve the continuity between the process of determining the selected quantity and the execution of the first operation, and can improve the smoothness of the process of performing the first operation on the selected quantity of the first virtual item. On the other hand, compared with the complicated operation in the related art, the embodiment of the present application only needs to perform one slide operation, which simplifies the operation, thereby improving the operation efficiency, and only one slide operation needs to be performed, which helps to reduce the probability of problems such as erroneous touching and improve the success rate of the operation.

[0180] It should be noted that, when the device according to the above embodiment realizes its functions, the division of each of the above functional modules is merely an example, and in actual application, the above functions can be completed by different functional modules as required, that is, the content structure of the device can be divided into different functional modules to complete all or part of the above functions. Furthermore, the device according to the above embodiment belongs to the same concept as the method embodiment, and its specific implementation process can be referred to the method embodiment, and will not be repeated here. The beneficial effects of the device according to the above embodiment can be referred to the description of the method embodiment, and will not be repeated here.

[0181] FIG. 12 shows a structural block diagram of a terminal device according to an exemplary embodiment of the present application.

[0182] The terminal device 1200 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, a PC, etc. The terminal device is configured to implement the virtual item operation method provided in the above embodiment. The terminal device may be the terminal device 10 shown in FIG. 1. Specifically,

[0183] Typically, the terminal device 1200 comprises a processor 1201 and a memory 1202 .

[0184] The processor 1201 may include one or more processing cores (such as a 4-core processor and an 8-core processor). The processor 1201 may be implemented using at least one of the following hardware forms: a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 1201 may include a main processor and a coprocessor, where the main processor is a processor used to process data in a wake-up state and is also called a central processing unit (CPU). The coprocessor is a low-power processor used to process data in a standby state. In some embodiments, the processor 1201 may be integrated with a graphics processing unit (abbreviated as GPU), where the GPU is used to render and draw content displayed on a display screen. In some embodiments, the processor 1201 may further include an artificial intelligence (AI) processor, where the AI ​​processor is used to process computing operations related to machine learning.

[0185] Memory 1202 may include one or more computer readable storage media, which may be tangible and non-transitory. Memory 1202 may also comprise one or more magnetic disk memories, high speed random access memories such as flash memories, and non-volatile memories. In some embodiments, the non-transitory computer readable storage media in memory 1202 store computer programs that are loaded and executed by processor 1201 to cause processor 1201 to perform the methods of manipulating virtual items according to the method embodiments described above.

[0186] In some embodiments, the terminal device 1200 may further include a peripheral device interface 1203 and at least one peripheral device. The processor 1201, the memory 1202, and the peripheral device interface 1203 may be connected to each other via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1203 via a bus, a signal line, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1204, a display screen 1205, an audio circuit 1206, and a power supply 1207.

[0187] As will be appreciated by those skilled in the art, the structure shown in FIG. 12 is not intended to be limiting of terminal 1200, and terminal 1200 may include more or fewer components than those shown in the figure, or some components may be combined, or a different component arrangement may be employed.

[0188] An embodiment of the present application further provides a computer-readable storage medium storing a computer program that, when loaded and executed by a processor, causes the processor to realize a method of manipulating a virtual item according to each of the embodiments of the above methods.

[0189] The computer-readable medium may include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented by any method or technology used to store information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes Random-Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other solid-state memory technology, Digital Video Disc (DVD) or other optical memory, magnetic tape cassette, magnetic tape, magnetic disk storage, or other magnetic storage device. Of course, those skilled in the art can understand that the computer storage media is not limited to some of the above.

[0190] An embodiment of the present application further provides a computer program product including a computer program, the computer program being stored in a computer-readable storage medium, and a processor reading and executing the computer program from the computer-readable storage medium to realize the method of manipulating a virtual item according to each of the embodiments of the above methods.

[0191] In addition, the embodiment of the present application may display a presentation interface, a pop-up window or output voice presentation information before collecting user related data and during the process of collecting user related data, and the presentation interface, the pop-up window or the voice presentation information is used to present to the user that the user related data is currently being collected, and the present application starts to execute the relevant step of acquiring user related data only after obtaining a confirmation operation on the presentation interface or the pop-up window by the user, otherwise (i.e., if the user does not confirm the presentation interface or the pop-up window), the relevant step of acquiring user related data is terminated, that is, the user related data is not acquired. In other words, all user data collected in the present application shall be processed strictly in accordance with the requirements of the relevant laws and regulations of the relevant countries, and the informed consent or individual consent of the personal information subject shall all be collected with the consent and permission of the user, and the subsequent data use and processing operations shall be carried out within the scope of the laws and regulations and the permission of the personal information subject, and the collection, use and processing of the relevant user data shall comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the virtual items, first slide operation, second slide operation, etc., related to this application were obtained with full authorization.

[0192] It should be understood that "plurality" as referred to herein refers to two or more than two. "And / or" is an association describing related objects, and indicates that three types of relationships can exist, for example, A and / or B can represent three cases, such as when only A exists, when A and B exist simultaneously, when only B exists, etc. The character " / " generally indicates that the context object is in an "or" relationship.

[0193] The above description is only an alternative embodiment of the present application, and does not limit the present application, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. [Explanation of symbols]

[0194] 10 Terminal Equipment 20 Servers 300 Display Interface 310 Item List 312 Display items 314 Icons 410 Item List 420 Display items 422 parts 430 Movement Range 500 display screen 510 Display items 512 Quantity Selection Interface 514 Slider 516 Slide bar 600 Display Interface 610 Item List 612 Display items 620 Quantity Selection Interface 622 Slide bar 624 Slider 710 Display items 720 Quantity Selection Interface 722 Slider 724 Slide bar 800 Display Interface 810 Display items 812 Quantity Selection Interface 820 Presentation information 900 Display Interface 910 Display items 920 Target area 1100 equipment 1110 Item Display Module 1120 Quantity Display Module 1130 Operation Execution Module 1200 terminals 1201 Processor 1202 Memory 1203 Peripheral Device Interface 1204 Radio Frequency Circuits 1205 Display screen 1206 Audio Circuit 1207 Power supply

Claims

1. A method for operating a virtual item, executed by a terminal device, comprising: A step of displaying an item section, in which at least one display item of a virtual item is displayed in the item section; In response to a first sliding operation on a display item of a first virtual item among the at least one virtual item, displaying a quantity selection interface corresponding to the first virtual item; dynamically changing the selected quantity of the first virtual item displayed in the quantity selection interface during the process in which the display item of the first virtual item moves in accordance with the first sliding operation; responsive to releasing the first sliding operation, performing a first operation on the selected quantity of the first virtual item; Including, How to interact with virtual items.

2. the quantity selection interface displays a slide bar and a slider located on the slide bar, and a display position of the slider on the slide bar is used to display a proportional relationship between a selected quantity of the first virtual item and a total number of the first virtual item; The step of dynamically changing the selected quantity of the first virtual item displayed in the quantity selection interface during the process in which the display item of the first virtual item moves in accordance with the first slide operation includes: determining a selected quantity of the first virtual item based on a sliding distance of the first sliding operation during a process in which the display item of the first virtual item moves in accordance with the first sliding operation; dynamically changing a display position of the slider in the slide bar in response to a change in the selected quantity of the first virtual item, to display a proportional relationship between the selected quantity of the first virtual item and a total number of the first virtual item; Including, The method of claim 1 .

3. A moving direction of the slider on the slide bar coincides with a sliding direction of the first sliding operation. The method of claim 2 .

4. The step of determining a selected quantity of the first virtual item based on a sliding distance of the first sliding operation includes: obtaining a ratio between a slide distance of the first slide operation and a predetermined maximum slide distance; determining a selected quantity of the first virtual item based on the ratio and a total number of the first virtual item; Including, The method of claim 2 .

5. The step of displaying a quantity selection interface corresponding to a first virtual item in response to a first slide operation on a display item of a first virtual item among the at least one virtual item includes: In response to the first sliding operation on the display item of the first virtual item, controlling the display item of the first virtual item to move in accordance with the first sliding operation; When a moving distance of the display item of the first virtual item reaches a first threshold, displaying the quantity selection interface corresponding to the first virtual item; Including, The method of claim 1 .

6. performing a first operation on the selected quantity of the first virtual item, discarding the selected quantity of the first virtual item. The method of claim 1 .

7. The method for operating a virtual item includes: discarding a related virtual item of the first virtual item.

7. A method for manipulating a virtual item according to claim 6.

8. The step of discarding the related virtual item of the first virtual item includes: determining a remaining quantity of the first virtual item based on the selected quantity of the first virtual item and a total number of the first virtual item; determining a quantity of the related virtual item to be discarded based on a total number of the related virtual items and a remaining quantity of the first virtual item; discarding the discard quantity of the associated virtual items; Including, 8. A method for manipulating a virtual item according to claim 7.

9. After displaying the item section in which at least one display item of a virtual item is displayed, the method of operating the virtual item includes: A step of controlling, in response to a second sliding operation on a display item of the first virtual item, the display item of the first virtual item to move in accordance with the second sliding operation, wherein a sliding direction of the second sliding operation is opposite to a sliding direction of the first sliding operation; in response to a release of the second sliding operation, if a release position of the second sliding operation is located in a target area, executing the first operation on all of the first virtual items; Further comprising: The method of claim 1 .

10. In response to a first slide operation on a display item of a first virtual item among the at least one virtual item, after displaying a quantity selection interface corresponding to the first virtual item, the virtual item operation method includes: In response to the change in the sliding direction of the first sliding operation, after the sliding direction of the first sliding operation is changed, the first sliding operation disappears, the display of the quantity selection interface is canceled, and the first operation is not performed on the selected quantity of the first virtual item. The method of claim 1 .

11. After displaying the item section in which at least one display item of a virtual item is displayed, the method of operating the virtual item includes: The method further includes a step of determining, in response to a selection operation on display items of a plurality of virtual items displayed in the item column, the plurality of virtual items as the plurality of first virtual items; The step of displaying a quantity selection interface corresponding to a first virtual item in response to a first slide operation on a display item of a first virtual item among the at least one virtual item includes: and displaying the quantity selection interface in response to the first slide operation on a display item of any one of the first virtual items, wherein the quantity selection interface displays selected quantities corresponding to each of the plurality of first virtual items. The method of claim 1 .

12. A virtual item operation device comprising an item display module, a quantity display module, and an operation execution module, The item display module is configured to display an item section, and the item section displays at least one display item of the virtual item; The quantity display module is configured to display a quantity selection interface corresponding to a first virtual item in response to a first slide operation on a display item of a first virtual item among the at least one virtual item; The quantity display module is further configured to dynamically change the selected quantity of the first virtual item displayed in the quantity selection interface during the process in which the display item of the first virtual item moves in accordance with the first sliding operation; the operation execution module is configured to execute a first operation on the selected quantity of the first virtual item in response to the release of the first sliding operation; A device for controlling virtual items.

13. A terminal device including a processor and a memory, A terminal device, the memory storing a computer program, the processor loading and executing the computer program to realize the method of operating a virtual item according to any one of claims 1 to 11.

14. A computer-readable storage medium storing a computer program which, when loaded and executed by a processor, causes the processor to implement the method of operating a virtual item according to any one of claims 1 to 11.

15. A computer program product comprising a computer program, A computer program product, the computer program being stored in a computer-readable storage medium, the processor reading and executing the computer program from the computer-readable storage medium to realize the method of operating a virtual item according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Control method and control device for game props used in batch

    CN105204732A

  • Virtual prop processing method and apparatus, electronic device and storage medium

    CN108459811A

  • Information processing method and device

    CN111450527A

  • Virtual article processing method and device, storage medium and electronic device

    CN112190922A

  • Data processing method and device in game and electronic terminal

    CN112516583A