A method, device, terminal and storage medium for displaying special effects in a game
By receiving attack information of game characters and generating special effects animation information, the problem of poor experience when game users cannot control game characters' actions is solved, and the game is fun and user experience is improved.
Patent Information
- Application Number
- CN202210323742.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2042-03-29
AI Technical Summary
In the game, when the game user cannot control the movement of the game character, the game experience will be significantly reduced. The user needs to wait or frequently send text content to express helplessness, resulting in a poor experience.
By receiving attack information from the game character, confirming that it is in a specified control state, and generating special effects animation information to display it to the user, increasing the fun of the game and reducing depression.
Improves the gaming experience of game users when they cannot control the action of game characters, increases the fun of the game, and reduces the depression when experiencing poor experiences.
Smart Images

Figure CN114632328B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, terminal and storage medium for displaying special effects in a game. Background Art
[0002] During the game, the virtual objects controlled by the game user may have limited movements, such as being controlled and unable to move. At this time, the game user can send text content to ask for help or express his inner helplessness in order to kill time. However, sending text content requires the game user to call out the chat box and type, which is a poor gaming experience when the movement is limited.
[0003] Therefore, the existing technology needs to be improved. Summary of the invention
[0004] The embodiments of the present application provide a method, device, terminal and storage medium for displaying special effects in a game, which can improve the gaming experience of a game user when the game user cannot control the actions of a game character.
[0005] The present application provides a method for displaying special effects in a game, including:
[0006] Responding to control instructions for a game character in a target game, controlling the game character to move in a game scene and / or release skills;
[0007] Receiving attack information against the game character;
[0008] Determining that the game character is in a specified control state according to the attack information, and obtaining target text information corresponding to the current game scene, wherein when the game character is in the specified control state, the game character does not respond or responds to the control instruction with a delay;
[0009] Target special effect animation information for displaying the target text information is generated based on the target text information and the attack information.
[0010] In an optional embodiment, after the method for generating target special effect animation information for displaying the target text information based on the target text information and the attack information, the method further includes:
[0011] The target special effect animation information is sent to a target user terminal corresponding to the game character, so that the target user terminal displays the target special effect animation information on a game interface.
[0012] In an optional embodiment, the method further includes:
[0013] When it is determined that the historical game character controlled by the historical game user in the current game scene is in the specified control state, obtaining the frequency of text messages sent by the historical game user;
[0014] If the frequency is higher than a preset frequency threshold, the designated control state is associated with the corresponding text information.
[0015] In an optional embodiment, determining that the game character is in a specified control state according to the attack information, and obtaining target text information corresponding to the current game scene includes:
[0016] It is determined that the game character is in a specified control state according to the attack information, text information corresponding to the specified control state is obtained, and target text information corresponding to the current game scene is determined based on the text information.
[0017] In an optional embodiment, determining the target text information corresponding to the current game scene based on the text information includes:
[0018] Obtaining various text messages sent by the historical game users in the current game scenario;
[0019] Performing semantic analysis on the text information to obtain a semantic analysis result;
[0020] Classifying text information that meets semantic similarity conditions based on the semantic analysis results;
[0021] The target text information corresponding to the current game scene is determined based on the text quantity of each type of text information.
[0022] In an optional embodiment, the generating target special effect animation information for displaying the target text information based on the target text information and the attack information includes:
[0023] Determine the target skill special effect corresponding to the skill currently being released based on the attack information;
[0024] Target special effect animation information for displaying the target text information is generated based on the target text information and the target skill special effect.
[0025] In an optional embodiment, the generating target special effect animation information for displaying the target text information based on the target text information and the target skill special effect includes:
[0026] Based on the target skill special effect and the target text information, a text special effect animation of the target text information is generated as the target special effect animation information, wherein the target text information in the text special effect animation is displayed with the target skill special effect.
[0027] In an optional embodiment, the method further includes:
[0028] Determine a first user terminal corresponding to a skill acting on the game character based on the attack information;
[0029] Sending the target special effect animation information to the first user terminal;
[0030] The first user terminal is triggered to display the target special effect animation information on the corresponding game interface.
[0031] An embodiment of the present application also provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the special effects display method in the above-mentioned game when executing the computer program.
[0032] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the special effects display method in the above-mentioned game are implemented.
[0033] The embodiment of the present application provides a method for displaying special effects in a game. By responding to control instructions for the game character in the target game, the game character can be controlled to move and / or release skills in the game scene; attack information for the game character can be received; based on the attack information, it can be determined that the game character is in a specified control state, and target text information corresponding to the current game scene can be obtained, wherein when the game character is in the specified control state, the game character does not respond or responds to the control instruction with a delay; and target special effects animation information for displaying the target text information is generated based on the target text information and the attack information.
[0034] Therefore, this solution can increase the game user's interest in the game and reduce the depression when experiencing a poor gaming experience when the game user cannot control the action of the game character, that is, when the game character is in the above-mentioned designated control state. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 This is a system schematic diagram of a special effect display device in a game provided by an embodiment of the present application;
[0037] Figure 2It is a flowchart of a method for displaying special effects in a game provided by an embodiment of the present application;
[0038] Figure 3 This is a schematic diagram of the structure of a special effect display device in a game provided by an embodiment of the present application;
[0039] Figure 4 It is a structural diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0041] The embodiment of the present application provides a method, device, terminal and storage medium for displaying special effects in a game. Specifically, the embodiment provides a method for displaying special effects in a game applicable to a special effects display device in a game, and the special effects display device in the game can be integrated in a computer device.
[0042] The computer device may be a terminal device, such as a smart phone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), etc. The terminal may also include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, etc. The computer device may also be a server device, which may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides 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, and big data and artificial intelligence platforms, but is not limited thereto.
[0043] For example, when the special effects display method in the game is applied to a terminal, the terminal is deployed with a target game application, and a game interface is provided when the terminal runs the target game application. The terminal device may provide a game interface to a user in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal device, or the game interface may be presented through holographic projection. For example, the terminal device may include a touch display screen and a processor, the touch display screen is used to present the game interface and receive operation instructions generated by the user acting on the game interface, and the processor is used to run the game, generate the game interface, respond to the operation instructions, and control the display of the game interface on the touch display screen.
[0044] For example, when the special effect display method in the game runs on the server, it can be a cloud game. Cloud gaming refers to a gaming method based on cloud computing. In the operation mode of cloud gaming, the operating body of the game application and the main body of the game screen presentation are separated, and the storage and operation of the skill control method are completed on the cloud gaming server. The game screen presentation is completed on the client of the cloud gaming. The cloud gaming client is mainly used for receiving and sending game data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, a personal digital assistant, etc., but the terminal device for processing game data is a cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send an operation instruction to the cloud gaming server. The cloud gaming server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.
[0045] See also Figure 1 , Figure 1A system diagram of a special effect display device in a game provided by an embodiment of the present application. The system may include at least one terminal 1000, at least one server 2000, at least one database 3000, and a network 4000. The terminal 1000 held by the user can be connected to the servers of different games through the network 4000. The terminal 1000 is any device with computing hardware that can support and execute software products corresponding to the game. In addition, the terminal 1000 has one or more multi-touch screens for sensing and obtaining the input of the user through the touch or sliding operation performed at multiple points of one or more touch-controlled display screens. In addition, when the system includes multiple terminals 1000, multiple servers 2000, and multiple networks 4000, different terminals 1000 can be connected to each other through different networks 4000 and different servers 2000. The network 4000 can be a wireless network or a wired network, such as a wireless network for a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals 1000 can also use their own Bluetooth network or hotspot network to connect to other terminals or to servers, etc. For example, multiple users can be online through different terminals 1000 and connected and synchronized with each other through appropriate networks to support multi-player games. In addition, the system may include multiple databases 3000, which are coupled to different servers 2000, and information related to the game environment can be continuously stored in the databases 3000 when different users are online playing multi-player games.
[0046] An embodiment of the present application provides a method for displaying special effects in a game, comprising: responding to control instructions for a game character in a target game, controlling the game character to move and / or release skills in a game scene; receiving attack information for the game character; determining that the game character is in a specified control state based on the attack information, and obtaining target text information corresponding to the current game scene, wherein when the game character is in the specified control state, the game character does not respond or responds to the control instruction with a delay; and generating target special effect animation information for displaying the target text information based on the target text information and the attack information.
[0047] Among them, this application does not limit the type of target game. It only requires that there may be a situation in which the game user cannot control the actions of the game character during the game, and the game user can send text messages during the game, such as sending the game user's current mood, sending a message requesting help, etc.
[0048] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0049] See also Figure 2 , Figure 2 is a flow chart of a method for displaying special effects in a game provided by an embodiment of the present application, such as Figure 2 As shown, the specific process of the method for displaying special effects in a game according to the embodiment of the present application mainly includes steps 201 to 204, which are described in detail as follows:
[0050] 201. Respond to a control instruction for a game character in a target game, and control the game character to move and / or release skills in a game scene.
[0051] In the embodiment of the present application, the execution subject may be a terminal or a server. In the target game, if the execution subject is a terminal, the terminal generates control instructions for the game character by receiving touch operations on different controls of the game interface, responds to the control instructions, and controls the corresponding game character to move and / or release skills in the game scene. If the execution subject is a server, the server receives the control instructions for the game character sent by the game terminal, responds to the control instructions, and controls the corresponding game character to move and / or release skills in the game scene.
[0052] In the process of some games, the game character may be in a specified control state, that is, in the specified control state, the game character does not respond or delays responding to the control instructions for the game character, and the game user who controls the game character cannot control the action of the game character. For example, the game character can not act because of the skill control acting on it, for example, when the boss uses the imprisonment skill on it, the game character cannot move, or when the boss uses the silence skill on it, the game character cannot release the skill, or when the boss uses the freezing skill on it, the game character moves slowly, etc.; for example, the game character loses too much blood in the game and cannot act. At this time, the game user generally needs to wait for a while before operating. During this time, the game user will be bored and the game experience is not high. Therefore, the present application provides a method for displaying game special effects to increase the fun of the game, so as to enhance the game experience of the game user in the above time period.
[0053] 202. Receive attack information directed to the game character.
[0054] In an embodiment of the present application, during the game process of the target game, the BOSS or the opponent game character in the game may attack it, and receive attack information against the game character, wherein the attack information includes skill attribute information, such as a freezing skill, the attribute information includes the freezing effect, the freezing duration, etc.; a confinement skill, the attribute information includes the confinement duration, etc.
[0055] 203. Determine that the game character is in a specified control state according to the attack information, and obtain target text information corresponding to the current game scene, wherein when the game character is in the specified control state, the game character does not respond or responds to the control instruction with a delay.
[0056] In an embodiment of the present application, after receiving attack information against a game character, it is determined whether the game character is in a specified control state according to the attack information. If the game character is in a specified control state, the text information corresponding to the current game scene is obtained. If the specified control state is that the game character does not respond to control instructions, for example, in a copy node, when the boss releases a confinement skill, the game character cannot move; if the specified control state is that the game character delays responding to control instructions, for example, when the boss uses a freezing skill on it, the game character moves slowly; at this time, the target text information corresponding to the current game scene is obtained.
[0057] In the embodiment of the present application, when it is determined that the historical game character controlled by the historical game user in the current game scene is in the above-mentioned specified control state, the frequency of the historical game user sending text messages is obtained; wherein, if the frequency of the historical game user sending text messages in the current game scene is higher than the preset frequency threshold, the specified control state is associated with the corresponding text message. For example, if in the copy node, the BOSS releases skills to act on the historical game character, causing the historical game character to be controlled and unable to act, that is, the historical game character is in the specified control state (not responding to the control command) in the game scene, then the text message sent by the historical game user, such as a distress message, is obtained, and the specified control state is associated with the distress message, and the relevant information of the specified control state is also associated, such as the relevant information of the above-mentioned specified control state is that in the copy node, the BOSS releases skills. When the game character is currently in the above-mentioned specified control state, the text information corresponding to the specified control state can be directly obtained. Among them, the relatively large, powerful and difficult enemy opponent that appears in the game is referred to as BOSS. For example, BOSS can be a relatively difficult, or the last monster that needs to be killed through customs or the NPC of the task to be completed. Among them, the preset frequency threshold can be set by default, and this application is not limited.
[0058] The step of "determining that the game character is in a specified control state according to the attack information, and obtaining target text information corresponding to the current game scene" specifically includes: determining that the game character is in a specified control state according to the attack information, obtaining text information corresponding to the specified control state, and determining the target text information corresponding to the current game scene based on the text information. For example, there may be many situations in which the text information corresponding to the specified control state exists. The target text information to be displayed is determined according to the text information, specifically:
[0059] Obtain each text message sent by the historical game user in the current game scene; perform semantic analysis on the text message to obtain the semantic analysis result; classify the text message that meets the semantic similarity condition based on the semantic analysis result; determine the target text message based on the number of texts in each type of text message. Among them, the type of text information with the largest number of texts, that is, the most commonly used text information, can be determined as the target text information corresponding to the game scene. For example, in game scene 1 (BOSS uses the imprisonment skill on it), the type of text information with the largest number of texts is the distress message sent by the game user, and the target text message corresponding to game scene 1 is the distress message. Among them, since the text information in the game appears in real time, the target text information corresponding to the game scene is also updated in real time, that is, the text information corresponding to the specified control state is also updated in real time. Optionally, the text information in the game scene can include the text originally set in the game.
[0060] 204. Generate target special effect animation information for displaying the target text information based on the target text information and the attack information.
[0061] In the embodiment of the present application, when it is determined that the game character is in a specified control state based on the attack information, the target skill special effect corresponding to the skill currently released in the target game is determined based on the attack information, and the target special effect animation information for displaying the target text information is generated based on the target text information and the target skill special effect. For example, if it is determined based on the attack information that the game character is hit by a freezing skill, the corresponding target skill special effect is a freezing effect.
[0062] Among them, the step of "generating target special effects animation information for displaying target text information based on target text information and target skill special effects" specifically includes: based on the target skill special effects and target text information, generating a text special effects animation of the target text information as the target special effects animation information, wherein the target text information in the text special effects animation is displayed as the target skill special effects. For example, in a certain game, the skill special effects corresponding to the skill currently being released are fireworks effects, and the text information corresponding to the current game scene is "Congratulations on your wealth", then the text special effects animation of the target text information is to form the four words "Congratulations on your wealth" during the fireworks release process as the target special effects animation information. For example, the target text information can also be superimposed on the target skill special effects for display.
[0063] In the embodiment of the present application, after generating the target special effect animation information, the server sends the target special effect animation information to the target user terminal corresponding to the game user, so that the target user terminal displays the target special effect animation information on the game interface. For example, the server sends a real-time video stream of the new special effect to the target user terminal.
[0064] Among them, the first user terminal corresponding to the skill acting on the game character can be determined based on the attack information; the server also sends the target special effect animation information to the first user terminal, triggering the first user terminal to display the target special effect animation information on the corresponding game interface. For example, when the opponent game character releases a skill on it, the target special effect animation information determined according to the above steps is sent to the user terminal corresponding to the opponent game character, triggering the user terminal to display the target special effect animation information on the game interface.
[0065] In some optional embodiments, the frequency of text messages sent by historical game users in each game scene of the target game can be obtained, and the game scene with a frequency higher than the preset frequency threshold can be determined as the target game scene. For example, the text message is a distress message, and the preset frequency threshold is 5 times in 30 seconds. In a certain game scene, the game user sends a distress message crazily, for example, 10 times in 30 seconds. The game scene is determined as the target game scene, and the target text message corresponding to the target game scene is the distress message. Among them, the preset frequency threshold can be customized and is not limited by this application. If the target game character controlled by the game user is in the preset target game scene in the target game, it is determined whether there is a certain skill acting on the target game character, such as a big move of the BOSS, and the target game character is controlled and cannot move. At this time, the target game character is in a specified control state, and the target text information corresponding to the target game scene is obtained.
[0066] In some optional embodiments, when the game character is in a specified control state, such as when the character loses too much blood and cannot move, if other game users in the same game release a skill, the skill effect corresponding to the skill is obtained, and the target text information and target skill effect corresponding to the current scene are obtained to generate target special effect animation information for displaying the target text information. In addition to the skill effects released by other game users, some special effects in the game triggered by other game users can also be set according to different games.
[0067] In some optional embodiments, if there are multiple skills currently being released in the target game, the corresponding text special effects animations are generated in sequence according to a preset order and then displayed in sequence; wherein the preset order can be customized. For example, when a game character is in a situation where it is unable to move due to excessive blood loss, and there are multiple other game characters releasing skills, the game characters controlled by these game users are sorted according to the distance between the game character controlled by the user and the game character controlled by the user in the virtual scene of the game. The preset order can be from near to far, and the text special effects animation corresponding to the closest game character is displayed first.
[0068] The embodiment of the present application generates new target special effect animation information by combining the corresponding text information and the skill special effect of the currently released skill when the game user cannot control the action of the game character, and displays it to the target game user on the target user terminal to increase the fun of the game; the game user does not need to send text messages himself, and the target special effect animation information contains the most commonly used text information in the current game scene, which can enhance the game user's gaming experience.
[0069] In the embodiment of the present application, the server is used as the execution subject, and the server includes a game server and a cloud server. By detecting the real-time frequency of text messages sent by historical game users in the same scene in the game; the scene where the real-time frequency exceeds the preset value is preset as a special scene, and the elements in the corresponding scene are extracted as judgment condition 1. The elements in the scene can include copy nodes such as boss big moves, players being controlled by a certain skill, and players losing a lot of blood. For example, in the copy, when being controlled by the boss, the player will frantically send out for help; at this time, the boss releases skills + the player is controlled as judgment condition 1.
[0070] Among them, through word segmentation, the speech content in each special scene is analyzed; the content with the same meaning is classified to obtain the most commonly used speech content in each scene. The most commonly used speech content and special scene tags are stored in the cloud and updated in real time.
[0071] When the game user is playing the game, it is determined in real time whether the elements in the scene trigger the preset special scene. If it is triggered, the cloud server retrieves the text content corresponding to the special scene. At the same time, the game server transmits the special effects of the corresponding skills to the cloud server based on the skill release instructions of other players. The cloud server combines the text content with the special effects and sends a real-time video stream to the user end that triggered the special scene.
[0072] The text content is combined with the special effects to display the special effects generated screen in the form of text. For example, in a certain game, there is a skill of fireworks effect. If the corresponding text content is "Congratulations on getting rich", the combined effect is to form the four words "Congratulations on getting rich" during the fireworks release process.
[0073] For example, in a certain instance, the conditions for determining a special scene are: boss releases skills + player is controlled; when a game user explores the instance and triggers a special condition, the skills released by other game users in the same game are read, and the server combines the skill special effects with the text corresponding to the special scene, and displays the new special effects to the controlled player and the player who releases the skill. For another example, in a pvp scenario, the conditions for determining a special scene are: the player is controlled for more than 2 seconds; in pvp, when a player is controlled for more than 2 seconds, the opposing player releases the fireworks skill, and the skill special effects of the fireworks are combined with the corresponding text to display the new special effects to the controlled player and the player who releases the skill. This can increase the fun of game users in the game and reduce the depression when experiencing a poor gaming experience.
[0074] All of the above technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described in detail here.
[0075] In order to better implement the above method, accordingly, an embodiment of the present application also provides a special effect display device in the game, and the special effect display device in the game can be specifically integrated into a computer device, for example, in the form of a terminal.
[0076] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of a special effect display device in a game provided by an embodiment of the present application. The special effect display device in the game includes a control unit 301, a receiving unit 302, an acquisition unit 303 and a generation unit 304, as follows:
[0077] A control unit 301 is used to respond to control instructions for a game character in a target game, and control the game character to move in a game scene and / or release skills;
[0078] A receiving unit 302, configured to receive attack information directed to the game character;
[0079] The acquisition unit 303 is used to determine that the game character is in a specified control state according to the attack information, and to acquire target text information corresponding to the current game scene, wherein when the game character is in the specified control state, the game character does not respond or responds to the control instruction with a delay;
[0080] The generating unit 304 is used to generate target special effect animation information for displaying the target text information based on the target text information and the attack information.
[0081] In an optional embodiment, the generating unit 304 further includes:
[0082] The target special effect animation information is sent to a target user terminal corresponding to the game user, so that the target user terminal displays the target special effect animation information on a game interface.
[0083] In an optional embodiment, the device further comprises:
[0084] When it is determined that the historical game character controlled by the historical game user in the current game scene is in the specified control state, obtaining the frequency of text messages sent by the historical game user;
[0085] If the frequency is higher than a preset frequency threshold, the designated control state is associated with the corresponding text information.
[0086] In an optional embodiment, the obtaining unit 303 includes:
[0087] It is determined that the game character is in a specified control state according to the attack information, text information corresponding to the specified control state is obtained, and target text information corresponding to the current game scene is determined based on the text information.
[0088] In an optional embodiment, the obtaining unit 303 further includes:
[0089] Obtaining various text messages sent by the historical game users in the current game scenario;
[0090] Performing semantic analysis on the text information to obtain a semantic analysis result;
[0091] Classifying text information that meets semantic similarity conditions based on the semantic analysis results;
[0092] The target text information corresponding to the current game scene is determined based on the text quantity of each type of text information.
[0093] In an optional embodiment, the generating unit 304 includes:
[0094] Determine the target skill special effect corresponding to the skill currently being released based on the attack information;
[0095] Target special effect animation information for displaying the target text information is generated based on the target text information and the target skill special effect.
[0096] In an optional embodiment, the generating unit 304 includes:
[0097] Based on the target skill special effect and the target text information, a text special effect animation of the target text information is generated as the target special effect animation information, wherein the target text information in the text special effect animation is displayed with the target skill special effect.
[0098] In an optional embodiment, the device further comprises:
[0099] Determine a first user terminal corresponding to a skill acting on the game character based on the attack information;
[0100] Sending the target special effect animation information to the first user terminal;
[0101] The first user terminal is triggered to display the target special effect animation information on the corresponding game interface.
[0102] All of the above technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described in detail here.
[0103] The in-game special effects display device provided in the embodiment of the present application, when the control unit 301 responds to the control instruction for the game character in the target game, controls the game character to move and / or release skills in the game scene; then, when the receiving unit 302 receives the attack information for the game character; then, when the acquisition unit 303 determines that the game character is in a specified control state according to the attack information, and obtains the target text information corresponding to the current game scene, wherein, when the game character is in the specified control state, the game character does not respond or delays responding to the control instruction; finally, when the generation unit 304 generates target special effects animation information for displaying the target text information based on the target text information and the attack information.
[0104] Accordingly, the embodiment of the present application also provides a terminal, which can be a computer device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA), etc. Figure 4 As shown, Figure 4 A schematic diagram of the structure of a terminal 400 provided in an embodiment of the present invention. The terminal 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. It will be appreciated by those skilled in the art that the structure of the terminal 400 shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0105] Processor 401 is the control center of terminal 400. It uses various interfaces and lines to connect various parts of the entire terminal 400, executes various functions of terminal 400 and processes data by running or loading software programs and / or modules stored in memory 402, and calling data stored in memory 402, thereby monitoring terminal 400 as a whole.
[0106] In the embodiment of the present application, the processor 401 in the terminal 400 loads instructions corresponding to the processes of one or more applications into the memory 402 according to the following steps, and the processor 401 runs the application stored in the memory 402 to implement various functions:
[0107] Respond to control instructions for a game character in a target game, control the game character to move and / or release skills in a game scene; receive attack information for the game character; determine that the game character is in a specified control state based on the attack information, and obtain target text information corresponding to the current game scene, wherein, when the game character is in the specified control state, the game character does not respond or responds to the control instruction with a delay; generate target special effect animation information for displaying the target text information based on the target text information and the attack information.
[0108] In an optional embodiment, after the method for generating target special effect animation information for displaying the target text information based on the target text information and the attack information, the method further includes:
[0109] The target special effect animation information is sent to a target user terminal corresponding to the game character, so that the target user terminal displays the target special effect animation information on a game interface.
[0110] In an optional embodiment, the method further includes:
[0111] When it is determined that the historical game character controlled by the historical game user in the current game scene is in the specified control state, obtaining the frequency of text messages sent by the historical game user;
[0112] If the frequency is higher than a preset frequency threshold, the designated control state is associated with the corresponding text information.
[0113] In an optional embodiment, determining that the game character is in a specified control state according to the attack information, and obtaining target text information corresponding to the current game scene includes:
[0114] It is determined that the game character is in a specified control state according to the attack information, text information corresponding to the specified control state is obtained, and target text information corresponding to the current game scene is determined based on the text information.
[0115] In an optional embodiment, determining the target text information corresponding to the current game scene based on the text information includes:
[0116] Obtaining various text messages sent by the historical game users in the current game scenario;
[0117] Performing semantic analysis on the text information to obtain a semantic analysis result;
[0118] Classifying text information that meets semantic similarity conditions based on the semantic analysis results;
[0119] The target text information corresponding to the current game scene is determined based on the text quantity of each type of text information.
[0120] In an optional embodiment, the generating target special effect animation information for displaying the target text information based on the target text information and the attack information includes:
[0121] Determine the target skill special effect corresponding to the skill currently being released based on the attack information;
[0122] Target special effect animation information for displaying the target text information is generated based on the target text information and the target skill special effect.
[0123] In an optional embodiment, the generating target special effect animation information for displaying the target text information based on the target text information and the target skill special effect includes:
[0124] Based on the target skill special effect and the target text information, a text special effect animation of the target text information is generated as the target special effect animation information, wherein the target text information in the text special effect animation is displayed with the target skill special effect.
[0125] In an optional embodiment, the method further includes:
[0126] Determine a first user terminal corresponding to a skill acting on the game character based on the attack information;
[0127] Sending the target special effect animation information to the first user terminal;
[0128] The first user terminal is triggered to display the target special effect animation information on the corresponding game interface.
[0129] This solution can improve the gaming experience of game users when the game users cannot control the actions of the game characters.
[0130] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0131] Optional, such as Figure 4 As shown, the terminal 400 further includes: a touch screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art can understand that Figure 4 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0132] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 401, and can receive the command sent by the processor 401 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 401 to determine the type of touch event, and then the processor 401 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present invention, the touch panel and the display panel can be integrated into the touch display screen 403 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 403 can also be used as a part of the input unit 406 to realize the input function.
[0133] The radio frequency circuit 404 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other terminals through wireless communication, and to send and receive signals with the network device or other terminals.
[0134] The audio circuit 405 can be used to provide an audio interface between the user and the terminal through a speaker and a microphone. The audio circuit 405 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and converted into audio data, and then the audio data is output to the processor 401 for processing, and then sent to another terminal through the radio frequency circuit 404, or the audio data is output to the memory 402 for further processing. The audio circuit 405 may also include an earplug jack to provide communication between an external headset and the terminal.
[0135] The input unit 406 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0136] The power supply 407 is used to supply power to various components of the terminal 400. Optionally, the power supply 407 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. The power supply 407 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0137] although Figure 4 Not shown, the terminal 400 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0138] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0139] As can be seen from the above, the terminal provided by this embodiment can respond to control instructions for a game character in a target game, control the game character to move and / or release skills in a game scene; receive attack information for the game character; determine that the game character is in a specified control state based on the attack information, and obtain the target text information corresponding to the current game scene, wherein when the game character is in a specified control state, the game character does not respond or responds to the control instruction with a delay; and generate target special effects animation information for displaying the target text information based on the target text information and the attack information. This solution can improve the game experience of game users when they cannot control the actions of the game character.
[0140] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0141] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any of the special effects display methods in the game provided in the embodiment of the present application. For example, the computer program can execute the following steps:
[0142] Respond to control instructions for a game character in a target game, control the game character to move and / or release skills in a game scene; receive attack information for the game character; determine that the game character is in a specified control state based on the attack information, and obtain target text information corresponding to the current game scene, wherein, when the game character is in the specified control state, the game character does not respond or responds to the control instruction with a delay; generate target special effect animation information for displaying the target text information based on the target text information and the attack information.
[0143] In an optional embodiment, after the method for generating target special effect animation information for displaying the target text information based on the target text information and the attack information, the method further includes:
[0144] The target special effect animation information is sent to a target user terminal corresponding to the game character, so that the target user terminal displays the target special effect animation information on a game interface.
[0145] In an optional embodiment, the method further includes:
[0146] When it is determined that the historical game character controlled by the historical game user in the current game scene is in the specified control state, obtaining the frequency of text messages sent by the historical game user;
[0147] If the frequency is higher than a preset frequency threshold, the designated control state is associated with the corresponding text information.
[0148] In an optional embodiment, determining that the game character is in a specified control state according to the attack information, and obtaining target text information corresponding to the current game scene includes:
[0149] It is determined that the game character is in a specified control state according to the attack information, text information corresponding to the specified control state is obtained, and target text information corresponding to the current game scene is determined based on the text information.
[0150] In an optional embodiment, determining the target text information corresponding to the current game scene based on the text information includes:
[0151] Obtaining various text messages sent by the historical game users in the current game scenario;
[0152] Performing semantic analysis on the text information to obtain a semantic analysis result;
[0153] Classifying text information that meets semantic similarity conditions based on the semantic analysis results;
[0154] The target text information corresponding to the current game scene is determined based on the text quantity of each type of text information.
[0155] In an optional embodiment, the generating target special effect animation information for displaying the target text information based on the target text information and the attack information includes:
[0156] Determine the target skill special effect corresponding to the skill currently being released based on the attack information;
[0157] Target special effect animation information for displaying the target text information is generated based on the target text information and the target skill special effect.
[0158] In an optional embodiment, the generating target special effect animation information for displaying the target text information based on the target text information and the target skill special effect includes:
[0159] Based on the target skill special effect and the target text information, a text special effect animation of the target text information is generated as the target special effect animation information, wherein the target text information in the text special effect animation is displayed with the target skill special effect.
[0160] In an optional embodiment, the method further includes:
[0161] Determine a first user terminal corresponding to a skill acting on the game character based on the attack information;
[0162] Sending the target special effect animation information to the first user terminal;
[0163] The first user terminal is triggered to display the target special effect animation information on the corresponding game interface.
[0164] This solution can improve the gaming experience of game users when the game users cannot control the actions of the game characters.
[0165] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0166] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0167] The above is a detailed introduction to a method, device, terminal and storage medium for displaying special effects in a game provided by an embodiment of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for displaying special effects in a game, It is characterized in that include: Responding to control instructions for a game character in a target game, controlling the game character to move in a game scene and / or release skills; Receiving attack information against the game character; Determining that the game character is in a specified control state according to the attack information, acquiring text information corresponding to the specified control state, and determining target text information corresponding to the current game scene based on the text information, wherein the text information is text information sent by the historical game user when the historical game user controls the historical game character in the specified control state in the current game scene, wherein when the game character is in the specified control state, the game character does not respond or responds to the control instruction with a delay; Target special effect animation information for displaying the target text information is generated based on the target text information and the attack information.
2. The method for displaying special effects in a game according to claim 1, It is characterized in that After the method of generating target special effect animation information for displaying the target text information based on the target text information and the attack information, it also includes: The target special effect animation information is sent to a target user terminal corresponding to the game character, so that the target user terminal displays the target special effect animation information on a game interface.
3. The method for displaying special effects in a game according to claim 1, It is characterized in that The method further comprises: When it is determined that the historical game character controlled by the historical game user in the current game scene is in the specified control state, obtaining the frequency of text messages sent by the historical game user; If the frequency is higher than a preset frequency threshold, the designated control state is associated with the corresponding text information.
4. The method for displaying special effects in a game according to claim 1, It is characterized in that The determining the target text information corresponding to the current game scene based on the text information includes: Obtaining various text messages sent by the historical game users in the current game scenario; Performing semantic analysis on the text information to obtain a semantic analysis result; Classifying text information that meets semantic similarity conditions based on the semantic analysis results; The target text information corresponding to the current game scene is determined based on the text quantity of each type of text information.
5. The method for displaying special effects in a game according to claim 1, It is characterized in that The generating of target special effect animation information for displaying the target text information based on the target text information and the attack information includes: Determine the target skill special effect corresponding to the skill currently being released based on the attack information; Target special effect animation information for displaying the target text information is generated based on the target text information and the target skill special effect.
6. The method for displaying special effects in a game according to claim 5, It is characterized in that The generating target special effect animation information for displaying the target text information based on the target text information and the target skill special effect includes: Based on the target skill special effect and the target text information, a text special effect animation of the target text information is generated as the target special effect animation information, wherein the target text information in the text special effect animation is displayed with the target skill special effect.
7. The method for displaying special effects in a game according to claim 1, It is characterized in that The method further comprises: Determine a first user terminal corresponding to a skill acting on the game character based on the attack information; Sending the target special effect animation information to the first user terminal; The first user terminal is triggered to display the target special effect animation information on the corresponding game interface.
8. A special effects display device in a game, It is characterized in that include: A control unit, for responding to control instructions for a game character in a target game, and controlling the game character to move in a game scene and / or release skills; A receiving unit, used for receiving attack information against the game character; an acquisition unit, configured to determine that the game character is in a specified control state according to the attack information, acquire text information corresponding to the specified control state, and determine target text information corresponding to the current game scene based on the text information, wherein the text information is text information sent by the historical game user when the historical game user controls the historical game character in the specified control state in the current game scene, wherein when the game character is in the specified control state, the game character does not respond or responds to the control instruction with a delay; A generating unit is used to generate target special effect animation information for displaying the target text information based on the target text information and the attack information.
9. A terminal, It is characterized in that It comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for displaying special effects in a game as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, wherein when the computer program is executed by a processor, the steps of the method for displaying special effects in a game as described in any one of claims 1-7 are implemented.
