Method and device for discarding virtual items, terminal, and computer program
The method and device streamline the disposal of useless virtual items in first-person shooter games by automatically identifying and discarding them upon a single operation, improving efficiency by eliminating repetitive manual actions.
Patent Information
- Application Number
- JP2025519937
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-11-22
- Filing Date
- 2023-10-12
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2043-10-12
AI Technical Summary
The process of discarding large numbers of useless virtual items in first-person shooter games requires repetitive manual operations, consuming significant time and reducing efficiency.
A method and device that allow for the automatic detection and disposal of useless virtual items upon a single operation on an item management control, eliminating the need for individual selection and disposal of each item.
This approach significantly reduces the time required to discard useless virtual items by allowing multiple items to be discarded simultaneously, enhancing the efficiency of the process.
Smart Images

Figure 2025533147000001_ABST
Abstract
Description
[Technical Field]
[0001] This application claims priority from a Chinese patent application filed with the China Patent Office on November 22, 2022, bearing application number 202211466727.X and entitled "Method, device, terminal and storage medium for quickly disposing of virtual items," the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD The present application relates to the technical field of human-computer interaction, and in particular to a method and apparatus, a terminal, and a computer program for discarding virtual items. [Background technology]
[0003] A first-person shooter game (FPS) is an application program (abbreviated as "app") based on a three-dimensional virtual environment, in which users can control and manipulate virtual objects in the virtual environment to perform actions such as walking, running, climbing, and shooting, and multiple users can form a team online and work together in the same virtual environment to complete a task.
[0004] In the related technology, when a virtual object owns a large number of useless virtual items, the user must discard the useless virtual items by sequentially dragging the useless virtual items to a discard window in the item display window or by sequentially clicking on the useless virtual items to perform the discard operation.
[0005] Therefore, as can be seen, in the related art, in the process of discarding a large number of useless virtual items, the same discarding operation needs to be constantly repeated, so the process of discarding useless virtual items takes a considerable amount of time. Summary of the Invention [Problem to be solved by the invention]
[0006] The embodiments of the present application aim to provide a method, device, terminal, and computer program for disposing of virtual items that can shorten the time required to dispose of useless virtual items owned by virtual objects and improve the efficiency of disposing of useless virtual items. [Means for solving the problem]
[0007] According to one aspect, an embodiment of the present application provides a method for discarding a virtual item, the method being executed by a terminal device, the method comprising: receiving (receiving) a first operation (signal) for an item management control when no virtual item is selected, the item management control being used to trigger management of the virtual item owned by the virtual object; When the virtual items owned by the virtual object include a useless virtual item, displaying discard suggestion information, the useless virtual item being a virtual item that cannot be used by the virtual object; and The method includes a step of controlling the virtual object to discard the useless virtual item that it owns when the first operation is completed.
[0008] According to another aspect, an embodiment of the present application provides a device for discarding a virtual item, the device comprising: an operation receiving module for receiving a first operation on an item management control when a virtual item is not selected, the item management control being used to trigger management of a virtual item owned by the virtual object; a first display module for displaying discard suggestion information when the virtual items owned by the virtual object include a useless virtual item, the useless virtual item being a virtual item that cannot be used by the virtual object; and The virtual object includes a first control module for controlling the virtual object to discard the useless virtual item owned by the virtual object when the first operation is completed.
[0009] According to another aspect, an embodiment of the present application provides a terminal device, the terminal device including a processor and a memory, the memory storing at least one instruction (computer program), the at least one instruction being loaded and executed by the processor to realize the method for discarding a virtual item described in the above aspect.
[0010] According to another aspect, an embodiment of the present application provides a computer-readable storage medium having stored thereon at least one instruction (computer program), the at least one instruction being loaded and executed by a processor to implement the method for discarding a virtual item described in the above aspect.
[0011] According to another aspect, an embodiment of the present application provides a computer program product, the computer program product including computer instructions (computer program), the computer instructions being stored in a computer-readable storage medium, a processor of a terminal device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions to cause the terminal device to perform the method for discarding a virtual item provided in the above aspect. [Effects of the Invention]
[0012] In an embodiment of the present application, when a virtual item is not selected, when the terminal device receives a first operation on the item management control, if the virtual items owned by the virtual object include useless virtual items, discard prompting information is displayed, and when the first operation is completed, the virtual object is controlled to discard the useless virtual items it owns. This allows the user to select and discard multiple useless virtual items in one go by simply operating the item management control once, and eliminates the need to select and discard useless virtual items one by one, thereby shortening the time required to discard useless virtual items owned by the virtual object and improving the efficiency of discarding useless virtual items. [Brief explanation of the drawings]
[0013] [Figure 1] 1 illustrates an implementation environment provided in one embodiment of the present application. [Figure 2] 1 is a flowchart of a method for discarding a virtual item provided in one exemplary embodiment of the present application. [Figure 3] FIG. 1 illustrates the rapid disposal of useless virtual items provided in one exemplary embodiment of the present application. [Figure 4] 1 is a flowchart of a method for discarding a virtual item provided in another exemplary embodiment of the present application. [Figure 5] FIG. 10 illustrates the quick disposal of useless virtual items in a backpack interface provided in one exemplary embodiment of the present application. [Figure 6] FIG. 10 illustrates a quick disposal of useless virtual items in the main interface provided in one exemplary embodiment of the present application. [Figure 7] 1 is a flowchart of a method for discarding a virtual item provided in another exemplary embodiment of the present application. [Figure 8] FIG. 10 illustrates the quick disposal of useless virtual items in a pick-up list window provided in one exemplary embodiment of the present application. [Figure 9] FIG. 10 illustrates quick use of virtual supplies in a pick-up list window provided in one exemplary embodiment of the present application. [Figure 10] 1 is a flowchart of determining useless virtual items provided in one exemplary embodiment of the present application. [Figure 11] 10 is a flowchart of a quick disposal of useless virtual items in a backpack interface provided in one exemplary embodiment of the present application. [Figure 12] 10 is a flowchart of a quick disposal of useless virtual items in a main interface provided in one exemplary embodiment of the present application. [Figure 13]1 is a flowchart of a rapid use of virtual supplies provided in one exemplary embodiment of the present application. [Figure 14] 1 is a block diagram of a virtual item disposal device provided in one exemplary embodiment of the present application. [Figure 15] FIG. 2 is a block diagram of a terminal provided in one exemplary embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION
[0014] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation manner of the present application will be further described in detail below with reference to the drawings.
[0015] 1, which illustrates an implementation environment provided in one embodiment of the present application, which may be implemented as a computer system 100, which may include a first terminal 110, a server 120, and a second terminal 130.
[0016] The first terminal 110 executes a client of an application program 111 that supports a virtual environment. When the first terminal executes the application program 111, a user interface of the application program 111 is displayed on the screen of the first terminal 110. The application program 111 may be any one of a multiplayer online battle arena (MOBA) game, a simulation game (SLG), etc. In this embodiment, the application program 111 is a first-person shooter game (FPS) as an example. The first terminal 110 is used by a first user 112. The first user 112 uses the first terminal 110 to control a first virtual object located in the virtual environment to perform an activity. The first virtual object may be referred to as the first user's 112's master virtual object. The activity of the first virtual object may include, but is not limited to, at least one of adjusting a body posture, crawling, walking, running, riding, jumping, jumping, driving, picking up, shooting, attacking, throwing, and releasing a skill. Illustratively, the first virtual object is a first virtual person, such as a simulated person (character) or a cartoon character. The terminal in the embodiment of the present application may also be referred to as a terminal device.
[0017] A client of an application program 131 supporting a virtual environment is executed on the second terminal 130. When the second terminal 130 executes the application program 131, a user interface of the application program 131 is displayed on the screen of the second terminal 130. The client may be any one of an MOBA game, an SLG game, etc. In this embodiment, the application program 131 is an FPS game as an example. The second terminal 130 is used by a second user 132, who uses the second terminal 130 to control a second virtual object located in the virtual environment to perform an activity. The second virtual object may be referred to as the master virtual character of the second user 132. Exemplarily, the second virtual object is a second virtual person, such as a simulated person or an animated character.
[0018] Optionally, the first virtual object and the second virtual object are located in the same virtual world. Optionally, the first virtual object and the second virtual object belong to the same faction, team, organization, or are friends or have temporary communication rights. Optionally, the first virtual object and the second virtual object belong to different factions, teams, organizations, or are enemies.
[0019] Optionally, the application programs installed on the first terminal 110 and the second terminal 130 are the same, or the application programs installed on the two terminals are application programs of the same type on different operating system platforms (Android or IOS). Optionally, multiple terminals may be connected to the server 120, and the first terminal 110 may generally refer to one of the multiple terminals, and the second terminal 130 may generally refer to another of the multiple terminals. In this embodiment, only the first terminal 110 and the second terminal 130 are used as examples. The first terminal 110 and the second terminal 130 may be the same or different device types, including at least one of a smartphone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop computer, an intelligent robot, an in-vehicle terminal, and a desktop computer.
[0020] 1 shows only two terminals, in different embodiments, there may be multiple other terminals that can access server 120. Optionally, there may also be one or more terminals corresponding to developers, which may have an application program development and editing platform that supports a virtual environment installed on them, allowing the developers to edit and update the application programs on the terminals and then transmit the updated application program installation package to server 120 via a wired or wireless network; first terminal 110 and second terminal 130 may then download the application program installation package from server 120 to update the application programs.
[0021] The first terminal 110, the second terminal 130 and other terminals are connected to the server 120 via a wireless network or a wired network.
[0022] The server 120 may include at least one of a single server, a server cluster consisting of multiple servers, a cloud computing platform, and a virtualization center. The server 120 is used to provide background services to application programs supporting the 3D virtual environment. Optionally, the server 120 performs the main computing tasks, and the terminal performs the secondary computing tasks, or the server 120 performs the secondary computing tasks, and the terminal performs the main computing tasks, or a distributed computing architecture is adopted between the server 120 and the terminal to perform collaborative computing.
[0023] In one illustrative example, the server 120 includes a memory 121, a processor 122, a user account database 123, a battle service module 124, and a user-facing input / output interface (I / O interface) 125. The processor 122 is used to load instructions stored in the server 120 and process data in the user account database 123 and the battle service module 124. The user account database 123 is used to store user account data used by the first terminal 110, the second terminal 130, and other terminals, such as the user account avatar, the user account nickname, the user account combat power index, and the service zone where the user account is located. The battle service module 124 is used to provide multiple battle rooms for users to battle, such as 1V1 battles, 3V3 battles, 5V5 battles, and the like. The user-facing I / O interface 125 is used to establish communication and exchange data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network.
[0024] Please refer to Figure 2, which is a flowchart of a method for discarding a virtual item provided in one exemplary embodiment of the present application. In this embodiment, the method is described as being used in the first terminal 110 or the second terminal 130 in the implementation environment shown in Figure 1 or other terminals in the implementation environment, for example, a client running on the first terminal 110 or the second terminal 130 or other terminals, and the method includes the following steps: Step 201: When no virtual item is selected, a first operation (signal) is received for the item management control, which is used to trigger management of the virtual items owned by the virtual object.
[0025] Optionally, the virtual object may refer to a master object in the user's virtual environment, i.e., a virtual object that the user can control to perform an activity in the virtual environment, such as the first virtual object and the second virtual object described above. The virtual object may also refer to a virtual character corresponding to an application program. Exemplarily, the virtual object may be at least one of a virtual person, a cartoon character, a virtual vehicle, a virtual animal, etc.
[0026] The virtual environment is a three-dimensional environment in which virtual objects exist in a virtual world during the execution of an application program in a terminal, and it can be used by the virtual objects to perform activities. Optionally, in embodiments of the present application, the virtual environment is observed by a camera model.
[0027] Optionally, the camera model automatically follows the virtual character in the virtual world, i.e., when the position of the virtual object in the virtual world changes, the camera model simultaneously changes to follow the position of the virtual object in the virtual world, and the camera model is always located within a predetermined distance range of the virtual object in the virtual world. Optionally, the relative positions of the camera model and the virtual object do not change during the automatic following process.
[0028] A camera model refers to a three-dimensional model surrounding a virtual object in a virtual world. When a first-person perspective is adopted, the camera model is located near the head of the virtual object or at the head of the virtual object. When a third-person perspective is adopted, the camera model is located behind the virtual object and may be bound to the virtual object or may be located at any position within a predetermined distance from the virtual object. The camera model allows a user to observe a virtual object in the virtual world from different angles. Optionally, when the third-person perspective is a first-person over-the-shoulder perspective, the camera model is located behind the virtual object (e.g., the head or shoulder of the virtual object). Optionally, in addition to the first-person and third-person perspectives, other perspectives may be used, such as a top-down perspective. When a top-down perspective is adopted, the camera model may be located above the head of the virtual object, which is a perspective for observing the virtual world from an aerial bird's-eye view. Optionally, the camera model is not actually displayed in the virtual world, i.e., the camera model is not displayed in the virtual world displayed in the user interface.
[0029] Optionally, the item management control is used to trigger management of virtual items owned by the virtual object, and the manner in which the virtual object owns a virtual item may be by picking it up in the virtual environment, receiving it as a gift from another virtual object in the same faction, or receiving it as a system distribution upon completing a system task, but the embodiments of the present application are not limited thereto.
[0030] A virtual item refers to an item provided by an application program and used by a virtual object. The virtual item may be a simulated item, a fictitious item, or a semi-simulated or semi-fictitious item. For example, the virtual item may include virtual ammunition, virtual accessories, virtual chips, virtual medicines, etc., but the embodiments of the present application are not limited thereto.
[0031] In one possible implementation manner, since the number of virtual items that a virtual object can own and store in a virtual environment is limited, the virtual object needs to manage the virtual items that it owns, such as using, donating, discarding, etc. Unlike related technologies that require a corresponding virtual item to be selected first before managing the virtual item, in the embodiment of the present application, when a virtual item has not been selected, the terminal can realize virtual item management by receiving a first operation on an item management control.
[0032] Optionally, the first operation may be a long press operation, a gesture operation, a voice control operation, etc., but the embodiments of the present application are not limited thereto. For example, if the terminal device has a touch panel, the user can use the touch panel to perform the first operation on an item management control in the user interface.
[0033] For example, as shown in FIG. 3, when the user has not selected any virtual item, in response to a first operation performed by the user on the management control 302, the terminal receives the user's first operation on the item management control 302, and the item management control 302 can be used to manage the virtual items owned by the virtual object 301 under the trigger of the first operation.
[0034] When a virtual item is not selected, it means that the user has not switched the virtual item to a selected state by an operation. For example, when a user can select a virtual item by a click operation, when a virtual item is not selected, it may mean that the user has not selected a virtual item by performing a click operation on any virtual item.
[0035] Step 202: If the virtual items owned by the virtual object include a useless virtual item, discard suggestion information is displayed, where the useless virtual item refers to a virtual item that cannot be used by the virtual object.
[0036] Optionally, after receiving the first operation, the terminal determines whether the virtual object has any useless virtual items by detecting virtual items owned by the virtual object, and displays discard suggestion information if the virtual object owns any useless virtual items.
[0037] In this embodiment, the useless virtual item may refer to a virtual item that cannot be directly used by a virtual object, such as virtual ammunition, virtual medicine, etc., or may refer to a virtual item that cannot be used by other virtual items of the virtual object, such as a virtual item that cannot be used by a virtual weapon owned by the virtual object (for example, a virtual accessory that does not match any virtual weapon), but this is not limited to this in the embodiment of the present application. In particular, useless may refer to "useless" or "unnecessary."
[0038] The discard presentation information is used to indicate whether or not useless virtual items are included in the virtual items possessed by the virtual object, and if useless virtual items are included, the discard presentation information is used to indicate that there are useless virtual items that can be discarded, and if no useless virtual items are included, the discard presentation information is used to indicate that there are no useless virtual items that can be discarded.
[0039] In one possible implementation, the item management control can be used to realize the disposal of useless virtual items. For example, the above-mentioned useless virtual items may refer to virtual items that cannot be used by a virtual weapon owned by a virtual object, such as virtual ammunition, virtual accessories, etc., or may refer to virtual items that cannot be used by a virtual object, such as virtual supplies, etc. The user can use the item management control to trigger the terminal to determine these useless virtual items and discard these useless virtual items.
[0040] In one possible implementation, the terminal can first determine the item type of the virtual item. If the virtual item is virtual ammunition or a virtual accessory, the terminal can then determine whether the virtual ammunition or the virtual accessory is a useless virtual item. If the virtual ammunition or the virtual accessory cannot be used by any virtual item owned by the virtual object, the terminal can determine that the virtual ammunition or the virtual accessory is a useless virtual item and can discard it. If the virtual item is not virtual ammunition or a virtual accessory, the terminal can then not make any determination about the virtual item, i.e., it can be considered a useful virtual item, and a useful virtual item may refer to a virtual item used by a virtual character.
[0041] In one possible implementation, when a virtual item is a useless virtual item, the terminal can display a useless indicator in a display frame corresponding to the useless virtual item to inform the user that the virtual item is a useless virtual item. Optionally, the terminal can switch the useless virtual item to a selected state at the same time as marking the useless virtual item, and the user can switch the selected useless virtual item to an unselected state to cancel the discarding of the useless virtual item, which is advantageous for improving the flexibility of discarding useless virtual items.
[0042] In one possible implementation method, when the first operation on the received item management control satisfies a first condition and the virtual items owned by the virtual object include an unnecessary virtual item, the terminal displays disposal suggestion information to remind the user to control the virtual object to discard the unnecessary virtual item.
[0043] Optionally, the first condition may be set based on an operation parameter of the first operation, for example, the first condition may be that the duration of the first operation reaches a corresponding time threshold, or that the operation force of the first operation reaches a corresponding force threshold, but the embodiment of the present application is not limited thereto.
[0044] For example, as shown in FIG. 3, when the first operation satisfies the first condition and the virtual items owned by the virtual object 301 include a useless virtual item, discard suggestion information 303 is displayed.
[0045] Step 203: When the first operation is completed, the virtual object is controlled to discard the unnecessary virtual item that it owns.
[0046] The end of the first operation may refer to the user stopping the operation on the item management control. For example, if the first operation is a long press operation, the terminal can determine that the first operation has ended in response to the user stopping the long press on the item management control.
[0047] In one possible implementation, when the first operation is completed, the terminal controls the virtual object to discard any useless virtual items it owns, thereby realizing direct disposal of useless virtual items when no virtual items are selected. That is, the first operation can simultaneously trigger the determination, selection and disposal of useless virtual items, eliminating the need to manually determine, select and discard each useless virtual item one by one, thereby effectively improving the efficiency of disposal of useless virtual items.
[0048] Optionally, the useless virtual items discarded by the virtual object may be all useless virtual items currently owned by the virtual object, or may be only a portion of useless virtual items, for example, useless virtual items that have not been used by the virtual object within a predetermined period of time, although the embodiments of the present application are not limited thereto.
[0049] For example, as shown in FIG. 3, when the first operation is completed, the terminal controls the virtual object 301 to discard all useless virtual items that it owns.
[0050] In summary, in the embodiment of the present application, when a virtual item is not selected, when the terminal device receives a first operation on the item management control, if the virtual items owned by the virtual object include useless virtual items, discard suggestion information is displayed, and when the first operation is completed, the virtual object is controlled to discard the useless virtual items it owns. This allows the user to select and discard multiple useless virtual items in one go by simply operating the item management control once, and eliminates the need to select and discard useless virtual items one by one, thereby shortening the time required to discard useless virtual items owned by the virtual object and improving the efficiency of discarding useless virtual items.
[0051] In one possible implementation manner, the terminal can set a corresponding item management control in a corresponding interface, or reuse other controls in the interface as item management controls, so as to quickly discard useless virtual items owned by virtual objects in different interfaces.
[0052] In one possible implementation manner, the terminal may set the item management control in the backpack interface as a discard control, or may reuse the backpack control in the main interface as an item management control.
[0053] Please refer to Figure 4, which is a flowchart of a method for discarding a virtual item provided in another exemplary embodiment of the present application. In this embodiment, the method is described as being used in the first terminal 110 or the second terminal 130 in the implementation environment shown in Figure 1 or other terminals in the implementation environment, for example, a client running on the first terminal 110 or the second terminal 130 or other terminals, and the method includes the following steps: Step 401: When no virtual item is selected in the backpack interface, a first operation on a discard control in the backpack interface is received.
[0054] The backpack interface may refer to a user interface opened by a backpack control in the main interface, which may be used to display virtual items currently owned by a virtual object. The main interface may also refer to a user interface for displaying a virtual environment screen, which may refer to a screen in which the virtual character observes the virtual environment using the camera model. In some embodiments, after a virtual object obtains a virtual backpack item, the terminal may activate a backpack control to allow the virtual object to use the virtual backpack item, and the user interface corresponding to the virtual backpack item is a backpack interface. Optionally, each virtual backpack item has a corresponding predetermined backpack capacity, i.e., a maximum number of virtual items that can be stored. The backpack capacity of a virtual backpack item is positively correlated with the virtual backpack's grade, and each virtual item has a predetermined item weight, which can occupy a predetermined backpack capacity, and the item weight corresponds one-to-one with the backpack capacity.
[0055] In one possible implementation, when displaying a backpack interface, the terminal can determine the disposal control in the backpack interface as an item management control, in which all virtual items owned by the virtual object are displayed in the backpack interface. When no virtual item is selected in the backpack interface, the terminal can receive a first operation performed by the user on the disposal control in the backpack interface. When no virtual item is selected in the backpack interface, this may refer to when the user has not selected any virtual item displayed in the backpack interface. The disposal control can be used to trigger the selection and disposal of unnecessary virtual items.
[0056] Optionally, the first operation may be a long press operation on the discard control, or may be a gesture operation on the discard control, but the embodiment of the present application is not limited thereto.
[0057] For example, as shown in FIG. 5 , the terminal displays a backpack interface 501, and when the user has not selected a virtual item in the backpack interface 501, in response to the user's long press operation on the discard control 503, the terminal receives the user's long press operation on the discard control 503 in the backpack interface 501.
[0058] Step 402: When no virtual item is selected, receive a first operation on the backpack control in the main interface, where the first operation is different from the trigger operation on the backpack control when checking the backpack interface.
[0059] In one possible implementation, when displaying the main interface, the terminal can reuse the backpack control in the main interface as an item management control, where the main interface displays the virtual environment and virtual objects, so that when no virtual item is selected, the terminal can receive the first operation performed by the user on the backpack control in the main interface, that is, the backpack control can not only be used to open the backpack interface, but also serve as an item management control to manage the virtual items owned by the virtual character.
[0060] Optionally, the first operation is different from the user's trigger operation on the backpack control when checking the backpack interface. For example, when a click operation on the backpack control is received, the terminal can open the backpack interface to enable the user to check the backpack interface. Therefore, the first operation can be set as an operation method other than a click operation, such as a double-click operation, a long press operation, a gesture operation, etc., but this is not limited to the embodiments of the present application.
[0061] For example, as shown in FIG. 6 , the terminal displays a main interface 601, and when the user has not selected a virtual item, in response to the user's long press operation on the backpack control 603, the terminal receives the user's long press operation on the backpack control 603 in the main interface 601.
[0062] Optionally, the above-mentioned step 401 and step 402 may be two parallel steps, and both may exist alone or in combination, that is, the terminal can obtain the first operation regardless of whether it performs step 401 or step 402.
[0063] Step 403: If the operation parameters of the first operation satisfy the second condition and the virtual items owned by the virtual object do not include any useless virtual items, display first presentation information, which is used to indicate that the virtual items do not include any useless virtual items.
[0064] In one possible implementation manner, when a virtual item is not selected, a first operation is directly received from the item management control, and there may be no useless virtual items among the virtual items owned by the virtual object, that is, there is no need to realize the disposal of useless virtual items through the first operation. In order to promptly notify the user that there are no useless virtual items among the virtual items owned by the virtual object, when the operation parameters of the first operation satisfy the second condition but do not satisfy the first condition and there are no useless virtual items among the virtual items owned by the virtual object, the terminal displays a first prompt message, which is used to inform the user that the virtual items do not include useless virtual items.
[0065] In this embodiment, the operation parameters may include at least one of the following: operation duration and operation force. The second condition may be set based on the operation parameters. Optionally, the second condition may be that the duration of the first operation reaches a corresponding time threshold, and the time threshold is smaller than the time threshold corresponding to the first condition, or that the operation force of the first operation reaches a corresponding force threshold, and the force threshold is smaller than the force threshold corresponding to the first condition, but the embodiment of the present application is not limited thereto.
[0066] For example, as shown in FIG. 5, when the user presses and holds the discard control 503 for two seconds and the virtual items owned by the virtual object 502 do not include any useless virtual items, the terminal displays first presentation information 504 to indicate to the user that there are currently no useless virtual items.
[0067] For example, as shown in FIG. 6, when the user presses and holds the backpack control 603 for two seconds and the virtual items owned by the virtual object 602 do not include any useless virtual items, the terminal displays first presentation information 604 to notify the user that there are currently no useless virtual items.
[0068] Step 404: If the operation parameters of the first operation satisfy the second condition and the virtual items owned by the virtual object include a useless virtual item, display second presentation information, which is used to indicate that the virtual items include a useless virtual item.
[0069] In one possible implementation manner, when the virtual items owned by the virtual object include useless virtual items, after the terminal receives a first operation on the item management control, it will promptly notify the user that the virtual items currently owned by the virtual object include useless virtual items, and in order to realize the disposal of the useless virtual items through the first operation, the terminal can display second prompting information when the first operation satisfies a second condition but does not satisfy the first condition, in which the second prompting information is used to inform the user that the virtual items include useless virtual items, and the disposal of the useless virtual items can be realized by continuously triggering the first operation.
[0070] For example, as shown in FIG. 5, when the user presses and holds the discard control 503 for two seconds and the virtual items owned by the virtual object 502 include a useless virtual item, the terminal displays second presentation information 505 to notify the user that a useless virtual item is currently present.
[0071] For example, as shown in FIG. 6, when the user presses and holds the backpack control 603 for two seconds and the virtual items owned by the virtual object 602 include a useless virtual item, the terminal displays second presentation information 605 to notify the user that a useless virtual item is currently present.
[0072] Optionally, step 403 and step 404 are two parallel steps, ie only one of them can be triggered at the same time.
[0073] Step 405: If the first operation is not completed and the first condition is not satisfied, display a progress bar on the item management control, which is used to indicate the operation progress of the first operation.
[0074] In one possible implementation manner, after displaying the second prompting message, in order to more specifically show the user the progress of the first operation, if the first operation is not completed and the first condition is not satisfied, the terminal can display a progress bar on the item management control to indicate the progress of the first operation using the progress bar.
[0075] Optionally, the representation form of the progress bar may be determined based on the shape of the item management control; for example, if the item management control is circular, the representation form of the progress bar may be a circle surrounding the item management control, or if the item management control is cylindrical, the representation form of the progress bar may be a cylindrical shape filling the item management control, but the embodiments of the present application are not limited to this.
[0076] For example, as shown in FIG. 5, after the terminal displays the second prompt message, if the user's long press operation on the discard control 503 has not ended and the long press operation has not reached 5 seconds (i.e., the first condition), the terminal will display a progress bar 507 on the discard control 503 to indicate to the user the progress of the first operation.
[0077] For example, as shown in FIG. 6 , if the user's long press on the backpack control 603 has not finished and has not lasted for 5 seconds after the terminal displays the second prompt message, the terminal will display a progress bar 607 on the backpack control 603 to indicate to the user the progress of the first operation.
[0078] Step 406: Adjust the indicated progress of the progress bar based on the operation progress of the first operation, where the indicated progress has a positive correlation with the operation progress.
[0079] In one possible implementation manner, the terminal presents the operation progress of the first operation to the user through the indicated progress of a progress bar, that is, simultaneously adjusts the indicated progress of the progress bar according to the operation progress of the first operation, and the indicated progress has a positive correlation with the operation progress.
[0080] Optionally, the operation progress can be expressed as operation time length, i.e., the instruction progress is positively correlated with the operation time length of the first operation, or can be expressed as operation force, i.e., the instruction progress is positively correlated with the operation force of the first operation.
[0081] Illustratively, as shown in FIG. 5, the indicated progress of progress bar 507 is positively correlated with the length of time a user presses and holds on discard control 503 .
[0082] Illustratively, as shown in FIG. 6, the indicated progress of progress bar 607 is positively correlated with the length of time a user presses and holds backpack control 603 .
[0083] Step 407: If the operation parameters of the first operation satisfy the first condition and the virtual items owned by the virtual object include a useless virtual item, display discard prompting information, and the operation parameters include at least one of an operation time length and an operation force.
[0084] Optionally, the operation parameters of the first operation may include at least one of an operation duration and an operation force. For example, if the first operation is a long press operation, the operation parameters of the first operation may be expressed as the duration of the long press operation or the operation force of the long press operation. Correspondingly, the first condition may be a first duration or a first force. The first duration or the first force can be set and adjusted according to usage needs, but is not limited thereto in the embodiments of the present application. If the operation parameters of the first operation satisfy the first condition, the useless virtual item is discarded. This allows the user to perform the first operation according to their own needs, thereby effectively reducing the probability that the user will unintentionally trigger the first operation and improving the rationality of discarding the useless virtual item.
[0085] In one possible implementation manner, when the operation time length of the first operation reaches a first time length and the virtual items owned by the virtual object include a useless virtual item, the terminal displays disposal prompting information to prompt the user to control the virtual object to discard the useless virtual item.
[0086] In one possible implementation manner, when the operating force of the first operation reaches a first force and the virtual items owned by the virtual object include a useless virtual item, the terminal displays discard prompting information to prompt the user to control the virtual object to discard the useless virtual item.
[0087] For example, as shown in FIG. 5, when the user presses and holds the discard control 503 for 5 seconds and the virtual items owned by the virtual object 502 include a useless virtual item, discard prompting information 506 is displayed to prompt the user to control the virtual object to discard the useless virtual item.
[0088] For example, as shown in FIG. 6, when the user presses and holds the backpack control 603 for 5 seconds and the virtual items owned by the virtual object 602 include an unnecessary virtual item, discard prompting information 606 is displayed to prompt the user to control the virtual object to discard the unnecessary virtual item.
[0089] Step 408: When the first operation is completed, the discard quantity and discard type of the useless virtual items are determined based on the useless virtual items owned by the virtual object.
[0090] The discard quantity refers to the number of useless virtual items to be discarded, and the discard type refers to the type of useless virtual items to be discarded.
[0091] In one possible implementation manner, virtual items owned by a virtual object are obtained based on the relevant operation in the virtual environment of the virtual object, and the useless virtual items currently owned by the virtual object may be needed later in the process of the virtual object performing the operation, or other virtual objects belonging to the same camp as the virtual object may need the useless virtual items. Therefore, when the first operation is completed, the terminal first determines the number and type of useless virtual items to be discarded based on the useless virtual items currently owned by the virtual object, so as to avoid needing the useless virtual items again after discarding them.
[0092] In one possible implementation manner, when the first operation is completed, the terminal sorts the useless virtual items based on the item attributes of the useless virtual items currently owned by the virtual object and the past item usage of the virtual object to obtain a first sorting result, and can determine the number and type of useless virtual items to be discarded based on the first sorting result.
[0093] Optionally, the item attributes may include at least one of an item quantity and an item value.
[0094] In one possible implementation, to avoid needing useless virtual items again after discarding them, the terminal can set a quantity lower limit for each useless virtual item, that is, the terminal can discard only a portion of the useless virtual items that is greater than the quantity lower limit, and not discard all of the useless virtual items. Optionally, the quantity lower limit can be preset by the user before the game, or can be directly set by the user based on the current game situation by displaying a quantity setting control after the first operation is completed. In this way, after the first operation is completed, the terminal can reserve a predetermined number of useless virtual items by determining the discard quantity and discard type of the useless virtual items based on the quantity lower limit.
[0095] In one possible implementation manner, because different virtual items have different item values in the virtual environment, if a virtual item cannot be used by a virtual weapon currently owned by a virtual object or cannot be used by a virtual object, but the item value of the virtual item is higher than a predetermined threshold, the terminal may not discard the useless virtual item.
[0096] In one possible implementation manner, if a virtual item cannot be used by a virtual weapon currently owned by a virtual object, or cannot be used by a virtual object, but based on the virtual object's past item usage status, it is found that the virtual item is a virtual item that the virtual object uses relatively frequently, the terminal may not discard the useless virtual item.
[0097] In one possible implementation manner, the terminal may comprehensively sort each useless virtual item based on the current remaining quantity and item value of each useless virtual item and the past item usage frequency of each useless virtual item, and determine the useless virtual items whose sorting priority is lower than a predetermined threshold as useless virtual items waiting to be discarded, or may reserve a predetermined quantity of each useless virtual item whose sorting priority is lower than a predetermined threshold and then determine the remaining part as useless virtual items waiting to be discarded.
[0098] For example, the terminal may first sort the useless virtual items based on item attributes to obtain an initial sorting result (including removing some useless virtual items that do not need to be discarded), and then adjust the initial sorting result based on past item usage (e.g., move the sorting position of useless virtual items that have been used forward) to obtain a first sorting result. For example, the client may determine a sorting priority for each useless virtual item based on item attributes and past item usage, and then sort the useless virtual items in order of "highest to lowest" sorting priority to obtain a first sorting result.
[0099] Optionally, the type of useless virtual item in the first sorting result whose sorting priority is lower than a predetermined threshold is determined as the discard type, and the quantity of useless virtual items in the first sorting result whose sorting priority is lower than a predetermined threshold is determined as the discard quantity.
[0100] Step 409: Control the virtual object to discard the useless virtual items it owns based on the discard quantity and discard type.
[0101] Furthermore, after determining the discard quantity and discard type of the useless virtual items, the terminal controls the virtual object to discard the useless virtual items corresponding to the discard quantity and discard type.
[0102] In the above embodiment, the terminal places the item management control on the backpack interface and the main interface respectively, thereby realizing the disposal of useless virtual items through different interfaces, and places a progress bar on the item management control, which can promptly show the user the operation progress of the first operation, thereby improving the display effect of the item management control.
[0103] In addition, by determining the quantity and type of useless virtual items to be discarded based on the item attributes of the useless virtual items currently owned by the virtual object and the past item usage of the virtual object, it is possible to avoid a situation where the useless virtual items are needed after being discarded but no longer available, thereby realizing the appropriate amount of useless virtual items to be discarded and improving the efficiency of discarding useless virtual items.
[0104] In one possible implementation, during the process of the virtual object picking up an item, the terminal displays a pick-up list window, and the terminal can also provide an item management control in the pick-up list window to prevent the virtual object from being unable to pick up the current virtual item due to the useless virtual items owned by the virtual object occupying the item capacity.
[0105] Please refer to Figure 7, which is a flowchart of a method for discarding a virtual item provided in another exemplary embodiment of the present application. In this embodiment, the method is described as being used in the first terminal 110 or the second terminal 130 in the implementation environment shown in Figure 1 or other terminals in the implementation environment, for example, a client running on the first terminal 110 or the second terminal 130 or other terminals, and the method includes the following steps: Step 701: When a virtual item in the pickup list window is not selected, a first operation on a first control in the pickup list window is received.
[0106] The pickup list window can be used to display pickable virtual items that the virtual object has found. For example, when the virtual object approaches an item waiting to be picked up on the virtual ground, the terminal automatically displays the pickup list window, and the item waiting to be picked up is displayed in the pickup list window. Also, for example, in response to a user's open operation on an item bag (or item box), the terminal displays the pickup list window, and at least one item waiting to be picked up in the item bag is displayed in the pickup list window.
[0107] In one possible implementation manner, the terminal can set a first control in the pickup list window as an item management control, and the first control can be a newly added disposal control, or can reuse the backpack control for opening the backpack interface in the pickup list window, but the embodiments of the present application are not limited thereto.
[0108] In one possible implementation manner, after displaying the pickup list window, if the user does not select a virtual item in the pickup list window, the terminal receives a first operation on a first control in the pickup list window from the user.
[0109] Optionally, the first operation may be a long press operation on the first control, or may be a gesture operation on the first control, but the embodiment of the present application is not limited thereto.
[0110] For example, as shown in FIG. 8 , the terminal displays a pickup list window 801, and when the user has not selected a virtual item in the pickup list window 801, the terminal receives a long press operation on the backpack control 802 in the pickup list window 801 from the user in response to the user's long press operation on the backpack control 802.
[0111] Step 702: If the operation parameters of the first operation satisfy the second condition and the virtual items owned by the virtual object do not include any useless virtual items, display first presentation information, which is used to indicate that the virtual items do not include any useless virtual items.
[0112] Step 703: If the operation parameters of the first operation satisfy the second condition and the virtual items owned by the virtual object include a useless virtual item, display second presentation information, which is used to indicate that the virtual items include a useless virtual item.
[0113] Step 704: If the first operation is not completed and the first condition is not satisfied, display a progress bar on the item management control, which is used to indicate the operation progress of the first operation.
[0114] Step 705: Adjust the indicated progress of the progress bar based on the operation progress of the first operation, where the indicated progress has a positive correlation with the operation progress.
[0115] Step 706: If the operation parameters of the first operation satisfy the first condition and the virtual items owned by the virtual object include a useless virtual item, display discard prompting information, and the operation parameters include at least one of an operation time length and an operation force.
[0116] For the specific implementation method of steps 702 to 706, reference can be made to steps 403 to 407, and detailed description thereof will be omitted in this embodiment.
[0117] Step 707: When the first operation is completed, the discard quantity and discard type of the useless virtual items are determined based on the useless virtual items owned by the virtual object and the virtual items present in the pickup list window.
[0118] In one possible implementation, the virtual items owned by the virtual object are obtained based on the relevant operations in the virtual environment of the virtual object. The useless virtual items currently owned by the virtual object may be needed later in the process of the virtual object performing the operation, or other virtual objects belonging to the same faction as the virtual object may need the useless virtual items. In addition, among the virtual items in the pick-up list window, those required by the virtual object or those used more frequently may need to be picked up after the virtual object discards its own useless virtual items. Therefore, when the first operation is completed, the terminal first determines the discard quantity and discard type of the useless virtual items based on the useless virtual items currently owned by the virtual object and the virtual items in the pick-up list window, so as to avoid the useless virtual items being needed again after being discarded, and ensure that the useful virtual items in the pick-up list window can be picked up.
[0119] In one possible implementation manner, when the first operation is completed, the terminal sorts the useless virtual items based on the item attributes of the useless virtual items owned by the virtual object, the item attributes of the virtual items present in the pick-up list window, and the past item usage of the virtual object to obtain a second sorting result, and can determine the quantity and type of the useless virtual items to be discarded based on the second sorting result.
[0120] Optionally, the item attributes include at least one of an item quantity and an item value.
[0121] In one possible implementation, to avoid needing useless virtual items again after discarding them, the terminal can set a lower quantity limit for each useless virtual item, i.e., the terminal can discard only a portion of the useless virtual items that is greater than the lower quantity limit, rather than discarding all of the useless virtual items, i.e., determine the portion of the useless virtual items that is greater than the lower quantity limit as the discard quantity. Optionally, the lower quantity limit can be preset by the user before the game, or can be directly set by the user based on the current game situation by displaying a quantity setting control after the first operation is completed. In this way, after the first operation is completed, the terminal can reserve a predetermined number of useless virtual items by determining the discard quantity and discard type of the useless virtual items based on the lower quantity limit.
[0122] In one possible implementation manner, because the item values of different virtual items in the virtual environment are different, if a virtual item cannot be used by a virtual weapon currently owned by a virtual object or cannot be used by a virtual object, but the item value of the virtual item is higher than a predetermined threshold, the terminal may not discard the useless virtual item, i.e., the terminal determines the number and type of useless virtual items other than the useless virtual item that do not need to be discarded as the discard quantity and discard type.
[0123] In one possible implementation manner, if a virtual item cannot be used by a virtual weapon currently owned by a virtual object or cannot be used by a virtual object, but based on the virtual object's past item usage status, it is found that the virtual item is a virtual item that the virtual object uses relatively frequently, the terminal does not need to discard the useless virtual item, i.e., the terminal determines the number and type of useless virtual items other than the useless virtual item that do not need to be discarded as the discard number and discard type.
[0124] In one possible implementation manner, when the virtual items in the pickup list window include useful virtual items required by the virtual object or virtual items that are used relatively frequently by the virtual object, in order to allow the virtual object to pick up as many virtual items as possible after discarding the useless virtual items, the terminal can determine the discard quantity and discard type of the useless virtual items based on the useless virtual items currently owned and the useful virtual items waiting to be picked up in the pickup list window. For example, the terminal can first determine the capacity of the items corresponding to the useful virtual items waiting to be picked up in the pickup list window, and then discard the useless virtual items corresponding to the capacity of the items based on the capacity of the items.
[0125] For example, the terminal first sorts the useless virtual items in the backpack based on their item attributes to obtain an initial sorting result, and then adjusts the initial sorting result based on past item usage (e.g., moves the sorting position of useless virtual items that have been used forward) to obtain a transient sorting result. The transient sorting result does not include useless virtual items that do not need to be discarded, as determined based on item attributes and past item usage. Finally, based on the useful virtual items waiting for pickup in the pickup list window, the terminal determines whether the transient sorting result satisfies the conditions for useful virtual items to be picked up. If so, the terminal determines the transient sorting result as a second sorting result. The quantity and type of each useless virtual item in the second sorting result are the discard quantity and discard type that can be discarded.
[0126] Step 708: Based on the discard quantity and discard type, the virtual object is controlled to discard the useless virtual items it owns.
[0127] For the specific implementation of this step, please refer to step 409, and the detailed description will be omitted here.
[0128] In the above embodiment, an item management control is set in the pickup list window, which allows a user to first discard useless virtual items owned by a virtual object before controlling the virtual object to pick up a virtual item, thereby improving the pickup rate of useful virtual items in the current pickup list window that the virtual object picks up.
[0129] In addition, by determining the quantity and type of useless virtual items to be discarded based on the item attributes of the useless virtual items owned by the virtual object, the item attributes of the virtual items present in the pickup list window, and the past item usage status of the virtual object, it is possible to realize the appropriate amount of disposal of useless virtual items and improve the efficiency of disposal of useless virtual items.
[0130] In one possible implementation manner, when there is a virtual supply item in the displayed pickup list window, the terminal can directly control the virtual object to use the corresponding virtual supply item by arranging a use control in the display frame corresponding to the virtual supply item in the pickup list window, without first needing to pick up the virtual supply item and put it into a backpack. The process may include the following steps: 1: When there is a virtual supply item in the pick-up list window, a use control is displayed in the display frame corresponding to the virtual supply item, and the use control is used to realize the direct use of the virtual supply item.
[0131] Among them, the virtual supplies are used to supply the virtual object, for example, to restore the life value, stamina value, etc. The embodiments of the present application do not limit the shape and size of the control, which can be set and adjusted according to the needs of use.
[0132] In one possible implementation manner, when a virtual supply exists in the pick-up list window, the terminal displays a use control in the display frame corresponding to the virtual supply, so that the virtual supply can be directly used through the use control.
[0133] In one possible implementation manner, since different virtual supplies have different supply functions, in order to improve the efficiency of determining which virtual supplies a virtual object should use, the terminal determines a target virtual supply suitable for the virtual object in the pickup list window based on the supply type to which the virtual supply belongs and the current object attributes of the virtual object, and can display a usage control in a display frame corresponding to the target virtual supply, thereby achieving the effect of suggesting the user to use the target virtual supply. For example, when a virtual supply exists in the pickup list window, the terminal first determines the supply type to which the virtual supply belongs, then determines a target virtual supply suitable for the virtual object based on the supply type and the object attributes of the virtual object, and finally displays a usage control in a display frame corresponding to the target virtual supply, so that the virtual object can directly use it.
[0134] Optionally, the object attribute of the virtual object may be a life value, an energy value, etc. of the virtual object, and the embodiment of the present application is not limited thereto.
[0135] By way of example, supply types for the virtual supplies may include energy drinks, med kits, med packs, bandages, painkillers, adrenaline, and the like.
[0136] In one illustrative example, when the current energy value of the virtual object is less than 100 and an energy drink is present in the pick-up list window, the terminal may display a usage control in a display pane corresponding to the energy drink.
[0137] For example, as shown in FIG. 9 , when a virtual supply item 902 is present in a pickup list window 901, and a virtual object detects that it needs to use the virtual supply item 902, a use control 903 is displayed in the display frame corresponding to the virtual supply item 902 so that the virtual object can use it directly.
[0138] 2: Control the virtual object to use the virtual supplies in response to a second operation on the use control.
[0139] In one possible implementation, when receiving a second operation from the user on the use control, the terminal controls the virtual object to use the virtual supplies.
[0140] Optionally, the second operation is used to trigger the control to be used, for example, the second operation may be a single click operation, a double click operation, a long press operation, etc. on the control to be used, but the embodiments of the present application are not limited thereto.
[0141] For example, as shown in FIG. 9, in response to a user's click operation on a use control 903, the terminal controls the virtual object to use a virtual supply 902.
[0142] In the above embodiment, by displaying a usage control in the display frame of the virtual supplies in the pickup list window, it is possible to directly control the virtual object to quickly use the virtual supplies when the virtual supplies are not added to the backpack, thereby improving the efficiency of using the virtual supplies.
[0143] Please refer to FIG. 10, which is a flowchart of the determination of useless virtual items provided in one exemplary embodiment of the present application.
[0144] Step 1001: Start.
[0145] Step 1002: Determine whether the virtual item is virtual ammunition or a virtual accessory.
[0146] The terminal determines the virtual item currently owned by the virtual object, determines whether the virtual item is virtual ammunition or a virtual accessory, and proceeds to step 1003 if the virtual item is not virtual ammunition or a virtual accessory, and proceeds to step 1004 if the virtual item is virtual ammunition or a virtual accessory.
[0147] Step 1003: Determine that the virtual item is not a useless virtual item.
[0148] If the virtual item is not a virtual ammunition or a virtual accessory, the terminal determines that the virtual item is not a useless virtual item.
[0149] Step 1004: Determine whether the virtual ammunition or virtual accessory is a virtual item used by the virtual weapon.
[0150] If the virtual item is virtual ammunition or a virtual accessory, the terminal continues to determine whether the virtual ammunition or the virtual accessory is a virtual item used by a virtual weapon, and if the virtual item is a virtual item used by a virtual weapon, proceeds to step 1005; if the virtual item is not a virtual item used by a virtual weapon, proceeds to step 1006.
[0151] Step 1005: Determine that the virtual item is not a useless virtual item.
[0152] If the virtual item is a virtual item used by a virtual weapon, the terminal determines that the virtual item is not a useless virtual item.
[0153] Step 1006: Determine that the virtual item is a useless virtual item.
[0154] If the virtual item is not a virtual item used by a virtual weapon, the terminal determines that the virtual item is a useless virtual item.
[0155] Please refer to FIG. 11, which is a flowchart of the quick disposal of useless virtual items in a backpack interface provided in one exemplary embodiment of the present application.
[0156] Step 1101: A long press operation on the discard control is received.
[0157] The device receives a long press (signal) performed by the user on the discard control in the backpack interface.
[0158] Step 1102: Determine whether the virtual object owns a useless virtual item.
[0159] The terminal determines whether the virtual object owns a useless virtual item, and if the virtual object does not own a useless virtual item, proceeds to step 1103, and if the virtual object owns a useless virtual item, proceeds to step 1104.
[0160] Step 1103: The first presented information is displayed.
[0161] The terminal displays first presentation information to notify the user that no useless virtual items currently exist.
[0162] Step 1104: The second presentation information and the progress bar are displayed.
[0163] The terminal displays second notification information to notify the user that a useless virtual item is currently present, and displays a progress bar to indicate to the user the duration of the long press operation.
[0164] Step 1105: It is determined that the long press operation has reached 0.4 seconds.
[0165] The terminal determines that the long press operation satisfies the first condition, i.e., reaches 0.4 seconds.
[0166] Step 1106: Disposal suggestion information is displayed.
[0167] The terminal displays discard prompting information, prompting the user to end the long press operation and discard the useless virtual item.
[0168] Step 1107: It is determined whether the long press operation has ended.
[0169] The terminal determines whether the long press operation has ended, and if so, proceeds to step 1109, and if not, proceeds to step 1108.
[0170] Step 1108: End.
[0171] Step 1109: Control the virtual object to discard the useless virtual item.
[0172] When the long press operation is finished, the terminal controls the virtual object to discard the useless virtual item.
[0173] Please refer to FIG. 12, which is a flowchart of the quick disposal of useless virtual items in the main interface provided in one exemplary embodiment of the present application.
[0174] Step 1201: A long press operation on the backpack control is received.
[0175] The device receives a user long press on a backpack control in the main interface.
[0176] Step 1202: Determine whether the virtual object owns a useless virtual item.
[0177] The terminal determines whether the virtual object owns a useless virtual item, and if the virtual object does not own a useless virtual item, proceeds to step 1203, and if the virtual object owns a useless virtual item, proceeds to step 1204.
[0178] Step 1203: The first presented information is displayed.
[0179] The terminal displays first presentation information to notify the user that no useless virtual items currently exist.
[0180] Step 1204: The second presentation information and the progress bar are displayed.
[0181] The terminal displays second prompting information to inform the user that a useless virtual item is currently present, and displays a progress bar to indicate to the user the operation time length of the long press operation.
[0182] Step 1205: It is determined that the long press operation has reached 0.4 seconds.
[0183] The terminal determines that the long press operation satisfies the first condition, i.e., reaches 0.4 seconds.
[0184] Step 1206: Disposal suggestion information is displayed.
[0185] The terminal displays discard prompting information to prompt the user to end the long press operation and discard the useless virtual item.
[0186] Step 1207: It is determined whether the long press operation has ended.
[0187] The terminal determines whether the long press operation has ended, and if so, proceeds to step 1209, and if not, proceeds to step 1208.
[0188] Step 1208: End.
[0189] Step 1209: Control the virtual object to discard the useless virtual item.
[0190] When the long press operation is finished, the terminal controls the virtual object to discard the useless virtual item.
[0191] Reference is now made to FIG. 13, which is a flowchart of the rapid use of virtual supplies provided in one exemplary embodiment of the present application.
[0192] Step 1301: A pickup list window is displayed, and virtual supplies exist in the pickup list window.
[0193] The terminal displays a pick-up list window in which the virtual supplies reside.
[0194] Step 1302: Determine the supply type of the virtual supply.
[0195] The terminal determines the supply type of the virtual supply and determines the next step based on the supply type.
[0196] Step 1303: Determine that the virtual supply is a medical kit.
[0197] Step 1304: It is determined whether the energy value of the virtual object is less than 80.
[0198] The terminal determines whether the energy value of the virtual object is smaller than 80, and if the energy value is smaller than 80, proceeds to step 1306, and if the energy value is 80 or greater, proceeds to step 1305.
[0199] Step 1305: Do not display the use control.
[0200] Step 1306: Display the usage control.
[0201] Step 1307: Determine that the virtual supply is an energy drink.
[0202] Step 1308: It is determined whether the energy value of the virtual object is less than 100.
[0203] The terminal determines whether the energy value of the virtual object is less than 100, and if the energy value is less than 100, proceeds to step 1310, and if the energy value is 100 or greater, proceeds to step 1309.
[0204] Step 1309: Do not display the use control.
[0205] Step 1310: Display the usage control.
[0206] Step 1311: It is determined whether or not a click operation has been performed on the control in use.
[0207] The terminal determines whether a click operation on a control in use has occurred, and if a click operation on a control in use has occurred, the terminal proceeds to step 1313, and if a click operation on a control in use has not occurred, the terminal proceeds to step 1312.
[0208] Step 1312: End.
[0209] Step 1313: Control the virtual object to use the corresponding virtual supply.
[0210] When there is a click operation on the use control, the terminal controls the virtual object to use the corresponding virtual supply.
[0211] Please refer to Figure 14, which is a block diagram of a virtual item disposal device provided in one exemplary embodiment of the present application. The device includes:
[0212] an operation receiving module 1401 for receiving (receiving) a first operation for an item management control when a virtual item is not selected, the item management control being used to trigger management of a virtual item owned by a virtual object; a first display module 1402 for displaying discard suggestion information when the virtual items owned by the virtual object include a useless virtual item, the useless virtual item being a virtual item that cannot be used by the virtual object; and First control module 1403: For controlling the virtual object to discard the useless virtual item it owns when the first operation is completed.
[0213] Optionally, the item management controls include at least one of the following: a discard control in a backpack interface, a backpack control in the main interface, and a first control in a pickup list window.
[0214] The operation receiving module 1401 includes: a first receiving unit: receiving a first operation on the discard control in the backpack interface when the virtual item in the backpack interface is not selected; or A second receiving unit: when the virtual item is not selected, receives a first operation on the backpack control in the main interface, the first operation being different from the trigger operation on the backpack control when checking the backpack interface; or A third receiving unit: receives a first operation on the first control in the pickup list window when the virtual item in the pickup list window is not selected.
[0215] Optionally, the item management control is one of the disposal control and the backpack control.
[0216] The first control module 1403 includes: a first determination unit: when the first operation is completed, determining the discard quantity and discard type of the useless virtual items according to the useless virtual items owned by the virtual object; and A first control unit controls the virtual object to discard the useless virtual items it owns based on the discard quantity and the discard type.
[0217] Optionally, the first determining unit: When the first operation is completed, sort the useless virtual items based on item attributes of the useless virtual items and past item usage of the virtual objects to obtain a first sorting result, wherein the item attributes include at least one of an item quantity and an item value; and The discard quantity and the discard type of the useless virtual items are determined based on the first sorting result.
[0218] Optionally, the item management control is the first control.
[0219] The first control module 1403 includes: A second determination unit: when the first operation is completed, determines the discard quantity and discard type of the useless virtual items according to the useless virtual items owned by the virtual object and the virtual items present in the pickup list window; and A second control unit controls the virtual object to discard the useless virtual items it owns based on the discard quantity and the discard type.
[0220] Optionally, the second determining unit: When the first operation is completed, sort the useless virtual items based on the item attributes of the useless virtual items, the item attributes of the virtual items present in the pickup list window, and the past item usage of the virtual objects to obtain a second sorting result, wherein the item attributes include at least one of an item quantity and an item value; and The discard quantity and the discard type of the useless virtual items are determined based on the second sorting result.
[0221] Optionally, the item management control is the first control.
[0222] The apparatus further comprises: A second display module: when a virtual supply exists in the pick-up list window, displays a use control in a display frame corresponding to the virtual supply, and the use control is used to realize direct use of the virtual supply; and A second control module controls the virtual object to use the virtual supplies in response to a second operation on the use control.
[0223] Optionally, the second display module: If the virtual supply exists in the pickup list window, determining a supply type to which the virtual supply belongs; determining a target virtual supply suitable for the virtual object based on the supply type and object attributes of the virtual object; and It is used to display the usage control in the display pane corresponding to the target virtual supply item.
[0224] Optionally, the first display module 1402: The operation parameters of the first operation are used to display the disposal suggestion information when the operation parameters satisfy the first condition and the useless virtual item is included in the virtual items owned by the virtual object, and the operation parameters include at least one of the operation time length and the operation force.
[0225] Optionally, before displaying the disposal suggestion information, the device further comprises: a third display module: when the operation parameter of the first operation satisfies a second condition and the virtual items owned by the virtual object do not include the useless virtual item, displaying first presentation information, the first presentation information being used to indicate that the virtual items do not include the useless virtual item; and Fourth display module: When the operation parameters of the first operation satisfy the second condition and the virtual items owned by the virtual object include the useless virtual item, displays second presentation information, and the second presentation information is used to indicate that the virtual items include the useless virtual item.
[0226] Optionally, after displaying the second presentation information, the device further includes: a fifth display module: when the first operation is not completed and the first condition is not satisfied, displaying a progress bar on the item management control, the progress bar being used to indicate the operation progress of the first operation; and An adjusting module: adjusts an indication progress of the progress bar based on the operation progress of the first operation, and the indication progress is positively correlated with the operation progress.
[0227] In summary, in the embodiment of the present application, when a virtual item is not selected, when the terminal device receives a first operation on the item management control, if the virtual items owned by the virtual object include useless virtual items, discard suggestion information is displayed, and when the first operation is completed, the virtual object is controlled to discard the useless virtual items it owns. This allows the user to select and discard multiple useless virtual items in one go by simply operating the item management control once, and eliminates the need to select and discard useless virtual items one by one, thereby shortening the time required to discard useless virtual items owned by the virtual object and improving the efficiency of discarding useless virtual items.
[0228] Although the device provided in the above-mentioned embodiments is described by taking the division of each of the above-mentioned functional modules as an example, in actual applications, the above-mentioned functions may be assigned to different functional modules according to needs, that is, all or part of the above-mentioned functions may be achieved by dividing the internal structure of the device into different functional modules. Furthermore, the device provided in the above-mentioned embodiments belongs to the same concept as the method embodiments, and its implementation process may refer to the method embodiments, and detailed description thereof will be omitted here.
[0229] 15, which is a block diagram of a terminal 1500 provided in one exemplary embodiment of the present application. The terminal 1500 may be a portable mobile terminal, such as a smartphone, a tablet computer, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, etc. Note that the terminal 1500 may also have other names, such as user equipment, mobile terminal, etc.
[0230] Generally, the terminal 1500 includes a processor 1501 and a memory 1502 .
[0231] The processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1501 may be implemented in the form of at least one hardware component selected from the group consisting of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 1501 may include a main processor and a coprocessor. The main processor is a processor for processing active data and is also referred to as a central processing unit (CPU), and the coprocessor is a low-power processor for processing standby data. In some embodiments, the processor 1501 is integrated with a graphics processing unit (GPU), which is used to render and draw content that needs to be displayed on a display screen. In some embodiments, the processor 1501 further includes an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0232] The storage 1502 may include one or more computer-readable storage media, which may be tangible and non-transitory. The storage 1502 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disks, flash memory, etc. In some embodiments, the non-transitory computer-readable storage medium included in the storage 1502 is used to store at least one instruction that is executed by the processor 1501 to implement the method for discarding a virtual item provided in the embodiments of the present application.
[0233] In some embodiments, terminal 1500 may optionally further include a peripheral interface 1503 and at least one peripheral.
[0234] The peripheral interface 1503 may be used to connect at least one peripheral device related to input / output (I / O) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502, and the peripheral interface 1503 are integrated on the same chip or circuit board, and in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral interface 1503 may be implemented on a single chip or circuit board, although this embodiment is not limited thereto.
[0235] As will be appreciated by those skilled in the art, the configuration shown in FIG. 15 is not limiting of terminal 1500, which may include more or fewer components than those shown, or may combine these components, or may employ different component arrangements.
[0236] In an embodiment of the present application, a computer-readable storage medium is further provided, which stores at least one program, and the at least one program is loaded and executed by a processor to realize the method for discarding a virtual item described in each of the above-mentioned embodiments.
[0237] According to another aspect of the present application, there is further provided a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium, the computer instructions being read by a processor of a terminal from the computer-readable storage medium, and the processor executing the computer instructions, causing the terminal to implement the virtual item disposal method provided in the selectable implementation manner of each of the above aspects.
[0238] Furthermore, the embodiments of the present application may display a presentation interface or a pop-up window or output audio prompts before and during the process of collecting user-related data. The presentation interface, output, or audio prompts are used to notify the user that the relevant data is currently being collected. Therefore, the present application executes the relevant steps of acquiring user-related data only after the user confirms the presentation interface or pop-up window; otherwise (i.e., when the user does not confirm the presentation interface or pop-up window), the relevant steps of acquiring user-related data are terminated, i.e., the user-related data is not acquired. In other words, all user data collected by the present application will be processed in strict accordance with the requirements of the laws and regulations of relevant countries and regions. Informed consent or individual consent from personal information subjects can only be obtained with the user's consent and permission, and the subsequent use and processing of data will be within the scope of law and the personal information subject's permission. Furthermore, the collection, use, and processing of relevant user data must comply with the relevant laws, regulations, and standards of relevant countries and regions. For example, the first operation, second operation, user interface, virtual environment, virtual object, etc., related to the present application are all obtained with full authorization.
[0239] Furthermore, as will be appreciated by those skilled in the art, the functions described in the embodiments of the present application in one or more of the above examples may be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions may be stored on a computer-readable storage medium or transferred as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, of which communication media may include any medium convenient for transferring a computer program from one place to another. Storage media may be any available medium accessible by a general-purpose or special-purpose computer.
[0240] Although the preferred embodiment of the present application has been described above, the present application is not limited to this embodiment, and any modification to the present application falls within the technical scope of the present application as long as it does not depart from the spirit of the present application.
Claims
1. A method for discarding a virtual item executed by a terminal device, comprising: receiving a first operation on an item management control when no virtual item is selected, the item management control being used to trigger management of virtual items owned by the virtual object; A step of displaying discard suggestion information when the virtual items owned by the virtual object include a useless virtual item, the useless virtual item being a virtual item that cannot be used by the virtual object; and The method includes a step of controlling the virtual object to discard the useless virtual item that it owns when the first operation is completed.
2. 2. The method of claim 1, the item management controls include at least one of a discard control in a backpack interface, a backpack control in a main interface, and a first control in a pickup list window; The step of receiving a first operation on an item management control when the virtual item is not selected includes: receiving a first operation on the discard control in the backpack interface when the virtual item in the backpack interface is not selected; or receiving a first operation on the backpack control in the main interface when the virtual item is not selected, the first operation being different from a trigger operation on the backpack control to check the backpack interface; or The method includes receiving a first operation on the first control in the pickup list window when the virtual item in the pickup list window is not selected.
3. 3. The method of claim 2, the item management control is one of the disposal control and the backpack control; the step of controlling the virtual object to discard the useless virtual item owned by the virtual object when the first operation is completed, When the first operation is completed, determining the discard quantity and discard type of the useless virtual items based on the useless virtual items owned by the virtual object; and The method includes a step of controlling the virtual object to discard the useless virtual items it owns based on the discard quantity and the discard type.
4. 4. The method of claim 3, When the first operation is completed, the step of determining the discard quantity and discard type of the useless virtual items based on the useless virtual items owned by the virtual object includes: When the first operation is completed, sorting the useless virtual items based on item attributes of the useless virtual items and past item usage of the virtual objects to obtain a first sorting result, wherein the item attributes include at least one of an item quantity and an item value; and The method includes determining the discard quantity and the discard type of the useless virtual items based on the first sorting result.
5. 3. The method of claim 2, the item management control is the first control; the step of controlling the virtual object to discard the useless virtual item owned by the virtual object when the first operation is completed, When the first operation is completed, determining the discard quantity and discard type of the useless virtual items based on the useless virtual items and the virtual items present in the pickup list window; and The method includes a step of controlling the virtual object to discard the useless virtual items it owns based on the discard quantity and the discard type.
6. 6. The method of claim 5, When the first operation is completed, the step of determining the discard quantity and discard type of the useless virtual items based on the useless virtual items and the virtual items present in the pickup list window includes: When the first operation is completed, sorting the useless virtual items based on the item attributes of the useless virtual items, the item attributes of the virtual items present in the pickup list window, and the past item usage of the virtual objects to obtain a second sorting result, wherein the item attributes include at least one of an item quantity and an item value; and The method includes determining the discard quantity and the discard type of the useless virtual items based on the second sorting result.
7. 3. The method of claim 2, the item management control is the first control; The method further comprises: When a virtual supply exists in the pickup list window, displaying a use control in a display frame corresponding to the virtual supply, the use control being used to realize direct use of the virtual supply; and The method includes controlling the virtual object to use the virtual supplies in response to a second operation on the use control.
8. 8. The method of claim 7, When a virtual supply item is present in the pickup list window, the step of displaying a use control in a display frame corresponding to the virtual supply item includes: determining a supply type to which the virtual supply item belongs when the virtual supply item exists in the pickup list window; determining a target virtual supply appropriate for the virtual object based on the supply type and object attributes of the virtual object; and The method includes displaying the usage control in the display pane corresponding to the target virtual supply item.
9. 9. A method according to any one of claims 1 to 8, comprising: When the virtual items owned by the virtual object include a useless virtual item, the step of displaying discard suggestion information includes: The method includes a step of displaying the discard suggestion information when operation parameters of the first operation satisfy a first condition and the useless virtual item is included in the virtual items owned by the virtual object, the operation parameters including at least one of an operation time length and an operation force.
10. 10. The method of claim 9, Before displaying the disposal suggestion information, the method further comprises: displaying first presentation information when an operation parameter of the first operation satisfies a second condition and the virtual items owned by the virtual object do not include the useless virtual item, the first presentation information being used to indicate that the virtual items do not include the useless virtual item; and When an operation parameter of the first operation satisfies the second condition and the virtual items owned by the virtual object include the useless virtual item, displaying second presentation information, the second presentation information being used to indicate that the virtual items include the useless virtual item.
11. 11. The method of claim 10, After displaying the second presentation information, the method further comprises: If the first operation is not completed and the first condition is not satisfied, displaying a progress bar on the item management control, the progress bar being used to indicate the operation progress of the first operation; and adjusting an indicated progress of the progress bar based on the operation progress of the first operation, wherein the indicated progress is positively correlated with the operation progress.
12. 1. A device for discarding virtual items, comprising: an operation receiving module for receiving a first operation on an item management control when a virtual item is not selected, the item management control being used to trigger management of a virtual item owned by the virtual object; a first display module for displaying discard suggestion information when the virtual items owned by the virtual object include a useless virtual item, the useless virtual item being a virtual item that cannot be used by the virtual object; and a first control module for controlling the virtual object to discard the useless virtual item owned by the virtual object when the first operation is completed;
13. A terminal device including a processor and a storage device connected to the processor, The storage device stores a computer program, A terminal device, wherein the processor is configured to execute the computer program to implement the method according to any one of claims 1 to 8.
14. A program for causing a computer to carry out the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Information processing method and device, storage medium and electronic equipment
CN113559507A
Processing method and device for props in game, electronic equipment and readable medium
CN114159783A
Game program, game processing method and information processing apparatus
JP2014226405A
Game system, item arrangement method, and program
JP2018167037A
Game system, game program, and information processing method
JP7085053B1