WO2023000877A1 - 界面显示方法、装置、设备以及存储介质 - Google Patents

界面显示方法、装置、设备以及存储介质 Download PDF

Info

Publication number
WO2023000877A1
WO2023000877A1 PCT/CN2022/099201 CN2022099201W WO2023000877A1 WO 2023000877 A1 WO2023000877 A1 WO 2023000877A1 CN 2022099201 W CN2022099201 W CN 2022099201W WO 2023000877 A1 WO2023000877 A1 WO 2023000877A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
item
items
virtual item
sub
Prior art date
Application number
PCT/CN2022/099201
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 腾讯科技(深圳)有限公司
Priority to JP2023571194A priority Critical patent/JP2024519019A/ja
Publication of WO2023000877A1 publication Critical patent/WO2023000877A1/zh
Priority to US18/197,207 priority patent/US20230280873A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • 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/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/69Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by enabling or updating specific game elements, e.g. unlocking hidden features, items, levels or versions
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets

Definitions

  • the present application relates to the field of computer technology, and in particular to an interface display method, device, equipment and storage medium.
  • the user before the start of the game, the user needs to select virtual props used in the game for the controlled virtual object, for example, the user selects a virtual gun or virtual armor for the controlled virtual object.
  • Embodiments of the present application provide an interface display method, device, device, and storage medium, which can improve the efficiency of human-computer interaction. Described technical scheme is as follows:
  • a method for displaying an interface includes:
  • the terminal displays a virtual item display interface, the virtual item display interface displays a plurality of first virtual items, and the plurality of first virtual items correspond to different parts of the controlled virtual object;
  • the terminal compares the plurality of first virtual items with the second virtual item owned by the controlled virtual object;
  • the terminal In response to any one of the first virtual items not existing in the second virtual item, the terminal displays a virtual item trading interface, and the virtual item trading interface is used to obtain the first virtual item.
  • an interface display device comprising:
  • the first display module is configured to display a virtual item display interface, the virtual item display interface displays a plurality of first virtual items, and the plurality of first virtual items correspond to different parts of the controlled virtual object;
  • a comparison module configured to compare the plurality of first virtual items with the second virtual item owned by the controlled virtual object in response to a confirmation operation on the virtual item display interface
  • the second display module is configured to display a virtual item trading interface in response to any of the first virtual items not existing in the second virtual item, and the virtual item trading interface is used to obtain the first virtual item.
  • the virtual prop display interface includes a plurality of slots, and the plurality of first virtual props are respectively displayed in the plurality of slots, and the device further includes:
  • a virtual item editing interface display module configured to display a virtual item editing interface in response to a selection operation on any one of the plurality of slots, and the virtual item editing interface is used to adjust the first slot corresponding to the slot. virtual props.
  • the virtual item editing interface includes a virtual item selection list, and a plurality of candidate virtual items are displayed in the virtual item selection list, and the plurality of candidate virtual items are virtual items corresponding to the slots , the device also includes:
  • a candidate virtual item display module configured to display the candidate virtual item in the slot in response to any candidate virtual item among the plurality of candidate virtual items being selected.
  • the virtual item editing interface includes a virtual item selection list, and a plurality of candidate virtual items are displayed in the virtual item selection list, and the plurality of candidate virtual items are virtual items corresponding to the slots , the device also includes:
  • the first sub-virtual item update module is configured to respond to any candidate virtual item among the plurality of candidate virtual items being selected, and the candidate virtual item is a virtual item of a target type, in the virtual item editing interface Displaying a sub-virtual item editing interface, the sub-virtual item editing interface displays a plurality of sub-virtual items corresponding to the candidate virtual item, and the virtual item of the target type has a nested relationship with the corresponding sub-virtual item; in response to For an adjustment operation on any sub-virtual item among the plurality of sub-virtual items, the sub-virtual item is updated to the sub-virtual item corresponding to the adjustment operation.
  • the first sub-virtual item updating module is configured to display the sub-virtual item selection corresponding to the sub-virtual item in response to a selection operation on any sub-virtual item in the plurality of sub-virtual items list, the sub-virtual item selection list displays a plurality of candidate sub-virtual items corresponding to the sub-virtual item;
  • the target sub-virtual item In response to a target sub-virtual item among the plurality of candidate sub-virtual items being selected, the target sub-virtual item is used to update the sub-virtual item.
  • the device also includes:
  • a list storage module configured to add the identifier of the first virtual item to a first list in response to any of the first virtual items being the same as any of the second virtual items, and the first list is used to store in The identification of the first virtual item found in the second virtual item; in response to any first virtual item being different from the second virtual item, adding the identification of the first virtual item to the second list, so The second list is used to store identifiers of first virtual items not found in the second virtual items;
  • the second display module is configured to display the virtual item trading interface in response to any identifier of the first virtual item in the second list.
  • At least one piece of item information of the first virtual item is displayed in the virtual item trading interface, and the device further includes:
  • the adding module is configured to add the first virtual item corresponding to the item information to the virtual warehouse of the controlled virtual object in response to a purchase operation based on any piece of item information.
  • the adding module is configured to compare the first virtual resource quantity with the second virtual resource quantity in response to a purchase operation based on any piece of prop information, and the first virtual resource quantity is the prop information
  • the number of virtual resources indicated, the second number of virtual resources being the number of virtual resources owned by the account corresponding to the controlled virtual object;
  • At least one piece of item information of the first virtual item is displayed in the virtual item trading interface, and the device further includes:
  • the temporary package adding module is used to respond to a purchase operation based on any piece of item information, and the space occupied by the first virtual item corresponding to the item information is greater than the remaining space of the virtual warehouse of the controlled virtual object, and the The first virtual prop corresponding to the prop information is added to the temporary package of the controlled virtual object.
  • the at least one piece of item information is item information determined based on recommended priorities, and the recommended priorities include the type priority of virtual resources, the number priority of virtual resources, and the type priority of virtual items. at least one.
  • the device also includes:
  • An updating module configured to update the equipped virtual props of the controlled virtual object to the plurality of first virtual props in response to the plurality of first virtual props being second virtual props owned by the controlled virtual object. virtual props.
  • the update module is configured to, in response to the plurality of first virtual items being the second virtual items owned by the controlled virtual object, update the third virtual item equipped by the controlled virtual object to The virtual prop is added to the virtual warehouse of the controlled virtual object, and the third virtual prop is a virtual prop different from the corresponding first virtual prop; the plurality of first virtual props in the virtual warehouse are determined as the The virtual props equipped by the accused virtual object.
  • the equipment also includes:
  • a model updating module configured to update the model of the controlled virtual object by using the models of the plurality of first virtual props.
  • the plurality of first virtual items include target-type virtual items
  • the device further includes:
  • the second sub-virtual item update module is configured to respond to the plurality of first virtual items being second virtual items owned by the controlled virtual object, and the controlled virtual object has been equipped with virtual items of the target type. item, the terminal compares the first sub-virtual item with the second sub-virtual item, the first sub-virtual item is the sub-virtual item corresponding to the virtual item of the target type in the first virtual item, and the second sub-virtual item is The second sub-virtual prop is the sub-virtual prop corresponding to the virtual prop of the target type that the controlled virtual object has equipped, and there is a nesting relationship between the virtual prop of the target type and the corresponding sub-virtual prop; In the case that the second sub-virtual item is the same as the first sub-virtual item, the terminal does not update the sub-virtual item contained in the target type virtual item; In the case of a sub-virtual item with a different second sub-virtual item, the terminal uses the corresponding first sub-
  • the virtual item of the target type is a container-type virtual item, and the container-type virtual item is used for accommodating corresponding sub-virtual items.
  • the device also includes:
  • An update module configured to update the equipped virtual items of the controlled virtual object by using the first virtual item owned by the controlled virtual object in response to the closing operation of the virtual item trading interface.
  • the device also includes:
  • the third display module is used to display a virtual item configuration interface, and the virtual item configuration interface is used to configure the plurality of first virtual items;
  • the first display module is further configured to display the virtual item display interface in response to a confirmation operation on the virtual item configuration interface.
  • a computer device in one aspect, includes one or more processors and one or more memories, at least one computer program is stored in the one or more memories, and the computer program is executed by the One or more processors are loaded and executed to realize the interface display method.
  • a computer-readable storage medium wherein at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the interface display method.
  • a computer program product or computer program comprising computer program code stored in a computer-readable storage medium, a processor of a computer device reading from the computer-readable storage medium
  • the computer program code is read, and the processor executes the computer program code, so that the computer device executes the above interface display method.
  • FIG. 1 is a schematic diagram of an implementation environment of an interface display method provided in an embodiment of the present application
  • Fig. 2 is a flow chart of an interface display method provided by an embodiment of the present application.
  • Fig. 3 is a flow chart of an interface display method provided by an embodiment of the present application.
  • Fig. 4 is a schematic diagram of an interface provided by an embodiment of the present application.
  • Fig. 5 is a schematic diagram of an interface provided by an embodiment of the present application.
  • Fig. 6 is a schematic diagram of an interface provided by an embodiment of the present application.
  • Fig. 7 is a schematic diagram of an interface provided by an embodiment of the present application.
  • Fig. 8 is a schematic diagram of a method for configuring multiple first virtual props provided by an embodiment of the present application.
  • Fig. 9 is a schematic diagram of a method for updating the equipped virtual props of the controlled virtual object provided by the embodiment of the present application.
  • Fig. 10 is a schematic structural diagram of an interface display device provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the term "at least one" refers to one or more, and the meaning of "multiple” refers to two or more.
  • a plurality of virtual items refers to two or more virtual items.
  • Virtual scene it is a virtual scene displayed (or provided) when the application program is running on the terminal.
  • the virtual scene may be a half-simulation and half-fictional virtual environment, or a purely fictitious virtual environment.
  • the virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene, and the embodiment of the present application does not limit the dimensions of the virtual scene.
  • the virtual scene may include sky, land, ocean, etc.
  • the land may include environmental elements such as deserts and cities, and the user may control virtual objects to move in the virtual scene.
  • Virtual object refers to the movable object in the virtual scene.
  • the movable object may be a virtual character, a virtual animal, an animation character, etc., such as: a character, an animal, a plant, an oil drum, a wall, a stone, etc. displayed in a virtual scene.
  • the virtual object may be a virtual avatar representing the user in the virtual scene.
  • the virtual scene may include multiple virtual objects, and each virtual object has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.
  • the virtual object is a user character controlled through operations on the client, or an artificial intelligence (Artificial Intelligence, AI) set in a virtual scene battle through training, or a non-user character set in a virtual scene Character (Non-Player Character, NPC).
  • AI Artificial Intelligence
  • NPC Non-Player Character
  • the virtual object is a virtual character competing in a virtual scene.
  • the number of virtual objects participating in the interaction in the virtual scene is preset, or dynamically determined according to the number of clients participating in the interaction.
  • the user can control the virtual object to fall freely in the sky of the virtual scene, glide or open the parachute to fall, etc., run, jump, crawl, bend forward, etc. on the land, and can also control The virtual object swims, floats or dives in the ocean.
  • the user can also control the virtual object to move in the virtual scene on a virtual vehicle.
  • the virtual vehicle can be a virtual car, a virtual aircraft, a virtual yacht, etc.
  • the above-mentioned scenario is used as an example for illustration, and this embodiment of the present application does not specifically limit it.
  • Users can also control virtual objects to interact with other virtual objects through interactive props in the game.
  • Interactive props can also be shooting interactive props such as virtual machine guns, virtual pistols, virtual rifles, etc. This application does not specifically limit the types of interactive props.
  • FIG. 1 is a schematic diagram of an implementation environment of an interface display method provided by an embodiment of the present application.
  • the implementation environment includes: a first terminal 120 , a second terminal 140 and a server 160 .
  • the first terminal 120 installs and runs an application program supporting virtual scene display.
  • the application program is any one of a First-Person Shooting Game (First-Person Shooting Game, FPS), a third-person shooting game, a virtual reality application program, a three-dimensional map program or a multiplayer survival game.
  • the first terminal 120 is the terminal used by the first user.
  • the first user uses the first terminal 120 to operate the controlled virtual object located in the virtual scene to carry out activities.
  • the activities include but are not limited to: adjusting body posture, crawling, walking, running, At least one of riding, jumping, driving, picking up, shooting, attacking, throwing.
  • the controlled virtual object is a first virtual character, such as a simulated character or an anime character.
  • the first terminal 120 and the second terminal 140 are connected to the server 160 through a wireless network or a wired network.
  • the second terminal 140 is installed and runs an application program supporting virtual scene display.
  • the application program is any one of FPS, third-person shooting game, virtual reality application program, three-dimensional map program or multiplayer survival game.
  • the second terminal 140 is a terminal used by the second user.
  • the second user uses the second terminal 140 to operate another virtual object located in the virtual scene to carry out activities.
  • the activities include but are not limited to: adjusting body posture, crawling, walking, running, At least one of riding, jumping, driving, picking up, shooting, attacking, throwing.
  • the virtual object controlled by the second terminal 140 is a second virtual character, such as a simulated character or an anime character.
  • the virtual object controlled by the first terminal 120 and the virtual object controlled by the second terminal 140 are in the same virtual scene. Objects interact.
  • the virtual object controlled by the first terminal 120 is hostile to the virtual object controlled by the second terminal 140, for example, the virtual object controlled by the first terminal 120 and the virtual object controlled by the second terminal 140 belong to different teams Virtual objects with organizations and hostile relationships can interact on land by shooting each other.
  • the application programs installed on the first terminal 120 and the second terminal 140 are the same, or the application programs installed on the two terminals are the same type of application programs on different operating system platforms.
  • the first terminal 120 generally refers to one of the multiple terminals
  • the second terminal 140 generally refers to one of the multiple terminals, and this embodiment only uses the first terminal 120 and the second terminal 140 for illustration.
  • the device types of the first terminal 120 and the second terminal 140 are the same or different, and the device types include: at least one of a smart phone, a tablet computer, a laptop computer, and a desktop computer.
  • the first terminal 120 and the second terminal 140 may be smart phones, or other handheld portable game devices but are not limited thereto.
  • a terminal is used to refer to a first terminal or a second terminal.
  • the server 160 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication , middleware service, domain name service, security service, distribution network (Content Delivery Network, CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms. limited.
  • the terminal is also the first terminal 120 or the second terminal 140 in the above-mentioned implementation environment
  • the server is also the above-mentioned server 160 .
  • the technical solution provided by the embodiment of the present application can be applied in the scene of the shooting game, or the scene of the fighting game, which is not limited in the embodiment of the present application.
  • the technical solution provided by the embodiment of the present application is applied in the shooting game scene.
  • the user displays multiple first virtual props configured for the controlled virtual object through the virtual prop display interface, that is, the user controls the controlled virtual object.
  • a rig where virtual objects shoot with other user-controlled virtual objects in a virtual scene.
  • the plurality of first virtual props include virtual guns used by the controlled virtual object in the virtual scene, and the virtual guns are virtual props corresponding to the hands of the controlled virtual object.
  • the plurality of first virtual props also include a virtual helmet of the controlled virtual object.
  • the virtual helmet can reduce the damage received by the controlled virtual object when it is hit.
  • the virtual helmet is also a virtual prop corresponding to the head of the controlled virtual object.
  • the user can configure multiple first virtual items for the controlled virtual object in advance through the virtual item display interface.
  • the multiple first virtual items are the multiple virtual items that the user controls the controlled virtual object to use in the next game .
  • the user can view the configured multiple first virtual items through the virtual item display interface.
  • the user controls the terminal to equip the multiple first virtual props on the controlled virtual object through a confirmation operation on the virtual prop display interface.
  • the terminal displays the virtual item trading interface, and the user can pass The virtual item trading interface is used to purchase the first virtual item.
  • the technical solution provided by the embodiment of the present application is applied in the scene of fighting games.
  • the user displays multiple first virtual props configured for the controlled virtual object through the virtual prop display interface, that is, the user controls the controlled virtual object.
  • the virtual props in the fighting game can improve the attribute value of the virtual object.
  • the plurality of first virtual props include virtual gloves used by the controlled virtual object in the virtual scene, and the virtual gloves are virtual props corresponding to the hands of the controlled virtual object.
  • the plurality of first virtual props also includes a virtual hair band of the controlled virtual object. In some embodiments, the virtual hair band can increase the blood volume of the controlled virtual object.
  • the virtual hair band is a virtual prop corresponding to the head of the controlled virtual object.
  • the user can configure multiple first virtual items for the controlled virtual object in advance through the virtual item display interface.
  • the multiple first virtual items are the multiple virtual items that the user controls the controlled virtual object to use in the next game .
  • the user can view the configured multiple first virtual items through the virtual item display interface.
  • the user controls the terminal to equip the multiple first virtual props on the controlled virtual object through a confirmation operation on the virtual prop display interface.
  • the terminal displays the virtual item trading interface, and the user can pass The virtual item trading interface is used to purchase the first virtual item.
  • Fig. 2 is a flow chart of an interface display method provided by the embodiment of the present application. Referring to Fig. 2, the method includes:
  • the terminal displays a virtual item display interface.
  • the virtual item display interface displays a plurality of first virtual items, and the plurality of first virtual items correspond to different parts of the controlled virtual object.
  • the virtual item display interface is a functional interface of the game application, through which the user can configure virtual items for the controlled virtual object in advance, and the multiple first virtual items are multiple virtual items configured in advance.
  • a plurality of first virtual props corresponding to different parts of the controlled virtual object means that one first virtual prop corresponds to a body part of the controlled virtual object, for example, if a first virtual prop is a virtual firearm, then the first The virtual prop is also the virtual prop corresponding to the hand of the virtual object to be charged.
  • the terminal compares the plurality of first virtual items with the second virtual item owned by the controlled virtual object.
  • the confirmation operation on the virtual item display interface refers to the confirmation operation on the configured plurality of first virtual items.
  • the confirmation operation on the virtual item display interface includes any of the following methods: a click operation on the confirmation control displayed on the virtual item display interface, or a target gesture performed on the virtual item display interface. No limit.
  • the process of comparing the plurality of first virtual items with the second virtual items owned by the controlled virtual object is the process of determining whether the controlled virtual object owns all the configured first virtual items.
  • the server may also compare the multiple virtual items.
  • the first virtual item and the second virtual item that is, in response to the confirmation operation on the virtual item display interface, the terminal sends a comparison request to the server, and the comparison request carries a plurality of identifications of the first virtual item.
  • the server After the server receives the comparison request, it obtains the identifiers of multiple first virtual items from the comparison request, compares the identifiers of the first virtual items with the second virtual item owned by the controlled virtual object, and compares The results are sent to the terminal, which can reduce the calculation load of the terminal and reduce the phenomenon of heating and freezing of the terminal.
  • the controlled virtual object may have one or more second virtual props, which is not limited in this embodiment of the present application.
  • the terminal In response to any one of the first virtual items not existing in the second virtual item, the terminal displays a virtual item trading interface, and the virtual item trading interface is used to acquire the first virtual item.
  • any first virtual item does not exist in the second virtual item, that is, the accused virtual object does not own a configured first virtual item, then the user can obtain the first virtual item through the virtual item trading interface. virtual props.
  • any first virtual item does not exist in the second virtual item, which means that there is at least one first virtual item that is different from the second virtual item.
  • any first virtual prop does not exist in the second virtual props, which means that there is at least one first virtual prop that is different from every second virtual prop .
  • Fig. 3 is a flow chart of an interface display method provided in the embodiment of the present application. Referring to Fig. 3, the method includes:
  • the terminal displays a virtual item display interface.
  • the virtual item display interface displays multiple first virtual items, and the multiple first virtual items correspond to different parts of the controlled virtual object.
  • the controlled virtual object is a virtual object controlled by the terminal, and the user can control the controlled virtual object to perform different actions in the virtual scene through the terminal.
  • the multiple first virtual props can be understood as preset multiple first virtual props, and the multiple first virtual props can be referred to as a preset template.
  • the plurality of first virtual props include a virtual backpack, and the virtual backpack is used to store virtual medicine or virtual ammunition.
  • the plurality of first virtual props are all virtual props that can be brought into the game.
  • the terminal may have one or more virtual props, which are obtained by the user through consumption of virtual resources in the game and exchanged, or issued by the server in the form of rewards based on the upgrade of the user's account level. Or based on the virtual props provided by the current game stage or game mode, the embodiment of the present application does not limit the source of the virtual props.
  • the virtual resource may be virtual currency in a game, etc.
  • the multiple first virtual props displayed in the virtual prop display interface include virtual firearms, virtual helmets, virtual masks, virtual body armor, and virtual grenades. No limit. Among them, the virtual firearms are divided into main weapons and auxiliary weapons. The main weapons include virtual sniper guns, virtual rifles, and virtual machine guns, etc., and the auxiliary weapons include virtual pistols and virtual knives.
  • the plurality of first virtual props displayed in the virtual prop display interface include virtual weapons, virtual helmets, virtual armor, virtual shoes, virtual pendants, etc., which are not limited in this embodiment of the present application.
  • different virtual props can provide different attribute bonuses for the controlled virtual objects.
  • different virtual weapons can provide different attack power bonuses for the controlled virtual objects. Controlling dummy objects provides different health and armor bonuses.
  • multiple first virtual items may also be referred to as a combination of virtual items.
  • the above-mentioned multiple first virtual items are determined by the configuration of the terminal, or are recommended to the terminal by the server, or determined by other methods.
  • the plurality of first virtual items may include virtual items owned by the terminal, or may include virtual items not yet owned by the terminal.
  • the plurality of first virtual items constitute a combination of virtual items, and subsequently any virtual item in the combination of virtual items can be changed, or the use of the current combination of virtual items can be confirmed, so as to conveniently control the terminal to convert the items in the current combination of virtual items
  • a plurality of first virtual props are equipped on the controlled virtual object to play the game.
  • the plurality of first virtual items include virtual items of the target type, and the virtual items of the target type refer to virtual items capable of accommodating other virtual items.
  • the other virtual items are also called sub-virtual items, such as virtual
  • the magazine is a virtual item of the target type, which can hold virtual ammunition in the virtual magazine
  • the virtual backpack is a virtual item of the target type, in which virtual medicine and virtual ammunition not equipped in the virtual magazine can be placed.
  • the virtual backpack can also place virtual props picked up by the controlled virtual object in the game.
  • configuring the virtual item of the target type not only means that the virtual item is configured, but also means that the virtual item accommodated in the virtual item is configured.
  • the virtual props of the target type are also referred to as virtual props of the container type, and the virtual props of the container class are used to accommodate corresponding sub-virtual props.
  • the terminal in response to a viewing operation on the virtual item display interface, displays the virtual item display interface, and the virtual item display interface displays a plurality of first virtual items corresponding to different parts of the controlled virtual object.
  • Example 1 The terminal displays the main interface of the game application.
  • the main interface displays a first functional control, and the first functional control is used to view the virtual item display interface.
  • the terminal displays the virtual item display interface, and the user can view the configured multiple first virtual items through the virtual item display interface.
  • the click on the first functional control The operation is also the viewing operation of the virtual prop display interface.
  • the click operation on the first functional control may refer to the click operation of the user's finger on the corresponding position of the first control, or the click operation of the user on the corresponding position of the first control through an external device, for example, the user clicks on the corresponding position of the first control through a mouse.
  • the click operation of a position corresponding to a control is not limited in this embodiment of the present application.
  • the terminal displays a main interface 401 of the game application, and a first function control 402 is displayed on the main interface 401 of the game application.
  • the terminal displays a virtual item display interface 403, and the virtual item display interface 403 displays a plurality of first virtual items.
  • Example 2 The terminal displays the main interface of the game application.
  • the main interface displays a second function control.
  • the second function control is used to start a round of competitive battle. For shooting games, it is used to start a round Shooting games, for fighting games, are also used to start a fighting game.
  • the terminal displays a virtual item display interface, and the user can view multiple first virtual items through the virtual item display interface. After confirming that the multiple first virtual items are correct, the user can control the terminal
  • the game is played by replacing the equipped virtual props of the controlled virtual object with a plurality of first virtual props.
  • the click operation on the second function control is also the view operation on the virtual prop display interface.
  • the click operation on the second function control may refer to the click operation of the user's finger on the corresponding position of the second control, or the click operation of the user on the corresponding position of the second control through an external device, such as the user's click operation on the second control through a mouse.
  • the click operation of the corresponding position of the two controls is not limited in this embodiment of the present application.
  • the terminal displays a main interface 401 of the game application, and a second function control 404 is displayed on the main interface 401 of the game application.
  • the terminal displays a virtual item display interface 403, and the virtual item display interface 403 displays a plurality of first virtual items.
  • the above-mentioned click operation is used to select a control, which may be referred to as a selection operation of a control.
  • the selection operation of a control may also be a long press on the control
  • the operation of the control or the operation of sliding the control, etc. are not limited in this embodiment of the present application.
  • the following click operation is similar to this, and will not be repeated in this embodiment of the present application.
  • the virtual item display interface includes multiple slots, and multiple first virtual items are respectively displayed in the multiple slots.
  • the slots are also called equipment slots.
  • the slot is also an area for displaying virtual props.
  • the name of the corresponding type of virtual prop is displayed on the slot. For example, in a shooting game, a slot is displayed with the name "helmet", which means that the slot is used to display the name of the helmet. Area.
  • icons of corresponding types of virtual props are displayed on the slots. For example, in a shooting game, the icon displayed on a slot is a helmet, which means that the slot is an area for displaying a helmet. .
  • the terminal can also perform the following method on the displayed first virtual item: Adjustment.
  • the terminal in response to a trigger operation on any first virtual item among the plurality of first virtual items, updates the first virtual item to a virtual item corresponding to the trigger operation.
  • the user can adjust the first virtual prop, so as to realize the adjustment of the virtual prop equipped by the controlled virtual object.
  • the virtual item display interface includes a plurality of slots, and a plurality of first virtual items are respectively displayed in the plurality of slots.
  • the terminal displays a virtual item editing interface, and the virtual item editing interface is used to adjust the first virtual item corresponding to the slot.
  • the terminal displays a virtual item display interface 403
  • the virtual item display interface 403 includes multiple slots, and multiple first virtual items are displayed in the multiple slots respectively.
  • the terminal displays a virtual item editing interface 501 .
  • the virtual item editing interface includes a virtual item selection list, and a plurality of candidate virtual items are displayed in the virtual item selection list, and the plurality of candidate virtual items are virtual items corresponding to the slot.
  • the terminal displays a sub-virtual item editing interface in the virtual item editing interface, and the sub-virtual item editing interface displays There are multiple sub-virtual items corresponding to the candidate virtual item, and there is a nested relationship between the virtual item of the target type and the corresponding sub-virtual items.
  • the terminal updates the sub-virtual item to the sub-virtual item corresponding to the adjustment operation.
  • the nesting relationship between the virtual item of the target type and the corresponding sub-virtual item means that the corresponding sub-virtual item is attached to the virtual item of the target type.
  • the corresponding sub-virtual item Virtual props are also virtual ammunition.
  • the virtual item of the target type is a virtual firearm
  • the corresponding sub-virtual item is a virtual scope, a virtual gun stock, and a virtual effector.
  • a target-type virtual prop can accommodate different types of sub-virtual props. For example, taking the target-type virtual prop as a virtual magazine as an example, the user can choose different types of virtual ammunition for mixed filling, that is, It is to fill different types of virtual ammunition in the same virtual magazine.
  • the terminal displays a sub-virtual item editing interface in the virtual item editing interface, the Multiple sub-virtual items corresponding to the candidate virtual item are displayed in the sub-virtual item editing interface.
  • the terminal displays a sub-virtual item selection list corresponding to the sub-virtual item, and the sub-virtual item selection list displays a plurality of sub-virtual items corresponding to Candidate child virtual props.
  • the terminal uses the target sub-virtual item to update the sub-virtual item.
  • the user can The contained sub-virtual props are edited, and after editing, the corresponding sub-virtual props can be used for equipment, so as to improve the efficiency of human-computer interaction.
  • multiple sub-virtual items that can be accommodated are set for the virtual item of the target type, and the multiple candidate sub-virtual items corresponding to the above-mentioned sub-virtual items are: among the set multiple sub-virtual items, except the above-mentioned Other sub-virtual items other than the sub-virtual items, that is, the sub-virtual item selection list displayed on the terminal includes other sub-virtual items except the above-mentioned sub-virtual items for the user to select.
  • the above-mentioned click operation is used to select a sub-virtual item, which can be called a selection operation of a sub-virtual item.
  • the selection operation of a sub-virtual item also includes It may be an operation of long pressing the sub-virtual item or an operation of sliding the sub-virtual item, which is not limited in this embodiment of the present application.
  • the virtual item editing interface includes a virtual item selection list, and a plurality of candidate virtual items are displayed in the virtual item selection list, and the plurality of candidate virtual items are virtual items corresponding to the slot.
  • the terminal displays the candidate virtual item in the slot, that is, uses the candidate virtual item to replace the first virtual item in the slot.
  • the plurality of candidate virtual props are all virtual props corresponding to the indicated type of the slot, or other virtual props except the virtual props currently displayed on the slot among the virtual props corresponding to the indicated type of the slot .
  • the terminal displays a virtual item editing interface 501
  • the virtual item editing interface 501 includes a virtual item selection list 502
  • multiple candidate virtual items are displayed in the virtual item selection list 502 .
  • the terminal uses the candidate virtual item 503 to replace the first virtual item corresponding to the slot, and the terminal uses the candidate virtual item 503 to replace the first virtual item corresponding to the slot.
  • the candidate virtual item 503 is also used as the new first virtual item corresponding to the slot.
  • the terminal displays the virtual item display interface next time, the virtual item displayed in the slot is also the new first virtual item.
  • the virtual item editing interface 501 is also the virtual item editing interface corresponding to the virtual helmet.
  • the multiple candidate virtual props are also multiple virtual helmets. In response to any virtual helmet B among the multiple virtual helmets being selected, the terminal replaces virtual helmet A with virtual helmet B.
  • a virtual item screening control is displayed on the virtual item selection list, and the virtual item screening control is used to filter out candidate virtual items owned by the controlled virtual object from multiple candidate virtual items.
  • the controlled virtual item described here The virtual props owned by the virtual object include not only the virtual props currently equipped by the accused virtual object, but also the virtual props that the accused virtual object has but is not equipped with, that is, the virtual props placed in the virtual warehouse. Among them, the virtual warehouse The accommodated virtual items will not be brought into a single game.
  • the virtual warehouse has a certain capacity, that is, the number of virtual items that can be accommodated in the virtual warehouse is limited.
  • a virtual backpack is a kind of virtual prop. There are different types of virtual backpacks, and different types of virtual backpacks have different capacities.
  • the user can select a virtual backpack for the controlled virtual object to equip, and the unequipped virtual backpack will also be placed in the virtual warehouse for subsequent use.
  • the virtual warehouse can also be called a storage box or any other name used to store the virtual props owned by the user.
  • the user can also select virtual props for the controlled virtual object from the virtual warehouse.
  • the multiple candidate virtual props are also referred to as items that can be equipped to the current location, where the current location refers to the slot.
  • the terminal screens a plurality of candidate virtual items, and displays the candidate virtual items owned by the controlled virtual object in the list of virtual items. That is to say, before the virtual item screening control is clicked, all candidate virtual items corresponding to the slot are displayed in the virtual item candidate list, and these candidate virtual items include not only the virtual items owned by the controlled virtual object, but also the virtual items owned by the controlled virtual object. Control virtual items that virtual items do not own.
  • the virtual item corresponding to this slot is a virtual helmet, and there are 3 virtual helmets in the game, that is, virtual helmet A, virtual helmet B, and virtual helmet C, then in the virtual item selection list displayed on the terminal , and virtual helmet A, virtual helmet B and virtual helmet C will be displayed simultaneously.
  • the accused virtual object only owns virtual helmet B, then when the user clicks on the virtual item filter control, only virtual helmet B will remain in the virtual item selection list.
  • the user can click the virtual item screening control to filter out the virtual item owned by the controlled virtual object from all the candidate virtual items, so that the virtual item can be directly used when equipping the controlled virtual object with virtual items.
  • the virtual props owned by the accused virtual objects in the combination do not need to be purchased and adjusted, and the efficiency of human-computer interaction is high.
  • the terminal displays a virtual item editing interface 501
  • the virtual item editing interface 501 includes a virtual item selection list 502
  • multiple candidate virtual items are displayed in the virtual item selection list 502 .
  • the terminal screens a plurality of candidate virtual items, and displays the candidate virtual items owned by the controlled virtual object in the list of virtual items.
  • the virtual item editing interface includes a virtual item attribute display area.
  • the terminal displays attribute information of the candidate virtual item in the attribute display area of the virtual item.
  • the attribute information includes the name and attribute value of the candidate virtual item. If the candidate virtual item is a virtual helmet, then the terminal displays the name of the virtual helmet and the defense power of the virtual helmet in the attribute display area of the virtual item. In this case, the user can view the name and attribute value of the candidate virtual item through the virtual item attribute display area, and the user can determine whether the selected candidate virtual item is the desired virtual item through the name and attribute value of the virtual item. props, the efficiency of human-computer interaction is higher.
  • the virtual item display interface includes labels corresponding to multiple combinations of virtual items, and in response to a click operation on any label, the terminal displays multiple first virtual items corresponding to the label.
  • one virtual prop combination corresponds to multiple first virtual props. That is to say, the virtual item display interface can be used to display multiple first virtual items corresponding to multiple virtual item combinations.
  • the default display is the first
  • the user can control the terminal to display multiple first virtual props corresponding to the combination of virtual props on the virtual prop display interface by clicking the labels corresponding to different virtual prop combinations.
  • multiple combinations of virtual props are multiple "suits” configured by the user in advance.
  • users can combine “virtual machine gun A1+virtual helmet A2+virtual mask A3+virtual body armor A4+virtual grenade A5" as a combination of virtual props, that is, a suit.
  • Users can combine "virtual sniper gun B1+virtual helmet B1+virtual mask B1+ "Virtual body armor B1 + virtual grenade B1" is another combination of virtual props, which can switch between different virtual props combinations for the controlled virtual object before the game starts, and the efficiency of human-computer interaction is high.
  • the user can adjust the multiple first virtual items corresponding to different virtual item combinations through the above-mentioned method, which will not be repeated here.
  • the virtual item display interface has been configured with multiple first virtual items as an example.
  • the method for configuring multiple first virtual items through the virtual item display interface is described below. illustrate.
  • the terminal displays a virtual prop display interface, through which multiple first virtual props are configured.
  • the terminal in response to the viewing operation on the virtual props display interface, the terminal displays the virtual props display interface, and the virtual props display interface displays a plurality of blank slots.
  • the terminal In response to a click operation on any one of the multiple slots, the terminal displays a virtual item editing interface corresponding to the slot.
  • the virtual item editing interface includes a virtual item selection list, and a plurality of candidate virtual items are displayed in the virtual item selection list, and the plurality of candidate virtual items are virtual items corresponding to the slot. Any candidate virtual item is selected, and the terminal displays the candidate virtual item in the slot, and the candidate virtual item is also the first virtual item corresponding to the slot.
  • the terminal can sort multiple candidate virtual items according to their popularity, and the candidate virtual items with higher popularity are ranked at the front of the virtual item selection list, wherein the popularity is Refers to the number of times the corresponding candidate virtual item is used, or refers to the number of times the corresponding candidate virtual item is configured as the first virtual item, etc., which is not limited in this embodiment of the present application.
  • the terminal can obtain from the server the number of times the corresponding candidate virtual item is used and the number of times the corresponding candidate virtual item is configured as the first virtual item.
  • the number of uses of the corresponding candidate virtual item refers to the number of times the user in the game uses the candidate virtual item within the target duration. The embodiment of the application does not limit this.
  • the number of times the corresponding candidate virtual item is configured as the first virtual item refers to the number of times the user in the game configures the candidate virtual item as the first virtual item within the target duration.
  • the terminal can also sort the multiple candidate virtual items according to their winning rates, and the candidate virtual items with higher winning rates are ranked at the front of the virtual item selection list, where the winning rate refers to the The frequency of winning when corresponding to the candidate virtual item is obtained by dividing the number of wins when using the candidate virtual item by the number of times using the candidate virtual item. The probability of winning when the terminal can obtain the corresponding candidate virtual props from the server.
  • the candidate virtual items with higher winning rates can be displayed at the front end of the virtual item selection list, which is convenient for the user to select.
  • the user can adjust the components of the virtual firearms through the virtual props display interface, such as the virtual scope, virtual hand rest and virtual This process can also be called "gun modification”.
  • the user can also configure the rendering mode for multiple first virtual props through the virtual prop display interface, that is, adjust the texture and parameters used when the terminal renders multiple first virtual props. For example, this process is also called “fashion change”.
  • the configured multiple first virtual items can be used repeatedly, thereby improving the user's ability to select virtual items for the controlled virtual object. efficiency.
  • the terminal before step 301, can also display a virtual item configuration interface, and the virtual item configuration interface is used to configure a plurality of first virtual items.
  • the terminal displays the virtual item display interface.
  • the virtual item configuration interface is a virtual item display interface that has no virtual item configured.
  • the virtual item configuration interface includes multiple slots, all of which are blank.
  • slots are also referred to as equipment slots.
  • the slot is also an area for configuring virtual props.
  • the name of the corresponding type of virtual prop is displayed on the slot. For example, in a shooting game, a slot is displayed with the name "helmet", which means that the slot is used to display the name of the helmet.
  • icons of corresponding types of virtual props are displayed on the slots.
  • the icon displayed on a slot is a helmet, which means that the slot is an area for displaying a helmet. .
  • the user can configure multiple first virtual items by clicking on unused slots.
  • a save control is displayed on the virtual prop configuration interface, and in response to a click operation on the save control, the terminal displays a virtual prop display interface.
  • the user before the game starts, the user can configure multiple first virtual items through the virtual item configuration interface, and in the subsequent game process, the user can update the control virtual object based on the self-configured multiple first virtual items.
  • Equipment users have higher autonomy, and the efficiency of human-computer interaction is also higher.
  • the terminal compares the plurality of first virtual items with the second virtual item owned by the controlled virtual object.
  • the second virtual prop owned by the controlled virtual object includes the virtual props currently equipped by the controlled virtual object and the virtual props in the virtual warehouse of the controlled virtual object.
  • the virtual props currently owned by the accused virtual object include a virtual backpack, which carries virtual medicines or virtual ammunition and other virtual props.
  • the equipped refers to the virtual props in the backpack, then the second The virtual props include the virtual props in the virtual backpack and the virtual props in the virtual warehouse of the charged virtual object.
  • the virtual props that the controlled virtual object has equipped or held do not belong to the virtual backpack, then the virtual props that the controlled virtual object has equipped or possessed and the virtual props in the virtual backpack are the controlled virtual object Equipped avatars.
  • the terminal compares the plurality of first virtual items with the second virtual item, it compares the identifications of the plurality of first virtual items with the identifications of the second virtual items respectively. If the identification of a first virtual item is the same as that of a second virtual item, it means that the first virtual item and the second virtual item are the same virtual item, and the controlled virtual object also owns the first virtual item. A virtual prop. If the identifier of a first virtual item is different from the identifiers of every second virtual item, it means that the controlled virtual object does not own the first virtual item.
  • a confirmation control is displayed on the virtual item display interface, and in response to a click operation on the confirmation control, the terminal compares the plurality of first virtual items with the second virtual items, and the click operation on the confirmation control also That is, the confirmation operation on the virtual item display interface. Since the first virtual item is a virtual item configured in advance, and the second virtual item is a virtual item owned by the accused virtual object, the terminal compares multiple first virtual items and second virtual items, that is, compares the virtual items configured in advance. In the process of comparing the props with the virtual props owned by the accused virtual object, the comparison result can indicate which first virtual props the accused virtual object possesses and which first virtual props it lacks.
  • a confirmation control 406 is displayed on the virtual item display interface 403 , and in response to a click operation on the confirmation control 406 , the terminal compares the identifications of the plurality of first virtual items with the identifications of the second virtual items.
  • the terminal in response to a target gesture on the virtual item display interface, compares the plurality of first virtual items with the second virtual items, and the target gesture on the virtual item display interface is the target gesture on the virtual item display interface.
  • the terminal can store the result of the comparison in the form of a list, that is, in response to any first virtual item being the same as any second virtual item, the terminal adds the identifier of the first virtual item to A first list, where the first list is used to store the identifier of the first virtual item found in the second virtual item. In response to any first virtual item being different from the second virtual item, the terminal adds the identifier of the first virtual item to a second list, and the second list is used to store the unqueried first virtual item in the second virtual item. The ID of the virtual item.
  • the terminal can add the identifier of the first virtual item to the first list to indicate that the first virtual item is owned by the controlled virtual object. virtual props. If the controlled virtual object does not own a certain first virtual item, the terminal can add the identifier of the first virtual item to the second list to indicate that the second virtual item is not owned by the controlled virtual object.
  • the first list is also referred to as the Found List and the second list is also referred to as the Lack List.
  • the plurality of first virtual items include virtual items of the target type, that is, a certain first virtual item is used to accommodate other virtual items.
  • the terminal can also store in the following manner The result of the comparison.
  • the terminal adds the identifier of the first virtual item to a first list, and the first list is used to store the first virtual item queried from the second virtual item.
  • An identifier of a virtual item In response to the fact that the second virtual item is a virtual item of the target type, the identification of the sub-virtual item accommodated by the second virtual item is added to the third list, and the third list is used to store virtual items of the target type among the plurality of first virtual items.
  • the third list is also called Extern List (redundant props list).
  • the terminal adds the identifier of the first virtual item to a second list, and the second list is used to store the unqueried first virtual item in the second virtual item.
  • An identifier of a virtual item In response to the presence of the same virtual item ID in the second list and the third list, the virtual item ID is added to the first list, and the virtual item ID is deleted from the second list and the third list.
  • the server may also compare the multiple The first virtual item and the second virtual item, that is, in response to the confirmation operation on the virtual item display interface, the terminal sends a comparison request to the server, and the comparison request carries a plurality of identifications of the first virtual item.
  • the server After the server receives the comparison request, it obtains the identifications of the first virtual items from the comparison request, compares the identifications of the first virtual items with the second virtual items, and sends the comparison result to the terminal. It can reduce the calculation load of the terminal, and reduce the phenomenon of terminal heating and freezing.
  • the terminal can perform the following steps 303 and 304, and can also perform the following step 305, which is not limited in this embodiment of the present application.
  • the terminal In response to the fact that any first virtual item does not exist in the second virtual item, the terminal displays a virtual item trading interface, and the virtual item trading interface is used to acquire the first virtual item.
  • the terminal in response to the identification of any first virtual item in the second list, displays the virtual item trading interface, wherein the second list is used to store items not found in the second virtual item. If there is any first virtual item in the second list, it means that the first virtual item does not exist in the second virtual item, and the terminal displays the virtual item trading interface, and the user can pass The virtual item trading interface is used to obtain the first virtual item. Of course, if there are two or more first virtual items that do not exist in the second virtual item, the virtual item trading interface displayed on the terminal is also used to obtain the two or more first virtual items.
  • the terminal in response to the click operation on the confirmation control 405 and any first virtual item does not exist in the second virtual item, the terminal displays a virtual item transaction interface 601 .
  • At least one piece of item information of the first virtual item is displayed on the virtual item trading interface, and the item information includes the name of the first virtual item, the type of virtual resource required to purchase the first virtual item, and quantity.
  • at least one piece of item information displayed on the virtual item trading interface is item information released by other accounts, and other accounts are accounts other than the account corresponding to the virtual object being charged.
  • the at least one piece of item information The item information is the item information released by other players, and is used to sell the corresponding first virtual item. The user can know the price at which different players sell the first virtual item by viewing the at least one piece of item information, which is convenient for the user to filter.
  • the types of virtual resources include "coupons" obtained by users' recharge, "game currency” obtained by playing games, and "event-specific currency” obtained by participating in activities in the game. Do limited. If there are two or more first virtual items that do not exist in the second virtual item, then the virtual item trading interface displays the labels corresponding to the two or more first virtual items. In some embodiments, this tab is also called a "page tab", and the user can separately view the item information of each type of first virtual item by clicking on the page tab. In response to a click operation on any label, the terminal displays at least one item of item information corresponding to the first virtual item in the virtual item trading interface. Referring to FIG. 6 , if there are two or more first virtual items that do not exist in the second virtual item, then the virtual item trading interface displays the pagination tabs 602 corresponding to the two or more first virtual items .
  • the at least one item of item information is item information determined based on recommended priorities, and the recommended priorities include at least one of the type priority of virtual resources, the number priority of virtual resources, and the type priority of virtual items. item.
  • the type priority of virtual resources refers to the order of the types of virtual resources consumed when purchasing virtual items.
  • virtual resource A there are three types of virtual resources: virtual resource A, virtual resource B, and virtual resource C.
  • the order of resource consumption is virtual resource B ⁇ virtual resource A ⁇ virtual resource C.
  • the priority display here means that the Item information that needs to consume virtual resource B is ranked first.
  • the quantity priority of virtual resources means that when purchasing virtual items, the virtual resources with a larger number in the account will be consumed first.
  • the three virtual resources start from Sorting from more to less is virtual resource B ⁇ virtual resource A ⁇ virtual resource C
  • the item information that needs to consume virtual resource B will be displayed first.
  • the priority display here refers to, The item information that needs to consume the virtual resource B is ranked first.
  • the type priority of virtual items refers to the order in which multiple virtual items are purchased when multiple virtual items are purchased at the same time. For example, you need to purchase three virtual items, virtual item A, virtual item B, and virtual item C at the same time.
  • the terminal passes the virtual item
  • the item information of virtual item B is displayed first.
  • the priority display here means that the item information of virtual item B is ranked first.
  • the type priority of the virtual item also has the following performance, for example, it is necessary to purchase both virtual item A and virtual item B at the same time, and the amount of virtual resources owned by the account at that time is only enough to purchase virtual item A or virtual item B. For item B, if the type priority of virtual item A > the type priority of virtual item B, then the terminal only displays the item information of virtual item A in the virtual item trading interface.
  • the virtual item trading interface includes a refresh control, and in response to a click operation on the refresh control, the terminal refreshes at least one piece of item information displayed in the virtual item trading interface, that is, in response to clicking on the refresh control Operation, the terminal sends a refresh request to the server, and the refresh request carries the identifier of the first virtual item.
  • the server obtains the identifier of the first virtual item from the refresh request.
  • the server performs an inquiry based on the identifier of the first virtual item, obtains at least one item of item information corresponding to the first virtual item, sends the at least one item of item information to the terminal, and the terminal displays the at least one item of item information on the virtual item trading interface middle.
  • the terminal displays a target mark on the virtual item trading interface, and the target mark is used to indicate that there is no item information corresponding to the first virtual item, which means No other account is selling the first virtual item. In this case, the user needs to adjust the first virtual item.
  • the terminal in response to a purchase operation based on any piece of item information, adds the first virtual item corresponding to the item information to the virtual warehouse of the controlled virtual object.
  • the terminal compares the first virtual resource quantity with the second virtual resource quantity, the first virtual resource quantity is the virtual resource quantity indicated by the prop information, and the second virtual resource quantity is the virtual resource quantity indicated by the prop information.
  • the number of virtual resources is the number of virtual resources owned by the account corresponding to the controlled virtual object.
  • the terminal adds the first virtual prop corresponding to the prop information to the virtual warehouse of the controlled virtual object.
  • the purchase operation based on any piece of item information includes a selection operation on the item information and a click operation on the transaction control. Referring to FIG.
  • the terminal in response to the number of the second virtual resource being greater than or equal to the number of the first virtual resource, the terminal can add the first virtual item corresponding to the item information to the virtual warehouse of the controlled virtual object, and also The first virtual prop corresponding to the prop information can be directly equipped to the controlled virtual object.
  • the terminal when the terminal adds the first virtual item corresponding to the item information to the virtual warehouse of the controlled virtual object, the terminal deducts the first virtual resource from the second virtual resource owned by the account, and adds the first The virtual resources of the virtual resource quantity are transferred to the account corresponding to the item information.
  • the terminal compares the first virtual resource quantity with the second virtual resource quantity, and the first virtual resource quantity is the target indicated by the prop information.
  • the second virtual resource quantity is the quantity of target type virtual resources owned by the account corresponding to the controlled virtual object.
  • the terminal adds the first virtual prop corresponding to the prop information to the virtual warehouse of the controlled virtual object.
  • the terminal in response to the number of the second virtual resource being greater than or equal to the number of the first virtual resource, can add the first virtual item corresponding to the item information to the virtual warehouse of the controlled virtual object, and also The first virtual prop corresponding to the prop information can be directly equipped to the controlled virtual object.
  • the terminal when the terminal adds the first virtual item corresponding to the item information to the virtual warehouse of the controlled virtual object, the terminal deducts the first virtual resource from the second virtual resource owned by the account, and adds the first The virtual resources of the virtual resource quantity are transferred to the account corresponding to the item information.
  • the virtual item trading interface displays the type and quantity of virtual resources owned by the current account, and the user can learn the type and quantity of virtual resources owned by the account through the virtual item trading interface, and the efficiency of human-computer interaction is relatively high.
  • the terminal displays the type and quantity 604 of virtual resources owned by the current account in the virtual item trading interface 601 .
  • the virtual item trading interface includes a select all control, and in response to a click operation on the select all control, the terminal selects all at least one piece of item information displayed on the virtual item trading interface. In response to the click operation on the transaction control 603, the terminal adds the first virtual item corresponding to the selected at least one piece of item information to the virtual warehouse of the controlled virtual object.
  • the virtual item trading interface 601 includes a select all control 605 . That is to say, in the embodiment of the present application, the user can either purchase only the first virtual item corresponding to a certain piece of item information, or directly purchase the first virtual item corresponding to all item information.
  • the terminal in response to a purchase operation based on any piece of item information, and the space occupied by the first virtual item corresponding to the item information is greater than the remaining space of the virtual warehouse of the controlled virtual object, the terminal corresponds to the item information Add the first virtual prop of the charged virtual object to the temporary package.
  • the temporary package is a temporary virtual package that appears when the virtual warehouse of the accused virtual object cannot accommodate the purchased first virtual item.
  • the virtual props in the temporary package need to be manually taken out by the user, that is, the user drags the virtual props in the temporary package to the virtual warehouse after manually adjusting the virtual props in the virtual warehouse.
  • the terminal when there are virtual items in the temporary package, the terminal cannot switch from the virtual item trading interface back to the virtual item display interface, that is to say, the user needs to process the virtual items in the temporary package in the virtual item trading interface.
  • the terminal in response to a purchase operation based on any piece of item information, and the space occupied by the first virtual item corresponding to the item information is larger than the remaining space of the virtual warehouse of the controlled virtual object, the terminal corresponds to the item information Add the first virtual item to the temporary package 701 of the controlled virtual object.
  • the terminal uses the first virtual item owned by the controlled virtual object to update the equipped virtual item of the controlled virtual object.
  • the virtual item transaction interface includes an interface close control, and in response to the click operation on the interface close control, the terminal uses the first virtual item owned by the controlled virtual object to update the virtual item equipped by the controlled virtual object.
  • the terminal uses the first virtual item owned by the controlled virtual object to update the virtual item equipped by the controlled virtual object.
  • the terminal can install the virtual item of the same type in the virtual warehouse of the controlled virtual object to the controlled virtual object, or, if the controlled virtual object If a virtual item of the same type as the first virtual item is already equipped, then the terminal does not update the virtual item equipped by the controlled virtual object.
  • the virtual item trading interface 601 includes an interface closing control 606.
  • the terminal uses the identifiers of a plurality of second virtual items stored in the first list to determine the corresponding A plurality of second virtual props, the plurality of second virtual props are the first virtual props owned by the controlled virtual object.
  • the terminal uses the plurality of second virtual props to update the virtual props equipped by the controlled virtual object.
  • any of the following methods can be adopted.
  • Method 1 The terminal adds all the virtual props equipped by the controlled virtual object to the virtual warehouse of the controlled virtual object, and determines the plurality of second virtual props as the virtual props equipped by the controlled virtual object, that is, the terminal adds the A plurality of second virtual props are equipped to the controlled virtual object. If there is a first virtual item that is not owned by the controlled virtual object, the terminal searches for virtual items of the same type as the first virtual item in the virtual warehouse of the controlled virtual object, and determines the virtual item as the virtual item equipped by the controlled virtual object. props. For example, if the controlled virtual object does not own the virtual helmet A, then the terminal can determine the virtual helmet B in the virtual warehouse of the controlled virtual object as the virtual prop equipped by the controlled virtual object.
  • the terminal does not update the virtual item. For example, if the controlled virtual object does not own the virtual helmet A, but the controlled virtual object has been equipped with the virtual helmet B, the terminal does not update the virtual helmet B.
  • the terminal adds the third virtual item equipped with the controlled virtual object to the virtual warehouse of the controlled virtual object, the third virtual item being a virtual item different from the corresponding first virtual item.
  • the terminal uses the unequipped virtual props among the multiple second virtual props to determine the virtual props equipped by the controlled virtual object, that is to say, if the controlled virtual object has been equipped with any of the multiple first virtual props If the virtual prop is not removed, the terminal will not remove the virtual prop, but will keep it, which can reduce the calculation amount of the terminal and improve the efficiency of updating the equipment of the controlled virtual object.
  • the terminal searches for virtual items of the same type as the first virtual item in the virtual warehouse of the controlled virtual object, and determines the virtual item as the virtual item equipped by the controlled virtual object. props. For example, if the controlled virtual object does not own the virtual helmet A, then the terminal can determine the virtual helmet B in the virtual warehouse of the controlled virtual object as the virtual prop equipped by the controlled virtual object. Alternatively, if the controlled virtual object is already equipped with a virtual item of the same type as the first virtual item, the terminal does not update the virtual item. For example, if the controlled virtual object does not own the virtual helmet A, but the controlled virtual object has been equipped with the virtual helmet B, the terminal does not update the virtual helmet B.
  • the terminal updates the virtual items equipped by the controlled virtual object with the multiple first virtual items.
  • the terminal in response to the fact that the plurality of first virtual items are all second virtual items owned by the controlled virtual object, the terminal adds the third virtual item equipped by the controlled virtual object to the controlled virtual object In the virtual warehouse, the third virtual prop is a virtual prop different from the corresponding first virtual prop.
  • the terminal determines the virtual props equipped by the controlled virtual object from the plurality of first virtual props in the virtual warehouse.
  • the terminal can screen the at least two identical first virtual props based on the durability of the virtual props, from the at least two The same first virtual item determines a target virtual item to update the equipped virtual item of the controlled virtual object, wherein the durability of the virtual item is used to indicate the degree of wear of the virtual item, and the controlled virtual object uses the virtual item in the virtual scene , the virtual props will wear to different degrees, and the durability can indicate the degree of wear.
  • the initial durability of the virtual prop is 100, and with the use of the controlled virtual object, the durability of the virtual prop will gradually change to 90, 80, 70, and 60, etc., when the durability of the virtual prop When it becomes 0, it means that the wear degree of the virtual item is relatively high, and the user needs to repair the virtual item before continuing to use the virtual item. In some embodiments, repairing the virtual prop needs to consume a certain amount of virtual resources.
  • the terminal can determine the first virtual item with higher durability among the at least two identical first virtual items as the target virtual item, or determine the first virtual item with higher durability among the at least two identical first virtual items. The lower first virtual item is determined as the target virtual item, which is not limited in this embodiment of the present application.
  • the terminal determines the plurality of identifiers of the first virtual item stored in the first list to determine the The first virtual prop.
  • the terminal updates the virtual props equipped by the controlled virtual object to the plurality of first virtual props.
  • the terminal adopts a "coloring tree" method when updating the equipped virtual props of the controlled virtual object. That is to say, consider multiple first virtual props as a tree, and the controlled virtual object as the root node; the prop nodes in it are divided into three colors: white, black and red, where white means that the node has found the corresponding virtual props, black means that this node has not found the corresponding virtual props, and red means that this node has found the corresponding virtual props, but due to the lack of parent node virtual props, this virtual prop should be used as a node to put back into the virtual warehouse, and the parent node virtual props also That is, the container virtual prop of the virtual prop.
  • the terminal traverses all nodes sequentially from the root node and colors them. In the initial state, all nodes in the preset tree are colorless. When processing any node, try to get dummy items from the first list. If the corresponding virtual prop is found, it will be colored white, and the prop attribute information is recorded at the node.
  • the prop attribute information includes information such as the name, attribute, and storage location of the virtual prop; if not found, it will be colored black , and color all its immediate children red.
  • the three colors have priority, from high to low in order of black > red > white, and only low priority colors can be recolored as high priority colors. That is, a node that has been colored white can be colored red again, but not vice versa.
  • the child nodes may be colored red when the node is processed. Until the child node is processed, if the virtual item is found, the child node will still be red according to the priority when coloring; if not found, it will be recolored to black.
  • the parent-child relationship can be reconstructed according to its color: all the virtual props at the white nodes can directly establish a parent-child relationship with the virtual props of their parent nodes; there are no virtual props found at the black nodes, so No parent-child relationship is built. Although the red nodes have found virtual props, due to the absence of their parent nodes, these red nodes and their child nodes will be put back into the virtual package after the parent-child relationship is established. These red nodes are the virtual props put back into the virtual package root node. After building the parent-child relationship, submit all prop attribute information as a scheme to the server and request synchronization.
  • the terminal uses the models of the plurality of first virtual props to update the model of the controlled virtual object.
  • the model of the controlled virtual object is the image of the controlled virtual object in the virtual scene and the image of the controlled virtual object in the main interface.
  • the terminal uses the models of multiple first virtual props to replace the models of corresponding parts in the controlled virtual object.
  • the terminal renders the models of the multiple first virtual props based on the rendering parameters respectively corresponding to the models of the multiple first virtual props, and obtains the updated model of the controlled virtual object, wherein the rendering parameters corresponding to the models are determined by the technician according to It is set according to the actual situation, which is not limited in this embodiment of the present application.
  • different rendering parameters correspond to different rendering effects, and different rendering effects may be called different "skins".
  • the model of the virtual gun A is also included in the model before the update.
  • the terminal uses the model of virtual firearm B to replace the model of virtual firearm A in the model of the controlled virtual object, based on the rendering parameters corresponding to the model of virtual firearm B.
  • the model of virtual gun B is rendered, and in the updated model of the accused virtual object, the virtual gun held by the accused virtual object is changed from virtual gun A to virtual gun B.
  • the terminal can simultaneously update the image of the controlled virtual object to achieve a more realistic display effect on the controlled virtual object.
  • the user can also know that the virtual prop equipped by the controlled virtual object has changed through the image change of the controlled virtual object, and the efficiency of human-computer interaction is high.
  • the model of the controlled virtual object is also referred to as the avatar of the controlled virtual object.
  • the plurality of first virtual items include virtual items of the target type
  • the terminal compares a plurality of first sub-virtual items with a plurality of second sub-virtual items, the first sub-virtual item is the sub-virtual item corresponding to the target type of virtual items in the first virtual item
  • the prop, the second sub-virtual prop is a sub-virtual prop corresponding to the virtual prop of the target type that the controlled virtual object has equipped, and there is a nesting relationship between the virtual prop of the target type and the corresponding sub-virtual prop.
  • the terminal does not update the sub-virtual items contained in the virtual item of the target type. If there is a second sub-virtual item different from the corresponding first sub-virtual item among the plurality of second sub-virtual items, the terminal uses the corresponding first sub-virtual item to update the second sub-virtual item.
  • the first virtual prop and the second virtual prop can be classified into one level, and the virtual props of the target type can be classified into two classes. If the plurality of first virtual items are all second items owned by the controlled virtual object, it means that the first-level virtual items configured are all the first-level virtual items owned by the controlled virtual object. If the plurality of first virtual items include virtual items of the target type, that is, second-level virtual items, and the controlled virtual object has been equipped with the virtual items of the target type, then the terminal can further compare the virtual items corresponding to the target type. The sub-virtual props of , that is, the second-level virtual props for comparison.
  • the terminal does not need to update the virtual props of the target type. If the virtual object to be charged is equipped with virtual props of the target type, and there are secondary virtual props contained in the virtual props of the target type that are different from the secondary virtual props contained in the configured virtual props of the target type, Second-level virtual props, the terminal only needs to update the second-level virtual props.
  • the virtual firearm corresponds to three sub-virtual props: a virtual scope A1, a virtual gun stock A2, and a virtual silencer A3.
  • the terminal does not need the sub-props corresponding to the virtual firearm.
  • Virtual props are updated. If the accused virtual object is equipped with the virtual firearm, and the three sub-virtual props corresponding to the virtual firearm are virtual scope A1, virtual gun stock B1, and virtual silencer A3. In this case, the terminal only needs to update the virtual gun stock B1 to the virtual gun stock A2 without updating other sub-virtual items.
  • Fig. 8 is a schematic diagram of a method for configuring multiple first virtual props provided by the embodiment of the present application.
  • it when configuring multiple first virtual props, it is divided into three discrete processes, including: gun modification and equipment position adjustment And fashion changing, wherein, changing the gun is to adjust the parts on the virtual firearms in the first virtual props.
  • the equipment slot is also the slot, and the adjustment of the equipment slot means adjusting the first virtual item corresponding to the slot.
  • the fashion change is to adjust the rendering method of the first virtual prop.
  • the terminal can update the model of the controlled virtual object, store the results of the above three discrete processes, and generate a preset template, which also includes a plurality of first virtual props.
  • Fig. 9 is a schematic diagram of a method for updating the equipped virtual props of the controlled virtual object provided by the embodiment of the present application.
  • the user can select a plurality of first virtual props to be used through the virtual prop display interface.
  • the first virtual prop is also a template.
  • the terminal determines whether the controlled virtual object owns the plurality of first virtual items, and determines the plurality of virtual items to be used from the second virtual items owned by the controlled virtual object. This process is also called applying a template.
  • the terminal selects the two or more identical first virtual props.
  • the terminal determines whether the space of the virtual warehouse of the controlled virtual object has sufficient space.
  • the terminal determines that the controlled virtual object does not own any first virtual item, it displays a virtual item trading interface, and acquires the first virtual item through the virtual item trading interface. After acquiring the first virtual props, the terminal uses multiple first virtual props to update the equipped virtual props of the controlled virtual object.
  • the solution provided by the embodiment of the present application solves the problem of "too much time consuming to sort out equipment" when entering and exiting a single game each time due to the fact that items can be brought in and taken out in the game.
  • FIG. 10 is a schematic structural diagram of an interface display device provided by an embodiment of the present application.
  • the device includes: a first display module 1001 , a comparison module 1002 and a second display module 1003 .
  • the first display module 1001 is configured to display a virtual prop display interface, where a plurality of first virtual props are displayed on the virtual prop display interface, and the plurality of first virtual props correspond to different parts of the controlled virtual object.
  • the comparison module 1002 is configured to compare the plurality of first virtual items with the second virtual item owned by the controlled virtual object in response to the confirmation operation on the virtual item display interface.
  • the second display module 1003 is configured to display a virtual item trading interface for obtaining the first virtual item in response to any one of the first virtual items not existing in the second virtual item.
  • the virtual prop display interface includes a plurality of slots, and the plurality of first virtual props are respectively displayed in the plurality of slots, and the device further includes:
  • the virtual item editing interface display module is configured to display a virtual item editing interface in response to a selection operation of any one of the plurality of slots, and the virtual item editing interface is used to adjust the first virtual item corresponding to the slot.
  • the virtual item editing interface includes a virtual item selection list, and a plurality of candidate virtual items are displayed in the virtual item selection list, and the plurality of candidate virtual items are virtual items corresponding to the slot.
  • the candidate virtual item display module is used for displaying the candidate virtual item in the slot in response to any candidate virtual item being selected among the plurality of candidate virtual items.
  • the virtual item editing interface includes a virtual item selection list, and a plurality of candidate virtual items are displayed in the virtual item selection list, and the plurality of candidate virtual items are virtual items corresponding to the slot.
  • the first sub-virtual item updating module is configured to display the sub-virtual item in the virtual item editing interface in response to any candidate virtual item among the plurality of candidate virtual items being selected, and the candidate virtual item is a virtual item of a target type.
  • the item editing interface multiple sub-virtual items corresponding to the candidate virtual item are displayed in the sub-virtual item editing interface, and there is a nesting relationship between the virtual item of the target type and the corresponding sub-virtual item.
  • the sub-virtual item is updated to the sub-virtual item corresponding to the adjustment operation.
  • the first sub-virtual item update module is configured to display a sub-virtual item selection list corresponding to the sub-virtual item in response to a selection operation of any sub-virtual item among the plurality of sub-virtual items.
  • a plurality of candidate sub virtual items corresponding to the sub virtual item are displayed in the sub virtual item selection list.
  • the target sub-virtual item is used to update the sub-virtual item.
  • the device also includes:
  • a list storage module configured to add the identifier of the first virtual item to a first list in response to any one of the first virtual items being the same as any of the second virtual items, and the first list is used for storing in the second virtual item.
  • the second display module 1003 is configured to display the virtual item trading interface in response to any identifier of the first virtual item in the second list.
  • At least one piece of item information of the first virtual item is displayed in the virtual item trading interface, and the device further includes:
  • the adding module is configured to add the first virtual item corresponding to the item information to the virtual warehouse of the controlled virtual object in response to a purchase operation based on any piece of item information.
  • the adding module is configured to compare the first virtual resource quantity with the second virtual resource quantity in response to a purchase operation based on any piece of prop information, the first virtual resource quantity is the virtual resource quantity indicated by the prop information
  • the quantity of resources, the second quantity of virtual resources is the quantity of virtual resources owned by the account corresponding to the controlled virtual object.
  • the first virtual item corresponding to the item information is added to the virtual warehouse of the controlled virtual object.
  • At least one piece of item information of the first virtual item is displayed in the virtual item trading interface, and the device further includes:
  • the temporary package adding module is used to respond to a purchase operation based on any piece of item information, and the space occupied by the first virtual item corresponding to the item information is larger than the remaining space of the virtual warehouse of the controlled virtual object, and corresponding to the item information Add the first virtual prop of the charged virtual object to the temporary package.
  • the at least one item of item information is item information determined based on recommended priorities, and the recommended priorities include at least one of the type priority of virtual resources, the number priority of virtual resources, and the type priority of virtual items. item.
  • the device also includes:
  • An updating module configured to update the virtual props equipped by the controlled virtual object to the plurality of first virtual props in response to the plurality of first virtual props being second virtual props owned by the controlled virtual object.
  • the update module is configured to add the third virtual prop equipped by the controlled virtual object to the controlled virtual object in response to the plurality of first virtual props being second virtual props owned by the controlled virtual object.
  • the third virtual prop is a virtual prop different from the corresponding first virtual prop.
  • the plurality of first virtual props in the virtual warehouse are determined as the virtual props equipped by the controlled virtual object.
  • the kit also includes:
  • the model update module is used to update the model of the controlled virtual object by using the models of the plurality of first virtual props.
  • the plurality of first virtual items include target-type virtual items
  • the device further includes:
  • the second sub-virtual item update module is configured to respond to the plurality of first virtual items being second virtual items owned by the controlled virtual object, and the controlled virtual object has been equipped with virtual items of the target type, the terminal Comparing the first sub-virtual item with the second sub-virtual item, the first sub-virtual item is the sub-virtual item corresponding to the virtual item of the target type in the first virtual item, and the second sub-virtual item is the controlled virtual item
  • the sub-virtual props corresponding to the virtual props of the target type that the object has been equipped with have a nested relationship between the virtual props of the target type and the corresponding sub-virtual props; In this case, the terminal does not update the sub-virtual items contained in the virtual item of the target type; if there is a second sub-virtual item different from the corresponding first sub-virtual item in the second sub-virtual item, the terminal The second sub-virtual item is updated with the corresponding first sub-vir
  • the virtual item of the target type is a virtual item of the container type, and the virtual item of the container type is used for accommodating corresponding sub-virtual items.
  • the device also includes:
  • An update module configured to respond to the closing operation of the virtual item trading interface, using the first virtual item owned by the controlled virtual object to update the equipped virtual item of the controlled virtual object.
  • the device also includes:
  • the third display module is used to display a virtual item configuration interface, and the virtual item configuration interface is used to configure the plurality of first virtual items.
  • the first display module is also used for displaying the virtual prop display interface in response to a confirmation operation on the virtual prop configuration interface.
  • the interface display device provided by the above-mentioned embodiment is displaying the interface
  • the division of the above-mentioned functional modules is used as an example for illustration.
  • the above-mentioned function allocation can be completed by different functional modules according to needs. That is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above.
  • the interface display device provided by the above embodiments and the interface display method embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
  • An embodiment of the present application provides a computer device for performing the above method.
  • the computer device can be implemented as a terminal.
  • the structure of the terminal is introduced below:
  • FIG. 11 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal 1100 may be: a smart phone, a tablet computer, a notebook computer or a desktop computer.
  • the terminal 1100 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
  • the terminal 1100 includes: one or more processors 1101 and one or more memories 1102 .
  • the processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. In some embodiments, the processor 1101 may also include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is configured to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 1102 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1102 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1102 is used to store at least one computer program, and the at least one computer program is used to be executed by the processor 1101 to implement the methods provided by the method embodiments in this application. Interface display method.
  • the terminal 1100 may optionally further include: a peripheral device interface 1103 and at least one peripheral device.
  • the processor 1101, the memory 1102, and the peripheral device interface 1103 may be connected through buses or signal lines.
  • Each peripheral device can be connected to the peripheral device interface 1103 through a bus, a signal line or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1104 and a display screen 1105 .
  • the peripheral device interface 1103 may be used to connect at least one peripheral device related to I/O (Input/Output, input/output) to the processor 1101 and the memory 1102 .
  • the processor 1101, memory 1102 and peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1101, memory 1102 and peripheral device interface 1103 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 1104 is used to receive and transmit RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 1104 communicates with the communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the display screen 1105 is used to display a UI (User Interface, user interface).
  • the UI can include graphics, text, icons, video, and any combination thereof.
  • the display screen 1105 also has the ability to collect touch signals on or above the surface of the display screen 1105 .
  • the touch signal can be input to the processor 1101 as a control signal for processing.
  • the display screen 1105 can also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • FIG. 11 does not constitute a limitation to the terminal 1100, and may include more or less components than shown in the figure, or combine some components, or adopt a different component arrangement.
  • a computer-readable storage medium such as a memory including a computer program
  • the above computer program can be executed by a processor to complete the interface display method in the above embodiment.
  • the computer-readable storage medium can be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a read-only optical disc (Compact Disc Read-Only Memory, CD-ROM), Magnetic tapes, floppy disks, and optical data storage devices, etc.
  • a computer program product or computer program is also provided, the computer program product or computer program includes program code, the program code is stored in a computer-readable storage medium, and the processor of the computer device reads from the computer The program code is read by reading the storage medium, and the processor executes the program code, so that the computer device executes the above interface display method.
  • the computer programs involved in the embodiments of the present application can be deployed and executed on one computer device, or executed on multiple computer devices at one location, or distributed in multiple locations and communicated Executed on multiple computer devices interconnected by the network, multiple computer devices distributed in multiple locations and interconnected through a communication network can form a blockchain system.

Landscapes

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

Abstract

一种界面显示方法、装置、设备以及存储介质,属于计算机技术领域。该方法包括:终端显示虚拟道具展示界面,该虚拟道具展示界面展示有多个第一虚拟道具,该多个第一虚拟道具对应于被控虚拟对象的不同部位(201);响应于在该虚拟道具展示界面上的确认操作,该终端比对该多个第一虚拟道具与该被控虚拟对象拥有的第二虚拟道具(202);响应于任一该第一虚拟道具不存在于该第二虚拟道具中,该终端显示虚拟道具交易界面,该虚拟道具交易界面用于获取该第一虚拟道具(203)。通过该方法提供的方案,提高了人机交互的效率。

Description

界面显示方法、装置、设备以及存储介质
本申请要求于2021年07月21日提交、申请号为202110827352.4、发明名称为“界面显示方法、装置、设备以及存储介质”的中国专利申请的优先权,以及于2021年12月31日提交、申请号为202111668326.8、发明名称为“界面显示方法、装置、设备以及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,特别涉及一种界面显示方法、装置、设备以及存储介质。
背景技术
随着多媒体技术的发展以及终端功能的多样化,在终端上能够进行的游戏种类越来越多。射击类游戏是一种比较盛行的游戏,在游戏过程中,用户可以控制虚拟对象与其他用户控制的虚拟对象在虚拟场景中进行对战。
相关技术中,在游戏开始之前,用户需要为被控虚拟对象选择在游戏中使用的虚拟道具,比如用户为被控虚拟对象选择虚拟枪械或者虚拟装甲等。
发明内容
本申请实施例提供了一种界面显示方法、装置、设备以及存储介质,能够提高人机交互的效率。所述技术方案如下:
一方面,提供了一种界面显示方法,所述方法包括:
终端显示虚拟道具展示界面,所述虚拟道具展示界面展示有多个第一虚拟道具,所述多个第一虚拟道具对应于被控虚拟对象的不同部位;
响应于在所述虚拟道具展示界面上的确认操作,所述终端比对所述多个第一虚拟道具与所述被控虚拟对象拥有的第二虚拟道具;
响应于任一所述第一虚拟道具不存在于所述第二虚拟道具中,所述终端显示虚拟道具交易界面,所述虚拟道具交易界面用于获取所述第一虚拟道具。
一方面,提供了一种界面显示装置,所述装置包括:
第一显示模块,用于显示虚拟道具展示界面,所述虚拟道具展示界面展示有多个第一虚拟道具,所述多个第一虚拟道具对应于被控虚拟对象的不同部位;
比对模块,用于响应于在所述虚拟道具展示界面上的确认操作,比对所述多个第一虚拟道具与所述被控虚拟对象拥有的第二虚拟道具;
第二显示模块,用于响应于任一所述第一虚拟道具不存在于所述第二虚拟道具中,显示虚拟道具交易界面,所述虚拟道具交易界面用于获取所述第一虚拟道具。
在一些实施例中,所述虚拟道具展示界面包括多个槽位,所述多个第一虚拟道具分别显示在所述多个槽位中,所述装置还包括:
虚拟道具编辑界面显示模块,用于响应于对所述多个槽位中任一槽位的选择操作,显示虚拟道具编辑界面,所述虚拟道具编辑界面用于调整所述槽位对应的第一虚拟道具。
在一些实施例中,所述虚拟道具编辑界面包括虚拟道具选择列表,所述虚拟道具选择列表中显示有多个候选虚拟道具,所述多个候选虚拟道具为与所述槽位对应的虚拟道具,所述装置还包括:
候选虚拟道具显示模块,用于响应于所述多个候选虚拟道具中的任一候选虚拟道具被选中,在所述槽位中显示所述候选虚拟道具。
在一些实施例中,所述虚拟道具编辑界面包括虚拟道具选择列表,所述虚拟道具选择列表中显示有多个候选虚拟道具,所述多个候选虚拟道具为与所述槽位对应的虚拟道具,所述装置还包括:
第一子虚拟道具更新模块,用于响应于所述多个候选虚拟道具中的任一候选虚拟道具被选中,且所述候选虚拟道具为目标类型的虚拟道具,在所述虚拟道具编辑界面中显示子虚拟道具编辑界面,所述子虚拟道具编辑界面中显示有所述候选虚拟道具对应的多个子虚拟道具,所述目标类型的虚拟道具与对应子虚拟道具之间具有嵌套关系;响应于对所述多个子虚拟道具中的任一子虚拟道具的调整操作,将所述子虚拟道具更新为所述调整操作对应的子虚拟道具。
在一些实施例中,所述第一子虚拟道具更新模块,用于响应于对所述多个子虚拟道具中的任一子虚拟道具的选择操作,显示所述子虚拟道具对应的子虚拟道具选择列表,所述子虚拟道具选择列表中显示有所述子虚拟道具对应的多个候选子虚拟道具;
响应于所述多个候选子虚拟道具中的目标子虚拟道具被选中,采用所述目标子虚拟道具更新所述子虚拟道具。
在一些实施例中,所述装置还包括:
列表存储模块,用于响应于任一所述第一虚拟道具与任一所述第二虚拟道具相同,将所述第一虚拟道具的标识加入第一列表,所述第一列表用于存储在所述第二虚拟道具中查询到的第一虚拟道具的标识;响应于任一第一虚拟道具与所述第二虚拟道具不相同,将所述第一虚拟道具的标识加入第二列表,所述第二列表用于存储在所述第二虚拟道具中未查询到的第一虚拟道具的标识;
所述第二显示模块,用于响应于所述第二列表中存在任一所述第一虚拟道具的标识,显示所述虚拟道具交易界面。
在一些实施例中,所述虚拟道具交易界面中显示有所述第一虚拟道具的至少一条道具信息,所述装置还包括:
加入模块,用于响应于基于任一条道具信息的购买操作,将所述道具信息对应的第一虚拟道具加入所述被控虚拟对象的虚拟仓库。
在一些实施例中,所述加入模块,用于响应于基于任一条道具信息的购买操作,比对第一虚拟资源数量和第二虚拟资源数量,所述第一虚拟资源数量为所述道具信息指示的虚拟资源的数量,所述第二虚拟资源数量为所述被控虚拟对象对应账号拥有的虚拟资源的数量;
响应于所述第二虚拟资源数量大于或等于所述第一虚拟资源数量,将所述道具信息对应的第一虚拟道具加入所述被控虚拟对象的虚拟仓库。
在一些实施例中,所述虚拟道具交易界面中显示有所述第一虚拟道具的至少一条道具信息,所述装置还包括:
临时包裹加入模块,用于响应于基于任一条道具信息的购买操作,且所述道具信息对应的第一虚拟道具所占据的空间大于所述被控虚拟对象的虚拟仓库的剩余空间,将所述道具信息对应的第一虚拟道具加入所述被控虚拟对象的临时包裹。
在一些实施例中,所述至少一条道具信息为基于推荐优先级确定的道具信息,所述推荐优先级包括虚拟资源的类型优先级、虚拟资源的数量优先级、虚拟道具的类型优先级中的至少一项。
在一些实施例中,所述装置还包括:
更新模块,用于响应于所述多个第一虚拟道具均为所述被控虚拟对象拥有的第二虚拟道具,将所述被控虚拟对象已装备的虚拟道具更新为所述多个第一虚拟道具。
在一些实施例中,所述更新模块,用于响应于所述多个第一虚拟道具均为所述被控虚拟对象拥有的第二虚拟道具,将所述被控虚拟对象已装备的第三虚拟道具加入所述被控虚拟对象的虚拟仓库,所述第三虚拟道具为与对应第一虚拟道具不同的虚拟道具;将所述虚拟仓库中的所述多个第一虚拟道具,确定为所述被控虚拟对象装备的虚拟道具。
在一些实施例中,所述装备还包括:
模型更新模块,用于采用所述多个第一虚拟道具的模型,更新所述被控虚拟对象的模型。
在一些实施例中,所述多个第一虚拟道具包括目标类型的虚拟道具,所述装置还包括:
第二子虚拟道具更新模块,用于响应于所述多个第一虚拟道具均为所述被控虚拟对象拥有的第二虚拟道具,且所述被控虚拟对象已装备所述目标类型的虚拟道具,所述终端比较第一子虚拟道具和第二子虚拟道具,所述第一子虚拟道具为所述第一虚拟道具中,所述目标类型的虚拟道具对应的子虚拟道具,所述第二子虚拟道具为所述被控虚拟对象已装备的所述目标类型的虚拟道具对应的子虚拟道具,所述目标类型的虚拟道具与对应子虚拟道具之间具有嵌套关系;在所述第二子虚拟道具与所述第一子虚拟道具相同的情况下,所述终端不对所述目标类型的虚拟道具所容纳的子虚拟道具进行更新;在所述第二子虚拟道具中存在与对应第一子虚拟道具不同的第二子虚拟道具的情况下,所述终端采用所述对应第一子虚拟道具更新所述第二子虚拟道具。
在一些实施例中,所述目标类型的虚拟道具为容器类虚拟道具,所述容器类虚拟道具用于容纳对应的子虚拟道具。
在一些实施例中,所述装置还包括:
更新模块,用于响应于对所述虚拟道具交易界面的关闭操作,采用所述被控虚拟对象拥有的第一虚拟道具,更新所述被控虚拟对象已装备的虚拟道具。
在一些实施例中,所述装置还包括:
第三显示模块,用于显示虚拟道具配置界面,所述虚拟道具配置界面用于配置所述多个第一虚拟道具;
所述第一显示模块还用于响应于在所述虚拟道具配置界面上的确认操作,显示所述虚拟道具展示界面。
一方面,提供了一种计算机设备,所述计算机设备包括一个或多个处理器和一个或多个存储器,所述一个或多个存储器中存储有至少一条计算机程序,所述计算机程序由所述一个或多个处理器加载并执行以实现所述界面显示方法。
一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序,所述计算机程序由处理器加载并执行以实现所述界面显示方法。
一方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机程序代码,该计算机程序代码存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取该计算机程序代码,处理器执行该计算机程序代码,使得该计算机设备执行上述界面显示方法。
通过本申请实施例提供的方案,无需为被控虚拟对象一一挑选虚拟道具,直接基于虚拟道具展示界面来为被控虚拟对象批量选择虚拟道具,当被控虚拟对象未拥有虚拟道具展示界面中展示的某个虚拟道具时,直接显示虚拟道具交易界面,即可通过虚拟道具交易界面来快速获取对应的虚拟道具,从而提高人机交互的效率。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种界面显示方法的实施环境的示意图;
图2是本申请实施例提供的一种界面显示方法的流程图;
图3是本申请实施例提供的一种界面显示方法的流程图;
图4是本申请实施例提供的一种界面示意图;
图5是本申请实施例提供的一种界面示意图;
图6是本申请实施例提供的一种界面示意图;
图7是本申请实施例提供的一种界面示意图;
图8是本申请实施例提供的一种配置多个第一虚拟道具的方法的示意图;
图9是本申请实施例提供的一种更新被控虚拟对象已装备的虚拟道具的方法的示意图;
图10是本申请实施例提供的一种界面显示装置的结构示意图;
图11是本申请实施例提供的一种终端的结构示意图。
具体实施方式
本申请中术语“至少一个”是指一个或多个,“多个”的含义是指两个或两个以上,例如,多个虚拟道具是指两个或两个以上的虚拟道具。
虚拟场景:是应用程序在终端上运行时显示(或提供)的虚拟场景。该虚拟场景可以是半仿真半虚构的虚拟环境,还可以是纯虚构的虚拟环境。虚拟场景可以是二维虚拟场景、2.5维虚拟场景或者三维虚拟场景中的任意一种,本申请实施例对虚拟场景的维度不加以限定。例如,虚拟场景可以包括天空、陆地、海洋等,该陆地可以包括沙漠、城市等环境元素,用户可以控制虚拟对象在该虚拟场景中进行移动。
虚拟对象:是指在虚拟场景中的可活动对象。该可活动对象可以是虚拟人物、虚拟动物、动漫人物等,比如:在虚拟场景中显示的人物、动物、植物、油桶、墙壁、石块等。该虚拟对象可以是该虚拟场景中的一个虚拟的用于代表用户的虚拟形象。虚拟场景中可以包括多个虚拟对象,每个虚拟对象在虚拟场景中具有自身的形状和体积,占据虚拟场景中的一部分空间。
可选地,该虚拟对象是通过客户端上的操作进行控制的用户角色,或者是通过训练设置在虚拟场景对战中的人工智能(Artificial Intelligence,AI),或者是设置在虚拟场景中的非用户角色(Non-Player Character,NPC)。可选地,该虚拟对象是在虚拟场景中进行竞技的虚拟人物。可选地,该虚拟场景中参与互动的虚拟对象的数量是预先设置的,或者是根据加入互动的客户端的数量动态确定的。
以射击类游戏为例,用户能够控制虚拟对象在该虚拟场景的天空中自由下落、滑翔或者打开降落伞进行下落等,在陆地上中跑动、跳动、爬行、弯腰前行等,也可以控制虚拟对象在海洋中游泳、漂浮或者下潜等,当然,用户也可以控制虚拟对象乘坐虚拟载具在该虚拟场景中进行移动,例如,该虚拟载具可以是虚拟汽车、虚拟飞行器、虚拟游艇等,在此仅以上述场景进行举例说明,本申请实施例对此不作具体限定。用户也可以控制虚拟对象通过游戏中的互动道具与其他虚拟对象进行战斗等方式的互动,例如,该互动道具可以是虚拟手雷、虚拟集束雷、虚拟粘性手雷(简称“粘雷”)等投掷类互动道具,也可以是虚拟机枪、虚拟手枪、虚拟步枪等射击类互动道具,本申请对互动道具的类型不作具体限定。
图1是本申请实施例提供的一种界面显示方法的实施环境示意图,参见图1,该实施环境包括:第一终端120、第二终端140和服务器160。
第一终端120安装和运行有支持虚拟场景显示的应用程序。可选地,该应用程序是第一人称射击游戏(First-Person Shooting Game,FPS)、第三人称射击游戏、虚拟现实应用程序、三维地图程序或者多人对局类生存游戏中的任意一种。第一终端120是第一用户使用的终端,第一用户使用第一终端120操作位于虚拟场景中的被控虚拟对象进行活动,该活动包括但不限于:调整身体姿态、爬行、步行、奔跑、骑行、跳跃、驾驶、拾取、射击、攻击、投掷中的至少一种。示意性的,被控虚拟对象是第一虚拟人物,比如仿真人物角色或动漫人物角色。
第一终端120以及第二终端140通过无线网络或有线网络与服务器160相连。
第二终端140安装和运行有支持虚拟场景显示的应用程序。可选地,该应用程序是FPS、 第三人称射击游戏、虚拟现实应用程序、三维地图程序或者多人对局类生存游戏中的任意一种。第二终端140是第二用户使用的终端,第二用户使用第二终端140操作位于虚拟场景中的另一个虚拟对象进行活动,该活动包括但不限于:调整身体姿态、爬行、步行、奔跑、骑行、跳跃、驾驶、拾取、射击、攻击、投掷中的至少一种。示意性的,第二终端140控制的虚拟对象是第二虚拟人物,比如仿真人物角色或动漫人物角色。
可选地,第一终端120控制的虚拟对象和第二终端140控制的虚拟对象处于同一虚拟场景中,此时第一终端120控制的虚拟对象可以在虚拟场景中与第二终端140控制的虚拟对象进行互动。在一些实施例中,第一终端120控制的虚拟对象与第二终端140控制的虚拟对象为敌对关系,例如,第一终端120控制的虚拟对象与第二终端140控制的虚拟对象属于不同的队伍和组织,敌对关系的虚拟对象之间,可以在陆地上以互相射击的方式进行互动。
可选地,第一终端120和第二终端140上安装的应用程序是相同的,或两个终端上安装的应用程序是不同操作系统平台的同一类型应用程序。其中,第一终端120泛指多个终端中的一个,第二终端140泛指多个终端中的一个,本实施例仅以第一终端120和第二终端140来举例说明。第一终端120和第二终端140的设备类型相同或不同,该设备类型包括:智能手机、平板电脑、膝上型便携计算机和台式计算机中的至少一种。例如,第一终端120和第二终端140可以是智能手机,或者其他手持便携式游戏设备但并不局限于此。本申请实施例提供的技术方案既能够应用在第一终端120上,也能够应用在第二终端140上,本申请实施例对此不做限定。为了更加清楚和简要,在下述说明过程中,采用终端来代指第一终端或者第二终端。
可选地,服务器160是独立的物理服务器,或者是多个物理服务器构成的服务器集群或者分布式系统,或者是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器,本申请实施例对服务器的数量和设备类型不加以限定。
在介绍完本申请实施例的实施环境之后,下面对本申请实施例的应用场景进行介绍。在下述说明过程中,终端也即是上述实施环境中的第一终端120或者第二终端140,服务器也即是上述服务器160。
本申请实施例提供的技术方案能够应用在射击类游戏的场景下,或者应用在格斗类游戏的场景下,本申请实施例对此不做限定。
在一个实施例中,本申请实施例提供的技术方案应用在射击类游戏的场景下,用户通过虚拟道具展示界面为被控虚拟对象配置的多个第一虚拟道具,也即是用户控制被控虚拟对象在虚拟场景中与其他用户控制的虚拟对象进行射击的装备。在一些实施例中,多个第一虚拟道具包括被控虚拟对象在虚拟场景中使用的虚拟枪械,虚拟枪械也即是对应于被控虚拟对象手部的虚拟道具。多个第一虚拟道具还包括被控虚拟对象的虚拟头盔。在一些实施例中,虚拟头盔能够减少被控虚拟对象被击中时受到的伤害,当然,虚拟头盔也即是对应于被控虚拟对象头部的虚拟道具。用户能够通过虚拟道具展示界面来提前为被控虚拟对象配置多个第一虚拟道具,该多个第一虚拟道具也即是用户控制被控虚拟对象在下一局游戏中要使用的多个虚拟道具。在游戏开始之前,用户能够通过虚拟道具展示界面来查看已配置的多个第一虚拟道具。用户对已配置的多个第一虚拟道具确认无误之后,通过在虚拟道具展示界面上的确认操作,来控制终端将多个第一虚拟道具装备到被控虚拟对象身上。当被控虚拟对象拥有的虚拟道具中不包括任一个第一虚拟道具,也即是被控虚拟对象未拥有任一已配置的第一虚拟道具时,那么终端显示虚拟道具交易界面,用户能够通过该虚拟道具交易界面来购买该第一虚拟道具。
在另一个实施例中,本申请实施例提供的技术方案应用在格斗类游戏的场景下,用户通过虚拟道具展示界面为被控虚拟对象配置的多个第一虚拟道具,也即是用户控制被控虚拟对 象在虚拟场景中与其他用户控制的虚拟对象进行格斗的装备。在一些实施例中,格斗类游戏中的虚拟道具能够提高虚拟对象的属性值。在一些实施例中,多个第一虚拟道具包括被控虚拟对象在虚拟场景中使用的虚拟拳套,虚拟拳套也即是对应于被控虚拟对象手部的虚拟道具。多个第一虚拟道具还包括被控虚拟对象的虚拟发带。在一些实施例中,虚拟发带能够提高被控虚拟对象的血量,当然,虚拟发带也即是对应于被控虚拟对象头部的虚拟道具。用户能够通过虚拟道具展示界面来提前为被控虚拟对象配置多个第一虚拟道具,该多个第一虚拟道具也即是用户控制被控虚拟对象在下一局游戏中要使用的多个虚拟道具。在游戏开始之前,用户能够通过虚拟道具展示界面来查看已配置的多个第一虚拟道具。用户对已配置的多个第一虚拟道具确认无误之后,通过在虚拟道具展示界面上的确认操作,来控制终端将多个第一虚拟道具装备到被控虚拟对象身上。当被控虚拟对象拥有的虚拟道具中不包括任一个第一虚拟道具,也即是被控虚拟对象未拥有任一已配置的第一虚拟道具时,那么终端显示虚拟道具交易界面,用户能够通过该虚拟道具交易界面来购买该第一虚拟道具。
需要说明的是,本申请实施例提供的技术方案除了能够应用在上述描述的射击类游戏和格斗类游戏的场景下以外,也能够应用在其他需要装备虚拟道具的游戏中,本申请实施例对此不做限定。
介绍完本申请实施例的实施环境和应用场景之后,下面对本申请实施例提供的技术方案进行说明。
图2是本申请实施例提供的一种界面显示方法的流程图,参见图2,方法包括:
201、终端显示虚拟道具展示界面,该虚拟道具展示界面展示有多个第一虚拟道具,该多个第一虚拟道具对应于被控虚拟对象的不同部位。
其中,虚拟道具展示界面为游戏应用的一个功能界面,用户能够通过虚拟道具展示界面来为被控虚拟对象提前配置虚拟道具,多个第一虚拟道具也即是提前配置的多个虚拟道具。多个第一虚拟道具对应于被控虚拟对象的不同部位是指,一个第一虚拟道具对应于被控虚拟对象的一个身体部位,比如,若一个第一虚拟道具为虚拟枪械,那么该第一虚拟道具也即是对应于被控虚拟对象手部的虚拟道具。
202、响应于在该虚拟道具展示界面上的确认操作,终端比对该多个第一虚拟道具与该被控虚拟对象拥有的第二虚拟道具。
其中,在该虚拟道具展示界面上的确认操作是指对所配置的多个第一虚拟道具的确认操作。在该虚拟道具展示界面上的确认操作包括下述任一种方式:对虚拟道具展示界面上显示的确认控件的点击操作,或者在虚拟道具展示界面上执行的目标手势,本申请实施例对此不做限定。比对该多个第一虚拟道具与该被控虚拟对象拥有的第二虚拟道具的过程,也即是确定被控虚拟对象是否拥有已配置的全部第一虚拟道具的过程。
需要说明的是,上述步骤202是以终端比对该多个第一虚拟道具与该第二虚拟道具为例进行说明的,在其他可能的实施方式中,也可以由服务器来比对该多个第一虚拟道具与该第二虚拟道具,也就是响应于在该虚拟道具展示界面上的确认操作,终端向服务器发送比对请求,比对请求中携带有多个第一虚拟道具的标识。服务器接收到比对请求之后,从比对请求中获取多个第一虚拟道具的标识,基于多个第一虚拟道具的标识与该被控虚拟对象拥有的第二虚拟道具进行比对,将比对结果发送给终端,这样能够减少终端的运算量,减少终端发热和卡顿的现象。
其中,该被控虚拟对象拥有的第二虚拟道具的数量可以为一个或多个,本申请实施例对此不做限定。
203、响应于任一该第一虚拟道具不存在于该第二虚拟道具中,终端显示虚拟道具交易界面,该虚拟道具交易界面用于获取该第一虚拟道具。
其中,任一第一虚拟道具不存在于第二虚拟道具中,也就是指,被控虚拟对象未拥有某个已配置的第一虚拟道具,则用户能够通过虚拟道具交易界面来获取该第一虚拟道具。
其中,在该被控虚拟对象拥有一个第二虚拟道具的情况下,任一第一虚拟道具不存在于第二虚拟道具中,是指存在至少一个第一虚拟道具与该第二虚拟道具不同。在该被控虚拟对象拥有多个第二虚拟道具的情况下,任一第一虚拟道具不存在于第二虚拟道具中,是指存在至少一个第一虚拟道具与每个第二虚拟道具均不同。
通过本申请实施例提供的方案,无需为被控虚拟对象一一挑选虚拟道具,直接基于虚拟道具展示界面来为被控虚拟对象批量选择虚拟道具,当被控虚拟对象未拥有虚拟道具展示界面中展示的某个虚拟道具时,直接显示虚拟道具交易界面,即可通过虚拟道具交易界面来快速获取对应的虚拟道具,从而提高人机交互的效率。
上述步骤201-203是本申请实施例提供的界面显示方法的简单说明,下面将结合一些例子,对本申请实施例提供的技术方案进行详细说明。
图3是本申请实施例提供的一种界面显示方法的流程图,参见图3,方法包括:
301、终端显示虚拟道具展示界面,该虚拟道具展示界面展示有多个第一虚拟道具,该多个第一虚拟道具对应于被控虚拟对象的不同部位。
其中,被控虚拟对象为终端控制的虚拟对象,用户能够通过终端控制被控虚拟对象在虚拟场景中执行不同的动作。在一些实施例中,多个第一虚拟道具可以理解为预设的多个第一虚拟道具,多个第一虚拟道具可以被称为一个预设模板。在一些实施例中,多个第一虚拟道具包括虚拟背包,虚拟背包用于放置虚拟药品或者虚拟弹药等。在一些实施例中,多个第一虚拟道具均为能够带入游戏的虚拟道具。
在一些实施例中,终端可拥有一个或多个虚拟道具,所拥有的虚拟道具为用户消耗游戏中的虚拟资源进行兑换得到的,或者是服务器基于用户的账号等级提升以奖励形式下发的,或者是基于当前游戏阶段或游戏模式所提供的虚拟道具,本申请实施例对虚拟道具的来源不做限定。例如,该虚拟资源可以为游戏中的虚拟货币等。
在一些实施例中,对于射击类游戏来说,虚拟道具展示界面中显示的多个第一虚拟道具包括虚拟枪械、虚拟头盔、虚拟面具、虚拟防弹衣以及虚拟手雷等,本申请实施例对此不做限定。其中,虚拟枪械分为主武器和副武器,主武器包括虚拟狙击枪、虚拟步枪以及虚拟机枪等,副武器包括虚拟手枪以及虚拟刀具等。对于格斗类游戏来说,虚拟道具展示界面中显示的多个第一虚拟道具包括虚拟武器、虚拟头盔、虚拟护甲、虚拟鞋子、虚拟吊坠等,本申请实施例对此不做限定。在格斗类游戏中,不同的虚拟道具能够为被控虚拟对象提供不同的属性加成,比如不同的虚拟武器能够为被控虚拟对象提供不同的攻击力加成,不同的虚拟护甲能够为被控虚拟对象提供不同的生命值和护甲加成。在一些实施例中,多个第一虚拟道具也可以被称为一个虚拟道具组合。
需要说明的是,上述多个第一虚拟道具由终端配置确定,或者由服务器推荐给终端,或者采用其他方式确定。并且该多个第一虚拟道具可能包含终端拥有的虚拟道具,也可能包括终端还未拥有的虚拟道具。该多个第一虚拟道具构成了一个虚拟道具组合,后续能够对该虚拟道具组合中的任一虚拟道具进行更改,或者确认使用当前虚拟道具组合,从而方便地控制终端将当前虚拟道具组合中的多个第一虚拟道具装备到被控虚拟对象身上以进行游戏。
在一些实施例中,多个第一虚拟道具包括目标类型的虚拟道具,目标类型的虚拟道具是指能够容纳其他虚拟道具的虚拟道具,该其他虚拟道具也被称为子虚拟道具,比如,虚拟弹夹是一个目标类型的虚拟道具,虚拟弹夹中能够容纳虚拟弹药,虚拟背包是一个目标类型的虚拟道具,虚拟背包中能够放置虚拟药品以及未装备在虚拟弹夹中的虚拟弹药。在一些实施例中,虚拟背包还能够放置被控虚拟对象在游戏中拾取的虚拟道具。对于目标类型的虚拟道具来说,已配置该目标类型的虚拟道具不仅是指配置该虚拟道具,还表示配置了该虚拟道具中容纳的虚拟道具。在一些实施例中,目标类型的虚拟道具也被称为容器类虚拟道具,容器类虚拟道具用于容纳对应的子虚拟道具。
在一些实施例中,响应于对虚拟道具展示界面的查看操作,终端显示虚拟道具展示界面, 该虚拟道具展示界面显示有对应于被控虚拟对象不同部位的多个第一虚拟道具。
下面通过两个例子对上述实施方式进行说明。
例1、终端显示游戏应用的主界面,该主界面上显示有第一功能控件,该第一功能控件用于查看虚拟道具展示界面。响应于对第一功能控件的点击操作,终端显示虚拟道具展示界面,用户能够通过虚拟道具展示界面来查看已配置的多个第一虚拟道具,在这种情况下,对第一功能控件的点击操作也即是对虚拟道具展示界面的查看操作。
其中,对第一功能控件的点击操作既可以是指用户手指对第一控件对应位置的点击操作,也可以是指用户通过外接设备对第一控件对应位置的点击操作,比如用户通过鼠标对第一控件对应位置的点击操作,本申请实施例对此不做限定。
比如,参见图4,游戏应用启动之后,终端显示游戏应用的主界面401,游戏应用的主界面401上显示有第一功能控件402。响应于对第一功能控件402的点击操作,终端显示虚拟道具展示界面403,虚拟道具展示界面403中显示有多个第一虚拟道具。
例2、终端显示游戏应用的主界面,该主界面上显示有第二功能控件,该第二功能控件用于开启一局竞技对战,对于射击类游戏来说,也即是用于开启一局射击游戏,对于格斗类游戏来说,也即是用于开启一局格斗游戏。响应于对第二功能控件的点击操作,终端显示虚拟道具展示界面,用户能够通过虚拟道具展示界面来查看多个第一虚拟道具,当对多个第一虚拟道具确认无误之后,用户能够控制终端将被控虚拟对象已装备的虚拟道具替换为多个第一虚拟道具来进行游戏。在这种情况下,对第二功能控件的点击操作也即是对虚拟道具展示界面的查看操作。
其中,对第二功能控件的点击操作既可以是指用户手指对第二控件对应位置的点击操作,也可以是指用户通过外接设备对第二控件对应位置的点击操作,比如用户通过鼠标对第二控件对应位置的点击操作,本申请实施例对此不做限定。
比如,参见图4,游戏应用启动之后,终端显示游戏应用的主界面401,游戏应用的主界面401上显示有第二功能控件404。响应于对第二功能控件404的点击操作,终端显示虚拟道具展示界面403,虚拟道具展示界面403中显示有多个第一虚拟道具。
需要说明的是,上述点击操作用于对控件进行选择,可以称为对控件的选择操作,而在其他的实施例中,除了点击操作之外,对控件的选择操作还可以是长按该控件的操作或者滑动该控件的操作等,本申请实施例对此不做限定。下述点击操作与此类似,本申请实施例不再赘述。
在一些实施例中,虚拟道具展示界面包括多个槽位,多个第一虚拟道具分别显示在多个槽位中,在一些实施例中,槽位也被称为装备位。其中,槽位也即是用于显示虚拟道具的区域。在一些实施例中,槽位上显示有对应类型的虚拟道具的名称,比如,在射击类游戏中,一个槽位上显示有名称“头盔”,这也就表示该槽位是用于显示头盔的区域。在一些实施例中,槽位上显示有对应类型虚拟道具的图标,比如,在射击类游戏中,一个槽位上显示的图标为头盔,这也就表示该槽位是用于显示头盔的区域。
在上述说明过程中,是对终端显示包括多个第一虚拟道具的虚拟道具展示界面的方法进行说明,在显示虚拟道具展示界面之后,终端还能够通过下述方式对显示的第一虚拟道具进行调整。
在一些实施例中,响应于对多个第一虚拟道具中任一第一虚拟道具的触发操作,终端将该第一虚拟道具更新为触发操作对应的虚拟道具。在这种实施方式下,用户能够对第一虚拟道具进行调整,以实现对被控虚拟对象装备的虚拟道具的调整。
举例来说,虚拟道具展示界面包括多个槽位,多个第一虚拟道具分别显示在多个槽位中。响应于对该多个槽位中任一槽位的点击操作,终端显示虚拟道具编辑界面,该虚拟道具编辑界面用于调整该槽位对应的第一虚拟道具。比如,参见图4和图5,终端显示虚拟道具展示界面403,虚拟道具展示界面403包括多个槽位,多个第一虚拟道具分别显示在多个槽位中。响应于对该多个槽位中任一槽位405的点击操作,终端显示虚拟道具编辑界面501。
在一些实施例中,该虚拟道具编辑界面包括虚拟道具选择列表,该虚拟道具选择列表中显示有多个候选虚拟道具,该多个候选虚拟道具为与该槽位对应的虚拟道具,响应于该多个候选虚拟道具中的任一候选虚拟道具被选中,且该候选虚拟道具为目标类型的虚拟道具,终端在该虚拟道具编辑界面中显示子虚拟道具编辑界面,该子虚拟道具编辑界面中显示有该候选虚拟道具对应的多个子虚拟道具,该目标类型的虚拟道具与对应子虚拟道具之间具有嵌套关系。响应于对该多个子虚拟道具中的任一子虚拟道具的调整操作,终端将该子虚拟道具更新为该调整操作对应的子虚拟道具。
其中,目标类型的虚拟道具与对应的子虚拟道具之间具有嵌套关系是指,对应的子虚拟道具附属于目标类型的虚拟道具,比如目标类型的虚拟道具为虚拟弹夹,那么对应的子虚拟道具也即是虚拟弹药。若目标类型的虚拟道具为虚拟枪械,那么对应的子虚拟道具也即是虚拟瞄准镜、虚拟枪托以及虚拟效应器等。在一些实施例中,一个目标类型的虚拟道具能够容纳不同类型的子虚拟道具,比如,以目标类型的虚拟道具为虚拟弹夹为例,用户可以选择不同类型的虚拟弹药进行混填,也即是在同一个虚拟弹夹中填充不同类型的虚拟弹药。
举例来说,响应于该多个候选虚拟道具中的任一候选虚拟道具被选中,且该候选虚拟道具为目标类型的虚拟道具,终端在该虚拟道具编辑界面中显示子虚拟道具编辑界面,该子虚拟道具编辑界面中显示有该候选虚拟道具对应的多个子虚拟道具。响应于对该多个子虚拟道具中的任一子虚拟道具的点击操作,终端显示该子虚拟道具对应的子虚拟道具选择列表,该子虚拟道具选择列表中显示有该子虚拟道具对应的多个候选子虚拟道具。响应于该多个候选子虚拟道具中的目标子虚拟道具被选中,终端采用该目标子虚拟道具更新该子虚拟道具。
也就是说,在上述实施例中,若多个第一虚拟道具中存在目标类型的虚拟道具,或者说多个第一虚拟道具中存在容器类虚拟道具,那么用户能够对该目标类型的虚拟道具所容纳的子虚拟道具进行编辑,编辑之后就能够采用对应的子虚拟道具来进行装备,以提高人机交互的效率。
在一些实施例中,为目标类型的虚拟道具设置其可容纳的多个子虚拟道具,而且,上述子虚拟道具对应的多个候选子虚拟道具即为:所设置的多个子虚拟道具中,除了上述子虚拟道具之外的其他子虚拟道具,即终端显示的子虚拟道具选择列表中,包含除上述子虚拟道具之外的其他子虚拟道具,供用户选择。
需要说明的是,上述点击操作用于对子虚拟道具进行选择,可以称为对子虚拟道具的选择操作,而在其他的实施例中,除了点击操作之外,对子虚拟道具的选择操作还可以是长按该子虚拟道具的操作或者滑动该子虚拟道具的操作等,本申请实施例对此不做限定。
在一些实施例中,虚拟道具编辑界面包括虚拟道具选择列表,该虚拟道具选择列表中显示有多个候选虚拟道具,该多个候选虚拟道具为与该槽位对应的虚拟道具。响应于该多个候选虚拟道具中的任一候选虚拟道具被选中,终端在该槽位中显示该候选虚拟道具,也即是采用该候选虚拟道具替换该槽位中的第一虚拟道具。其中,该多个候选虚拟道具为与该槽位对应的虚拟道具是指,该多个候选虚拟道具为与该槽位指示类型对应的虚拟道具,比如,该槽位指示的类型为虚拟头盔,该槽位原本显示的第一虚拟道具为虚拟头盔A,用户能够通过点击该槽位来将虚拟头盔A更新为虚拟头盔B,虚拟头盔B也即是被选中的候选虚拟道具。其中,该多个候选虚拟道具为与该槽位指示类型对应的全部虚拟道具,或者为与该槽位指示类型对应的虚拟道具中除该槽位上当前显示的虚拟道具之外的其他虚拟道具。
比如,参见图5,终端显示虚拟道具编辑界面501,虚拟道具编辑界面501包括虚拟道具选择列表502,虚拟道具选择列表502中显示有多个候选虚拟道具。响应于对多个候选虚拟道具中的任一候选虚拟道具503被选中,终端采用该候选虚拟道具503替换该槽位对应的第一虚拟道具,终端采用该候选虚拟道具503替换该槽位对应的第一虚拟道具之后,该候选虚拟道具503也就作为该槽位对应的新的第一虚拟道具。在终端下一次显示虚拟道具展示界面时,该槽位中显示的虚拟道具也即是新的第一虚拟道具。若该槽位对应的虚拟道具为虚拟头盔,该槽位中显示有虚拟头盔A,相应的,虚拟道具编辑界面501也即是虚拟头盔对应的虚 拟道具编辑界面,虚拟道具选择列表502中显示的多个候选虚拟道具也即是多个虚拟头盔。响应于多个虚拟头盔中的任一虚拟头盔B被选中,终端采用虚拟头盔B替换虚拟头盔A。
在一些实施例中,虚拟道具选择列表上显示有虚拟道具筛选控件,虚拟道具筛选控件用于从多个候选虚拟道具中,筛选出被控虚拟对象拥有的候选虚拟道具,这里所描述的被控虚拟对象拥有的虚拟道具,既包括被控虚拟对象当前装备的虚拟道具,也包括被控虚拟对象已有但未装备的虚拟道具,也即是放置在虚拟仓库中的虚拟道具,其中,虚拟仓库容纳的虚拟道具不会被带入到单局游戏中,虚拟仓库具有一定的容量,也即是虚拟仓库能够容纳虚拟道具的数量是有限的。虚拟背包是一种虚拟道具,虚拟背包具有不同的类型,不同类型的虚拟背包具有不同的容量。若被控虚拟对象拥有多个虚拟背包,用户可以为被控虚拟对象选择一个虚拟背包进行装备,没有装备的虚拟背包也就会放置在虚拟仓库中,以便后续使用。在一些实施例中,虚拟仓库还可以称为储物箱等用于存储用户所拥有的虚拟道具的任一种名称。在一些实施例中,若未采用本申请实施例提供的技术方案,那么用户也能够从虚拟仓库中为被控虚拟对象挑选虚拟道具。在一些实施例中,多个候选虚拟道具也被称为能够装备到当前位置的物品,这里的当前位置也即是指该槽位。响应于对虚拟道具筛选控件的点击操作,终端对多个候选虚拟道具进行筛选,在虚拟道具列表中显示被控虚拟对象拥有的候选虚拟道具。也就是说,在未点击虚拟道具筛选控件之前,虚拟道具候选列表中显示的是与该槽位对应的全部候选虚拟道具,这些候选虚拟道具既包括被控虚拟对象拥有的虚拟道具,也包括被控虚拟道具未拥有的虚拟道具。也即是,比如该槽位对应的虚拟道具为虚拟头盔,在游戏中存在3中虚拟头盔,也即是虚拟头盔A、虚拟头盔B和虚拟头盔C,那么在终端显示的虚拟道具选择列表中,也就会同时显示虚拟头盔A、虚拟头盔B和虚拟头盔C。若被控虚拟对象只拥有虚拟头盔B,那么当用户点击虚拟道具筛选控件之后,虚拟道具选择列表中只会保留虚拟头盔B。在这种情况下,用户能够通过点击虚拟道具筛选控件来从全部候选虚拟道具中筛选出被控虚拟对象拥有的虚拟道具,这样在后续为被控虚拟对象装备虚拟道具时,能够直接采用虚拟道具组合中被控虚拟对象拥有的虚拟道具,无需进行购买和调整,人机交互的效率较高。
比如,参见图5,终端显示虚拟道具编辑界面501,虚拟道具编辑界面501包括虚拟道具选择列表502,虚拟道具选择列表502中显示有多个候选虚拟道具。响应于对虚拟道具筛选控件504的点击操作,终端对多个候选虚拟道具进行筛选,在虚拟道具列表中显示被控虚拟对象拥有的候选虚拟道具。
在一些实施例中,虚拟道具编辑界面包括虚拟道具属性展示区域。响应于该多个候选虚拟道具中的任一候选虚拟道具被选中,终端在该虚拟道具属性展示区域显示该候选虚拟道具的属性信息。在一些实施例中,属性信息包括该候选虚拟道具的名称以及属性值。若该候选虚拟道具为一个虚拟头盔,那么终端在该虚拟道具属性展示区域中显示该虚拟头盔的名称以及该虚拟头盔的防御力。在这种情况下,用户能够通过虚拟道具属性展示区域来查看该候选虚拟道具的名称和属性值,用户能够通过虚拟道具的名称和属性值来确定选择的候选虚拟道具是否为想要使用的虚拟道具,人机交互的效率较高。
在一些实施例中,虚拟道具展示界面包括多个虚拟道具组合分别对应的标签,响应于对任一标签的点击操作,终端显示该标签对应的多个第一虚拟道具。其中,一个虚拟道具组合对应于多个第一虚拟道具。也就是说,虚拟道具展示界面可以用于显示多个虚拟道具组合分别对应的多个第一虚拟道具,在上述说明过程中,当终端显示虚拟道具展示界面时,默认显示的也即是第一个虚拟道具组合对应的多个第一虚拟道具,用户能够通过点击不同虚拟道具组合对应的标签来控制终端在虚拟道具展示界面上显示对应虚拟道具组合的多个第一虚拟道具。在射击类游戏的场景下,多个虚拟道具组合也即是用户提前配置的多个“套装”。比如,用户能够将“虚拟机枪A1+虚拟头盔A2+虚拟面具A3+虚拟防弹衣A4+虚拟手雷A5作”为一个虚拟道具组合,也即是一个套装,用户能够将“虚拟狙击枪B1+虚拟头盔B1+虚拟面具B1+虚拟防弹衣B1+虚拟手雷B1作”为另一个虚拟道具组合,这样能够在游戏开始之前为被 控虚拟对象切换不同的虚拟道具组合,人机交互的效率较高。
对于不同虚拟道具组合来说,用户均能够通过上述方式来对不同虚拟道具组合对应的多个第一虚拟道具进行调整,在此不再赘述。
需要说明的是,在上述说明过程中,是以虚拟道具展示界面上已经配置有多个第一虚拟道具为例进行说明,下面对通过虚拟道具展示界面配置多个第一虚拟道具的方法进行说明。
在一些实施例中,终端显示虚拟道具展示界面,通过虚拟道具展示界面来配置多个第一虚拟道具。
举例来说,响应于对虚拟道具展示界面的查看操作,终端显示虚拟道具展示界面,该虚拟道具展示界面显示有空白的多个槽位。响应于多个槽位中的任一个槽位的点击操作,响应于对该多个槽位中任一槽位的点击操作,终端显示该槽位对应的虚拟道具编辑界面。该虚拟道具编辑界面包括虚拟道具选择列表,该虚拟道具选择列表中显示有多个候选虚拟道具,该多个候选虚拟道具为与该槽位对应的虚拟道具,响应于该多个候选虚拟道具中的任一候选虚拟道具被选中,终端在该槽位中显示该候选虚拟道具,该候选虚拟道具也即是该槽位对应的第一虚拟道具。
在一些实施例中,终端能够按照多个候选虚拟道具的热门程度来对多个候选虚拟道具进行排序,热门程度越高的候选虚拟道具排在虚拟道具选择列表的越前端,其中,热门程度是指对应候选虚拟道具被使用的次数,或者是指对应候选虚拟道具被配置为第一虚拟道具的次数等,本申请实施例对此不做限定。终端能够从服务器获取对应候选虚拟道具被使用的次数以及对应候选虚拟道具被配置为第一虚拟道具的次数。对应候选虚拟道具的使用次数是指,在目标时长内,游戏中的用户使用该候选虚拟道具的次数,其中,目标时长由技术人员根据实际情况进行设置,比如设置为一周或者一个月等,本申请实施例对此不做限定。相应的,对应候选虚拟道具被配置为第一虚拟道具的次数是指,在目标时长内,游戏中的用户将该候选虚拟道具配置为第一虚拟道具的次数。通过基于热门程度对多个候选虚拟道具进行排序,热门程度较高的候选虚拟道具能够显示在虚拟道具选择列表的前端,便于用户进行选择。
在一些实施例中,终端还能够按照多个候选虚拟道具的胜率来对多个候选虚拟道具进行排序,胜率越高的候选虚拟道具排在虚拟道具选择列表的越前端,其中,胜率是指装备对应候选虚拟道具时获胜的频率,该频率是将使用该候选虚拟道具时获胜的次数除以使用该候选虚拟道具的次数得到的。终端能够从服务器获取对应候选虚拟道具时获胜的概率。通过基于胜率对多个候选虚拟道具进行排序,胜率较高的候选虚拟道具能够显示在虚拟道具选择列表的前端,便于用户进行选择。
在一些实施例中,对于多个第一虚拟道具中的虚拟枪械来说,用户能够通过虚拟道具展示界面,对虚拟枪械的部件进行调整,比如对虚拟枪械的虚拟瞄准镜、虚拟手托以及虚拟消音器等部件进行调整,这一过程也可以被称为“改枪”。
在一些实施例中,用户还能够通过虚拟道具展示界面,为多个第一虚拟道具配置渲染方式,也即是对终端渲染多个第一虚拟道具时采用的纹理和参数进行调整,在一些实施例中,这一过程也被称为“时装换装”。
需要说明的是,通过虚拟道具展示界面配置多个第一虚拟道具之后,在后续游戏中,已配置的多个第一虚拟道具能够反复使用,从而提高了用户为被控虚拟对象选择虚拟道具的效率。
在一些实施例中,在步骤301之前,终端还能够显示虚拟道具配置界面,虚拟道具配置界面用于配置多个第一虚拟道具。响应于在该虚拟道具配置界面上的确认操作,终端显示虚拟道具展示界面。在一些实施例中,虚拟道具配置界面为没有配置过虚拟道具的虚拟道具展示界面。虚拟道具配置界面包括多个槽位,多个槽位均为空白槽位。在一些实施例中,槽位也被称为装备位。其中,槽位也即是用于配置虚拟道具的区域。在一些实施例中,槽位上显示有对应类型的虚拟道具的名称,比如,在射击类游戏中,一个槽位上显示有名称“头盔”,这也就表示该槽位是用于显示头盔的区域。在一些实施例中,槽位上显示有对应类型虚拟道 具的图标,比如,在射击类游戏中,一个槽位上显示的图标为头盔,这也就表示该槽位是用于显示头盔的区域。用户能够通过点击不用的槽位来配置多个第一虚拟道具。在一些实施例中,虚拟道具配置界面中显示有保存控件,响应于对保存控件的点击操作,终端显示虚拟道具展示界面。
也即是说,在游戏开始之前,用户能够通过虚拟道具配置界面来配置多个第一虚拟道具,在后续游戏过程中,能够基于自行配置的多个第一虚拟道具来更新被控虚拟对象的装备,用户的自主性较高,人机交互的效率也较高。
302、响应于在该虚拟道具展示界面上的确认操作,终端比对该多个第一虚拟道具与该被控虚拟对象拥有的第二虚拟道具。
其中,被控虚拟对象拥有的第二虚拟道具包括被控虚拟对象当前装备的虚拟道具以及被控虚拟对象的虚拟仓库中的虚拟道具。在一些实施例中,被控虚拟对象当前拥有的虚拟道具包括虚拟背包,虚拟背包中携带有虚拟药品或者虚拟弹药等虚拟道具。在一些实施例中,不管是被控虚拟对象当前已装备或者持有的虚拟道具,均属于虚拟背包里的虚拟道具,因此,已装备就是指背包里的,那么被控虚拟对象拥有的第二虚拟道具包括虚拟背包中的虚拟道具以及被控虚拟对象的虚拟仓库中的虚拟道具。在一些实施例中,被控虚拟对象已装备或者持有的虚拟道具不属于虚拟背包,那么,被控虚拟对象已装备或者持有的虚拟道具以及虚拟背包中的虚拟道具,为被控虚拟对象已装备的虚拟道具。
在一些实施例中,终端对该多个第一虚拟道具与该第二虚拟道具进行比对时,采用将多个第一虚拟道具的标识分别与第二虚拟道具的标识进行比对的方式来进行,若一个第一虚拟道具的标识与一个第二虚拟道具的标识相同,那么也就表示该第一虚拟道具和该第二虚拟道具为同一个虚拟道具,被控虚拟对象也就拥有该第一虚拟道具。若一个第一虚拟道具的标识与每个第二虚拟道具的标识均不相同,那么也就表示被控虚拟对象未拥有该第一虚拟道具。
在一些实施例中,虚拟道具展示界面上显示有确认控件,响应于对该确认控件的点击操作,终端比对该多个第一虚拟道具与第二虚拟道具,对该确认控件的点击操作也即是在该虚拟道具展示界面上的确认操作。由于第一虚拟道具是提前配置的虚拟道具,第二虚拟道具是被控虚拟对象拥有的虚拟道具,终端比较多个第一虚拟道具和第二虚拟道具的过程,也即是比较提前配置的虚拟道具和被控虚拟对象拥有的虚拟道具的过程,比较的结果也就能够指示被控虚拟对象拥有哪些第一虚拟道具,缺少哪些第一虚拟道具。
举例来说,参见图4,虚拟道具展示界面403上显示有确认控件406,响应于对确认控件406的点击操作,终端比对该多个第一虚拟道具的标识与第二虚拟道具的标识。
在一些实施例中,响应于在虚拟道具展示界面上的目标手势,终端比对该多个第一虚拟道具与第二虚拟道具,在虚拟道具展示界面上的目标手势也即是在该虚拟道具展示界面上的确认操作,其中,目标手势由技术人员根据实际情况进行设置,比如目标手势为在虚拟道具展示界面上连续的点击操作,或者为在虚拟道具展示界面上的上划操作,或者为在虚拟道具展示界面上两根手指的合并操作等,本申请实施例对此不做限定。
在一些实施例中,终端能够通过列表的方式来存储比对的结果,也即是响应于任一该第一虚拟道具与任一第二虚拟道具相同,终端将该第一虚拟道具的标识加入第一列表,该第一列表用于存储在该第二虚拟道具中查询到的第一虚拟道具的标识。响应于任一第一虚拟道具与第二虚拟道具不相同,终端将该第一虚拟道具的标识加入第二列表,该第二列表用于存储在该第二虚拟道具中未查询到的第一虚拟道具的标识。在这种方式下,若被控虚拟对象拥有某个第一虚拟道具,那么终端能够将该第一虚拟道具的标识加入到第一列表,以表示该第一虚拟道具为被控虚拟对象拥有的虚拟道具。若被控虚拟对象未拥有某个第一虚拟道具,那么终端能够将该第一虚拟道具的标识加入到第二列表,以表示该第二虚拟道具为被控虚拟对象未拥有的虚拟道具。在一些实施例中,第一列表也被称为Found List(已找到列表),第二列表也被称为Lack List(缺少列表)。通过采用列表的方式来存储比对的结果,提高了后续终端的处理效率。
在一些实施例中,多个第一虚拟道具包括目标类型的虚拟道具,也即是某个第一虚拟道具用于容纳其他虚拟道具,在这种情况下,终端还能够通过下述方式来存储比对的结果。响应于任一该第一虚拟道具与任一第二虚拟道具相同,终端将该第一虚拟道具的标识加入第一列表,该第一列表用于存储在该第二虚拟道具中查询到的第一虚拟道具的标识。响应于该第二虚拟道具为目标类型的虚拟道具,将该第二虚拟道具容纳的子虚拟道具的标识加入第三列表,第三列表用于存储多个第一虚拟道具中,目标类型的虚拟道具容纳的子虚拟道具,在一些实施例中,第三列表也被称为Extern List(多余道具列表)。响应于任一第一虚拟道具与该第二虚拟道具不相同,终端将该第一虚拟道具的标识加入第二列表,该第二列表用于存储在该第二虚拟道具中未查询到的第一虚拟道具的标识。响应于第二列表和第三列表中存在相同的虚拟道具的标识,将该虚拟道具的标识加入到第一列表,将该虚拟道具的标识从第二列表和第三列表中删除。在这种实施方式下,在比对多个第一虚拟道具和第二虚拟道具之后,无需对目标类型的虚拟道具的其他虚拟道具进行检索,只需在比对完成之后,将第二列表和第三列表进行一次合并,就能够确定第二虚拟道具中是否存在目标类型的虚拟道具所容纳的子虚拟道具,效率较高。
需要说明的是,上述步骤302是以终端比对该多个第一虚拟道具与该第二虚拟道具为例进行说明的,在其他可能的实施方式中,也可以由服务器来比对该多个第一虚拟道具与该第二虚拟道具,也就是响应于在该虚拟道具展示界面上的确认操作,终端向服务器发送比对请求,比对请求中携带有多个第一虚拟道具的标识。服务器接收到比对请求之后,从比对请求中获取多个第一虚拟道具的标识,基于多个第一虚拟道具的标识与第二虚拟道具进行比对,将比对结果发送给终端,这样能够减少终端的运算量,减少终端发热和卡顿的现象。
需要说明的是,在上述步骤302之后,终端既能够执行下述步骤303和304,也能够执行下述步骤305,本申请实施例对此不做限定。
303、响应于任一第一虚拟道具不存在于该第二虚拟道具中,终端显示虚拟道具交易界面,该虚拟道具交易界面用于获取该第一虚拟道具。
在一些实施例中,响应于该第二列表中存在任一第一虚拟道具的标识,终端显示该虚拟道具交易界面,其中,该第二列表用于存储在该第二虚拟道具中未查询到的第一虚拟道具的标识,若第二列表中存在任一第一虚拟道具的标识,也就表示该第一虚拟道具不存在于第二虚拟道具中,终端显示虚拟道具交易界面,用户能够通过该虚拟道具交易界面来获取该第一虚拟道具。当然,若存在两个或两个以上的第一虚拟道具不存在于该第二虚拟道具中,终端显示的虚拟道具交易界面也就用于获取该两个或两个以上的第一虚拟道具。
举例来说,参见图4和图6,响应于对确认控件405的点击操作,且任一第一虚拟道具不存在于该第二虚拟道具中,终端显示虚拟道具交易界面601。
在一些实施例中,虚拟道具交易界面中显示有该第一虚拟道具的至少一条道具信息,该道具信息包括该第一虚拟道具的名称、购买该第一虚拟道具所需的虚拟资源的类型和数量。在一些实施例中,虚拟道具交易界面中显示的至少一条道具信息是其他账号发布的道具信息,其他账号也即是除被控虚拟对象对应的账号之外的账号,换句话说,该至少一条道具信息是其他玩家发布的道具信息,用于出售对应的第一虚拟道具。用户能够通过查看该至少一条道具信息来知晓不同玩家出售该第一虚拟道具的价格,便于用户进行筛选。在一些实施例中,虚拟资源的类型包括用户充值得到的“点券”、通过进行游戏获得的“游戏币”以及参与游戏中活动得到的“活动专属货币”等,本申请实施例对此不做限定。若存在两个或两个以上的第一虚拟道具不存在于该第二虚拟道具中,那么虚拟道具交易界面中显示两个或两个以上的第一虚拟道具对应的标签。在一些实施例中,该标签也被称为“分页标签”,用户能够通过点击分页标签来单独查看每一类第一虚拟道具的道具信息。响应于对任一标签的点击操作,终端在虚拟道具交易界面中显示对应第一虚拟道具的至少一条道具信息。参见图6,若存在两个或两个以上的第一虚拟道具不存在于该第二虚拟道具中,那么虚拟道具交易界面中显示两个或两个以上的第一虚拟道具对应的分页标签602。
在一些实施例中,该至少一条道具信息为基于推荐优先级确定的道具信息,该推荐优先级包括虚拟资源的类型优先级、虚拟资源的数量优先级、虚拟道具的类型优先级中的至少一项。
其中,虚拟资源的类型优先级是指,购买虚拟道具时,消耗虚拟资源的类型的顺序,比如存在虚拟资源A、虚拟资源B以及虚拟资源C三种虚拟资源,购买虚拟道具时,三种虚拟资源消耗的顺序为虚拟资源B→虚拟资源A→虚拟资源C,那么终端通过虚拟道具交易界面展示至少一条道具信息时,优先展示需要消耗虚拟资源B的道具信息,这里的优先展示是指,将需要消耗虚拟资源B的道具信息排在第一位。虚拟资源的数量优先级是指,购买虚拟道具时,优先消耗账号中数量较多的虚拟资源,比如存在虚拟资源A、虚拟资源B以及虚拟资源C三种虚拟资源,三种虚拟资源按照数量从多到少进行排序为虚拟资源B→虚拟资源A→虚拟资源C,那么终端通过虚拟道具交易界面展示至少一条道具信息时,优先展示需要消耗虚拟资源B的道具信息,这里的优先展示是指,将需要消耗虚拟资源B的道具信息排在第一位。虚拟道具的类型优先级是指,同时购买多个虚拟道具时,多个虚拟道具的购买顺序。比如需要同时购买虚拟道具A、虚拟道具B以及虚拟道具C三种虚拟道具,购买虚拟道具时,三种虚拟道具的购买优先级为虚拟道具B>虚拟道具A>虚拟道具C,那么终端通过虚拟道具交易界面展示至少一条道具信息时,优先展示虚拟道具B的道具信息,这里的优先展示是指,将虚拟道具B的道具信息排在第一位。在一些实施例中,虚拟道具的类型优先级还具有如下表现,比如需要同时购买虚拟道具A和虚拟道具B两种虚拟道具,当时账号所拥有的虚拟资源的数量仅够购买虚拟道具A或者虚拟道具B,若虚拟道具A的类型优先级>虚拟道具B的类型优先级,那么终端在虚拟道具交易界面中仅展示虚拟道具A的道具信息。
在一些实施例中,虚拟道具交易界面包括刷新控件,响应于对刷新控件的点击操作,终端对虚拟道具交易界面中显示的至少一条道具信息进行刷新,也即是,响应于对刷新控件的点击操作,终端向服务器发送刷新请求,刷新请求中携带有该第一虚拟道具的标识。服务器接收到该刷新请求之后,从该刷新请求中获取该第一虚拟道具的标识。服务器基于该第一虚拟道具的标识进行查询,获取与该第一虚拟道具对应的至少一条道具信息,将该至少一条道具信息发送给终端,由终端将该至少一条道具信息展示在虚拟道具交易界面中。
在一些实施例中,若不存在该第一虚拟道具对应的道具信息,终端在虚拟道具交易界面中显示目标标记,目标标记用于指示不存在该第一虚拟道具对应的道具信息,也就表示没有其他账号正在售卖该第一虚拟道具,在这种情况下,用户需要对该第一虚拟道具进行调整。
在一些实施例中,响应于基于任一条道具信息的购买操作,终端将道具信息对应的第一虚拟道具加入被控虚拟对象的虚拟仓库。
举例来说,响应于基于任一条道具信息的购买操作,终端比对第一虚拟资源数量和第二虚拟资源数量,该第一虚拟资源数量为该道具信息指示的虚拟资源的数量,该第二虚拟资源数量为该被控虚拟对象对应账号拥有的虚拟资源的数量。响应于该第二虚拟资源数量大于或等于该第一虚拟资源数量,终端将该道具信息对应的第一虚拟道具加入该被控虚拟对象的虚拟仓库。在一些实施例中,基于任一条道具信息的购买操作包括对该道具信息的选择操作以及对交易控件的点击操作。参见图6,每条道具信息后方均显示有该条道具信息对应的选项,响应于对任一条道具信息的点击操作,该条道具信息对应的选项也就被选中。响应于对交易控件603的点击操作,终端完成基于该条道具信息的购买操作。在一些实施例中,响应于该第二虚拟资源数量大于或等于该第一虚拟资源数量,终端除了能够将该道具信息对应的第一虚拟道具加入该被控虚拟对象的虚拟仓库之外,也能够直接将该道具信息对应的第一虚拟道具装备至该被控虚拟对象。在一些实施例中,终端将该道具信息对应的第一虚拟道具加入该被控虚拟对象的虚拟仓库的同时,终端将该账号拥有的第二虚拟资源数量扣除第一虚拟资源数量,将第一虚拟资源数量的虚拟资源转移至该道具信息对应的账号中。
另外,若存在多种类型的虚拟资源,响应于对任一条道具信息的点击操作,终端比对第一虚拟资源数量和第二虚拟资源数量,该第一虚拟资源数量为该道具信息指示的目标类型的 虚拟资源的数量,该第二虚拟资源数量为该被控虚拟对象对应账号拥有的目标类型的虚拟资源的数量。响应于该第二虚拟资源数量大于或等于该第一虚拟资源数量,终端将该道具信息对应的第一虚拟道具加入该被控虚拟对象的虚拟仓库。在一些实施例中,响应于该第二虚拟资源数量大于或等于该第一虚拟资源数量,终端除了能够将该道具信息对应的第一虚拟道具加入该被控虚拟对象的虚拟仓库之外,也能够直接将该道具信息对应的第一虚拟道具装备至该被控虚拟对象。在一些实施例中,终端将该道具信息对应的第一虚拟道具加入该被控虚拟对象的虚拟仓库的同时,终端将该账号拥有的第二虚拟资源数量扣除第一虚拟资源数量,将第一虚拟资源数量的虚拟资源转移至该道具信息对应的账号中。
在一些实施例中,虚拟道具交易界面中显示有当前账号拥有的虚拟资源的类型和数量,用户能够通过虚拟道具交易界面来获知账号拥有的虚拟资源的类型和数量,人机交互的效率较高。参见图6,终端在虚拟道具交易界面601中显示当前账号拥有的虚拟资源的类型和数量604。
在一些实施例中,虚拟道具交易界面包括全选控件,响应于对全选控件的点击操作,终端将虚拟道具交易界面中显示的至少一条道具信息全部选中。响应于对交易控件603的点击操作,终端将被选中至少一条道具信息对应的第一虚拟道具添加至被控虚拟对象的虚拟仓库。参见图6,虚拟道具交易界面601包括全选控件605。也就是说,在本申请实施例中,用户既能够仅购买某条道具信息对应的第一虚拟道具,也能够直接购买全部道具信息对应的第一虚拟道具。
在一些实施例中,响应于基于任一条道具信息的购买操作,且该道具信息对应的第一虚拟道具所占据的空间大于该被控虚拟对象的虚拟仓库的剩余空间,终端将该道具信息对应的第一虚拟道具加入该被控虚拟对象的临时包裹。
其中,临时包裹是被控虚拟对象的虚拟仓库无法容纳购买的第一虚拟道具时,出现的临时性的虚拟包裹。在一些实施例中,临时包裹中的虚拟道具需要由用户手动取出,也即是用户手动调整虚拟仓库中的虚拟道具之后,将临时包裹中的虚拟道具拖动至虚拟仓库。在一些实施例中,当临时包裹中存在虚拟道具时,终端无法从虚拟道具交易界面切换回虚拟道具展示界面,也就是说用户需要在虚拟道具交易界面中对临时包裹中的虚拟道具进行处理。
比如,参见图7,响应于基于任一条道具信息的购买操作,且该道具信息对应的第一虚拟道具所占据的空间大于该被控虚拟对象的虚拟仓库的剩余空间,终端将该道具信息对应的第一虚拟道具加入该被控虚拟对象的临时包裹701。
304、响应于对该虚拟道具交易界面的关闭操作,终端采用该被控虚拟对象拥有的第一虚拟道具,更新该被控虚拟对象已装备的虚拟道具。
在一些实施例中,虚拟道具交易界面包括界面关闭控件,响应于对该界面关闭控件的点击操作,终端采用该被控虚拟对象拥有的第一虚拟道具,更新该被控虚拟对象已装备的虚拟道具。也即是说,终端显示虚拟道具交易界面之后,若用户不想通过该虚拟道具交易界面购买虚拟道具,那么能够直接关闭该虚拟道具交易界面,在这种情况下,终端会直接采用被控虚拟对象拥有的第一虚拟道具来更新被控虚拟对象已装备的虚拟道具,对于被控虚拟对象未拥有的第一虚拟道具来说,终端选择对其进行“忽略”。在一些实施例中,对于被终端“忽略”的第一虚拟道具来说,终端能够将被控虚拟对象的虚拟仓库中同类型的虚拟道具装置至被控虚拟对象,或者,若被控虚拟对象已装备有与该第一虚拟道具相同类型的虚拟道具,那么终端不对该被控虚拟对象装备的该虚拟道具进行更新。举例来说,参见图6,虚拟道具交易界面601包括界面关闭控件606,响应于对该界面关闭控件606的点击操作,终端采用第一列表中存储的多个第二虚拟道具的标识,确定对应的多个第二虚拟道具,该多个第二虚拟道具均为被控虚拟对象拥有的第一虚拟道具。终端采用该多个第二虚拟道具,更新被控虚拟对象已装备的虚拟道具。在终端采用该多个第二虚拟道具,更新被控虚拟对象已装备的虚拟道具时,能够采用下述任一种方式来实现。
方式1、终端将被控虚拟对象已装备的全部虚拟道具加入被控虚拟对象的虚拟仓库,将 该多个第二虚拟道具确定为被控虚拟对象装备的虚拟道具,也即是,终端将该多个第二虚拟道具装备至该被控虚拟对象。若存在被控虚拟对象未拥有的第一虚拟道具,终端在被控虚拟对象的虚拟仓库中查询与该第一虚拟道具相同类型的虚拟道具,将该虚拟道具确定为被控虚拟对象装备的虚拟道具。比如,若被控虚拟对象未拥有虚拟头盔A,那么终端能够将被控虚拟对象的虚拟仓库中的虚拟头盔B确定为被控虚拟对象装备的虚拟道具。或者,若被控虚拟对象已装备有与该第一虚拟道具类型相同的虚拟道具,终端不对该虚拟道具进行更新。比如,若被控虚拟对象未拥有虚拟头盔A,但是被控虚拟对象已经装备有虚拟头盔B,终端不对该虚拟头盔B进行更新。
方式2、终端将被控虚拟对象已装备的第三虚拟道具加入被控虚拟对象的虚拟仓库,第三虚拟道具为与对应第一虚拟道具不同的虚拟道具。终端采用该多个第二虚拟道具中未装备的虚拟道具,确定为被控虚拟对象装备的虚拟道具,也即是说,若被控虚拟对象已经装备了多个第一虚拟道具中的任一个虚拟道具,那么终端不会将该虚拟道具移除,而是会对其进行保留,这样能够减少终端的运算量,提高对被控虚拟对象进行装备更新的效率。若存在被控虚拟对象未拥有的第一虚拟道具,终端在被控虚拟对象的虚拟仓库中查询与该第一虚拟道具相同类型的虚拟道具,将该虚拟道具确定为被控虚拟对象装备的虚拟道具。比如,若被控虚拟对象未拥有虚拟头盔A,那么终端能够将被控虚拟对象的虚拟仓库中的虚拟头盔B确定为被控虚拟对象装备的虚拟道具。或者,若被控虚拟对象已装备有与该第一虚拟道具类型相同的虚拟道具,终端不对该虚拟道具进行更新。比如,若被控虚拟对象未拥有虚拟头盔A,但是被控虚拟对象已经装备有虚拟头盔B,终端不对该虚拟头盔B进行更新。
305、响应于该多个第一虚拟道具均为该被控虚拟对象拥有的第二虚拟道具,终端将该被控虚拟对象已装备的虚拟道具更新为该多个第一虚拟道具。
在一些实施例中,响应于该多个第一虚拟道具均为该被控虚拟对象拥有的第二虚拟道具,终端将该被控虚拟对象已装备的第三虚拟道具加入该被控虚拟对象的虚拟仓库,该第三虚拟道具为与对应第一虚拟道具不同的虚拟道具。终端将该虚拟仓库中的该多个第一虚拟道具,确定该被控虚拟对象装备的虚拟道具。
在一些实施例中,若被控虚拟对象拥有至少两个相同的第一虚拟道具,那么终端能够基于虚拟道具的耐久度对该至少两个相同的第一虚拟道具进行筛选,从该至少两个相同的第一虚拟道具确定出一个目标虚拟道具更新被控虚拟对象已装备的虚拟道具,其中,虚拟道具的耐久度用于表示虚拟道具的磨损程度,被控虚拟对象在虚拟场景中使用虚拟道具时,虚拟道具会发生不同程度的磨损,耐久度就能够表示磨损的程度。在一些实施例中,虚拟道具的初始耐久度为100,随着被控虚拟对象的使用,该虚拟道具的耐久度会逐渐变为90、80、70以及60等,当该虚拟道具的耐久度变为0时,也就表示该虚拟道具的磨损程度较高,用户需要对该虚拟道具进行修理后才能继续使用该虚拟道具。在一些实施例中,对该虚拟道具进行修理需要消耗一定数量的虚拟资源。在一些实施例中,终端能够将该至少两个相同的第一虚拟道具中耐久度较高的第一虚拟道具确定为目标虚拟道具,或者将该至少两个相同的第一虚拟道具中耐久度较低的第一虚拟道具确定为目标虚拟道具,本申请实施例对此不做限定。
在一些实施例中,响应于该第二列表中不存在任一第一虚拟道具的标识,终端基于第一列表中存储的多个第一虚拟道具的标识,确定被控虚拟对象拥有的多个第一虚拟道具。终端将该被控虚拟对象已装备的虚拟道具更新为该多个第一虚拟道具。
在一些实施例中,终端在更新被控虚拟对象已装备的虚拟道具时,采用“着色树”的方法。也即是,将多个第一虚拟道具看作树,被控虚拟对象作为根节点;其中的道具节点分为三种颜色:白色、黑色和红色,其中,白色表示此节点已找到对应的虚拟道具,黑色表示此节点未找到对应的虚拟道具,红色表示此节点已找到对应的虚拟道具,但是由于父节点虚拟道具的缺失,此虚拟道具应该作为放回虚拟仓库的节点,父节点虚拟道具也即是该虚拟道具的容器虚拟道具。终端从根节点依次遍历所有节点并着色。在初始状态下,预设树中所有节点为无色。在处理任意一个节点时,从第一列表中尝试获取虚拟道具。若找到了对应的虚拟道具, 则将其着色为白色,并将道具属性信息记录在节点处,道具属性信息包括虚拟道具的名称、属性以及存放位置等信息;若未找到则将其着色为黑色,并将其所有直接子节点着色为红色。三种颜色具有优先级,从高到低依次为黑色>红色>白色,只有低优先级颜色可以被重新着色为高优先级颜色。也就是说,一个已被着色为白色的节点可以再次被着色为红色,而反之不可以。由于在着色时是从树根向树顶遍历,在处理节点时可能将其子节点着色为红色。直到处理到该子节点时,若找到该虚拟道具,在着色时根据优先级该子节点依然为红色;若未找到,则其会被重新着色为黑色。
在完成对整棵树的着色后,则可以根据其颜色重新构建父子关系:所有白色节点处的虚拟道具都可以直接与其父节点的虚拟道具构建父子关系;黑色节点处没有找到的虚拟道具,因此没有父子关系的构建。红色节点虽然有找到的虚拟道具,但由于其父节点的缺失,这些红色节点及其子节点在构建父子关系后会被重新放回虚拟包裹,这些红色节点即是放回虚拟包裹的虚拟道具的根节点。在构建父子关系完成后,将所有道具属性信息作为方案提交给服务端并请求同步。
在一些实施例中,在上述步骤305之后,终端采用该多个第一虚拟道具的模型,更新该被控虚拟对象的模型。其中,被控虚拟对象的模型为被控虚拟对象在虚拟场景中的形象以及在主界面中被控虚拟对象的形象。终端在对被控虚拟对象的模型进行更新时,采用多个第一虚拟道具的模型替换被控虚拟对象中对应部位的模型。终端基于多个第一虚拟道具的模型分别对应的渲染参数,对多个第一虚拟道具的模型进行渲染,得到更新后的被控虚拟对象的模型,其中,模型对应的渲染参数由技术人员根据实际情况进行设置,本申请实施例对此不做限定。在一些实施例中,对于同一个第一虚拟道具来说,不同的渲染参数也就对应于不同的渲染效果,不同的渲染效果可以被称为不同的“皮肤”。比如,被控虚拟对象已经装备了虚拟枪械A,那么在更新前的模型中也就包括该虚拟枪械A的模型。若多个第一虚拟道具中的虚拟枪械为虚拟枪械B,那么终端采用虚拟枪械B的模型替代被控虚拟对象的模型中的虚拟枪械A的模型,基于虚拟枪械B的模型对应的渲染参数对虚拟枪械B的模型进行渲染,在被控虚拟对象更新后的模型中,被控虚拟对象持有的虚拟枪械也就从虚拟枪械A变成了虚拟枪械B。也就是说,本申请实施例中,当对被控虚拟对象已装备的虚拟道具更新之后,终端能够同步对被控虚拟对象的形象进行更新,以实现对被控虚拟对象更加真实的显示效果,用户也能够通过被控虚拟对象的形象变化来得知被控虚拟对象装备的虚拟道具发生了变化,人机交互的效率较高。在一些实施例中,被控虚拟对象的模型也被称为被控虚拟对象的形象。
在一些实施例中,该多个第一虚拟道具包括目标类型的虚拟道具,响应于该多个第一虚拟道具均为该被控虚拟对象拥有的第二虚拟道具,且该被控虚拟对象已装备该目标类型的虚拟道具,终端比较多个第一子虚拟道具和多个第二子虚拟道具,该第一子虚拟道具为该第一虚拟道具中,该目标类型的虚拟道具对应的子虚拟道具,该第二子虚拟道具为该被控虚拟对象已装备的该目标类型的虚拟道具对应的子虚拟道具,该目标类型的虚拟道具与对应子虚拟道具之间具有嵌套关系。若该多个第二子虚拟道具与该多个第一子虚拟道具相同,终端不对该目标类型的虚拟道具所容纳的子虚拟道具进行更新。若该多个第二子虚拟道具中存在与对应第一子虚拟道具不同的第二子虚拟道具,终端采用该对应第一子虚拟道具更新该第二子虚拟道具。
也就是说,如果将虚拟道具进行分级,那么第一虚拟道具和第二虚拟道具可以被分入一级,目标类型的虚拟道具可以被分入二级。若多个第一虚拟道具均为被控虚拟对象拥有的第二道具,那么也就表示配置的一级虚拟道具均为被控虚拟对象拥有的一级虚拟道具。若多个第一虚拟道具包括目标类型的虚拟道具,也即是二级虚拟道具,且被控虚拟对象已经装备了该目标类型的虚拟道具,那么终端能够进一步比对该目标类型的虚拟道具对应的子虚拟道具,也即是比对二级虚拟道具。若被控虚拟对象装备了该目标类型的虚拟道具,且在该装备的目标类型的虚拟道具所容纳的二级虚拟道具,与配置的目标类型的虚拟道具所容纳的二级虚拟道具完全相同,也即是子虚拟道具完全相同,那么终端也就无需对该目标类型的虚拟道具进 行更新。若被控虚拟对象装备了该目标类型的虚拟道具,且在该装备的目标类型的虚拟道具所容纳的二级虚拟道具中存在与配置的目标类型的虚拟道具所容纳的二级虚拟道具不同的二级虚拟道具,那么终端只需对该二级虚拟道具进行更新即可。
比如,若配置的目标类型的虚拟道具为虚拟枪械,该虚拟枪械对应有虚拟瞄准镜A1、虚拟枪托A2、虚拟消音器A3三个子虚拟道具。若被控虚拟对象也装备了该虚拟枪械,且该虚拟枪械对应的三个子虚拟道具也是虚拟瞄准镜A1、虚拟枪托A2、虚拟消音器A3,那么终端也就无需对该虚拟枪械对应的子虚拟道具进行更新。若被控虚拟对象装备了该虚拟枪械,且该虚拟枪械对应的三个子虚拟道具为虚拟瞄准镜A1、虚拟枪托B1、虚拟消音器A3。在这种情况下,终端只需将虚拟枪托B1更新为虚拟枪托A2即可,无需再更新其他子虚拟道具。
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。
为了对本申请实施例提供的技术方案进行更加清楚的说明,下面将结合上述步骤301-305以及图8以及图9,对本申请实施例提供的技术方案进行更加清楚的说明。
图8是本申请实施例提供的配置多个第一虚拟道具的方法的示意图,参见图8,配置多个第一虚拟道具时,分为三个离散的过程,包括:改枪、装备位调整以及时装换装,其中,改枪也即是对多个第一虚拟道具中的虚拟枪械上的部件进行调整。装备位也即是槽位,装备位调整表示对该槽位对应的第一虚拟道具进行调整。时装换装也即是对第一虚拟道具的渲染方式进行调整。完成上述三个离散的过程之后,终端能够对被控虚拟对象的模型进行更新,存储上述三个离散过程的结果,生成预设模板,该预设模板也就包括多个第一虚拟道具。
图9是本申请实施例提供的更新被控虚拟对象已装备的虚拟道具的方法的示意图,参见图9,用户能够通过虚拟道具展示界面来选择想要使用的多个第一虚拟道具,多个第一虚拟道具也即是一个模板。终端确定被控虚拟对象是否拥有该多个第一虚拟道具,从被控虚拟对象拥有的第二虚拟道具中确定出要使用的多个虚拟道具,这个过程也被称为套用模板。当被控虚拟对象拥有两个或两个以上相同的第一虚拟道具时,终端对两个或两个以上相同的第一虚拟道具进行选择。终端确定被控虚拟对象的虚拟仓库的空间是否具有充足的空间。终端确定出被控虚拟对象未拥有任一第一虚拟道具时,显示虚拟道具交易界面,通过虚拟道具交易界面来获取该第一虚拟道具。终端获取到该第一虚拟道具之后,采用多个第一虚拟道具对被控虚拟对象已装备的虚拟道具进行更新。
通过本申请实施例提供的方案,无需为被控虚拟对象一一挑选虚拟道具,直接基于虚拟道具展示界面来为被控虚拟对象批量选择虚拟道具,当被控虚拟对象未拥有虚拟道具展示界面中展示的某个虚拟道具时,直接显示一个虚拟道具交易界面,即可通过虚拟道具交易界面来快速获取对应的虚拟道具,从而提高人机交互的效率。
本申请实施例提供的方案解决了游戏内,由于可带入带出物品,导致的每次进出单局时“整理装备耗时过多”的问题。
使用本方案之前,用户每次进入单局需要拿出物品、挑选虚拟仓库中的装备、使用改枪系统自定义虚拟枪械、更换角色及虚拟枪械模型,才能再次进入单局,此步骤耗时长、容易遗漏。
应用本申请实施例提供的方案,只需要直接选择适合自己战术的多个第一虚拟道具,点击一个按键,就可以取出身上“上一局带出,但并不想带入下一场单局”的虚拟道具。搜索并快速购买所需虚拟道具。本申请实施例提供的方案,还可以自动将虚拟道具完整穿戴在被控虚拟对象身上。
应用本申请实施例提供的方案,可以立刻开启接下来的战斗,大大提升了单局外的整备速度,使用户把时间放到游戏单局本身的内容上来,更加关注当前游戏和其他游戏的核心玩法差异。
图10是本申请实施例提供的一种界面显示装置的结构示意图,参见图10,装置包括: 第一显示模块1001、比对模块1002以及第二显示模块1003。
第一显示模块1001,用于显示虚拟道具展示界面,该虚拟道具展示界面展示有多个第一虚拟道具,该多个第一虚拟道具对应于被控虚拟对象的不同部位。
比对模块1002,用于响应于在该虚拟道具展示界面上的确认操作,比对该多个第一虚拟道具与该被控虚拟对象拥有的第二虚拟道具。
第二显示模块1003,用于响应于任一该第一虚拟道具不存在于该第二虚拟道具中,显示虚拟道具交易界面,该虚拟道具交易界面用于获取该第一虚拟道具。
在一些实施例中,该虚拟道具展示界面包括多个槽位,该多个第一虚拟道具分别显示在该多个槽位中,该装置还包括:
虚拟道具编辑界面显示模块,用于响应于对该多个槽位中任一槽位的选择操作,显示虚拟道具编辑界面,该虚拟道具编辑界面用于调整该槽位对应的第一虚拟道具。
在一些实施例中,该虚拟道具编辑界面包括虚拟道具选择列表,该虚拟道具选择列表中显示有多个候选虚拟道具,该多个候选虚拟道具为与该槽位对应的虚拟道具,该装置还包括:
候选虚拟道具显示模块,用于响应于该多个候选虚拟道具中的任一候选虚拟道具被选中,在该槽位中显示该候选虚拟道具。
在一些实施例中,该虚拟道具编辑界面包括虚拟道具选择列表,该虚拟道具选择列表中显示有多个候选虚拟道具,该多个候选虚拟道具为与该槽位对应的虚拟道具,该装置还包括:
第一子虚拟道具更新模块,用于响应于该多个候选虚拟道具中的任一候选虚拟道具被选中,且该候选虚拟道具为目标类型的虚拟道具,在该虚拟道具编辑界面中显示子虚拟道具编辑界面,该子虚拟道具编辑界面中显示有该候选虚拟道具对应的多个子虚拟道具,该目标类型的虚拟道具与对应子虚拟道具之间具有嵌套关系。响应于对该多个子虚拟道具中的任一子虚拟道具的调整操作,将该子虚拟道具更新为该调整操作对应的子虚拟道具。
在一些实施例中,该第一子虚拟道具更新模块,用于响应于对该多个子虚拟道具中的任一子虚拟道具的选择操作,显示该子虚拟道具对应的子虚拟道具选择列表,该子虚拟道具选择列表中显示有该子虚拟道具对应的多个候选子虚拟道具。
响应于该多个候选子虚拟道具中的目标子虚拟道具被选中,采用该目标子虚拟道具更新该子虚拟道具。
在一些实施例中,该装置还包括:
列表存储模块,用于响应于任一该第一虚拟道具与任一该第二虚拟道具相同,将该第一虚拟道具的标识加入第一列表,该第一列表用于存储在该第二虚拟道具中查询到的第一虚拟道具的标识;响应于任一第一虚拟道具与该第二虚拟道具不相同,将该第一虚拟道具的标识加入第二列表,该第二列表用于存储在该第二虚拟道具中未查询到的第一虚拟道具的标识。
该第二显示模块1003,用于响应于该第二列表中存在任一该第一虚拟道具的标识,显示该虚拟道具交易界面。
在一些实施例中,该虚拟道具交易界面中显示有该第一虚拟道具的至少一条道具信息,该装置还包括:
加入模块,用于响应于基于任一条道具信息的购买操作,将该道具信息对应的第一虚拟道具加入该被控虚拟对象的虚拟仓库。
在一些实施例中,该加入模块,用于响应于基于任一条道具信息的购买操作,比对第一虚拟资源数量和第二虚拟资源数量,该第一虚拟资源数量为该道具信息指示的虚拟资源的数量,该第二虚拟资源数量为该被控虚拟对象对应账号拥有的虚拟资源的数量。
响应于该第二虚拟资源数量大于或等于该第一虚拟资源数量,将该道具信息对应的第一虚拟道具加入该被控虚拟对象的虚拟仓库。
在一些实施例中,该虚拟道具交易界面中显示有该第一虚拟道具的至少一条道具信息,该装置还包括:
临时包裹加入模块,用于响应于基于任一条道具信息的购买操作,且该道具信息对应的 第一虚拟道具所占据的空间大于该被控虚拟对象的虚拟仓库的剩余空间,将该道具信息对应的第一虚拟道具加入该被控虚拟对象的临时包裹。
在一些实施例中,该至少一条道具信息为基于推荐优先级确定的道具信息,该推荐优先级包括虚拟资源的类型优先级、虚拟资源的数量优先级、虚拟道具的类型优先级中的至少一项。
在一些实施例中,该装置还包括:
更新模块,用于响应于该多个第一虚拟道具均为该被控虚拟对象拥有的第二虚拟道具,将该被控虚拟对象已装备的虚拟道具更新为该多个第一虚拟道具。
在一些实施例中,该更新模块,用于响应于该多个第一虚拟道具均为该被控虚拟对象拥有的第二虚拟道具,将该被控虚拟对象已装备的第三虚拟道具加入该被控虚拟对象的虚拟仓库,该第三虚拟道具为与对应第一虚拟道具不同的虚拟道具。将该虚拟仓库中的该多个第一虚拟道具,确定为该被控虚拟对象装备的虚拟道具。
在一些实施例中,该装备还包括:
模型更新模块,用于采用该多个第一虚拟道具的模型,更新该被控虚拟对象的模型。
在一些实施例中,该多个第一虚拟道具包括目标类型的虚拟道具,该装置还包括:
第二子虚拟道具更新模块,用于响应于该多个第一虚拟道具均为该被控虚拟对象拥有的第二虚拟道具,且该被控虚拟对象已装备该目标类型的虚拟道具,该终端比较第一子虚拟道具和第二子虚拟道具,该第一子虚拟道具为该第一虚拟道具中,该目标类型的虚拟道具对应的子虚拟道具,该第二子虚拟道具为该被控虚拟对象已装备的该目标类型的虚拟道具对应的子虚拟道具,该目标类型的虚拟道具与对应子虚拟道具之间具有嵌套关系;在该第二子虚拟道具与该第一子虚拟道具相同的情况下,该终端不对该目标类型的虚拟道具所容纳的子虚拟道具进行更新;在该第二子虚拟道具中存在与对应第一子虚拟道具不同的第二子虚拟道具的情况下,该终端采用该对应第一子虚拟道具更新该第二子虚拟道具。
在一些实施例中,该目标类型的虚拟道具为容器类虚拟道具,该容器类虚拟道具用于容纳对应的子虚拟道具。
在一些实施例中,该装置还包括:
更新模块,用于响应于对该虚拟道具交易界面的关闭操作,采用该被控虚拟对象拥有的第一虚拟道具,更新该被控虚拟对象已装备的虚拟道具。
在一些实施例中,该装置还包括:
第三显示模块,用于显示虚拟道具配置界面,该虚拟道具配置界面用于配置该多个第一虚拟道具。
该第一显示模块还用于,响应于在该虚拟道具配置界面上的确认操作,显示该虚拟道具展示界面。
需要说明的是:上述实施例提供的界面显示装置在进行界面显示时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将计算机设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的界面显示装置与界面显示方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
通过本申请实施例提供的方案,无需为被控虚拟对象一一挑选虚拟道具,直接基于虚拟道具展示界面来为被控虚拟对象批量选择虚拟道具,当被控虚拟对象未拥有虚拟道具展示界面中展示的某个虚拟道具时,直接显示虚拟道具交易界面,即可通过虚拟道具交易界面来快速获取对应的虚拟道具,从而提高人机交互的效率。
本申请实施例提供了一种计算机设备,用于执行上述方法,该计算机设备可以实现为终端,下面对终端的结构进行介绍:
图11是本申请实施例提供的一种终端的结构示意图。该终端1100可以是:智能手机、 平板电脑、笔记本电脑或台式电脑。终端1100还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
通常,终端1100包括有:一个或多个处理器1101和一个或多个存储器1102。
处理器1101可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。一些实施例中,处理器1101还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1102可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1102还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1102中的非暂态的计算机可读存储介质用于存储至少一个计算机程序,该至少一个计算机程序用于被处理器1101所执行以实现本申请中方法实施例提供的界面显示方法。
在一些实施例中,终端1100还可选包括有:外围设备接口1103和至少一个外围设备。处理器1101、存储器1102和外围设备接口1103之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口1103相连。具体地,外围设备包括:射频电路1104和显示屏1105中的至少一种。
外围设备接口1103可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1101和存储器1102。在一些实施例中,处理器1101、存储器1102和外围设备接口1103被集成在同一芯片或电路板上;在一些其他实施例中,处理器1101、存储器1102和外围设备接口1103中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路1104用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1104通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1104将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1104包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。
显示屏1105用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏1105是触摸显示屏时,显示屏1105还具有采集在显示屏1105的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1101进行处理。此时,显示屏1105还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。
本领域技术人员可以理解,图11中示出的结构并不构成对终端1100的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在示例性实施例中,还提供了一种计算机可读存储介质,例如包括计算机程序的存储器,上述计算机程序可由处理器执行以完成上述实施例中的界面显示方法。例如,该计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。
在示例性实施例中,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括程序代码,该程序代码存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取该程序代码,处理器执行该程序代码,使得该计算机设备执行上述界面显示方法。
在一些实施例中,本申请实施例所涉及的计算机程序可被部署在一个计算机设备上执行,或者在位于一个地点的多个计算机设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个计算机设备上执行,分布在多个地点且通过通信网络互连的多个计算机设备可以 组成区块链系统。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,该程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
上述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (21)

  1. 一种界面显示方法,所述方法包括:
    终端显示虚拟道具展示界面,所述虚拟道具展示界面展示有多个第一虚拟道具,所述多个第一虚拟道具对应于被控虚拟对象的不同部位;
    响应于在所述虚拟道具展示界面上的确认操作,所述终端比对所述多个第一虚拟道具与所述被控虚拟对象拥有的第二虚拟道具;
    响应于任一所述第一虚拟道具不存在于所述第二虚拟道具中,所述终端显示虚拟道具交易界面,所述虚拟道具交易界面用于获取所述第一虚拟道具。
  2. 根据权利要求1所述的方法,其中,所述虚拟道具展示界面包括多个槽位,所述多个第一虚拟道具分别显示在所述多个槽位中,所述方法还包括:
    响应于对所述多个槽位中任一槽位的选择操作,所述终端显示虚拟道具编辑界面,所述虚拟道具编辑界面用于调整所述槽位对应的第一虚拟道具。
  3. 根据权利要求2所述的方法,其中,所述虚拟道具编辑界面包括虚拟道具选择列表,所述虚拟道具选择列表中显示有多个候选虚拟道具,所述多个候选虚拟道具为与所述槽位对应的虚拟道具,所述方法还包括:
    响应于所述多个候选虚拟道具中的任一候选虚拟道具被选中,所述终端在所述槽位中显示所述候选虚拟道具。
  4. 根据权利要求2所述的方法,其中,所述虚拟道具编辑界面包括虚拟道具选择列表,所述虚拟道具选择列表中显示有多个候选虚拟道具,所述多个候选虚拟道具为与所述槽位对应的虚拟道具,所述方法还包括:
    响应于所述多个候选虚拟道具中的任一候选虚拟道具被选中,且所述候选虚拟道具为目标类型的虚拟道具,所述终端在所述虚拟道具编辑界面中显示子虚拟道具编辑界面,所述子虚拟道具编辑界面中显示有所述候选虚拟道具对应的多个子虚拟道具,所述目标类型的虚拟道具与对应的子虚拟道具之间具有嵌套关系;
    响应于对所述多个子虚拟道具中的任一子虚拟道具的调整操作,所述终端将所述子虚拟道具更新为所述调整操作对应的子虚拟道具。
  5. 根据权利要求4所述的方法,其中,所述响应于对所述多个子虚拟道具中的任一子虚拟道具的调整操作,将所述子虚拟道具更新为所述调整操作对应的子虚拟道具包括:
    响应于对所述多个子虚拟道具中的任一子虚拟道具的选择操作,所述终端显示所述子虚拟道具对应的子虚拟道具选择列表,所述子虚拟道具选择列表中显示有所述子虚拟道具对应的多个候选子虚拟道具;
    响应于所述多个候选子虚拟道具中的目标子虚拟道具被选中,所述终端采用所述目标子虚拟道具更新所述子虚拟道具。
  6. 根据权利要求1所述的方法,其中,所述响应于在所述虚拟道具展示界面上的确认操作,比对所述多个第一虚拟道具与所述被控虚拟对象拥有的第二虚拟道具之后,所述方法还包括:
    响应于任一所述第一虚拟道具与任一所述第二虚拟道具相同,所述终端将所述第一虚拟道具的标识加入第一列表,所述第一列表用于存储在所述第二虚拟道具中查询到的第一虚拟道具的标识;
    响应于任一第一虚拟道具与所述第二虚拟道具不相同,所述终端将所述第一虚拟道具的标识加入第二列表,所述第二列表用于存储在所述第二虚拟道具中未查询到的第一虚拟道具的标识;
    所述响应于任一所述第一虚拟道具不存在于所述第二虚拟道具中,所述终端显示虚拟道具交易界面包括:
    响应于所述第二列表中存在任一所述第一虚拟道具的标识,所述终端显示所述虚拟道具交易界面。
  7. 根据权利要求1所述的方法,其中,所述虚拟道具交易界面中显示有所述第一虚拟道具的至少一条道具信息,所述响应于任一所述第一虚拟道具不存在于所述第二虚拟道具中,显示虚拟道具交易界面之后,所述方法还包括:
    响应于基于任一条道具信息的购买操作,所述终端将所述道具信息对应的第一虚拟道具加入所述被控虚拟对象的虚拟仓库。
  8. 根据权利要求7所述的方法,其中,所述响应于基于任一条道具信息的购买操作,将所述道具信息对应的第一虚拟道具加入所述被控虚拟对象的虚拟仓库包括:
    响应于基于任一条道具信息的购买操作,所述终端比对第一虚拟资源数量和第二虚拟资源数量,所述第一虚拟资源数量为所述道具信息指示的虚拟资源的数量,所述第二虚拟资源数量为所述被控虚拟对象对应账号拥有的虚拟资源的数量;
    响应于所述第二虚拟资源数量大于或等于所述第一虚拟资源数量,所述终端将所述道具信息对应的第一虚拟道具加入所述被控虚拟对象的虚拟仓库。
  9. 根据权利要求1所述的方法,其中,所述虚拟道具交易界面中显示有所述第一虚拟道具的至少一条道具信息,所述响应于任一所述第一虚拟道具不存在于所述第二虚拟道具中,显示虚拟道具交易界面之后,所述方法还包括:
    响应于基于任一条道具信息的购买操作,且所述道具信息对应的第一虚拟道具所占据的空间大于所述被控虚拟对象的虚拟仓库的剩余空间,所述终端将所述道具信息对应的第一虚拟道具加入所述被控虚拟对象的临时包裹。
  10. 根据权利要求7-9任一项所述的方法,其中,所述至少一条道具信息为基于推荐优先级确定的道具信息,所述推荐优先级包括虚拟资源的类型优先级、虚拟资源的数量优先级、虚拟道具的类型优先级中的至少一项。
  11. 根据权利要求1所述的方法,其中,所述响应于在所述虚拟道具展示界面上的确认操作,所述终端比对所述多个第一虚拟道具与所述被控虚拟对象拥有的第二虚拟道具之后,所述方法还包括:
    响应于所述多个第一虚拟道具均为所述被控虚拟对象拥有的第二虚拟道具,所述终端将所述被控虚拟对象已装备的虚拟道具更新为所述多个第一虚拟道具。
  12. 根据权利要求11所述的方法,其中,所述响应于所述多个第一虚拟道具均为所述被控虚拟对象拥有的第二虚拟道具,所述终端将所述被控虚拟对象已装备的虚拟道具更新为所述多个第一虚拟道具包括:
    响应于所述多个第一虚拟道具均为所述被控虚拟对象拥有的第二虚拟道具,所述终端将所述被控虚拟对象已装备的第三虚拟道具加入所述被控虚拟对象的虚拟仓库,所述第三虚拟道具为与对应第一虚拟道具不同的虚拟道具;
    所述终端将所述虚拟仓库中的所述多个第一虚拟道具,确定为所述被控虚拟对象装备的 虚拟道具。
  13. 根据权利要求11所述的方法,其中,所述方法还包括:
    所述终端采用所述多个第一虚拟道具的模型,更新所述被控虚拟对象的模型。
  14. 根据权利要求1所述的方法,其中,所述多个第一虚拟道具包括目标类型的虚拟道具,所述响应于在所述虚拟道具展示界面上的确认操作,所述终端比对所述多个第一虚拟道具与所述被控虚拟对象拥有的第二虚拟道具之后,所述方法还包括:
    响应于所述多个第一虚拟道具均为所述被控虚拟对象拥有的第二虚拟道具,且所述被控虚拟对象已装备所述目标类型的虚拟道具,所述终端比较第一子虚拟道具和第二子虚拟道具,所述第一子虚拟道具为所述第一虚拟道具中,所述目标类型的虚拟道具对应的子虚拟道具,所述第二子虚拟道具为所述被控虚拟对象已装备的所述目标类型的虚拟道具对应的子虚拟道具,所述目标类型的虚拟道具与对应子虚拟道具之间具有嵌套关系;
    在所述第二子虚拟道具与所述第一子虚拟道具相同的情况下,所述终端不对所述目标类型的虚拟道具所容纳的子虚拟道具进行更新;
    在所述第二子虚拟道具中存在与对应第一子虚拟道具不同的第二子虚拟道具的情况下,所述终端采用所述对应第一子虚拟道具更新所述第二子虚拟道具。
  15. 根据权利要求4、5或14所述的方法,其中,所述目标类型的虚拟道具为容器类虚拟道具,所述容器类虚拟道具用于容纳对应的子虚拟道具。
  16. 根据权利要求1所述的方法,其中,所述响应于任一所述第一虚拟道具不存在于所述第二虚拟道具中,显示虚拟道具交易界面之后,所述方法还包括:
    响应于对所述虚拟道具交易界面的关闭操作,所述终端采用所述被控虚拟对象拥有的第一虚拟道具,更新所述被控虚拟对象已装备的虚拟道具。
  17. 根据权利要求1所述的方法,其中,所述显示虚拟道具展示界面之前,所述方法还包括:
    所述终端显示虚拟道具配置界面,所述虚拟道具配置界面用于配置所述多个第一虚拟道具;
    所述显示虚拟道具展示界面包括:
    响应于在所述虚拟道具配置界面上的确认操作,所述终端显示所述虚拟道具展示界面。
  18. 一种界面显示装置,所述装置包括:
    第一显示模块,用于显示虚拟道具展示界面,所述虚拟道具展示界面展示有多个第一虚拟道具,所述多个第一虚拟道具对应于被控虚拟对象的不同部位;
    比对模块,用于响应于在所述虚拟道具展示界面上的确认操作,比对所述多个第一虚拟道具与所述被控虚拟对象拥有的第二虚拟道具;
    第二显示模块,用于响应于任一所述第一虚拟道具不存在于所述第二虚拟道具中,显示虚拟道具交易界面,所述虚拟道具交易界面用于获取所述第一虚拟道具。
  19. 一种计算机设备,所述计算机设备包括一个或多个处理器和一个或多个存储器,所述一个或多个存储器中存储有至少一条计算机程序,所述计算机程序由所述一个或多个处理器加载并执行以实现如权利要求1至权利要求17任一项所述的界面显示方法。
  20. 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序, 所述计算机程序由处理器加载并执行以实现如权利要求1至权利要求17任一项所述的界面显示方法。
  21. 一种计算机程序产品,所述计算机程序产品包括计算机程序代码,所述计算机程序代码存储在计算机可读存储介质中,计算机设备的处理器从所述计算机可读存储介质读取所述计算机程序代码,所述处理器执行所述计算机程序代码,使得所述计算机设备实现如权利要求1至权利要求17任一项所述的界面显示方法。
PCT/CN2022/099201 2021-07-21 2022-06-16 界面显示方法、装置、设备以及存储介质 WO2023000877A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2023571194A JP2024519019A (ja) 2021-07-21 2022-06-16 インタフェース表示方法、装置、機器及びコンピュータプログラム
US18/197,207 US20230280873A1 (en) 2021-07-21 2023-05-15 Interface display method and apparatus, device, and storage medium

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110827352.4 2021-07-21
CN202110827352 2021-07-21
CN202111668326.8 2021-12-31
CN202111668326.8A CN114053711A (zh) 2021-07-21 2021-12-31 界面显示方法、装置、设备以及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/197,207 Continuation US20230280873A1 (en) 2021-07-21 2023-05-15 Interface display method and apparatus, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2023000877A1 true WO2023000877A1 (zh) 2023-01-26

Family

ID=80230579

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/099201 WO2023000877A1 (zh) 2021-07-21 2022-06-16 界面显示方法、装置、设备以及存储介质

Country Status (4)

Country Link
US (1) US20230280873A1 (zh)
JP (1) JP2024519019A (zh)
CN (1) CN114053711A (zh)
WO (1) WO2023000877A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116726500A (zh) * 2023-08-09 2023-09-12 腾讯科技(深圳)有限公司 一种虚拟角色的控制方法、装置、电子设备和存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114053711A (zh) * 2021-07-21 2022-02-18 腾讯科技(深圳)有限公司 界面显示方法、装置、设备以及存储介质
CN113596603B (zh) * 2021-07-28 2023-03-21 北京达佳互联信息技术有限公司 虚拟物品的显示控制方法、虚拟物品的显示方法、装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111821692A (zh) * 2020-07-24 2020-10-27 网易(杭州)网络有限公司 一种游戏中道具的交易方法、装置、计算机设备和介质
CN111905364A (zh) * 2020-08-31 2020-11-10 网易(杭州)网络有限公司 一种游戏虚拟道具的推荐、购买方法和电子设备
CN112915547A (zh) * 2021-03-04 2021-06-08 广州繁星互娱信息科技有限公司 虚拟对象获取方法、装置、终端、服务器及可读存储介质
CN114053711A (zh) * 2021-07-21 2022-02-18 腾讯科技(深圳)有限公司 界面显示方法、装置、设备以及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111821692A (zh) * 2020-07-24 2020-10-27 网易(杭州)网络有限公司 一种游戏中道具的交易方法、装置、计算机设备和介质
CN111905364A (zh) * 2020-08-31 2020-11-10 网易(杭州)网络有限公司 一种游戏虚拟道具的推荐、购买方法和电子设备
CN112915547A (zh) * 2021-03-04 2021-06-08 广州繁星互娱信息科技有限公司 虚拟对象获取方法、装置、终端、服务器及可读存储介质
CN114053711A (zh) * 2021-07-21 2022-02-18 腾讯科技(深圳)有限公司 界面显示方法、装置、设备以及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TAO, ZISHENG: "Taobao Game of Life Documentary] Keywords Dress up to save your body?", HTTPS://WWW.BILIBILI.COM/VIDEO/BV1IN411Z7EH?SPM_ID_FROM=333.337.SEARCH-CARD.ALL.CLICK, 30 May 2021 (2021-05-30), CN, Retrieved from the Internet <URL:https://www.bilibili.com/video/BV1iN411Z7eH/> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116726500A (zh) * 2023-08-09 2023-09-12 腾讯科技(深圳)有限公司 一种虚拟角色的控制方法、装置、电子设备和存储介质
CN116726500B (zh) * 2023-08-09 2023-11-03 腾讯科技(深圳)有限公司 一种虚拟角色的控制方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
US20230280873A1 (en) 2023-09-07
JP2024519019A (ja) 2024-05-08
CN114053711A (zh) 2022-02-18

Similar Documents

Publication Publication Date Title
WO2023000877A1 (zh) 界面显示方法、装置、设备以及存储介质
US9517403B1 (en) Rewarding user customization of a virtual item based on user reviews in an online game
WO2022042435A1 (zh) 虚拟环境画面的显示方法、装置、设备及存储介质
CN111111191B (zh) 虚拟技能的激活方法和装置、存储介质及电子装置
US20230065576A1 (en) Battle settlement interface display method, apparatus, device, and storage medium
US11810234B2 (en) Method and apparatus for processing avatar usage data, device, and storage medium
CN111841014B (zh) 虚拟物品展示方法、装置、电子设备及存储介质
US20230072503A1 (en) Display method and apparatus for virtual vehicle, device, and storage medium
WO2022017111A1 (zh) 图像处理方法、装置、电子设备及计算机可读存储介质
US20230048502A1 (en) Method and apparatus for displaying expression in virtual scene
WO2023029828A1 (zh) 虚拟对象的控制方法、装置、终端及存储介质
WO2023142617A1 (zh) 基于虚拟场景的射线显示方法、装置、设备以及存储介质
WO2022095672A1 (zh) 画面显示方法、装置、设备以及存储介质
CN115645923A (zh) 游戏交互方法、装置、终端设备及计算机可读存储介质
CN114618157A (zh) 一种游戏中的数据补偿方法、装置、电子设备及存储介质
WO2024060914A1 (zh) 虚拟对象的生成方法、装置、设备、介质和程序产品
WO2023221730A1 (zh) 虚拟道具的分享方法、装置、设备及计算机可读存储介质
US11779844B2 (en) Video game inventory coach
WO2024093608A1 (zh) 游戏交互方法、装置、设备及计算机可读存储介质
US20220226739A1 (en) Collection bundle purchase device and collection bundle purchase method
WO2024037188A1 (zh) 虚拟对象控制方法、装置、设备及介质
US20220054944A1 (en) Virtual object control method and apparatus, terminal, and storage medium
WO2024067168A1 (zh) 基于社交场景的消息显示方法、装置、设备、介质及产品
CN116966596A (zh) 游戏交互方法、装置、电子设备及存储介质
CN116549972A (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: 22845043

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2301006242

Country of ref document: TH

WWE Wipo information: entry into national phase

Ref document number: 2023571194

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE