Game animation editing method, device, equipment and computer-readable storage medium
By obtaining and processing the configuration parameters of the game animation editing interface, the game animation editing process is simplified, the problems of complicated animation editing and high time cost in the existing technology are solved, and more efficient animation editing is realized.
Patent Information
- Application Number
- CN202110181386.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-08
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-02-08
AI Technical Summary
The existing game animation editing methods are complicated and time-consuming, resulting in more inconvenience and cost in the game development and maintenance process.
By obtaining the gesture collection of the target game, outputting the animation editing interface, obtaining the configuration parameters according to the target gesture in the gesture collection, dividing the animation editing area, receiving and processing the editing instructions generated by the configuration parameters, and generating the edited game animation, which simplifies Animation editing process.
It reduces the learning cost and time cost of game animation editing, improves editing efficiency, and simplifies the animation editing process.
Smart Images

Figure CN112785697B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a game animation editing method, device, equipment and a computer-readable storage medium. Background Art
[0002] With the popularization of the Internet, smartphones and personal computers have become indispensable tools in people's lives. People can use smartphones and personal computers for office work, entertainment (for example, playing games) and shopping. The production process of a game often includes drawing, modeling and model adjustment. The existing game model editing methods are not user-friendly, and the animation editing process is relatively complicated. In the process of game development and maintenance, it also generates a lot of time costs. Summary of the invention
[0003] The main purpose of the present invention is to provide a game animation editing method, device, equipment and computer-readable storage medium, aiming to solve the technical problems that the existing game animation editing process is relatively complicated and time-consuming.
[0004] In addition, to achieve the above object, the present invention also provides a game animation editing method, the game animation editing method comprising the following steps:
[0005] Obtaining a gesture set corresponding to the target game, and outputting an animation editing interface of the target game;
[0006] Obtaining configuration parameters according to a target gesture in the gesture set;
[0007] According to the parameter types of the configuration parameters, the animation editing interface is divided into regions to obtain animation editing regions, and the configuration parameters are output in the animation editing regions;
[0008] An editing instruction generated based on the configuration parameters is received, the edited configuration parameters are acquired, and a game animation corresponding to the edited configuration parameters is generated.
[0009] Optionally, the step of obtaining a gesture set corresponding to the target game includes:
[0010] Receive a game animation model corresponding to the target game, and obtain a target hanging point and a target node in the game animation model;
[0011] Running the game animation model, and based on the running game animation model, obtaining first parameter change information of the target hanging point and second parameter change information of the target node;
[0012] According to the first parameter change information and the second parameter change information, gestures of the game animation model are split to obtain a gesture set corresponding to the target game.
[0013] Optionally, the step of performing gesture splitting on the game animation model according to the first parameter change information and the second parameter change information to obtain a gesture set corresponding to the target game includes:
[0014] Extracting the position change data of the target hanging point in the first parameter change information, and determining the number of cyclic changes of the target hanging point according to the position change data;
[0015] Extracting the number of time intervals in the second parameter change information, and determining all gestures in the game animation model according to the number of cyclic changes and the number of time intervals;
[0016] All the gestures are added to a preset set, and the preset set is used as a gesture set corresponding to the target game.
[0017] Optionally, the step of obtaining configuration parameters according to the target gesture in the gesture set includes:
[0018] The gesture category corresponding to the target gesture, the position parameter of the target hanging point and the time parameter of the target node are obtained, and the gesture category, the position parameter and the time parameter are used as configuration parameters.
[0019] Optionally, the step of dividing the animation editing interface into regions according to parameter types of the configuration parameters to obtain animation editing regions, and outputting the configuration parameters in the animation editing regions comprises:
[0020] Obtaining the number of parameter types of the configuration parameters and the edge area of the animation editing interface;
[0021] The edge area is divided into regions to obtain animation editing regions, and the configuration parameters are output in the animation editing regions, wherein the number of the animation editing regions is less than or equal to the number of the parameter types.
[0022] Optionally, the steps of receiving an editing instruction generated based on the configuration parameters, acquiring the edited configuration parameters, and generating a game animation corresponding to the edited configuration parameters include:
[0023] Receiving an editing instruction generated based on the configuration parameters, and acquiring the edited configuration parameters and the adjustable range corresponding to the configuration parameters;
[0024] Determining whether the edited configuration parameter exceeds the adjustable range;
[0025] If the edited configuration parameter does not exceed the adjustable range, generating a game animation corresponding to the edited configuration parameter;
[0026] If the edited configuration parameter exceeds the adjustable range, a prompt message including the adjustable range is output.
[0027] Optionally, after the steps of receiving the editing instruction generated based on the configuration parameters, acquiring the edited configuration parameters, and generating the game animation corresponding to the edited configuration parameters, the method further comprises:
[0028] Receiving a save instruction generated based on the game animation, and acquiring a target file corresponding to the save instruction;
[0029] The game animation is saved into the target file, and a file name and a saving path based on the input of the saved target file are obtained;
[0030] The file name and the save path are sent to the node corresponding to the game animation to complete the animation editing of the target game.
[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a game animation editing device, the game animation editing device comprising:
[0032] A gesture set acquisition module, used to acquire a gesture set corresponding to the target game and output an animation editing interface of the target game;
[0033] A configuration parameter acquisition module, used to obtain configuration parameters according to a target gesture in the gesture set;
[0034] An editing area division module, used for dividing the animation editing interface into areas according to the parameter types of the configuration parameters, obtaining animation editing areas, and outputting the configuration parameters in the animation editing areas;
[0035] The game animation editing module is used to receive the editing instruction generated based on the configuration parameters, obtain the edited configuration parameters, and generate the game animation corresponding to the edited configuration parameters.
[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a game animation editing device, which includes: a memory, a processor, and a game animation editing program stored in the memory and executable on the processor, and the game animation editing program, when executed by the processor, implements the steps of the game animation editing method as described above.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a game animation editing program is stored, and when the game animation editing program is executed by a processor, the steps of the game animation editing method as described above are implemented.
[0038] A method, device, equipment and computer-readable storage medium for editing game animations are proposed in an embodiment of the present invention. A method for editing game animations proposed in an embodiment of the present invention is applied to a target game. First, a gesture set corresponding to the target game is obtained, and an animation editing interface of the target game is output. Secondly, configuration parameters of the target game are obtained according to the target gestures contained in the gesture set. Then, the animation editing interface is divided into regions according to the parameter types of the configuration parameters to obtain animation editing regions, and the above configuration parameters are output in the animation editing area. Finally, when an editing instruction generated based on the above configuration parameters is received, the edited configuration parameters are obtained, and finally the game animation corresponding to the edited configuration parameters is generated. The present invention simplifies the process of game animation editing and reduces learning costs and time costs by directly editing the configuration parameters of the target game on the animation editing interface of the target game. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of the hardware structure of an implementation of a game animation editing device provided by an embodiment of the present invention;
[0040] Figure 2 This is a flowchart of a first embodiment of a method for editing game animations according to the present invention;
[0041] Figure 3 This is a flowchart of a second embodiment of the game animation editing method of the present invention;
[0042] Figure 4 Schematic diagram of functional modules of an embodiment of a game animation editing device of the present invention.
[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0045] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0046] The game animation editing terminal (also called terminal, device or terminal device) of the embodiment of the present invention can be a device such as a smart phone or a personal computer that can edit game animation.
[0047] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0048] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.
[0049] Those skilled in the art will understand that Figure 1 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.
[0050] like Figure 1 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a game animation editing program.
[0051] exist Figure 1In the terminal shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the game animation editing program stored in the memory 1005. When the game animation editing program is executed by the processor, the operations in the game animation editing method provided in the following embodiment are implemented.
[0052] Based on the above-mentioned device hardware structure, an embodiment of the game animation editing method of the present invention is proposed.
[0053] Reference Figure 2 In a first embodiment of the game animation editing method of the present invention, the game animation editing method comprises:
[0054] Step S10, obtaining a gesture set corresponding to the target game, and outputting an animation editing interface of the target game.
[0055] The game animation editing method in this embodiment is applied to a game animation editing device, wherein the game animation editing device may be a device such as a smart phone or a personal computer that can edit game animations. The game animation editing method in this embodiment can perform animation editing on a target game. The target game hereinafter is illustrated by taking a chess and card game as an example. First, gesture animations for chess and card games that are pre-produced by an artist are obtained. These gesture animations are pre-stored in a gesture set. This gesture set is obtained, and then an animation editing interface for the chess and card game is output. The gesture animations in the gesture set can be edited on this animation editing interface, including adjusting the parameters of the gesture animations.
[0056] Step S20, obtaining configuration parameters according to the target gesture in the gesture set.
[0057] The target gesture in this embodiment is a gesture in the gesture set corresponding to the chess and card game. Taking mahjong chess and card games as an example, it can be understood that in mahjong games there are gestures such as eating cards, touching cards, barring cards, rolling dice, inserting cards, opening cards and playing cards. Specifically, there is at least one playing card gesture. Different configuration parameters are set according to different target gestures. The configuration parameters may include the rotation node of the arm model, the moving position of the arm model, the moving speed and rotation angle of the arm model, etc. According to different target gestures, the configuration parameters corresponding to the target gesture are different in type and value.
[0058] Step S30, dividing the animation editing interface into regions according to the parameter types of the configuration parameters to obtain animation editing regions, and outputting the configuration parameters in the animation editing regions.
[0059] It can be seen that the configuration parameters in this embodiment include numerical adjustment parameters such as the rotation node of the arm model, the moving position of the arm model, the moving speed and rotation angle of the arm model, and also include configuration parameters such as target gesture selection and function execution. The animation editing interface is divided into at least two areas, one of which is used to display animations of various target gestures, hereinafter referred to as the animation display area, and the other area (i.e., the animation editing area in this embodiment) is used to output operation buttons and configuration parameters. Specifically, different types of configuration parameters can be output in the same animation editing area or in different animation editing areas, and at least one configuration parameter is output in each animation editing area.
[0060] Step S40, receiving an editing instruction generated based on the configuration parameters, obtaining the edited configuration parameters, and generating a game animation corresponding to the edited configuration parameters.
[0061] It can be seen that after different types of configuration parameters are output in the animation editing interface, when an editing instruction generated based on the configuration parameters in the animation editing interface is received, the edited configuration parameters are obtained. For example, if the user edits the movement speed of the gesture model to modify the parameters related to the movement speed of the gesture model, the configuration parameters modified by the user are obtained, and the corresponding game animation is generated based on the configuration parameters modified by the user. For example, the user edits the starting point of the card-playing gesture from x:-0.103y:0.437z:-0.089 to x:-0.105y:0.433z:-0.085, then the edited starting point of the card-playing gesture will start from x:-0.105y:0.433z:-0.085, and the game animation corresponding to the card-playing gesture will also change accordingly.
[0062] Specifically, the steps refined in step S10 include:
[0063] Step a1, receiving the game animation model corresponding to the target game, and obtaining the target hanging point and target node in the game animation model.
[0064] Step a2, running the game animation model, and based on the running game animation model, obtaining the first parameter change information of the target hanging point and the second parameter change information of the target node.
[0065] Step a3: performing gesture segmentation on the game animation model according to the first parameter change information and the second parameter change information to obtain a gesture set corresponding to the target game.
[0066] It can be known that the artist responsible for game development will prepare the gesture animation corresponding to the chess and card game in the form of a model in advance according to the needs. Then, after the game animation editing program in this embodiment receives the game animation model corresponding to the chess and card game, it will first obtain the target hanging point and target node corresponding to the game animation model, wherein the target hanging point refers to the joint point of the gesture movement in the game animation model, which is related to the arm model corresponding to the gesture, and can be the joint point of the arm model. An arm model contains at least three joint points. If it contains finger joint points, the target hanging point will be greater than three. The target node in this embodiment can be the time node when the game animation model is running. After obtaining the target hanging point and target node, the game animation model is run. During the running of the game animation model, the coordinate value change information of the target hanging point is obtained, that is, the first parameter change information in this embodiment. Similarly, the time value change information of the target node is obtained, that is, the second parameter change information in this embodiment. After obtaining the first parameter change information and the second parameter change information, the game animation model is gesture-split according to the first parameter change information and the second parameter change information, and the game animation model is split into multiple gestures. Then, these split gestures are added to the set, and the gesture set corresponding to the target game is obtained.
[0067] Specifically, the steps of step a3 include:
[0068] Step b1, extracting the position change data of the target hanging point in the first parameter change information, and determining the number of cyclic changes of the target hanging point based on the position change data.
[0069] Step b2, extracting the number of time intervals in the second parameter change information, and determining all gestures in the game animation model according to the number of cyclic changes and the number of time intervals.
[0070] Step b3: adding all the gestures to a preset set, and using the preset set as a gesture set corresponding to the target game.
[0071] It can be seen that each target gesture in the gesture set has similar change characteristics, that is, the coordinate value change data of the target hanging point in the game animation model has a certain regularity. During the operation of the game animation model, the coordinate value change of the target hanging point will produce cyclic changes. If the coordinate value of the target hanging point change is plotted on the coordinate axis, there will be multiple "circles", and each "circle" can represent a cyclic change number of the target hanging point; the time change value of the target node also has a certain regularity, wherein the game animation model contains at least two target gestures, and there is a certain time gap between the two target gestures, so that when one target gesture ends, another target gesture is executed, and the number of time intervals in the second parameter change information is determined according to the time value change information of the target node, and all gestures contained in the game animation model are determined according to the number of cycles of the target hanging point and the number of time intervals of the target node, and finally these gestures are added to the preset set to obtain the gesture set corresponding to the target game, completing the splitting of the game animation model.
[0072] Specifically, the steps of step S20 include:
[0073] Step c1, obtaining the gesture category corresponding to the target gesture, the position parameter of the target hanging point and the time parameter of the target node, and using the gesture category, the position parameter and the time parameter as configuration parameters.
[0074] It can be known that the target gestures may include eating cards, touching cards, barring cards, rolling dice, inserting cards, opening cards and playing cards, etc. Among them, these target gestures, the position parameters of the target node in the game animation model, or the coordinate value parameters of the target node, and the time parameters in the second parameter change information will all be used as configuration parameters and displayed in the animation editing interface.
[0075] Specifically, the steps of step S30 include:
[0076] Step d1, obtaining the number of parameter types of the configuration parameters and the edge area of the animation editing interface.
[0077] Step d2, dividing the edge area into regions to obtain animation editing regions, and outputting the configuration parameters in the animation editing regions, wherein the number of the animation editing regions is less than or equal to the number of the parameter types.
[0078] It can be seen that after obtaining the parameter types of the configuration parameters, the number of parameter types is counted, and then the edge area of the animation editing interface is obtained, that is, other areas except the area for displaying the animation of various target gestures in the above embodiment, the obtained edge area is divided to obtain the animation editing area, and the configuration parameters of the target game are output in the animation editing area. Specifically, when dividing the edge area, the following principle is followed, that is, the number of divided small areas must be less than or equal to the number of parameter types. When the number of divided small areas is equal to the number of parameter types, one parameter is output in a small area. When the number of divided small areas is less than the number of parameter types, multiple parameters will be output in the same small area. The reason why the number of divided small areas is not greater than the number of parameter types is that the purpose of dividing the small areas is to output the configuration parameters in the divided small areas. If the number of divided small areas is greater than the number of parameter types, even if one parameter is output in a small area, there will still be blank areas.
[0079] A game animation editing method proposed in this embodiment is applied to a target game. First, a gesture set corresponding to the target game is obtained, and an animation editing interface of the target game is output. Secondly, configuration parameters of the target game are obtained according to the target gestures included in the gesture set. Then, the animation editing interface is divided into areas according to the parameter types of the configuration parameters to obtain animation editing areas, and the above configuration parameters are output in the animation editing area. Finally, when an editing instruction generated based on the above configuration parameters is received, the edited configuration parameters are obtained, and finally a game animation corresponding to the edited configuration parameters is generated. The present invention simplifies the process of game animation editing and reduces learning costs and time costs by directly editing the configuration parameters of the target game on the animation editing interface of the target game.
[0080] Further, refer to Figure 3 Based on the above-mentioned embodiments of the present invention, a second embodiment of the game animation editing method of the present invention is proposed.
[0081] This embodiment is a refinement of step S40 in the first embodiment. The difference between this embodiment and the above-mentioned embodiment of the present invention is that:
[0082] Step S41, receiving an editing instruction generated based on the configuration parameters, and acquiring the edited configuration parameters and the adjustable range corresponding to the configuration parameters.
[0083] Step S42, determining whether the edited configuration parameter exceeds the adjustable range.
[0084] Step S43: If the edited configuration parameters do not exceed the adjustable range, a game animation corresponding to the edited configuration parameters is generated.
[0085] Step S44: if the edited configuration parameter exceeds the adjustable range, outputting a prompt message including the adjustable range.
[0086] It can be seen that the editing instruction in this embodiment refers to the instruction generated when the user or the game animation editing program modifies the configuration parameters, and its function is to change the configuration parameters, that is, to edit the configuration parameters. When the editing instruction generated based on the configuration parameters is received, the edited configuration parameters and the adjustable range corresponding to the configuration parameters are obtained, and then it is determined whether the edited configuration parameters exceed the adjustable range corresponding to the configuration parameters. If the edited configuration parameters do not exceed the adjustable range, the game animation corresponding to the edited configuration parameters is generated. If the edited configuration parameters exceed the adjustable range, a prompt message containing the adjustable range is output. The adjustable range of the configuration parameters is determined according to the size of the animation editing interface or product requirements.
[0087] Specifically, the steps after step S40 include:
[0088] Step e1, receiving a save instruction generated based on the game animation, and obtaining a target file corresponding to the save instruction.
[0089] Step e2, saving the game animation into the target file, and obtaining a file name and a saving path based on the input of the saved target file.
[0090] Step e3, sending the file name and the saving path to the node corresponding to the game animation to complete the animation editing of the target game.
[0091] It can be seen that after the configuration parameters are edited, the game animation corresponding to the edited configuration parameters can also be saved. Specifically, a save instruction generated based on the game animation corresponding to the edited configuration parameters is received, and the target file corresponding to the save instruction is obtained. Then, the game animation is saved to the target file in a specific format, and the file name and save path input by the user or the game animation editing program based on the saved target file are obtained. Finally, the file name and file save path are sent to the next process point of game development, that is, the node corresponding to the game animation in this embodiment, to complete the animation editing of the target game.
[0092] In this embodiment, by saving the edited game animation into a target file, and sending the file name and save path corresponding to the target file to the next process point, the game production process is simplified and the learning cost and time cost are reduced.
[0093] In addition, refer to Figure 4 The embodiment of the present invention further provides a game animation editing device, the game animation editing device comprising:
[0094] A gesture set acquisition module 10 is used to acquire a gesture set corresponding to the target game and output an animation editing interface of the target game;
[0095] A configuration parameter acquisition module 20, used to obtain configuration parameters according to a target gesture in the gesture set;
[0096] An editing area division module 30, for dividing the animation editing interface into areas according to parameter types of the configuration parameters, obtaining animation editing areas, and outputting the configuration parameters in the animation editing areas;
[0097] The game animation editing module 40 is used to receive an editing instruction generated based on the configuration parameters, obtain the edited configuration parameters, and generate a game animation corresponding to the edited configuration parameters.
[0098] Optionally, the gesture set acquisition module 10 includes:
[0099] A game animation model receiving unit, used to receive the game animation model corresponding to the target game, and obtain the target hanging point and target node in the game animation model;
[0100] A parameter change information acquisition unit, used to run the game animation model, and based on the run game animation model, acquire first parameter change information of the target hanging point and second parameter change information of the target node;
[0101] The gesture splitting unit is used to perform gesture splitting on the game animation model according to the first parameter change information and the second parameter change information to obtain a gesture set corresponding to the target game.
[0102] Optionally, the gesture splitting unit includes:
[0103] a cyclic change number determination unit, configured to extract the position change data of the target hanging point from the first parameter change information, and determine the cyclic change number of the target hanging point according to the position change data;
[0104] A gesture determination unit, configured to extract the number of time intervals in the second parameter change information, and determine all gestures in the game animation model according to the number of cyclic changes and the number of time intervals;
[0105] The gesture adding unit is used to add all the gestures to a preset set, and use the preset set as the gesture set corresponding to the target game.
[0106] Optionally, the configuration parameter acquisition module 20 includes:
[0107] A parameter acquisition unit is used to acquire the gesture category corresponding to the target gesture, the position parameter of the target hanging point and the time parameter of the target node, and use the gesture category, the position parameter and the time parameter as configuration parameters.
[0108] Optionally, the editing area division module 30 includes:
[0109] An edge region acquisition unit, used to acquire the number of parameter types of the configuration parameters and the edge region of the animation editing interface;
[0110] The area division unit is used to divide the edge area into areas to obtain animation editing areas, and output the configuration parameters in the animation editing areas, wherein the number of the animation editing areas is less than or equal to the number of the parameter types.
[0111] Optionally, the game animation editing module 40 includes:
[0112] An adjustable range acquisition unit, configured to receive an edit instruction generated based on the configuration parameter, and acquire the edited configuration parameter and the adjustable range corresponding to the configuration parameter;
[0113] A judging unit, used to judge whether the edited configuration parameter exceeds the adjustable range;
[0114] A game screen generating unit, configured to generate a game animation corresponding to the edited configuration parameter if the edited configuration parameter does not exceed the adjustable range;
[0115] The prompt information output unit is used to output prompt information including the adjustable range if the edited configuration parameter exceeds the adjustable range.
[0116] Optionally, the game animation editing device further includes:
[0117] A target file acquisition module, used to receive a save instruction generated based on the game animation, and acquire a target file corresponding to the save instruction;
[0118] A saving module, used for saving the game animation to the target file, and obtaining a file name and a saving path based on the input of the saved target file;
[0119] The file sending module is used to send the file name and the saving path to the node corresponding to the game animation to complete the animation editing of the target game.
[0120] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a game animation editing program is stored. When the game animation editing program is executed by a processor, the operations in the game animation editing method provided in the above embodiment are implemented.
[0121] The methods executed by the above-mentioned program modules can refer to the various embodiments of the method of the present invention, and will not be described in detail here.
[0122] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any such actual relationship or order between these entities / operations / objects; the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0123] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment. The device embodiment described above is only illustrative, and the units described as separate components may or may not be physically separated. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the present invention. Those of ordinary skill in the art can understand and implement it without paying creative work.
[0124] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0125] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, including a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the game animation editing method described in each embodiment of the present invention.
[0126] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A game animation editing method, characterized in that: The game animation editing method is applied to a target game, and the game animation editing method comprises the following steps: Obtaining a gesture set corresponding to the target game, and outputting an animation editing interface of the target game; The step of obtaining the gesture set corresponding to the target game includes: Receive a game animation model corresponding to the target game, and obtain a target hanging point and a target node in the game animation model; Running the game animation model, and based on the running game animation model, obtaining first parameter change information of the target hanging point and second parameter change information of the target node; According to the first parameter change information and the second parameter change information, performing gesture splitting on the game animation model to obtain a gesture set corresponding to the target game; The step of performing gesture segmentation on the game animation model according to the first parameter change information and the second parameter change information to obtain a gesture set corresponding to the target game includes: Extracting the position change data of the target hanging point in the first parameter change information, and determining the number of cyclic changes of the target hanging point according to the position change data; Extracting the number of time intervals in the second parameter change information, and determining all gestures in the game animation model according to the number of cyclic changes and the number of time intervals; Adding all the gestures to a preset set, and using the preset set as a gesture set corresponding to the target game; Obtaining configuration parameters according to a target gesture in the gesture set; According to the parameter types of the configuration parameters, the animation editing interface is divided into regions to obtain animation editing regions, and the configuration parameters are output in the animation editing regions; An editing instruction generated based on the configuration parameters is received, the edited configuration parameters are acquired, and a game animation corresponding to the edited configuration parameters is generated.
2. The game animation editing method according to claim 1, characterized in that: The step of obtaining configuration parameters according to the target gesture in the gesture set includes: The gesture category corresponding to the target gesture, the position parameter of the target hanging point and the time parameter of the target node are obtained, and the gesture category, the position parameter and the time parameter are used as configuration parameters.
3. The game animation editing method according to claim 2, characterized in that: The step of dividing the animation editing interface into regions according to the parameter types of the configuration parameters to obtain animation editing regions, and outputting the configuration parameters in the animation editing regions comprises: Obtaining the number of parameter types of the configuration parameters and the edge area of the animation editing interface; The edge area is divided into regions to obtain animation editing regions, and the configuration parameters are output in the animation editing regions, wherein the number of the animation editing regions is less than or equal to the number of the parameter types.
4. The game animation editing method according to claim 1, characterized in that: The steps of receiving an editing instruction generated based on the configuration parameters, obtaining the edited configuration parameters, and generating a game animation corresponding to the edited configuration parameters include: Receiving an editing instruction generated based on the configuration parameters, and acquiring the edited configuration parameters and the adjustable range corresponding to the configuration parameters; Determining whether the edited configuration parameter exceeds the adjustable range; If the edited configuration parameter does not exceed the adjustable range, generating a game animation corresponding to the edited configuration parameter; If the edited configuration parameter exceeds the adjustable range, a prompt message including the adjustable range is output.
5. The game animation editing method according to claim 1, characterized in that: After the steps of receiving the editing instruction generated based on the configuration parameters, acquiring the edited configuration parameters, and generating the game animation corresponding to the edited configuration parameters, the method further comprises: Receiving a save instruction generated based on the game animation, and acquiring a target file corresponding to the save instruction; The game animation is saved into the target file, and a file name and a saving path based on the input of the saved target file are obtained; The file name and the save path are sent to the node corresponding to the game animation to complete the animation editing of the target game.
6. A game animation editing device, characterized in that: The game animation editing device comprises: A gesture set acquisition module, used to acquire a gesture set corresponding to a target game and output an animation editing interface of the target game; The gesture set acquisition module is further used to: receive a game animation model corresponding to the target game, and acquire a target hanging point and a target node in the game animation model; Running the game animation model, and based on the running game animation model, obtaining first parameter change information of the target hanging point and second parameter change information of the target node; According to the first parameter change information and the second parameter change information, performing gesture splitting on the game animation model to obtain a gesture set corresponding to the target game; Extracting the position change data of the target hanging point in the first parameter change information, and determining the number of cyclic changes of the target hanging point according to the position change data; Extracting the number of time intervals in the second parameter change information, and determining all gestures in the game animation model according to the number of cyclic changes and the number of time intervals; Adding all the gestures to a preset set, and using the preset set as a gesture set corresponding to the target game; A configuration parameter acquisition module, used to obtain configuration parameters according to a target gesture in the gesture set; An editing area division module, used for dividing the animation editing interface into areas according to the parameter types of the configuration parameters, obtaining animation editing areas, and outputting the configuration parameters in the animation editing areas; The game animation editing module is used to receive the editing instruction generated based on the configuration parameters, obtain the edited configuration parameters, and generate the game animation corresponding to the edited configuration parameters.
7. A game animation editing device, characterized in that: The game animation editing device comprises: a memory, a processor, and a game animation editing program stored in the memory and executable on the processor. When the game animation editing program is executed by the processor, the steps of the game animation editing method as described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a game animation editing program, and when the game animation editing program is executed by a processor, the steps of the game animation editing method according to any one of claims 1 to 5 are implemented.
