WO2024109377A1 - 虚拟道具的丢弃方法、装置、终端及存储介质 - Google Patents

虚拟道具的丢弃方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2024109377A1
WO2024109377A1 PCT/CN2023/124258 CN2023124258W WO2024109377A1 WO 2024109377 A1 WO2024109377 A1 WO 2024109377A1 CN 2023124258 W CN2023124258 W CN 2023124258W WO 2024109377 A1 WO2024109377 A1 WO 2024109377A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
useless
props
discard
prop
Prior art date
Application number
PCT/CN2023/124258
Other languages
English (en)
French (fr)
Inventor
王子奕
田聪
崔维健
叶成豪
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2024109377A1 publication Critical patent/WO2024109377A1/zh

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen

Definitions

  • the embodiments of the present application relate to the field of human-computer interaction technology, and more particularly to a method, device, terminal and storage medium for discarding virtual props.
  • First-Person Shooting game is an application based on a three-dimensional virtual environment. Users can 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 to collaboratively complete a task in the same virtual environment.
  • the embodiment of the present application provides a method, device, terminal and storage medium for discarding virtual props, which can shorten the time of discarding useless virtual props owned by virtual objects and improve the discarding efficiency of useless virtual props.
  • the technical solution is as follows:
  • an embodiment of the present application provides a method for discarding a virtual item, the method being executed by a terminal device, and the method comprising:
  • the virtual items owned by the virtual object include useless virtual items, displaying discard prompt information, wherein the useless virtual items refer to virtual items that cannot be used by the virtual object;
  • the virtual object is controlled to discard the useless virtual item.
  • an embodiment of the present application provides a device for discarding a virtual item, the device comprising:
  • An operation receiving module used for receiving a first operation on a prop management control when no virtual prop is selected, wherein the prop management control is used for triggering management of virtual props owned by a virtual object;
  • a first display module configured to display a discard prompt message when the virtual props owned by the virtual object include useless virtual props, wherein the useless virtual props refer to virtual props that cannot be used by the virtual object;
  • the first control module is used to control the virtual object to discard the useless virtual props when the first operation is completed.
  • an embodiment of the present application provides a terminal device, which includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the method for discarding virtual props as described in the above aspects.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the method for discarding virtual props as described in the above aspects.
  • an embodiment of the present application provides a computer program product, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the terminal device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal device executes the method for discarding virtual props provided in the above aspect.
  • the terminal device receives a first operation on the prop management control, then if the virtual props owned by the virtual object include useless virtual props, a discard prompt message is displayed, and then when the first operation is completed, the virtual object is controlled to discard the useless virtual props, so that the user only needs to perform a one-time operation on the prop management control to select and discard multiple useless virtual props at one time, without having to select and discard useless virtual props one by one, thereby shortening the time for discarding useless virtual props owned by the virtual object, and thereby improving the efficiency of discarding useless virtual props.
  • FIG1 is a schematic diagram showing an implementation environment provided by an embodiment of the present application.
  • FIG2 shows a flow chart of a method for discarding virtual props provided by an exemplary embodiment of the present application
  • FIG3 shows a schematic diagram of quickly discarding useless virtual props provided by an exemplary embodiment of the present application
  • FIG4 shows a flow chart of a method for discarding virtual props provided by another exemplary embodiment of the present application.
  • FIG5 is a schematic diagram showing a method of quickly discarding useless virtual props in a backpack interface provided by an exemplary embodiment of the present application
  • FIG6 is a schematic diagram showing a method of quickly discarding useless virtual props in a main interface provided by an exemplary embodiment of the present application
  • FIG7 shows a flow chart of a method for discarding virtual props provided by another exemplary embodiment of the present application.
  • FIG8 is a schematic diagram showing a method of quickly discarding useless virtual props in a pick list window provided by an exemplary embodiment of the present application
  • FIG9 is a schematic diagram showing a quick use of virtual supplies in a pick list window provided by an exemplary embodiment of the present application.
  • FIG10 shows a flowchart of determining useless virtual props provided by an exemplary embodiment of the present application
  • FIG11 shows a flowchart of quickly discarding useless virtual props in a backpack interface provided by an exemplary embodiment of the present application
  • FIG12 shows a flowchart of quickly discarding useless virtual props in a main interface provided by an exemplary embodiment of the present application
  • FIG13 shows a flowchart of quickly using virtual supplies provided by an exemplary embodiment of the present application.
  • FIG14 is a structural block diagram of a device for discarding virtual props provided by an exemplary embodiment of the present application.
  • FIG. 15 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • FIG1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • the implementation environment can be implemented as a computer system 100 , which can include: a first terminal 110 , a server 120 , and a second terminal 130 .
  • the first terminal 110 runs a client of an application 111 supporting a virtual environment.
  • the application 111 can be any one of a multiplayer online tactical competitive (MOBA) game and a simulation game (SLG).
  • MOBA multiplayer online tactical competitive
  • SSG simulation game
  • the application 111 is taken as an example of a first-person shooting game (FPS).
  • the first terminal 110 is a terminal used by a first user 112.
  • the first user 112 uses the first terminal 110 to control a first virtual object located in a virtual environment to perform activities.
  • the first virtual object can be referred to as the main control virtual object of the first user 112.
  • the activities of the first virtual object include but are not limited to: adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and releasing skills.
  • the first virtual object is a first virtual character, such as a simulated character or an animated character.
  • the terminal in the embodiment of the present application can also be referred to as a terminal device.
  • a client of an application 131 supporting a virtual environment is running in the second terminal 130.
  • the second terminal 130 runs the application 131
  • a user interface of the application 131 is displayed on the screen of the second terminal 130.
  • the client may be a MOBA
  • the second terminal 130 is a terminal used by a second user 132.
  • the second user 132 uses the second terminal 130 to control a second virtual object in a virtual environment to perform activities.
  • the second virtual object can be referred to as a master virtual character of the second user 132.
  • the second virtual object is a second virtual character, such as a simulated character or an animated character.
  • the first virtual object and the second virtual object are in the same virtual world.
  • the first virtual object and the second virtual object may belong to the same camp, the same team, the same organization, have a friend relationship, or have temporary communication permissions.
  • the first virtual object and the second virtual object may belong to different camps, different teams, different organizations, or have a hostile relationship.
  • the applications installed on the first terminal 110 and the second terminal 130 are the same, or the applications installed on the two terminals are the same type of applications on different operating system platforms (Android or IOS).
  • the server 120 may be connected to multiple terminals, the first terminal 110 may refer to one of the multiple terminals, and the second terminal 130 may refer to another of the multiple terminals. This embodiment only takes the first terminal 110 and the second terminal 130 as an example.
  • the device types of the first terminal 110 and the second terminal 130 are the same or different, and the device types include: at least one of a smart phone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop, an intelligent robot, a vehicle-mounted terminal, and a desktop computer.
  • MP3 Moving Picture Experts Group Audio Layer III
  • MP4 Moving Picture Experts Group Audio Layer IV
  • terminals Only two terminals are shown in FIG1 , but in different embodiments, there are multiple other terminals that can access the server 120.
  • terminals there are one or more terminals corresponding to developers, on which a development and editing platform for applications supporting virtual environments is installed. Developers can edit and update applications on the terminals, and transmit the updated application installation package to the server 120 via a wired or wireless network.
  • the first terminal 110 and the second terminal 130 can download the application installation package from the server 120 to update the application.
  • 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.
  • the server 120 includes 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 for applications that support a three-dimensional virtual environment.
  • the server 120 undertakes the main computing work and the terminal undertakes the secondary computing work; or, the server 120 undertakes the secondary computing work and the terminal undertakes the main computing work; or, the server 120 and the terminal adopt a distributed computing architecture for collaborative computing.
  • the server 120 includes a memory 121, a processor 122, a user account database 123, a battle service module 124, and a user-oriented 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 data of user accounts used by the first terminal 110, the second terminal 130 and other terminals, such as the user account's avatar, the user account's nickname, the user account's combat power index, and the service area where the user account is located;
  • the battle service module 124 is used to provide multiple battle rooms for users to fight, such as 1V1 battle, 3V3 battle, 5V5 battle, etc.;
  • the user-oriented I/O interface 125 is used to establish communication and exchange data with the first terminal 110 and/or the second terminal 130 through a wireless network or a wired network.
  • FIG. 2 shows a flowchart of a method for discarding virtual items provided by an exemplary embodiment of the present application.
  • This embodiment is described by taking the method used in the first terminal 110 or the second terminal 130 or other terminals in the implementation environment shown in FIG. 1 as an example, such as a client running in the first terminal 110 or the second terminal 130 or other terminals, and the method includes the following steps:
  • Step 201 When no virtual props are selected, a first operation on a prop management control is received, where the prop management control is used to trigger management of virtual props owned by a virtual object.
  • the virtual object refers to the user's main control object in the virtual environment, that is, the user can control the virtual object to move in the virtual environment, such as the first virtual object and the second virtual object mentioned above.
  • the virtual object may refer to a virtual character corresponding to the application.
  • the virtual object may be at least one of a virtual person, a virtual animal, a cartoon character, a virtual vehicle, and a virtual animal.
  • the virtual environment is a three-dimensional environment in which a virtual object is located in a virtual world during the operation of an application in a terminal, and can be used for activities of the virtual object.
  • the virtual environment is observed through a camera model.
  • the camera model automatically follows the virtual character in the virtual world, that is, when the position of the virtual object in the virtual world changes, the camera model changes simultaneously with the position of the virtual object in the virtual world, and the camera model is always within a preset distance range of the virtual object in the virtual world.
  • the relative position of the camera model and the virtual object does not change.
  • the camera model refers to a three-dimensional model located around the virtual object in the virtual world.
  • the camera model is located near the head of the virtual object or at the head of the virtual object;
  • the camera model can be located behind the virtual object and bound to the virtual object, or can be located at any position at a preset distance from the virtual object.
  • the virtual object located in the virtual world can be observed from different angles.
  • the camera model is located behind the virtual object (such as the head and shoulders of the virtual object).
  • the perspective also includes other perspectives, such as a bird's-eye view; when the bird's-eye view is adopted, the camera model can be located above the head of the virtual object, and the bird's-eye view is a perspective of observing the virtual world from an aerial perspective.
  • the camera model will not be actually displayed in the virtual world, that is, the camera model is not displayed in the virtual world displayed in the user interface.
  • the prop management control is used to trigger the management of virtual props owned by the virtual object.
  • the virtual object may acquire virtual props by picking them up in the virtual environment, by receiving them as gifts from other virtual objects in the same camp, or by receiving them from the system when completing a system task. This is not limited to the embodiments of the present application.
  • Virtual props refer to props used by virtual objects provided by the application.
  • the virtual props can be simulated props, fictional props, or semi-simulated and semi-fictional props.
  • the virtual props can include virtual ammunition, virtual accessories, virtual chips, virtual medicines, etc., which are not limited in the present application.
  • the virtual object since the number of virtual props that a virtual object can possess and store in a virtual environment is limited, the virtual object needs to manage the virtual props it possesses, such as using, donating, discarding, etc. Different from the related art, in which the corresponding virtual prop needs to be selected first before the management of the virtual prop can be realized, in the embodiment of the present application, when the virtual prop is not selected, the terminal can receive the first operation on the prop management control to realize the management of the virtual prop.
  • the first operation may be a long press operation, a gesture operation, a voice control operation, etc., which is not limited in the present embodiment.
  • the terminal device has a touch screen
  • the user can use the touch screen to perform the first operation on the item management control in the user interface.
  • the terminal when the user has not selected any virtual props, in response to the user performing a first operation on the management control 302, the terminal receives the user's first operation on the prop management control 302.
  • the prop management control 302, triggered by the first operation, can be used to manage the virtual props owned by the virtual object 301.
  • the situation where the virtual prop is not selected may mean that the user has not switched the virtual prop to the selected state through operation, such as the user can select the virtual prop by clicking operation, and the situation where the virtual prop is not selected may mean that the user has not clicked on any virtual prop to select the virtual prop.
  • Step 202 Display a discard prompt message when the virtual props owned by the virtual object include useless virtual props.
  • the useless virtual props refer to virtual props that cannot be used by the virtual object.
  • the terminal after receiving the first operation, the terminal detects the virtual props owned by the virtual object to determine whether the virtual object has useless virtual props, and displays a discard prompt message if the virtual object has useless virtual props.
  • useless virtual props may refer to virtual props that cannot be used directly by virtual objects, such as virtual ammunition, virtual medicine, etc.; useless virtual props may also refer to virtual props that cannot be used by virtual objects through other virtual props, such as virtual props that cannot be used by virtual weapons owned by virtual objects (such as virtual accessories that do not match the owned virtual weapons), which is not limited in this embodiment of the application. Among them, useless may mean useless and unnecessary.
  • the discard prompt information is used to indicate whether the virtual props owned by the virtual object include useless virtual props. If there are useless virtual props, the discard prompt information is used to indicate that there are useless virtual props that can be discarded; if there are no useless virtual props, the discard prompt information is used to indicate that there are useless virtual props that can be discarded. In this case, the discard prompt information is used to indicate that there are no useless virtual props to be discarded.
  • the prop management control can be used to discard useless virtual props.
  • the useless virtual props can refer to virtual props used by virtual weapons that cannot be owned by virtual objects, such as virtual ammunition, virtual accessories, etc., or virtual props that cannot be used by virtual objects, such as virtual supplies, etc.
  • the user triggers the terminal to identify these useless virtual props through the prop management control and discard them.
  • the terminal may first determine the item type of the virtual item.
  • the terminal may further 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 virtual ammunition or the virtual accessory is determined to be a useless virtual item and may be discarded.
  • the terminal does not determine the virtual item, that is, it is assumed to be a useful virtual item.
  • the useful virtual item may refer to a virtual item used by a virtual character.
  • the terminal may display a useless mark in a display box corresponding to the useless virtual prop to prompt the user that the virtual prop is a useless virtual prop.
  • the terminal may switch the useless virtual prop to a selected state, and the user may switch the useless virtual prop in the selected state to an unselected state, thereby canceling the discarding of the useless virtual prop, which is conducive to improving the flexibility of discarding useless virtual props.
  • the terminal displays a discard prompt message to remind the terminal user to control the virtual object to discard the useless virtual props.
  • the first condition may be set according to the operation parameters of the first operation.
  • the first condition may be that the duration of the first operation reaches a corresponding duration threshold, or that the operation strength of the first operation reaches a corresponding strength threshold, which is not limited in the present embodiment.
  • a discard prompt message 303 is displayed.
  • Step 203 When the first operation is finished, the virtual object is controlled to discard the useless virtual props.
  • the first operation ends may mean that the user stops operating the item management control.
  • the terminal may determine that the first operation ends.
  • the terminal when the first operation is completed, can control the virtual object to discard the useless virtual props it owns, thereby realizing the direct discarding of useless virtual props without selecting virtual props, that is, the judgment, selection and discarding of useless virtual props can be triggered simultaneously through the first operation, without the need for manual judgment, selection and discarding of useless virtual props one by one, thereby effectively improving the discarding efficiency of useless virtual props.
  • the useless virtual props discarded by the virtual object may be all useless virtual props currently owned by the virtual object, or may be part of the useless virtual props, such as useless virtual props that have not been used by the virtual object for a period of time, which is not limited in this embodiment of the present application.
  • the terminal controls the virtual object 301 to discard all useless virtual props.
  • the terminal device receives the first operation on the prop management control, then if the virtual props owned by the virtual object include useless virtual props, a discard prompt message is displayed, and then when the first operation is completed, the virtual object is controlled to discard the useless virtual props it owns, so that the user only needs to perform a one-time operation on the prop management control to select and discard multiple useless virtual props at one time, without having to select and discard useless virtual props one by one, thereby shortening the time for discarding useless virtual props owned by the virtual object and improving the efficiency of discarding useless virtual props.
  • the terminal in order to be able to perform unused virtual props owned by virtual objects on different interfaces, Quick discard, the terminal can set the corresponding prop management control in the corresponding interface, or reuse other controls in the interface as prop management controls.
  • the terminal may set the item management control as a discard control in the backpack interface, or may reuse the backpack control as the item management control in the main interface.
  • FIG. 4 shows a flowchart of a method for discarding virtual props provided by another exemplary embodiment of the present application.
  • This embodiment is described by taking the method used in the first terminal 110 or the second terminal 130 or other terminals in the implementation environment shown in FIG. 1 as an example, such as a client running in 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 in the backpack interface is selected, a first operation on a discard control in the backpack interface is received.
  • 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 props currently owned by a virtual object.
  • the main interface may refer to a user interface for displaying a virtual environment screen, which may refer to a screen obtained by observing a virtual environment for a virtual character through the camera model.
  • the terminal activates the backpack control so that the virtual object can use the virtual backpack prop, and the user interface corresponding to the virtual backpack prop is the backpack interface.
  • the virtual backpack prop corresponds to a certain backpack capacity, that is, there is an upper limit on the number of virtual props that can be stored.
  • the backpack capacity of the virtual backpack prop is positively correlated with the level of the virtual backpack.
  • Each virtual prop has a certain prop weight, which will occupy a certain backpack capacity, and the prop weight corresponds to the backpack capacity in a one-to-one ratio.
  • the terminal may determine the discard control in the backpack interface as a prop management control, wherein the backpack interface displays all virtual props owned by the virtual object, so that when the virtual prop in the backpack interface is not selected, the terminal may receive the user's first operation on the discard control in the backpack interface.
  • the situation where the virtual prop in the backpack interface is not selected may mean that the user has not selected any virtual prop displayed in the backpack interface.
  • the discard control can be used to trigger the selection and discarding of useless virtual props.
  • the first operation may be a long press operation on the discard control, or a gesture operation on the discard control, etc., which is not limited in the embodiment of the present application.
  • the terminal displays a backpack interface 501 .
  • the terminal receives the long press operation of the user on the discard control 503 in the backpack interface 501 .
  • Step 402 when no virtual item is selected, receiving a first operation on a backpack control in the main interface, the first operation being different from a triggering operation on the backpack control when viewing the backpack interface.
  • the terminal when the main interface is displayed, the terminal can reuse the backpack control in the main interface as a prop management control, wherein the main interface displays a virtual environment and virtual objects, so that when no virtual props are selected, the terminal receives the user's first operation 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 can be used as a prop management control to manage the virtual props owned by the virtual character.
  • the first operation is different from the user's triggering operation on the backpack control when viewing the backpack interface.
  • the terminal can open the backpack interface to enable the user to view the backpack interface.
  • the first operation can be set to other operation methods other than the click operation, such as a double-click operation, a long press operation, a gesture operation, etc.
  • the embodiment of the present application is not limited to this.
  • the terminal displays a main interface 601 .
  • the terminal receives the long press operation of the user on the backpack control 603 in the main interface 601 .
  • step 401 and step 402 may be two parallel steps, and the two may exist separately or in combination, that is, no matter whether step 401 or step 402 is executed, the terminal may obtain the first operation.
  • Step 403 When the operation parameters of the first operation meet the second condition and the virtual props owned by the virtual object do not include useless virtual props, display a first prompt message, wherein the first prompt message is used to indicate that the virtual props do not include useless virtual props. Use virtual props.
  • the terminal displays a first prompt message, and the first prompt message is used to indicate to the user that the virtual props do not contain useless virtual props.
  • the operation parameters may include at least one of the following: operation duration and operation strength.
  • the second condition may also be set according to the operation parameters.
  • the second condition may be that the duration of the first operation reaches a corresponding duration threshold, and the duration threshold is less than the duration threshold corresponding to the first condition, or the operation strength of the first operation reaches a corresponding strength threshold, and the strength threshold is less than the strength threshold corresponding to the first condition, which is not limited in this embodiment of the present application.
  • the terminal displays a first prompt message 504 to prompt the user that there are currently no useless virtual props.
  • the terminal displays a first prompt message 604 to prompt the user that there are currently no useless virtual props.
  • Step 404 if the operation parameter of the first operation satisfies the second condition and the virtual props owned by the virtual object include useless virtual props, display second prompt information, wherein the second prompt information is used to indicate that the virtual props include useless virtual props.
  • the useless virtual props can be discarded through the first operation.
  • the terminal can display a second prompt message when the first operation satisfies the second condition but does not satisfy the first condition, wherein the second prompt message is used to indicate to the user that the virtual props include useless virtual props, and continuing to trigger the first operation can discard the useless virtual props.
  • the terminal displays a second prompt message 505 to prompt the user that there are currently useless virtual props.
  • the terminal displays a second prompt message 605 to prompt the user that there are currently useless virtual props.
  • step 403 and step 404 are two parallel steps, that is, only one of them can be triggered at the same time.
  • Step 405 When the first operation is not completed and the first condition is not met, a progress bar is displayed on the prop management control, where the progress bar is used to indicate the operation progress of the first operation.
  • the terminal may indicate the operation progress of the first operation by displaying a progress bar on the prop management control.
  • the appearance of the progress bar can be determined according to the shape of the prop management control.
  • the appearance of the progress bar can be a circle surrounding the prop management control; if the prop management control is columnar, the appearance of the progress bar can be a column that fills the prop management control. This embodiment of the present application is not limited to this.
  • 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 (that is, the first condition), the terminal displays a progress bar 507 on the discard control 503 to indicate the operation progress of the first operation to the user.
  • the terminal displays the second prompt message
  • the user long presses the backpack control 603. If the operation is not completed and the long press operation does not reach 5 seconds, the terminal displays a progress bar 607 on the backpack control 603 to indicate the operation progress of the first operation to the user.
  • Step 406 Based on the operation progress of the first operation, adjust the indicated progress of the progress bar, where the indicated progress is positively correlated with the operation progress.
  • the terminal prompts the user of the operation progress of the first operation through the indicated progress of the progress bar, that is, based on the operation progress of the first operation, the indicated progress of the progress bar is adjusted at the same time, and the indicated progress is positively correlated with the operation progress.
  • the operation progress may be expressed as operation duration, that is, the indicated progress is positively correlated with the operation duration of the first operation; or may be expressed as operation strength, that is, the indicated progress is positively correlated with the operation strength of the first operation.
  • the indicated progress of the progress bar 507 is positively correlated with the long press duration of the user's long press operation on the discard control 503 .
  • the indicated progress of the progress bar 607 is positively correlated with the long press duration of the user's long press operation on the backpack control 603 .
  • Step 407 When the operation parameters of the first operation meet the first condition and the virtual props owned by the virtual object include useless virtual props, a discard prompt message is displayed, and the operation parameters include at least one of operation duration and operation strength.
  • the operation parameters of the first operation may include at least one of the operation duration and the operation strength.
  • the operation parameters of the first operation may be expressed as the duration of the long press operation or the operation strength of the long press operation.
  • the first condition may be the first duration or the first strength.
  • the first duration or the first strength may be set and adjusted according to the use requirements, which is not limited in the embodiments of the present application. The useless virtual props are discarded only when the operation parameters of the first operation meet the first condition, so that the user performs the first operation according to his own needs, effectively avoiding the probability of the user accidentally triggering the first operation, thereby improving the rationality of discarding useless virtual props.
  • the terminal displays a discard prompt message to prompt the user to control the virtual object to discard the useless virtual props.
  • the terminal displays a discard prompt message to prompt the user to control the virtual object to discard the useless virtual props.
  • a discard prompt message 506 is displayed to prompt the user to control the virtual object to discard the useless virtual props.
  • a discard prompt message 606 is displayed to prompt the user to control the virtual object to discard the useless virtual props.
  • Step 408 when the first operation is finished, based on the useless virtual props owned by the virtual object, determine the discard quantity and discard type of the useless virtual props.
  • the discard quantity refers to the quantity of useless virtual items to be discarded
  • the discard type refers to the type of useless virtual items to be discarded.
  • the terminal can first determine the discarded number and discard type of useless virtual props based on the useless virtual props currently owned by the virtual object, so as to avoid the need for the useless virtual props again after the useless virtual props are discarded.
  • the terminal may sort the useless virtual props based on the prop attributes of the useless virtual props currently owned by the virtual object and the historical prop usage of the virtual object.
  • a first sorting result is obtained, and based on the first sorting result, the discarded quantity and discarded type of useless virtual props are determined.
  • the prop attributes may include at least one of the prop quantity and the prop value.
  • the terminal in order to avoid the need for the useless virtual props again after discarding them, can set a lower limit on the number of each useless virtual prop, that is, the terminal only discards the useless virtual props that exceed the lower limit, but does not discard all the useless virtual props.
  • the lower limit can be pre-set by the user before the game, or can be directly set by the user based on the current game situation by displaying the quantity setting control after the first operation. Then, after the first operation is completed, the terminal determines the discarded quantity and discard type of useless virtual props based on the lower limit, thereby reserving a certain number of useless virtual props.
  • the terminal may not discard the useless virtual prop.
  • the terminal may not discard the useless virtual prop.
  • the terminal may comprehensively sort the useless virtual props according to the current remaining quantity and prop value of each useless virtual prop, as well as the historical prop usage frequency of each useless virtual prop, and determine the useless virtual props with a sorting priority lower than a threshold as useless virtual props to be discarded, or retain a certain number of various useless virtual props with a sorting priority lower than the threshold, and determine the excess parts as useless virtual props to be discarded.
  • the terminal can first sort the useless virtual props according to the prop attributes to obtain a preliminary sorting result (including removing some useless virtual props that do not need to be discarded), and then adjust the preliminary sorting result according to the historical prop usage (such as moving the sorting position of the useless virtual props that have been used forward) to obtain the first sorting result.
  • the client can determine the sorting priority of each useless virtual prop according to the prop attributes and the historical prop usage, and then sort the useless virtual props in descending order of sorting priority to obtain the first sorting result.
  • the type of useless virtual items whose sorting priority is lower than a threshold in the first sorting result is determined as the discard type, and the number of useless virtual items whose sorting priority is lower than a threshold in the first sorting result is determined as the discard number.
  • Step 409 Based on the discard quantity and discard type, control the virtual object to discard the useless virtual props.
  • the terminal controls the virtual object to discard the useless virtual props corresponding to the discarded quantity and discarded type.
  • the terminal sets prop management controls in the backpack interface and the main interface respectively, thereby realizing the discarding of useless virtual props in different interfaces, and by setting a progress bar on the prop management control, it can promptly display the operation progress of the first operation to the user, thereby increasing the display effect of the prop management control.
  • the terminal displays a pick-up list window.
  • the terminal may also set an item management control in the pick-up list window.
  • FIG. 7 shows a flowchart of a method for discarding virtual items provided by another exemplary embodiment of the present application.
  • This embodiment is described by taking the method used in the first terminal 110 or the second terminal 130 or other terminals in the implementation environment shown in FIG. 1 as an example, such as a client running in the first terminal 110 or the second terminal 130 or other terminals, and the method includes the following steps:
  • Step 701 receiving a first operation on a first control in the pick list window when no virtual prop in the pick list window is selected.
  • the pick list window can be used to display virtual props that the virtual object has discovered and can pick up. For example, when the virtual object is close to a prop to be picked up on the virtual ground, the terminal automatically displays a pick list window, and the pick list window displays the prop to be picked up. For another example, in response to the user's opening operation on a prop bag (or prop box), the terminal displays a pick list window, and the pick list window displays at least one prop to be picked up in the prop bag.
  • the terminal may set a first control in the pick list window as an item management control.
  • the first control may be a newly set discard control or a backpack control in the reused pick list window for opening the backpack interface. This embodiment of the application is not limited to this.
  • the terminal receives a first operation of the user on a first control in the pick list window.
  • the first operation may be a long press operation on the first control, or a gesture operation on the first control, etc., which is not limited in the embodiment of the present application.
  • the terminal displays a pick list window 801 .
  • the terminal receives the long press operation of the user on the backpack control 802 in the pick list window 801 .
  • Step 702 When the operation parameter of the first operation satisfies the second condition and the virtual props owned by the virtual object do not include useless virtual props, display first prompt information, where the first prompt information is used to indicate that the virtual props do not include useless virtual props.
  • Step 703 if the operation parameter of the first operation satisfies the second condition and the virtual props owned by the virtual object include useless virtual props, display second prompt information, where the second prompt information is used to indicate that the virtual props include useless virtual props.
  • Step 704 When the first operation is not completed and the first condition is not met, a progress bar is displayed on the prop management control, where the progress bar is used to indicate the operation progress of the first operation.
  • Step 705 Based on the operation progress of the first operation, adjust the indicated progress of the progress bar, where the indicated progress is positively correlated with the operation progress.
  • Step 706 When the operation parameters of the first operation meet the first condition and the virtual props owned by the virtual object include useless virtual props, a discard prompt message is displayed, and the operation parameters include at least one of operation duration and operation strength.
  • steps 702 to 706 may refer to steps 403 to 407, which will not be described in detail in this embodiment.
  • Step 707 when the first operation is finished, based on the useless virtual props owned by the virtual object and the virtual props existing in the pickup list window, determine the discard quantity and discard type of the useless virtual props.
  • the useless virtual props currently owned by the virtual props may be needed in the process of the virtual object performing operations later, or there may be other virtual objects belonging to the same camp as the virtual object that need the useless virtual props, and for the virtual props in the pick list window, there may be virtual props that the virtual object needs or uses frequently, and the virtual object needs to pick up the useless virtual props after discarding them.
  • the terminal can first determine the discarded quantity and discard type of useless virtual props based on the useless virtual props currently owned by the virtual object and the virtual props in the pick list window, so as to avoid the useless virtual props being needed again after being discarded, and ensure that the useful virtual props in the pick list window can be picked up.
  • the terminal can sort the useless virtual props based on the prop attributes of the useless virtual props owned by the virtual object, the prop attributes of the virtual props existing in the pick list window, and the historical prop usage of the virtual object to obtain a second sorting result, and then determine the discarded number and discard type of the useless virtual props based on the second sorting result.
  • the prop attributes include at least one of the prop quantity and the prop value.
  • the terminal may set a lower limit on the quantity of each useless virtual prop, that is, the terminal only discards the part of the quantity exceeding the lower limit. Instead of discarding all useless virtual props, the terminal determines the number of useless virtual props that exceeds the lower limit as the discarded number.
  • the lower limit can be pre-set by the user before the game, or can be directly set by the user based on the current game situation by displaying the quantity setting control after the first operation. Furthermore, after the first operation is completed, the terminal determines the discarded number and discard type of useless virtual props based on the lower limit, thereby reserving a certain number of useless virtual props.
  • the terminal may not discard the useless virtual prop, that is, the number and type of other useless virtual props other than the useless virtual props that do not need to be discarded are determined as the discard quantity and discard type.
  • the terminal may not discard the useless virtual prop, that is, the number and type of other useless virtual props other than the useless virtual props that do not need to be discarded are determined as the discard quantity and discard type.
  • the terminal when there are useful virtual props required by the virtual object or virtual props used frequently by the virtual object among the virtual props in the pick list window, in order to enable the virtual object to pick up as many virtual props as possible after discarding the useless virtual props, the terminal can determine the discarded quantity and discard type of useless virtual props based on the currently owned useless virtual props and the useful virtual props to be picked up in the pick list window. For example, the terminal can first determine the prop capacity corresponding to the useful virtual props to be picked up in the pick list window, and then discard the useless virtual props corresponding to the prop capacity based on the prop capacity.
  • the terminal can first sort the useless virtual props in the backpack according to their prop attributes to obtain a preliminary sorting result, and then adjust the preliminary sorting result according to the historical prop usage (such as moving the sorting position of the useless virtual props that have been used forward) to obtain a transitional sorting result.
  • the transitional sorting result does not include useless virtual props that do not need to be discarded as determined based on the prop attributes and historical prop usage.
  • the quantity and type corresponding to each useless virtual prop in the second sorting result can be the discarded quantity and discarded type.
  • Step 708 Based on the discard quantity and discard type, control the virtual object to discard the useless virtual props.
  • step 409 The specific implementation of this step can refer to step 409, and this embodiment will not be described in detail here.
  • the user can discard useless virtual props owned by the virtual object before controlling the virtual object to pick up virtual props, thereby improving the virtual object's pick-up rate for useful virtual props in the current pick list window.
  • the terminal when there are virtual supplies in the displayed pick list window, in order to control the virtual object to directly use the corresponding virtual supplies without first picking up the virtual supplies and putting them into the backpack, the terminal may set a use control in the display box corresponding to the virtual supplies in the pick list window, thereby directly controlling the virtual object to use the virtual supplies.
  • the process may include the following steps:
  • a use control is displayed in the display box corresponding to the virtual supplies, and the use control is used to realize the direct use of the virtual supplies.
  • the virtual supplies are used to supply the virtual objects, such as restoring the life and physical strength of the virtual objects.
  • the embodiment of the present application does not limit the shape and size of the control, which can be set and adjusted according to the use requirements.
  • the terminal when there are virtual supplies in the pick list window, the terminal can A usage control is displayed in a display box corresponding to the virtual supply, so that the virtual supply can be directly used through the usage control.
  • the terminal can determine the target virtual supply in the pick list window that is applicable to the virtual object based on the supply type to which the virtual supply belongs and the current object properties of the virtual object, thereby displaying a use control in the display box corresponding to the target virtual supply, thereby prompting the user to use the target virtual supply.
  • the terminal when there are virtual supplies in the pick list window, the terminal first determines the supply type to which the virtual supply belongs, then determines the target virtual supply applicable to the virtual object based on the supply type and the object properties of the virtual object, and finally displays a use control in the display box corresponding to the target virtual supply for direct use by the virtual object.
  • the object attribute of the virtual object may be the life value, energy value, etc. of the virtual object, which is not limited in this embodiment of the present application.
  • the types of virtual supplies may include energy drinks, medical kits, medical packs, bandages, painkillers, adrenaline, and the like.
  • the terminal may display a usage control in a display box corresponding to the energy drink.
  • a use control 903 is displayed in the display box corresponding to the virtual supplies 902 for direct use by the virtual object.
  • the terminal when receiving the second operation of the user to use the control, controls the virtual object to use the virtual supply.
  • the second operation is used to trigger the use of the control.
  • the second operation may be a single-click operation, a double-click operation, a long-press operation, etc. for using the control, which is not limited in the embodiments of the present application.
  • the terminal in response to a user clicking operation on a use control 903 , the terminal controls the virtual object to use a virtual supply 902 .
  • FIG. 10 shows a flowchart of determining useless virtual props provided by an exemplary embodiment of the present application.
  • Step 1001 start.
  • Step 1002 determining whether the virtual item is virtual ammunition or virtual accessories.
  • the terminal determines the virtual props currently owned by the virtual object to determine whether the virtual props are virtual ammunition or virtual accessories. If the virtual props are not virtual ammunition or virtual accessories, the terminal proceeds to step 1003; if the virtual props are virtual ammunition or virtual accessories, the terminal proceeds to step 1004.
  • Step 1003 Determine whether the virtual item is a useless virtual item.
  • the terminal determines that the virtual item is not a useless virtual item.
  • Step 1004 determining whether the virtual ammunition or virtual accessories are virtual props used by the virtual weapon.
  • the terminal continues to determine whether the virtual ammunition or virtual accessory is a virtual prop used by a virtual weapon.
  • the terminal proceeds to step 1005; when the virtual prop is not a virtual prop used by a virtual weapon, the terminal proceeds to step 1006.
  • Step 1005 Determine whether the virtual item is a useless virtual item.
  • the terminal determines that the virtual item is not a useless virtual item.
  • Step 1006 Determine whether the virtual item is a useless virtual item.
  • the terminal determines that the virtual item is a useless virtual item. Tool.
  • FIG. 11 shows a flowchart of quickly discarding useless virtual props in a backpack interface provided by an exemplary embodiment of the present application.
  • Step 1101 receiving a long press operation on a discard control.
  • the terminal receives a long press operation of the user on the discard control in the backpack interface.
  • Step 1102 determining whether the virtual object has useless virtual props.
  • the terminal determines whether the virtual object has useless virtual props. If the virtual object does not have useless virtual props, the terminal proceeds to step 1103 ; if the virtual object has useless virtual props, the terminal proceeds to step 1104 .
  • Step 1103 display the first prompt information.
  • the terminal displays a first prompt message, prompting the user that there are currently no useless virtual props.
  • Step 1104 display the second prompt information and the progress bar.
  • the terminal displays a second prompt message to prompt the user that there are currently useless virtual props, and displays a progress bar to indicate to the user the operation duration of the long press operation.
  • Step 1105 determine that the long press operation reaches 0.4 seconds.
  • the terminal determines that the long press operation meets the first condition and reaches 0.4 seconds.
  • Step 1106 Display discard prompt information.
  • the terminal displays a discard prompt message, prompting the user to end the long press operation and discard the useless virtual props.
  • Step 1107 determine whether the long press operation is ended.
  • the terminal determines whether the long press operation is completed. If the long press operation is completed, the terminal proceeds to step 1109; if the long press operation is not completed, the terminal proceeds to step 1108.
  • Step 1109 Control the virtual object to discard useless virtual props.
  • the terminal controls the virtual object to discard useless virtual props.
  • FIG. 12 shows a flowchart of quickly discarding useless virtual props in a main interface provided by an exemplary embodiment of the present application.
  • Step 1201 receiving a long press operation on the backpack control.
  • the terminal receives a long press operation of the user on the backpack control in the main interface.
  • Step 1202 determining whether the virtual object has useless virtual props.
  • the terminal determines whether the virtual object has useless virtual props. If the virtual object does not have useless virtual props, the terminal proceeds to step 1203; if the virtual object has useless virtual props, the terminal proceeds to step 1204.
  • Step 1203 display the first prompt information.
  • the terminal displays a first prompt message, prompting the user that there are currently no useless virtual props.
  • Step 1204 display the second prompt information and the progress bar.
  • the terminal displays a second prompt message to prompt the user that there are currently useless virtual props, and displays a progress bar to indicate to the user the operation duration of the long press operation.
  • Step 1205 determine that the long press operation reaches 0.4 seconds.
  • the terminal determines that the long press operation meets the first condition and reaches 0.4 seconds.
  • Step 1206 Display discard prompt information.
  • the terminal displays a discard prompt message, prompting the user to end the long press operation and discard the useless virtual props.
  • Step 1207 determine whether the long press operation is ended.
  • the terminal determines whether the long press operation is completed. If the long press operation is completed, the terminal proceeds to step 1209; if the long press operation is not completed, the terminal proceeds to step 1208.
  • Step 1209 Control the virtual object to discard useless virtual props.
  • the terminal controls the virtual object to discard useless virtual props.
  • FIG. 13 shows a flowchart of quickly using virtual supplies provided by an exemplary embodiment of the present application.
  • Step 1301 displaying a pick list window, in which virtual supplies exist.
  • the terminal displays a pickup list window in which the virtual supplies exist.
  • Step 1302 determine the supply type of the virtual supply.
  • the terminal determines the supply type of the virtual supply and determines the next step according to the supply type.
  • Step 1303 determine that the virtual supply is a medical kit.
  • Step 1304 determining whether the energy value of the virtual object is less than 80.
  • the terminal determines whether the energy value of the virtual object is less than 80. If the energy value is less than 80, the terminal proceeds to step 1306; if the energy value is greater than 80, the terminal proceeds to step 1305.
  • Step 1305, do not display the usage controls.
  • Step 1307 determining that the virtual supply is an energy drink.
  • the terminal determines whether the energy value of the virtual object is less than 100. If the energy value is less than 100, the process proceeds to step 1310 ; if the energy value is greater than 100, the process proceeds to step 1309 .
  • Step 1309 do not display the usage controls.
  • Step 1310 display usage controls.
  • Step 1311 determine whether there is a click operation on the control.
  • the terminal determines whether there is a click operation on the control, and if there is a click operation on the control, proceeds to step 1313; if there is no click operation on the control, proceeds to step 1312.
  • Step 1313 Control the virtual object to use the corresponding virtual supplies.
  • the terminal controls the virtual object to use the corresponding virtual supply.
  • FIG. 14 shows a structural block diagram of a virtual item discarding device provided by an exemplary embodiment of the present application, the device comprising:
  • the operation receiving module 1401 is used to receive a first operation on a prop management control when no virtual prop is selected, wherein the prop management control is used to trigger management of virtual props owned by a virtual object;
  • a first display module 1402 is used to display a discard prompt message when the virtual props owned by the virtual object include useless virtual props, wherein the useless virtual props refer to virtual props that cannot be used by the virtual object;
  • the first control module 1403 is used to control the virtual object to discard the useless virtual props when the first operation is completed.
  • the item management control includes at least one of the following: a discard control in a backpack interface, a backpack control in a main interface, and a first control in a pick list window;
  • the operation receiving module 1401 includes:
  • a first receiving unit is configured to receive a first operation on the discard control in the backpack interface when the virtual item in the backpack interface is not selected;
  • a second receiving unit configured to receive a first operation on the backpack control in the main interface when the virtual item is not selected, wherein the first operation is different from a triggering operation on the backpack control when viewing the backpack interface;
  • the third receiving unit is used to receive a first operation on the first control in the pick list window when the virtual item in the pick list window is not selected.
  • the item management control is one of the discard control and the backpack control;
  • the first control module 1403 includes:
  • a first determining unit configured to determine, when the first operation is finished, based on the useless virtual items owned by the virtual object, the discarded quantity and discarded type of the useless virtual items;
  • the first control unit is used to control the virtual object to discard the useless virtual props based on the discard quantity and the discard type.
  • the first determining unit is configured to:
  • the useless virtual props are sorted based on the prop attributes of the useless virtual props and the historical prop usage of the virtual object to obtain a first sorting result, wherein the prop attributes include at least one of the prop quantity and the prop value;
  • the discarded quantity and the discarded type of the useless virtual items are determined.
  • the item management control is the first control
  • the first control module 1403 includes:
  • a second determining unit configured to determine, when the first operation is finished, based on the useless virtual items owned by the virtual object and the virtual items existing in the pickup list window, the discarded quantity and discard type of the useless virtual items;
  • the second control unit is used to control the virtual object to discard the useless virtual props based on the discard quantity and the discard type.
  • the second determining unit is configured to:
  • the useless virtual props are sorted based on the prop attributes of the useless virtual props, the prop attributes of the virtual props in the pick-up list window, and the historical prop usage of the virtual object to obtain a second sorting result, wherein the prop attributes include at least one of the prop quantity and the prop value;
  • the discarded quantity and the discarded type of the useless virtual items are determined.
  • the item management control is the first control
  • the device also includes:
  • a second display module for displaying a use control in a display box corresponding to a virtual supply when there is a virtual supply in the pick list window, wherein the use control is used to directly use the virtual supply;
  • the second control module is used to control the virtual object to use the virtual supply in response to a second operation on the usage control.
  • the second display module is used to:
  • the usage control is displayed in the display frame corresponding to the target virtual supply.
  • the first display module 1402 is used to:
  • the discard prompt information is displayed, and the operation parameters include at least one of operation duration and operation strength.
  • the device before displaying the discard prompt information, the device further includes:
  • a third display module configured to display first prompt information when the operation parameter of the first operation satisfies a second condition and the virtual props owned by the virtual object do not include the useless virtual props, wherein the first prompt information is used to indicate that the virtual props do not include the useless virtual props;
  • the fourth display module is used to display second prompt information when the operation parameters of the first operation meet the second condition and the virtual props owned by the virtual object include the useless virtual props, wherein the second prompt information is used to indicate that the virtual props include the useless virtual props.
  • the device further includes:
  • a fifth display module configured to display a progress bar on the item management control when the first operation is not completed and the first condition is not met, wherein the progress bar is used to indicate the operation progress of the first operation;
  • the adjustment module is used to adjust the indicated progress of the progress bar based on the operation progress of the first operation, and the indicated progress is positively correlated with the operation progress.
  • the terminal device receives the first operation on the prop management control, then if the virtual props owned by the virtual object include useless virtual props, a discard prompt message is displayed, and then when the first operation is completed, the virtual object is controlled to discard the useless virtual props, so that the user only needs to perform a one-time operation on the prop management control to select and discard multiple useless virtual props at one time, without having to select and discard useless virtual props one by one, thereby shortening the time for discarding useless virtual props owned by the virtual object and improving the efficiency of discarding useless virtual props.
  • the device provided in the above embodiment is only illustrated by the division of the above functional modules.
  • the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the device and method embodiments provided in the above embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.
  • FIG. 15 shows a block diagram of a terminal 1500 provided by an exemplary embodiment of the present application.
  • the terminal 1500 may be a portable mobile terminal, such as a smart phone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, or a Moving Picture Experts Group Audio Layer IV (MP4) player.
  • the terminal 1500 may also be referred to as a user device, a portable terminal, or other names.
  • the terminal 1500 includes a processor 1501 and a memory 1502 .
  • 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 at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA).
  • DSP digital signal processing
  • FPGA field-programmable gate array
  • PDA programmable logic array
  • the processor 1501 may also include a main processor and a coprocessor.
  • the main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU);
  • the coprocessor is a low-power processor for processing data in the standby state.
  • the processor 1501 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen.
  • the processor 1501 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
  • AI artificial intelligence
  • the memory 1502 may include one or more computer-readable storage media, which may be tangible and non-transitory.
  • the memory 1502 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1502 is used to store at least one instruction, which is used to be executed by the processor 1501 to implement the method for discarding virtual props provided in the embodiment of the present application.
  • the terminal 1500 may optionally further include: a peripheral device interface 1503 and at least one peripheral device.
  • the peripheral device 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.
  • the processor 1501, the memory 1502, and the peripheral device interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral device interface 1503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • FIG. 15 does not limit the terminal 1500 and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
  • the present application also provides a computer-readable storage medium, which stores at least one At least one program segment is loaded and executed by a processor to implement the method for discarding virtual props as described in the above embodiments.
  • a computer program product comprising computer instructions, the computer instructions being stored in a computer-readable storage medium.
  • a processor of a terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the method for discarding virtual props provided in various optional implementations of the above aspects.
  • the embodiment of the present application can display a prompt interface, a pop-up window or output a voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that the relevant data is currently being collected, so that the present application only starts to execute the relevant steps of obtaining the relevant data of the user after obtaining the confirmation operation issued by the user on the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining the relevant data of the user are terminated, that is, the relevant data of the user is not obtained.
  • Computer-readable storage media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another.
  • the storage medium can be any available medium that a general or special-purpose computer can access.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种虚拟道具的丢弃方法、装置、终端及存储介质,属于人机交互技术领域。该方法包括:在未选中虚拟道具的情况下,接收对道具管理控件的第一操作,该道具管理控件用于触发对虚拟对象拥有的虚拟道具进行管理;在虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,该无用虚拟道具指无法被虚拟对象使用的虚拟道具;在第一操作结束的情况下,控制虚拟对象丢弃拥有的无用虚拟道具。采用本申请实施例提供的方案,能够缩短丢弃无用虚拟道具的时间,从而提高对无用虚拟道具的丢弃效率。

Description

虚拟道具的丢弃方法、装置、终端及存储介质
本申请要求于2022年11月22日提交的申请号为202211466727.X、发明名称为“虚拟道具的快速丢弃方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及人机交互技术领域,特别涉及一种虚拟道具的丢弃方法、装置、终端及存储介质。
背景技术
第一人称射击类游戏(First-Person Shooting game,FPS)是一种基于三维虚拟环境的应用程序,用户可以操控虚拟环境中的虚拟对象进行行走、奔跑、攀爬、射击等动作,并且多个用户可以在线组队在同一个虚拟环境中协同完成某项任务。
相关技术中,在虚拟对象持有的虚拟道具中存在大量无用虚拟道具的情况下,用户需要在道具显示窗口中,通过依次拖动无用虚拟道具到丢弃窗口,或者依次点击无用虚拟道具进行丢弃操作的方式,实现对无用虚拟道具的丢弃。
可见,相关技术中,在对大量无用虚拟道具进行丢弃的过程中,需要不断重复同样的丢弃操作,从而导致无用虚拟道具的丢弃过程耗时较长。
发明内容
本申请实施例提供了一种虚拟道具的丢弃方法、装置、终端及存储介质,能够缩短丢弃虚拟对象拥有的无用虚拟道具的时间,提高对无用虚拟道具的丢弃效率。所述技术方案如下:
一方面,本申请实施例提供了一种虚拟道具的丢弃方法,所述方法由终端设备执行,所述方法包括:
在未选中虚拟道具的情况下,接收对道具管理控件的第一操作,所述道具管理控件用于触发对虚拟对象拥有的虚拟道具进行管理;
在所述虚拟对象拥有的所述虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,所述无用虚拟道具是指无法被所述虚拟对象使用的虚拟道具;
在所述第一操作结束的情况下,控制所述虚拟对象丢弃拥有的所述无用虚拟道具。
另一方面,本申请实施例提供了一种虚拟道具的丢弃装置,所述装置包括:
操作接收模块,用于在未选中虚拟道具的情况下,接收对道具管理控件的第一操作,所述道具管理控件用于触发对虚拟对象拥有的虚拟道具进行管理;
第一显示模块,用于在所述虚拟对象拥有的所述虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,所述无用虚拟道具是指无法被所述虚拟对象使用的虚拟道具;
第一控制模块,用于在所述第一操作结束的情况下,控制所述虚拟对象丢弃拥有的所述无用虚拟道具。
另一方面,本申请实施例提供了一种终端设备,所述终端设备包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上述方面所述的虚拟道具的丢弃方法。
另一方面,本申请实施例提供了一种计算机可读存储介质,所述可读存储介质中存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如上述方面所述的虚拟道具的丢弃方法。
另一方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端设备执行上述方面提供的虚拟道具的丢弃方法。
本申请实施例中,在未选中虚拟道具的情况下,若终端设备接收到对道具管理控件的第一操作,则在虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,进而在第一操作结束的情况下,控制虚拟对象丢弃拥有的无用虚拟道具,使得用户仅需针对道具管理控件进行一次性操作,即可实现一次性选择和丢弃多种无用虚拟道具,而无需一一选择和丢弃无用虚拟道具,从而缩短了丢弃虚拟对象拥有的无用虚拟道具的时间,进而提高了对无用虚拟道具的丢弃效率。
附图说明
图1示出了本申请一个实施例提供的实施环境的示意图;
图2示出了本申请一个示例性实施例提供的虚拟道具的丢弃方法的流程图;
图3示出了本申请一个示例性实施例提供的快速丢弃无用虚拟道具的示意图;
图4示出了本申请另一个示例性实施例提供的虚拟道具的丢弃方法的流程图;
图5示出了本申请一个示例性实施例提供的背包界面中快速丢弃无用虚拟道具的示意图;
图6示出了本申请一个示例性实施例提供的主界面中快速丢弃无用虚拟道具的示意图;
图7示出了本申请另一个示例性实施例提供的虚拟道具的丢弃方法的流程图;
图8示出了本申请一个示例性实施例提供的拾取列表窗口中快速丢弃无用虚拟道具的示意图;
图9示出了本申请一个示例性实施例提供的拾取列表窗口中快速使用虚拟补给品的示意图;
图10示出了本申请一个示例性实施例提供的确定无用虚拟道具的流程图;
图11示出了本申请一个示例性实施例提供的背包界面中快速丢弃无用虚拟道具的流程图;
图12示出了本申请一个示例性实施例提供的主界面中快速丢弃无用虚拟道具的流程图;
图13示出了本申请一个示例性实施例提供的快速使用虚拟补给品的流程图;
图14是本申请一个示例性实施例提供的虚拟道具的丢弃装置的结构框图;
图15示出了本申请一个示例性实施例提供的终端的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
请参考图1,其示出了本申请一个实施例提供的实施环境的示意图。该实施环境可以实现为计算机系统100,该计算机系统100可以包括:第一终端110、服务器120和第二终端130。
第一终端110中运行有支持虚拟环境的应用程序111的客户端。当第一终端运行应用程序111时,第一终端110的屏幕上显示应用程序111的用户界面。该应用程序111可以是多人在线战术竞技(Multiplayer Online Battle Arena,MOBA)游戏、模拟游戏(Simulation Game,SLG)中的任意一种。在本实施例中,以该应用程序111是第一人称射击类游戏(First-Person Shooting game,FPS)来举例说明。第一终端110是第一用户112使用的终端,第一用户112使用第一终端110控制位于虚拟环境中的第一虚拟对象进行活动,第一虚拟对象可以称为第一用户112的主控虚拟对象。第一虚拟对象的活动包括但不限于:调整身体姿态、爬行、步行、奔跑、骑行、飞行、跳跃、驾驶、拾取、射击、攻击、投掷、释放技能中的至少一种。示意性的,第一虚拟对象是第一虚拟人物,比如仿真人物或动漫人物。本申请实施例中的终端也可以被称之为终端设备。
第二终端130中运行有支持虚拟环境的应用程序131的客户端。当第二终端130运行应用程序131时,第二终端130的屏幕上显示应用程序131的用户界面。该客户端可以是MOBA 游戏、SLG游戏中的任意一种,在本实施例中,以该应用程序131是FPS游戏来举例说明。第二终端130是第二用户132使用的终端,第二用户132使用第二终端130控制位于虚拟环境中的第二虚拟对象进行活动,第二虚拟对象可以称为第二用户132的主控虚拟角色。示意性的,第二虚拟对象是第二虚拟人物,比如仿真人物或动漫人物。
可选的,第一虚拟对象和第二虚拟对象处于同一虚拟世界中。可选的,第一虚拟对象和第二虚拟对象可以属于同一个阵营、同一个队伍、同一个组织、具有好友关系或具有临时性的通讯权限。可选的,第一虚拟对象和第二虚拟对象可以属于不同的阵营、不同的队伍、不同的组织或具有敌对关系。
可选的,第一终端110和第二终端130上安装的应用程序是相同的,或两个终端上安装的应用程序是不同操作系统平台(安卓或IOS)上的同一类型应用程序。可选的,服务器120可以连接有多个终端,第一终端110可以泛指多个终端中的一个,第二终端130可以泛指多个终端中的另一个,本实施例仅以第一终端110和第二终端130来举例说明。第一终端110和第二终端130的设备类型相同或不同,该设备类型包括:智能手机、平板电脑、电子书阅读器、动态影像专家压缩标准音频层面3(Moving Picture Experts Group Audio Layer III,MP3)播放器、动态影像专家压缩标准音频层面4(Moving Picture Experts Group Audio Layer IV,MP4)播放器、膝上型便携计算机、智能机器人、车载终端和台式计算机中的至少一种。
图1中仅示出了两个终端,但在不同实施例中存在多个其它终端可以接入服务器120。可选的,还存在一个或多个终端是开发者对应的终端,在该终端上安装有支持虚拟环境的应用程序的开发和编辑平台,开发者可在该终端上对应用程序进行编辑和更新,并将更新后的应用程序安装包通过有线或无线网络传输至服务器120,第一终端110和第二终端130可从服务器120下载应用程序安装包实现对应用程序的更新。
第一终端110、第二终端130以及其它终端通过无线网络或有线网络与服务器120相连。
服务器120包括一台服务器、多台服务器组成的服务器集群、云计算平台和虚拟化中心中的至少一种。服务器120用于为支持三维虚拟环境的应用程序提供后台服务。可选地,服务器120承担主要计算工作,终端承担次要计算工作;或者,服务器120承担次要计算工作,终端承担主要计算工作;或者,服务器120和终端之间采用分布式计算架构进行协同计算。
在一个示意性的例子中,服务器120包括存储器121、处理器122、用户账号数据库123、对战服务模块124、面向用户的输入/输出接口(Input/Output Interface,I/O接口)125。其中,处理器122用于加载服务器120中存储的指令,处理用户账号数据库123和对战服务模块124中的数据;用户账号数据库123用于存储第一终端110、第二终端130以及其它终端所使用的用户账号的数据,比如用户账号的头像、用户账号的昵称、用户账号的战斗力指数,用户账号所在的服务区;对战服务模块124用于提供多个对战房间供用户进行对战,比如1V1对战、3V3对战、5V5对战等;面向用户的I/O接口125用于通过无线网络或有线网络和第一终端110和/或第二终端130建立通信交换数据。
请参考图2,其示出了本申请一个示例性实施例提供的虚拟道具的丢弃方法的流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,如第一终端110或第二终端130或其它终端中运行的客户端,该方法包括如下步骤:
步骤201,在未选中虚拟道具的情况下,接收对道具管理控件的第一操作,该道具管理控件用于触发对虚拟对象拥有的虚拟道具进行管理。
可选的,虚拟对象是指用户在虚拟环境中的主控对象,也即用户可控制虚拟对象在虚拟环境中活动,如上述第一虚拟对象和第二虚拟对象。该虚拟对象可以是指应用程序对应的虚拟角色。示例性的,该虚拟对象可以是虚拟人物、虚拟动物、动漫人物、虚拟载具、虚拟动物中的至少一种。
虚拟环境是终端中的应用程序在运行的过程中,虚拟对象在虚拟世界中所处的三维环境,其可用于供虚拟对象活动。可选的,本申请实施例中,通过摄像机模型对虚拟环境进行观察。
可选的,该摄像机模型在虚拟世界中对虚拟角色进行自动跟随,即,当虚拟对象在虚拟世界中的位置发生改变时,摄像机模型跟随虚拟对象在虚拟世界中的位置同时发生改变,且该摄像机模型在虚拟世界中始终处于虚拟对象的预设距离范围内。可选的,在自动跟随过程中,摄像头模型和虚拟对象的相对位置不发生变化。
摄像机模型是指在虚拟世界中位于虚拟对象周围的三维模型,当采用第一人称视角时,该摄像机模型位于虚拟对象的头部附近或者位于虚拟对象的头部;当采用第三人称视角时,该摄像机模型可以位于虚拟对象的后方并与虚拟对象进行绑定,也可以位于与虚拟对象相距预设距离的任意位置,通过该摄像机模型可以从不同角度对位于虚拟世界中的虚拟对象进行观察。可选的,该第三人称视角为第一人称的过肩视角时,摄像机模型位于虚拟对象(比如虚拟对象的头肩部)的后方。可选的,除第一人称视角和第三人称视角外,视角还包括其他视角,比如俯视视角等;当采用俯视视角时,该摄像机模型可以位于虚拟对象头部的上空,俯视视角是以从空中俯视的角度进行观察虚拟世界的视角。可选地,该摄像机模型在虚拟世界中不会进行实际显示,即,在用户界面显示的虚拟世界中不显示该摄像机模型。
可选的,道具管理控件用于触发对虚拟对象拥有的虚拟道具进行管理,虚拟对象拥有虚拟道具的方式可以是在虚拟环境中拾取,也可以是接收同一阵营的其他虚拟对象的赠与,还可以是在完成系统任务时接收系统的发放,本申请实施例对此不作限定。
虚拟道具是指应用程序提供虚拟对象所使用的道具,该虚拟道具可以仿真道具,也可以是虚构道具,还可以是半仿真半虚构道具。示意性的,该虚拟道具可以包括虚拟弹药、虚拟配件、虚拟芯片、虚拟药剂等等,本申请实施例对此不作限定。
在一种可能的实施方式中,由于虚拟对象在虚拟环境中能够拥有和存储的虚拟道具数量有限,因此虚拟对象需要对拥有的虚拟道具进行管理,比如使用、赠与、丢弃等等。不同于相关技术中,需要先选中对应的虚拟道具,才能实现对该虚拟道具的管理,本申请实施例中,在未选中虚拟道具的情况下,终端可以接收对道具管理控件的第一操作,以实现对虚拟道具的管理。
可选的,第一操作可以是长按操作,也可以是手势操作、语音控制操作等等,本申请实施例对此不作限定。示意性的,在终端设备具有触摸屏的情况下,用户可通过该触摸屏,针对用户界面中的道具管理控件进行第一操作。
例如,如图3所示,在用户未选中任何虚拟道具的情况下,响应于用户针对管理控件302进行第一操作,终端接收用户对道具管理控件302的第一操作,该道具管理控件302在第一操作的触发下,可用于对虚拟对象301所拥有的虚拟道具进行管理。
未选中虚拟道具的情况可以是指用户未通过操作将虚拟道具切换至选中状态,如用户可通过点击操作来选中虚拟道具,而未选中虚拟道具的情况则可以是指用户未对任何虚拟道具进行点击操作,以选中虚拟道具。
步骤202,在虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,该无用虚拟道具是指无法被虚拟对象使用的虚拟道具。
可选的,终端在接收到第一操作后,对虚拟对象拥有的虚拟道具进行检测,以确定虚拟对象是否具有无用虚拟道具,在虚拟对象拥有无用虚拟道具的情况下,显示丢弃提示信息。
在本实施例中,无用虚拟道具可以是指虚拟对象无法直接使用的虚拟道具,如虚拟弹药、虚拟药剂等;无用虚拟道具也可以是指虚拟对象无法通过其他虚拟道具使用的虚拟道具,如无法被虚拟对象拥有的虚拟武器所使用的虚拟道具(如与拥有的虚拟武器不匹配的虚拟配件),本申请实施例对此不作限定。其中,无用可以是指没有用处、用不着的含义。
丢弃提示信息用于指示虚拟对象拥有的虚拟道具中是否包含无用虚拟道具,在有无用虚拟道具的情况下,该丢弃提示信息用于指示有无用虚拟道具可丢弃;在没有无用虚拟道具的 情况下,该丢弃提示信息用于指示没有无用虚拟道具可丢弃。
在一种可能的实施方式中,道具管理控件可以用于实现对无用虚拟道具的丢弃。示意性的,上述无用虚拟道具可以是指无法被虚拟对象拥有的虚拟武器所使用的虚拟道具,比如虚拟弹药、虚拟配件等等,也可以是指无法被虚拟对象使用的虚拟道具,比如虚拟补给品等等,用户通过道具管理控件,触发终端确定出这些无用虚拟道具,并将这些无用虚拟道具进行丢弃。
在一种可能的实施方式中,终端可以首先对虚拟道具的道具类型进行判断,在虚拟道具为虚拟弹药或者虚拟配件的情况下,终端再进一步判断该虚拟弹药或者虚拟配件是否为无用虚拟道具,如若虚拟弹药或者虚拟配件无法被虚拟对象所拥有的任一虚拟道具所使用,则判断虚拟弹药或者虚拟配件为无用虚拟道具,可对其进行丢弃;在虚拟道具不为虚拟弹药或者虚拟配件的情况下,终端则不对该虚拟道具进行判断,也即默认其为有用虚拟道具,有用虚拟道具可以是指虚拟角色使用的虚拟道具。
在一种可能的实施方式中,在虚拟道具为无用虚拟道具的情况下,终端可以在该无用虚拟道具对应的显示框中显示无用标识,以提示用户该虚拟道具为无用虚拟道具。可选的,终端对无用虚拟道具进行标识的同时,可以将无用虚拟道具切换为选中状态,用户可将选中状态中的无用虚拟道具切换为未选中状态,从而取消该无用虚拟道具的丢弃,如此有利于提高无用虚拟道具的丢弃灵活性。
在一种可能的实施方式中,在接收到的对道具管理控件的第一操作满足第一条件,且虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,终端显示丢弃提示信息,从而提醒终端用户将控制虚拟对象丢弃无用虚拟道具。
可选的,第一条件可以根据第一操作的操作参数进行设置。例如,第一条件可以是第一操作的持续时长达到对应的时长阈值,也可以是第一操作的操作力度达到对应的力度阈值,本申请实施例对此不作限定。
示意性的,如图3所示,在第一操作满足第一条件,且虚拟对象301拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息303。
步骤203,在第一操作结束的情况下,控制虚拟对象丢弃拥有的无用虚拟道具。
第一操作结束可以是指用户停止针对道具管理控件进行操作。例如,在第一操作结束为长按操作的情况下,响应于用户停止针对道具管理控件进行长按,终端可判断第一操作结束。
在一种可能的实施方式中,在第一操作结束的情况下,终端可以控制虚拟对象丢弃拥有的无用虚拟道具,从而实现在不选中虚拟道具的情况下,对无用虚拟道具的直接丢弃,也即通过第一操作可以同时触发无用虚拟道具的判断、选择和丢弃,无需人为的对无用虚拟道具的一一进行判断、选择和丢弃,从而有效提高了无用虚拟道具的丢弃效率。
可选的,虚拟对象丢弃的无用虚拟道具可以是虚拟对象当前拥有的全部无用虚拟道具,也可以是部分无用虚拟道具,比如一段时间内虚拟对象未使用的无用虚拟道具,本申请实施例对此不作限定。
示意性的,如图3所示,在第一操作结束的情况下,终端控制虚拟对象301丢弃拥有的全部无用虚拟道具。
综上所述,本申请实施例中,在未选中虚拟道具的情况下,若终端设备接收到对道具管理控件的第一操作,则在虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,进而在第一操作结束的情况下,控制虚拟对象丢弃拥有的无用虚拟道具,使得用户仅需针对道具管理控件进行一次性操作,即可实现一次性选择和丢弃多种无用虚拟道具,而无需一一选择和丢弃无用虚拟道具,从而缩短了丢弃虚拟对象拥有的无用虚拟道具的时间,进而提高了对无用虚拟道具的丢弃效率。
在一种可能的实施方式中,为了能够在不同界面对虚拟对象所拥有的无用虚拟道具进行 快速丢弃,终端可以在对应的界面中设置对应的道具管理控件,或者复用界面中的其他控件作为道具管理控件。
在一种可能的实施方式中,终端可以在背包界面中将道具管理控件设置为丢弃控件,也可以在主界面中通过复用背包控件作为道具管理控件。
请参考图4,其示出了本申请另一个示例性实施例提供的虚拟道具的丢弃方法的流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,如第一终端110或第二终端130或其它终端中运行的客户端,该方法包括如下步骤:
步骤401,在未选中背包界面中的虚拟道具的情况下,接收对背包界面中的丢弃控件的第一操作。
上述背包界面可以是指通过主界面中的背包控件所打开的用户界面,其可用于展示虚拟对象当前所拥有的虚拟道具。主界面可以是指用于展示虚拟环境画面的用户界面,该虚拟环境画面可以是指通过上述摄像机模型针对虚拟角色对虚拟环境观察所得到的画面。在一些实施例中,虚拟对象在获取虚拟背包道具之后,终端将背包控件激活,以使得虚拟对象可以使用该虚拟背包道具,虚拟背包道具对应的用户界面即为背包界面。可选的,虚拟背包道具对应有一定的背包容量,也即具有能够存放的虚拟道具的数量上限。虚拟背包道具的背包容量与虚拟背包的等级呈正相关关系,每个虚拟道具具有一定的道具重量,其会占用一定的背包容量,道具重量与背包容量一比一对应。
在一种可能的实施方式中,在显示背包界面的情况下,终端可以将背包界面中的丢弃控件确定为道具管理控件,其中,背包界面中显示有虚拟对象拥有的全部虚拟道具,从而在未选中背包界面中的虚拟道具的情况下,终端可以接收用户对背包界面中的丢弃控件的第一操作。未选中背包界面中的虚拟道具的情况可以是指用户未对背包界面所展示的任一虚拟道具进行选择。丢弃控件可用于触发对无用虚拟道具进行选择与丢弃。
可选的,第一操作可以是针对丢弃控件的长按操作,也可以是针对丢弃控件的手势操作等等,本申请实施例对此不作限定。
示意性的,如图5所示,终端显示有背包界面501,在用户未选中背包界面501中的虚拟道具的情况下,响应于用户针对丢弃控件503的长按操作,终端接收用户对背包界面501中丢弃控件503的长按操作。
步骤402,在未选中虚拟道具的情况下,接收对主界面中的背包控件的第一操作,该第一操作不同于用于查看背包界面时,对背包控件的触发操作。
在一种可能的实施方式中,在显示主界面的情况下,终端可以对主界面中的背包控件进行复用,作为道具管理控件,其中,主界面中显示有虚拟环境以及虚拟对象,从而在未选中虚拟道具的情况下,终端接收用户对主界面中的背包控件的第一操作。也即背包控件不仅可用于打开背包界面,还可以作为道具管理控件,对虚拟角色所拥有的虚拟道具进行管理。
可选的,第一操作不同于用于查看背包界面时,用户对背包控件的触发操作,比如,在接收到对背包控件的点击操作的情况下,终端可以打开背包界面,实现用户对背包界面的查看,从而第一操作可以设置为除点击操作以外的其他操作方式,比如双击操作、长按操作、手势操作等等,本申请实施例对此不作限定。
示意性的,如图6所示,终端显示有主界面601,在用户未选中虚拟道具的情况下,响应于用户针对背包控件603的长按操作,终端接收用户对主界面601中的背包控件603的长按操作。
可选的,上述步骤401和步骤402可以是并行的两个步骤,两者可以单独存在,也可以组合存在,也即无论是执行步骤401还是步骤402,终端均可获取第一操作。
步骤403,在第一操作的操作参数满足第二条件,且虚拟对象拥有的虚拟道具中不包含无用虚拟道具的情况下,显示第一提示信息,该第一提示信息用于指示虚拟道具中不包含无 用虚拟道具。
在一种可能的实施方式中,由于是在未选中虚拟道具的情况下,直接接收对道具管理控件的第一操作,而虚拟对象拥有的虚拟道具中也可能并不存在无用虚拟道具,即不需要通过第一操作实现对无用虚拟道具的丢弃,因此为了及时向用户提示虚拟对象拥有的虚拟道具中不存在无用虚拟道具,在第一操作的操作参数满足第二条件,但不满足第一条件,且虚拟对象拥有的虚拟道具中不存在无用虚拟道具的情况下,终端显示第一提示消息,该第一提示消息用于向用户指示虚拟道具中不包含无用虚拟道具。
在本实施例中,操作参数可以包括以下至少一种:操作时长和操作力度中。第二条件也可以根据操作参数进行设置。可选的,第二条件可以是第一操作的持续时长达到对应的时长阈值,该时长阈值小于第一条件对应的时长阈值,也可以是第一操作的操作力度达到对应的力度阈值,该力度阈值小于第一条件对应的力度阈值,本申请实施例对此不作限定。
示意性的,如图5所示,在用户对丢弃控件503的长按操作达到2秒,且虚拟对象502拥有的虚拟道具中不包含无用虚拟道具的情况下,终端显示第一提示信息504,以提示用户当前没有无用虚拟道具。
示意性的,如图6所示,在用户对背包控件603的长按操作达到2秒,且虚拟对象602拥有的虚拟道具中不包含无用虚拟道具的情况下,终端显示第一提示信息604,以提示用户当前没有无用虚拟道具。
步骤404,在第一操作的操作参数满足第二条件,且虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示第二提示信息,该第二提示信息用于指示虚拟道具中包含无用虚拟道具。
在一种可能的实施方式中,在虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,终端接收到对道具管理控件的第一操作后,为了及时提示用户虚拟对象当前拥有的虚拟道具中包含无用虚拟道具,通过第一操作可以实现对无用虚拟道具的丢弃,终端可以在第一操作满足第二条件,但不满足第一条件的情况下,显示第二提示信息,其中,第二提示信息用于向用户指示虚拟道具中包含无用虚拟道具,继续触发第一操作可以实现对无用虚拟道具的丢弃。
示意性的,如图5所示,在用户对丢弃控件503的长按操作达到2秒,且虚拟对象502拥有的虚拟道具中包含无用虚拟道具的情况下,终端显示第二提示信息505,以提示用户当前有无用虚拟道具。
示意性的,如图6所示,在用户对背包控件603的长按操作达到2秒,且虚拟对象602拥有的虚拟道具中包含无用虚拟道具的情况下,终端显示第二提示信息605,以提示用户当前有无用虚拟道具。
可选的,步骤403和步骤404是两个并行的步骤,也即同时仅能触发其中的一个。
步骤405,在第一操作未结束,且未满足第一条件的情况下,在道具管理控件上显示进度条,该进度条用于指示第一操作的操作进度。
在一种可能的实施方式中,在显示第二提示消息后,为了更具体地向用户指示第一操作的操作进度,在第一操作未结束,且未满足第一条件的情况下,终端可以通过在道具管理控件上显示进度条的方式,通过进度条指示第一操作的操作进度。
可选的,进度条的表现形态可以根据道具管理控件的形态确定,比如道具管理控件为圆形,进度条的表现形态可以是围绕道具管理控件的圆;道具管理控件为柱状,进度条的表现形态可以是填充道具管理控件的柱形,本申请实施例对此不作限定。
示意性的,如图5所示,终端在显示第二提示消息后,在用户对丢弃控件503的长按操作未结束,且长按操作未达到5秒(即第一条件)的情况下,终端在丢弃控件503上显示进度条507,以向用户指示第一操作的操作进度。
示意性的,如图6所示,终端在显示第二提示消息后,在用户对背包控件603的长按操 作未结束,且长按操作未达到5秒的情况下,终端在背包控件603上显示进度条607,以向用户指示第一操作的操作进度。
步骤406,基于第一操作的操作进度,调整进度条的指示进度,该指示进度与操作进度呈正相关关系。
在一种可能的实施方式中,终端将第一操作的操作进度通过进度条的指示进度向用户进行提示,即基于第一操作的操作进度,同时调整进度条的指示进度,该指示进度与操作进度呈正相关关系。
可选的,操作进度可以表现为操作时长,即指示进度与第一操作的操作时长呈正相关关系;也可以表现为操作力度,即指示进度与第一操作的操作力度呈正相关关系。
示意性的,如图5所示,进度条507的指示进度与用户对丢弃控件503的长按操作的长按时长呈正相关关系。
示意性的,如图6所示,进度条607的指示进度与用户对背包控件603的长按操作的长按时长呈正相关关系。
步骤407,在第一操作的操作参数满足第一条件,且虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,操作参数包括操作时长和操作力度中的至少一种。
可选的,第一操作的操作参数可以包括操作时长和操作力度中的至少一种,比如在第一操作为长按操作的情况下,第一操作的操作参数可以表现为长按操作的时长,也可以表现为长按操作的操作力度,对应的,第一条件可以是第一时长,也可以是第一力度,第一时长或第一力度可根据使用需求进行设置与调整,本申请实施例对此不作限定。在第一操作的操作参数满足第一条件的情况下,才对无用虚拟道具进行丢弃,使得用户根据自身需求进行第一操作,有效避免用户无意触发第一操作的概率,从而提高无用虚拟道具的丢弃合理性。
在一种可能的实施方式中,在第一操作的操作时长达到第一时长,且虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,终端显示丢弃提示信息,以提示用户即将控制虚拟对象丢弃无用虚拟道具。
在一种可能的实施方式中,在第一操作的操作力度达到第一力度,且虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,终端显示丢弃提示信息,以提示用户即将控制虚拟对象丢弃无用虚拟道具。
示意性的,如图5所示,在用户对丢弃控件503的长按操作达到5秒,且虚拟对象502拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息506,以提示用户即将控制虚拟对象丢弃无用虚拟道具。
示意性的,如图6所示,在用户对背包控件603的长按操作达到5秒,且虚拟对象602拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息606以提示用户即将控制虚拟对象丢弃无用虚拟道具。
步骤408,在第一操作结束的情况下,基于虚拟对象拥有的无用虚拟道具,确定无用虚拟道具的丢弃数量以及丢弃类型。
其中,丢弃数量是指即将被丢弃的无用虚拟道具的数量,丢弃类型是指即将被丢弃的无用虚拟道具的类型。
在一种可能的实施方式中,由于虚拟对象拥有的虚拟道具是基于虚拟对象在虚拟环境中的相关操作获取的,对于虚拟道具当前拥有的无用虚拟道具,可能在之后虚拟对象执行操作的过程中被需要,或者,可能存在与虚拟对象属于同一阵营的其他虚拟对象需要该无用虚拟道具,因此在第一操作结束的情况下,终端可以基于虚拟对象当前拥有的无用虚拟道具,先确定无用虚拟道具的丢弃数量以及丢弃类型,从而避免在丢弃无用虚拟道具之后,再次需要该无用虚拟道具。
在一种可能的实施方式中,在第一操作结束的情况下,终端可以基于虚拟对象当前拥有的无用虚拟道具的道具属性以及虚拟对象的历史道具使用情况,对无用虚拟道具进行排序, 得到第一排序结果,从而基于第一排序结果,确定无用虚拟道具的丢弃数量以及丢弃类型。
可选的,道具属性可以包括道具数量以及道具价值中的至少一种。
在一种可能的实施方式中,为了避免在丢弃无用虚拟道具之后,再次需要该无用虚拟道具,终端可以对各个无用虚拟道具设置数量下限,即终端只丢弃多于该数量下限的部分数量的无用虚拟道具,而不对无用虚拟道具进行全部丢弃,可选的,数量下限可以由用户在对局之前预先设置,也可以在第一操作结束后,通过显示数量设置控件,由用户基于当前对局情况直接设置。进而,在第一操作结束后,终端基于该数量下限,确定无用虚拟道具的丢弃数量以及丢弃类型,从而预留一定数量的无用虚拟道具。
在一种可能的实施方式中,由于不同的虚拟道具在虚拟环境中的道具价值不同,因此在虚拟道具无法被虚拟对象当前拥有的虚拟武器所使用,或者无法被虚拟对象所使用,但该虚拟道具的道具价值高于阈值的情况下,终端可以不丢弃该无用虚拟道具。
在一种可能的实施方式中,在虚拟道具无法被虚拟对象当前拥有的虚拟武器所使用,或者无法被虚拟对象所使用,但根据虚拟对象的历史道具使用情况,该虚拟道具为虚拟对象使用频率较高的虚拟道具的情况下,终端可以不丢弃该无用虚拟道具。
在一种可能的实施方式中,终端可以根据各个无用虚拟道具当前的剩余数量和道具价值,以及各个无用虚拟道具的历史道具使用频率,综合对各个无用虚拟道具进行排序,并将排序优先级低于阈值的无用虚拟道具确定为待丢弃的无用虚拟道具,或者将排序优先级低于阈值的各种无用虚拟道具分别保留一定数量后,将多余的部分确定为待丢弃的无用虚拟道具。
示意性的,终端可以先根据道具属性,对无用虚拟道具进行排序,得到初步排序结果(包括去除部分无需丢弃的无用虚拟道具),再根据历史道具使用情况,对初步排序结果进行调整(如被使用过的无用虚拟道具的排序位置前移),即可得到第一排序结果。示意性的,客户端可以根据道具属性和历史道具使用情况,确定各个无用虚拟道具的排序优先级,再根据排序优先级从大到小的顺序,对无用虚拟道具进行排序,得到第一排序结果。
可选的,将第一排序结果中排序优先级低于阈值的无用虚拟道具的类型确定为丢弃类型,以及将第一排序结果中排序优先级低于阈值的无用虚拟道具的数量确定为丢弃数量。
步骤409,基于丢弃数量以及丢弃类型,控制虚拟对象丢弃拥有的无用虚拟道具。
进一步的,在确定无用虚拟道具的丢弃数量以及丢弃类型之后,终端控制虚拟对象丢弃对应丢弃数量和丢弃类型的无用虚拟道具。
上述实施例中,终端通过在背包界面和主界面分别设置道具管理控件,实现在不同界面中对无用虚拟道具的丢弃,并通过在道具管理控件上设置进度条,能够向用户及时展示第一操作的操作进度,增加了道具管理控件的显示效果。
此外,通过根据虚拟对象当前拥有的无用虚拟道具的道具属性,以及虚拟对象的历史道具使用情况,确定无用虚拟道具的丢弃数量以及丢弃类型,避免了丢弃之后需要该无用虚拟道具而没有该无用虚拟道具的情况,实现了对无用虚拟道具的适量丢弃,提高了丢弃无用虚拟道具的效率。
在一种可能的实施方式中,在虚拟对象进行道具拾取的过程中,终端显示拾取列表窗口,为了避免虚拟对象拥有的无用虚拟道具占用道具容量,而使得虚拟对象无法拾取当前虚拟道具,终端可以在拾取列表窗口中也设置道具管理控件。
请参考图7,其示出了本申请另一个示例性实施例提供的虚拟道具的丢弃方法的流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,如第一终端110或第二终端130或其它终端中运行的客户端,该方法包括如下步骤:
步骤701,在未选中拾取列表窗口中的虚拟道具的情况下,接收对拾取列表窗口中的第一控件的第一操作。
拾取列表窗口可用于展示虚拟对象所发现的、可拾取的虚拟道具。例如,在虚拟对象靠近虚拟地面上的待拾取道具的情况下,终端自动显示拾取列表窗口,该拾取列表窗口中显示有该待拾取道具。又例如,响应于用户针对道具包(或道具箱)的开启操作,终端显示拾取列表窗口,该拾取列表窗口中显示有该道具包中的至少一个待拾取道具。
在一种可能的实施方式中,终端可以在拾取列表窗口中设置第一控件作为道具管理控件,该第一控件可以是新增设置的丢弃控件,也可以是复用拾取列表窗口中用于打开背包界面的背包控件,本申请实施例对此不作限定。
在一种可能的实施方式中,在显示拾取列表窗口之后,在未选中拾取列表窗口中的虚拟道具的情况下,终端接收用户对拾取列表窗口中的第一控件的第一操作。
可选的,第一操作可以是针对第一控件的长按操作,也可以是针对第一控件的手势操作等等,本申请实施例对此不作限定。
示意性的,如图8所示,终端显示有拾取列表窗口801,在用户未选中拾取列表窗口801中的虚拟道具的情况下,响应于用户针对背包控件802的长按操作,终端接收用户对拾取列表窗口801中的背包控件802的长按操作。
步骤702,在第一操作的操作参数满足第二条件,且虚拟对象拥有的虚拟道具中不包含无用虚拟道具的情况下,显示第一提示信息,该第一提示信息用于指示虚拟道具中不包含无用虚拟道具。
步骤703,在第一操作的操作参数满足第二条件,且虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示第二提示信息,该第二提示信息用于指虚拟道具中包含无用虚拟道具。
步骤704,在第一操作未结束,且未满足第一条件的情况下,在道具管理控件上显示进度条,该进度条用于指示第一操作的操作进度。
步骤705,基于第一操作的操作进度,调整进度条的指示进度,该指示进度与操作进度呈正相关关系。
步骤706,在第一操作的操作参数满足第一条件,且虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,操作参数包括操作时长和操作力度中的至少一种。
步骤702~步骤706的具体实施方式可以参考步骤403~步骤407,本实施例在此不作赘述。
步骤707,在第一操作结束的情况下,基于虚拟对象拥有的无用虚拟道具以及拾取列表窗口中存在的虚拟道具,确定无用虚拟道具的丢弃数量以及丢弃类型。
在一种可能的实施方式中,由于虚拟对象拥有的虚拟道具是基于虚拟对象在虚拟环境中的相关操作获取的,对于虚拟道具当前拥有的无用虚拟道具,可能在之后虚拟对象执行操作的过程中被需要,或者,可能存在与虚拟对象属于同一阵营的其他虚拟对象需要该无用虚拟道具,并且对于拾取列表窗口中的虚拟道具,可能存在虚拟对象需要的或者使用频率较高的,虚拟对象需要在丢弃拥有的无用虚拟道具之后对其进行拾取,因此在第一操作结束的情况下,终端可以基于虚拟对象当前拥有的无用虚拟道具以及拾取列表窗口的虚拟道具,先确定无用虚拟道具的丢弃数量以及丢弃类型,从而避免在丢弃无用虚拟道具之后,再次需要该无用虚拟道具,并保证拾取列表窗口中的有用虚拟道具能够被拾取。
在一种可能的实施方式中,在第一操作结束的情况下,终端可以基于虚拟对象拥有的无用虚拟道具的道具属性、拾取列表窗口中存在的虚拟道具的道具属性、以及虚拟对象的历史道具使用情况,对无用虚拟道具进行排序,得到第二排序结果,从而基于第二排序结果,确定无用虚拟道具的丢弃数量以及丢弃类型。
可选的,道具属性包括道具数量以及道具价值中的至少一种。
在一种可能的实施方式中,为了避免在丢弃无用虚拟道具之后,再次需要该无用虚拟道具,终端可以对各个无用虚拟道具设置数量下限,即终端只丢弃多于该数量下限的部分数量 的无用虚拟道具,而不对无用虚拟道具进行全部丢弃,也即将多于该数量下限的部分数量确定为丢弃数量。可选的,数量下限可以由用户在对局之前预先设置,也可以在第一操作结束后,通过显示数量设置控件,由用户基于当前对局情况直接设置。进而,在第一操作结束后,终端基于该数量下限,确定无用虚拟道具的丢弃数量以及丢弃类型,从而预留一定数量的无用虚拟道具。
在一种可能的实施方式中,由于不同的虚拟道具在虚拟环境中的道具价值不同,因此在虚拟道具无法被虚拟对象当前拥有的虚拟武器所使用,或者无法被虚拟对象所使用,但该虚拟道具的道具价值高于阈值的情况下,终端可以不丢弃该无用虚拟道具,也即将无需丢弃的无用虚拟道具之外的其他无用虚拟道具的数量和类型,确定为丢弃数量和丢弃类型。
在一种可能的实施方式中,在虚拟道具无法被虚拟对象当前拥有的虚拟武器所使用,或者无法被虚拟对象所使用,但根据虚拟对象的历史道具使用情况,该虚拟道具为虚拟对象使用频率较高的虚拟道具的情况下,终端可以不丢弃该无用虚拟道具,也即将无需丢弃的无用虚拟道具之外的其他无用虚拟道具的数量和类型,确定为丢弃数量和丢弃类型。
在一种可能的实施方式中,在拾取列表窗口中的虚拟道具中存在虚拟对象所需要的有用虚拟道具或者虚拟对象使用频率较高的虚拟道具的情况下,为了在丢弃无用虚拟道具之后,能够使虚拟对象尽可能拾取多的虚拟道具,终端可以基于当前拥有的无用虚拟道具,以及拾取列表窗口中待拾取的有用虚拟道具,确定无用虚拟道具的丢弃数量以及丢弃类型,比如,终端可以先确定拾取列表窗口中待拾取的有用虚拟道具对应的道具容量,再根据该道具容量,丢弃对应道具容量的无用虚拟道具。
示意性的,终端可以先根据背包中无用虚拟道具的道具属性,对无用虚拟道具进行排序,得到初步排序结果,再根据历史道具使用情况,对初步排序结果进行调整(如被使用过的无用虚拟道具的排序位置前移),即可得到过渡排序结果。其中,过渡排序结果中不包括根据道具属性和历史道具使用情况所确定的无需丢弃的无用虚拟道具。最后再根据拾取列表窗口中待拾取的有用虚拟道具,确定过渡排序结果是否有用虚拟道具被拾取的条件,若满足,则将过渡排序结果确定为第二排序结果。第二排序结果中的各个无用虚拟道具对应的数量和类型,即可丢弃数量和丢地类型。
步骤708,基于丢弃数量以及丢弃类型,控制虚拟对象丢弃拥有的无用虚拟道具。
本步骤的具体实施方式可以参考步骤409,本实施例在此不作赘述。
上述实施例中,通过在拾取列表窗口中设置道具管理控件,使得用户能够在控制虚拟对象拾取虚拟道具之前,先对虚拟对象拥有的无用虚拟道具进行丢弃,从而提高虚拟对象对当前拾取列表窗口中有用虚拟道具的拾取率。
并且,通过根据虚拟对象拥有的无用虚拟道具的道具属性、拾取列表窗口中存在的虚拟道具的道具属性、以及虚拟对象的历史道具使用情况,确定无用虚拟道具的丢弃数量以及丢弃类型,实现了对无用虚拟道具的适量丢弃,提高了丢弃无用虚拟道具的效率。
在一种可能的实施方式中,在显示的拾取列表窗口中存在虚拟补给品的情况下,为了能够控制虚拟对象直接使用对应的虚拟补给品,而不需要先拾取虚拟补给品放入背包,终端可以在拾取列表窗口的虚拟补给品对应的显示框中设置使用控件,从而直接控制虚拟对象使用虚拟补给品,该过程可以包括以下步骤:
1、在拾取列表窗口中存在虚拟补给品的情况下,在虚拟补给品对应的显示框中显示使用控件,该使用控件用于实现对虚拟补给品的直接使用。
其中,虚拟补给品用于对虚拟对象进行补给,如其可用于恢复虚拟对象的生命值、体力值等。本申请实施例对使用控件的外形和尺寸不作限定,其可以根据使用需求进行设置与调整。
在一种可能的实施方式中,在拾取列表窗口中存在虚拟补给品的情况下,终端可以在虚 拟补给品对应的显示框中显示使用控件,从而通过该使用控件实现对虚拟补给品的直接使用。
在一种可能的实施方式中,由于不同的虚拟补给品具有不同的补给功能,因此为了提高确定虚拟对象使用何种虚拟补给品的效率,终端可以根据虚拟补给品所属的补给品类型以及虚拟对象当前的对象属性,确定拾取列表窗口中适用于虚拟对象的目标虚拟补给品,从而在目标虚拟补给品对应的显示框中显示使用控件,从而达到提示用户使用目标虚拟补给品的作用。示意性的,终端在拾取列表窗口中存在虚拟补给品的情况下,先确定虚拟补给品所属的补给品类型,再基于补给品类型以及虚拟对象的对象属性,确定适用于虚拟对象的目标虚拟补给品,最后在目标虚拟补给品对应的显示框中,显示使用控件,以供虚拟对象直接使用。
可选的,虚拟对象的对象属性可以是虚拟对象的生命值、能量值等等,本申请实施例对此不作限定。
示意性的,虚拟补给品的补给品类型可以包括能量饮料、医疗箱、医疗包、绷带、止痛药、肾上腺素等等。
在一个示意性的例子中,在虚拟对象当前的能量值小于100,且拾取列表窗口中存在能量饮料的情况下,终端可以在能量饮料对应的显示框中显示使用控件。
示意性的,如图9所示,在拾取列表窗口901中存在虚拟补给品902的情况下,若检测到虚拟对象需要使用虚拟补给品902,则在虚拟补给品902对应的显示框中显示使用控件903,以供虚拟对象直接使用。
2、响应于对使用控件的第二操作,控制虚拟对象使用虚拟补给品。
在一种可能的实施方式中,在接收到用户对使用控件的第二操作的情况下,终端控制虚拟对象使用虚拟补给品。
可选的,第二操作用于触发使用控件,如第二操作可以是针对使用控件的单击操作、双击操作、长按操作等等,本申请实施例对此不作限定。
示意性的,如图9所示,响应于用户对使用控件903的点击操作,终端控制虚拟对象使用虚拟补给品902。
上述实施例中,通过在拾取列表窗口中虚拟补给品的显示框中显示使用控件,可以实现在不添加虚拟补给品到背包的情况下,直接控制虚拟对象快速使用虚拟补给品,从而提高了虚拟补给品的使用效率。
请参考图10,其示出了本申请一个示例性实施例提供的确定无用虚拟道具的流程图。
步骤1001,开始。
步骤1002,判断虚拟道具是否为虚拟弹药或者虚拟配件。
终端对虚拟对象当前拥有的虚拟道具进行判断,判断虚拟道具是否为虚拟弹药或者虚拟配件,在虚拟道具不为虚拟弹药或者虚拟配件的情况下,进入步骤1003;在虚拟道具为虚拟弹药或者虚拟配件的情况下,进入步骤1004。
步骤1003,确定虚拟道具不为无用虚拟道具。
在虚拟道具不为虚拟弹药或者虚拟配件的情况下,终端确定虚拟道具不为无用虚拟道具。
步骤1004,判断虚拟弹药或者虚拟配件是否为虚拟武器所使用的虚拟道具。
在虚拟道具为虚拟弹药或者虚拟配件的情况下,终端继续判断虚拟弹药或者虚拟配件是否为虚拟武器所使用的虚拟道具,在虚拟道具为虚拟武器所使用的虚拟道具的情况下,进入步骤1005;在虚拟道具不为虚拟武器所使用的虚拟道具的情况下,进入步骤1006。
步骤1005,确定虚拟道具不为无用虚拟道具。
在虚拟道具为虚拟武器所使用的虚拟道具的情况下,终端确定虚拟道具不为无用虚拟道具。
步骤1006,确定虚拟道具为无用虚拟道具。
在虚拟道具不为虚拟武器所使用的虚拟道具的情况下,终端确定虚拟道具为无用虚拟道 具。
请参考图11,其示出了本申请一个示例性实施例提供的背包界面中快速丢弃无用虚拟道具的流程图。
步骤1101,接收对丢弃控件的长按操作。
终端接收用户对背包界面中丢弃控件的长按操作。
步骤1102,判断虚拟对象是否拥有无用虚拟道具。
终端判断虚拟对象是否拥有无用虚拟道具,在虚拟对象不拥有无用虚拟道具的情况下,进入步骤1103;在虚拟对象拥有无用虚拟道具的情况下,进入步骤1104。
步骤1103,显示第一提示信息。
终端显示第一提示信息,提示用户当前不存在无用虚拟道具。
步骤1104,显示第二提示信息以及进度条。
终端显示第二提示信息,提示用户当前存在无用虚拟道具,并显示进度条,以向用户指示长按操作的操作时长。
步骤1105,确定长按操作达到0.4秒。
终端确定长按操作满足第一条件,达到0.4秒。
步骤1106,显示丢弃提示信息。
终端显示丢弃提示信息,提示用户结束长按操作,可对无用虚拟道具进行丢弃。
步骤1107,判断长按操作是否结束。
终端判断长按操作是否结束,在长按操作结束的情况下,进入步骤1109;在长按操作未结束的情况下,进入步骤1108。
步骤1108,结束。
步骤1109,控制虚拟对象丢弃无用虚拟道具。
在长按操作结束的情况下,终端控制虚拟对象丢弃无用虚拟道具。
请参考图12,其示出了本申请一个示例性实施例提供的主界面中快速丢弃无用虚拟道具的流程图。
步骤1201,接收对背包控件的长按操作。
终端接收用户对主界面中背包控件的长按操作。
步骤1202,判断虚拟对象是否拥有无用虚拟道具。
终端判断虚拟对象是否拥有无用虚拟道具,在虚拟对象不拥有无用虚拟道具的情况下,进入步骤1203;在虚拟对象拥有无用虚拟道具的情况下,进入步骤1204。
步骤1203,显示第一提示信息。
终端显示第一提示信息,提示用户当前不存在无用虚拟道具。
步骤1204,显示第二提示信息以及进度条。
终端显示第二提示信息,提示用户当前存在无用虚拟道具,并显示进度条,以向用户指示长按操作的操作时长。
步骤1205,确定长按操作达到0.4秒。
终端确定长按操作满足第一条件,达到0.4秒。
步骤1206,显示丢弃提示信息。
终端显示丢弃提示信息,提示用户结束长按操作,可对无用虚拟道具进行丢弃。
步骤1207,判断长按操作是否结束。
终端判断长按操作是否结束,在长按操作结束的情况下,进入步骤1209;在长按操作未结束的情况下,进入步骤1208。
步骤1208,结束。
步骤1209,控制虚拟对象丢弃无用虚拟道具。
在长按操作结束的情况下,终端控制虚拟对象丢弃无用虚拟道具。
请参考图13,其示出了本申请一个示例性实施例提供的快速使用虚拟补给品的流程图。
步骤1301,显示拾取列表窗口,该拾取列表窗口中存在虚拟补给品。
终端显示拾取列表窗口,该拾取列表窗口中存在虚拟补给品。
步骤1302,判断虚拟补给品的补给品类型。
终端判断虚拟补给品的补给品类型,根据补给品类型确定下一步骤。
步骤1303,确定虚拟补给品为医疗箱。
步骤1304,判断虚拟对象的能量值是否小于80。
终端判断虚拟对象的能量值是否小于80,在能量值小于80的情况下,进入步骤1306;在能量值大于80的情况下,进入步骤1305。
步骤1305,不显示使用控件。
步骤1306,显示使用控件。
步骤1307,确定虚拟补给品为能量饮料。
步骤1308,判断虚拟对象的能量值是否小于100。
终端判断虚拟对象的能量值是否小于100,在能量值小于100的情况下,进入步骤1310;在能量值大于100的情况下,进入步骤1309。
步骤1309,不显示使用控件。
步骤1310,显示使用控件。
步骤1311,判断是否存在对使用控件的点击操作。
终端判断是否存在对使用控件的点击操作,在存在对使用控件的点击操作的情况下,进入步骤1313;在不存在对使用控件的点击操作的情况下,进入步骤1312。
步骤1312,结束。
步骤1313,控制虚拟对象使用对应的虚拟补给品。
在存在对使用控件的点击操作的情况下,终端控制虚拟对象使用对应的虚拟补给品。
请参考图14,其示出了本申请一个示例性实施例提供的虚拟道具的丢弃装置的结构框图,该装置包括:
操作接收模块1401,用于在未选中虚拟道具的情况下,接收对道具管理控件的第一操作,所述道具管理控件用于触发对虚拟对象拥有的虚拟道具进行管理;
第一显示模块1402,用于在所述虚拟对象拥有的所述虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,所述无用虚拟道具是指无法被所述虚拟对象使用的虚拟道具;
第一控制模块1403,用于在所述第一操作结束的情况下,控制所述虚拟对象丢弃拥有的所述无用虚拟道具。
可选的,所述道具管理控件包括以下至少之一:背包界面中的丢弃控件、主界面中的背包控件以及拾取列表窗口中的第一控件;
所述操作接收模块1401,包括:
第一接收单元,用于在未选中所述背包界面中的所述虚拟道具的情况下,接收对所述背包界面中的所述丢弃控件的第一操作;或者,
第二接收单元,用于在未选中所述虚拟道具的情况下,接收对所述主界面中的所述背包控件的第一操作,所述第一操作不同于用于查看所述背包界面时,对所述背包控件的触发操作;或者,
第三接收单元,用于在未选中所述拾取列表窗口中的所述虚拟道具的情况下,接收对所述拾取列表窗口中的所述第一控件的第一操作。
可选的,所述道具管理控件为所述丢弃控件以及所述背包控件中的一种;
所述第一控制模块1403,包括:
第一确定单元,用于在所述第一操作结束的情况下,基于所述虚拟对象拥有的所述无用虚拟道具,确定所述无用虚拟道具的丢弃数量以及丢弃类型;
第一控制单元,用于基于所述丢弃数量以及所述丢弃类型,控制所述虚拟对象丢弃拥有的所述无用虚拟道具。
可选的,所述第一确定单元,用于:
在所述第一操作结束的情况下,基于所述无用虚拟道具的道具属性以及所述虚拟对象的历史道具使用情况,对所述无用虚拟道具进行排序,得到第一排序结果,所述道具属性包括道具数量以及道具价值中的至少一种;
基于所述第一排序结果,确定所述无用虚拟道具的所述丢弃数量以及所述丢弃类型。
可选的,所述道具管理控件为所述第一控件;
所述第一控制模块1403,包括:
第二确定单元,用于在所述第一操作结束的情况下,基于所述虚拟对象拥有的所述无用虚拟道具以及所述拾取列表窗口中存在的所述虚拟道具,确定所述无用虚拟道具的丢弃数量以及丢弃类型;
第二控制单元,用于基于所述丢弃数量以及所述丢弃类型,控制所述虚拟对象丢弃拥有的所述无用虚拟道具。
可选的,所述第二确定单元,用于:
在所述第一操作结束的情况下,基于所述无用虚拟道具的道具属性、所述拾取列表窗口中存在的所述虚拟道具的道具属性、以及所述虚拟对象的历史道具使用情况,对所述无用虚拟道具进行排序,得到第二排序结果,所述道具属性包括道具数量以及道具价值中的至少一种;
基于所述第二排序结果,确定所述无用虚拟道具的所述丢弃数量以及所述丢弃类型。
可选的,所述道具管理控件为所述第一控件;
所述装置还包括:
第二显示模块,用于在所述拾取列表窗口中存在虚拟补给品的情况下,在所述虚拟补给品对应的显示框中显示使用控件,所述使用控件用于实现对所述虚拟补给品的直接使用;
第二控制模块,用于响应于对所述使用控件的第二操作,控制所述虚拟对象使用所述虚拟补给品。
可选的,所述第二显示模块,用于:
在所述拾取列表窗口中存在所述虚拟补给品的情况下,确定所述虚拟补给品所属的补给品类型;
基于所述补给品类型以及所述虚拟对象的对象属性,确定适用于所述虚拟对象的目标虚拟补给品;
在所述目标虚拟补给品对应的所述显示框中,显示所述使用控件。
可选的,所述第一显示模块1402,用于:
在所述第一操作的操作参数满足所述第一条件,且所述虚拟对象拥有的所述虚拟道具中包含所述无用虚拟道具的情况下,显示所述丢弃提示信息,所述操作参数包括操作时长和操作力度中的至少一种。
可选的,所述显示丢弃提示信息之前,所述装置还包括:
第三显示模块,用于在所述第一操作的操作参数满足第二条件,且所述虚拟对象拥有的所述虚拟道具中不包含所述无用虚拟道具的情况下,显示第一提示信息,所述第一提示信息用于指示所述虚拟道具中不包含所述无用虚拟道具;
第四显示模块,用于在所述第一操作的操作参数满足所述第二条件,且所述虚拟对象拥有的所述虚拟道具中包含所述无用虚拟道具的情况下,显示第二提示信息,所述第二提示信息用于指示所述虚拟道具中包含所述无用虚拟道具。
可选的,所述显示第二提示信息之后,所述装置还包括:
第五显示模块,用于在所述第一操作未结束,且未满足所述第一条件的情况下,在所述道具管理控件上显示进度条,所述进度条用于指示所述第一操作的操作进度;
调整模块,用于基于所述第一操作的所述操作进度,调整所述进度条的指示进度,所述指示进度与所述操作进度呈正相关关系。
综上所述,本申请实施例中,在未选中虚拟道具的情况下,若终端设备接收到对道具管理控件的第一操作,则在虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,进而在第一操作结束的情况下,控制虚拟对象丢弃拥有的无用虚拟道具,使得用户仅需针对道具管理控件进行一次性操作,即可实现一次性选择和丢弃多种无用虚拟道具,而无需一一选择和丢弃无用虚拟道具,从而缩短了丢弃虚拟对象拥有的无用虚拟道具的时间,进而提高了对无用虚拟道具的丢弃效率。
需要说明的是:上述实施例提供的装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其实现过程详见方法实施例,这里不再赘述。
请参考图15,其示出了本申请一个示例性实施例提供的终端1500的结构框图。该终端1500可以是便携式移动终端,比如:智能手机、平板电脑、动态影像专家压缩标准音频层面3(Moving Picture Experts Group Audio Layer III,MP3)播放器、动态影像专家压缩标准音频层面4(Moving Picture Experts Group Audio Layer IV,MP4)播放器。终端1500还可能被称为用户设备、便携式终端等其他名称。
通常,终端1500包括有:处理器1501和存储器1502。
处理器1501可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1501可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1501也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(Central Processing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1501可以在集成有图像处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1501还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1502可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是有形的和非暂态的。存储器1502还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1502中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1501所执行以实现本申请实施例提供的虚拟道具的丢弃方法。
在一些实施例中,终端1500还可选包括有:外围设备接口1503和至少一个外围设备。
外围设备接口1503可被用于将输入/输出(Input/Output,I/O)相关的至少一个外围设备连接到处理器1501和存储器1502。在一些实施例中,处理器1501、存储器1502和外围设备接口1503被集成在同一芯片或电路板上;在一些其他实施例中,处理器1501、存储器1502和外围设备接口1503中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
本领域技术人员可以理解,图15中示出的结构并不构成对终端1500的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有至少一 段程序,所述至少一段程序由处理器加载并执行以实现如上各个实施例所述的虚拟道具的丢弃方法。
根据本申请的一个方面,提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端执行上述方面的各种可选实现方式中提供的虚拟道具的丢弃方法。
需要说明的是,本申请实施例在收集用户的相关数据之前以及在收集用户的相关数据的过程中,都可以显示提示界面、弹窗或输出语音提示信息,该提示界面、弹窗或语音提示信息用于提示用户当前正在搜集其相关数据,使得本申请仅仅在获取到用户对该提示界面或者弹窗发出的确认操作后,才开始执行获取用户相关数据的相关步骤,否则(即未获取到用户对该提示界面或者弹窗发出的确认操作时),结束获取用户相关数据的相关步骤,即不获取用户的相关数据。换句话说,本申请所采集的所有用户数据,处理严格根据相关国家法律法规的要求,获取个人信息主体的知情同意或单独同意都是在用户同意并授权的情况下进行采集的,并在法律法规及个人信息主体的授权范围内,开展后续数据使用及处理行为且相关用户数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。例如,本申请中涉及到的第一操作、第二操作、用户界面、虚拟环境、虚拟对象等都是在充分授权的情况下获取的。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读存储介质中或者作为计算机可读存储介质上的一个或多个指令或代码进行传输。计算机可读存储介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (15)

  1. 一种虚拟道具的丢弃方法,所述方法由终端设备执行,所述方法包括:
    在未选中虚拟道具的情况下,接收对道具管理控件的第一操作,所述道具管理控件用于触发对虚拟对象拥有的虚拟道具进行管理;
    在所述虚拟对象拥有的虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,所述无用虚拟道具是指无法被所述虚拟对象使用的虚拟道具;
    在所述第一操作结束的情况下,控制所述虚拟对象丢弃拥有的所述无用虚拟道具。
  2. 根据权利要求1所述的方法,其中,所述道具管理控件包括以下至少之一:背包界面中的丢弃控件、主界面中的背包控件以及拾取列表窗口中的第一控件;
    所述在未选中虚拟道具的情况下,接收对道具管理控件的第一操作,包括:
    在未选中所述背包界面中的所述虚拟道具的情况下,接收对所述背包界面中的所述丢弃控件的第一操作;或者,
    在未选中所述虚拟道具的情况下,接收对所述主界面中的所述背包控件的第一操作,所述第一操作不同于用于查看所述背包界面时,对所述背包控件的触发操作;或者,
    在未选中所述拾取列表窗口中的所述虚拟道具的情况下,接收对所述拾取列表窗口中的所述第一控件的第一操作。
  3. 根据权利要求2所述的方法,其中,所述道具管理控件为所述丢弃控件以及所述背包控件中的一种;
    所述在所述第一操作结束的情况下,控制所述虚拟对象丢弃拥有的所述无用虚拟道具,包括:
    在所述第一操作结束的情况下,基于所述虚拟对象拥有的所述无用虚拟道具,确定所述无用虚拟道具的丢弃数量以及丢弃类型;
    基于所述丢弃数量以及所述丢弃类型,控制所述虚拟对象丢弃拥有的所述无用虚拟道具。
  4. 根据权利要求3所述的方法,其中,所述在所述第一操作结束的情况下,基于所述虚拟对象拥有的所述无用虚拟道具,确定所述无用虚拟道具的丢弃数量以及丢弃类型,包括:
    在所述第一操作结束的情况下,基于所述无用虚拟道具的道具属性以及所述虚拟对象的历史道具使用情况,对所述无用虚拟道具进行排序,得到第一排序结果,所述道具属性包括道具数量以及道具价值中的至少一种;
    基于所述第一排序结果,确定所述无用虚拟道具的所述丢弃数量以及所述丢弃类型。
  5. 根据权利要求2所述的方法,其中,所述道具管理控件为所述第一控件;
    所述在所述第一操作结束的情况下,控制所述虚拟对象丢弃拥有的所述无用虚拟道具,包括:
    在所述第一操作结束的情况下,基于所述无用虚拟道具以及所述拾取列表窗口中存在的所述虚拟道具,确定所述无用虚拟道具的丢弃数量以及丢弃类型;
    基于所述丢弃数量以及所述丢弃类型,控制所述虚拟对象丢弃拥有的所述无用虚拟道具。
  6. 根据权利要求5所述的方法,其中,所述在所述第一操作结束的情况下,基于所述无用虚拟道具以及所述拾取列表窗口中存在的所述虚拟道具,确定所述无用虚拟道具的丢弃数量以及丢弃类型,包括:
    在所述第一操作结束的情况下,基于所述无用虚拟道具的道具属性、所述拾取列表窗口中存在的所述虚拟道具的道具属性、以及所述虚拟对象的历史道具使用情况,对所述无用虚拟道具进行排序,得到第二排序结果,所述道具属性包括道具数量以及道具价值中的至少一种;
    基于所述第二排序结果,确定所述无用虚拟道具的所述丢弃数量以及所述丢弃类型。
  7. 根据权利要求2所述的方法,其中,所述道具管理控件为所述第一控件;所述方法还包 括:
    在所述拾取列表窗口中存在虚拟补给品的情况下,在所述虚拟补给品对应的显示框中显示使用控件,所述使用控件用于实现对所述虚拟补给品的直接使用;
    响应于对所述使用控件的第二操作,控制所述虚拟对象使用所述虚拟补给品。
  8. 根据权利要求7所述的方法,其中,所述在所述拾取列表窗口中存在虚拟补给品的情况下,在所述虚拟补给品对应的显示框中显示使用控件,包括:
    在所述拾取列表窗口中存在所述虚拟补给品的情况下,确定所述虚拟补给品所属的补给品类型;
    基于所述补给品类型以及所述虚拟对象的对象属性,确定适用于所述虚拟对象的目标虚拟补给品;
    在所述目标虚拟补给品对应的所述显示框中,显示所述使用控件。
  9. 根据权利要求1至8任一项所述的方法,其中,所述在所述虚拟对象拥有的所述虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,包括:
    在所述第一操作的操作参数满足所述第一条件,且所述虚拟对象拥有的所述虚拟道具中包含所述无用虚拟道具的情况下,显示所述丢弃提示信息,所述操作参数包括操作时长和操作力度中的至少一种。
  10. 根据权利要求9所述的方法,其中,所述显示丢弃提示信息之前,所述方法还包括:
    在所述第一操作的操作参数满足第二条件,且所述虚拟对象拥有的所述虚拟道具中不包含所述无用虚拟道具的情况下,显示第一提示信息,所述第一提示信息用于指示所述虚拟道具中不包含所述无用虚拟道具;
    在所述第一操作满足的操作参数所述第二条件,且所述虚拟对象拥有的所述虚拟道具中包含所述无用虚拟道具的情况下,显示第二提示信息,所述第二提示信息用于指示所述虚拟道具中包含所述无用虚拟道具。
  11. 根据权利要求10所述的方法,其中,所述显示第二提示信息之后,所述方法还包括:
    在所述第一操作未结束,且未满足所述第一条件的情况下,在所述道具管理控件上显示进度条,所述进度条用于指示所述第一操作的操作进度;
    基于所述第一操作的所述操作进度,调整所述进度条的指示进度,所述指示进度与所述操作进度呈正相关关系。
  12. 一种虚拟道具的丢弃装置,所述装置包括:
    操作接收模块,用于在未选中虚拟道具的情况下,接收对道具管理控件的第一操作,所述道具管理控件用于触发对虚拟对象拥有的虚拟道具进行管理;
    第一显示模块,用于在所述虚拟对象拥有的所述虚拟道具中包含无用虚拟道具的情况下,显示丢弃提示信息,所述无用虚拟道具是指无法被所述虚拟对象使用的虚拟道具;
    第一控制模块,用于在所述第一操作结束的情况下,控制所述虚拟对象丢弃拥有的所述无用虚拟道具。
  13. 一种终端设备,所述终端设备包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如权利要求1至11任一所述的虚拟道具的丢弃方法。
  14. 一种计算机可读存储介质,所述可读存储介质中存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如权利要求1至11任一所述的虚拟道具的丢弃方法。
  15. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质,处理器从所述计算机可读存储介质读取所述计算机指令,所述处理器执行所述计算机指令,以实现如权利要求1至11任一所述的虚拟道具的丢弃方法。
PCT/CN2023/124258 2022-11-22 2023-10-12 虚拟道具的丢弃方法、装置、终端及存储介质 WO2024109377A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211466727.X 2022-11-22
CN202211466727.XA CN118059487A (zh) 2022-11-22 2022-11-22 虚拟道具的快速丢弃方法、装置、终端及存储介质

Publications (1)

Publication Number Publication Date
WO2024109377A1 true WO2024109377A1 (zh) 2024-05-30

Family

ID=91104533

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/124258 WO2024109377A1 (zh) 2022-11-22 2023-10-12 虚拟道具的丢弃方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN118059487A (zh)
WO (1) WO2024109377A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112516583A (zh) * 2020-12-11 2021-03-19 网易(杭州)网络有限公司 游戏中的数据处理方法、装置以及电子终端
CN113559507A (zh) * 2021-04-28 2021-10-29 网易(杭州)网络有限公司 信息处理方法、装置、存储介质及电子设备
CN114159785A (zh) * 2021-12-10 2022-03-11 网易(杭州)网络有限公司 虚拟道具丢弃方法、装置、电子设备和存储介质
CN114159783A (zh) * 2021-12-07 2022-03-11 网易(杭州)网络有限公司 游戏中道具的处理方法、装置、电子设备及可读介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112516583A (zh) * 2020-12-11 2021-03-19 网易(杭州)网络有限公司 游戏中的数据处理方法、装置以及电子终端
CN113559507A (zh) * 2021-04-28 2021-10-29 网易(杭州)网络有限公司 信息处理方法、装置、存储介质及电子设备
CN114159783A (zh) * 2021-12-07 2022-03-11 网易(杭州)网络有限公司 游戏中道具的处理方法、装置、电子设备及可读介质
CN114159785A (zh) * 2021-12-10 2022-03-11 网易(杭州)网络有限公司 虚拟道具丢弃方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN118059487A (zh) 2024-05-24

Similar Documents

Publication Publication Date Title
CN111773696B (zh) 一种虚拟对象的展示方法、相关装置及存储介质
US20230076343A1 (en) Virtual item selection interface
WO2022151777A1 (zh) 虚拟物品信息的发送方法、显示方法、装置及终端
US20230321537A1 (en) Virtual object control method and apparatus, terminal, storage medium, and program product
WO2023138192A1 (zh) 控制虚拟对象拾取虚拟道具的方法、终端及存储介质
CN114053711A (zh) 界面显示方法、装置、设备以及存储介质
US20230330530A1 (en) Prop control method and apparatus in virtual scene, device, and storage medium
CN113633963A (zh) 游戏控制的方法、装置、终端和存储介质
CN114367111A (zh) 一种游戏技能的控制方法、相关装置、设备及存储介质
CN112206523B (zh) 游戏控制方法、装置、存储介质和电子设备
WO2024109377A1 (zh) 虚拟道具的丢弃方法、装置、终端及存储介质
CN116531758A (zh) 虚拟角色的控制方法、装置、存储介质以及电子装置
WO2024037156A9 (zh) 虚拟消耗品的索要丢弃方法、装置、终端及存储介质
US20240310994A1 (en) Method and apparatus for transferring virtual item, electronic device, and storage medium
CN111249732A (zh) 虚拟对象的获取方法和装置、存储介质及电子装置
WO2023179107A1 (zh) 虚拟道具转移方法、装置、终端、存储介质及程序产品
WO2024104008A1 (zh) 虚拟对象的装备建议方法、调整方法、装置、介质及产品
KR102702512B1 (ko) 가상 아이템 정보 전송 방법 및 장치, 가상 아이템 정보 디스플레이 방법 및 장치, 그리고 단말기
US20220288491A1 (en) Virtual item information transmission method and apparatus, virtual item information display method and apparatus, and terminal
WO2024045806A1 (zh) 基于虚拟场景的技能获取方法、装置、设备、介质及产品
WO2024119717A1 (zh) 游戏交互方法、装置、存储介质和电子设备
US12099691B2 (en) Method and apparatus, computer device, and storage medium for picking up a virtual item in a virtual environment
WO2024098984A1 (zh) 一种虚拟道具的控制方法、装置、设备以及存储介质
US20200393953A1 (en) Method and apparatus, computer device, and storage medium for picking up a virtual item in a virtual environment
CN117695676A (zh) 游戏中虚拟物品的处理方法、装置、存储介质和电子装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23893469

Country of ref document: EP

Kind code of ref document: A1