Method, apparatus, computer device, and program for interacting between accounts
The method and apparatus in MOBA games enhance interaction efficiency by displaying interaction tools and special effect animations in game preparation interfaces, addressing the inefficiencies of existing inter-account interaction methods and enriching communication options.
Patent Information
- Application Number
- JP2024532308
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-05-23
- Filing Date
- 2023-03-20
- Publication Date
- 2024-11-13
- Estimated Expiration
- 2043-03-20
AI Technical Summary
Existing inter-account interaction methods in MOBA games lack efficiency and richness, particularly in the preparation stages of forming teams, selecting objects, and loading scenes, often requiring chat channels for communication.
A method and apparatus that displays a game preparation interface with icons representing different accounts, allowing for the selection of interaction tools and playing special effect animations to facilitate interaction between accounts, without the need for chat channels, by using a terminal or server to manage tool usage and special effect generation.
Enhances interaction efficiency and enriches the interaction methods between accounts in MOBA games by intuitively displaying tool usage and reducing the reliance on chat channels, thereby improving human-computer interaction.
Smart Images

Figure 2024542275000001_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the technical field of computer technology, and in particular to an interactive method, device, computer device, and storage medium between accounts.
[0002] This application claims priority to a Chinese patent application filed on May 23, 2022, bearing application number 202210566922.3 and entitled "Interactive method, apparatus, computer device, and storage medium between accounts," the entire contents of which are incorporated herein by reference. [Background technology]
[0003] With the development of computer technology, the types of games that can be played are becoming more and more numerous. Here, MOBA (Multiplayer Online Battle Arena) is a relatively popular type of game. When playing such a game, players can interact by sending stamps (including stamps, emojis, etc., hereinafter also referred to simply as "stamps"). Summary of the Invention [Problem to be solved by the invention]
[0004] The embodiments of the present application provide an inter-account interaction method, device, computer device, and storage medium, which not only enriches the inter-account interaction manner, but also improves the efficiency of human-computer interaction, and further improves the inter-account interaction efficiency. The technical means are as follows: [Means for solving the problem]
[0005] In one aspect, a method for interacting between accounts is provided, the method comprising: displaying a game preparation interface for a virtual game, the game preparation interface including a first icon and at least one second icon, the first icon being used to represent a first account currently logged in, the second icon being used to represent other accounts other than the first account, and the game preparation interface being used to prepare for the virtual game; displaying a tool selection area in the game preparation interface in response to a trigger operation on a target icon, the target icon being any one of the at least one second icon, and at least one interactive tool owned by the first account being displayed in the tool selection area; The method includes a step of playing a target special effect animation of a target interactive tool in response to a use operation on the target interactive tool, the target interactive tool being any one of the at least one interactive tool, and the target special effect animation being used to display a special effect resource in which the target interactive tool points from the first icon to the target icon.
[0006] In another aspect, a cross-account interactive device is provided, the device including: a first display module; and a playback module; the first display module is used for displaying a game preparation interface for a virtual game, the game preparation interface includes a first icon and at least one second icon, the first icon is used for representing a first account currently logged in, and the second icon is used for representing other accounts except the first account, and the game preparation interface is used for preparing the virtual game; The first display module is further used to display a tool selection area in the game preparation interface in response to a trigger operation on a target icon, the target icon being any one of the at least one second icon, and at least one interactive tool owned by the first account is displayed in the tool selection area; The playback module is used for playing a target special effect animation of a target interactive tool in response to a use operation on the target interactive tool, the target interactive tool being any one of the at least one interactive tool, and the target special effect animation is used for displaying a special effect resource in which the target interactive tool points from the first icon to the target icon.
[0007] In another aspect, a computer device is provided, the computer device including a processor and a memory, the memory being adapted to store at least one computer program, the at least one computer program being loaded and executed by the processor to realize an inter-account interaction method in an embodiment of the present application.
[0008] In another aspect, a computer-readable storage medium is provided, the computer-readable storage medium having stored therein at least one computer program, the at least one computer program being loaded and executed by a processor to realize an inter-account interaction method in an embodiment of the present application.
[0009] In another aspect, a computer program product or computer program is provided, the computer program product or computer program including computer program code stored in a computer readable storage medium, the computer program code being read by a processor of a computing device from the computer readable storage medium, and the processor executing the computer program code to cause the computing device to perform the account interaction methods provided in any of the aspects or in any of the various selectable implementation manners. [Brief description of the drawings]
[0010] [Figure 1] FIG. 2 is a schematic diagram of an implementation environment of an inter-account interaction method provided according to an embodiment of the present application. [Diagram 2] 1 is a flow chart of an inter-account interaction method provided in accordance with an embodiment of the present application. [Diagram 3] 4 is a flowchart of an interactive method between different accounts provided according to an embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of a game preparation interface during team formation provided according to an embodiment of the present application. [Diagram 5] FIG. 2 is a schematic diagram of a game preparation interface at an object selection stage provided according to an embodiment of the present application; [Figure 6] FIG. 2 is a schematic diagram of a game preparation interface in a loading phase provided according to an embodiment of the present application; [Figure 7] 1 is a flowchart of a tool usage request transmission provided in accordance with an embodiment of the present application. [Figure 8] 4 is a flowchart of the playback of target special effect animation provided according to an embodiment of the present application. [Figure 9] 2 is an interaction flow diagram of an inter-account interaction method provided in accordance with an embodiment of the present application; [Figure 10]4 is a flowchart of an interaction method between different accounts provided according to an embodiment of the present application. [Figure 11] FIG. 2 is a structural schematic diagram of an inter-account interaction device provided according to an embodiment of the present application; [Figure 12] FIG. 2 is a structural schematic diagram of an interaction device between different accounts provided according to an embodiment of the present application; [Figure 13] FIG. 2 is a structural schematic diagram of a terminal provided according to an embodiment of the present application; [Figure 14] FIG. 2 is a structural schematic diagram of a server provided according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] It is necessary to explain that the information (including but not limited to user device information and user personal information), data (including but not limited to data for analysis, data for storage, data for display, etc.) and signals related to the present application are all licensed by the user or fully licensed by each party, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the interaction tools and special effect resources of the interaction tools related to the present application are all obtained when fully licensed.
[0012] For ease of understanding, the following definitions are provided for terms used in this application.
[0013] MOBA games are a type of network game. In MOBA games, players are usually divided into two teams, and the two teams compete against each other on a distributed game map, with each player controlling his or her own virtual object to perform a number of actions.
[0014] The team formation stage is a stage in which players form teams in a game. The team formation stage is one stage in which preparations for a virtual game are made.
[0015] The object selection stage is a stage in which a player selects a virtual object in a game, and is one stage in which preparations for a virtual game are made.
[0016] The load phase is a wait phase in which a virtual scene of a virtual match is loaded after a player selects a virtual object in a game, where the virtual scene includes the virtual object selected by the player.
[0017] A player's avatar is a small, square-style image of their image that the player uses in the game.
[0018] A bust is a rectangular style image that represents a player-selected virtual object during the loading phase of the game.
[0019] The account interaction method provided by the embodiments of the present application can be executed by a computer device. In some embodiments, the computer device is a terminal or a server. In the following, the implementation environment of the account interaction method provided by the embodiments of the present application will be introduced by taking the computer device as a terminal as an example. FIG. 1 is a schematic diagram of an implementation environment of the account interaction method provided according to the embodiments of the present application. As shown in FIG. 1, the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 can be directly or indirectly connected by wired or wireless communication, and the present application is not limited thereto.
[0020] In some embodiments, the terminal 101 may be, but is not limited to, a smartphone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a smart voice interaction device, a smart home appliance, and an in-vehicle terminal. An application program is installed and operated on the terminal 101. The application program supports playing a virtual game. The application program may be any one of a first-person shooting game (FPS), a third-person shooter game, a multiplayer online battle arena game (MOBA), or a multiplayer gunfight-like survival game. When preparing for a virtual game, the terminal 101 may display a game preparation interface for the virtual game, in which a first icon and at least one second icon are displayed. The first icon is used to represent a first account logged in on the terminal 101, and the second icon is used to represent another account logged in on another terminal 101. When a player operates the terminal 101, the first account uses an interaction tool to interact with another account. In this case, the terminal 101 can display a special effect resource in which the interaction tool points from the first icon to a target icon. Here, the target icon is used to represent the account that interacts with the first account.
[0021] It is necessary to explain that the number of the terminals may be more or less. For example, the terminal may be one, or the terminal may be dozens, hundreds, or more. The embodiment of the present application does not limit the number and type of the terminals.
[0022] In some embodiments, the server 102 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), big data, and artificial intelligence platforms. The server 102 is used to provide background services for application programs supporting virtual games. The background services may be data storage services, information verification services, information transmission services, etc., and the embodiments of the present application are not limited thereto.
[0023] For example, the server 102 is used to provide an information verification service to an application program supporting a virtual game. When a terminal 101 logged in with a first account uses an interaction tool for another account, the terminal 101 logged in with the first account can send a tool use request to the server 102. The server 102 can verify the tool use request. When the tool use request passes verification, the terminal 101 and the other terminals 101 can obtain a special effect resource corresponding to the interaction tool.
[0024] In some embodiments, the server 102 performs primary computational operations and the terminal 101 performs secondary computational operations, or the server 102 performs secondary computational operations and the terminal 101 performs primary computational operations, or a distributed computing architecture is adopted between the server 102 and the terminal 101 to perform computations cooperatively.
[0025] 2 is a flowchart of an inter-account interaction method provided according to an embodiment of the present application, and is described by taking an example of being executed by a terminal in an embodiment of the present application as shown in FIG. 2. The inter-account interaction method includes the following steps:
[0026] 201: The terminal displays a game preparation interface for a virtual game, the game preparation interface includes a first icon and at least one second icon, the first icon is used to represent a first account currently logged in, the second icon is used to represent other accounts other than the first account, and the game preparation interface is used to prepare for a virtual game.
[0027] In the embodiment of the present application, the terminal is the terminal 101 shown in FIG. 1, and an application program is installed on the terminal. The application program supports a virtual game. The virtual game includes a preparation stage and an execution stage. In the virtual preparation stage, the terminal can prepare for the virtual game. In the execution stage of the virtual game, the virtual objects of different camps compete against each other in the virtual scene. When preparing for the virtual game, the terminal displays a game preparation interface for the virtual game. A first icon and at least one second icon are displayed in the game preparation interface. Here, the first icon is used to represent a first account currently logged in to the terminal, and the second icon is used to represent other accounts currently logged in to other terminals. The first account and the other accounts are both accounts participating in the virtual game. The first icon and the second icon may be an avatar of the player, or may be a half-body image of a virtual object selected by the player, and the embodiment of the present application is not limited thereto. The quantity of the at least one second icon may be one, four, nine, etc., and the embodiment of the present application is not limited thereto.
[0028] 202: In response to the trigger operation on the target icon, the terminal displays a tool selection area in the game preparation interface. The target icon is any one of at least one second icon, and at least one interaction tool owned by the first account is displayed in the tool selection area.
[0029] In an embodiment of the present application, in response to a trigger operation on any one of the at least one second icon, the terminal displays a tool selection area in a game preparation interface. Here, the trigger operation may be a click operation, a double click operation, a long press operation, a drag operation, etc., and the embodiment of the present application is not limited thereto. The display position of the tool selection area may be near the target icon, near the first icon, or a preset position in the game preparation interface, and the embodiment of the present application is not limited thereto. At least one interaction tool is included in the tool selection area, and the embodiment of the present application is not limited thereto. The interaction tool may be a tool used for interaction, such as fireworks, hearts, or flowers, and the embodiment of the present application is not limited thereto.
[0030] 203: In response to a use operation on the target interaction tool, the terminal plays a target special effect animation of the target interaction tool, the target interaction tool being any one of at least one interaction tool, and the target special effect animation is used to display a special effect resource that the target interaction tool points from the first icon to the target icon.
[0031] In the embodiment of the present application, for any one of the interaction tools, there exists a special effect resource corresponding to the interaction tool. The special effect resource is used to synthesize the special effect animation of the interaction tool. In other words, for any one of the interaction tools, the special effect animation of the interaction tool is associated. In response to a use operation for any one of the at least one interaction tool, the terminal can play the special effect animation of the interaction tool. That is, when the first account uses the target interaction tool for the account represented by the target icon, the terminal can play the target special effect animation of the target interaction tool.
[0032] The embodiment of the present application provides a means for, when preparing for a virtual game, triggering a target icon in a game preparation interface can display a tool selection area including at least one interaction tool in the game preparation interface, and selecting a target interaction tool among the at least one interaction tool can play a target special effect animation corresponding to the target interaction tool, intuitively indicating that the first account uses the target interaction tool for other accounts, thereby realizing the interaction between the first account and other accounts, that is, the interaction can be performed without the need for a chat channel, which not only enriches the interaction manner, but also improves the efficiency of human-computer interaction, and further improves the interaction efficiency between accounts.
[0033] The target special effect animation in the embodiment of the present application may be generated by the terminal or may be generated by the server. The following will further describe the means provided by the present application by taking the terminal generating the target special effect animation as an example. Figure 3 is a flowchart of another inter-account interaction method provided according to the embodiment of the present application, and as shown in Figure 3, the embodiment of the present application will be described by taking the terminal as an example. The inter-account interaction method includes the following steps:
[0034] 301: The terminal displays a game preparation interface for a virtual game, the game preparation interface includes a first icon and at least one second icon, the first icon is used to represent a first account currently logged in, and the second icon is used to represent other accounts other than the first account, and the game preparation interface is used to prepare for a virtual game.
[0035] In the embodiment of the present application, the terminal is the terminal 101 shown in FIG. 1. An application program that supports the development of a virtual game is installed in the terminal. The virtual game includes a preparation stage and an execution stage. In the virtual preparation stage, the terminal can prepare for the virtual game. In the execution stage of the virtual game, virtual objects of different camps compete against each other in the virtual scene. Here, the content prepared by the terminal in the preparation stage may be the creation of a camp team participating in the virtual game, the selection of a virtual object participating in the virtual game, or the loading of a virtual scene of the virtual game, and the like, and the embodiment of the present application is not limited thereto. When preparing for a virtual game, the terminal can display a corresponding game preparation interface according to the content of the preparation. A plurality of icons are displayed in the game preparation interface. The plurality of icons may be an avatar of the player, a half-body image of the virtual object selected by the player, a moving image of the virtual object selected by the player, or a three-dimensional model of the virtual object selected by the player, and the embodiment of the present application is not limited thereto. The term "multiple" means two and more than two. The plurality of icons includes a first icon and at least one second icon.
[0036] The terminal can perform at least one of the above-mentioned preparations for a virtual game. Correspondingly, the preparation stage for a virtual game may be one single stage, for example, the preparation stage for a virtual game may be an object selection stage or a loading stage. In such a case, the terminal performs one kind of preparation for a virtual game. The preparation stage for a virtual game may be divided into multiple stages. For example, the preparation stage for a virtual game includes a team organization stage, an object selection stage, and a loading stage. In such a case, the terminal performs three kinds of preparations for a virtual game.
[0037] In the following, an example is taken of a terminal making multiple preparations for a virtual game. Here, according to different contents of the preparation, the preparation stage of the virtual game is divided into three stages, including a team organization stage, an object selection stage, and a loading stage. Since the preparation contents of different stages are different, the game preparation interfaces displayed by the terminal at different stages will also be different to some extent. The icons in different game preparation interfaces may be the same or different.
[0038] In some embodiments, in the team formation stage, the terminal can create a camp team to participate in a virtual game. In this case, icons corresponding to accounts belonging to the same camp are displayed in the game preparation interface, that is, the first account represented by the first icon and the other account represented by the second icon belong to the same camp, and the player corresponding to the first account and the player corresponding to the second account are teammates with each other.
[0039] For example, FIG. 4 is a schematic diagram of a game preparation interface in a team formation stage provided according to an embodiment of the present application. Referring to FIG. 4, 401 in FIG. 4 exemplarily shows that a first icon and four second icons are displayed in the game preparation interface. The first icon and the four second icons are all avatars of players. The player corresponding to the first icon and the players corresponding to the four second icons belong to the same camp. A friend list is further displayed in the game preparation interface, and the friend list includes a plurality of players who are friends with the player corresponding to the first icon. The player corresponding to the first icon can invite players in the friend list to create a camp team.
[0040] In some embodiments, after the creation of the camp team participating in the virtual game is completed, the terminal can match the camp team with the opposing camp. After the matching is successful, the player participating in the virtual game can select a virtual object to participate in the virtual game. That is, after the team formation stage is completed, the terminal matches the camp team with the opposing camp, and then enters the object selection stage. In the object selection stage, players of multiple camps can select virtual objects to participate in the virtual game. In this case, icons corresponding to accounts belonging to multiple camps are displayed in the game preparation interface, that is, the first account represented by the first icon and the other account represented by the second icon may belong to the same camp or may belong to different camps. The player corresponding to the first account and the player corresponding to the second account are teammates or opponents of each other.
[0041] For example, FIG. 5 is a schematic diagram of a game preparation interface in an object selection stage provided according to an embodiment of the present application. Referring to FIG. 5, 501 in FIG. 5 exemplarily shows that a first icon and nine second icons are displayed in the game preparation interface. The first icon and the nine second icons are all player avatars. The player avatars corresponding to players belonging to different camps are divided according to camps and displayed on the left and right sides of the game preparation interface respectively. A virtual object display area is further displayed in the game preparation interface. When a player selects a virtual object through a first account, the display area can display the selected virtual object.
[0042] In some embodiments, in the loading stage, the players participating in the virtual game have already selected virtual objects, and at this time, the terminal can load a virtual scene of the virtual game. The virtual scene includes the virtual objects selected by the players. In this case, icons corresponding to accounts belonging to multiple camps are displayed in the game preparation interface.
[0043] For example, Fig. 6 is a schematic diagram of a game preparation interface in a loading phase provided according to an embodiment of the present application. Referring to Fig. 6, 601 in Fig. 6 exemplarily shows that a first icon and nine second icons are displayed in the game preparation interface. The first icon and the four second icons are all bust images of virtual objects selected by a player. The bust images corresponding to players belonging to different camps are divided according to the camps and displayed on the upper and lower sides of the game preparation interface, respectively.
[0044] 302: In response to the trigger operation on the target icon, the terminal displays a tool selection area in the game preparation interface. The target icon is any one of at least one second icon, and at least one interaction tool owned by the first account is displayed in the tool selection area.
[0045] In the embodiment of the present application, the target icon is any one of icons other than the first icon in the game preparation interface. When the target icon is triggered, the terminal can display a tool selection area. At least one interaction tool is displayed in the tool selection area, and the embodiment of the present application does not limit the quantity and type of the interaction tool in the tool selection area. The at least one interaction tool is an interaction tool owned by the first account. The tool selection area is used for the first account to select an interaction tool to be used for the account represented by the target icon. The tool selection area may be a circular area, a square area, or a polygonal area, and the embodiment of the present application is not limited thereto. The display position of the tool selection area may be near the target icon, near the first icon, or a preset position in the game preparation interface, and the embodiment of the present application is not limited thereto.
[0046] In some embodiments, the tool selection area is a circular area, and the center of the tool selection area overlaps with the center of the target icon. The tool selection area may be regarded as a roulette. Because the display positions of icons in the game preparation interface at different preparation stages are different to some extent and are limited by the screen size of the terminal, the terminal can adjust the size or display range of the tool selection area, so that all the interaction tools in the tool selection area can be displayed.
[0047] In the first case, the preparation stage is a team formation stage. For example, referring to FIG. 4 continuously, 402 in FIG. 4 exemplarily shows a certain tool selection area. The tool selection area includes six sub-areas. All of the six sub-areas are circular areas. The distances between the centers of the six sub-areas and the center of the target icon are equal, that is, all of the centers of the six sub-areas are located on a circle with the center of the target icon as the center. Different sub-areas correspond to different types of interaction tools. Tools are displayed in five sub-areas in the tool selection area, and the remaining sub-area is empty. A tool pack is displayed in the empty sub-area. The tool pack is used to indicate a tool library of a first account. A plurality of interaction tools of the first account are stored in the tool library. In response to a trigger operation on the sub-area, the terminal can add an interaction tool to the sub-area.
[0048] In the second case, the preparation stage is an object selection stage. For example, referring to FIG. 5 continuously, 502 in FIG. 5 exemplarily shows a certain tool selection area. The tool selection area includes six sub-areas. The six sub-areas are all circular areas. The distances between the centers of the six sub-areas and the centers of the target icon are equal, that is, the centers of the six sub-areas are all located on one arc with the center of the target icon as the center of the circle. In order to display all the interaction tools in the tool selection area, the terminal can adjust the distance between the centers of the sub-areas and the centers of the target icon, thereby increasing the distance between the centers of the sub-areas and the centers of the target icon. Compared with the distance between the centers of the sub-areas and the centers of the target icon in the team organization stage, the distance between the centers of the sub-areas and the centers of the target icon in the object selection stage is farther. Since the target icon is located in the upper right of the game preparation interface, in order to display all the interaction tools in the tool selection area, the tool selection area is located in the lower left of the target icon.
[0049] In the third case, the preparation stage is a loading stage. For example, referring to FIG. 6 continuously, 602 in FIG. 6 exemplarily shows a certain tool selection area. The tool selection area includes six sub-areas. The six sub-areas are all circular areas. The distances between the centers of the six sub-areas and the centers of the target icon are equal, that is, the centers of the six sub-areas are all located on one arc with the center of the target icon as the center of the circle. In order to display all the interaction tools in the tool selection area, the terminal can adjust the distance between the centers of the sub-areas and the centers of the target icon, thereby increasing the distance between the centers of the sub-areas and the centers of the target icon. Compared with the distance between the centers of the sub-areas and the centers of the target icon in the team organization stage, the distance between the centers of the sub-areas and the centers of the target icon in the loading stage is farther. Since the target icon is located below the game preparation interface, in order to display all the interaction tools in the tool selection area, the tool selection area is located above the center of the target icon.
[0050] It is necessary to explain that the interaction tools in the tool selection area are not static, and the terminal can display different interaction tools in the tool selection area based on the consumption frequency of the interaction tools, the remaining quantity of the interaction tools, or the account relationship between the accounts.
[0051] In some embodiments, the terminal may display a tool selection area based on the consumption frequency of the interaction tool. A higher consumption frequency of the interaction tool means a higher possibility that the player corresponding to the first account will use the interaction tool again, and a lower consumption frequency of the interaction tool means a lower possibility that the player corresponding to the first account will use the interaction tool again. Correspondingly, the process of the terminal displaying the tool selection area is that the terminal obtains the consumption frequency of at least one interaction tool in response to a trigger operation on the target icon. Then, the terminal displays the tool selection area in the game preparation interface based on the consumption frequency of the at least one interaction tool. Here, the at least one interaction tool is displayed in the tool selection area in the order of decreasing consumption frequency. The means provided by the embodiments of the present application is based on the fact that a player corresponding to a first account is likely to use an interaction tool that is consumed frequently again, and therefore, by displaying the interaction tools in the tool selection area in order of decreasing frequency of consumption of the interaction tools, it is possible to preferentially display the interaction tools that are consumed frequently, which is advantageous in making it more convenient to use the interaction tools that are consumed frequently subsequently, and not only meets the player's intention, but also improves the efficiency of human-computer interaction.
[0052] In some embodiments, the terminal may display a tool selection area based on the remaining quantity of the interaction tool. Correspondingly, in the process of the terminal displaying the tool selection area, the terminal obtains the remaining quantity of at least one interaction tool in response to a trigger operation on the target icon. Then, the terminal displays the tool selection area in the game preparation interface based on the remaining quantity of at least one interaction tool. Here, the at least one interaction tool is displayed in the tool selection area in the order of decreasing remaining quantity. The means provided by the embodiments of the present application display the interaction tools in the tool selection area in the order of decreasing remaining quantity of the interaction tools, so that the interaction tools with a large remaining quantity can be preferentially displayed, which is advantageous in making it more convenient to use the interaction tools with a large remaining quantity in the subsequent stages, and can avoid the occurrence of a case where an interaction tool cannot be used due to the consumption of a certain interaction tool, thereby improving the efficiency of human-computer interaction.
[0053] In some embodiments, the terminal may display a tool selection area based on an account relationship between the accounts. The account relationship may be at least one of an unrelated relationship, a teammate relationship, an opponent relationship, a romantic relationship, and a friend relationship, and the embodiments of the present application are not limited thereto. Accounts of different account relationships will use different types of interaction tools. For example, accounts having a friend relationship will use an interaction tool such as a heart or a firework, accounts having an opponent relationship will use an interaction tool such as a knife or a hammer, and accounts having no relationship will use an interaction tool such as a flower or a candy. Correspondingly, the process of the terminal displaying the tool selection area includes: in response to a trigger operation on a target icon, the terminal obtains an account relationship between a first account and a second account. Then, the terminal displays at least one interaction tool corresponding to the account relationship in the tool selection area of the game preparation interface. Here, the second account is the account represented by the target icon. The means provided by the embodiments of the present application display a tool selection area according to the account relationship between accounts, and display interaction tools in the tool selection area, so that interaction tools that are more in line with the player's intention can be displayed, eliminating the need to further select other interaction tools, and further improving the efficiency of human-computer interaction.
[0054] It is necessary to explain that the interaction tool in the tool selection area may be set by the player corresponding to the first account through the terminal. Correspondingly, the process of setting the interaction tool in the tool selection area is that the terminal displays a tool adding interface. Then, in response to a trigger operation on the tool adding control in the tool adding interface, the terminal displays a plurality of interaction tools of the first account. Then, in response to the tool selection operation, the terminal determines at least one interaction tool selected from the plurality of interaction tools. Here, the tool adding interface is used to add the interaction tool to the first account. The means provided by the embodiment of the present application allows the player to set the interaction tool in the tool selection area according to his / her own needs by displaying a tool adding interface, so that when the player subsequently uses the interaction tool, he / she can directly find an interaction tool that meets his / her needs in the tool selection area, so that he / she does not need to further select another interaction tool, and further improves the efficiency of human-computer interaction.
[0055] It is necessary to explain that the terminal can further display a tool selection area through a tool selection control. Correspondingly, the process of the terminal displaying the tool selection area is that the terminal displays the tool selection control in response to a trigger operation on the target icon. Then, in response to the trigger operation of the tool selection control, the terminal displays the tool selection area in the game preparation interface. Here, the tool selection control is used to select an interaction tool to be used for the second account, and the second account is the account represented by the target icon. In addition, the tool selection control may be fixed and displayed at a certain position in the game preparation interface. When the target icon is not triggered, the terminal can display the tool selection area through the tool selection control. The means provided by the embodiment of the present application is to display the tool selection area through the tool selection control, which not only simplifies the operation and improves the efficiency of human-computer interaction, but also avoids the occurrence of a case where the tool selection area is displayed by accidentally touching an icon when there is no need to use an interaction tool, thereby reducing operation consumption.
[0056] 303: In response to a use operation on a target interaction tool, the terminal obtains a special effect identifier of the target interaction tool, the target interaction tool being any one of at least one interaction tool, and the special effect identifier is used to indicate a special effect resource of the target interaction tool.
[0057] In the embodiment of the present application, for any one interaction tool, the interaction tool has a tool identifier. The tool identifiers of different interaction tools are different. For any one interaction tool, there exists a special effect resource corresponding to the interaction tool. The special effect resource has a special effect identifier. There is a one-to-one correspondence between the tool identifier and the special effect identifier. The terminal can obtain the special effect identifier of the target interaction tool according to the tool identifier of the target interaction tool. The special effect identifier may be provided by the terminal or the server, and the embodiment of the present application is not limited thereto.
[0058] In some embodiments, the terminal stores a special effect identifier of the target interaction tool. The terminal can locally acquire the special effect identifier of the target interaction tool based on the tool identifier of the target interaction tool. The means provided by the embodiments of the present application can acquire the special effect identifier of the target interaction tool from the terminal relatively quickly, thereby improving the efficiency of acquiring the special effect identifier, and further improving the efficiency of human-computer interaction and the interaction efficiency between accounts.
[0059] In some embodiments, the terminal can further obtain a special effect identifier of the target interaction tool from the server. Correspondingly, the process of the terminal obtaining the special effect identifier is that the terminal sends a tool use request to the server in response to the use operation on the target interaction tool. Then, the terminal receives a special effect identifier corresponding to the tool identifier returned from the server. Here, the second account is the account represented by the target icon. The tool use request includes the first account, the second account, and the tool identifier of the target interaction tool. The server can determine the special effect identifier of the target interaction tool according to the tool identifier of the target interaction tool. The means provided by the embodiments of the present application can obtain the special effect identifier relatively accurately by obtaining the special effect identifier of the target interaction tool from the server, thereby improving the accuracy rate of obtaining the special effect identifier, and the terminal does not need to store the special effect resource and the special effect identifier of the interaction tool, thereby saving the internal memory capacity.
[0060] It is necessary to explain that there may be a cheat tool on the terminal side. The cheat tool can increase the number of interaction tools of the first account on the terminal side, change the type of the interaction tool of the first account, change the special effect resource of the interaction tool of the first account, or add a new interaction tool that is not owned by the first account, and the embodiment of the present application is not limited thereto. However, the cheat tool cannot change the data on the server side. Since the new interaction tool added by the cheat tool does not belong to the first account, when the terminal side uses a new interaction tool, the server side may use an interaction tool that is not owned by the first account on another account, which is obviously unreasonable and will cause the fairness of the virtual game to be lost. In order to maintain the fairness of the virtual game, the server needs to verify the tool use request and authenticate whether the interaction tool to be used is an interaction tool owned by the first account. Only when the server determines that the interaction tool to be used passes the verification and is an interaction tool owned by the first account, the server returns the special effect identifier of the target interaction tool to the terminal, thereby avoiding the occurrence of an interaction tool not owned by the first account being used on another account and ensuring fairness. In simple terms, the special effect identifier is returned by the server when the tool use request satisfies a target condition. The target condition includes a plurality of conditions. Here, the first condition is that the target interaction tool is included in the tool library of the first account. Here, the tool library stores a plurality of interaction tools owned by the first account. The first condition can prevent the use of an interaction tool not owned by the first account on another account. The second condition is that the virtual game has not yet started. The second condition can prevent the use of an interaction tool not owned by the first account by mistakenly touching an icon to display a tool selection area when it is not necessary to use an interaction tool.The third condition is that the tool cooldown time is equal to or greater than a time threshold, where the tool cooldown time is used to represent the time interval between two consecutive uses of the interaction tool by the first account. The third condition can limit the frequency of sending the interaction tool to avoid the terminal freezing due to frequent use of the interaction tool.
[0061] The following describes the process by which a server authenticates a tool usage request.
[0062] When the server receives the tool use request, the server acquires a first account in the tool use request and a tool identifier of a target interaction tool. Then, the server acquires an interaction tool owned by the first account based on the first account. Then, the server compares the tool identifier of the target interaction tool with the tool identifier of the interaction tool owned by the first account. If it is determined that the target interaction tool is not a tool owned by the first account, the server sends prompt information to the terminal to prompt that the first account cannot use the target interaction tool. If it is determined that the target interaction tool is a tool owned by the first account, the server judges whether a virtual game has already started based on the first account and the second account in the tool use request. If it is determined that a virtual game has already started, the server sends prompt information to the terminal to prompt that the first account cannot use the target interaction tool. When it is determined that the virtual game has not yet started, the server determines that the first account can use the interaction tool to perform an interaction. Then, the server obtains a history use time when the first account last used the interaction tool. Then, the server determines a tool cool-down time based on the history use time and the current time. When the tool cool-down time is less than the time threshold, the server sends prompt information to the terminal to prompt that the first account cannot use the target interaction tool. When the tool cool-down time is equal to or greater than the time threshold, the server sends a special effect identifier of the target tool to the terminal.
[0063] It is necessary to explain that the terminal can further perform verification by itself before sending the tool use request to the server. The condition of the verification can be that the virtual game has not yet started, and can be that the tool cooldown time is equal to or greater than the time threshold, and the present application is not limited thereto. After passing the verification, the terminal can send the tool use request to the server.
[0064] For example, FIG. 7 is a flowchart of sending a tool use request provided according to an embodiment of the present application. As shown in FIG. 7, first, the terminal displays a game preparation interface. Next, when the target icon is triggered, the terminal displays a tool selection area. Next, one of the interaction tools is selected from the tool selection area as the target interaction tool to be used. When the target interaction tool is triggered, the terminal can obtain a tool cool-down time. If the tool cool-down time is equal to or greater than the time threshold, the terminal confirms that the current tool is not in a cool-down state, i.e., the verification is passed. Next, the terminal can send a tool use request to the server. If the tool cool-down time is less than the time threshold, the terminal confirms that the current tool is in a cool-down state, i.e., a CD (Cool Down Time) state, i.e., the verification is failed. In this case, the terminal ends the use operation of the current target interaction tool.
[0065] 304: The terminal obtains a special effect resource of the target interaction tool according to the special effect identifier.
[0066] In the embodiment of the present application, the special effect identifier of the interaction tool is used to indicate the special effect resource of the interaction tool, and the special effect resources of different interaction tools are different. The terminal can obtain the special effect resource of the target interaction tool according to the special effect identifier of the target interaction tool.
[0067] In some embodiments, the special effect resource includes three parts, namely a first special effect, a second special effect, and a third special effect, where the first special effect is a special effect displayed when the target interaction tool is at the position of the first icon, the second special effect is a special effect displayed when the target interaction tool is in the process of moving, and the third special effect is a special effect displayed when the target interaction tool is at the position of the target icon, and the target interaction tool displays different special effects at different positions.
[0068] For example, the target interaction tool is a firework. When the firework is at the location of the first icon, a first special effect that the firework displays is an unlit firework. When the firework moves from the location of the first icon to the location of the second icon, a second special effect that the firework displays is an effect in which the firework is already lit and gradually expands as the firework moves. When the firework reaches the location of the target icon, a third special effect that the firework displays is an effect in which the firework has already exploded and sparks are flying.
[0069] 305: The terminal determines a special effect trajectory of the special effect resource according to the position of the first icon and the position of the target icon.
[0070] In the embodiment of the present application, the special effect trajectory is the movement trajectory that the special effect resource follows from the position of the first icon to the position of the target icon. The special effect trajectory may be an irregular trajectory, a straight line segment, a curved line segment, an arc segment, a sine line segment, or a cosine line segment, etc., and the embodiment of the present application is not limited thereto. The display positions of the first icon and the target icon in the game preparation interface will directly affect the movement trajectory of the special effect resource. The terminal can obtain the position of the first icon and the position of the target icon based on the first icon and the target icon, thereby determining the special effect trajectory of the special effect resource. The display positions of the icons in the game preparation interfaces of different preparation stages are different to a certain extent, and the positions of the first icon and the target icon are also different to a certain extent, so that the special effect trajectories displayed in the game preparation interfaces of different preparation stages will also be different to a certain extent.
[0071] In the first case, during the team formation stage, for example, as shown in FIG. 4, 403 in FIG. 4 exemplarily shows a schematic diagram of a certain special effect trajectory. A plurality of icons in the game preparation interface are displayed in parallel in the horizontal direction, that is, the first icon and the target icon are horizontally parallel. In this case, the special effect trajectory of the special effect resource is a mostly horizontal trajectory or a nearly horizontal trajectory.
[0072] In the second case, during the object selection stage, for example, as shown in FIG. 5, 503 in FIG. 5 exemplarily illustrates a schematic diagram of a certain special effect trajectory. Among the icons in the game preparation interface, some icons are displayed in parallel horizontally, some icons are displayed in parallel vertically, and some icons are displayed in other directions. In this case, the special effect trajectory of the special effect resource may be a trajectory in any one direction. The special effect trajectory shown in 503 in FIG. 5 is a special effect trajectory in the form of a curved segment sloping from the lower left to the upper right.
[0073] In the third case, during the loading stage, for example, as continuously referred to in FIG. 6, 603 in FIG. 6 exemplarily shows a schematic diagram of a certain special effect trajectory. Among the icons in the game preparation interface, there are icons displayed in parallel horizontally, there are icons displayed in parallel vertically, and there are also icons in other directions. In this case, the special effect trajectory of the special effect resource may be a trajectory in any one direction. The special effect trajectory shown in 603 in FIG. 6 is a special effect trajectory that inclines from the upper right to the lower left.
[0074] 306: The terminal plays a target special effect animation according to the special effect resource and the special effect trajectory, where the target special effect animation is used to display the special effect resource when the target interaction tool points from the first icon to the target icon.
[0075] In an embodiment of the present application, the terminal moves the special effect resource according to the special effect trajectory to generate and play a target special effect animation, and the special effect resource sequentially displays a first special effect, a second special effect, and a third special effect during the moving process.
[0076] For example, FIG. 8 is a flowchart of the playback of a target special effect animation provided according to an embodiment of the present application. As shown in FIG. 8, when the terminal has already obtained the special effect resource and the special effect trajectory of the target interaction tool, the terminal generates and plays the target special effect animation of the target interaction tool. In other words, the terminal plays the first special effect in the special effect resource and then plays the second special effect in the special effect resource. When the special effect resource has not reached the position of the target icon, the terminal continues to play the second special effect in the special effect resource. When the special effect resource reaches the position of the target icon, the terminal plays the third special effect in the special effect resource. When the playback of the third special effect is completed, that is, the playback of the target special effect animation is completed, the playback is terminated.
[0077] In order to more clearly show the change of the game preparation interface when using the target interaction tool, FIG. 4, FIG. 5, and FIG. 6 may be continuously referred to. 401-403 in FIG. 4 exemplarily show that the terminal displays the entire process of using the target interaction tool in the game preparation interface when in the team organization stage. 501-503 in FIG. 5 exemplarily show that the terminal displays the entire process of sending the target interaction tool in the game preparation interface when in the object selection stage. 601-603 in FIG. 6 exemplarily show that the terminal displays the entire process of sending the target interaction tool in the game preparation interface when in the loading stage. Here, in displaying the entire process of using the target interaction tool in the game preparation interface, first, a first icon and at least one second icon are displayed in the game preparation interface. The player may press and hold the target icon of the at least one second icon with a finger. In this case, the terminal displays a tool selection area in the game preparation interface. The tool selection area is a circular area, and the center of the tool selection area overlaps with the center of the target icon. The player drags the target icon with his / her finger to the target interaction tool to be used. When the player's finger is at the position of the target interaction tool, the player releases his / her finger and stops dragging the target icon. In this case, the terminal plays the target special effect animation of the target interaction tool.
[0078] In order to more clearly explain the present invention, the present invention will be described again in general below.
[0079] For example, FIG. 9 is an interaction flowchart of an interaction method between accounts provided according to an embodiment of the present application. As shown in FIG. 9, the first terminal is a terminal that logs in with a first account. At least one second terminal is a terminal that logs in with other accounts except the first account. The other accounts are accounts represented by a second icon in the game preparation interface. The other accounts include a second account represented by a target icon, that is, at least one second terminal includes a terminal that logs in with the second account. When the first account uses a target interaction tool for the second account, the first terminal can send a tool use request to the server, and the tool use request includes the first account, the second account, and a tool identifier of the target interaction tool. The server can verify the tool use request based on the first account and the target condition to authenticate whether the tool library of the first account includes the target interaction tool, whether a virtual game is started, and whether the tool cooldown time is equal to or greater than a time threshold. When the tool library of the first account includes the target interaction tool, the virtual game has not started, and the tool cooldown time is equal to or greater than the time threshold, it is determined that the tool use request passes verification.Then, the server can send a special effect identifier to the first terminal and at least one second terminal respectively in the form of broadcast, so that the first terminal and at least one second terminal can both display the special effect resource of the target interaction tool.If the tool use request fails verification, the server sends prompt information to the first terminal to prompt that the player corresponding to the first account cannot use the target interaction tool.
[0080] It should be noted that the embodiments of the present application provide means for a first account to use stamps on other accounts, i.e., for a first account to transmit stamps to other accounts, thereby interacting with the other accounts, and the present application is not limited thereto.
[0081] The embodiment of the present application provides a means for, when preparing for a virtual game, triggering a target icon in the game preparation interface can display a tool selection area including at least one interaction tool in the game preparation interface, and selecting a target interaction tool among the at least one interaction tool can play a target special effect animation corresponding to the target interaction tool, intuitively displaying that the first account uses the target interaction tool for the other account, thereby realizing the interaction between the first account and the other account. That is, the interaction can be performed without the need for a chat channel, which not only enriches the interaction method, but also improves the efficiency of human-computer interaction, and further improves the interaction efficiency between accounts.
[0082] According to the means provided by the embodiment of the present application, the terminal can directly obtain the target special effect animation of the target interaction tool from the server. The means provided by the present application will be further described below by taking the server generating the target special effect animation as an example. Figure 10 is a flowchart of another inter-account interaction method provided according to the embodiment of the present application, and is described by taking the execution by the terminal in the embodiment of the present application as an example, as shown in Figure 10. The inter-account interaction method includes the following steps:
[0083] 1001: A terminal displays a game preparation interface for a virtual game, the game preparation interface includes a first icon and at least one second icon, the first icon is used to represent a first account currently logged in, and the second icon is used to represent other accounts other than the first account, and the game preparation interface is used to prepare for a virtual game.
[0084] In the embodiment of the present application, the terminal is the terminal 101 shown in FIG. 1. An application program supporting the development of a virtual game is installed in the terminal. The virtual game includes a preparation stage and an execution stage. In the virtual preparation stage, the terminal can prepare for the virtual game. In the execution stage of the virtual game, virtual objects of different camps compete against each other in the virtual scene. When preparing for the virtual game, the terminal can display a game preparation interface of the virtual game. A plurality of icons are displayed in the game preparation interface. The plurality of icons include a first icon and at least one second icon. The manner of displaying the game preparation interface in step 1001 is similar to the manner of displaying the game preparation interface in step 301, and will not be described here repeatedly.
[0085] 1002: In response to the trigger operation on the target icon, the terminal displays a tool selection area in the game preparation interface. The target icon is any one of at least one second icon, and at least one interaction tool owned by the first account is displayed in the tool selection area.
[0086] In the embodiment of the present application, when any icon other than the first icon in the game preparation interface is triggered, the terminal can display a tool selection area. The tool selection area includes at least one interaction tool. The interaction tool may be a tool used for interaction, such as fireworks, hearts, or flowers, and the embodiment of the present application is not limited thereto. The manner of displaying the tool selection area in step 1002 is similar to the manner of displaying the tool selection area in step 302, and will not be described here again.
[0087] 1003: In response to the use operation on the target interaction tool, the terminal sends a tool use request to the server, where the tool use request includes a first account, a second account, a position of the first icon, a position of the target icon, and a tool identifier of the target interaction tool, and the second account is the account represented by the target icon.
[0088] In an embodiment of the present application, the terminal can send a tool use request to the server to obtain a target special effect animation of a target interaction tool from the server. Here, the position of the first icon and the position of the target icon included in the tool use request are used by the server to determine a special effect trajectory of the special effect resource. The tool identifier included in the tool use request is used by the server to determine a special effect identifier corresponding to the tool identifier. The manner of sending the tool use request to the server in step 1003 is similar to the manner of sending the tool use request to the server in step 303, and will not be described again here.
[0089] 1004: The terminal receives a target special effect animation returned from the server. The target special effect animation is generated by the server according to the position of the first icon, the position of the target icon, and a special effect resource of the target interaction tool, and the special effect resource of the target interaction tool is determined by the server according to a special effect identifier corresponding to the tool identifier.
[0090] In the embodiment of the present application, the target special effect animation is generated by a server. The process of the server generating the target special effect animation is that the server determines a special effect identifier of the target interaction tool based on the tool identifier of the target interaction tool. Then, the server obtains a special effect resource of the target interaction tool based on the special effect identifier. Then, the server determines a special effect trajectory of the special effect resource based on the position of the first icon and the position of the target icon. Finally, the server generates the target special effect animation based on the special effect resource and the special effect trajectory. The method adopted in the process of the server generating the target special effect animation is similar to the method of the terminal generating the target special effect animation in steps 303 to 306, and will not be described here repeatedly.
[0091] It is necessary to explain that the target special effect animation is returned by the server when the tool use request meets the target condition. In other words, the server can verify the tool use request, and will send the target special effect animation to the terminal only if the verification is passed. The manner in which the server verifies the tool use request is similar to the manner in which the server verifies the tool use request in step 303, and will not be described here again.
[0092] 1005: The terminal plays a target special effect animation.
[0093] In the embodiment of the present application, after receiving the target special effect animation, the terminal directly plays the target special effect animation. The manner of playing the target special effect animation in step 1005 is similar to the manner of playing the target special effect animation in step 306, and thus will not be described here again.
[0094] The embodiment of the present application provides a means for triggering a target icon in a game preparation interface when preparing for a virtual game, thereby displaying a tool selection area including at least one interaction tool in the game preparation interface. By selecting a target interaction tool among the at least one interaction tool, a target special effect animation corresponding to the target interaction tool is played, and the first account can intuitively display the use of the target interaction tool for other accounts, thereby realizing the interaction between the first account and other accounts. That is, the interaction can be performed without the need for a chat channel, which not only enriches the interaction method, but also improves the efficiency of human-computer interaction, and further improves the interaction efficiency between accounts.
[0095] 11 is a structural schematic diagram of an inter-account interaction device provided according to an embodiment of the present application. The device is used to execute steps when executing the above-mentioned inter-account interaction method. As shown in FIG. 11, the inter-account interaction device includes a first display module 1101 and a playback module 1102.
[0096] The first display module 1101 is used to display a game preparation interface of a virtual game, the game preparation interface includes a first icon and at least one second icon, the first icon is used to represent a first account currently logged in, and the second icon is used to represent other accounts except the first account, and the game preparation interface is used to prepare for a virtual game; The first display module 1101 is further used for displaying a tool selection area in the game preparation interface in response to a trigger operation on the target icon, the target icon being any one of at least one second icon, and at least one interaction tool owned by the first account being displayed in the tool selection area; The playback module 1102 is used to play a target special effect animation of a target interaction tool in response to a use operation on the target interaction tool, the target interaction tool being any one of the at least one interaction tool, and the target special effect animation is used to display a special effect resource in which the target interaction tool points from the first icon to the target icon.
[0097] In some embodiments, FIG. 12 is a structural schematic diagram of an interaction device between different accounts provided according to an embodiment of the present application. As shown in FIG. 12, the playback module 1102 includes: A first obtaining unit 1201 is used to obtain a special effect identifier of a target interaction tool in response to a use operation on the target interaction tool, the special effect identifier being used to indicate a special effect resource of the target interaction tool; A second acquisition unit 1202, used for acquiring a special effect resource of the target interaction tool according to the special effect identifier; A determining unit 1203, which is used for determining a special effect trajectory of the special effect resource according to the position of the first icon and the position of the target icon; a playing unit 1204 used for playing a target special effect animation according to the special effect resource and the special effect trajectory.
[0098] In some embodiments, with continued reference to FIG. 12, the first obtaining unit 1201 is used to send a tool use request to a server in response to a use operation on a target interaction tool, where the tool use request includes a first account, a second account, and a tool identifier of the target interaction tool, where the second account is the account represented by the target icon, and receive a special effect identifier corresponding to the tool identifier returned from the server.
[0099] In some embodiments, the special effect identifier is returned by the server if the tool use request satisfies a target condition; The target condition is The target interaction tool is included in a tool library of the first account, the tool library storing a plurality of interaction tools owned by the first account; The virtual game has not yet started, The tool cooldown time is greater than or equal to a time threshold, the tool cooldown time being used to represent a time interval between two consecutive uses of the interaction tool by the first account.
[0100] In some embodiments, with continued reference to FIG. 12 , the playback module 1102 is used to: send a tool use request to the server in response to a use operation on the target interaction tool, where the tool use request includes a first account, a second account, a position of the first icon, a position of the target icon, and a tool identifier of the target interaction tool, where the second account is the account represented by the target icon; receive a target special effect animation returned from the server, where the target special effect animation is generated by the server based on the position of the first icon, the position of the target icon, and a special effect resource of the target interaction tool, where the special effect resource of the target interaction tool is determined by the server based on a special effect identifier corresponding to the tool identifier; and play the target special effect animation.
[0101] In some embodiments, the special effect resource includes a first special effect, a second special effect, and a third special effect, where the first special effect is a special effect displayed when the target interaction tool is at the position of the first icon, the second special effect is a special effect displayed during the movement of the target interaction tool, and the third special effect is a special effect displayed when the target interaction tool is at the position of the target icon.
[0102] In some embodiments, with continued reference to FIG. 12, the first display module 1101 is used for obtaining a consumption frequency of at least one interaction tool in response to a trigger operation on a target icon, and displaying a tool selection area in the game preparation interface based on the consumption frequency of the at least one interaction tool, wherein the at least one interaction tool is displayed in the tool selection area in order of decreasing consumption frequency.
[0103] In some embodiments, with continued reference to FIG. 12 , the first display module 1101 is used for obtaining a remaining quantity of at least one interaction tool in response to a trigger operation on a target icon, and displaying a tool selection area in the game preparation interface based on the remaining quantity of the at least one interaction tool, wherein the at least one interaction tool is displayed in the tool selection area in order of the remaining quantity decreasing.
[0104] In some embodiments, with continued reference to FIG. 12, the first display module 1101 is used for obtaining an account relationship between a first account and a second account in response to a trigger operation on a target icon, where the second account is the account represented by the target icon, and displaying at least one interaction tool corresponding to the account relationship in a tool selection area of the game preparation interface.
[0105] In some embodiments, with continued reference to FIG. 12 , the first display module 1101 is used to display a tool selection control in response to a trigger operation on a target icon, where the tool selection control is used to select an interaction tool to use for a second account, the second account being the account represented by the target icon, and to display a tool selection area in the game preparation interface in response to the trigger operation of the tool selection control.
[0106] In some embodiments, the tool selection area is a circular area, and the center of the tool selection area overlaps with the center of the target icon.
[0107] In some embodiments, with continued reference to FIG. 12 , the device further includes a second display module 1103 and a selection module 1104; The second display module 1103 is used for displaying a tool adding interface, and the tool adding interface is used for adding an interaction tool to the first account; The second display module 1103 is further used for displaying a plurality of interaction tools of the first account in response to a trigger operation on the tool adding control in the tool adding interface; The selection module 1104 is used to determine at least one interaction tool to be selected from among the multiple interaction tools in response to a tool selection operation.
[0108] The embodiment of the present application provides an inter-account interaction device, when preparing for a virtual game, can trigger a target icon in the game preparation interface to display a tool selection area including at least one interaction tool in the game preparation interface, and by selecting a target interaction tool among the at least one interaction tool, a target special effect animation corresponding to the target interaction tool is played, and the first account can intuitively display the target interaction tool used by the other account, thereby realizing the interaction between the first account and the other account. That is, the interaction can be performed without the need for a chat channel, which not only enriches the interaction method, but also improves the efficiency of human-computer interaction, and further improves the interaction efficiency between accounts.
[0109] It is necessary to note that, when the inter-account interaction device provided in the above embodiment runs an application program, only the above-mentioned functional module division example is described, but in actual application, the above-mentioned functions can be distributed to different functional modules to be completed according to needs. That is, the internal structure of the device can be divided into different functional modules to complete all or part of the above-mentioned functions. In addition, the inter-account interaction device provided in the above embodiment and the embodiment of the inter-account interaction method belong to the same idea, and the specific realization process can be detailed by referring to the method embodiment, and will not be described here again.
[0110] In the embodiments of the present application, the computing device may be configured as a terminal or a server. When the computing device is configured as a terminal, the terminal may implement the technical means provided by the embodiments of the present application as an execution entity. When the computing device is configured as a server, the server may implement the technical means provided by the embodiments of the present application as an execution entity, and the technical means provided by the present application may be implemented by interaction between the terminal and the server, and the embodiments of the present application are not limited thereto.
[0111] 13 is a structural schematic diagram of a type of terminal 1300 provided in accordance with an embodiment of the present application. The terminal 1300 may be a portable mobile terminal, such as a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a notebook computer, or a desktop computer. The terminal 1300 may also be called other names such as user equipment, a portable terminal, a lap terminal, a desktop terminal, etc.
[0112] Generally, the terminal 1300 includes a processor 1301 and a memory 1302 .
[0113] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1301 may include a main processor and a coprocessor, where the main processor is a processor used to process data in a wake-up state and is also called a CPU (Central Processing Unit), and the coprocessor is a low-power processor used to process data in a standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), where the GPU is responsible for rendering and drawing content that needs to be displayed on a display screen. In some embodiments, the processor 1301 may further include an AI (Artificial Intelligence) processor, which is used to process computational operations related to machine learning.
[0114] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash storage devices, etc. In some embodiments, the non-transitory computer-readable storage media in the memory 1302 is used to store at least one computer program that is executed by the processor 1301 to implement the account interaction method provided by the method embodiments of the present application.
[0115] In some embodiments, the terminal 1300 further includes a peripheral interface 1303 and at least one peripheral device. The processor 1301, the memory 1302, and the peripheral interface 1303 are connected by a bus or signal lines. Each peripheral device is connected to the peripheral interface 1303 by a bus, signal lines, or a circuit board. Specifically, the peripheral devices include at least one of a display screen 1305 and a power supply 1308.
[0116] The peripheral interface 1303 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral interface 1303 are integrated on the same chip or circuit board, and in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral interface 1303 may be realized by a single chip or circuit board, and this embodiment is not limited thereto.
[0117] The display screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1305 is a touch display screen, the display screen 1305 is further capable of collecting touch signals on or above the surface of the display screen 1305. The touch signals may be input as control signals to the processor 1301 for processing. In this case, the display screen 1305 is further used to provide virtual buttons and / or a virtual keyboard, also called soft buttons and / or a soft keyboard. In some embodiments, the display screen 1305 may be one and is disposed on the front panel of the terminal 1300, in other embodiments, the display screen 1305 may be at least two and disposed on different surfaces of the terminal 1300 or may be of a folding design, in other embodiments, the display screen 1305 may be a flexible display screen and disposed on a curved or folding surface of the terminal 1300. Furthermore, the display screen 1305 may be disposed as a non-rectangular irregular shape, i.e., an irregular screen. The display screen 1305 may be manufactured using materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.
[0118] The power source 1308 is used to power each unit in the terminal 1300. The power source 1308 may be AC power, DC power, a disposable battery, or a rechargeable battery. When the power source 1308 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery that is recharged by a wired line, and the wireless rechargeable battery is a battery that is recharged by a wireless coil. The rechargeable battery may also be used to support fast charging technology.
[0119] As will be appreciated by those skilled in the art, the structure shown in FIG. 13 does not constitute a limitation on terminal 1300, which may include more or fewer units than shown, combine certain units, or employ a different unit layout.
[0120] FIG. 14 is a structural schematic diagram of a certain server provided according to an embodiment of the present application. The server 1400 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPUs) 1401 and one or more memories 1402. Here, the memory 1402 stores at least one computer program, which is loaded and executed by the processor 1401 to realize the account interaction method provided by each of the above method embodiments. Of course, the server may further include components such as a wired or wireless network interface, a keyboard, and an input-output interface to facilitate input-output. The server may further include other components used to realize the functions of the device, which will not be described here.
[0121] The embodiment of the present application further provides a computer-readable storage medium, which stores at least one computer program, and the at least one computer program is loaded and executed by a processor of a computer device to realize the operations performed by the computer device in the account interaction method of the embodiment. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0122] An embodiment of the present application further provides a computer program product or a computer program, the computer program product or the computer program including a computer program code stored in a computer-readable storage medium, a processor of a computing device reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code to cause the computing device to perform the inter-account interaction method provided in the above various selectable implementation manners.
[0123] Those skilled in the art can understand that all or part of the steps of the above embodiments can be realized by hardware, or can be completed by issuing instructions to related hardware by a program. The above program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disk, etc.
[0124] The above are merely selectable embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included within the scope of protection of the present application.
Claims
1. 1. A method for inter-account interaction implemented by a computing device, the method comprising: displaying a game preparation interface for a virtual game, the game preparation interface including a first icon and at least one second icon, the first icon being used to represent a first account currently logged in, the second icon being used to represent other accounts other than the first account, and the game preparation interface being used to prepare for the virtual game; displaying a tool selection area in the game preparation interface in response to a trigger operation on a target icon, the target icon being any one of the at least one second icon, and at least one interaction tool owned by the first account being displayed in the tool selection area; A method for interaction between accounts, comprising: a step of playing a target special effect animation of a target interaction tool in response to a use operation on the target interaction tool, the target interaction tool being any one of the at least one interaction tool, and the target special effect animation being used to display a special effect resource in which the target interaction tool points from the first icon to the target icon.
2. The step of playing a target special effect animation of a target interaction tool in response to a use operation on the target interaction tool includes: acquiring a special effect identifier of the target interaction tool in response to a use operation on the target interaction tool, the special effect identifier being used to indicate a special effect resource of the target interaction tool; obtaining a special effect resource of the target interaction prop based on the special effect identifier; determining a special effect trajectory of the special effect resource based on a position of the first icon and a position of the target icon; and playing the target special effect animation based on the special effect resources and the special effect trajectory.
3. The step of acquiring a special effect identifier of the target interaction tool in response to a use operation on the target interaction tool includes: sending a tool use request to a server in response to a use operation on the target interaction tool, the tool use request including the first account, the second account, and a tool identifier of the target interaction tool, the second account being an account represented by the target icon; and receiving a special effect identifier corresponding to the prop identifier returned from the server.
4. the special effect identifier is returned by the server if the tool use request satisfies a target condition; The target condition is: The target interaction tool is included in a tool library of the first account, the tool library storing a plurality of interaction tools owned by the first account; and The virtual game has not yet started; and 4. The method of claim 3, comprising: a tool cooldown time being greater than or equal to a time threshold, the tool cooldown time being used to represent a time interval between two consecutive uses of an interaction tool by the first account.
5. The step of playing a target special effect animation of a target interaction tool in response to a use operation on the target interaction tool includes: sending a tool use request to a server in response to a use operation on the target interaction tool, the tool use request including the first account, the second account, the position of the first icon, the position of the target icon, and a tool identifier of the target interaction tool, the second account being the account represented by the target icon; receiving the target special effect animation returned from the server, the target special effect animation being generated by the server based on the position of the first icon, the position of the target icon, and a special effect resource of the target interaction tool, the special effect resource of the target interaction tool being determined by the server based on a special effect identifier corresponding to the tool identifier; and playing the target special effects animation.
6. The method of claim 1, wherein the special effect resource includes a first special effect, a second special effect, and a third special effect, the first special effect being a special effect displayed when the target interaction tool is at the position of the first icon, the second special effect being a special effect displayed during the movement of the target interaction tool, and the third special effect being a special effect displayed when the target interaction tool is at the position of the target icon.
7. The step of displaying a tool selection area in the game preparation interface in response to a trigger operation on a target icon includes: acquiring a consumption frequency of the at least one interaction tool in response to a trigger operation on the target icon; 2. The method of claim 1, further comprising: displaying the tool selection area in the game preparation interface based on a frequency of consumption of the at least one interaction tool, the at least one interaction tool being displayed in the tool selection area in order of decreasing frequency of consumption.
8. The step of displaying a tool selection area in the game preparation interface in response to a trigger operation on a target icon includes: acquiring a remaining quantity of the at least one interaction tool in response to a trigger operation on the target icon; 2. The method of claim 1, further comprising: displaying the tool selection area in the game preparation interface based on a remaining quantity of the at least one interaction tool, the at least one interaction tool being displayed in the tool selection area in order of decreasing remaining quantity.
9. The step of displaying a tool selection area in the game preparation interface in response to a trigger operation on a target icon includes: acquiring an account relationship between the first account and a second account in response to a trigger operation on the target icon, the second account being an account represented by the target icon; and displaying the at least one interaction tool corresponding to the account relationship in a tool selection area of the game preparation interface.
10. The step of displaying a tool selection area in the game preparation interface in response to a trigger operation on a target icon includes: displaying a tool selection control in response to a trigger operation on the target icon, the tool selection control being used to select an interaction tool to use with a second account, the second account being the account represented by the target icon; 2. The method of claim 1, further comprising the step of: displaying the implement selection area in the game preparation interface in response to triggering the implement selection control.
11. The method of claim 1 , wherein the tool selection region is a circular region, the center of the tool selection region overlapping with the center of the target icon.
12. The method comprises: displaying a tool adding interface, the tool adding interface being used for adding an interaction tool to the first account; displaying a plurality of interaction tools of the first account in response to a trigger operation on a tool-adding control in the tool-adding interface; The method of claim 1 , further comprising: determining, in response to a tool selection operation, the at least one interaction tool selected from among the plurality of interaction tools.
13. An inter-account interaction device disposed in a computing device, the device including: a first display module; and a playback module; the first display module is used for displaying a game preparation interface for a virtual game, the game preparation interface includes a first icon and at least one second icon, the first icon is used for representing a first account currently logged in, and the second icon is used for representing other accounts except the first account, and the game preparation interface is used for preparing the virtual game; The first display module is further used for displaying a tool selection area in the game preparation interface in response to a trigger operation on a target icon, the target icon being any one of the at least one second icon, and at least one interaction tool owned by the first account being displayed in the tool selection area; An inter-account interaction device, wherein the playback module is used for playing a target special effect animation of a target interaction tool in response to a use operation on the target interaction tool, the target interaction tool being any one of the at least one interaction tool, and the target special effect animation is used for displaying a special effect resource in which the target interaction tool points from the first icon to the target icon.
14. A computer device comprising a processor and a memory, the memory being adapted to store at least one computer program, the at least one computer program being loaded by the processor and executing the method for inter-account interaction according to any one of claims 1 to 12.
15. A computer-readable storage medium, the computer-readable storage medium being adapted to store at least one computer program, the at least one computer program being adapted to execute the inter-account interaction method according to any one of claims 1 to 12.
16. A computer program product comprising a computer program, which, when executed by a processor, implements the inter-account interaction method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Interaction method and device in game, equipment and storage medium
CN113262481A
Program, game device, and server system
JP2017012423A
Frame display method and apparatus in game application, terminal, and storage medium
US20220072420A1
