Animation display method, device, computer equipment and storage medium

By mixing shooting animations, the problem of low restoration of continuous shooting performance in shooting games is solved, and a more realistic shooting scene experience is achieved.

CN114042322BActive Publication Date: 2024-10-01NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111302326.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-04
Publication Date
2024-10-01
Estimated Expiration
2041-11-04

AI Technical Summary

Technical Problem

In shooting games, players repeatedly play a single shooting animation when shooting continuously, resulting in a low degree of restoration and weak authenticity of the continuous shooting performance in reality.

Method used

By mixing the first shooting animation and the second shooting animation according to the mixing ratio, determining the mixing ratio according to the current number of shots, and generating the mixed shooting animation to control the movement of virtual props in the virtual scene, the single-shot shooting animation can be naturally transitioned to a continuous one. Shooting animation.

Benefits of technology

It improves the authenticity of players’ shooting scenes during continuous shooting and enhances the restoration of realistic continuous shooting performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114042322B_ABST
    Figure CN114042322B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose an animation display method, apparatus, computer equipment and storage medium, which achieve a natural transition from a single-shot shooting animation to a continuous shooting animation by mixing a first shooting animation and a second shooting animation according to a mixing ratio, and adjust factors such as the amplitude of the mixed shooting animation and the offset value of a virtual prop according to the current number of shootings, so that a player can obtain a real shooting scene in the process of continuous shooting with virtual props, thereby improving the degree of restoration of continuous shooting performance in reality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to an animation display method, device, computer equipment and storage medium. Background Art

[0002] In order to meet people's pursuit of spiritual life, entertainment games that can be operated on terminals have emerged, such as multiplayer online action competitive games developed based on client or server architecture. In action competitive games, players can manipulate virtual characters or virtual guns on the screen to play games, and can perform shooting attacks and other related operations in the game scene based on the first or third perspective of the characters operated by the players, so that players can experience the visual impact brought by the game in an immersive way, greatly enhancing the initiative and realism of the game.

[0003] In current shooting games, the real shooting feeling is generally fed back to the shooting user as much as possible through gunshots, gun vibration animations, and special effects of hitting the target after shooting. However, when players shoot multiple times, they usually use a solution of repeatedly playing a single shooting animation, which results in a low degree of restoration of the real continuous shooting performance and weak authenticity when the player shoots continuously. Summary of the invention

[0004] The embodiments of the present application provide an animation display method, device, electronic device and storage medium. By mixing a first shooting animation and a second shooting animation according to a mixing ratio, a player can obtain a real shooting scene during continuous shooting using virtual props, thereby improving the degree of restoration of continuous shooting performance in reality.

[0005] The present application provides an animation display method, the method comprising:

[0006] Responding to a shooting operation of a virtual prop;

[0007] When it is detected that the virtual prop is in a continuous shooting state, determining the current shooting times of the virtual prop, and acquiring a first shooting animation and a second shooting animation, wherein the first shooting animation is a first movement performance of the virtual prop in a multiple shooting state, and the second shooting animation is a second movement performance of the virtual prop in a single shooting state;

[0008] Determining a mixing ratio of the first shooting animation and the second shooting animation based on the current number of shootings;

[0009] The first shooting animation and the second shooting animation are mixed according to the mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target motion performance, and the target motion performance is a motion performance obtained by mixing the first motion performance and the second motion performance according to the mixing ratio;

[0010] Based on the mixed shooting animation, the virtual prop is controlled to move in the virtual scene according to the target movement performance.

[0011] Accordingly, the embodiment of the present application further provides an animation display device, the device comprising:

[0012] A response unit, used to respond to the shooting operation of the virtual prop;

[0013] A first determining unit is used to determine the current shooting times of the virtual prop when it is detected that the virtual prop is in a continuous shooting state, and obtain a first shooting animation and a second shooting animation, wherein the first shooting animation is a first movement performance of the virtual prop in a multiple shooting state, and the second shooting animation is a second movement performance of the virtual prop in a single shooting state;

[0014] a second determining unit, configured to determine a mixing ratio of the first shooting animation and the second shooting animation based on the current number of shootings;

[0015] a first processing unit, configured to mix the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target motion performance, and the target motion performance is a motion performance obtained by mixing the first motion performance and the second motion performance according to the mixing ratio;

[0016] A control unit is used to control the virtual prop to move in the virtual scene according to the target movement performance based on the mixed shooting animation.

[0017] In some embodiments, the animation display device further includes a third determining unit, and the third determining unit is used to:

[0018] determining a first performance weight of the first shooting animation based on the current number of shootings, wherein the first performance weight is used to adjust the first motion performance;

[0019] A second performance weight of the second shooting animation is determined according to a preset constant and the first performance weight, wherein the second performance weight is used to adjust the second motion performance.

[0020] In some embodiments, the animation display device further comprises:

[0021] a first adjusting unit, configured to adjust the first motion expression of the first shooting animation according to the first expression weight to obtain a first shooting animation to be mixed, wherein the first shooting animation to be mixed includes a third motion expression;

[0022] a second adjusting unit, configured to adjust the second motion expression of the second shooting animation according to the second expression weight to obtain a second shooting animation to be mixed, wherein the second shooting animation to be mixed includes a fourth motion expression;

[0023] The second processing unit is used for mixing the first shooting animation to be mixed and the second shooting animation to be mixed to obtain a mixed shooting animation, wherein the target motion performance of the mixed shooting animation is composed of the third motion performance and the fourth motion performance.

[0024] In some embodiments, the animation display device further comprises:

[0025] a third adjustment unit, configured to adjust the first position offset according to the first representation weight to obtain a second position offset;

[0026] The first generating unit is configured to generate a first shooting animation to be mixed based on the second position offset and the first shooting animation.

[0027] In some embodiments, the animation display device further comprises:

[0028] a fourth adjustment unit, configured to adjust the third position offset according to the second representation weight to obtain a fourth position offset;

[0029] The second generating unit is configured to generate a second shooting animation to be mixed based on the fourth position offset and the second shooting animation.

[0030] In some embodiments, the animation display device further comprises:

[0031] A first acquisition unit, configured to acquire an updated current number of shots when a new number of shots is detected;

[0032] The first sub-control unit is used to control the virtual prop to move according to the first movement performance in the virtual scene based on the first shooting animation if the updated current shooting number is greater than the preset shooting number.

[0033] In some embodiments, the animation display device further comprises:

[0034] A second acquisition unit is used to acquire an amplitude adjustment parameter corresponding to the current shooting number, wherein the amplitude adjustment parameter is used to adjust the moving distance of the mixed shooting animation in all directions within a unit time;

[0035] a fifth adjustment unit, configured to adjust the moving distance of the mixed shooting animation in all directions within a unit time based on the amplitude adjustment parameter to obtain a processed mixed shooting animation, wherein the processed mixed shooting animation includes a processed target motion performance;

[0036] The second sub-control unit is used to control the virtual prop to move in the virtual scene according to the processed target movement performance based on the processed mixed shooting animation.

[0037] In some embodiments, the animation display device further comprises:

[0038] A third sub-control unit is configured to control the virtual prop to move in the virtual scene according to the processed target motion performance based on the processed mixed shooting animation when an additional shooting number is detected if the current shooting number is greater than or equal to the preset shooting number;

[0039] a fourth sub-control unit, for obtaining an updated current shooting number when a new shooting number is detected if the current shooting number is less than the preset shooting number, and adjusting the moving distance of the mixed shooting animation in all directions per unit time based on the amplitude adjustment parameter corresponding to the updated current shooting number to obtain a processed mixed shooting animation, wherein the processed mixed shooting animation includes a processed target motion performance; and controlling the virtual prop to move in the virtual scene according to the processed target motion performance based on the processed mixed shooting animation.

[0040] In some embodiments, the animation display device further comprises:

[0041] A third acquisition unit is used to acquire a displacement parameter corresponding to the current shooting number, wherein the displacement parameter is used to indicate the displacement of the virtual prop in a direction opposite to the aiming direction of the virtual prop;

[0042] The sixth adjustment unit is used to adjust the position of the virtual prop of the mixed shooting animation based on the displacement adjustment parameter to obtain an adjusted mixed shooting animation.

[0043] In some embodiments, the animation display device further comprises:

[0044] A fourth acquisition unit, configured to acquire an updated current number of shots when a new number of shots is detected;

[0045] a fifth sub-control unit, configured to maintain the adjusted mixed shooting animation to control the movement of the virtual prop in the virtual scene according to the target movement performance if the updated current shooting number is greater than the preset shooting number;

[0046] The seventh adjustment unit is used to adjust the position of the virtual prop of the mixed shooting animation based on the displacement adjustment parameter of the updated current shooting number if the updated current shooting number is less than the preset shooting number, so as to obtain the adjusted mixed shooting animation.

[0047] In some embodiments, the animation display device further comprises:

[0048] A judging unit, configured to, when detecting that the virtual prop is in a single shooting state, judge whether the virtual prop has shot again within a preset time period corresponding to the single shooting state;

[0049] The fourth determination unit is used to determine that if so, the virtual prop is in a continuous shooting state, update the current shooting number of the virtual prop, obtain a preset time period corresponding to the updated current shooting number of the virtual prop, and determine whether the virtual prop shoots again within the preset time period corresponding to the updated current shooting number of the virtual prop.

[0050] Correspondingly, an embodiment of the present application also provides a computer device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of any one of the animation display methods described above are implemented.

[0051] In addition, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the animation display methods described above are implemented.

[0052] The embodiments of the present application provide an animation display method, apparatus, computer equipment and storage medium, which mix a first shooting animation and a second shooting animation according to a mixing ratio to achieve a natural transition from a single-shot shooting animation to a continuous shooting animation, so that players can obtain a real shooting scene in the process of continuous shooting using virtual props, thereby improving the degree of restoration of continuous shooting performance in reality. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] 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 application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0054] Figure 1 It is a scene schematic diagram of the animation display system provided in an embodiment of the present application.

[0055] Figure 2 It is a flowchart of the animation display method provided in the embodiment of the present application.

[0056] Figure 3 It is a scene schematic diagram of the animation display method provided in an embodiment of the present application.

[0057] Figure 4 It is a schematic diagram of the corresponding relationship between the number of shots and the detection time provided in the embodiment of the present application.

[0058] Figure 5 It is a schematic diagram of the corresponding relationship between the number of shots and the detection time provided in the embodiment of the present application.

[0059] Figure 6 This is another scenario diagram of the animation display method provided in an embodiment of the present application.

[0060] Figure 7 It is a schematic diagram of the corresponding relationship between the number of shots and the overall amplitude of the animation provided in the embodiment of the present application.

[0061] Figure 8 It is a schematic diagram of the corresponding relationship between the number of shots and the displacement of the virtual props provided in the embodiment of the present application.

[0062] Fig. 9 It is a structural schematic diagram of the animation display device provided in an embodiment of the present application.

[0063] Fig.10 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than 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 the present application.

[0065] The embodiments of the present application provide an animation display method, device, computer equipment and storage medium. Specifically, the animation display method of the embodiments of the present application can be performed by a computer device, wherein the computer device can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), etc. The terminal can also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and basic cloud computing services such as big data and artificial intelligence platforms.

[0066] For example, when the animation display method is run on a terminal, the terminal device stores a game application and is used to present a virtual scene in the game screen. The terminal device is used to interact with the user through a graphical user interface, for example, the game application is downloaded and installed by the terminal device and run. The terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on the display screen of the terminal device, or the graphical user 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 graphical user interface and receive the operation instructions generated by the user acting on the graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, respond to the operation instructions, and control the display of the graphical user interface on the touch display screen.

[0067] For example, when the game interaction method is run on a 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 game screen presentation body are separated, and the storage and operation of the game interaction method are completed on the cloud gaming server. The game screen presentation is completed on the client side 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 PDA, 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.

[0068] See also Figure 1 , Figure 1 A scene diagram of an animation display system provided for an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the server of different games through the network. The terminal is any device with computing hardware that can support and execute software products corresponding to the game. In addition, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless network such as 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 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 and connected and synchronized with each other through appropriate networks to support multi-player games. In addition, the system may include multiple databases, multiple databases are coupled to different servers, and information related to the game environment can be continuously stored in the database when different users are online for multi-player games.

[0069] The embodiment of the present application provides an animation display method, which can be executed by a terminal or a server. The embodiment of the present application takes the animation display method executed by a terminal as an example for explanation. Among them, the terminal may include a touch display screen and a processor (of course, the terminal may also use peripherals such as a mouse and a keyboard as input devices, and only the touch display screen is used as an example for explanation here), and the touch display screen is used to present a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. When the user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal by responding to the received operation instructions, and can also control the content of the opposite server by responding to the received operation instructions. For example, the operation instructions generated by the user acting on the graphical user interface include instructions for starting a game application, and the processor is configured to start the game application after receiving the instructions for starting the game application provided by the user. In addition, the processor is configured to render and draw a graphical user interface associated with the game on the touch display screen. The touch display screen is a multi-touch sensitive screen that can sense touch or sliding operations performed simultaneously at multiple points on the screen. The user uses a finger to perform a touch operation on the graphical user interface, and when the graphical user interface detects the touch operation, the different virtual objects in the graphical user interface of the game are controlled to perform actions corresponding to the touch operation. For example, the game can be any of the games such as casual games, action games, role-playing games, strategy games, sports games, puzzle games, etc. Among them, the game can include a virtual scene of the game drawn on a graphical user interface. In addition, the virtual scene of the game can include one or more virtual objects controlled by a user (or player), such as a virtual character. In addition, the virtual scene of the game can also include one or more obstacles, such as railings, gullies, walls, etc., to limit the movement of virtual objects, such as limiting the movement of one or more objects to a specific area in the virtual scene. Optionally, the virtual scene of the game also includes one or more elements, such as skills, scores, character health status, energy, etc., to provide help to players, provide virtual services, increase scores related to player performance, etc. In addition, the graphical user interface can also present one or more indicators to provide indication information to the player. For example, the game can include a virtual object controlled by a player and one or more other virtual objects (such as an enemy character). In one embodiment, one or more other virtual objects are controlled by other players of the game. For example, one or more other virtual objects can be controlled by a computer, such as a robot using an artificial intelligence (AI) algorithm, to achieve a man-machine battle mode. For example, a virtual object has various skills or abilities that game players use to achieve their goals. For example, a virtual object may have one or more weapons, props, tools, etc. that can be used to eliminate other objects from the game. Such skills or abilities can be activated by a player of the game using one of a plurality of preset touch operations with the touch display screen of the terminal.The processor may be configured to present a corresponding game screen in response to an operation instruction generated by a user's touch operation.

[0070] It should be noted that Figure 1 The scene diagram of the animation display system shown is only an example. The animation display system and scene described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0071] Based on the above problems, the embodiments of the present application provide an animation display method, device, computer equipment and storage medium, which can enable players to obtain a real shooting scene in the process of continuous shooting using virtual props, and improve the restoration of continuous shooting performance in reality. The following are detailed descriptions. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0072] An embodiment of the present application provides an animation display method, which can be executed by a terminal or a server. The embodiment of the present application is described by taking the animation display method executed by a terminal as an example.

[0073] See also Figure 2 , Figure 2 This is a flow chart of an animation display method provided in an embodiment of the present application. The specific flow of the animation display method may be as follows: Steps 101 to 105:

[0074] 101, responding to a shooting operation of a virtual prop.

[0075] The embodiment of the present application can be applied to first-person shooting games (First-person shooting game, FPS). Specifically, a first-person shooting game refers to a shooting game played by a player from the subjective perspective (first-person perspective) of the player, and the picture of the virtual environment in the game is a picture of observing the virtual environment from the perspective of the first virtual object. In a first-person shooting game, at least two virtual objects can play a single game in a game match. In a virtual environment, a virtual object needs to achieve the purpose of surviving in a virtual environment by avoiding damage initiated by other virtual objects and dangers existing in the virtual environment (e.g., poison gas circles, non-signal receiving areas, etc.). When the life value of a virtual object in a virtual environment is zero, the life of the virtual object in the virtual environment ends, and the virtual object that survives in the virtual environment is the winner. Each client can control one or more virtual objects in a virtual environment.

[0076] In the embodiment of the present application, a virtual scene is displayed on the game interface, and the virtual scene is a virtual environment displayed (or provided) when the application is running on the terminal. The virtual environment can be a simulation environment of the real world, or a semi-simulation and semi-fictitious three-dimensional environment, or a purely fictitious three-dimensional environment. The virtual environment is used for a virtual environment battle between at least two virtual characters, and there are virtual props in the virtual environment that can be used by at least two virtual characters, and the virtual characters can use the virtual props to fight.

[0077] Among them, virtual props refer to props that virtual objects can use in virtual environments, such as pistols, rifles, sniper rifles, daggers, knives, swords, axes and other virtual weapons that can cause damage to other virtual objects, bullets and other supply props, quick clip sights, silencers and other virtual pendants installed on designated virtual weapons that can provide some attribute additions to virtual weapons, as well as shields, armor, armored vehicles and other defensive props. Players can click on the attack control on the game interface to control the virtual props through the virtual character corresponding to the player account to perform shooting operations, so as to cause damage to the virtual characters controlled by other players and win the game.

[0078] For example, see Figure 3 A virtual scene is displayed in the game interface. Attack controls and virtual props are displayed in the virtual scene. Players can click the attack controls on the game interface to enable the virtual characters to manipulate the virtual props to perform shooting operations. Virtual characters of the hostile camp can also be displayed in the virtual scene. The virtual characters corresponding to the players can manipulate the virtual props to shoot at the virtual characters of the hostile camp to cause damage to the virtual characters controlled by other players.

[0079] 102. When it is detected that the virtual prop is in a continuous shooting state, determine the current shooting times of the virtual prop, and obtain a first shooting animation and a second shooting animation, wherein the first shooting animation is a first movement performance of the virtual prop in a multiple shooting state, and the second shooting animation is a second movement performance of the virtual prop in a single shooting state.

[0080] In order to determine the current attack state of the virtual prop, before the step of “detecting that the virtual prop is in a continuous shooting state”, the method may include:

[0081] When it is detected that the virtual prop is in a single shooting state, determining whether the virtual prop has shot again within a preset time period corresponding to the single shooting state;

[0082] If so, it is determined that the virtual prop is in a continuous shooting state, the current shooting number of the virtual prop is updated, the preset time period corresponding to the updated current shooting number of the virtual prop is obtained, and it is determined whether the virtual prop has shot again within the preset time period corresponding to the updated current shooting number of the virtual prop.

[0083] For details, please refer to Figure 4 , Figure 4 A schematic diagram of the correspondence between the number of shots and the detection time provided for the embodiment of the present application. In the schematic diagram of the correspondence between the number of continuous shots and the detection time, the X value on the X-axis represents the number of continuous shots, and the Y value on the Y-axis represents the detection time. Timing starts each time a shot is started (denoted as A). If the next shot is made within A<Y, then X1=X0+1, which means that the weapon is in the X1th continuous shot. A is cleared and timing is restarted. Among them, when the initial number of continuous shots X of the virtual prop is 0, the detection time is 0.5 seconds. The detection time is used to determine the attack state of the virtual prop, that is, to determine whether the current state of the virtual prop is a single shot state or a continuous shot state. After determining the number of continuous shots, the detection time corresponding to the number of continuous shots is obtained. If the next shot occurs within the detection time period, it is judged to be a continuous shot state; if the next shot does not occur within the detection time period, it is judged to be a single shot state.

[0084] For example, when X0 is 0, it means that the virtual props' current continuous shooting times are 0. At this time, the virtual props are not shooting continuously but in a single-shot shooting state. Figure 4 The corresponding Y value in is the continuous shooting detection time for single shot, that is, when X0 is 0, the detection time is 0.5 seconds. If after a single shot, the player shoots again within the detection time, the continuous shooting number X1 becomes 1, and the virtual item enters the continuous shooting state.

[0085] For another example, when X0 is 18, it means that the current continuous shooting number of the virtual prop is 18, and the corresponding detection time when the continuous shooting number is 18 is 0.4 seconds; at this time, the virtual prop is in a continuous shooting state, and the timing starts. If the virtual prop makes the next shot within 0.4 seconds, the current continuous shooting number is updated to 19, indicating that the virtual prop is in the 19th continuous shooting; at this time, the virtual prop is still in a continuous shooting state, and the detection time corresponding to the continuous shooting number of 19 is obtained, and the timing is reset and restarted to determine the attack state of the virtual prop at the next shooting.

[0086] Among them, the shooting animation is the movement performance of the virtual props (firearms) when shooting in the shooting game.

[0087] Optionally, in order to determine the current attack state of the virtual prop, an attack control is provided on the game interface, and the attack control is used to trigger the virtual prop to attack. Before the step of "detecting that the virtual prop is in a continuous shooting state", the method may further include:

[0088] After a touch operation on the attack control is detected, if an end operation of the touch operation is not detected within a preset time, it is determined that the current attack state is a continuous attack state.

[0089] For example, when it is detected that the player uses a finger or a mouse to perform a long press operation on the game interface, if the long press operation is not detected to be released within a preset time, it is determined that the current attack state is a continuous attack state.

[0090] 103 , determining a mixing ratio of the first shooting animation and the second shooting animation based on the current shooting number.

[0091] In order to achieve a natural transition from a single-shot shooting animation to a continuous shooting animation, it is necessary to obtain adjustment parameters for the first shooting animation and the second shooting animation respectively. The step of "determining the mixing ratio of the first shooting animation and the second shooting animation based on the current number of shootings" may include:

[0092] Determining a first performance weight of the first shooting animation based on the current number of shootings, wherein the first performance weight is used to adjust the first motion performance;

[0093] A second performance weight of the second shooting animation is determined according to a preset constant and the first performance weight, wherein the second performance weight is used to adjust the second motion performance.

[0094] Among them, the performance weight of the shooting animation refers to the proportion of the preset shooting animation in the shooting animation that needs to be played when shooting. The first shooting animation is a shooting animation in a multiple-shot shooting state, and the second shooting animation is a shooting animation in a single-shot shooting state. The sum of the performance weight of the first shooting animation and the performance weight of the second shooting animation must be equal to the preset constant 1.

[0095] For details, please refer to Figure 5 , Figure 5 A schematic diagram of the corresponding relationship between the number of shots and the detection time provided in the embodiment of the present application. In the schematic diagram of the corresponding relationship between the number of consecutive shots and the performance weight of the first shooting animation, the X value on the X-axis represents the number of consecutive shots, and the Y value on the Y-axis represents the performance weight of the first shooting animation. For example, if X is 6 and Y is 0.6, that is, the first performance weight of the first shooting animation is 0.6, then the second performance weight of the second shooting animation is 0.4.

[0096] 104. Mix the first shooting animation and the second shooting animation according to a mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target motion performance, and the target motion performance is a motion performance obtained by mixing the first motion performance and the second motion performance according to the mixing ratio.

[0097] In order to achieve a natural transition from a single-shot shooting animation to a continuous shooting animation, the first shooting animation and the second shooting animation may be mixed according to a certain ratio. The step of "mixing the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation" may include:

[0098] Adjusting the first motion expression of the first shooting animation according to the first expression weight to obtain a first shooting animation to be mixed, wherein the first shooting animation to be mixed includes the third motion expression;

[0099] Adjusting the second motion expression of the second shooting animation according to the second expression weight to obtain a second shooting animation to be mixed, wherein the second shooting animation to be mixed includes a fourth motion expression;

[0100] The first shooting animation to be mixed and the second shooting animation to be mixed are mixed to obtain a mixed shooting animation, wherein the target motion expression of the mixed shooting animation is composed of the third motion expression and the fourth motion expression.

[0101] In a specific embodiment, the first motion performance includes a first position offset of the virtual prop, and the first position offset is a displacement value of the virtual prop moving from an initial position to a first specified direction. The step of "adjusting the first motion performance of the first shooting animation according to the first performance weight to obtain a first shooting animation to be mixed" may include:

[0102] Adjusting the first position offset according to the first performance weight to obtain a second position offset;

[0103] A first shooting animation to be mixed is generated based on the second position offset and the first shooting animation.

[0104] In a specific embodiment, the second motion performance includes a third position offset of the virtual prop, and the third position offset is a displacement value of the virtual prop moving from an initial position to a second specified direction; the step of “adjusting the second motion performance of the second shooting animation according to the second performance weight to obtain a second shooting animation to be mixed”, the method may include:

[0105] Adjusting the third position offset according to the second performance weight to obtain a fourth position offset;

[0106] A second shooting animation to be mixed is generated based on the fourth position offset and the second shooting animation.

[0107] For details, please refer to Figure 5 and Figure 6 , Figure 5 A schematic diagram of the correspondence between the number of shots and the detection time provided for an embodiment of the present application. In the schematic diagram of the correspondence between the number of consecutive shots and the performance weight of the first shooting animation, the X value on the X-axis represents the number of consecutive shots, and the Y value on the Y-axis represents the performance weight of the first shooting animation. For example, the first movement of the first shooting animation is represented by pushing the virtual prop 20 cm to the left within 1 second, and the second movement of the second shooting animation is represented by pushing the virtual prop forward 20 cm within 1 second. If the number of consecutive shots X is 6 at this time, the performance weight Y of the first shooting animation is 0.6, and the second performance weight of the second shooting animation is 0.4. Further, the first movement performance of the first shooting animation is adjusted according to the first performance weight, and 60% of the first movement performance is obtained to obtain the third movement performance. The third movement performance of the first shooting animation is to push the virtual prop to the left by 12 cm within 1 second, so as to obtain the first shooting animation to be mixed based on the third movement performance; the second movement performance of the second shooting animation is adjusted according to the second performance weight, and 40% of the second movement performance is obtained to obtain the fourth movement performance. The fourth movement performance of the second shooting animation is to push the virtual prop to the left by 8 cm within 1 second, so as to obtain the second shooting animation to be mixed based on the fourth movement performance. Finally, the first shooting animation to be mixed and the second shooting animation to be mixed are mixed to obtain a mixed shooting animation. The target movement performance of the mixed animation is that the virtual prop moves to the left and forward at the same time within 1 second, and the displacements are 12 cm and 8 cm respectively.

[0108] 105 , based on the hybrid shooting animation, the virtual prop is controlled to move in the virtual scene according to the target movement performance.

[0109] In order to improve the restoration degree of the continuous shooting performance in reality, after the step of "controlling the virtual prop to move in the virtual scene according to the target movement performance based on the mixed shooting animation", the method may include:

[0110] When a new number of shots is detected, the updated current number of shots is obtained;

[0111] If the updated current shooting number is greater than the preset shooting number, the virtual prop is controlled to move in the virtual scene according to the first movement performance based on the first shooting animation.

[0112] In a specific embodiment, after the step of “mixing the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation”, the method may include:

[0113] Obtaining the amplitude adjustment parameter corresponding to the current number of shootings, wherein the amplitude adjustment parameter is used to adjust the offset of the virtual prop in all directions within a unit time;

[0114] Adjusting the moving distances of the mixed shooting animation in all directions within a unit time based on the amplitude adjustment parameter to obtain a processed mixed shooting animation, wherein the processed mixed shooting animation includes a processed target motion performance;

[0115] Based on the processed mixed shooting animation, the virtual props are controlled to move in the virtual scene according to the processed target motion performance.

[0116] Further, after the step of “controlling the virtual prop to move in the virtual scene according to the processed target motion performance based on the processed mixed shooting animation”, the method may include:

[0117] If the current shooting number is greater than or equal to the preset shooting number, when an additional shooting number is detected, the virtual prop is controlled to move in the virtual scene according to the processed target motion performance based on the processed mixed shooting animation;

[0118] If the current number of shootings is less than the preset number of shootings, then when a new number of shootings is detected, the updated current number of shootings is obtained, and based on the amplitude adjustment parameter corresponding to the updated current number of shootings, the moving distance of the mixed shooting animation in all directions per unit time is adjusted to obtain a processed mixed shooting animation, wherein the processed mixed shooting animation includes a processed target motion performance; based on the processed mixed shooting animation, the virtual prop is controlled to move in the virtual scene according to the processed target motion performance.

[0119] For details, please refer to Figure 7 , Figure 7 A schematic diagram of the corresponding relationship between the number of shots and the overall amplitude of the animation provided in the embodiment of the present application. In the schematic diagram of the corresponding relationship between the number of shots and the overall amplitude of the animation, the X value on the X-axis represents the number of consecutive shots, and the Y value on the Y-axis represents the amplitude adjustment parameter of the mixed shooting animation.

[0120] For example, after the first shooting animation and the second shooting animation are mixed according to the mixing ratio to obtain the mixed shooting animation, the target motion of the mixed animation is that the mixed animation as a whole moves to the left and forward at the same time within 1 second, and the displacements are 12 cm and 8 cm respectively. At this time, the number of continuous shooting is 25 times. It can be determined through the corresponding relationship between the number of shooting and the overall amplitude of the animation that when the number of continuous shooting reaches 25 times, the amplitude adjustment parameter can be determined to be 0.5, that is, the movement distance of the mixed shooting animation in all directions per unit time is reduced by 50%; based on the amplitude adjustment parameter 0.5, the moving distance of the mixed shooting animation in all directions per unit time is adjusted to obtain the processed mixed shooting animation, that is, the target motion of the processed mixed animation is that the mixed animation as a whole moves to the left and forward at the same time within 1 second, and the displacements are 6 cm and 4 cm respectively.

[0121] In order to improve the restoration degree of continuous shooting performance in reality, after the step of "mixing the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation", the method may include:

[0122] Acquire a displacement parameter corresponding to the current shooting number, wherein the displacement parameter is used to indicate the displacement of the virtual prop in a direction opposite to the aiming direction of the virtual prop;

[0123] The position of the virtual prop of the mixed shooting animation is adjusted based on the displacement adjustment parameter to obtain an adjusted mixed shooting animation.

[0124] Further, after the step of “controlling the virtual prop to move in the virtual scene according to the adjusted target motion performance based on the adjusted mixed shooting animation”, the method may include:

[0125] When a new number of shots is detected, the updated current number of shots is obtained;

[0126] If the updated current shooting number is greater than the preset shooting number, maintaining the adjusted mixed shooting animation;

[0127] If the updated current shooting number is less than the preset shooting number, the position of the virtual prop of the mixed shooting animation is adjusted based on the displacement adjustment parameter of the updated current shooting number to obtain the adjusted mixed shooting animation.

[0128] For details, please refer to Figure 8 , Figure 8A schematic diagram of the corresponding relationship between the number of shots and the displacement of a virtual prop provided in an embodiment of the present application. In the schematic diagram of the corresponding relationship between the number of shots and the displacement of a virtual prop, the X value on the X-axis represents the number of consecutive shots, and the Y value on the Y-axis represents the displacement parameter of the virtual prop.

[0129] To sum up, the embodiment of the present application provides an animation display method, which mixes the first shooting animation and the second shooting animation according to a mixing ratio to achieve a natural transition from a single shooting animation to a continuous shooting animation. The amplitude of the mixed shooting animation, the offset value of the virtual props and other factors can also be adjusted according to the current number of shootings, so that the player can obtain a real shooting scene in the process of continuous shooting with virtual props, thereby improving the restoration of the continuous shooting performance in reality.

[0130] In order to better implement the animation display method provided in the embodiment of the present application, the embodiment of the present application also provides an animation display device based on the above animation display method. The meanings of the terms are the same as those in the above animation display method, and the specific implementation details can refer to the description in the method embodiment.

[0131] See also Fig. 9 , Fig. 9 A structural block diagram of an animation display device provided in an embodiment of the present application, the device comprising:

[0132] A response unit 201, used to respond to the shooting operation of the virtual prop;

[0133] The first determining unit 202 is used to determine the current shooting times of the virtual prop when it is detected that the virtual prop is in a continuous shooting state, and obtain a first shooting animation and a second shooting animation, wherein the first shooting animation is a first movement performance of the virtual prop in a multiple shooting state, and the second shooting animation is a second movement performance of the virtual prop in a single shooting state;

[0134] A second determining unit 203, configured to determine a mixing ratio of the first shooting animation and the second shooting animation based on the current number of shootings;

[0135] The first processing unit 204 is configured to mix the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target motion performance, and the target motion performance is a motion performance obtained by mixing the first motion performance and the second motion performance according to the mixing ratio;

[0136] The control unit 205 is used to control the virtual prop to move in the virtual scene according to the target movement performance based on the mixed shooting animation.

[0137] In some embodiments, the animation display device further includes a third determining unit, and the third determining unit is used to:

[0138] determining a first performance weight of the first shooting animation based on the current number of shootings, wherein the first performance weight is used to adjust the first motion performance;

[0139] A second performance weight of the second shooting animation is determined according to a preset constant and the first performance weight, wherein the second performance weight is used to adjust the second motion performance.

[0140] In some embodiments, the animation display device further comprises:

[0141] a first adjusting unit, configured to adjust the first motion expression of the first shooting animation according to the first expression weight to obtain a first shooting animation to be mixed, wherein the first shooting animation to be mixed includes a third motion expression;

[0142] a second adjusting unit, configured to adjust the second motion expression of the second shooting animation according to the second expression weight to obtain a second shooting animation to be mixed, wherein the second shooting animation to be mixed includes a fourth motion expression;

[0143] The second processing unit is used for mixing the first shooting animation to be mixed and the second shooting animation to be mixed to obtain a mixed shooting animation, wherein the target motion performance of the mixed shooting animation is composed of the third motion performance and the fourth motion performance.

[0144] In some embodiments, the animation display device further comprises:

[0145] a third adjustment unit, configured to adjust the first position offset according to the first representation weight to obtain a second position offset;

[0146] The first generating unit is configured to generate a first shooting animation to be mixed based on the second position offset and the first shooting animation.

[0147] In some embodiments, the animation display device further comprises:

[0148] a fourth adjustment unit, configured to adjust the third position offset according to the second representation weight to obtain a fourth position offset;

[0149] The second generating unit is configured to generate a second shooting animation to be mixed based on the fourth position offset and the second shooting animation.

[0150] In some embodiments, the animation display device further comprises:

[0151] A first acquisition unit, configured to acquire an updated current number of shots when a new number of shots is detected;

[0152] The first sub-control unit is used to control the virtual prop to move according to the first movement performance in the virtual scene based on the first shooting animation if the updated current shooting number is greater than the preset shooting number.

[0153] In some embodiments, the animation display device further comprises:

[0154] A second acquisition unit is used to acquire an amplitude adjustment parameter corresponding to the current shooting number, wherein the amplitude adjustment parameter is used to adjust the moving distance of the mixed shooting animation in all directions within a unit time;

[0155] a fifth adjustment unit, configured to adjust the moving distance of the mixed shooting animation in all directions within a unit time based on the amplitude adjustment parameter to obtain a processed mixed shooting animation, wherein the processed mixed shooting animation includes a processed target motion performance;

[0156] The second sub-control unit is used to control the virtual prop to move in the virtual scene according to the processed target movement performance based on the processed mixed shooting animation.

[0157] In some embodiments, the animation display device further comprises:

[0158] A third sub-control unit is configured to control the virtual prop to move in the virtual scene according to the processed target motion performance based on the processed mixed shooting animation when an additional shooting number is detected if the current shooting number is greater than or equal to the preset shooting number;

[0159] a fourth sub-control unit, for obtaining an updated current shooting number when a new shooting number is detected if the current shooting number is less than the preset shooting number, and adjusting the moving distance of the mixed shooting animation in all directions per unit time based on the amplitude adjustment parameter corresponding to the updated current shooting number to obtain a processed mixed shooting animation, wherein the processed mixed shooting animation includes a processed target motion performance; and controlling the virtual prop to move in the virtual scene according to the processed target motion performance based on the processed mixed shooting animation.

[0160] In some embodiments, the animation display device further comprises:

[0161] A third acquisition unit is used to acquire a displacement parameter corresponding to the current shooting number, wherein the displacement parameter is used to indicate the displacement of the virtual prop in a direction opposite to the aiming direction of the virtual prop;

[0162] The sixth adjustment unit is used to adjust the position of the virtual prop of the mixed shooting animation based on the displacement adjustment parameter to obtain an adjusted mixed shooting animation.

[0163] In some embodiments, the animation display device further comprises:

[0164] A fourth acquisition unit, configured to acquire an updated current number of shots when a new number of shots is detected;

[0165] a fifth sub-control unit, configured to maintain the adjusted mixed shooting animation to control the movement of the virtual prop in the virtual scene according to the target movement performance if the updated current shooting number is greater than the preset shooting number;

[0166] The seventh adjustment unit is used to adjust the position of the virtual prop of the mixed shooting animation based on the displacement adjustment parameter of the updated current shooting number if the updated current shooting number is less than the preset shooting number, so as to obtain the adjusted mixed shooting animation.

[0167] In some embodiments, the animation display device further comprises:

[0168] A judging unit, configured to, when detecting that the virtual prop is in a single shooting state, judge whether the virtual prop has shot again within a preset time period corresponding to the single shooting state;

[0169] The fourth determination unit is used to determine that if so, the virtual prop is in a continuous shooting state, update the current shooting number of the virtual prop, obtain a preset time period corresponding to the updated current shooting number of the virtual prop, and determine whether the virtual prop shoots again within the preset time period corresponding to the updated current shooting number of the virtual prop.

[0170] The embodiment of the present application discloses an animation display device, which responds to the shooting operation of a virtual prop through a response unit 201; when it is detected that the virtual prop is in a continuous shooting state, the first determination unit 202 determines the current shooting number of the virtual prop, and obtains a first shooting animation and a second shooting animation, wherein the first shooting animation is the first movement performance of the virtual prop when the multiple shooting state is in progress, and the second shooting animation is the second movement performance of the virtual prop when the single shooting state is in progress; the second determination unit 203 determines the mixing ratio of the first shooting animation and the second shooting animation based on the current shooting number; the first processing unit 204 mixes the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target movement performance, and the target movement performance is: the movement performance obtained by mixing the first movement performance and the second movement performance according to the mixing ratio; the control unit 205 controls the virtual prop to move according to the target movement performance in the virtual scene based on the mixed shooting animation. The embodiment of the present application mixes the first shooting animation and the second shooting animation according to a mixing ratio to achieve a natural transition from a single-shot shooting animation to a continuous shooting animation, so that the player can obtain a real shooting scene in the process of continuous shooting using virtual props, thereby improving the degree of restoration of continuous shooting performance in reality.

[0171] Accordingly, the embodiment of the present application also provides a computer device, which may be a terminal or a server, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA), or other terminal devices. Fig.10 As shown, Fig.10 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art will appreciate that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or arrange components differently.

[0172] The processor 301 is the control center of the computer device 300. It uses various interfaces and lines to connect the various parts of the entire computer device 300, executes various functions of the computer device 300 and processes data by running or loading software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, thereby monitoring the computer device 300 as a whole.

[0173] In the embodiment of the present application, the processor 301 in the computer device 300 will load instructions corresponding to the processes of one or more application programs into the memory 302 according to the following steps, and the processor 301 will run the application programs stored in the memory 302 to implement various functions:

[0174] Responding to a shooting operation of a virtual prop;

[0175] When it is detected that the virtual prop is in a continuous shooting state, determining the current shooting times of the virtual prop, and acquiring a first shooting animation and a second shooting animation, wherein the first shooting animation is a first movement performance of the virtual prop in a multiple shooting state, and the second shooting animation is a second movement performance of the virtual prop in a single shooting state;

[0176] Determining a mixing ratio of the first shooting animation and the second shooting animation based on the current number of shootings;

[0177] The first shooting animation and the second shooting animation are mixed according to the mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target motion performance, and the target motion performance is a motion performance obtained by mixing the first motion performance and the second motion performance according to the mixing ratio;

[0178] Based on the mixed shooting animation, the virtual prop is controlled to move in the virtual scene according to the target movement performance.

[0179] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0180] Optional, such as Fig.10 As shown, the computer device 300 further includes: a touch screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. Those skilled in the art can understand that Fig.10 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0181] The touch display screen 303 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 303 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the computer device, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-EmittingDiode) and the like. The touch panel can be used to collect the user's touch operation on or near it (such as the user uses 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 301, and can receive the command sent by the processor 301 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 301 to determine the type of touch event, and then the processor 301 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 303 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 303 can also be used as a part of the input unit 306 to realize the input function.

[0182] In the embodiment of the present application, the processor 301 executes the game application to generate a graphical user interface on the touch screen 303. The touch screen 303 is used to present the graphical user interface and receive operation instructions generated by the user acting on the graphical user interface.

[0183] The radio frequency circuit 304 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other computer devices through wireless communication, and to send and receive signals between the network device or other computer devices.

[0184] The audio circuit 305 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 305 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 305 and converted into audio data, and then the audio data is output to the processor 301 for processing, and then sent to another computer device through the radio frequency circuit 304, or the audio data is output to the memory 302 for further processing. The audio circuit 305 may also include an earphone jack to provide communication between an external headset and the computer device.

[0185] The input unit 306 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.

[0186] The power supply 307 is used to supply power to various components of the computer device 300. Optionally, the power supply 307 can be logically connected to the processor 301 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 307 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.

[0187] although Fig.10 Not shown, the computer device 300 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0188] 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.

[0189] As can be seen from the above, the computer device provided in this embodiment responds to the shooting operation of the virtual prop; when it is detected that the virtual prop is in a continuous shooting state, the current shooting number of the virtual prop is determined, and the first shooting animation and the second shooting animation are obtained, wherein the first shooting animation is the first movement performance of the virtual prop when the multiple shooting state is in progress, and the second shooting animation is the second movement performance of the virtual prop when the single shooting state is in progress; the mixing ratio of the first shooting animation and the second shooting animation is determined based on the current shooting number; the first shooting animation and the second shooting animation are mixed according to the mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target movement performance, and the target movement performance is: the first movement performance and the second movement performance are mixed according to the mixing ratio to obtain the movement performance; based on the mixed shooting animation, the virtual prop is controlled to move according to the target movement performance in the virtual scene. The embodiment of the present application mixes the first shooting animation and the second shooting animation according to the mixing ratio to achieve a natural transition from a single shooting animation to a continuous shooting animation, so that the player can obtain a real shooting scene in the process of continuous shooting with virtual props, and improve the restoration of the continuous shooting performance in reality.

[0190] 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.

[0191] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any animation display method provided in the embodiment of the present application. For example, the computer program can execute the following steps:

[0192] Responding to a shooting operation of a virtual prop;

[0193] When it is detected that the virtual prop is in a continuous shooting state, determining the current shooting times of the virtual prop, and acquiring a first shooting animation and a second shooting animation, wherein the first shooting animation is a first movement performance of the virtual prop in a multiple shooting state, and the second shooting animation is a second movement performance of the virtual prop in a single shooting state;

[0194] Determining a mixing ratio of the first shooting animation and the second shooting animation based on the current number of shootings;

[0195] The first shooting animation and the second shooting animation are mixed according to the mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target motion performance, and the target motion performance is a motion performance obtained by mixing the first motion performance and the second motion performance according to the mixing ratio;

[0196] Based on the mixed shooting animation, the virtual prop is controlled to move in the virtual scene according to the target movement performance.

[0197] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0198] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0199] Since the computer program stored in the storage medium can execute the steps in any animation display method provided in the embodiments of the present application, the beneficial effects that can be achieved by any animation display method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0200] 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.

[0201] The above is a detailed introduction to an animation display method, device, computer equipment and storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solution and its core idea of ​​the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present application.

Claims

1. An animation display method, It is characterized in that include: Responding to a shooting operation of a virtual prop; When it is detected that the virtual prop is in a continuous shooting state, determining the current shooting times of the virtual prop, and acquiring a first shooting animation and a second shooting animation, wherein the first shooting animation is a first movement performance of the virtual prop in a multiple shooting state, and the second shooting animation is a second movement performance of the virtual prop in a single shooting state; Determining a mixing ratio of the first shooting animation and the second shooting animation based on the current number of shootings; The first shooting animation and the second shooting animation are mixed according to the mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target motion performance, and the target motion performance is a motion performance obtained by mixing the first motion performance and the second motion performance according to the mixing ratio; Controlling the virtual prop to move in the virtual scene according to the target movement performance based on the mixed shooting animation; The determining the mixing ratio of the first shooting animation and the second shooting animation based on the current shooting number includes: determining a first performance weight of the first shooting animation based on the current number of shootings, wherein the first performance weight is used to adjust the first motion performance; A second performance weight of the second shooting animation is determined according to a preset constant and the first performance weight, wherein the second performance weight is used to adjust the second motion performance.

2. The method according to claim 1, It is characterized in that The mixing of the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation includes: Adjusting the first motion expression of the first shooting animation according to the first expression weight to obtain a first shooting animation to be mixed, wherein the first shooting animation to be mixed includes a third motion expression; adjusting the second motion expression of the second shooting animation according to the second expression weight to obtain a second shooting animation to be mixed, wherein the second shooting animation to be mixed includes a fourth motion expression; The first shooting animation to be mixed and the second shooting animation to be mixed are mixed to obtain a mixed shooting animation, wherein the target motion performance of the mixed shooting animation is composed of the third motion performance and the fourth motion performance.

3. The method according to claim 1, It is characterized in that The first movement expression includes a first position offset of the virtual prop, where the first position offset is a displacement value of the virtual prop moving from an initial position to a first specified direction; The step of adjusting the first motion expression of the first shooting animation according to the first expression weight to obtain a first shooting animation to be mixed includes: Adjusting the first position offset according to the first performance weight to obtain a second position offset; A first shooting animation to be mixed is generated based on the second position offset and the first shooting animation.

4. The method according to claim 1, It is characterized in that The second movement expression includes a third position offset of the virtual prop, and the third position offset is a displacement value of the virtual prop moving from an initial position to a second specified direction; The step of adjusting the second motion expression of the second shooting animation according to the second expression weight to obtain a second shooting animation to be mixed includes: Adjusting the third position offset according to the second representation weight to obtain a fourth position offset; A second shooting animation to be mixed is generated based on the fourth position offset and the second shooting animation.

5. The method according to claim 1, It is characterized in that After controlling the virtual prop to move in the virtual scene according to the target movement performance based on the mixed shooting animation, the method further includes: When a new number of shots is detected, the updated current number of shots is obtained; If the updated current shooting number is greater than the preset shooting number, the virtual prop is controlled to move in the virtual scene according to the first movement performance based on the first shooting animation.

6. The method according to claim 1, It is characterized in that After mixing the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation, the method further includes: Acquire an amplitude adjustment parameter corresponding to the current number of shootings, wherein the amplitude adjustment parameter is used to adjust the moving distance of the mixed shooting animation in all directions within a unit time; Adjusting the moving distance of the mixed shooting animation in all directions within a unit time based on the amplitude adjustment parameter to obtain a processed mixed shooting animation, wherein the processed mixed shooting animation includes a processed target motion performance; Based on the processed mixed shooting animation, the virtual prop is controlled to move in the virtual scene according to the processed target movement performance.

7. The method according to claim 6, It is characterized in that After controlling the virtual prop to move in the virtual scene according to the processed target motion performance based on the processed mixed shooting animation, the method further includes: If the current shooting number is greater than or equal to the preset shooting number, when an additional shooting number is detected, the virtual prop is controlled to move in the virtual scene according to the processed target motion performance based on the processed mixed shooting animation; If the current number of shootings is less than the preset number of shootings, then when a new number of shootings is detected, the updated current number of shootings is obtained, and based on the amplitude adjustment parameter corresponding to the updated current number of shootings, the moving distance of the mixed shooting animation in all directions per unit time is adjusted to obtain a processed mixed shooting animation, wherein the processed mixed shooting animation includes a processed target motion performance; based on the processed mixed shooting animation, the virtual prop is controlled to move in the virtual scene according to the processed target motion performance.

8. The method according to claim 1, It is characterized in that After mixing the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation, the method further includes: Acquire a displacement parameter corresponding to the current shooting number, wherein the displacement parameter is used to indicate the displacement of the virtual prop in a direction opposite to the aiming direction of the virtual prop; The position of the virtual prop of the mixed shooting animation is adjusted based on the displacement parameter to obtain an adjusted mixed shooting animation.

9. The method according to claim 8, It is characterized in that After controlling the virtual prop to move in the virtual scene according to the adjusted target motion performance based on the adjusted mixed shooting animation, the method further includes: When a new number of shots is detected, the updated current number of shots is obtained; If the updated current shooting number is greater than the preset shooting number, maintaining the adjusted mixed shooting animation; If the updated current shooting number is less than the preset shooting number, the position of the virtual prop of the mixed shooting animation is adjusted based on the displacement adjustment parameter of the updated current shooting number to obtain the adjusted mixed shooting animation.

10. The method according to any one of claims 1 to 9, It is characterized in that Before detecting that the virtual prop is in a continuous shooting state, the method further includes: When it is detected that the virtual prop is in a single shooting state, determining whether the virtual prop shoots again within a preset time period corresponding to the single shooting state; If so, it is determined that the virtual prop is in a continuous shooting state, the current shooting number of the virtual prop is updated, the preset time period corresponding to the updated current shooting number of the virtual prop is obtained, and it is determined whether the virtual prop has shot again within the preset time period corresponding to the updated current shooting number of the virtual prop.

11. An animation display device, It is characterized in that The device comprises: A response unit, used to respond to the shooting operation of the virtual prop; A first determining unit is used to determine the current shooting times of the virtual prop when it is detected that the virtual prop is in a continuous shooting state, and obtain a first shooting animation and a second shooting animation, wherein the first shooting animation is a first movement performance of the virtual prop in a multiple shooting state, and the second shooting animation is a second movement performance of the virtual prop in a single shooting state; a second determining unit, configured to determine a mixing ratio of the first shooting animation and the second shooting animation based on the current number of shootings; a first processing unit, configured to mix the first shooting animation and the second shooting animation according to the mixing ratio to obtain a mixed shooting animation, wherein the mixed shooting animation includes a target motion performance, and the target motion performance is a motion performance obtained by mixing the first motion performance and the second motion performance according to the mixing ratio; A control unit, configured to control the virtual prop to move in a virtual scene according to the target movement performance based on the mixed shooting animation; a third determining unit, configured to determine a first performance weight of the first shooting animation based on the current number of shootings, wherein the first performance weight is used to adjust the first motion performance; The third determining unit is further used to determine a second performance weight of the second shooting animation according to a preset constant and the first performance weight, wherein the second performance weight is used to adjust the second motion performance.

12. A computer device, It is characterized in that The method comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the animation display method as claimed in any one of claims 1 to 10 when executed by the processor.

13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the animation display method according to any one of claims 1 to 10 are implemented.