Virtual object sharing method and device, storage medium and electronic equipment
By displaying the virtual objects of teammates' accounts in the game and displaying the information of the target object in the sharing prompt area, the problem of low communication efficiency in the object sharing process in the prior art is solved, and efficient object sharing and transfer are achieved.
Patent Information
- Application Number
- CN202311736309.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2025-06-17
AI Technical Summary
In existing games, communication efficiency is low during object sharing, relies on voice or text communication, consume communication resources or operate inefficiently.
Display the virtual objects held by the teammate's account in the object display area, and display the information of the target virtual object in the sharing prompt area through interactive operations to achieve seamless transfer and sharing of objects.
It improves the communication efficiency between object accounts, reduces the consumption of communication resources, simplifies object sharing operations, and improves operation efficiency.
Smart Images

Figure CN120154895A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method and device for sharing a virtual object, a storage medium and an electronic device. Background Art
[0002] In various competitive game applications, teammates can usually form a team to compete. Some cooperative operations can be performed between accounts with a teammate relationship, for example, items or objects can be shared between teammates.
[0003] Since the sharing of items or objects between teammates usually requires communication between teammates, and the existing communication systems in games usually include voice communication systems and text communication systems, that is to say, in the process of sharing items or objects, the existing methods usually can only communicate through voice or text.
[0004] In actual game operations, communication through voice consumes more communication resources, while communication through text requires manual input of text information to clarify the object to be shared, which has low operation efficiency. In other words, in the process of object sharing, the existing communication methods in games have the technical problem of low communication efficiency.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present invention provide a method and device for sharing a virtual object, a storage medium, and an electronic device, so as to at least solve the technical problem of low efficiency of existing communication methods during object sharing.
[0007] According to one aspect of an embodiment of the present invention, a method for sharing a virtual object is provided, comprising: displaying at least one first virtual object held by a first object account in an object display area, wherein the first virtual object is used to perform virtual interactive operations in a virtual scene; in response to a first interactive operation on a target virtual object among at least one of the first virtual objects, displaying a sharing prompt area, and displaying a second virtual object currently held by a second object account in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform the virtual interactive operation in the virtual scene associated with the second object account; in response to the second interactive operation, canceling the display of the target virtual object in the object display area, and sending object sharing information to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account.
[0008] According to another aspect of an embodiment of the present invention, a method for obtaining a virtual object is provided, comprising: displaying at least one second virtual object held by a second object account in a reference object display area, wherein the second virtual object is used to perform virtual interactive operations in a virtual scene; upon receiving sharing prompt information sent by a first object account, displaying a sharing prompt area according to the sharing prompt information, and displaying a target virtual object currently shared by the first object account in the sharing prompt area, wherein the first object account is a teammate object account in the same interactive camp as the second object account, and the target virtual object is used to perform the virtual interactive operations in the virtual scene associated with the first object account; upon receiving object sharing information sent by the first object account, displaying the target virtual object shared by the first object account in the reference object display area, and canceling the display of the sharing prompt area.
[0009] According to another aspect of an embodiment of the present invention, a virtual object sharing device is also provided, comprising: a first display unit, for displaying at least one first virtual object held by a first object account in an object display area, wherein the first virtual object is used to perform virtual interactive operations in a virtual scene; a second display unit, for displaying a sharing prompt area in response to a first interactive operation on a target virtual object among at least one of the first virtual objects, and displaying a second virtual object currently held by a second object account in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform the virtual interactive operation in the virtual scene associated with the second object account; a sharing unit, for canceling the display of the target virtual object in the object display area in response to the second interactive operation, and sending object sharing information to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account.
[0010] Optionally, the above-mentioned second display unit includes: an acquisition module, used to acquire the reference object display area in the current interactive interface of the above-mentioned second object account, wherein the above-mentioned reference object display area is used to display the above-mentioned second virtual object currently held by the above-mentioned second object account; a display module, used to display the above-mentioned sharing prompt area according to the above-mentioned reference object display area.
[0011] Optionally, the second display unit is used for at least one of the following: when the second virtual object in the reference object display area is controlled to move to the reference object interaction area, the second virtual object is correspondingly cancelled from display in the sharing prompt area, wherein the reference object interaction area is an interaction area in the current interaction interface of the second object account for performing the virtual interaction operation, and when the second virtual object moves to the reference object interaction area, the object state of the second virtual object is switched to an active state; when the object level of the second virtual object in the reference object display area is adjusted, the object level indicator of the second virtual object is correspondingly adjusted and displayed in the sharing prompt area, wherein, in the current interaction interface of the second object account, when the number of reference virtual objects of the same object type as the second virtual object changes, the object level of the second virtual object is adjusted, and the reference virtual object is a virtual object of the same object type as the second virtual object currently held by the second object account; when the second virtual object in the reference object display area moves from a first display position to a second display position, the display position of the second virtual object is updated and displayed in the sharing prompt area.
[0012] Optionally, the display module is used to: generate sharing prompt information based on the object association relationship between the second virtual object and the target virtual object, wherein the object association relationship is determined based on the respective object attributes of the second virtual object and the target virtual object, and the sharing prompt information is used to indicate the virtual gain effect provided by the target virtual object when the second object account holds the target virtual object; and display the sharing prompt information in the sharing prompt area.
[0013] Optionally, the above-mentioned display module is used to: when the above-mentioned virtual gain effect is to increase the object level of the above-mentioned second virtual object, highlight the object identifier of the above-mentioned second virtual object and the level identifier corresponding to the level increase in the above-mentioned sharing prompt area; when the above-mentioned virtual gain effect is to increase the regional object skill of the above-mentioned second virtual object, display the skill identification information of the above-mentioned regional object skill in the above-mentioned sharing prompt area, wherein the above-mentioned regional object skill is an object skill that is effective for the above-mentioned second virtual object of the same type.
[0014] Optionally, the display module is used to: obtain the target area object skill from the area object skill set matching the second virtual object, wherein the area object skill set includes the first area object skill configured for the second virtual object and the second area object skill in the configuration process, and the target area object skill is the area object skill corresponding to the target virtual object; in a case where the sharing prompt area includes the target skill identifier of the target area object skill, the target skill identifier is highlighted in the sharing prompt area, and the configuration process information matching the target area object skill is updated according to the target virtual object; in a case where the sharing prompt area does not include the target skill identifier of the target area object skill, the skill identifier information of the area object skill displayed in the sharing prompt area is switched to the target skill identifier information of the target area object skill, wherein the target skill identifier information includes the target skill identifier and the configuration process information matching the target area object skill.
[0015] Optionally, the second display unit is further used to: when the number of objects of the second virtual object currently held by the second object account is less than a quantity threshold, display the target virtual object in a first style in the sharing prompt area, wherein the target virtual object in the first style indicates that the second object account is allowed to receive the target virtual object; when the number of objects of the second virtual object currently held by the second object account is greater than or equal to the quantity threshold, display the target virtual object in a second style in the object display area, wherein the target virtual object in the second style indicates that the second object account is not allowed to receive the target virtual object.
[0016] Optionally, the virtual object sharing device further includes: an interactive information prompt unit, which is used to display the first interactive information in the current interactive interface of the first object account upon receiving the first interactive prompt information sent by the second object account, wherein the first interactive information indicates that the second object account agrees to receive the target virtual object; display the second interactive information in the current interactive interface of the first object account upon receiving the second interactive prompt information sent by the second object account, wherein the second interactive information indicates that the second object account refuses to receive the target virtual object; and highlight the reference virtual object in the object display area according to the third interactive prompt information upon receiving the third interactive prompt information sent by the second object account, wherein the third interactive prompt information indicates that the second object account requests the reference virtual object from the first object account.
[0017] Optionally, the sharing device of the virtual object is also used for: when the first interactive operation is to drag the interactive operation identifier to a target display area corresponding to the target virtual object, in response to a release operation in the target display area, canceling the display of the target virtual object in the object display area and canceling the display of the sharing prompt area; in response to a release operation in the reference display area, keeping the display of the target virtual object in the object display area and canceling the display of the sharing prompt area, wherein the reference display area is a display area different from the target display area.
[0018] Optionally, the sharing device of the virtual object is also used for: when the first interactive operation is to drag the interactive operation identifier to the target display area corresponding to the target virtual object, in response to adjusting the dragging end point of the dragging operation to the reference display area corresponding to the reference virtual object, displaying the reference virtual object in the sharing prompt area according to the first style; in response to a release operation in the reference display area corresponding to the reference virtual object, canceling the display of the reference virtual object in the object display area and canceling the display of the sharing prompt area.
[0019] Optionally, the sharing device of the virtual object is also used for: in case that there are multiple teammate object accounts in the same interactive camp as the first object account, in response to a third interactive operation, determining the multiple teammate object accounts as the second object account; in response to the first interactive operation on the target virtual object, displaying the multiple sharing prompt areas corresponding to the multiple second object accounts respectively; in case that there are multiple teammate object accounts in the same interactive camp as the first object account, in response to a fourth interactive operation, determining the second object account from the multiple teammate object accounts; in response to the first interactive operation on the target virtual object, displaying the sharing prompt area corresponding to the second object account.
[0020] According to another aspect of an embodiment of the present invention, a virtual object acquisition device is also provided, including: a first display unit, used to display at least one second virtual object held by a second object account in a reference object display area, wherein the second virtual object is used to perform virtual interactive operations in a virtual scene; a second display unit, used to display a sharing prompt area according to the sharing prompt information sent by the first object account, and display the target virtual object currently shared by the first object account in the sharing prompt area, wherein the first object account is a teammate object account in the same interactive camp as the second object account, and the target virtual object is used to perform the virtual interactive operation in the virtual scene associated with the first object account; an acquisition unit, used to display the target virtual object shared by the first object account in the reference object display area, and cancel the display of the sharing prompt area, upon receiving the object sharing information sent by the first object account.
[0021] Optionally, the second display unit includes: an acquisition module, used to acquire an object display area in the current interactive interface of the first object account, wherein the object display area is used to display the first virtual object currently held by the first object account, and the first virtual object includes the target virtual object; a display module, used to display the sharing prompt area according to the object display area.
[0022] Optionally, the device for acquiring the above-mentioned virtual object also includes: a sending unit, used for one of the following: in response to performing a first interactive operation on the above-mentioned target virtual object, sending a first interactive prompt message to the above-mentioned first object account, wherein the above-mentioned first interactive message indicates that the above-mentioned second object account agrees to receive the above-mentioned target virtual object; in response to performing a second interactive operation on the above-mentioned target virtual object, sending a second interactive prompt message to the above-mentioned first object account, wherein the above-mentioned second interactive message indicates that the above-mentioned second object account refuses to receive the above-mentioned target virtual object; in response to performing a third interactive operation on the reference virtual object, sending a third interactive prompt message to the above-mentioned first object account, wherein the above-mentioned third interactive message is used to obtain the above-mentioned reference virtual object currently held by the above-mentioned first object account.
[0023] Optionally, the device for acquiring the virtual object further includes: an adjustment unit, which is also used for at least one of the following: in response to a first area adjustment operation, adjusting the regional display area of the sharing prompt area, and keeping displaying the target virtual object and the operation control corresponding to the target virtual object in the adjusted sharing prompt area, wherein the operation control includes a first operation control for indicating agreement to receive the target virtual object, and a second operation control for indicating refusal to receive the target virtual object; in response to the second area adjustment operation, adjusting the regional display position of the sharing prompt area.
[0024] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned virtual object sharing method or virtual object acquisition method when running.
[0025] According to another aspect of the embodiments of the present application, a computer program product is provided, the computer program product including a computer program / instruction, the computer instruction being stored in a computer-readable storage medium. A processor of a computer device reads the computer program / instruction from the computer-readable storage medium, and the processor executes the computer program / instruction, so that the computer device executes the above virtual object sharing method or virtual object acquisition method.
[0026] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the virtual object sharing method or the virtual object acquisition method through the computer program.
[0027] In an embodiment of the present invention, at least one first virtual object held by a first object account is displayed in an object display area, wherein the first virtual object is used to perform virtual interactive operations in a virtual scene; in response to a first interactive operation on a target virtual object among the at least one first virtual object, a sharing prompt area is displayed, and a second virtual object currently held by a second object account is displayed in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform virtual interactive operations in a virtual scene associated with the second object account; in response to the second interactive operation, the target virtual object is canceled from display in the object display area, and object sharing information is sent to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account, thereby achieving efficient communication between object accounts during object sharing.
[0028] In the above-mentioned implementation mode of the present application, when the first object account shares a virtual object with the second object account, the virtual object currently held by the teammate account can be displayed in the interface in response to the first interactive operation, thereby assisting the first object account to determine whether the second object account needs the currently selected target virtual object, and then quickly understand the object holding status of the second object account without initiating voice communication or sending text messages to the second object account, thereby improving the communication efficiency between object accounts in the process of object sharing and solving the technical problem of low efficiency of existing communication methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0030] Figure 1 is a schematic diagram of a hardware environment of an optional virtual object sharing method according to an embodiment of the present invention;
[0031] Figure 2 is a flow chart of an optional virtual object sharing method according to an embodiment of the present invention;
[0032] Figure 3 is a schematic diagram of an optional method for sharing a virtual object according to an embodiment of the present invention;
[0033] Figure 4 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0034] Figure 5 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0035] Figure 6 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0036] Figure 7 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0037] Figure 8 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0038] Fig. 9 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0039] Fig.10is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0040] Fig.11 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0041] Fig.12 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0042] Fig.13 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0043] Fig.14 is a schematic diagram of another optional method for sharing a virtual object according to an embodiment of the present invention;
[0044] Fig.15 is a flow chart of an optional method for acquiring a virtual object according to an embodiment of the present invention;
[0045] Fig.16 is a schematic diagram of an optional method for acquiring a virtual object according to an embodiment of the present invention;
[0046] Fig.17 is a schematic diagram of another optional method for acquiring a virtual object according to an embodiment of the present invention;
[0047] Fig.18 is a flowchart of another optional virtual object sharing method according to an embodiment of the present invention;
[0048] Fig.19 is a flowchart of another optional method for obtaining a virtual object according to an embodiment of the present invention;
[0049] Fig. 20 is a schematic structural diagram of an optional virtual object sharing device according to an embodiment of the present invention;
[0050] Fig.21 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention;
[0051] Fig. 22 is a schematic structural diagram of an optional device for acquiring a virtual object according to an embodiment of the present invention;
[0052] Fig.23 is a schematic structural diagram of another optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0053] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0055] According to one aspect of an embodiment of the present invention, a method for sharing a virtual object is provided. As an optional implementation, the method for sharing a virtual object can be applied to, but is not limited to, Figure 1 The virtual object sharing system in the hardware environment shown in FIG. 1 may include but is not limited to a terminal device 102, a network 104, a server 106, a database 108, and a terminal device 110. The terminal device 102 and the terminal device 110 respectively run a target client (such as Figure 1 As shown, the target client is a game application client as an example). The terminal device 102 and the terminal device 110 respectively include a human-computer interaction screen, a processor and a memory. The human-computer interaction screen is used to display a virtual game scene (such as Figure 1The processor is used to generate an interactive instruction in response to the above-mentioned human-computer interactive operation, and send the interactive instruction to the server. The memory is used to store relevant attribute data, such as object attribute information of the controlled virtual character, and attribute information of the virtual props held, etc. The attribute information here may include but is not limited to information for identifying its identity and current location. Among them, a client that controls the first virtual character through the first object account is running in the terminal device 102; correspondingly, a client that controls the second virtual character through the second object account is running in the terminal device 110. The second virtual character and the first virtual character here can be controlled in the game to perform certain interactive events, such as attack events, defense events, skill casting events, etc. In the case where the first object account and the second object account are object accounts with a friend relationship, the above-mentioned first virtual character and the second virtual character can also perform cooperative confrontation events.
[0056] In addition, the server 106 includes a processing engine, which is used to perform storage or reading operations on the database 108. Specifically, the processing engine reads virtual scene information of each object account, object information of the virtual object held, and operation information performed by each object account from the database 108.
[0057] Assumptions Figure 1 The terminal device 102 in the embodiment has a first object account logged in, and the terminal device 110 has a second object account in the same camp as the first object account logged in. The specific process of this embodiment is as follows: first, the terminal device 102 logged in with the first object account executes step S102 to display at least one first virtual object held by the first object account in the object display area, wherein the first virtual object is used to perform a virtual interactive operation in a virtual scene; then, in response to a first interactive operation of the first object account on a target virtual object in at least one first virtual object, the terminal device 102 executes step S104 to send an object information acquisition request to the server 106 through the network 104; the server 106 executes step S106 to obtain object information of the second virtual object currently held by the second object account, and executes step S108 to send the object information to the terminal device 102 through the network 104;
[0058] The terminal device 102 executes S110 to S114, displays a sharing prompt area, and displays a second virtual object currently held by the second object account in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform a virtual interactive operation in a virtual scene associated with the second object account; in response to the second interactive operation, cancels the display of the target virtual object in the object display area; sends object sharing information to the second object account logged in to the terminal device 110 through the network 104, wherein the object sharing information is used to transfer the target virtual object to the second object account;
[0059] At the same time, the server 106 executes step S116 to configure a target virtual object for the second object account.
[0060] As another optional implementation, when a terminal device of the same type as the terminal device 102 or the terminal device 110 has a relatively strong computing and processing capability, the above steps S106 and S116 may also be completed by other terminal devices. This is an example, and this embodiment does not impose any limitation on this.
[0061] Optionally, in this embodiment, the terminal device may be a terminal device configured with a target client, which may include but is not limited to at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop, a tablet computer, a PDA, a MID (Mobile Internet Devices), a PAD, a desktop computer, a smart TV, etc. The target client may be a client that supports providing shooting game tasks, such as a video client, an instant messaging client, a browser client, an educational client, etc. The network may include but is not limited to: a wired network, a wireless network, wherein the wired network includes: a local area network, a metropolitan area network, and a wide area network, and the wireless network includes: Bluetooth, WIFI, and other networks that implement wireless communication. The server may be a single server, or a server cluster consisting of multiple servers, or a cloud server. The above is only an example, and no limitation is made to this in this embodiment.
[0062] Optionally, in this embodiment, the above-mentioned virtual object sharing method can be applied to, but not limited to, a game terminal application (Application, APP for short) for completing a predetermined confrontation game task in a virtual scene, such as a virtual confrontation game application in a multiplayer online tactical competitive game (Multiplayer Online Battle Arena, MOBA) application; the above-mentioned confrontation game task can be, but not limited to, a game task completed by the current player through confrontation interaction with the virtual character in the virtual scene through sharing of human-computer interaction virtual objects; the above-mentioned virtual object sharing method can also be applied to terminal applications of massively multiplayer online role-playing games (Multiplayer Online Role-PlayingGame, MMORPG for short), in which the current player can complete the social game task in the game from the first-person perspective of the virtual character through role-playing, for example, completing the game task together with other virtual characters; the above-mentioned virtual object sharing method can also be applied to Auto Battler (also known as Auto Battler) In the game of the type of Auto Chess, the above-mentioned auto chess game is a type of tactical strategy electronic game. Players place characters on a grid-shaped battlefield during the preparation stage, and then the characters automatically fight each other, usually without further input from the players; the above-mentioned implementation mode of the present application can also be applied to, but not limited to, an open world type game. The so-called open world refers to a completely free and open battle scene in the game. Players can freely move forward and explore in any direction. The distance between the boundaries of various directions is very large. At the same time, there are simulated objects of various shapes and sizes in the scene, which can produce various physical collisions or interactions with players, AI and other entities. In an open world game, players can control virtual characters to complete game tasks through confrontation and interaction.
[0063] The game tasks in the above-mentioned types of games can be, but are not limited to, run in applications (such as non-independent game apps) in the form of plug-ins or applets, or run in applications (such as independent game apps) in game engines. The types of the above-mentioned game applications may include, but are not limited to, at least one of the following: two-dimensional (2D) game applications, three-dimensional (3D) game applications, virtual reality (VR) game applications, augmented reality (AR) game applications, and mixed reality (MR) game applications. The above is just an example, and this embodiment does not impose any limitation on this.
[0064] In an embodiment of the present invention, at least one first virtual object held by a first object account is displayed in an object display area, wherein the first virtual object is used to perform virtual interactive operations in a virtual scene; in response to a first interactive operation on a target virtual object among the at least one first virtual object, a sharing prompt area is displayed, and a second virtual object currently held by a second object account is displayed in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform virtual interactive operations in a virtual scene associated with the second object account; in response to the second interactive operation, the target virtual object is canceled from display in the object display area, and object sharing information is sent to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account, thereby achieving efficient communication between object accounts during object sharing.
[0065] In the above-mentioned implementation mode of the present application, when the first object account shares a virtual object with the second object account, the virtual object currently held by the teammate account can be displayed in the interface in response to the first interactive operation, thereby assisting the first object account to determine whether the second object account needs the currently selected target virtual object, and then quickly understand the object holding status of the second object account without initiating voice communication or sending text messages to the second object account, thereby improving the communication efficiency between object accounts in the process of object sharing and solving the technical problem of low efficiency of existing communication methods.
[0066] As an optional implementation, Figure 2 As shown, the above virtual object sharing method includes the following steps:
[0067] S202, displaying at least one first virtual object held by a first object account in an object display area, wherein the first virtual object is used to perform a virtual interactive operation in a virtual scene;
[0068] S204, in response to a first interactive operation on a target virtual object among the at least one first virtual object, displaying a sharing prompt area, and displaying a second virtual object currently held by a second object account in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform a virtual interactive operation in a virtual scene associated with the second object account;
[0069] S206, in response to the second interactive operation, cancel the display of the target virtual object in the object display area, and send object sharing information to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account.
[0070] It should be noted that, in the virtual object sharing method provided in the present application, at least two object accounts are included, wherein the first object account is the object account that performs the virtual object sharing operation in the above-mentioned sharing method, and the second object account is the object account that receives the shared virtual object in the above-mentioned sharing method. Steps S202 to S206 in the above-mentioned implementation of the present application can be method steps applied to the client logged in by the above-mentioned first object account.
[0071] It should also be noted that the virtual object sharing method provided in the present application can be applied to, including but not limited to, a game application that can provide an account communication function between object accounts. The game types of the above-mentioned game applications may include but are not limited to a multiplayer online tactical competitive game (Multiplayer Online Battle Arena, referred to as MOBA) application, a massively multiplayer online role-playing game (Multiplayer Online Role-Playing Game, referred to as MMORPG) game application, and an auto chess (Auto Battler, also known as Auto Chess) type game application. This embodiment does not limit the application scenarios of the above-mentioned object sharing. It is understandable that in the above-mentioned types of game applications, object accounts can form account camps by teaming up to collaboratively complete game tasks. In the process of completing game tasks, object accounts in the same account camp can communicate through a variety of communication methods provided in the game, and the above-mentioned communication methods may include but are not limited to voice communication and text communication.
[0072] The following is an explanation of the game task content of the above-mentioned auto chess type. In the game application of the auto chess type, the game task can be an in-game collectible hero card multiplayer round-based competitive task. There are N players in the game, and they fight two-on-two in one game round. Each player in the game occupies a virtual battle field, and splices the fields of the two players who are fighting in the battle stage to fight on the spliced virtual battle field. Each game task round includes two stages: preparation and battle: in the preparation stage, the player buys chess pieces (i.e., virtual objects) in the store and arranges troops on the chessboard; in the battle stage, the lineups of the two opposing sides are locked, and the chess pieces will automatically fight until all the chess pieces of one side are killed. The side with all the chess pieces killed is the loser of this round, and the loser will be deducted a certain amount of life value (battle resources). After a round is over, the game rounds are repeated continuously, and each player matches a new opponent until the player is eliminated when the life value is ≤0. The last remaining player will win the game (first place).
[0073] In the above-mentioned types of game tasks, the object accounts in the same account camp can exchange or share virtual objects, and the above-mentioned virtual objects may include but are not limited to virtual prop objects, virtual character objects, virtual accessories objects, etc. It is understandable that the above-mentioned virtual character objects may be virtual objects directly controlled by the object accounts to complete the game tasks in the virtual scene; the above-mentioned prop objects may be configured on the above-mentioned virtual character objects to provide the virtual character objects with capability gains and assist in completing the game tasks; the above-mentioned virtual accessories objects may be used to decorate the above-mentioned virtual character objects in the virtual scene.
[0074] It is understandable that, since different object accounts usually face different game progress, the number and type of virtual objects they hold are usually different. Before performing virtual object replacement or sharing operations between different object accounts, it is necessary to consider the virtual objects currently held and the virtual objects already held by teammate accounts, so as to achieve better resource allocation and improve resource allocation efficiency. In the conventional voice communication method provided in the above-mentioned game application, in addition to consuming more communication resources to transmit voice information, it is also required that the object account can clearly express their respective needs through voice; for novice players, it is difficult to accurately express the virtual objects they need when they are not familiar with the game tasks. Therefore, even if voice communication is used, there is a significant problem of low communication efficiency; and in the process of communicating through text input, in addition to being unable to solve the problem that novice players cannot accurately describe the virtual objects they need, there is also a technical problem of low input efficiency of text input.
[0075] In order to solve the above technical problems, this embodiment provides the above steps S202 to S206 to quickly obtain the object information of the virtual object held by the second object account during the process of sharing the virtual object by the first object account (current account), thereby improving the communication efficiency during the process of sharing the virtual object.
[0076] It should be further explained that, in the above step S202 of the present application, the client interface displayed by the client logged in with the above first object account may include the above object display area. The above object display area can be used to display at least one first virtual object held by the above first object account. The specific display style of the above object display area and the object type of the above first virtual object can be determined according to the specific game application type.
[0077] For example, in the case where the game application is a MOBA type game application, each object account will control a fixed virtual character to perform competitive interaction in a virtual scene, so the virtual object that can be shared or replaced can be specifically a virtual prop object, and correspondingly, the object display area can be a prop bar for displaying the first virtual character controlled by the first object account;
[0078] For another example, in the case where the game application is an MMORPG type game application, each object account will control a virtual character to perform competitive interaction in a virtual scene, so the virtual objects that can be shared or replaced can be virtual prop objects. Correspondingly, the object display area can be a virtual backpack for displaying the first virtual character controlled by the first object account, and the virtual backpack can be used to display the virtual props currently held by the first virtual character, such as virtual attack props, virtual helmets, virtual armor and other props;
[0079] For example, in the case where the above-mentioned game application is an auto chess type game application, each object account can obtain multiple virtual objects (which can be specifically a virtual chess piece) through resource replacement. Correspondingly, the above-mentioned object display area can be specifically a preparation area for displaying virtual objects currently held by the first object account and in a waiting state; further, in the virtual scene in the auto chess type game application, a battle area can be further included. It is understandable that the virtual objects in the above-mentioned battle area can perform the above-mentioned virtual interactive operations without the intervention of the first object account. It is understandable that the above-mentioned virtual interactive operations may include but are not limited to virtual attack operations, virtual defense operations, virtual skill casting operations, etc.
[0080] The following combination Figure 3 The game tasks in the auto chess type game application are described. Figure 3 As shown, the current interactive interface on the current client logged in by the first object account is displayed. It should be noted that Figure 3 The preparation area 301 in the game is an object display area, in which the displayed "Little Monster 7" is a virtual object in a waiting state; the "Little Monster 1", "Little Monster 2", "Little Monster 3" and "Little Monster 4" shown in the battle area 302 are virtual objects selected by the first object account for participating in virtual confrontation interaction; correspondingly, Figure 3 The "Little Monster 5" and "Little Monster 6" shown in the figure are virtual objects selected by the opponent object account for participating in the virtual object interaction. It should be noted that in the preparation stage of the auto chess type game application, the first object account and the opponent object account can select the virtual objects participating in the battle, upgrade the level of the virtual objects participating in the battle, and arrange the positions of the virtual objects; in the battle stage, Figure 3The virtual objects displayed on the chessboard automatically fight against each other, and when all the virtual objects of one side are "killed", the result of the current game is determined.
[0081] Furthermore, the first interactive operation in the above step S204 may be an operation for determining the above target virtual object from the first virtual objects held by the first object account. The operation type of the above first interactive operation may include but is not limited to a click operation, a double-click operation, a long press operation, etc. performed on the object identifier of the target virtual object; the above first interactive operation may also be a touch operation for simultaneously triggering object sharing and object selection, for example, it may be dragging the sharing operation control displayed in the interface to the display area where the object identifier of the above target virtual object is located, or it may be dragging the object identifier of the above target virtual object to the above sharing operation control. This embodiment does not limit the specific type of the above first interactive operation.
[0082] It should be noted that the sharing prompt area in the above step S204 can be used to display the second virtual object currently held by the second object account, and the above second object account is an object account in the same interactive camp as the first object account.
[0083] Optionally, the sharing prompt area may be a specific area displayed in the application interface of the game application. The display style of the sharing prompt area may include but is not limited to an area frame style, an area module style, etc. The display position of the sharing prompt area may be any area position on the virtual scene that does not block the virtual object performing the virtual interactive operation; the display position may also be a specific position in the operation interface of the game application; the sharing prompt area may be displayed in a superimposed manner on the application interface of the game application. Optionally, a certain degree of transparency may be configured for the sharing prompt area to reduce the interference of the sharing prompt area with other display elements in the game application interface. It can be understood that in this embodiment, the specific display method of the sharing prompt area is not limited.
[0084] In an optional implementation, the method of displaying the second virtual object currently held by the second object account in the above-mentioned sharing prompt area may include but is not limited to at least one of the following: displaying the object name of the second virtual object in the above-mentioned sharing prompt area in text form; displaying the object identifier of the second virtual object in the above-mentioned sharing prompt area in the above-mentioned sharing prompt area in graphic form. Optionally, object information related to the above-mentioned second virtual object may also be displayed in the above-mentioned sharing prompt area, and the above-mentioned object information may include but is not limited to the object level information of the second virtual object, the object type information of the second virtual object (for example, the virtual occupation information of the second virtual object, such as "warrior", "assassin", etc.).
[0085] It can be understood that when the second virtual object is displayed in the above-mentioned sharing prompt area, the first object account can obtain relevant information of the virtual object currently held by the second object account, and then assist in determining whether the current second object account needs the target virtual object to be shared, thereby improving the sharing efficiency of the object.
[0086] Finally, the second interactive operation in the above step S206 may be a confirmation operation corresponding to the above first interactive operation, i.e., determining to transfer the holding right of the target virtual object held by the first object account to the second object account, i.e., canceling the display of the target virtual object from the object display area of the first object account; at the same time, displaying the target virtual object in the reference object display area of the second object account to indicate that the second object account currently holds the above second virtual object.
[0087] In the above-mentioned implementation mode of the present application, when the first object account shares a virtual object with the second object account, the virtual object currently held by the teammate account can be displayed in the interface in response to the first interactive operation, thereby assisting the first object account to determine whether the second object account needs the currently selected target virtual object, and then quickly understand the object holding status of the second object account without initiating voice communication or sending text messages to the second object account, thereby improving the communication efficiency between object accounts in the process of object sharing and solving the technical problem of low efficiency of existing communication methods.
[0088] In an optional implementation, the displaying of the second virtual object owned by the second object account in the sharing prompt area includes:
[0089] S1, obtaining a reference object display area in a current interactive interface of a second object account, wherein the reference object display area is used to display a second virtual object currently held by the second object account;
[0090] S2, displaying a sharing prompt area according to the reference object display area.
[0091] It is understandable that in the above implementation of the present application, the second virtual object can be displayed in the sharing prompt area in the interactive interface of the first object account according to the reference object display area included in the current interactive interface of the second object account. In other words, the above implementation of the present application can be based on the reference object display area of the second object account, and the reference object display area is reproduced in the sharing prompt area, thereby intuitively displaying the second virtual object currently held by the second object account.
[0092] Optionally, the display of the sharing prompt area based on the reference object display area may be performed by directly performing a region capture operation on the reference object display area based on the current interactive interface of the second object account obtained, and directly displaying the captured reference object display area in the sharing prompt area; in another embodiment, the region description information of the reference object display area in the current interactive interface may be obtained, and then the region may be re-rendered in the sharing prompt area in the application interface of the first object account based on the region description information.
[0093] The following combination Figure 4 , Figure 5 The above-mentioned embodiment will be described in detail.
[0094] like Figure 4 As shown, in this embodiment, a sharing control 401 is provided to perform the above-mentioned object sharing operation. An object display area 402 is displayed in the current interactive interface of the first object account, and the object display area 402 further displays the first virtual objects currently held by the first object account, including "Little Monster 1", "Little Monster 2" and "Little Monster 3". In this embodiment, in response to the triggering operation of the sharing control 401, the sharing control 401 can be adjusted to a highlighted display state, indicating that the object sharing mode has been entered.
[0095] Then, if Figure 5 As shown, in response to dragging the control icon of the sharing control 401 to the position where the object icon of the target virtual object "Little Monster 3" is located, the object icon of the target virtual object "Little Monster 3" is switched to be displayed in a highlighted state (in Figure 4 The interface further displays as follows: Figure 6 As shown, the first sharing prompt area 403 and the second sharing prompt area 404 are displayed in the interface. The reference object display area of the second object account is displayed in the first sharing prompt area 403. It should be noted that the sharing prompt area in the above embodiment may include Figure 6 The first sharing prompt area 403 and the second sharing prompt area 404 are shown in FIG.
[0096] It is understandable that, in the above embodiment, the first interaction operation in step S204 may be Figure 4 In the interface shown, long press the sharing control 401, and drag the sharing control 401 to the target virtual object "Little Monster 3". In a preferred manner, Figure 5 The selected virtual target object "Little Monster 3" is highlighted and Figure 6The manner of displaying the first sharing prompt area and the second sharing prompt area in the interface may be performed simultaneously. It should be noted that, in this embodiment, the sharing prompt area in the above step S204 may include Figure 6 The first sharing prompt area 403 and the second sharing prompt area 404 are shown in FIG.
[0097] Through the above-mentioned implementation mode of the present application, by obtaining the reference object display area in the current interactive interface of the second object account; displaying the sharing prompt area according to the reference object display area, thereby reproducing the above-mentioned reference object display area in the sharing prompt area, and then intuitively displaying the second virtual object currently held by the second object account, it is convenient for the first object account to determine whether the currently selected target virtual object is the virtual object required by the second object account, thereby improving the sharing efficiency of the object sharing.
[0098] In an optional implementation, the displaying of the second virtual object owned by the second object account in the sharing prompt area includes at least one of the following:
[0099] Method 1: when the second virtual object in the reference object display area is controlled to move to the reference object interaction area, the second virtual object is correspondingly cancelled from display in the sharing prompt area, wherein the reference object interaction area is an interaction area for performing virtual interaction operations in the current interaction interface of the second object account, and when the second virtual object moves to the reference object interaction area, the object state of the second virtual object is switched to an active state;
[0100] Method 2: When the object level of the second virtual object in the reference object display area is adjusted, the object level indicator of the second virtual object is correspondingly adjusted and displayed in the sharing prompt area, wherein, in the current interactive interface of the second object account, when the number of reference virtual objects of the same object type as the second virtual object changes, the object level of the second virtual object is adjusted, and the reference virtual object is a virtual object of the same object type as the second virtual object currently held by the second object account;
[0101] Method three: when the second virtual object in the reference object display area moves from the first display position to the second display position, the display position of the second virtual object is updated in the sharing prompt area.
[0102] It is understood that in this embodiment, the above-mentioned method 1 can be an object entry operation performed by the second object account in Auto Chess, that is, an operation of moving the second virtual object in the reference object display area (preparation area) to the reference object interaction area (combat area) to adjust the virtual object to an automatic battle state. It is understood that in the above operation, the number of reference object display areas will be reduced, and then the number change of the above-mentioned second virtual object will be synchronously displayed in the object sharing area of the first object account; the above-mentioned method 2 can be that after the second object account performs the relevant operation, the object level of the second virtual object in the reference object display area (preparation area) changes. It is understood that in this embodiment, the object level change of the above-mentioned second virtual object can be synchronously displayed in the object sharing area of the first object account; the above-mentioned method 3 can be an object position adjustment operation performed by the second object account in Auto Chess, that is, the second virtual object in the reference object display area (preparation area) is adjusted, and then the object position change of the above-mentioned second virtual object is synchronously displayed in the object sharing area of the first object account.
[0103] Through the above-mentioned implementation mode of the present application, the changes in the reference object display area of the second object account can be displayed in the sharing prompt area, and the alignment (object position change), star upgrade (object level change), and on-field operation (object status change and object quantity change) performed by the second object account can be synchronously broadcast and displayed in the above-mentioned sharing prompt area, thereby facilitating the first object account to judge the current operation strategy of the second object account, so as to cooperate with the current operation strategy of the second object account to share the object and improve the efficiency of object sharing.
[0104] In an optional implementation, the displaying of the sharing prompt area according to the reference object display area includes:
[0105] S1, generating sharing prompt information according to an object association relationship between a second virtual object and a target virtual object, wherein the object association relationship is determined according to respective object attributes of the second virtual object and the target virtual object, and the sharing prompt information is used to indicate a virtual gain effect provided by the target virtual object when the second object account holds the target virtual object;
[0106] S2, displaying sharing prompt information in the sharing prompt area.
[0107] In the above-mentioned embodiment of the present application, since the object association relationship between the target virtual object to be shared and the second virtual object held by the second object account needs to be considered in the process of the first object account performing the sharing operation of the virtual object to determine the corresponding gain effect, the sharing prompt information used to identify the above-mentioned gain effect can be displayed in the sharing prompt area.
[0108] The above object association relationship can be an object cooperation relationship (two virtual objects can cooperate to produce better interaction effects), or an object restraint relationship (two virtual objects restrain each other and thus are difficult to cooperate). It is understandable that different types of object association relationships can provide different gain effects.
[0109] The above-mentioned gain effect may include, but is not limited to, improving the object level of the second virtual object, adding virtual skills to the second virtual object, increasing the object attribute data of the second virtual object, etc.
[0110] The manner of displaying the above-mentioned sharing prompt information in the above-mentioned sharing prompt area may include but is not limited to prompting in the form of text, and may also be efficient prompting in the form of image display.
[0111] In a preferred embodiment, the displaying of sharing prompt information in the sharing prompt area includes:
[0112] Method 1: when the virtual gain effect is to increase the object level of the second virtual object, the object identifier of the second virtual object and the level identifier corresponding to the increased level are highlighted in the sharing prompt area;
[0113] Method 2: When the virtual gain effect is to increase the area object skill of the second virtual object, the skill identification information of the area object skill is displayed in the sharing prompt area, wherein the area object skill is an object skill that is effective for the second virtual object of the same type.
[0114] It can be understood that in the above-mentioned method one, after the second object account obtains the above-mentioned target virtual object, the object level of the second virtual object already held by the second object account can be upgraded, and the relevant second virtual object and the object level of the virtual object can be highlighted in the sharing prompt area; in the above-mentioned method two, after the second object account obtains the above-mentioned target virtual object, the regional object skills can be configured for the second virtual object already held by the second object account, and the corresponding regional object skills can be displayed in the above-mentioned sharing prompt area.
[0115] Specifically, the object area skill may be a virtual bond skill, and the virtual bond skill may act on a second virtual object of the same object type held by the second object account. For example, when the virtual bond skill is "enhancing armor", the armor of the second virtual object of the "warrior" type held by the second object account may be enhanced at the same time; and when the virtual bond skill is "enhancing damage value", the damage value that can be caused to the enemy virtual object may be enhanced at the same time for the second virtual object of the "assassin" type held by the second object account.
[0116] It should be further explained that the realization of the above-mentioned virtual bond skill gain effect needs to be realized through a combination of a specific type and a specific number of virtual objects. For example, the realization of the virtual bond skill "increase armor" requires that the number of second virtual objects of the "warrior" type held by the second object account is greater than or equal to 3; the realization of the virtual bond skill "increase damage value" requires that the number of second virtual objects of the "assassin" type held by the second object account is greater than or equal to 2.
[0117] The following combination Figure 7 The above-mentioned implementation mode is described. Figure 7 As shown, when the target virtual object selected by the first object account is "Little Monster 3", the second virtual objects "Little Monster 9", "Little Monster 10" and the target virtual object "Little Monster 3" currently held by the second object account can be synchronously displayed in the first sharing prompt area 703.
[0118] In the case where the target virtual object "little monster 3" can make the object level of the second virtual objects "little monster 9" and "little monster 10" be upgraded from level 2 to level 3, Figure 7 As shown, the object identifier of "Little Monster 9", that is, the second virtual object 701 is highlighted (similarly, the object identifier of "Little Monster 10" is highlighted). The specific highlighting method can be highlighting or bolding, and the specific highlighting method is not limited here. In addition, the level identifier 702 corresponding to the upgraded object level is also highlighted to indicate that the target virtual object "Little Monster 3" can upgrade the level of the virtual object held by the second object account.
[0119] Through the above-mentioned implementation mode of the present application, when the virtual gain effect is to enhance the object level of the second virtual object, the object identifier of the second virtual object and the level identifier corresponding to the level upgrade are highlighted in the sharing prompt area, thereby facilitating the first object account to judge the current operation strategy of the second object account, so as to cooperate with the current operation strategy of the second object account to share the object and improve the efficiency of object sharing.
[0120] In an optional implementation, the skill identification information of the area object's skills displayed in the sharing prompt area includes:
[0121] S1, acquiring a target regional object skill from a regional object skill set matching the second virtual object, wherein the regional object skill set includes a first regional object skill configured for the second virtual object and a second regional object skill in the process of being configured, and the target regional object skill is a regional object skill corresponding to the target virtual object;
[0122] S2, when the sharing prompt area includes a target skill identifier of the target area object skill, highlighting the target skill identifier in the sharing prompt area, and updating configuration process information matching the target area object skill according to the target virtual object;
[0123] S3, when the sharing prompt area does not include the target skill identification of the target area object skill, the skill identification information of the area object skill displayed in the sharing prompt area is switched to be displayed as the target skill identification information of the target area object skill, wherein the target skill identification information includes the target skill identification and the configuration process information matching the target area object skill.
[0124] It is understandable that in the above-mentioned embodiment of the present application, when the second virtual object held by the second object account has many regional object skills corresponding to it, and the area for displaying the above-mentioned skill identification information is relatively limited, the skill identification information of the regional object skills corresponding to the target virtual object can be displayed preferentially. For example, when the skill identification information list is displayed in the area for displaying the above-mentioned skill identification information, the list can be automatically slid to display the skill identification information corresponding to the target virtual object.
[0125] The following combination Figure 8 For further explanation. Figure 8 As shown in Figure (a), when the target virtual object selected by the first object account is "Little Monster 3", the regional object skill information 802 corresponding to the second virtual object held by the second object account can be synchronously displayed in the second sharing prompt area 801. For example, the regional object skill information 802 is "Warrior 1 / 3", indicating that 3 virtual objects of a specific type are required to obtain the "Warrior" bond skill, and the current second object account holds 1 virtual object of a specific type, that is, the progress of the second virtual object combination held by the current second object account to obtain the "Warrior" bond skill is "1 / 3", that is, there are still two virtual objects of a specific type missing;
[0126] At this time, the target virtual object "Little Monster 3" currently selected by the first object account is the above-mentioned specific type of virtual object, and the prompt information "+1" is highlighted in the above-mentioned second sharing prompt area 801, indicating that the target virtual object "Little Monster 3" can speed up the combination progress of the "Warrior" bond skills to "2 / 3".
[0127] In another display mode, such as Figure 8 As shown in Figure (b), the area object skill information 804 "Warrior 2 / 3" can be highlighted in the second sharing prompt area 803, indicating that the target virtual object "Little Monster 3" can speed up the combination progress of the "Warrior" bond skill to "2 / 3".
[0128] Optionally, assuming that the second virtual object combination currently held by the second object account does not have the "shooter" bond skill, and the target virtual object "Little Monster 3" currently selected by the first object account is a virtual object that can be combined to generate the "shooter" bond skill, then Fig. 9 The above-mentioned area object skill information 902 “Shooter 1 / 3” is highlighted in the second sharing prompt area 901 shown, indicating that the target virtual object “Little Monster 3” can add a new bond skill combination to the second virtual object.
[0129] Through the above-mentioned implementation mode of the present application, when the virtual gain effect is to increase the regional object skills of the second virtual object, the skill identification information of the regional object skills is displayed in the sharing prompt area, thereby facilitating the first object account to judge the current operation strategy of the second object account, so as to cooperate with the current operation strategy of the second object account to share the object and improve the efficiency of object sharing.
[0130] In an optional implementation, when the sharing prompt area is displayed in response to the first interactive operation on the target virtual object among the at least one first virtual object, the method further includes:
[0131] Case 1: when the number of second virtual objects currently held by the second object account is less than the number threshold, the target virtual object is displayed in the sharing prompt area in a first style, wherein the target virtual object in the first style indicates that the second object account is allowed to receive the target virtual object;
[0132] Case 2: When the number of second virtual objects currently held by the second object account is greater than or equal to the quantity threshold, the target virtual object is displayed in the object display area in a second style, wherein the target virtual object in the second style indicates that the second object account is not allowed to receive the target virtual object.
[0133] The following combination Figure 6 , Fig.10 The above two situations are explained below. Figure 6 As shown, in the reference object display area displayed in the first sharing prompt area 403, there are redundant object display positions, indicating that the number of second virtual objects currently held by the second object account is 2, which is less than the number threshold 7, that is, the second object account can receive the target virtual object, and can be in the first sharing prompt area 403 according to the virtual image (in Figure 6 The target virtual object “Little Monster 3” currently selected by the first object account is displayed in a manner of a dotted line style;
[0134] like Fig.10As shown, in the case where no redundant object display positions are displayed in the reference object display area displayed in the first sharing prompt area 1001, that is, the second virtual object is displayed at each object display position, indicating that the number of second virtual objects currently held by the second object account is equal to the number threshold 7, that is, the second object account cannot receive the target virtual object, the first sharing prompt area 1001 can be highlighted ( Fig.10 The target virtual object in the object display area of the first object account is highlighted (in the Fig.10 ), indicating that the second object account is currently unable to further receive the target virtual object.
[0135] Through the above-mentioned implementation mode of the present application, when the number of second virtual objects currently held by the second object account is less than the quantity threshold, the target virtual object is displayed in the sharing prompt area according to the first style; when the number of second virtual objects currently held by the second object account is greater than or equal to the quantity threshold, the target virtual object is displayed in the object display area according to the second style, thereby providing a quick prompt on whether the second object account can currently receive the virtual object, thereby improving the sharing efficiency.
[0136] In an optional implementation, after displaying the target virtual object in the sharing prompt area according to the first style, the method further includes:
[0137] Case 1: when receiving the first interaction prompt information sent by the second object account, displaying the first interaction information in the current interaction interface of the first object account, wherein the first interaction information indicates that the second object account agrees to receive the target virtual object;
[0138] Case 2: when receiving the second interaction prompt information sent by the second object account, the second interaction information is displayed in the current interaction interface of the first object account, wherein the second interaction information indicates that the second object account refuses to receive the target virtual object;
[0139] Case three: when receiving the third interaction prompt information sent by the second object account, the reference virtual object is highlighted in the object display area according to the third interaction prompt information, wherein the third interaction prompt information instructs the second object account to request the reference virtual object from the first object account.
[0140] The following combination Fig.11 , Fig.12 as well as Fig.13 The above three situations are explained.
[0141] like Fig.11As shown, after the target virtual object is displayed in the sharing prompt area according to the first style, when the first interactive prompt information 1101 sent by the second object account is received, the first interactive information 1101 can be displayed in the interface to indicate that the second object account agrees to receive the currently selected target virtual object; Fig.12 As shown, after the target virtual object is displayed in the sharing prompt area according to the first style, when the second interactive prompt information 1201 sent by the second object account is received, the second interactive prompt information 1201 can be displayed in the interface to indicate that the second object account refuses to receive the currently selected target virtual object; Fig.13 As shown, after the target virtual object is displayed in the sharing prompt area in the first style, when the third interactive prompt message 1301 sent by the second object account is received, the third interactive prompt message 1301 "I want chess piece Monster 1" can be displayed in the interface, indicating that the second object account does not accept the currently selected target virtual object Monster 3, but wants the first virtual object "Monster 1" currently held by the first object account. At the same time, the first virtual object "Monster 1" that the second object account wants is highlighted in the object display area (in Fig.13 (displayed in bold).
[0142] In an optional implementation, after displaying the target virtual object in the sharing prompt area according to the first style, the method further includes:
[0143] In the case where the first interactive operation is dragging the interactive operation identifier to a target display area corresponding to the target virtual object, in case 1, in response to a release operation in the target display area, the target virtual object is canceled from the object display area, and the sharing prompt area is canceled from the display;
[0144] Case 2: in response to a release operation in the reference display area, the target virtual object is kept displayed in the object display area, and the sharing prompt area is canceled, wherein the reference display area is a display area different from the target display area.
[0145] It can be understood that in the above-mentioned embodiment of the present application, when the above-mentioned interactive operation identifier is dragged to the target display area where the object identifier of the target virtual object is located, it can be determined that the target virtual object is shared with the second object account.
[0146] like Figure 6 and Fig.14 As shown, Figure 6In response to dragging the sharing control to the object icon "Little Monster 3" corresponding to the target virtual object, the first sharing prompt area 403 and the second sharing prompt area 404 are displayed; in response to the release operation of the above dragging operation, it is determined to share the target virtual object "Little Monster 3" to the second object account, and then the interface is displayed as follows Fig.14 As shown, the target virtual object “Little Monster 3” is cancelled in the object display area, indicating that the current second object account already holds the target virtual object “Little Monster 3”.
[0147] In the second case, that is, the operation point of the drop operation corresponding to the drag operation is not located on the target display area where the object identifier of the target virtual object is located, it is determined to cancel sharing of the target virtual object to the second object account.
[0148] In an optional implementation, after highlighting the reference virtual object in the object display area, the following steps are performed:
[0149] S1, when the first interaction operation is dragging the interaction operation identifier to a target display area corresponding to the target virtual object, in response to adjusting the dragging end point of the dragging operation to a reference display area corresponding to the reference virtual object, displaying the reference virtual object in a sharing prompt area according to a first style;
[0150] S2, in response to a release operation in the reference display area corresponding to the reference virtual object, canceling the display of the reference virtual object in the object display area, and canceling the display of the sharing prompt area.
[0151] It is understandable that in the above implementation, when the third interactive prompt information sent by the second object account is received, the operation end point of the above drag operation can be moved to the reference display area corresponding to the reference virtual object to determine the selection of the reference virtual object requested by the second object account, and at the same time, the reference virtual object is updated and displayed in the sharing prompt area according to the first style. Finally, in response to the release operation where the operation point is located in the above reference display area, it can be determined that the reference virtual object is shared with the second object account, and the display of the reference virtual object in the object display area is canceled.
[0152] In an optional implementation, after highlighting the reference virtual object in the object display area, the method further includes:
[0153] Case 1: when there are multiple teammate object accounts in the same interactive camp as the first object account, in response to the third interactive operation, the multiple teammate object accounts are determined as the second object accounts; in response to the first interactive operation on the target virtual object, multiple sharing prompt areas corresponding to the multiple second object accounts are displayed;
[0154] Case 2: When there are multiple teammate object accounts in the same interactive camp as the first object account, in response to the fourth interactive operation, the second object account is determined from the multiple teammate object accounts; in response to the first interactive operation on the target virtual object, the sharing prompt area corresponding to the second object account is displayed.
[0155] It is understandable that in the above embodiment, two interaction methods are provided. The interaction method corresponding to the third interaction operation is to select all teammate object accounts of the first object account, and display multiple sharing prompt areas according to the object display areas of all teammate object accounts. This facilitates the first object account to evaluate the different gain effects that can be brought about by sharing the target virtual object with different teammates, so as to quickly make the correct sharing decision. The interaction method corresponding to the fourth interaction operation is to select the second object account from multiple teammate object accounts, thereby achieving accurate selection of the object account.
[0156] As an optional implementation, Fig.15 As shown, the present application also provides a method for obtaining a virtual object, which is applied to a client logged in by a second object account, and includes the following steps:
[0157] S1502, displaying at least one second virtual object held by the second object account in the reference object display area, wherein the second virtual object is used to perform a virtual interactive operation in the virtual scene;
[0158] S1504, when receiving the sharing prompt information sent by the first object account, displaying a sharing prompt area according to the sharing prompt information, and displaying the target virtual object currently shared by the first object account in the sharing prompt area, wherein the first object account is a teammate object account in the same interactive camp as the second object account, and the target virtual object is used to perform a virtual interactive operation in a virtual scene associated with the first object account;
[0159] S1506: When receiving the object sharing information sent by the first object account, display the target virtual object shared by the first object account in the reference object display area, and cancel the display of the sharing prompt area.
[0160] In an optional implementation, the displaying of the target virtual object currently shared by the first object account in the sharing prompt area includes:
[0161] S1, obtaining an object display area in a current interactive interface of a first object account, wherein the object display area is used to display a first virtual object currently held by the first object account, wherein the first virtual object includes a target virtual object;
[0162] S2, displaying a sharing prompt area according to the object display area.
[0163] It can be understood that the above-mentioned sharing prompt information can be used to indicate that the first object account has performed the above-mentioned first interaction operation, that is, to prepare to share the selected target virtual object with the second object account; and then when the second object account receives the above-mentioned sharing prompt information, the object display area of the first object account is synchronously displayed.
[0164] The manner in which the sharing prompt area in the interactive interface of the second object account displays the object display area of the first object account can refer to the above-mentioned various method embodiments, which will not be repeated here. It should be noted that the manner in which the sharing prompt area in the interactive interface of the second object account displays the object display area of the first object account can be the same as or different from the manner in which the sharing prompt area in the interactive interface of the first object account displays the reference object display area of the second object account. In this embodiment, the specific manner in which the object display area of the first object account is displayed in the above-mentioned sharing prompt area is not limited.
[0165] In an optional implementation, after displaying the target virtual object currently shared by the first object account in the sharing prompt area, the method further includes one of the following:
[0166] Method 1: in response to performing a first interactive operation on a target virtual object, sending a first interactive prompt message to the first object account, wherein the first interactive message indicates that the second object account agrees to receive the target virtual object;
[0167] Method 2: in response to performing a second interactive operation on the target virtual object, sending a second interactive prompt message to the first object account, wherein the second interactive message indicates that the second object account refuses to receive the target virtual object;
[0168] Method three: in response to performing a third interactive operation on the reference virtual object, sending a third interactive prompt message to the first object account, wherein the third interactive message is used to obtain the reference virtual object currently held by the first object account.
[0169] It is understandable that the first method can be an interactive operation of agreeing to receive the target virtual object currently selected by the first object account; the second method can be an interactive operation of refusing to receive the target virtual object currently selected by the first object account; the third method can be an interactive method of refusing to receive the target virtual object currently selected by the first object account and asking the first object account for the selected reference virtual object. For example, the third interactive operation can be a long press operation, a click operation, etc. on the reference virtual object in the sharing prompt area, and the method of selecting the reference virtual object from multiple first virtual objects is not limited here.
[0170] In an optional implementation, after displaying the target virtual object currently shared by the first object account in the sharing prompt area, the method further includes at least one of the following:
[0171] Method 1: in response to the first area adjustment operation, adjusting the area display area of the sharing prompt area, and maintaining the display of the target virtual object and the operation control corresponding to the target virtual object in the adjusted sharing prompt area, wherein the operation control includes a first operation control for indicating the acceptance of receiving the target virtual object, and a second operation control for indicating the refusal to receive the target virtual object;
[0172] Method 2: In response to the second area adjustment operation, the area display position of the sharing prompt area is adjusted.
[0173] It is understandable that after the sharing prompt area is displayed in the interactive interface of the second object account, the sharing prompt area can be adjusted in terms of area display area and / or area display position. It should be noted that when the sharing prompt area is adjusted in terms of area display area, the target virtual object and related operation controls can be kept displayed to facilitate the determination of whether to receive the target virtual object.
[0174] The following combination Fig.16 , Fig.17 The above implementation is described in detail. Fig.16 As shown, when the first object account shares the selected target virtual object with the second object account, the object display area of the first object account is displayed through the displayed sharing prompt area 1601 in the interactive interface of the second object account. Fig.16 In the example, the target virtual object "Little Monster 11" selected by the first object account can be highlighted ( Fig.16 The dashed line display style indicates that the first object account is ready to share "Little Monster 11" with the second object account.
[0175] Furthermore, the second object account can send a confirmation receipt message "I want this chess piece" to the first object account through the confirmation control displayed on "Little Monster 11"; the second object account can also send a confirmation receipt message "I don't want this chess piece" to the first object account through the rejection control "X" displayed on "Little Monster 11"; in addition, in response to the long press operation of the first virtual object "Little Monster 9" displayed in the sharing prompt area 1601, an object acquisition request "I want chess piece Little Monster 9" can be sent to the first object account.
[0176] In a preferred manner, the gain effect information provided by the target virtual object shared by the first object account can also be displayed on the interactive page of the second object account. The manner of displaying the gain effect information on the interactive page of the second object account can refer to the above-mentioned various method embodiments, which will not be repeated here.
[0177] Further, in response to Fig.16 The display area adjustment control displayed in the upper right corner of the sharing prompt area 1601 in the interface can be switched to display the following: Fig.17 As shown, the display area of the sharing prompt area 1701 is adjusted, while the display target virtual object and the operation controls corresponding to the target virtual object are maintained in the sharing prompt area 1701.
[0178] The following combination Fig.18 , Fig.19 A complete implementation of the present application is described. In this implementation, the virtual object is specifically a chess piece in the auto chess game, and the object display area is specifically an auto chess preparation seat;
[0179] As in steps S1802 to S1808, the gift button is detected and pressed; the gift button is always on; drag it to the chess piece on the preparation seat; the chess piece is always on, and the live broadcast of the teammate's preparation seat is displayed; it should be noted that all operations performed by the teammate on the preparation seat, including the discarding of chess pieces and the star-raising performance, need to be synchronized;
[0180] Then, S1810 is executed to determine whether the teammate's preparation seat is full. If the preparation seat is full, S1810-1 is executed to display that it is full, and the chess piece is released and becomes a trophy and falls to the ground of the teammate; otherwise, S1812 is executed to determine whether the teammate has a bond with the chess piece;
[0181] Specifically, if the bench is full at this time, a disabled full state will be displayed, and the chess piece will fall to the ground as a trophy to the teammates when you let go; otherwise, it is determined whether the teammates already have a bond with the chess piece;
[0182] If the teammate does not have the bond with the chess piece, first execute S1812-1, slide the bond list to the bottom, highlight the chess piece bond name, and then execute S1818 to determine whether the gifted chess piece can upgrade the star of the teammate's chess piece; otherwise, first execute S1816, the number of players next to the bond information is highlighted as "+1", and then execute S1818;
[0183] Specifically, if a teammate already has the bond, a bond preview pop-up window will be displayed, automatically sliding to the location of the bond, and highlighting the +1 label; if a teammate does not have the bond of the chess piece, a bond preview pop-up window will be displayed, automatically sliding to the bottom, and a new line will be added to display the name of the bond;
[0184] If the gifted chess piece can upgrade the star of the teammate's chess piece, execute S1818-1, highlight the chess piece that can be upgraded and S1824 in the broadcast, let go to send the chess piece to the friend, upgrade the star, and end the broadcast; otherwise, execute S1820, let go to send the chess piece to the friend; S1822, the broadcast ends.
[0185] Specifically, first determine whether the gifted chess piece can upgrade the teammate's chess piece. If so, the chess piece that can be upgraded will be highlighted in the broadcast; when the chess piece is released, it will be automatically merged and upgraded on the friend's preparation seat; if it cannot be upgraded, the chess piece will be given to the friend and placed on the preparation seat when the chess piece is released.
[0186] Correspondingly, the steps performed in the interactive interface of the second object account may be as follows: Fig.19 shown.
[0187] S1902, the teammate presses the gift button; S1904, the broadcast area appears on the current interface;
[0188] Next, the second object account can perform the following three operations: S1904-1, click confirm, and send a floating message visible only to teammates "I want this chess piece"; S1904-2, click reject, and send a floating message visible only to teammates "I don't want this chess piece"; S1904-3, shrink the window.
[0189] Specifically, first determine whether the teammate has dragged the gift button to a specific chess piece on the preparation seat; if so, a teammate chess board broadcast preview appears on the receiving party's chess board; Fig.16 As shown, click the check mark to send a prompt visible only to your teammate: I want this chess piece, and the chess piece icon can be displayed at the same time; click the cross to send a prompt visible only to your teammate: I don’t want this chess piece and the chess piece icon; click to shrink the window to minimize the broadcast and only show the standby seat where the teammate’s gift button is located.
[0190] Through the above-mentioned implementation mode of the present application, in an interactive game application, a visual mirror communication method can be used for players and teammates to perform preparation operations on the preparation seat. For the target account that initiates the sharing and gifting operation, when the giver gives the chess piece, the chess piece to be given can be quickly compared with the teammate's preparation seat and bond list, which is more intuitive and simple; the help of the gifted chess piece to the teammates can be quickly obtained from the comparison, and the efficiency of information transmission is improved; for the target account that receives the chess piece, the recipient does not need to switch to the other party's chessboard interface to see the gifting operation process initiated by the giver, which is conducive to real-time communication, reduces the operation steps, avoids decision-making errors in the gifting process, and thus improves the efficiency of sharing communication, and solves the technical problem of low communication efficiency in the existing sharing operation process.
[0191] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0192] According to another aspect of an embodiment of the present invention, a virtual object sharing device for implementing the above-mentioned virtual object sharing method is also provided. Fig. 20 As shown, the device comprises:
[0193] A first display unit 2002, used to display at least one first virtual object held by a first object account in an object display area, wherein the first virtual object is used to perform a virtual interactive operation in a virtual scene;
[0194] The second display unit 2004 is used to display a sharing prompt area in response to a first interactive operation on a target virtual object among at least one of the first virtual objects, and to display a second virtual object currently held by a second object account in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform the virtual interactive operation in the virtual scene associated with the second object account;
[0195] The sharing unit 2006 is used to cancel the display of the target virtual object in the object display area in response to the second interactive operation, and send object sharing information to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account.
[0196] Optionally, the second display unit 2004 includes: an acquisition module, used to acquire a reference object display area in the current interactive interface of the second object account, wherein the reference object display area is used to display the second virtual object currently held by the second object account; and a display module, used to display the sharing prompt area according to the reference object display area.
[0197] Optionally, the second display unit 2004 is used for at least one of the following: when the second virtual object in the reference object display area is controlled to move to the reference object interaction area, the second virtual object is correspondingly cancelled from display in the sharing prompt area, wherein the reference object interaction area is an interaction area in the current interaction interface of the second object account for performing the virtual interaction operation, and when the second virtual object moves to the reference object interaction area, the object state of the second virtual object is switched to an active state; when the object level of the second virtual object in the reference object display area is adjusted, the object level indicator of the second virtual object is correspondingly adjusted and displayed in the sharing prompt area, wherein, in the current interaction interface of the second object account, when the number of reference virtual objects of the same object type as the second virtual object changes, the object level of the second virtual object is adjusted, and the reference virtual object is a virtual object of the same object type as the second virtual object currently held by the second object account; when the second virtual object in the reference object display area moves from a first display position to a second display position, the display position of the second virtual object is updated and displayed in the sharing prompt area.
[0198] Optionally, the display module is used to: generate sharing prompt information based on the object association relationship between the second virtual object and the target virtual object, wherein the object association relationship is determined based on the respective object attributes of the second virtual object and the target virtual object, and the sharing prompt information is used to indicate the virtual gain effect provided by the target virtual object when the second object account holds the target virtual object; and display the sharing prompt information in the sharing prompt area.
[0199] Optionally, the above-mentioned display module is used to: when the above-mentioned virtual gain effect is to increase the object level of the above-mentioned second virtual object, highlight the object identifier of the above-mentioned second virtual object and the level identifier corresponding to the level increase in the above-mentioned sharing prompt area; when the above-mentioned virtual gain effect is to increase the regional object skill of the above-mentioned second virtual object, display the skill identification information of the above-mentioned regional object skill in the above-mentioned sharing prompt area, wherein the above-mentioned regional object skill is an object skill that is effective for the above-mentioned second virtual object of the same type.
[0200] Optionally, the display module is used to: obtain the target area object skill from the area object skill set matching the second virtual object, wherein the area object skill set includes the first area object skill configured for the second virtual object and the second area object skill in the configuration process, and the target area object skill is the area object skill corresponding to the target virtual object; in a case where the sharing prompt area includes the target skill identifier of the target area object skill, the target skill identifier is highlighted in the sharing prompt area, and the configuration process information matching the target area object skill is updated according to the target virtual object; in a case where the sharing prompt area does not include the target skill identifier of the target area object skill, the skill identifier information of the area object skill displayed in the sharing prompt area is switched to the target skill identifier information of the target area object skill, wherein the target skill identifier information includes the target skill identifier and the configuration process information matching the target area object skill.
[0201] Optionally, the second display unit 2004 is further used to: when the number of objects of the second virtual object currently held by the second object account is less than a quantity threshold, display the target virtual object in a first style in the sharing prompt area, wherein the target virtual object in the first style indicates that the second object account is allowed to receive the target virtual object; when the number of objects of the second virtual object currently held by the second object account is greater than or equal to a quantity threshold, display the target virtual object in a second style in the object display area, wherein the target virtual object in the second style indicates that the second object account is not allowed to receive the target virtual object.
[0202] Optionally, the virtual object sharing device further includes: an interactive information prompt unit, which is used to display the first interactive information in the current interactive interface of the first object account upon receiving the first interactive prompt information sent by the second object account, wherein the first interactive information indicates that the second object account agrees to receive the target virtual object; display the second interactive information in the current interactive interface of the first object account upon receiving the second interactive prompt information sent by the second object account, wherein the second interactive information indicates that the second object account refuses to receive the target virtual object; and highlight the reference virtual object in the object display area according to the third interactive prompt information upon receiving the third interactive prompt information sent by the second object account, wherein the third interactive prompt information indicates that the second object account requests the reference virtual object from the first object account.
[0203] Optionally, the sharing device of the virtual object is also used for: when the first interactive operation is to drag the interactive operation identifier to a target display area corresponding to the target virtual object, in response to a release operation in the target display area, canceling the display of the target virtual object in the object display area and canceling the display of the sharing prompt area; in response to a release operation in the reference display area, keeping the display of the target virtual object in the object display area and canceling the display of the sharing prompt area, wherein the reference display area is a display area different from the target display area.
[0204] Optionally, the sharing device of the virtual object is also used for: when the first interactive operation is to drag the interactive operation identifier to the target display area corresponding to the target virtual object, in response to adjusting the dragging end point of the dragging operation to the reference display area corresponding to the reference virtual object, displaying the reference virtual object in the sharing prompt area according to the first style; in response to a release operation in the reference display area corresponding to the reference virtual object, canceling the display of the reference virtual object in the object display area and canceling the display of the sharing prompt area.
[0205] Optionally, the sharing device of the virtual object is also used for: in case that there are multiple teammate object accounts in the same interactive camp as the first object account, in response to a third interactive operation, determining the multiple teammate object accounts as the second object account; in response to the first interactive operation on the target virtual object, displaying the multiple sharing prompt areas corresponding to the multiple second object accounts respectively; in case that there are multiple teammate object accounts in the same interactive camp as the first object account, in response to a fourth interactive operation, determining the second object account from the multiple teammate object accounts; in response to the first interactive operation on the target virtual object, displaying the sharing prompt area corresponding to the second object account.
[0206] Optionally, in this embodiment, the embodiments to be implemented by the above-mentioned various unit modules can refer to the above-mentioned various method embodiments, which will not be repeated here.
[0207] According to another aspect of the embodiments of the present invention, an electronic device for implementing the above-mentioned virtual object sharing method is also provided. The electronic device may be Fig.21 The terminal device or server shown in the figure. This embodiment is described by taking the electronic device as a terminal device as an example. Fig.21 As shown, the electronic device includes a memory 2102 and a processor 2104. The memory 2102 stores a computer program. The processor 2104 is configured to execute the steps in any of the above method embodiments through the computer program.
[0208] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0209] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0210] S1, displaying at least one first virtual object held by a first object account in an object display area, wherein the first virtual object is used to perform a virtual interactive operation in a virtual scene;
[0211] S2, in response to a first interactive operation on a target virtual object among at least one of the first virtual objects, displaying a sharing prompt area, and displaying a second virtual object currently held by a second object account in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform the virtual interactive operation in the virtual scene associated with the second object account;
[0212] S3, in response to the second interactive operation, canceling the display of the target virtual object in the object display area, and sending object sharing information to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account.
[0213] Alternatively, a person skilled in the art may understand that: Fig.21 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, and other terminal devices. Fig.21 The electronic device and the electronic equipment described above are not limited in structure. Fig.21 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.21 Different configurations are shown.
[0214] Among them, the memory 2102 can be used to store software programs and modules, such as the program instructions / modules corresponding to the virtual object sharing method and device in the embodiment of the present invention. The processor 2104 executes various functional applications and data processing by running the software programs and modules stored in the memory 2102, that is, realizing the above-mentioned virtual object sharing method. The memory 2102 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 2102 may further include a memory remotely arranged relative to the processor 2104, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 2102 can be specifically used, but is not limited to, to store information such as each element in the scene screen, sharing information of virtual objects, etc. As an example, such as Fig.21 As shown, the memory 2102 may include, but is not limited to, the first display unit 2002, the second display unit 2004, and the sharing unit 2006 in the virtual object sharing device. In addition, it may also include, but is not limited to, other module units in the virtual object sharing device, which will not be repeated in this example.
[0215] Optionally, the transmission device 2106 is used to receive or send data via a network. Specific examples of the network may include wired networks and wireless networks. In one example, the transmission device 2106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 2106 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0216] In addition, the electronic device further includes: a display 2108 for displaying a virtual scene in an interface; and a connection bus 2110 for connecting various module components in the electronic device.
[0217] According to another aspect of an embodiment of the present invention, a virtual object acquisition device for implementing the above virtual object acquisition method is also provided. Fig. 22 As shown, the device comprises:
[0218] The first display unit 2202 is used to display at least one second virtual object held by the second object account in the reference object display area, wherein the second virtual object is used to perform a virtual interactive operation in the virtual scene;
[0219] The second display unit 2204 is used to display a sharing prompt area according to the sharing prompt information when receiving the sharing prompt information sent by the first object account, and to display the target virtual object currently shared by the first object account in the sharing prompt area, wherein the first object account is a teammate object account in the same interactive camp as the second object account, and the target virtual object is used to perform the virtual interactive operation in the virtual scene associated with the first object account;
[0220] The acquisition unit 2206 is used to display the target virtual object shared by the first object account in the reference object display area and cancel the display of the sharing prompt area when receiving the object sharing information sent by the first object account.
[0221] Optionally, the second display unit 2204 includes: an acquisition module, used to acquire an object display area in the current interactive interface of the first object account, wherein the object display area is used to display the first virtual object currently held by the first object account, and the first virtual object includes the target virtual object; a display module, used to display the sharing prompt area according to the object display area.
[0222] Optionally, the device for acquiring the above-mentioned virtual object also includes: a sending unit, used for one of the following: in response to performing a first interactive operation on the above-mentioned target virtual object, sending a first interactive prompt message to the above-mentioned first object account, wherein the above-mentioned first interactive message indicates that the above-mentioned second object account agrees to receive the above-mentioned target virtual object; in response to performing a second interactive operation on the above-mentioned target virtual object, sending a second interactive prompt message to the above-mentioned first object account, wherein the above-mentioned second interactive message indicates that the above-mentioned second object account refuses to receive the above-mentioned target virtual object; in response to performing a third interactive operation on the reference virtual object, sending a third interactive prompt message to the above-mentioned first object account, wherein the above-mentioned third interactive message is used to obtain the above-mentioned reference virtual object currently held by the above-mentioned first object account.
[0223] Optionally, the device for acquiring the virtual object further includes: an adjustment unit, which is also used for at least one of the following: in response to a first area adjustment operation, adjusting the regional display area of the sharing prompt area, and keeping displaying the target virtual object and the operation control corresponding to the target virtual object in the adjusted sharing prompt area, wherein the operation control includes a first operation control for indicating agreement to receive the target virtual object, and a second operation control for indicating refusal to receive the target virtual object; in response to the second area adjustment operation, adjusting the regional display position of the sharing prompt area.
[0224] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for obtaining a virtual object or the method for obtaining a virtual object when running.
[0225] Optionally, in this embodiment, the embodiments to be implemented by the above-mentioned various unit modules can refer to the above-mentioned various method embodiments, which will not be repeated here.
[0226] According to another aspect of the embodiments of the present invention, an electronic device for implementing the above-mentioned method for obtaining a virtual object is also provided. The electronic device may be Fig.23 The terminal device or server shown in the figure. This embodiment is described by taking the electronic device as a terminal device as an example. Fig.23 As shown, the electronic device includes a memory 2302 and a processor 2304, wherein the memory 2302 stores a computer program, and the processor 2304 is configured to execute the steps in any of the above method embodiments through the computer program.
[0227] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0228] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0229] S1, displaying at least one second virtual object held by a second object account in a reference object display area, wherein the second virtual object is used to perform a virtual interactive operation in a virtual scene;
[0230] S2, when receiving the sharing prompt information sent by the first object account, displaying a sharing prompt area according to the sharing prompt information, and displaying the target virtual object currently shared by the first object account in the sharing prompt area, wherein the first object account is a teammate object account in the same interactive camp as the second object account, and the target virtual object is used to perform the virtual interactive operation in the virtual scene associated with the first object account;
[0231] S3, when receiving the object sharing information sent by the first object account, displaying the target virtual object shared by the first object account in the reference object display area, and canceling the display of the sharing prompt area.
[0232] Alternatively, a person skilled in the art may understand that: Fig.23The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, and other terminal devices. Fig.23 The electronic device and the electronic equipment described above are not limited in structure. Fig.23 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.23 Different configurations are shown.
[0233] Among them, the memory 2302 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for obtaining virtual objects in the embodiments of the present invention. The processor 2304 executes various functional applications and data processing by running the software programs and modules stored in the memory 2302, that is, realizing the above-mentioned method for obtaining virtual objects. The memory 2302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 2302 may further include a memory remotely arranged relative to the processor 2304, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 2302 may be specifically used, but not limited to, to store information such as various elements in the scene screen, acquisition information of virtual objects, and so on. As an example, such as Fig.23 As shown, the memory 2302 may include, but is not limited to, the first display unit 2202, the second display unit 2204, and the acquisition unit 2206 in the virtual object acquisition device. In addition, it may also include, but is not limited to, other module units in the virtual object acquisition device, which will not be repeated in this example.
[0234] Optionally, the transmission device 2306 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wired network and a wireless network. In one example, the transmission device 2306 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 2306 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0235] In addition, the above electronic device also includes: a display 2308 for displaying the virtual scene in the interface; and a connection bus 2310 for connecting various module components in the above electronic device.
[0236] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes in the form of network communication. Among them, a peer-to-peer network may be formed between the nodes, and any form of computing device, such as a server, a terminal or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0237] According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program / instruction, the computer program / instruction comprising a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit, various functions provided by the embodiments of the present application are executed.
[0238] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0239] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned virtual object sharing method or virtual object lake area method.
[0240] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0241] S1, displaying at least one first virtual object held by a first object account in an object display area, wherein the first virtual object is used to perform a virtual interactive operation in a virtual scene;
[0242] S2, in response to a first interactive operation on a target virtual object among at least one first virtual object, displaying a sharing prompt area, and displaying a second virtual object currently held by a second object account in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform a virtual interactive operation in a virtual scene associated with the second object account;
[0243] S3, in response to the second interactive operation, canceling the display of the target virtual object in the object display area, and sending object sharing information to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account.
[0244] Optionally, in this embodiment, the computer-readable storage medium may also be configured to store a computer program for performing the following steps:
[0245] S1, displaying at least one second virtual object held by a second object account in a reference object display area, wherein the second virtual object is used to perform a virtual interactive operation in a virtual scene;
[0246] S2, when receiving the sharing prompt information sent by the first object account, displaying the sharing prompt area according to the sharing prompt information, and displaying the target virtual object currently shared by the first object account in the sharing prompt area, wherein the first object account is a teammate object account in the same interactive camp as the second object account, and the target virtual object is used to perform virtual interactive operations in the virtual scene associated with the first object account;
[0247] S3, when receiving the object sharing information sent by the first object account, displaying the target virtual object shared by the first object account in the reference object display area, and canceling the display of the sharing prompt area.
[0248] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0249] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the above methods of various embodiments of the present invention.
[0250] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0251] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0252] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0253] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0254] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for sharing a virtual object, characterized in that: include: Displaying at least one first virtual object held by the first object account in the object display area, wherein the first virtual object is used to perform a virtual interactive operation in a virtual scene; In response to a first interactive operation on a target virtual object among at least one of the first virtual objects, a sharing prompt area is displayed, and a second virtual object currently held by a second object account is displayed in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform the virtual interactive operation in the virtual scene associated with the second object account; In response to the second interaction operation, the target virtual object is cancelled from being displayed in the object display area, and object sharing information is sent to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account.
2. The method according to claim 1, characterized in that The displaying of the second virtual object owned by the second object account in the sharing prompt area includes: Acquire a reference object display area in a current interactive interface of the second object account, wherein the reference object display area is used to display the second virtual object currently held by the second object account; The sharing prompt area is displayed according to the reference object display area.
3. The method according to claim 2, characterized in that The displaying of the second virtual object owned by the second object account in the sharing prompt area includes at least one of the following: In the case where the second virtual object in the reference object display area is controlled to move to the reference object interaction area, the second virtual object is correspondingly cancelled from display in the sharing prompt area, wherein the reference object interaction area is an interaction area in the current interaction interface of the second object account for performing the virtual interaction operation, and in the case where the second virtual object moves to the reference object interaction area, the object state of the second virtual object is switched to an active state; In the case where the object level of the second virtual object in the reference object display area is adjusted, the object level indicator of the second virtual object is correspondingly adjusted and displayed in the sharing prompt area, wherein, in the current interactive interface of the second object account, in the case where the number of reference virtual objects of the same object type as the second virtual object changes, the object level of the second virtual object is adjusted, and the reference virtual object is a virtual object of the same object type as the second virtual object currently held by the second object account; When the second virtual object in the reference object display area moves from a first display position to a second display position, the display position of the second virtual object is updated in the sharing prompt area.
4. The method according to claim 2, characterized in that: The displaying the sharing prompt area according to the reference object display area includes: Generate sharing prompt information according to the object association relationship between the second virtual object and the target virtual object, wherein the object association relationship is determined according to the object attributes of the second virtual object and the target virtual object, and the sharing prompt information is used to indicate the virtual gain effect provided by the target virtual object when the second object account holds the target virtual object; The sharing prompt information is displayed in the sharing prompt area.
5. The method according to claim 4, characterized in that The displaying the sharing prompt information in the sharing prompt area includes: In a case where the virtual gain effect is to increase the object level of the second virtual object, highlighting the object identifier of the second virtual object and the level identifier corresponding to the increased level in the sharing prompt area; In a case where the virtual gain effect is to increase the area object skill of the second virtual object, skill identification information of the area object skill is displayed in the sharing prompt area, wherein the area object skill is an object skill effective for the second virtual object of the same type.
6. The method according to claim 5, characterized in that The skill identification information of the area object's skills displayed in the sharing prompt area includes: Acquire a target regional object skill from a regional object skill set that matches the second virtual object, wherein the regional object skill set includes a first regional object skill that has been configured for the second virtual object and a second regional object skill that is in the process of being configured, and the target regional object skill is the regional object skill corresponding to the target virtual object; In the case where the sharing prompt area includes a target skill identifier of the target area object skill, the target skill identifier is highlighted in the sharing prompt area, and configuration process information matching the target area object skill is updated according to the target virtual object; In a case where the sharing prompt area does not include the target skill identification of the target area object skill, the skill identification information of the area object skill displayed in the sharing prompt area is switched to be displayed as the target skill identification information of the target area object skill, wherein the target skill identification information includes the target skill identification and the configuration process information matching the target area object skill.
7. The method according to claim 1, characterized in that The displaying of the sharing prompt area in response to the first interactive operation on the target virtual object among the at least one of the first virtual objects further includes: When the number of the second virtual objects currently held by the second object account is less than a quantity threshold, displaying the target virtual object in a first style in the sharing prompt area, wherein the target virtual object in the first style indicates that the second object account is allowed to receive the target virtual object; When the number of objects of the second virtual objects currently held by the second object account is greater than or equal to a quantity threshold, the target virtual object is displayed in the object display area in a second style, wherein the target virtual object in the second style indicates that the second object account is not allowed to receive the target virtual object.
8. The method according to claim 7, characterized in that After the target virtual object is displayed in the sharing prompt area according to the first style, the method includes: When receiving the first interaction prompt information sent by the second object account, displaying the first interaction information in the current interaction interface of the first object account, wherein the first interaction information indicates that the second object account agrees to receive the target virtual object; When receiving the second interaction prompt information sent by the second object account, displaying the second interaction information in the current interaction interface of the first object account, wherein the second interaction information indicates that the second object account refuses to receive the target virtual object; Upon receiving the third interaction prompt information sent by the second object account, the reference virtual object is highlighted in the object display area according to the third interaction prompt information, wherein the third interaction prompt information instructs the second object account to request the reference virtual object from the first object account.
9. The method according to claim 7, characterized in that: After the target virtual object is displayed in the sharing prompt area according to the first style, the method includes: In a case where the first interaction operation is dragging the interaction operation identifier to a target display area corresponding to the target virtual object, in response to a release operation in the target display area, canceling the display of the target virtual object in the object display area and canceling the display of the sharing prompt area; In response to a release operation in a reference display area, the target virtual object is kept displayed in the object display area, and the sharing prompt area is canceled, wherein the reference display area is a display area different from the target display area.
10. The method according to claim 8, characterized in that After highlighting the reference virtual object in the object display area, the method includes: In a case where the first interactive operation is dragging the interactive operation identifier to a target display area corresponding to the target virtual object, in response to adjusting the dragging end point of the dragging operation to a reference display area corresponding to the reference virtual object, displaying the reference virtual object in the sharing prompt area according to the first style; In response to a release operation in the reference display area corresponding to the reference virtual object, the reference virtual object is canceled from display in the object display area, and the sharing prompt area is canceled from display.
11. The method according to claim 8, characterized in that After highlighting the reference virtual object in the object display area, the method further includes: In the case where there are multiple teammate object accounts in the same interactive camp as the first object account, in response to a third interactive operation, determining the multiple teammate object accounts as the second object accounts; in response to the first interactive operation on the target virtual object, displaying multiple sharing prompt areas corresponding to the multiple second object accounts respectively; When there are multiple teammate object accounts in the same interactive camp as the first object account, in response to the fourth interactive operation, the second object account is determined from the multiple teammate object accounts; in response to the first interactive operation on the target virtual object, the sharing prompt area corresponding to the second object account is displayed.
12. A method for acquiring a virtual object, characterized in that: include: Displaying at least one second virtual object held by the second object account in the reference object display area, wherein the second virtual object is used to perform a virtual interactive operation in the virtual scene; In the case of receiving sharing prompt information sent by the first object account, displaying a sharing prompt area according to the sharing prompt information, and displaying a target virtual object currently shared by the first object account in the sharing prompt area, wherein the first object account is a teammate object account in the same interactive camp as the second object account, and the target virtual object is used to perform the virtual interactive operation in the virtual scene associated with the first object account; When the object sharing information sent by the first object account is received, the target virtual object shared by the first object account is displayed in the reference object display area, and the sharing prompt area is canceled.
13. The method according to claim 12, characterized in that The displaying in the sharing prompt area of the target virtual object currently shared by the first object account includes: Acquire an object display area in a current interactive interface of the first object account, wherein the object display area is used to display a first virtual object currently held by the first object account, the first virtual object including the target virtual object; The sharing prompt area is displayed according to the object display area.
14. The method according to claim 13, characterized in that After displaying the target virtual object currently shared by the first object account in the sharing prompt area, the method further includes one of the following: In response to performing a first interactive operation on the target virtual object, sending a first interactive prompt message to the first object account, wherein the first interactive message indicates that the second object account agrees to receive the target virtual object; In response to performing a second interactive operation on the target virtual object, sending a second interactive prompt message to the first object account, wherein the second interactive message indicates that the second object account refuses to receive the target virtual object; In response to performing a third interactive operation on the reference virtual object, a third interactive prompt message is sent to the first object account, wherein the third interactive prompt message is used to obtain the reference virtual object currently held by the first object account.
15. The method according to claim 12, characterized in that After displaying the target virtual object currently shared by the first object account in the sharing prompt area, the method further includes at least one of the following: In response to the first area adjustment operation, the area display area of the sharing prompt area is adjusted, and the target virtual object and the operation control corresponding to the target virtual object are kept displayed in the adjusted sharing prompt area, wherein the operation control includes a first operation control for indicating consent to receive the target virtual object, and a second operation control for indicating refusal to receive the target virtual object; In response to the second area adjustment operation, the area display position of the sharing prompt area is adjusted.
16. A virtual object sharing device, characterized in that: include: A first display unit, configured to display at least one first virtual object held by a first object account in an object display area, wherein the first virtual object is used to perform a virtual interactive operation in a virtual scene; a second display unit, for displaying a sharing prompt area in response to a first interactive operation on a target virtual object among at least one of the first virtual objects, and displaying a second virtual object currently held by a second object account in the sharing prompt area, wherein the second object account is a teammate object account in the same interactive camp as the first object account, and the second virtual object is used to perform the virtual interactive operation in the virtual scene associated with the second object account; The sharing unit is used to cancel the display of the target virtual object in the object display area in response to the second interactive operation, and send object sharing information to the second object account, wherein the object sharing information is used to transfer the target virtual object to the second object account.
17. A device for acquiring a virtual object, characterized in that: include: A first display unit, configured to display at least one second virtual object held by a second object account in a reference object display area, wherein the second virtual object is used to perform a virtual interactive operation in a virtual scene; A second display unit is used to display a sharing prompt area according to the sharing prompt information when receiving the sharing prompt information sent by the first object account, and to display the target virtual object currently shared by the first object account in the sharing prompt area, wherein the first object account is a teammate object account in the same interactive camp as the second object account, and the target virtual object is used to perform the virtual interactive operation in the virtual scene associated with the first object account; The acquisition unit is used to display the target virtual object shared by the first object account in the reference object display area and cancel the display of the sharing prompt area when receiving the object sharing information sent by the first object account.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 11 or 12 to 15 when executed.
19. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 11 or 12 to 15 are implemented.
20. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method described in any one of claims 1 to 11 or 12 to 15 through the computer program.