Method and apparatus for displaying virtual item, electronic device, and storage medium

JP2024063089A5Active Publication Date: 2025-02-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024027988
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-03-22
Filing Date
2024-02-28
Publication Date
2025-02-26
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

Current shooting games require frequent switching of virtual items by users, leading to low efficiency in human-computer interaction and limited control methods due to the lack of variety in virtual item combinations.

Method used

A method and device that allows users to combine at least two virtual items to form a new target virtual item with unique functions, eliminating the need for frequent item switching by enabling combination and separation through pinch-in and separation operations, and displaying animations to enhance interaction.

Benefits of technology

This approach reduces operational difficulty, increases the variety of control methods, and improves human-computer interaction efficiency by allowing users to utilize combined virtual items with enhanced functions without frequent item switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a method and apparatus for displaying a virtual item belonging to the field of computer techniques, an electronic device, and a storage medium.SOLUTION: A terminal displays a virtual scene and a target virtual object (201) positioned in the virtual scene. The terminal displays, in response to a first trigger operation on at least two of multiple virtual items, a target virtual item (202) in the virtual scene, thereby making it possible to increase the number of types of systems of controlling the virtual items and to improve the efficiency of human-computer interaction.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Embodiments of the present invention claim priority based on a Chinese patent application filed on March 22, 2021, bearing application number 202110301716.5 and entitled "Method, device, electronic device and storage medium for displaying virtual items," the entire contents of which are incorporated herein by reference.

[0002] The present invention relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for displaying a virtual item. [Background technology]

[0003] With the development of computer technology and the diversification of terminal functions, more and more kinds of games can be played on a terminal, among which shooting games are relatively popular games, in which the terminal displays a virtual scene on an interface, displays virtual objects in the virtual scene, and the user controls the virtual objects to fight against other virtual objects through the terminal. Summary of the Invention

[0004] The embodiments of the present invention provide a method, device, electronic device and storage medium for displaying a virtual item, which can increase the variety of control methods for the virtual item and improve the efficiency of human-computer interaction. The technical means thereof are as follows:

[0005] In one aspect, a method for displaying a virtual item, executed by an electronic device, is provided, the method including: displaying a target virtual object in a virtual scene, the target virtual object having a plurality of virtual items, each of the plurality of virtual items having a virtual function; and displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the target virtual item being obtained by combining the at least two virtual items, the target virtual item having a new virtual function different from the virtual functions of the at least two virtual items.

[0006] In one aspect, a virtual item display device is provided, the device including: a first display module that displays a target virtual object in a virtual scene, the target virtual object having a plurality of virtual items, each of the plurality of virtual items having a virtual function; and a second display module that displays a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the target virtual item being obtained by combining the at least two virtual items, the target virtual item having a new virtual function that is different from the virtual functions of the at least two virtual items.

[0007] In one preferred embodiment, the second display module includes an acquisition unit that acquires the target virtual item in response to the first trigger operation, and an equipment control unit that displays in the virtual scene that the target virtual object is equipped with the target virtual item.

[0008] In one preferred embodiment, the acquisition unit includes an acquisition subunit that, in response to the first trigger operation, combines the at least two virtual items to acquire the target virtual item.

[0009] In one preferred embodiment, the device sends a combination command for the at least two virtual items to a server, and the equipment control unit displays that the target virtual object is equipped with the target virtual item based on confirmation information of the combination command by the server.

[0010] In one preferred aspect, the first display module displays display widgets of the plurality of virtual items owned by the target virtual object, and the second display module displays the target virtual items in the virtual scene in response to a pinch-in operation on the display widgets of the at least two virtual items.

[0011] In one preferred aspect, in response to the first trigger operation, the second display module sends operation information of the first trigger operation to a server, where the operation information instructs the user to combine the at least two virtual items, obtains the target virtual item sent by the server based on the operation information, and displays the target virtual item in the virtual scene.

[0012] In one preferred aspect, the second display module plays an item combination animation in response to the first trigger operation, the item combination animation being an animation of the target virtual object combining the at least two virtual items into the target virtual item.

[0013] In one preferred embodiment, the at least two virtual items are both fireable items, the first display module displays a first fire function option of the target virtual item in the virtual scene, and the device further includes a fire control module that controls the target virtual object to simultaneously fire projectiles of the at least two virtual items using the target virtual item in response to a trigger operation on the first fire function option.

[0014] In one preferred aspect, the at least two virtual items include a shooting item and a thrown item, the first display module displays a second firing function option and a throwing function option of the target virtual item in the virtual scene, and the device further includes a firing control module that controls the target virtual object to use the target virtual item to fire a projectile of the shooting item of the at least two virtual items in response to a trigger operation on the second firing function option, and a throwing control module that controls the target virtual object to use the target virtual item to throw a throwing item of the at least two virtual items in response to a trigger operation on the throwing function option.

[0015] In one preferred aspect, the at least two virtual items include a shooting item and a cold weapon item, the first display module displays a third firing function option and a showdown function option of the target virtual item in the virtual scene, and the device further includes a launch control module that controls the target virtual object to use the target virtual item to launch a projectile of the shooting item of the at least two virtual items in response to a trigger operation on the third firing function option, and a showdown control module that controls the target virtual object to engage in a showdown using the cold weapon item of the at least two virtual items in response to a trigger operation on the showdown function option.

[0016] In one preferred aspect, the at least two virtual items include a shooting item and a target projectile, the first display module displays a fourth firing function option and a fifth firing function option of the target virtual item in the virtual scene, and the device further includes a launch control module that controls, in response to a trigger operation on the fourth firing function option, the target virtual object to use the target virtual item to launch a projectile of a shooting item of the at least two virtual items, and in response to a trigger operation on the fifth firing function option, controls the target virtual object to use the target virtual item to launch the target projectile.

[0017] In one preferred embodiment, the device further includes an acquisition module that, in response to a second trigger operation on the target virtual item, separates the target virtual item to acquire the at least two virtual items.

[0018] In one preferred embodiment, the device further includes a transmission module that transmits a separation command for the target virtual item to a server, and the second display module displays that the target virtual object is equipped with a shooting item of any of the at least two virtual items based on confirmation information of the separation command by the server.

[0019] In one preferred aspect, the device further includes a separation module that plays an item separation animation in response to a second trigger operation on the target virtual item, the item separation animation being an animation in which the target virtual object separates the target virtual item into the at least two virtual items.

[0020] In one preferred aspect, each of the plurality of virtual items has an interaction function, which is a function of the target virtual object using the virtual item to interact with other virtual objects in the virtual scene, and the target virtual item has a new interaction function that is different from the interaction functions of the at least two virtual items.

[0021] In one aspect, an electronic device is provided that includes one or more processors and one or more memories, wherein the one or more memories store at least one computer program, and the at least one computer program is loaded and executed by the one or more processors to realize the above-mentioned method for displaying a virtual item.

[0022] In one aspect, a storage medium is provided having stored thereon at least one computer program, the at least one computer program being loaded and executed by a processor to implement the above-described method for displaying a virtual item.

[0023] In one aspect, a computer program product or computer program product is provided, the computer program product or computer program product including one or more computer codes stored on a computer readable storage medium, the one or more processors of an electronic device reading and executing the one or more computer codes from the computer readable storage medium to perform the method for displaying a virtual item in the electronic device.

[0024] The technology according to the embodiment of the present invention has at least the following advantageous effects.

[0025] By providing an interaction method of combining at least two virtual items to form a new target virtual item, a user does not need to frequently switch virtual items used during a game, and can realize a new virtual function of the target virtual item when the target virtual item is equipped, thereby greatly reducing the difficulty of user operations, increasing the variety of control methods for virtual items, and improving the efficiency of human-computer interaction. [Brief description of the drawings]

[0026] In order to more clearly describe the technology according to the embodiments of the present invention, the following briefly introduces drawings necessary for describing the embodiments. Note that the following drawings are merely some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without creative work. [Figure 1] FIG. 1 is a schematic diagram of an implementation environment of a method for displaying a virtual item according to an embodiment of the present invention. [Diagram 2] 2 is a flowchart of a method for displaying a virtual item according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a schematic diagram of a first trigger operation according to an embodiment of the present invention. [Figure 4] 2 is a flowchart of a method for displaying a virtual item according to an embodiment of the present invention. [Diagram 5] FIG. 2 is a schematic diagram of a virtual item combination method according to an embodiment of the present invention. [Figure 6] 2 is a schematic diagram of a target virtual item according to an embodiment of the present invention. [Figure 7] FIG. 2 is a schematic diagram of a virtual item combination method according to an embodiment of the present invention. [Figure 8] 2 is a schematic diagram of a target virtual item according to an embodiment of the present invention. [Figure 9] FIG. 2 is a schematic diagram of a virtual item combination method according to an embodiment of the present invention. [Figure 10] 13 is a schematic diagram of a target firing function option in accordance with an embodiment of the present invention. [Figure 11] 1 is a schematic diagram illustrating the principle of a method for displaying virtual items according to an embodiment of the present invention; [Figure 12] FIG. 2 is a schematic diagram of a configuration of a virtual item display device according to an embodiment of the present invention. [Figure 13] FIG. 2 is a schematic diagram of a configuration of a terminal according to an embodiment of the present invention. [Figure 14] 1 is a schematic diagram illustrating a configuration of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

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

[0028] In addition, the terms "first", "second", etc. in this specification are used to distinguish between identical or similar items having basically the same action and function, and there is no logical or chronological dependency between "first", "second" and "nth", and they do not limit the number or execution order.

[0029] As used herein, the term "at least one" means one or more, and "multiple" means two or more, e.g., a plurality of first locations means two or more first locations.

[0030] In current shooter games, a user controls a virtual object to equip various types of virtual items so that the virtual object can use the virtual items to engage in combat with other virtual objects in a virtual scene. For example, the types of virtual items include ranged items such as machine guns and rifles, thrown items such as grenades and smoke bombs, and melee weapons such as daggers and bayonets.

[0031] In the above process, a virtual object is usually equipped with multiple kinds of virtual items in a virtual scene, which makes it difficult for the virtual object to switch between virtual items, and the control method of the virtual items is single, resulting in low efficiency of human-computer interaction.

[0032] The following describes terms relevant to the present invention.

[0033] Virtual scene: a virtual scene displayed (or provided) when an application program is running on a terminal. Preferably, the virtual scene may be a simulation environment for the real world, a semi-simulation and semi-fictional environment, or a purely fictional environment. Preferably, the virtual scene may be any of a 2D virtual scene, a 2.5D virtual scene, and a 3D virtual scene, but the embodiment of the present invention is not limited to the dimension of the virtual scene. For example, the virtual scene may include a sky, a land, an ocean, etc. The land may include environmental elements such as a desert, a city, etc., and a user can control a virtual object to move within the virtual scene.

[0034] Virtual object: may be an object operable in a virtual scene. Preferably, the operable object may be a virtual character, a virtual animal, a cartoon or animation character, etc., such as a character, an animal, a plant, a barrel, a wall, a stone, etc. displayed in the virtual scene. Preferably, the virtual object may be a virtual figure representing a user in the virtual scene. Preferably, the virtual scene may include a plurality of virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of space in the virtual scene. Preferably, when the virtual scene is a three-dimensional virtual scene, the virtual object is a three-dimensional solid model. Preferably, the three-dimensional solid model is a three-dimensional character constructed based on a three-dimensional human skeletal animation technique, and the same virtual object can display different external figures by wearing different skins. In some embodiments, the virtual object may be realized using a 2.5D or 2D model, and the embodiments of the present invention are not limited thereto.

[0035] Preferably, the virtual object may be a player character controlled by an operation on a client, or may be a non-player character (NPC) set in a virtual scene. Preferably, the virtual object may be a virtual character that executes a game in a virtual scene. Preferably, the number of virtual objects participating in an interaction in the virtual scene may be set in advance, or may be dynamically determined according to the number of clients participating in the interaction.

[0036] Shooter Game (STG): refers to a type of game in which a virtual object performs a long-distance attack using a virtual item such as a firearm. A shooter game is a type of action game that has obvious characteristics of an action game. Preferably, the shooter game includes, but is not limited to, a first-person shooter game, a third-person shooter game, a top-down shooter game, a head-up shooter game, a platform shooter game, a scroll shooter game, a light gun shooter game, a keyboard and mouse shooter game, a shooting field game, a strategy shooter game, and the like. The embodiment of the present invention is not specifically limited to the type of the shooter game.

[0037] First-person Shooting (FPS): refers to a shooting game that a user can play from a first-person perspective. A screen of a virtual scene in a game is a screen that observes the virtual scene from the perspective of a virtual object controlled by a terminal. In the game, at least two virtual objects play a single-round battle mode game in the virtual scene. The virtual objects avoid attacks made by other virtual objects and dangers in the virtual scene (e.g., poison gas, swamps, etc.) in order to survive in the virtual scene. When the life value of a virtual object in a virtual scene becomes zero, the life of the virtual object in the virtual scene ends, and the virtual object that finally lives in the virtual scene becomes the winner. Preferably, the battle begins when the first client joins the battle and ends when the last client leaves the battle, and each client can control one or more virtual objects in the virtual scene. Preferably, the competitive mode of the battle may include a single-player battle mode, a double-player small-team battle mode, or a multiplayer large-team battle mode, but the embodiment of the present invention is not specifically limited to the battle mode.

[0038] In the example of a shooting game, the user may control the virtual object to fall freely in the sky of the virtual scene, to fall with a parachute open, to run, jump, crawl, or walk forward, or to swim, float, or dive in the sea. The user may control the virtual object to move in a virtual vehicle in the virtual scene. For example, the virtual vehicle may be a virtual car, a virtual airplane, a virtual yacht, or the like. Here, the above scene is described as an example, but the embodiment of the present invention is not limited to these. The user may control the virtual object to interact with other virtual objects through a virtual item, such as a showdown. For example, the virtual item may be a throwing type virtual item such as a grenade, a cluster mine, a sticky grenade, or a laser trip mine type, or a shooting type virtual item such as a machine gun, a pistol, a rifle, or a sentry machine gun, or a cold weapon item for close-combat such as a dagger or a bayonet.

[0039] The following introduces the system architecture relevant to the present invention.

[0040] 1 is a schematic diagram of an implementation environment of a method for displaying a virtual item according to an embodiment of the present invention. As shown in FIG. 1, the implementation environment includes a first terminal 120, a server 140 and a second terminal 160.

[0041] The first terminal 120 installs and executes an application program supporting a virtual scene. Preferably, the application program may be any of an FPS game, a third-person shooter game, a MOBA (Multiplayer Online Battle Arena) game, a virtual reality application program, a three-dimensional map program, a military simulation program, and a multiplayer gun battle survival game. In some embodiments, the first terminal 120 is a terminal used by a first user, and when the first terminal 120 executes the application program, it displays a user interface of the application program on the screen of the first terminal 120, and loads and displays a virtual scene in the application program based on an opening operation on the user interface by the first user. The first user uses the first terminal 120 to control the virtual object in the virtual scene to perform an action. The action includes, but is not limited to, any of body posture adjustment, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and fighting. For example, the first virtual object is a first virtual character, such as a simulated character object or an animated character object.

[0042] The first terminal 120 and the second terminal 160 are communicatively connected directly or indirectly to the server 140 via a wireless network or a wired network.

[0043] The server 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 140 is used to provide background services to application programs supporting virtual scenes. Preferably, the server 140 performs primary computing tasks, and the first terminal 120 and the second terminal 160 perform secondary computing tasks, or the server 140 performs secondary computing tasks, and the first terminal 120 and the second terminal 160 perform primary computing tasks, or the server 140, the first terminal 120, and the second terminal 160 adopt a distributed computing architecture to perform collaborative computing.

[0044] Preferably, the server 140 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides fundamental cloud computing services, such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Networks (CDNs), and big data and artificial intelligence platforms.

[0045] The second terminal 160 installs and executes an application program supporting a virtual scene. Preferably, the application program may be any of an FPS game, a third-person shooter game, a MOBA game, a virtual reality application program, a three-dimensional map program, a military simulation program, and a multiplayer gun battle survival game. In some embodiments, the second terminal 160 is a terminal used by a second user, and when the second terminal 160 executes the application program, the second terminal 160 displays a user interface of the application program on a screen of the second terminal 160, and loads and displays a virtual scene in the application program based on an opening operation on the user interface by the second user. The second user uses the second terminal 160 to control a virtual object in the virtual scene to perform an action. The action includes, but is not limited to, any of body posture adjustment, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and fighting. For example, the second virtual object is a second virtual character, such as a simulated character object or an animated character object.

[0046] Preferably, the first virtual object controlled by the first terminal 120 and the second virtual object controlled by the second terminal 160 are located in the same virtual scene, where the first virtual object can interact with the second virtual object in the virtual scene.

[0047] Preferably, the first virtual object and the second virtual object may be in an antagonistic relationship. For example, the first virtual object and the second virtual object belong to different camps, and the hostile virtual objects may perform hostile interactions such as shooting at each other on land, for example, firing a shooting item at each other. In another embodiment, the first virtual object and the second virtual object may be in an ally relationship. For example, the first virtual object and the second virtual object may belong to the same camp or the same team, have a friend relationship, or have temporary communication rights.

[0048] Preferably, the application programs installed on the first terminal 120 and the second terminal 160 are the same, or the application programs installed on the first terminal 120 or the second terminal 160 are the same type of application programs on different operating system platforms. The first terminal 120 may generally mean one of a plurality of terminals, and the second terminal 160 may generally mean one of a plurality of terminals, and in this embodiment, the first terminal 120 and the second terminal 160 are simply taken as an example to be described. The device types of the first terminal 120 and the second terminal 160 may be the same or different. The device types include, but are not limited to, at least one of a smartphone, a tablet computer, a smart speaker, a smart watch, a laptop computer, and a desktop computer. For example, the first terminal 120 and the second terminal 160 are a smartphone or other portable game console. In the following embodiment, the terminals are described as including a smartphone as an example.

[0049] As will be appreciated by those skilled in the art, the number of the above terminals may be more or less than the above number. For example, the number of the above terminals may be only one, or may be tens or hundreds, or more. The embodiment of the present invention is not limited to the number and device types of the terminals.

[0050] 2 is a flowchart of a method for displaying a virtual item according to an embodiment of the present invention. As shown in FIG. 2, the method is executed by an electronic device. The following description takes as an example that the electronic device is a terminal. The terminal may be the first terminal 120 or the second terminal 160 shown in FIG. 1. In this embodiment, the method includes the following steps:

[0051] Step 201: A terminal displays a virtual scene and a target virtual object located in the virtual scene, that is, displays a target virtual object in the virtual scene.

[0052] Here, the target virtual object refers to a virtual object currently being controlled by the terminal, and may be referred to as a main operation virtual object.

[0053] Preferably, an application program supporting a virtual scene is installed in the terminal, so that the terminal can load the virtual scene and a target virtual object located in the virtual scene into the application program and display the virtual scene. In one preferred embodiment, when the application is an FPS game, the terminal displays a screen for observing the virtual scene from the perspective of a target virtual object, so that the target virtual object can be shot from a first-person perspective when displaying the virtual scene.

[0054] In some embodiments, the terminal launches the application program in response to a user's launch operation for the application program. Preferably, the launch operation is a user performing a touch operation on an icon of the application program on the desktop of the terminal, or a user inputting a launch command for the application program to an intelligent voice assistant. Preferably, the launch command includes a voice command or a text command, and the embodiment of the present invention is not specifically limited to the type of the launch command.

[0055] In some embodiments, a user sets an automatic start condition for an application program, and when the terminal detects that the automatic start condition for the application program is satisfied, the terminal automatically starts the application program through the operating system. Preferably, the automatic start condition is to start the application program periodically, for example, the application program may be started at 8 o'clock every night, or the automatic start condition may be to start the application program automatically after power-on, but the embodiments of the present invention are not specifically limited to the automatic start condition for the application program.

[0056] In the above process, the terminal launches an application program and displays a user interface in the application program. The user interface includes a game mode selection widget, an account option setting widget, a virtual scene selection widget, etc. Preferably, the terminal detects a user's selection operation for each game mode in the user interface in real time, and determines the selected game mode as the game mode set for the current round. Preferably, the selection operation may be a click operation, a long press operation, etc., or a trigger operation for a shortcut key corresponding to any game mode, but the embodiment of the present invention is not limited thereto. After the user selects a game mode in the user interface, the user can perform a trigger operation on an opening option to trigger the terminal to start a game, load a virtual scene, and display a target virtual object in the virtual scene.

[0057] In an embodiment of the present invention, a target virtual object is equipped with a plurality of virtual items, i.e., a target virtual object has a plurality of virtual items, i.e., a target virtual object can use the plurality of virtual items. The plurality of virtual items each have a virtual function. Preferably, the plurality of virtual items each have an interaction function. The interaction function is a function of a target virtual object using a virtual item to interact with other virtual objects in a virtual scene. That is, a virtual object can use the virtual function of the virtual item to interact with other virtual objects in a virtual scene, that is, it is equivalent to a plurality of virtual items each having an interaction function. For example, if a virtual item is a virtual firearm and the virtual function of the virtual firearm is to fire a bullet using the virtual firearm, a target virtual object can shoot other virtual objects in a virtual scene using the virtual firearm, that is, a target virtual object can use the virtual firearm to interact with other virtual objects.

[0058] In one preferred embodiment, the target virtual object is equipped with any virtual item among the plurality of virtual items. Here, the target virtual object is equipped with any virtual item, that is, the target virtual object possesses a virtual item, and the target virtual object can perform an interaction using the equipped virtual item. For example, the virtual item equipped by the target virtual object is a virtual firearm, and the target virtual object can shoot using the virtual firearm. Alternatively, the virtual item equipped by the target virtual object is a virtual grenade, and the target virtual object can throw the virtual grenade. Preferably, the other virtual items among the plurality of virtual items other than the virtual item equipped by the target virtual object may be stored in the virtual bag of the target virtual object, or may be hung on the body of the target virtual object. For example, the other virtual item is a grenade, and the grenade is hung on the waist of the target virtual object. Alternatively, the other virtual item is a virtual firearm, and the target virtual object hangs the virtual firearm on its back.

[0059] Preferably, the type of the virtual item includes, but is not limited to, at least one of a shooting item, a throwing item, or a cold weapon item, and a target projectile. For example, the shooting item includes a machine gun, a rifle, etc., the throwing item includes a grenade, a smoke bomb, etc., the cold weapon item includes a dagger, a bayonet, etc., and the target projectile includes an ammunition having a special effect. Preferably, the special effect is an additional attack effect such as a burning effect, a freezing slowdown, an armor-piercing effect, etc., and the embodiment of the present invention is not specifically limited to the type of the virtual item.

[0060] In some embodiments, the virtual scene displays a display widget for each virtual item owned by the target virtual object, the display widget being used to display a specific type of virtual item owned by the target virtual object. Preferably, the virtual scene further displays an interaction widget for a virtual item equipped by the target virtual object, the interaction widget being used to trigger an interaction function of the corresponding virtual item.

[0061] In one example, the interaction widget corresponding to the shooting item is a firing function option of the shooting item. The firing function option is used to control the target virtual object to fire a projectile loaded with the shooting item and fire the projectile at a position indicated by the sight of the shooting item. The projectile is a bullet, ammunition, etc., and the firing function option may be referred to as a "fire button."

[0062] In one example, the interaction widget corresponding to the thrown item is a throwing function option of the thrown item, which is used to control the target virtual object to throw the thrown item along the direction in which the target virtual object faces.

[0063] In one example, the interaction widget corresponding to the cold weapon item is a confrontation function option of the cold weapon item, which is used to control the target virtual object to use the cold weapon item to start a confrontation action along the direction in which the target virtual object faces. For example, the confrontation action is that the target virtual object stabs the cold weapon item along the direction in which the target virtual object faces.

[0064] In one example, the interaction widget corresponding to the target projectile is a target firing function option of the target projectile. The target firing function option is used to control the target virtual object to use a shooting item to fire the target projectile to a position indicated by the sight of the shooting item. Preferably, the target projectile is a special ammunition. For example, the target projectile is an ammunition having a burning damage, an ammunition having a freezing deceleration effect, or an ammunition capable of penetrating armor, etc.

[0065] In some embodiments, the direction of a target virtual object in a virtual scene is the direction in which the target virtual object faces. In an example in which the virtual scene is a three-dimensional virtual scene, the terminal obtains a horizontal projection direction of the target virtual object in a three-dimensional coordinate system, and determines the direction of the target virtual object based on the projection direction. For example, when the target virtual object is in a standing, crouching, jumping, or floating posture in the virtual scene, the terminal determines a direction from the feet of the target virtual object to the head of the target virtual object, and the horizontal projection direction of the determined direction in the three-dimensional coordinate system is set as the direction of the target virtual object. When the virtual scene is a two-dimensional virtual scene, the direction of the target virtual object is the direction in which the target virtual object faces, and the embodiments of the present invention are not specifically limited thereto.

[0066] In some embodiments, the direction of the target virtual object in the virtual scene is determined by the user's touch operation on the joystick widget. When the user presses the joystick widget to rotate it in a specified direction, the terminal adjusts the direction of the target virtual object in the virtual scene based on the user's pressing trajectory, and adjusts the orientation direction of the target virtual object so that the rotation angle of the turning direction corresponds to the included angle between the start point and the end point of the pressing trajectory. Here, the joystick widget is used to control the target virtual object to move in the virtual scene.

[0067] Step 202: In response to a first trigger operation on at least two virtual items of the plurality of virtual items, the terminal displays a target virtual item in the virtual scene, the target virtual item being obtained by combining the at least two virtual items, and the target virtual item has a new virtual function different from the virtual functions of the at least two virtual items.

[0068] In an embodiment of the present invention, the target virtual object has a plurality of virtual items, and the user may obtain the target virtual item by combining any two or more virtual items among the plurality of virtual items, i.e., the target virtual item may be composed of the at least two virtual items. The target virtual item has a new virtual function, and the new virtual function is different from the virtual function of each virtual item that composes the target virtual item, i.e., the new virtual function of the target virtual item is different from the virtual function of each virtual item among the at least two virtual items. Preferably, the target virtual item has a new interaction function that is different from the interaction function of the at least two virtual items, and the new interaction function is a function of the target virtual object using the target virtual item to interact with other virtual objects in the virtual scene. That is, the target virtual object can interact with other virtual objects in the virtual scene using the virtual function of the target virtual item. This also corresponds to the target virtual item having a new interaction function. Preferably, the new virtual function includes the virtual function of each virtual item that composes the target virtual item. For example, the target virtual item is composed of a virtual firearm and a virtual grenade, and the virtual function of the virtual firearm is to fire a bullet using the virtual firearm, and the virtual function of the virtual grenade is to be thrown and explode after being thrown. The new virtual function of the target virtual item includes the ability to fire a bullet using the virtual firearm, or the ability to throw a virtual grenade and explode after being thrown. That is, the new virtual function of the target virtual item includes the virtual functions of each virtual item constituting the target virtual item. The virtual object can interact with other virtual objects in the virtual scene using the new virtual function of the target virtual item. This corresponds to the target virtual item having a new interaction function.

[0069] In some embodiments, step 202 includes displaying a target virtual item in the virtual scene in response to a pinch-in operation on a display widget of the at least two virtual items. When display widgets of multiple virtual items owned by the target virtual object are displayed, a pinch-in operation on the display widgets of the at least two virtual items can conveniently trigger a combination command for the at least two virtual items, thereby ensuring the convenience of combining the virtual items.

[0070] In some embodiments, the at least two virtual items are two virtual items. The first trigger operation is an operation in which a user presses the display widgets of the two virtual items with two fingers, respectively, and performs a pinch-in operation on the display widgets of the two virtual items. The pinch-in operation is an operation in which a user presses the display widget of a virtual item, and then narrows the distance between the two fingers while keeping the two fingers in contact with the screen, that is, an operation of "pinching" the two display widgets.

[0071] The above process is described by taking two virtual items as an example, but preferably, the number of at least two virtual items may be three or more. In this case, the user may realize the first trigger operation on the display widgets of three or more virtual items by pressing the display widgets of the corresponding number of virtual items with three or more fingers, respectively, and performing a pinch-in operation on the display widgets of the corresponding number of virtual items. This embodiment of the present invention is not specifically limited thereto.

[0072] In some embodiments, the terminal detects a user's pressing operation on the display widgets of the at least two virtual items by a pressure sensor arranged under the display, and determines that the user's pressing operation on the display widgets of the at least two virtual items has been detected if the pressing duration of the pressing operation exceeds a duration threshold. Furthermore, the pressure sensor continues to detect whether the user has performed a pinch-in operation. Preferably, the pinch-in operation detection method includes the following steps: for each virtual item, the pressure sensor determines a movement trajectory of a pressure point of the pressure operation performed by the user on the display widget corresponding to the virtual item, determines an end position of the movement trajectory corresponding to each virtual item, and determines that the user's pinch-in operation on the display widgets of the at least two virtual items has been detected if the distance between each two end positions of the determined multiple end positions is smaller than a distance threshold. Preferably, when the pressing operation and the pinch-in operation are detected, it is determined that the user has performed a first trigger operation on the at least two virtual items.

[0073] 3 is a schematic diagram of a first trigger operation according to an embodiment of the present invention. As shown in FIG. 3, a target virtual object 301 is displayed in a virtual scene 300, and since the target virtual object currently has two virtual items, a display widget 302 and a display widget 303 corresponding to the two virtual items are further displayed in the virtual scene 300. A user presses the display widget 302 and the display widget 303 with two fingers, respectively, to perform a pinch-in operation on the display widget 302 and the display widget 303. After detecting the pressing operation and the pinch-in operation by a pressure sensor arranged in the lower layer of the display, the terminal determines that the user has performed a first trigger operation on at least two virtual items.

[0074] In some embodiments, the first trigger operation may be, in addition to the above pressing and pinching in operations, simultaneously tapping the display widgets of the at least two virtual items that the user intends to combine. The embodiments of the present invention are not specifically limited to the form of the first trigger operation.

[0075] In some embodiments, after detecting the first trigger operation, the terminal acquires a target virtual item in response to the first trigger operation, and displays in the virtual scene that the target virtual object is equipped with the target virtual item. In the above process, a target virtual item formed by a combination of at least two virtual items is first acquired, and then the target virtual object is controlled to equip the target virtual item. This allows the target virtual object to equip a new target virtual item having a new virtual function. Therefore, the target virtual object does not need to frequently switch virtual items to realize different virtual functions during a battle, and can directly use the target virtual item to realize the virtual functions of all virtual items constituting the target virtual item when the target virtual item is equipped, so that the efficiency of human-computer interaction can be greatly improved.

[0076] In some embodiments, when acquiring the target virtual item, the terminal combines the at least two virtual items to acquire the target virtual item in response to a first trigger operation on at least two virtual items of the plurality of virtual items, if the user indicates that he / she wants to combine the at least two virtual items. In the above combination process, if the first trigger operation on at least two virtual items of the plurality of virtual items is detected, the user indicates that he / she wants to combine the at least two virtual items, and directly combines the at least two virtual items. In this way, the terminal does not need to interact with the terminal and the server to acquire the target virtual item through the interaction, and can quickly acquire the target virtual item, thereby saving the communication overhead between the terminal and the server, and improving the efficiency of human-computer interaction.

[0077] In some embodiments, when acquiring a target virtual item, the terminal acquires a combination instruction for at least two virtual items in response to a first trigger operation, and combines the at least two virtual items to acquire a target virtual item in response to the combination instruction. In the above process, the terminal can generate a combination instruction based on the first trigger operation and acquire the target virtual item based on the combination instruction, so as to ensure that the target virtual item has a new virtual function different from the virtual functions of the at least two virtual items.

[0078] In some embodiments, the above combination process is performed in the backend, and the combined target virtual item is displayed in the frontend. That is, after the user performs the first trigger operation, the terminal may determine the target virtual item in the backend, and then directly control the target virtual object to equip the target virtual item, and display the display widget and interaction widget of the target virtual item in the virtual scene. This can save the processing resources of the terminal.

[0079] In some embodiments, the above combination process may display a visual combination screen at the front end by playing an item combination animation. That is, the terminal plays the item combination animation in response to a first trigger operation on at least two virtual items of the multiple virtual items. The item combination animation is an animation of a target virtual object combining at least two virtual items into a target virtual item. By playing the item combination animation, the interaction effect for combining at least two virtual items to form a target virtual item can be intuitively displayed to the user, which can improve the intuitiveness and enjoyment of the combination process and improve the efficiency of human-computer interaction.

[0080] In some embodiments, when the terminal controls the target virtual object to equip the target virtual item, the terminal sends a combination command for at least two virtual items to the server, and displays that the target virtual object equips the target virtual item according to the confirmation information of the combination command by the server. That is, the terminal synchronizes the user's combination command for at least two virtual items with the server, so that the server records that the target virtual object operated by the terminal combines at least two virtual items, sets the target virtual item to an equipped state, and realizes data synchronization between the terminal and the server. The equipped state indicates that the target virtual object has already equipped the target virtual item. Here, the confirmation information indicates that the server confirms that the at least two virtual items are combined with the target virtual item.

[0081] All the above preferred aspects may be arbitrarily combined to form the preferred embodiments of the present disclosure, the description of which is omitted here.

[0082] The method according to the embodiment of the present invention provides an interaction method of combining at least two virtual items to form a new target virtual item, so that a user does not need to frequently switch between virtual items used in a game, and can realize a new virtual function of the target virtual item when the target virtual item is equipped, thereby greatly reducing the user's operation difficulty, increasing the variety of control methods for virtual items, and improving the efficiency of human-computer interaction.

[0083] 4 is a flowchart of a method for displaying a virtual item according to an embodiment of the present invention. As shown in FIG. 4, the method is executed by an electronic device. It is described by taking an example that the electronic device is a terminal, and the terminal is the first terminal 120 or the second terminal 160 shown in FIG. 1. In this embodiment, the method includes the following steps:

[0084] Step 401: A terminal displays a virtual scene and a target virtual object located in the virtual scene.

[0085] Step 402: The terminal displays a plurality of virtual items owned by the target virtual object in the virtual scene.

[0086] The above steps 401 and 402 are similar to the above step 201, and the description thereof will be omitted here.

[0087] It should be noted that, in the embodiment of the present invention, an example is described in which a terminal displays a target virtual object and displays a plurality of virtual items owned by the target virtual object, but in another embodiment, the plurality of virtual items owned by the target virtual object may not be displayed, that is, step 401 and step 402 may be replaced by the following steps: The terminal displays a target virtual object in a virtual scene, and the target virtual object has a plurality of virtual items.

[0088] Step 403: The terminal obtains a combination instruction for the at least two virtual items in response to a first trigger operation for the at least two virtual items of the plurality of virtual items.

[0089] The first trigger operation may be described in the above embodiment, and the description thereof will be omitted here.

[0090] In some embodiments, the terminal generates a combination instruction for the at least two virtual items based on the first trigger operation, the combination instruction including item identifiers of the at least two virtual items and combination instruction information for the at least two virtual items, the combination instruction information instructing to combine the at least two virtual items.

[0091] Step 404: In response to the combination command, the terminal plays an item combination animation, which is an animation of the target virtual object combining the at least two virtual items into a target virtual item.

[0092] Here, the target virtual item is obtained by combining the at least two virtual items, and the target virtual item has a new virtual function different from the virtual functions of the at least two virtual items.

[0093] In some embodiments, the terminal calls the playback widget of the application program to play the item combination animation, and configures the item combination animation with different contents according to the combination manner of different types of virtual items.

[0094] In some embodiments, a combination of two virtual items is taken as an example: in a shooting game, the virtual item held by a target virtual object in a default state is called a primary weapon, and the virtual item that needs to be switched to be used is called a secondary weapon, and the terminal combines the primary weapon and the secondary weapon to form a target virtual item.

[0095] Preferably, when both the main weapon and the secondary weapon are shooting items, the item combination animation is as follows: the target virtual object takes out a shooting item (e.g., a machine gun) from the bag on its back, arranges the shooting item and another shooting item (e.g., a rifle) it possesses next to it, and performs a combination action, i.e., ties the shooting item next to the other shooting item to obtain the target virtual item. In other words, the rifle and the machine gun are combined to form an enhanced rifle. Then, the terminal controls the target virtual object to use the target virtual item to shoot, and the two shooting items can fire bullets simultaneously until the ammunition runs out or the user triggers a separation command for the target virtual item.

[0096] In the combination method of two shooting items, as shown in Fig. 3, both the display widget 302 and the display widget 303 show two shooting items of different types. Here, the display widget 302 shows a rifle which is a main weapon, and the display widget 303 shows a machine gun which is a secondary weapon.

[0097] Preferably, when the main weapon is a shooting item and the secondary weapon is a throwing item, the item combination animation is as follows: the target virtual object takes out a throwing item (e.g., a grenade) from a bag on its back, inserts the throwing item into a slot under the barrel of the shooting item (e.g., a rifle), performs a combination action, and obtains the target virtual item. In other words, the rifle and the grenade are combined to form a rifle with a grenade launcher. After that, the terminal may control the target virtual object to use the target virtual item to fire the bullet in the shooting item, or may control the target virtual object to use the target virtual item to directly fire the throwing item.

[0098] 5 is a schematic diagram of a virtual item combination method according to an embodiment of the present invention. As shown in FIG. 5, the combination method of the shooting item and the throwing item is as follows: a target virtual object 501 is displayed in a virtual scene 500, and the target virtual object 501 is currently equipped with a shooting item and a throwing item, so that a display widget 502 of the shooting item and a display widget 503 of the throwing item are further displayed in the virtual scene 500. Here, an example is taken in which the shooting item is a rifle and the throwing item is a grenade. When a user performs a first trigger operation (press and pinch in) on the display widget 502 and the display widget 503, the terminal combines the rifle and the grenade to form a rifle with a grenade launcher.

[0099] 6 is a schematic diagram of a target virtual item according to an embodiment of the present invention. As shown in FIG. 6, a target virtual item 600 is shown, taking a combination of a shooting item and a throwing item as an example. The target virtual item 600 is a rifle that is formed by combining a rifle and a grenade, and is equipped with a grenade launcher.

[0100] Preferably, when the main weapon is a shooting item and the secondary weapon is a cold weapon item, the combination animation of the items is as follows: the target virtual object takes out a cold weapon item (e.g., a dagger) from the bag on his back, inserts the cold weapon item into a slot under the barrel of the shooting item (e.g., a rifle), performs a combination action, and obtains the target virtual item. In other words, the rifle and the dagger are combined to form a rifle with a dagger attached to the muzzle. After that, the terminal may control the target virtual object to use the target virtual item to fire a bullet in the shooting item, or may control the target virtual object to use the target virtual item to directly perform a confrontation action with the cold weapon, for example, control the target virtual object to perform a confrontation action such as stabbing with the dagger between shots.

[0101] 7 is a schematic diagram of a virtual item combination method according to an embodiment of the present invention. In the combination method of a shooting item and a cold weapon item, as shown in FIG. 7, a target virtual object 701 is displayed in a virtual scene 700. Since the target virtual object 701 currently has a shooting item and a cold weapon item, a display widget 702 of the shooting item and a display widget 703 of the cold weapon item are further displayed in the virtual scene 700. Here, an example is taken in which the shooting item is a rifle and the cold weapon item is a dagger. When a user performs a first trigger operation (press and pinch in) on the display widget 702 and the display widget 703, the terminal combines the rifle and the dagger to form a rifle with a dagger attached to the muzzle.

[0102] 8 is a schematic diagram of a target virtual item according to an embodiment of the present invention. As shown in FIG. 8, a target virtual item 800 is shown, taking a combination of a shooting item and a cold weapon item as an example. The target virtual item 800 is a rifle formed by combining a rifle and a dagger, and is a rifle with a dagger attached to the muzzle.

[0103] Preferably, when the main weapon is a shooting item and the secondary weapon is a target projectile, the item combination animation is as follows: The target virtual object takes out a target projectile (e.g., a special ammunition clip) from a bag on its back, inserts the target projectile into the ammunition clip of the shooting item (e.g., a rifle), performs a combination operation, and obtains the target virtual item. In other words, the rifle and the special ammunition clip are combined to form a rifle loaded with a special bullet. The special bullet may have additional attack effects such as burning effect, freezing deceleration, and armor-piercing effect. After that, the terminal may control the target virtual object to use the target virtual item to fire the original bullet in the shooting item, or may control the target virtual object to use the target virtual item to fire the target projectile, for example, to control the target virtual object to shoot with a special ammunition.

[0104] FIG. 9 is a schematic diagram of a combination method of virtual items according to an embodiment of the present invention. For the combination method of a shooting item and a target projectile, you may refer to FIG. 9. In a virtual scene 900, a target virtual object 901 is displayed. Since the target virtual object 901 currently has a shooting item and a target projectile, the virtual scene 900 further displays a display widget 902 of the shooting item and a display widget 903 of the target projectile. Here, it is described by taking an example that the shooting item is a rifle and the target projectile is a special ammunition. When a user performs a first trigger operation (press and pinch in) on the display widget 902 and the display widget 903, the terminal can load the rifle with the special ammunition and use the rifle to shoot with the special ammunition.

[0105] In one preferred embodiment of the above step 404, i.e., the terminal combines at least two virtual items to obtain a target virtual item in response to a combination command, the terminal displays the combination process of the target virtual items in the front end by playing an item combination animation, thereby realizing efficient interaction with the user and improving the efficiency of human-computer interaction. In some other embodiments, the terminal may perform the combination process of the target virtual items in the back end, in which case there is no need to play an item combination animation, and the terminal displays a display widget of the combined target virtual items in direct response to the first trigger operation.

[0106] In the above steps 403-404, the terminal acquires the target virtual item in response to the first trigger operation, thereby saving communication overhead between the terminal and the server. In some embodiments, the terminal may send operation information of the first trigger operation to the server, and acquire the target virtual item sent by the server. The embodiments of the present invention are not specifically limited to the manner of acquiring the target virtual item, and can save the processing resources of the terminal.

[0107] In some embodiments, a process of obtaining a virtual item through interaction between a terminal and a server includes the following steps: in response to a first trigger operation, the terminal sends operation information of the first trigger operation to the server, obtains a target virtual item sent by the server according to the operation information, and displays the target virtual item in the virtual scene.

[0108] Here, the operation information instructs to combine at least two virtual items. Preferably, the operation information includes item identifiers of at least two virtual items and combination instruction information of at least two virtual items. The combination instruction information instructs to combine the at least two virtual items. After receiving the operation information sent by the terminal, the server combines the at least two virtual items into a target virtual item based on the operation information and sends the target virtual item to the terminal, and the terminal receives the target virtual item and displays the target virtual item in the virtual scene. Through the interaction between the terminal and the server, the terminal sends operation information of the first trigger operation to the server, the server generates the target virtual item based on the operation information, and the server sends the target virtual item to the terminal, so that the terminal does not need to generate the target virtual item based on the operation information, thereby saving the processing resources of the terminal.

[0109] In this embodiment of the present invention, in response to the first trigger operation, a combination command is first obtained, and then an item combination animation is played based on the combination command. However, in other embodiments, steps 403-404 may not be executed, and another method may be used to play the item combination animation in response to the first trigger operation.

[0110] Step 405: The terminal sends a combination instruction for the at least two virtual items to the server.

[0111] In some embodiments, after the terminal combines at least two virtual items to form a target virtual item, the terminal needs to synchronize the combination operation with the server, so the terminal sends the combination command in step 403 above to the server.

[0112] Step 406: The terminal displays that the target virtual object is equipped with the target virtual item in the virtual scene according to the confirmation information of the combination command by the server.

[0113] In some embodiments, the server records the combination instruction and stores the operation information for the target virtual object to combine at least two virtual items into the target virtual item. This operation information needs to be synchronized with other terminals participating in the game. Preferably, the information is synchronized using a frame synchronization technique.

[0114] In the above steps 405-406, the terminal displays that the target virtual object is equipped with the target virtual item in the virtual scene. In other words, the operation of the terminal to control the target virtual object to be equipped with the target virtual item needs to be confirmed by the server. Otherwise, if the server returns rejection information to the combination command, it means that the target virtual object fails to equip the target virtual item, and the state of possessing multiple virtual items is maintained. In this case, combination failure presentation information is displayed in the virtual scene, and the combination failure presentation information is used to present the user to perform the first trigger operation again.

[0115] In the above steps 403-406, the terminal displays the target virtual items in the virtual scene in response to the first trigger operation for at least two virtual items among the multiple virtual items. In other embodiments, the terminal may synchronize the combination method of the virtual items to the server by sending the operation information of the first trigger operation to the server in addition to synchronizing the combination method of the virtual items to the server through the combination command, and the embodiment of the present invention is not limited thereto.

[0116] In some embodiments, when the terminal displays that the target virtual object in the virtual scene is equipped with the target virtual item, the terminal displays a display widget of the target virtual item in the virtual scene. And according to different combination manners of at least two virtual items that are combined to form the target virtual item, the terminal displays different types of interaction widgets for the target virtual items formed in different combination manners. The following will provide a detailed description of this.

[0117] Case 1: At least two virtual items are both ranged items Preferably, the terminal displays a first launch function option of the target virtual item in the virtual scene, and in response to a trigger operation on the first launch function option, controls the target virtual object to simultaneously launch projectiles of at least two virtual items using the target virtual item.

[0118] When at least two virtual items to be combined with a target virtual item are both shooting items, the target virtual item's shooting function option can simultaneously shoot projectiles of the multiple virtual items, i.e., one type of virtual item (target virtual item) can realize the function of shooting projectiles of multiple virtual items, thereby enhancing the function of the virtual item in the virtual scene and enhancing the diversity of the virtual items. As a result, when a user equips a target virtual item, the virtual functions of at least two virtual items can be realized simultaneously, and there is no need to frequently switch between virtual items used during a game, which greatly reduces the difficulty of operation for the user, increases the variety of control methods for the virtual items, and improves the efficiency of human-computer interaction.

[0119] Preferably, the trigger operation includes, but is not limited to, a click operation, a long press operation, a double click operation, a voice command or a text command, etc., and embodiments of the present invention are not specifically limited thereto.

[0120] Preferably, the first launch function option is a graphic button or a function option in a menu bar, the graphic button being a circular button, a square button or an irregular button, the embodiment of the present invention is not specifically limited thereto.

[0121] Preferably, when the target virtual object fires at least two virtual item projectiles, taking the projectiles as bullets as an example, the bullets of each virtual item may be fired simultaneously, that is, a multi-shot mode of bullets may be adopted, one virtual item bullet may be fired until the bullets run out, and then another virtual item bullet may be fired until all the virtual items bullets run out, or a single-shot mode of bullets may be adopted, and the embodiment of the present invention is not specifically limited to the bullet firing mode.

[0122] Preferably, when a target virtual object launches a projectile of at least two virtual items, a current position of the target virtual object is taken as a starting point, a position corresponding to the starting sight of the target virtual object is taken as an ending point, a launch trajectory is formed based on parameters of at least two virtual items, the projectile is controlled to move along the launch trajectory in a virtual scene, and the moving process of the projectile is displayed. Here, the parameters of the virtual items include a range parameter, a caliber parameter, etc., the range parameter is used to represent the range of the virtual item, the caliber parameter is used to represent the muzzle size of the virtual item, and the size of the projectile of the virtual item may be represented.

[0123] In one exemplary scene, when the at least two virtual items are a rifle and a machine gun and the target virtual item is an enhanced rifle, a first firing function option is the fire button, and a user may trigger the fire button to control the target virtual object to use the target virtual item to simultaneously fire the bullets in the machine gun and the rifle until the bullets run out or the user triggers a separation command for the target virtual item.

[0124] Case 2: At least two virtual items include a projectile and a throwable item Preferably, the terminal displays a second launch function option and a throw function option of the target virtual item in the virtual scene, and in response to a trigger operation on the second launch function option, controls the target virtual object to use the target virtual item to launch a projectile of a shooting item of the at least two virtual items, and in response to a trigger operation on the throw function option, controls the target virtual object to use the target virtual item to throw a throwing item of the at least two virtual items.

[0125] When the at least two virtual items combined with the target virtual item include a shooting item and a throwing item, two different function options of the target virtual item can be used to trigger functions of different types of virtual items of the target virtual item, so that the user can simultaneously realize the virtual functions of the at least two virtual items when equipping the target virtual item, and does not need to frequently switch between virtual items used during the game, which greatly reduces the difficulty of the user's operation, increases the variety of control methods for the virtual items, and improves the efficiency of human-computer interaction.

[0126] Preferably, the trigger operation includes, but is not limited to, a click operation, a long press operation, a double click operation, a voice command or a text command, etc., and embodiments of the present invention are not specifically limited thereto.

[0127] Preferably, the second firing or throwing function option is a graphic button or a function option in a menu bar, and the graphic button can be a circular button, a square button, or an irregular button, although embodiments of the present invention are not specifically limited thereto.

[0128] Preferably, when the target virtual object fires a projectile of the shooting item, it may adopt a multi-shot mode or a single-shot mode, and the embodiment of the present invention is not specifically limited to the projectile firing mode.

[0129] Preferably, when a target virtual object uses a target virtual item to fire a shooting item projectile, the current position of the target virtual object is set as the start point, the position corresponding to the starting sight of the target virtual object is set as the end point, a firing trajectory is formed based on parameters of the shooting item, the projectile is controlled to move along the firing trajectory in the virtual scene, and the movement process of the projectile is displayed.

[0130] Preferably, when the target virtual object uses the target virtual item to throw a throwing item, a launch trajectory is formed based on the parameters of the throwing item, with the current position of the target virtual object as the starting point and the position corresponding to the starting sight of the target virtual object as the ending point, and the throwing item is controlled to move along the throwing trajectory in the virtual scene, and the movement process of the throwing item is displayed, where the parameters of the throwing item include weight, size, etc.

[0131] In one exemplary scene, when the at least two virtual items are a rifle and a grenade, and the target virtual item is a rifle with a grenade launcher, the second fire function option is a fire button and the throw function option is a special fire button, and the user controls the target virtual object to shoot the rifle by triggering the fire button, and controls the target virtual object to throw a grenade by triggering the special fire button.

[0132] Case 3: At least two virtual items include a shooting item and a cold weapon item Preferably, the terminal displays a third firing function option and a showdown function option of the target virtual item in the virtual scene, and in response to a trigger operation on the third firing function option, controls the target virtual object to use the target virtual item to fire a projectile of a shooting item of the at least two virtual items, and in response to a trigger operation on the showdown function option, controls the target virtual object to engage in a showdown using a cold weapon item of the at least two virtual items.

[0133] When the at least two virtual items combined with the target virtual item include a shooting item and a cold weapon item, two different function options of the target virtual item can trigger functions of different types of virtual items of the target virtual item, so that the user can simultaneously realize the virtual functions of the at least two virtual items when equipping the target virtual item, and does not need to frequently switch the virtual items used during the game, which greatly reduces the difficulty of the user's operation, increases the variety of control methods for the virtual items, and improves the efficiency of human-computer interaction.

[0134] Preferably, the trigger operation includes, but is not limited to, a click operation, a long press operation, a double click operation, a voice command or a text command, etc., and embodiments of the present invention are not specifically limited thereto.

[0135] Preferably, the third launch function option is a graphic button or a function option in a menu bar. The graphic button can be a circular button, a square button, or an irregular button, and the embodiment of the present invention is not specifically limited thereto.

[0136] Preferably, when the target virtual object uses the target virtual item to fire the projectile of the shooting item, a multi-shot mode or a single-shot mode may be adopted, and the embodiment of the present invention is not specifically limited to the bullet firing mode.

[0137] Preferably, when a target virtual object uses a target virtual item to fire a shooting item projectile, the current position of the target virtual object is set as the start point, the position corresponding to the starting sight of the target virtual object is set as the end point, a firing trajectory is formed based on parameters of the shooting item, the projectile is controlled to move along the firing trajectory in the virtual scene, and the movement process of the projectile is displayed.

[0138] Preferably, when the target virtual object uses a cold weapon item to fight, the current position of the target virtual object is set as a starting point, and the target virtual object is controlled to stab the cold weapon item from the starting point in the direction indicated by the joystick widget, and the movement process of the cold weapon item is displayed.

[0139] In one exemplary scene, when the at least two virtual items are a rifle and a dagger, and the target virtual item is a rifle with a dagger attached to the muzzle, the third firing function option is a firing button and the dueling function option is a special firing button, the user controls the target virtual object to shoot the rifle by triggering the firing button, and controls the target virtual object to perform a dueling action (e.g., a stabbing action) with the dagger by triggering the special firing button.

[0140] Case 4: At least two virtual items include a shooting item and a target projectile Preferably, the terminal displays a fourth fire function option and a fifth fire function option of the target virtual item in the virtual scene, and in response to a trigger operation on the fourth fire function option, controls the target virtual object to use the target virtual item to fire a projectile of a shooting item of the at least two virtual items, and in response to a trigger operation on the fifth fire function option, controls the target virtual object to use the target virtual item to fire the target projectile.

[0141] When at least two virtual items combining a target virtual item include a shooting item and a target projectile, two different function options of the target virtual item can be used to fire two different projectiles with two different shooting items, thereby enhancing the function of the virtual item in the virtual scene and enhancing the diversity of the virtual item. Thus, when a user equips a target virtual item, the virtual functions of at least two virtual items can be realized simultaneously, and the user does not need to frequently switch between virtual items used during a game, which greatly reduces the difficulty of the user's operation, increases the variety of control methods for the virtual items, and improves the efficiency of human-computer interaction.

[0142] Here, in response to a trigger operation for the fifth firing function option, the target virtual object is controlled to fire a projectile using the target virtual item, i.e., the target projectile is fired using the shooting item, and in this case, the projectile of the shooting item itself is not fired. For example, the projectile of the shooting item is a normal ammunition of the virtual firearm itself, and the target projectile is a special ammunition having combustion damage. In response to a trigger operation for the fourth firing function option, the target virtual object is controlled to fire a normal ammunition of the virtual firearm itself of the at least two virtual items using the target virtual item, and in response to a trigger operation for the fifth firing function option, the target virtual object is controlled to fire a special ammunition using the target virtual item.

[0143] Preferably, the trigger operation includes, but is not limited to, a click operation, a long press operation, a double click operation, a voice command or a text command, etc., and embodiments of the present invention are not specifically limited thereto.

[0144] Preferably, the fifth launch function option is a graphic button or a function option in a menu bar, and the graphic button can be a circular button, a square button, or an irregular button, although the embodiments of the present invention are not specifically limited thereto.

[0145] Preferably, when the target virtual object uses the target virtual item to fire a projectile of a shooting item, a multi-shot mode or a single-shot mode may be adopted, and the embodiment of the present invention is not specifically limited to the bullet firing mode.

[0146] Preferably, when a target virtual object uses a target virtual item to fire a shooting item projectile or a target projectile, a firing trajectory is formed based on parameters of the shooting item, with the current position of the target virtual object as the starting point and a position corresponding to the starting sight of the target virtual object as the end point, and the shooting item projectile or target projectile is controlled to move along the firing trajectory in the virtual scene, and the movement process of the projectile or target projectile is displayed.

[0147] In one exemplary scene, when the at least two virtual items are a rifle and special ammunition, and the target virtual item is a rifle loaded with both special and regular ammunition, the fourth fire function option is a fire button and the fifth fire function option is a special fire button, the user controls the target virtual object to fire the rifle with regular ammunition by triggering the fire button, and controls the target virtual object to fire the rifle with special ammunition by triggering the special fire button.

[0148] FIG. 10 is a schematic diagram of a target firing function option according to an embodiment of the present invention. As shown in FIG. 10, a target virtual object 1001 is displayed in a virtual scene 1000, and the target virtual object owns a shooting item and a target projectile. A user combines the shooting item and the target projectile to form a target virtual item by a first trigger operation. In this case, a fourth firing function option 1002 and a fifth firing function option 1003 of the target virtual item are further displayed in the virtual scene 1000. The fourth firing function option 1002 is used to control the target virtual object to use the target virtual item to fire the default projectile (i.e., normal ammunition) of the shooting item, and the fifth firing function option 1003 is used to control the target virtual object to use the target virtual item to fire the target projectile (i.e., special ammunition).

[0149] Step 407: The terminal obtains a separation command for the target virtual item in response to a second trigger operation for the target virtual item.

[0150] In some embodiments, two virtual items are combined to form a target virtual item. The second trigger operation is that the user presses the display widget of the target virtual item with two fingers simultaneously, and then performs a separation operation with the two fingers. That is, the separation operation is performed by the user pressing the display widget of the target virtual item, keeping the two fingers in contact with the screen, and separating the two fingers (i.e., dragging the two fingers along two different directions), that is, performing a relative movement of the two fingers apart.

[0151] The above process is described by taking two virtual items as an example to combine to form a target virtual item, but in reality, the number of at least two virtual items constituting the target virtual item is three or more, so the user may simultaneously press the display widget of the target virtual item with three or more fingers and drag it in three or more different directions respectively to realize the second trigger operation, and the embodiments of the present invention are not specifically limited thereto.

[0152] In some embodiments, the terminal detects a user's pressing operation on the display widget of the target virtual item by a pressure sensor arranged under the display, and when the pressing duration of the pressing operation exceeds a duration threshold, determines that the user's pressing operation on the display widget of the target virtual item has been detected. Furthermore, the pressure sensor continues to detect whether the user has performed a separation operation. Preferably, the method for detecting a separation operation includes the following steps: The pressure sensor determines a movement trajectory of a pressure point of a pressure operation performed by the user on the display widget of the target virtual item, and when the distance between each two end positions of the movement trajectories corresponding to a plurality of fingers is greater than a distance threshold (or the trajectory length of each movement trajectory is greater than a length threshold), determines that the user's separation operation on the target virtual item has been detected. Preferably, when the pressing operation and the separation operation are detected, determines that the user has performed a second trigger operation on the target virtual item.

[0153] In some embodiments, the terminal generates a separation instruction for the target virtual item based on the second trigger operation, the separation instruction including item identifiers of at least two virtual items constituting the target virtual item and separation instruction information for the target virtual item, the separation instruction information instructing to separate the target virtual item into at least two virtual items.

[0154] Step 408: In response to the separation command, the terminal plays an item separation animation, where the item separation animation is an animation in which the target virtual object separates the target virtual item into at least two virtual items.

[0155] In some embodiments, the terminal calls the playback widget of the application program to play the item separation animation, and configures the item separation animation with different contents according to the combination of different types of virtual items.

[0156] In some embodiments, a combination of two virtual items is taken as an example to form a target virtual item. In general, in a shooting game, a virtual item held by a target virtual object in a default state is called a main weapon, and a virtual item that needs to be switched when used is called a secondary weapon, and the terminal can combine the main weapon and the secondary weapon to form a target virtual item.

[0157] Preferably, when both the primary weapon and secondary weapon are shooting items, the item separation animation is as follows: the target virtual object uses both hands to separate the target virtual items, puts one of the shooting items (usually a secondary weapon, e.g., a machine gun) into a bag on its back, and returns to a state in which it holds the other shooting item (usually a primary weapon, e.g., a rifle). In this way, the separation operation of the target virtual item is completed.

[0158] Preferably, if the primary weapon is a shooting item and the secondary weapon is a throwing item, the item separation animation is as follows: the target virtual object takes the throwing item (e.g., a grenade) from the slot under the muzzle of the shooting item (e.g., a rifle), puts the throwing item into the bag on its back, and returns to a state in which it only has the shooting item. In this way, the separation operation of the target virtual item is completed.

[0159] Preferably, when the primary weapon is a shooting item and the secondary weapon is a cold weapon item, the item separation animation is as follows: the target virtual object takes out the cold weapon item (e.g., a dagger) from the slot under the muzzle of the shooting item (e.g., a rifle), puts the cold weapon item into the bag on its back, and returns to a state in which it only has the shooting item. In this way, the separation operation of the target virtual item is completed.

[0160] Preferably, when the primary weapon is a shooting item and the secondary weapon is a target projectile, the item separation animation is as follows: the target virtual object takes the target projectile (e.g., special ammunition such as special ammunition) from the magazine of the shooting item (e.g., a rifle), puts the target projectile into the bag on its back, and returns to a state in which it only has the shooting item. In this way, the separation operation of the target virtual item is completed.

[0161] In one preferred embodiment of the above step 408, i.e., the terminal responds to the separation command to separate the target virtual item to obtain at least two virtual items, the terminal displays the separation process of the target virtual item in the front end by playing an item separation animation, thereby realizing efficient interaction with the user and improving the efficiency of human-computer interaction. In some other embodiments, the terminal may perform the separation process of the target virtual item in the back end, in which case there is no need to play the item separation animation, and displays the display widgets of the at least two separated virtual items directly in response to the second trigger operation.

[0162] In the above steps 407-408, the terminal generates a separation command based on the second trigger operation, and separates the target virtual item into at least two virtual items based on the separation command, thereby ensuring that the original virtual functions of the at least two virtual items are still maintained even after the target virtual item is separated into the at least two virtual items.

[0163] Note that in this embodiment of the present invention, in response to the second trigger operation, a separation command is first obtained, and then an item separation animation is played based on the separation command, but in another embodiment, there is no need to execute steps 407-408, and another method is adopted to play an item separation animation in response to the second trigger operation for the target virtual item.

[0164] In addition, in the embodiment of the present invention, in response to the second trigger operation, a separation command is first obtained, and then an item separation animation is played based on the separation command. In another embodiment, there is no need to perform steps 407-408, and another method is adopted to separate the target virtual item to obtain at least two virtual items in response to the second trigger operation on the target virtual item. In the above separation process, if the second trigger operation on the target virtual item is detected and the user indicates that he or she wants to separate the target virtual item into at least two virtual items, the target virtual item is directly separated. In this way, the terminal does not need to perform an interaction between the terminal and the server to separate the target virtual item through the interaction, and can quickly obtain at least two separated virtual items, so that the communication overhead between the terminal and the server can be saved and the efficiency of human-computer interaction can be improved.

[0165] Step 409: The terminal sends a separation command for the target virtual item to the server.

[0166] In some embodiments, after the terminal completes splitting the target virtual item into at least two virtual items, it needs to synchronize the splitting operation with the server, so the terminal may send the split command of step 407 above to the server.

[0167] Step 410: The terminal displays that the target virtual object is equipped with any one of the at least two virtual items as a shooting item according to confirmation information for the separation command by the server.

[0168] Here, the confirmation information indicates that the server has confirmed that the target virtual item is to be separated into at least two virtual items. In an embodiment of the present invention, the target virtual item is obtained by combining at least two virtual items, and the at least two virtual items include at least one shooting item. After the target virtual item is separated, the target virtual object has the at least two virtual items and is equipped with any one of the shooting items of the at least two virtual items. Preferably, the shooting item is a shooting item equipped before the target virtual object combines the at least two virtual items. Preferably, after the target virtual item is separated, the virtual object is equipped with any one of the shooting items of the at least two virtual items, and the remaining virtual items are stored in the bag of the target virtual object. A separation command for the target virtual item is sent to the server via the terminal, and only when the server confirms that the target virtual item is to be separated into at least two virtual items, it is displayed that the target virtual object is equipped with a shooting item among the virtual items after separation, thereby ensuring data synchronization between the terminal and the server.

[0169] In some embodiments, the server records the separation command and stores the motion information of the target virtual object for separating the target virtual item into at least two virtual items. The motion information needs to be synchronized with other terminals participating in the game. Preferably, a frame synchronization technique may be used when synchronizing the information.

[0170] In the above steps 409-410, the operation of the terminal to control the target virtual object to separate the target virtual item into at least two virtual items needs to be confirmed by the server. Otherwise, if the server returns rejection information to the separation command, it means that the target virtual object fails to separate the target virtual item into at least two virtual items, and still maintains the state of equipping the target virtual item. In this case, display separation failure presentation information in the virtual scene, and the separation failure presentation information is used to prompt the user to perform the second trigger operation again.

[0171] All the above preferred aspects may be arbitrarily combined to form the preferred embodiments of the present disclosure, the description of which is omitted here.

[0172] The method according to the embodiment of the present invention provides an interaction method of combining at least two virtual items to form a new target virtual item, so that a user does not need to frequently switch between virtual items used in a game, and can realize a new virtual function of the target virtual item when the target virtual item is equipped, thereby greatly reducing the user's operation difficulty, increasing the variety of control methods for virtual items, and improving the efficiency of human-computer interaction.

[0173] 11 is a schematic diagram of the principle of a method for displaying virtual items according to an embodiment of the present invention. As shown in 1100, for example, two virtual weapons in an FPS game are combined to form a combined weapon. In this embodiment, the method includes the following steps:

[0174] Step 1: The user pinches two fingers together on the weapon and ammo buttons.

[0175] Step 2: The device plays the item combination animation.

[0176] Step 3: The terminal synchronizes the item combination operation with the server.

[0177] Step 4: The server returns the combination operation result to the terminal.

[0178] Step 5: The device will display the gun combination possession effect.

[0179] Step 6: The user presses the combination fire button.

[0180] Step 7: The terminal synchronizes the combination shooting operation with the server.

[0181] Step 8: The server returns the combined shooting result to the terminal.

[0182] Step 9: The device will play the combination shooting animation.

[0183] Step 10: The user presses the combined weapon buttons with two fingers and drags them apart.

[0184] Step 11: The device plays the item separation animation.

[0185] Step 12: The terminal synchronizes the item separation operation with the server.

[0186] Step 13: The server returns the separation operation result to the terminal.

[0187] Step 14: The device will display the normal gun possession effect.

[0188] In the embodiment of the present invention, the user can quickly realize the function of weapon combination and separation during the game by pinching and separating two fingers during the game, and the animation of the weapon combination and weapon separation by the character is displayed in real time during the game, so as to meet the need of performing the weapon combination and weapon separation in real time during the game. The combination command and the separation command can be easily and quickly issued by pinching and separating two fingers. This operation method has low operation difficulty, low complexity, and is very convenient for the user, so that the user experience can be greatly improved.

[0189] 12 is a schematic diagram of the configuration of a virtual item display device according to an embodiment of the present invention. As shown in FIG. 12, the device includes the following modules:

[0190] The first display module 1201 displays a target virtual object in a virtual scene. The target virtual object has a plurality of virtual items, and each of the plurality of virtual items has a virtual function.

[0191] The second display module 1202 displays a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the target virtual item being obtained by combining the at least two virtual items, and the target virtual item having a new virtual function different from the virtual functions of the at least two virtual items.

[0192] An apparatus according to an embodiment of the present invention provides an interaction method of combining at least two virtual items to form a new target virtual item, so that a user does not need to frequently switch virtual items used in a game, and can realize a new virtual function of the target virtual item when the target virtual item is equipped, thereby greatly reducing the difficulty of user operation, increasing the variety of control methods for virtual items, and improving the efficiency of human-computer interaction.

[0193] In one preferred embodiment, based on the configuration of the device in FIG. 12, the second display module 1202 includes the following units:

[0194] The acquisition unit acquires the target virtual item in response to the first trigger operation.

[0195] The equipment control unit displays, in the virtual scene, that the target virtual object is equipped with the target virtual item.

[0196] In one preferred embodiment, based on the configuration of the apparatus in FIG. 12, the acquisition unit includes an acquisition subunit.

[0197] The acquisition subunit, in response to a first trigger operation, combines at least two virtual items to acquire the target virtual item.

[0198] In one preferred embodiment, based on the configuration of the device of FIG. 12, the device transmits combination instructions for at least two virtual items to a server.

[0199] The equipment control unit displays that the target virtual object is equipped with the target virtual item based on the confirmation information for the combination command by the server.

[0200] In one preferred embodiment, the first display module displays display widgets of a plurality of virtual items owned by the target virtual object.

[0201] The second display module displays a target virtual item in the virtual scene in response to a pinch-in operation on the display widgets of the at least two virtual items.

[0202] In one preferred embodiment, in response to a first trigger operation, the second display module sends operation information of the first trigger operation to the server, where the operation information instructs to combine at least two virtual items, obtains a target virtual item sent by the server based on the operation information, and displays the target virtual item in the virtual scene.

[0203] In one preferred embodiment, the second display module plays an item combination animation in response to the first trigger operation, the item combination animation being an animation in which the target virtual object combines at least two virtual items into the target virtual item.

[0204] In one preferred embodiment, the at least two virtual items are both fireable items. The first display module 1201 displays a first firing function option of a target virtual item in the virtual scene.

[0205] Based on the configuration of the device in FIG. 12 , the device further includes a launch control module that controls the target virtual object to simultaneously launch at least two virtual item projectiles using the target virtual item in response to a trigger operation on the first launch function option.

[0206] In one preferred embodiment, the at least two virtual items include a shooting item and a throwing item. The first display module 1201 displays a second firing function option and a throwing function option of the target virtual item in the virtual scene.

[0207] Based on the configuration of the device in FIG. 12, the device further includes a launch control module that controls the target virtual object to use the target virtual item to launch a projectile of a shooting item of the at least two virtual items in response to a trigger operation for the second launch function option, and a throw control module that controls the target virtual object to use the target virtual item to throw a throwing item of the at least two virtual items in response to a trigger operation for the throw function option.

[0208] In one preferred embodiment, the at least two virtual items include a shooting item and a cold weapon item. The first display module 1201 displays a third firing function option and a duel function option of the target virtual item in the virtual scene.

[0209] Based on the configuration of the device in FIG. 12 , the device further includes a launch control module that controls the target virtual object to use the target virtual item to launch a projectile of a shooting item among the at least two virtual items in response to a trigger operation for the third launch function option, and a showdown control module that controls the target virtual object to engage in a showdown using a cold weapon item among the at least two virtual items in response to a trigger operation for the showdown function option.

[0210] In one preferred embodiment, the at least two virtual items include a shooting item and a target projectile. The first display module 1201 displays a fourth firing function option and a fifth firing function option of the target virtual item in the virtual scene.

[0211] Based on the configuration of the device in FIG. 12 , the device further includes a launch control module that controls, in response to a trigger operation for a fourth launch function option, a target virtual object to use the target virtual item to launch a projectile of a shooting item of the at least two virtual items, and in response to a trigger operation for a fifth launch function option, controls the target virtual object to use the target virtual item to launch a target projectile.

[0212] In one preferred embodiment, based on the configuration of the device of FIG. 12, the device further includes an acquisition module that separates the target virtual item and acquires at least two virtual items in response to a second trigger operation on the target virtual item.

[0213] In one preferred embodiment, based on the configuration of the device in FIG. 12, the device further includes a sending module for sending a detachment command for the target virtual item to the server.

[0214] The second display module displays that the target virtual object is equipped with any one of the at least two virtual items as a shooting item based on confirmation information for the separation command from the server.

[0215] In one preferred aspect, the device further includes a separation module that plays an item separation animation in response to a second trigger operation on the target virtual item, the item separation animation being an animation in which the target virtual object separates the target virtual item into at least two virtual items.

[0216] All the above preferred aspects may be arbitrarily combined to form the preferred embodiments of the present disclosure, the description of which is omitted here.

[0217] In one preferred embodiment, the multiple virtual items each have an interaction function, the interaction function being a function by which a target virtual object uses the virtual item to interact with other virtual objects in the virtual scene, and the target virtual item has a new interaction function that is different from the interaction functions of at least two of the virtual items.

[0218] It should be noted that when the virtual item display device according to the above embodiment displays a virtual item, the above division of the functional modules is simply described as an example. In actual application, the above functions may be assigned to different functional blocks as necessary. That is, the internal structure of the electronic device may be divided into various functional modules to execute all or part of the above functions. In addition, the virtual item display device according to the above embodiment belongs to the same concept as the virtual item display method, and the specific implementation process may refer to the embodiment of the virtual item display method, and the description thereof will be omitted here.

[0219] 13 is a schematic diagram of a terminal according to an embodiment of the present invention. The terminal is an example of an electronic device. In general, a terminal 1300 includes a processor 1301 and a memory 1302.

[0220] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), and a PLA (Programmable Logic Array). In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is used to render and draw content that needs to be displayed on a display screen.

[0221] Memory 1302 may include one or more computer readable storage media, which may be non-transitory. In some embodiments, the non-transitory computer readable storage media in memory 1302 is used to store at least one program code, which is executed by processor 1301 to implement a method for displaying a virtual item according to an embodiment of the present invention.

[0222] In some embodiments, the terminal 1300 may preferably further include a peripheral interface 1303 and at least one peripheral. The processor 1301, the memory 1302, and the peripheral interface 1303 may be connected via a bus or signal lines. Each peripheral may be connected to the peripheral interface 1303 via a bus, signal lines, or a circuit board. Specifically, the peripherals include at least one of a radio frequency circuit 1304, a display screen 1305, a camera component 1306, an audio circuit 1307, and a power source 1308.

[0223] The peripheral interface 1303 may be used to connect at least one peripheral associated with I / O (Input / Output) to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral interface 1303 are integrated on the same chip or circuit board. In other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral interface 1303 may be implemented on a single chip or circuit board, although this embodiment is not limited thereto.

[0224] The radio frequency circuit 1304 is used to transmit and receive RF (Radio Frequency) signals, also referred to as electromagnetic signals. The radio frequency circuit 1304 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1304 converts electrical signals into electromagnetic signals for transmission or converts received electromagnetic signals into electrical signals. Preferably, the radio frequency circuit 1304 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user ID module card, etc. Preferably, the radio frequency circuit 1304 can communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to, metropolitan area networks, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area networks and / or WiFi (Wireless Fidelity) networks. In some embodiments, radio frequency circuitry 1304 may include circuitry related to Near Field Communication (NFC), although the invention is not so limited.

[0225] The display screen 1305 is used to display a user interface (UI). The UI may include graphics, text, icons, videos, and any combination thereof. If the display screen 1305 is a touch display screen, it has the ability to capture touch signals on or above the surface of the display screen 1305. The touch signals may be input to the processor 1301 as control signals for processing. Preferably, the display screen 1305 is used to provide virtual buttons and / or virtual keyboards, also referred to as soft buttons and / or soft keyboards. In some embodiments, one display screen 1305 may be located on the front panel of the terminal 1300. In some other embodiments, at least two display screens 1305 may be located on different surfaces of the terminal 1300, or may be designed to fold. In still other embodiments, the display screen 1305 may be a flexible display screen located on a curved or folding surface of the terminal 1300. The display screen 1305 may also be configured as a non-rectangular irregular shape, i.e., a special shaped screen. The display screen 1305 may be formed of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.

[0226] The camera component 1306 is used to capture images or videos. Preferably, the camera component 1306 includes a front camera and a rear camera. Typically, the front camera is used to realize video calls and selfies, and the rear camera is used to realize photos and videos. In some embodiments, the rear camera is at least two of the main camera, the depth of field camera, the wide-angle camera, and the telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize background blur function. The main camera is fused with the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting functions. In some embodiments, the camera component 1306 may further include a flash. The flash may be a single color temperature flash or a dual color temperature flash. The dual color temperature flash means a combination of a warm light flash and a cold light flash, and may be used for light compensation at various color temperatures.

[0227] In some embodiments, the audio circuit 1307 may include a microphone and a speaker. The microphone is used to capture sound waves of the user and the environment, convert the sound waves into electrical signals and input them to the processor 1301 for processing, or to the radio frequency circuit 1304 to realize voice communication. For stereo acquisition or noise reduction, multiple microphones may be disposed in different parts of the terminal 1300, respectively. The microphone may be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 1301 or the radio frequency circuit 1304 into sound waves. Preferably, the speaker may be a conventional thin-film speaker or a piezoelectric ceramic speaker. If the speaker is a piezoelectric ceramic speaker, it may not only convert electrical signals into human audible sound waves, but also convert electrical signals into human inaudible sound waves for distance measurement, etc. In some embodiments, the audio circuit 1307 may further include a headphone jack.

[0228] The power source 1308 is used to supply power to each component in the terminal 1300. The power source 1308 may be an AC, DC, a primary battery, or a rechargeable battery. If the power source 1308 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The rechargeable battery may support a fast charging technology.

[0229] In some embodiments, the terminal 1300 further includes one or more sensors 1309, including, but not limited to, an acceleration sensor 1310, a gyroscope sensor 1311, a pressure sensor 1312, a fingerprint sensor 1313, an optical sensor 1314, and a proximity sensor 1315.

[0230] In some embodiments, the acceleration sensor 1310 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established by the terminal 1300. For example, the acceleration sensor 1310 may be used to detect components of gravitational acceleration on three coordinate axes. The processor 1301 may control the display screen 1305 to display a user interface in a horizontal view or a vertical view based on the gravitational acceleration signal collected by the acceleration sensor 1310. The acceleration sensor 1310 may be used to collect game or user movement data.

[0231] In some embodiments, the gyroscope sensor 1311 may detect the orientation and rotation angle of the body of the terminal 1300. The gyroscope sensor 1311 may cooperate with the acceleration sensor 1310 to collect a 3D motion of a user on the terminal 1300. The processor 1301 may realize motion sensing (e.g., changing a UI according to a user's tilt operation), image stabilization during shooting, game control, and inertial navigation based on the data collected by the gyroscope sensor 1311.

[0232] The pressure sensor 1312 may be arranged on a side frame of the terminal 1300 and / or under the display screen 1305. When the pressure sensor 1312 is arranged on a side frame of the terminal 1300, it may detect a gripping signal of a user of the terminal 1300 and recognize a left or right hand based on the gripping signal, or perform a shortcut operation. When the pressure sensor 1312 is arranged on a lower layer of the display screen 1305, it may control an operable widget in the UI interface according to a pressure operation of the user on the display screen 1305. The operable widget includes at least one of a button widget, a scroll bar widget, an icon widget, and a menu widget.

[0233] The fingerprint sensor 1313 collects a fingerprint of a user. The processor 1301 identifies the user's ID according to the fingerprint collected by the fingerprint sensor 1313, or the fingerprint sensor 1313 identifies the user's ID according to the collected fingerprint. If the identified user's ID is a trusted ID, the processor 1301 allows the user to perform related confidential operations, including unlocking the screen, displaying encrypted information, downloading software, making payments, and changing settings. Preferably, the fingerprint sensor 1313 may be located on the front, back, or side of the terminal 1300. If the terminal 1300 is provided with a physical button or a manufacturer's logo, the fingerprint sensor 1313 may be integrated with the physical button or the manufacturer's logo.

[0234] The optical sensor 1314 is used to collect the ambient light intensity. In one embodiment, the processor 1301 may control the display brightness of the display screen 1305 based on the ambient light intensity collected by the optical sensor 1314. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1305 is increased, and when the ambient light intensity is low, the display brightness of the display screen 1305 is decreased. In another embodiment, the processor 1301 may dynamically adjust the shooting parameters of the camera component 1306 based on the ambient light intensity collected by the optical sensor 1314.

[0235] The proximity sensor 1315, also called a distance sensor, is typically located on the front of the terminal 1300. The proximity sensor 1315 is used to collect the distance between the user and the front of the terminal 1300. In one embodiment, when the proximity sensor 1315 detects that the distance between the user and the front of the terminal 1300 is gradually decreasing, the processor 1301 controls the display screen 1305 to switch from an on-screen state to an off-screen state. When the proximity sensor 1315 detects that the distance between the user and the front of the terminal 1300 is gradually increasing, the processor 1301 controls the display screen 1305 to switch from an off-screen state to an on-screen state.

[0236] It should be understood by those skilled in the art that terminal 1300 is not limited to the configuration shown in FIG. 13 and may include more or fewer components than those shown, may combine certain components, or may employ a different arrangement of components.

[0237] FIG. 14 is a schematic diagram of the configuration of an electronic device according to an embodiment of the present invention. The electronic device 1400 may vary greatly due to different configurations or performances. The electronic device 1400 includes one or more processors (Central Processing Units: CPU) 1401 and one or more memories 1402. Here, the memory 1402 stores at least one computer program, which is loaded and executed by the one or more processors 1401 to realize the display method of a virtual item according to each of the above embodiments. Preferably, the electronic device 1400 further includes components such as a wired or wireless network interface, a keyboard, and an input / output interface for input and output, and the electronic device 1400 further includes other components for realizing the device functions, but the description thereof is omitted here.

[0238] An embodiment of the present invention further provides an electronic device including one or more processors and one or more memories, wherein the one or more memories have stored therein at least one computer program, the at least one computer program being loaded and executed by the processor to realize the steps of: displaying a target virtual object in a virtual scene, the target virtual object having a plurality of virtual items, each of the plurality of virtual items having a virtual function; and displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the target virtual item being obtained by combining the at least two virtual items, the target virtual item having a new virtual function different from the virtual functions of the at least two virtual items.

[0239] Preferably, the at least one computer program is loaded and executed by the processor to achieve the steps of: acquiring a target virtual item in response to a first trigger operation; and displaying, in the virtual scene, that a target virtual object is equipped with the target virtual item.

[0240] Preferably, the at least one computer program is loaded and executed by the processor to implement the step of combining at least two virtual items to obtain a target virtual item in response to a first trigger operation.

[0241] Preferably, the at least one computer program is loaded and executed by the processor to realize the step of sending a combination instruction for at least two virtual items to a server, and the step of displaying in the virtual scene that a target virtual object is equipped with the target virtual item includes the step of displaying that the target virtual object is equipped with the target virtual item based on confirmation information for the combination instruction by the server.

[0242] Preferably, the at least one computer program is loaded and executed by a processor to realize a step of displaying display widgets of a plurality of virtual items owned by a target virtual object, wherein displaying the target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items includes displaying the target virtual item in the virtual scene in response to a pinch-in operation on the display widgets of the at least two virtual items.

[0243] Preferably, the at least one computer program is loaded and executed by the processor to realize the steps of: in response to a first trigger operation, sending operation information of the first trigger operation to the server, the operation information instructing to combine at least two virtual items; and obtaining a target virtual item sent by the server based on the operation information, and displaying the target virtual item in the virtual scene.

[0244] Preferably, the at least one computer program is loaded and executed by the processor to realize a step of playing an item combination animation in response to a first trigger operation, the item combination animation being an animation of a target virtual object combining at least two virtual items into a target virtual item.

[0245] Preferably, the at least two virtual items are both shootable items, and the at least one computer program is loaded and executed by the processor to achieve the steps of: displaying a first firing function option of a target virtual item in the virtual scene; and controlling a target virtual object to simultaneously fire projectiles of the at least two virtual items using the target virtual item in response to a trigger operation on the first firing function option.

[0246] Preferably, the at least two virtual items include a shooting item and a throwing item, and the at least one computer program is loaded and executed by the processor to realize the steps of: displaying a second firing function option and a throwing function option of a target virtual item in the virtual scene; controlling a target virtual object to use the target virtual item to fire a projectile of the shooting item of the at least two virtual items in response to a trigger operation on the second firing function option; and controlling a target virtual object to use the target virtual item to throw the throwing item of the at least two virtual items in response to a trigger operation on the throwing function option.

[0247] Preferably, the at least two virtual items include a shooting item and a cold weapon item, and the at least one computer program is loaded and executed by the processor to realize the steps of: displaying a third firing function option and a showdown function option of the target virtual item in the virtual scene; in response to a trigger operation on the third firing function option, controlling the target virtual object to use the target virtual item to fire a projectile of the shooting item of the at least two virtual items; and in response to a trigger operation on the showdown function option, controlling the target virtual object to engage in a showdown using the cold weapon item of the at least two virtual items.

[0248] Preferably, the at least two virtual items include a shooting item and a target projectile, and the at least one computer program is loaded and executed by the processor to realize the steps of: displaying a fourth firing function option and a fifth firing function option of the target virtual item in the virtual scene; in response to a trigger operation on the fourth firing function option, controlling a target virtual object to use the target virtual item to fire a projectile of the shooting item of the at least two virtual items; and in response to a trigger operation on the fifth firing function option, controlling a target virtual object to use the target virtual item to fire the target projectile.

[0249] Preferably, the at least one computer program is loaded and executed by the processor to implement a step of separating the target virtual item to obtain at least two virtual items in response to a second trigger operation on the target virtual item.

[0250] Preferably, the at least one computer program is loaded and executed by the processor to realize the steps of: sending a separation command for the target virtual item to the server; and displaying that the target virtual object is equipped with any one of the at least two virtual items as a shooting item based on confirmation information for the separation command by the server.

[0251] Preferably, the at least one computer program is loaded and executed by the processor to realize a step of playing an item separation animation in response to a second trigger operation on the target virtual item, the item separation animation being an animation in which the target virtual object separates the target virtual item into at least two virtual items.

[0252] Preferably, each of the multiple virtual items has an interaction function, the interaction function being a function by which a target virtual object uses the virtual item to interact with other virtual objects in the virtual scene, and the target virtual item has a new interaction function different from the interaction functions of at least two of the virtual items.

[0253] An exemplary embodiment further provides a storage medium having at least one computer program stored thereon, the at least one computer program being executed by a processor in the terminal to realize the steps of: displaying a target virtual object in a virtual scene, the target virtual object having a plurality of virtual items, each of the plurality of virtual items having a virtual function; and displaying a target virtual item in the virtual scene in response to a first trigger operation for at least two virtual items of the plurality of virtual items, the target virtual item being obtained by combining the at least two virtual items, the target virtual item having a new virtual function different from the virtual functions of the at least two virtual items.

[0254] For example, the computer-readable storage medium includes ROM (Read-Only Memory), RAM (Random-Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, optical data storage device, and the like.

[0255] Preferably, the at least one program code is loaded and executed by a processor of the electronic device to achieve the steps of: acquiring a target virtual item in response to a first trigger operation; and displaying, in the virtual scene, that a target virtual object is equipped with the target virtual item.

[0256] Preferably, the at least one program code is loaded and executed by a processor of the electronic device to realize a step of combining at least two virtual items to obtain a target virtual item in response to a first trigger operation.

[0257] Preferably, the at least one program code is loaded and executed by a processor of the electronic device to realize a step of sending a combination command for at least two virtual items to a server, and the step of displaying in the virtual scene that the target virtual object is equipped with the target virtual item includes the step of displaying that the target virtual object is equipped with the target virtual item based on confirmation information for the combination command by the server.

[0258] Preferably, the at least one program code is loaded and executed by a processor of the electronic device to realize a step of displaying display widgets of a plurality of virtual items owned by a target virtual object, wherein displaying the target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items includes displaying the target virtual item in the virtual scene in response to a pinch-in operation on the display widgets of the at least two virtual items.

[0259] Preferably, the at least one program code is loaded and executed by a processor of the electronic device to realize the steps of: in response to a first trigger operation, sending operation information of the first trigger operation to a server, the operation information instructing to combine at least two virtual items; and obtaining a target virtual item sent by the server based on the operation information, and displaying the target virtual item in a virtual scene.

[0260] Preferably, the at least one program code is loaded and executed by a processor of the electronic device to realize a step of playing an item combination animation in response to a first trigger operation, the item combination animation being an animation of a target virtual object combining at least two virtual items into a target virtual item.

[0261] Preferably, the at least two virtual items are both shootable items, and the at least one program code is loaded and executed by a processor of the electronic device to achieve the steps of: displaying a first firing function option of a target virtual item in a virtual scene; and controlling a target virtual object to simultaneously fire projectiles of the at least two virtual items using the target virtual item in response to a trigger operation on the first firing function option.

[0262] Preferably, the at least two virtual items include a shooting item and a throwing item, and the at least one program code is loaded and executed by a processor of the electronic device to realize the steps of: displaying a second firing function option and a throwing function option of the target virtual item in the virtual scene; controlling the target virtual object to use the target virtual item to fire a projectile of the shooting item of the at least two virtual items in response to a trigger operation on the second firing function option; and controlling the target virtual object to use the target virtual item to throw the throwing item of the at least two virtual items in response to a trigger operation on the throwing function option.

[0263] Preferably, the at least two virtual items include a shooting item and a cold weapon item, and the at least one program code is loaded and executed by a processor of the electronic device to realize the steps of: displaying a third fire function option and a showdown function option of the target virtual item in the virtual scene; in response to a trigger operation on the third fire function option, controlling the target virtual object to use the target virtual item to fire a projectile of the shooting item of the at least two virtual items; and in response to a trigger operation on the showdown function option, controlling the target virtual object to engage in a showdown using the cold weapon item of the at least two virtual items.

[0264] Preferably, the at least two virtual items include a shooting item and a target projectile, and the at least one program code is loaded and executed by a processor of the electronic device to realize the steps of: displaying a fourth firing function option and a fifth firing function option of the target virtual item in the virtual scene; in response to a trigger operation on the fourth firing function option, controlling the target virtual object to use the target virtual item to fire a projectile of the shooting item of the at least two virtual items; and in response to a trigger operation on the fifth firing function option, controlling the target virtual object to use the target virtual item to fire the target projectile.

[0265] Preferably, the at least one program code is loaded and executed by a processor of the electronic device to implement a step of separating the target virtual item to obtain at least two virtual items in response to a second trigger operation on the target virtual item.

[0266] Preferably, the at least one program code is loaded and executed by a processor of the electronic device to realize the steps of: sending a separation command for the target virtual item to a server; and displaying that the target virtual object is equipped with any one of the at least two virtual items as a shooting item based on confirmation information for the separation command by the server.

[0267] Preferably, the at least one program code is loaded and executed by a processor of the electronic device to realize a step of playing an item separation animation in response to a second trigger operation on the target virtual item, the item separation animation being an animation in which the target virtual object separates the target virtual item into at least two virtual items.

[0268] Preferably, each of the multiple virtual items has an interaction function, the interaction function being a function by which a target virtual object uses the virtual item to interact with other virtual objects in the virtual scene, and the target virtual item has a new interaction function different from the interaction functions of at least two of the virtual items.

[0269] In an exemplary embodiment, a computer program product or computer program product is provided, the computer program product or computer program product including one or more computer codes stored on a computer-readable storage medium, the one or more processors of the electronic device reading and executing the one or more computer codes from the computer-readable storage medium to perform the method for displaying a virtual item in the electronic device.

[0270] As can be understood by those skilled in the art, all or part of the steps in the above embodiments may be realized by hardware, or may be realized by instructing relevant hardware to execute through a program. The program may be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, etc.

[0271] The above only describes the exemplary embodiments of the present invention, and does not limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention are included within the protection scope of the present invention.

Claims

1. 1. A method for displaying a virtual item, executed by an electronic device, comprising: displaying a target virtual object in a virtual scene, the target virtual object having a plurality of virtual items, each of the plurality of virtual items having a virtual function; displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the target virtual item being obtained by combining the at least two virtual items, the target virtual item having a new virtual function different from the virtual functions of the at least two virtual items; and displaying virtual buttons of functional options for controlling the target virtual item in the virtual scene.

2. displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, acquiring the target virtual item in response to the first trigger operation; and displaying, in the virtual scene, the target virtual object equipped with the target virtual item.

3. The step of acquiring the target virtual item in response to the first trigger operation includes: The method of claim 2 , comprising combining the at least two virtual items to obtain the target virtual item in response to the first trigger operation.

4. After acquiring the target virtual item in response to the first trigger operation, sending a combination instruction for the at least two virtual items to a server; The step of displaying, in the virtual scene, that the target virtual object is equipped with the target virtual item includes: The method according to claim 2 or 3, comprising: displaying that the target virtual object is equipped with the target virtual item based on confirmation information for the combination command by a server.

5. displaying a display widget of the plurality of virtual items owned by the target virtual object; displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, The method of claim 1 , further comprising: displaying the target virtual item in the virtual scene in response to a pinch-in operation on a display widget of the at least two virtual items.

6. displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, In response to the first trigger operation, transmitting operation information of the first trigger operation to a server, the operation information instructing to combine the at least two virtual items; The method according to claim 1 , further comprising: acquiring the target virtual item transmitted by the server based on the operation information; and displaying the target virtual item in the virtual scene.

7. displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, 7. The method of claim 1, further comprising: playing an item combination animation in response to the first trigger operation, the item combination animation being an animation in which the target virtual object combines the at least two virtual items into the target virtual item.

8. the at least two virtual items are both shooting items; After displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the method further comprises: displaying a first launch function option for the target virtual item in the virtual scene; The method of claim 1 , further comprising: controlling the target virtual object to simultaneously launch projectiles of the at least two virtual items using the target virtual item in response to a trigger operation on the first launch function option.

9. the at least two virtual items include a shootable item and a throwable item; After displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the method further comprises: displaying a second launch function option and a throw function option for the target virtual item in the virtual scene; In response to a trigger operation on the second firing function option, controlling the target virtual object to fire a projectile of a shooting item of the at least two virtual items using the target virtual item; The method according to claim 1 , further comprising: controlling the target virtual object to use the target virtual item to throw a throwing item among the at least two virtual items in response to a trigger operation on the throw function option.

10. the at least two virtual items include a shooting item and a cold weapon item; After displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the method further comprises: displaying a third launch function option and a duel function option of the target virtual item in the virtual scene; In response to a trigger operation on the third firing function option, controlling the target virtual object to fire a projectile of a shooting item of the at least two virtual items using the target virtual item; The method according to claim 1 , further comprising: in response to a trigger operation on the confrontation function option, controlling the target virtual object to engage in a confrontation using a cold weapon item of the at least two virtual items.

11. the at least two virtual items include a shootable item and a target projectile; After displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the method further comprises: displaying a fourth fire function option and a fifth fire function option of the target virtual item in the virtual scene; In response to a trigger operation on the fourth firing function option, controlling the target virtual object to fire a projectile of a shooting item of the at least two virtual items using the target virtual item; The method of claim 1 , further comprising: in response to a trigger operation on the fifth fire function option, controlling the target virtual object to fire the target projectile using the target virtual item.

12. displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items; The method of claim 1 , further comprising the step of: in response to a second trigger operation on the target virtual item, separating the target virtual item to obtain the at least two virtual items.

13. in response to a second trigger operation on the target virtual item, separating the target virtual item to obtain the at least two virtual items; sending a detachment command for the target virtual item to a server; The method of claim 12 , further comprising: displaying that the target virtual object is equipped with a shooting item of any of the at least two virtual items based on confirmation information for the separation command by a server.

14. displaying a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items; 14. The method of claim 1, further comprising: playing an item separation animation in response to a second trigger operation on the target virtual item, the item separation animation being an animation in which the target virtual object separates the target virtual item into the at least two virtual items.

15. each of the plurality of virtual items has an interaction function; The interaction function is a function in which the target virtual object uses the virtual item to interact with other virtual objects in the virtual scene; The method of claim 1 , wherein the target virtual item has a new interaction function that is different from the interaction functions of the at least two virtual items.

16. A display device for a virtual item, comprising: A first display module for displaying a target virtual object in a virtual scene, the target virtual object having a plurality of virtual items, each of the plurality of virtual items having a virtual function; a second display module configured to display a target virtual item in the virtual scene in response to a first trigger operation on at least two virtual items of the plurality of virtual items, the target virtual item being obtained by combining the at least two virtual items, the target virtual item having a new virtual function different from the virtual functions of the at least two virtual items; and a third display module that displays virtual buttons of functional options for controlling the target virtual item in the virtual scene.

17. An electronic device including one or more processors and one or more memories, the one or more memories storing at least one computer program; 16. An electronic device, wherein the at least one computer program is loaded and executed by the one or more processors so as to implement the method for displaying a virtual item according to any one of claims 1 to 15.

18. A computer program comprising program code, A computer program product, the program code being loaded and executed by a processor to implement the method for displaying a virtual item according to any one of claims 1 to 15.