Game animation editing method and device, program product and electronic equipment
By introducing the editing function of animation scene components and component tracks in the game, combined with game scene editing, the problems of low game animation output and complex editing are solved, efficient animation production and real-time generation are achieved, and user experience and storage efficiency are improved. .
Patent Information
- Application Number
- CN202410962266.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-15
AI Technical Summary
The output of existing game animations is low, mainly produced by game developers, and cannot cover all gameplay and maps. The animation editor has high learning costs and complex operations, which affects user experience and storage resources.
Provides a game animation editing method and device, displays game editing scenes through a graphical user interface, generates animation scene components and component tracks in response to editing instructions, allows users to edit animation attribute data, combines game scene editing, and reduces the dependence of developers on animation production. Supports real-time animation generation and storage.
It improves the output of game animations, reduces operation difficulty and learning costs, enhances user editing freedom, reduces storage overhead, and enhances game immersion.
Smart Images

Figure CN118949422A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer and game technology, and in particular to a game animation editing method, a game animation editing device, a computer program product, and an electronic device. Background Art
[0002] Sometimes you need to play animations in a game. For example, when you complete a certain level in the game, play a transition animation before entering the next level; or when a plot event is triggered, play a plot animation.
[0003] Currently, most game animations are made in advance by game developers. This results in a generally low output of game animations. For example, developers usually only make game animations for the main gameplay and main maps in the game, but cannot make game animations for all gameplay and maps in the game (especially the gameplay and maps customized by users). Summary of the invention
[0004] The present disclosure provides a game animation editing method, a game animation editing device, a computer program product and an electronic device, so as to at least solve the problem of low game animation output to a certain extent.
[0005] According to a first aspect of the present disclosure, a game animation editing method is provided, which provides a graphical user interface through a terminal device, and the method includes: controlling the display of a game editing scene in the graphical user interface; responding to a first editing instruction, determining an animation scene component, and generating a component track corresponding to the animation scene component; the animation scene component includes at least one of the following: a scene component determined according to an existing scene component in the game editing scene, and a scene component generated in response to an animation component generation instruction; the component track is used to edit animation attribute data of the animation scene component on a first timeline; responding to a second editing instruction to the component track, determining the animation attribute data of the animation scene component; in a game running stage, responding to a first trigger condition, displaying a target game animation screen on the graphical user interface; the target game animation screen includes: a game running scene corresponding to the game editing scene, and an animation virtual object located in the game running scene and controlled according to the animation attribute data of the animation scene component; the animation virtual object is a virtual object generated corresponding to the animation scene component.
[0006] According to a second aspect of the present disclosure, a game animation editing device is provided, which provides a graphical user interface through a terminal device, and the device includes: a game editing scene display processing module, which is configured to control the display of a game editing scene in the graphical user interface; an animation scene component determination module, which is configured to respond to a first editing instruction, determine an animation scene component, and generate a component track corresponding to the animation scene component; the animation scene component includes at least one of the following: a scene component determined according to an existing scene component in the game editing scene, and a scene component generated in response to an animation component generation instruction; the component track is used to edit animation attribute data of the animation scene component on a first timeline; the animation attribute data editing processing module is configured to respond to a second editing instruction to the component track and determine the animation attribute data of the animation scene component; a game animation screen display processing module is configured to respond to a first trigger condition during the game running stage to display a target game animation screen on the graphical user interface; the target game animation screen includes: a game running scene corresponding to the game editing scene, and an animation virtual object located in the game running scene and controlled according to the animation attribute data of the animation scene component; the animation virtual object is a virtual object generated corresponding to the animation scene component.
[0007] According to a third aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method of the first aspect and possible implementations thereof are implemented.
[0008] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the method of the above-mentioned first aspect and its possible implementation methods by executing the executable instructions.
[0009] The technical solution disclosed in this disclosure has the following beneficial effects:
[0010] On the one hand, an animation editing function is provided for users to use. This function is combined with the editing function of the game scene. Users can edit animations related to the game scene in the process of editing the game scene, so that the production of game animations is no longer completely dependent on game developers, which improves the output of game animations. On the other hand, a component track corresponding to the animation scene component is provided, so that users can easily edit the animation attribute data of the animation scene component through the component track, reducing the difficulty of operation and the learning cost of the animation editing function, and supporting targeted editing of different animation scene components, improving the freedom of user editing, and facilitating the realization of diversified animation content. On the other hand, this solution does not need to save the target game animation as video data, but saves the animation attribute data. In the game running stage, the target game animation screen is collected in real time according to the animation attribute data, thereby reducing the storage overhead of the terminal device or server, and the screen can reflect the real-time situation in the game running scene, and its performance effect is better, which is conducive to enhancing the user's immersion. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A system architecture diagram in this exemplary embodiment is shown;
[0012] Figure 2 A flowchart showing a method for editing game animation in this exemplary embodiment;
[0013] Figure 3 A schematic diagram showing a game editing scene and scene component controls in this exemplary embodiment;
[0014] Figure 4A A schematic diagram showing an animation editing interface and a component track in this exemplary embodiment;
[0015] Figure 4B A schematic diagram showing a method of creating a component track in this exemplary embodiment is shown;
[0016] Figure 4C A schematic diagram showing another method of creating a component track in this exemplary embodiment;
[0017] Figure 5 A schematic diagram showing an animation editing interface and multiple tracks in this exemplary embodiment;
[0018] Fig. 6A A schematic diagram showing a scene component control interface in this exemplary embodiment;
[0019] Figure 6B A schematic diagram showing a method of editing animation attribute data in this exemplary embodiment;
[0020] Figure 6CA schematic diagram showing another method of editing animation attribute data in this exemplary embodiment;
[0021] Fig. 7A A schematic diagram showing an example of adding a sub-track in this exemplary embodiment;
[0022] Figure 7B A schematic diagram showing a method of selecting a sound effect segment in this exemplary embodiment;
[0023] Figure 8 A schematic diagram showing an animation management interface in this exemplary embodiment;
[0024] Fig. 9 A schematic diagram showing the structure of a game animation editing device in this exemplary embodiment;
[0025] Fig.10 A schematic structural diagram of an electronic device in this exemplary embodiment is shown. DETAILED DESCRIPTION
[0026] Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.
[0027] The accompanying drawings are schematic diagrams of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. The embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein. The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the description below, many specific details are provided to provide a full description of the embodiments of the present disclosure. However, those skilled in the art should appreciate that one or more specific details may be omitted when implementing the technical solution of the present disclosure, or one or more specific details may be replaced by other methods, components, devices, steps, etc.
[0028] Most game animations are made in advance by game developers (including artists in the game development team) and saved in the game data in the form of video data. During the game, the game animation is played by loading the video data. Due to the limited number and energy of developers, the number of game animations they produce is also relatively limited, and it is impossible to cover all the gameplay and maps in the game. For example, in a game that supports user-defined editing functions, users can edit customized game maps, and it is difficult for developers to make relevant game animations for such game maps. In addition, the game animations made in advance cannot reflect the actual situation during the game. For example, in the game animation, the characters and objects are in pre-set positions, but in the actual game process, the positions of the characters and objects may be different from the positions in the game animation, resulting in differences between the game animation seen by the user and the actual situation in the current game scene. This affects the performance of the game animation and reduces the user's sense of immersion.
[0029] In the related art, although an animation editor has been implemented for users to use, the following problems still exist: the learning cost is high, requiring users to have certain professional knowledge, and it is difficult to popularize; the produced game animation will interfere with the game process. For example, when playing the game animation, the characters or objects in the game scene move unexpectedly, thereby affecting the user's game operation and experience; the animation editor only supports the output of video data, and the amount of video data is generally large, which puts greater pressure on the terminal device or server.
[0030] In view of one or more of the above problems, an exemplary embodiment of the present disclosure provides a game animation editing method.
[0031] Figure 1 The system architecture diagram of the operating environment of this exemplary embodiment is shown. The system architecture may include a terminal device 110 and a server 120. Among them, the terminal device 110 may be a mobile phone, a tablet computer, a personal computer, an intelligent wearable device, a game console, etc., which has a display function and can display a graphical user interface. The graphical user interface may include an operating system interface or an application interface, etc. A game program is installed on the terminal device 110, such as a client program of an online game. When the terminal device 110 runs the game program, interfaces such as game editing scenes can be displayed in the graphical user interface. The server 120 generally refers to a background system that provides game services in this exemplary embodiment, which may be a server or a cluster of multiple servers. A game server program is deployed on the server 120 for executing game data processing on the server side. The terminal device 110 and the server 120 may be connected via a wired or wireless communication link to perform data transmission. The method in this exemplary embodiment may be executed by any one or more of the terminal device 110 and the server 120.
[0032] In one embodiment, the game animation editing method can be implemented and executed based on a cloud interactive system. The cloud interactive system can be the above-mentioned system architecture. Various cloud applications can be run under the cloud interactive system, such as cloud games. Taking cloud games as an example, cloud games refer to a game method based on cloud computing. In the operation mode of cloud games, the operation subject of the game program and the game screen presentation subject are separated, and the storage and operation of the control and interaction methods in the game are completed on the cloud game server (such as the above-mentioned server 120), and the cloud game client (such as the above-mentioned terminal device 110) is used for receiving and sending data and presenting the game screen. For example, the cloud game client can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; and the cloud game server in the cloud performs information processing. When playing games or editing games, the user operates the cloud game client to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the cloud game client through the network. Finally, the cloud game client decodes and outputs the game screen.
[0033] In one embodiment, the game map or game animation data edited by the terminal device 110 can be uploaded to the server 120 for storage. For example, the currently edited game map or game animation data can be automatically saved at regular intervals during the editing process, or the currently edited game map or game animation data can be saved according to a manual save operation performed by the user, or the currently edited game map or game animation data can be automatically saved when exiting the editing. When saving the game map or game animation data, the terminal device 110 can upload the game map data or game animation data to the server 120, and the server 120 can save it.
[0034] In one embodiment, the server 120 may maintain a game map pool or a game animation pool, such as deploying a database for storing game maps or game animation data on the server side. In response to an instruction to publish a game map or game animation on the terminal device 110, the server 120 may add game map data to the game map pool, or add game animation data to the game animation pool, so that other players can download the game map data from the game map pool and use the game map to play the game, or download the game animation data from the game animation pool to play the corresponding game animation during the game. This enables a fast UGC (User Generated Content) function.
[0035] In one embodiment, the game animation editing method can be implemented in a stand-alone game. No server needs to be deployed, and the entire game program can be installed on the terminal device 110 and the game animation editing method can be executed.
[0036] In one embodiment, reference Figure 2 As shown, the game animation editing method may include the following steps:
[0037] Step S210, controlling the display of the game editing scene in the graphical user interface;
[0038] Step S220, respond to the first editing instruction, determine the animation scene component, and generate a component track corresponding to the animation scene component; the animation scene component includes at least one of the following: a scene component determined according to an existing scene component in the game editing scene, a scene component generated in response to the animation component generation instruction; the component track is used to edit the animation property data of the animation scene component on the first timeline.
[0039] Step S230, responding to the second editing instruction for the component track, determining the animation attribute data of the animation scene component;
[0040] Step S240, in the game running stage, in response to the first trigger condition, a target game animation screen is displayed on the graphical user interface; the target game animation screen includes: a game running scene corresponding to the game editing scene, and an animation virtual object located in the game running scene and controlled according to the animation attribute data of the animation scene component; the animation virtual object is a virtual object generated corresponding to the animation scene component.
[0041] based on Figure 2 The method shown, on the one hand, provides an animation editing function that can be used by users, which is combined with the editing function of the game scene. Users can edit animations related to the game scene in the process of editing the game scene, so that the production of game animations is no longer completely dependent on game developers, and the output of game animations is improved. On the other hand, a component track corresponding to the animation scene component is provided, so that users can easily edit the animation attribute data of the animation scene component through the component track, reducing the difficulty of operation and the learning cost of the animation editing function, and supporting targeted editing of different animation scene components, improving the freedom of user editing, and facilitating the realization of diversified animation content. On the other hand, this solution does not need to save the target game animation as video data, but saves the animation attribute data, and collects the target game animation screen in real time according to the animation attribute data during the game running stage, thereby reducing the storage overhead of the terminal device or server, and the screen can reflect the real-time situation in the game running scene, and its performance effect is better, which is conducive to enhancing the user's immersion.
[0042] Below Figure 2Provide detailed instructions for each step.
[0043] In step S210, the game editing scene is displayed in the graphical user interface.
[0044] In the game program, a user-oriented editing function may be provided. For example, the editing function may be implemented in the main game program. When the main game program is running, the user may select an option related to the editing function to enter an editor or editing interface and use the editing function. Alternatively, the editing function may be implemented through an editing program that is compatible with the main game program. The editing program may run independently outside the main game program. When the editing program is running, the user may use the editing function.
[0045] From the above, it can be seen that the game program running process can include at least two stages: the game editing stage, that is, the stage in which the user uses the editing function to edit the game scene, game animation or other game information; the game running stage, that is, the stage in which the user plays the game and can use the content edited in the game editing stage to play, such as the user can play the game in the edited game scene and watch the edited game animation.
[0046] A game scene refers to a virtual space in a game, including but not limited to game maps, levels, dungeons, towns, homes and other scenes. A game editing scene is a game scene that can be loaded during the game editing phase. For example, a user can select a game scene for editing in the interface of the game editing function, triggering entry into the game scene in an editing state, and the game scene thus presented is called a game editing scene. The game scene edited by a user can be a game scene that comes with the game program, or a game scene that has been edited by the user, or a game scene that has been downloaded and edited by other users, or a newly created game scene. During the game running phase, the game scene can be loaded in a running state, and the game scene thus presented is called a game running scene. The game editing scene and the game running scene can be different states of the same game scene, and the two have a corresponding relationship.
[0047] The game running stage can include the play process and the animation playing process. The play process is the process of the user playing the game, and the animation playing process is the process of playing the game animation.
[0048] In one embodiment, the play process and the animation playback process may overlap in time. For example, the play process may include the animation playback process, and the play process continues while the game animation is playing. For example, the user operates the virtual character to play the game in the game running scene, which is the play process. If a certain mechanism is triggered, an animation of the mechanism being activated may be played, which is the animation playback process. During the animation playback process, the play process may continue, such as other objects in the scene still keep moving or running, or the user can still operate the virtual character.
[0049] In one embodiment, the play process and the animation playback process do not overlap in time, such as when the game animation is playing, the play process is paused or stopped. For example, the game running scene includes multiple areas, and in one area, the process of the user operating the virtual character to pass the level or compete is the play process. When the game in the area ends and before entering the next area, a transition animation is played, which is the animation playback process. During the animation playback process, the play process is paused until the animation playback ends, and then enters the next area to continue the play process.
[0050] The game editing scene includes one or more scene components. A scene component refers to a virtual person or object in a game scene, such as a building, a mechanism, a vehicle, furniture, etc. in a game scene. For ease of distinction, the scene component in the game editing scene is referred to as a game scene component, and the scene component in the target game animation (in this exemplary embodiment, the target game animation refers to the game animation edited by the user) is referred to as an animation scene component. In one embodiment, an animation scene component may not be set in the game editing scene, that is, the animation scene component does not appear in the game editing scene; a game scene component may not be set in the target game animation, that is, the game scene component does not appear in the target game animation; if a scene component is both a game scene component and an animation scene component, the scene component may be set in both the game editing scene and the target game animation.
[0051] The game scene component is configured to generate a corresponding game virtual object during the game running phase. The scene component and the corresponding virtual object usually have the same appearance and use the same model resources, so they can be considered the same object and are not specifically distinguished in this article. In the program, the scene component and the virtual object can be different types of program objects.
[0052] In one embodiment, a plurality of scene components may be combined into a scene component combination. For example, a block component may be combined onto the circular surface of a cylindrical component to form a mechanism component in the form of a roller. In this way, complex and diverse components of people or objects may be formed in the game. For ease of distinction, a single scene component may be referred to as a basic scene component, which cannot be separated and may be regarded as the smallest component unit in the game editing scene. Unless otherwise specified, the scene component mentioned herein may refer to a basic scene component or a scene component combination.
[0053] In the game editing scene, users can edit the environment of the game scene, such as background, weather, lighting, etc. They can also edit the game scene components, such as adding and deleting game scene components, moving, rotating, and scaling game scene components, and editing the color and other properties of the scene components.
[0054] In one embodiment, a scene component control may be provided for generating a scene component in response to and according to a trigger operation of a user. The scene component control is a control for generating a preset scene component in a game program. Figure 3 A schematic diagram showing the game editing scene and scene component controls. Figure 3 As shown, it can be in a list (including one or more levels of lists, Figure 3 The scene component control is provided in the form of a two-level list (as shown), and the list shows one or more levels of component categories. For example, "structure", "article", "environment", "mechanism", "organism", "combination" and so on are first-level component categories, and each first-level component category includes one or more second-level component categories. For example, the first-level component category "article" includes second-level component categories such as "furniture", "interior decoration", and "lamps". Each second-level component category includes one or more scene component controls. For example, the second-level component category "furniture" includes scene component controls such as "log coffee table", "round low table", "wooden small table", and "European table". Users can trigger operations on the scene component controls, such as clicking operations, dragging operations, etc., to generate corresponding game scene components in the game editing scene. For example, in Figure 3 In the example, the user drags the "round low table" scene component control to a certain position in the game editing scene, which can trigger the generation of the round low table scene component at that position. The present disclosure does not limit the form and appearance of the scene component control. The scene component control can display the name of the scene component or the icon of the scene component.
[0055] In one embodiment, the scene component control is configured with a corresponding scene component template, and the scene component template includes pre-edited scene component parameters. The scene component parameters may include one or more parameters of shape, color, texture, transparency, material, size, direction, physical properties, etc., and may also include other types of parameters. When editing a scene component, the user needs to set the scene component parameters for the scene component. If a scene component is generated through a scene component control, the scene component parameters in the scene component template corresponding to the scene component control may be called to quickly generate the scene component according to these parameters. It can be understood that the scene component control is a pre-edited templated scene component, and the scene component parameters are configured in the form of a template and provided to the user in the form of a scene component control. When a user uses the scene component control, it is equivalent to applying the scene component template. This improves editing efficiency. Of course, after the scene component is generated, its scene component parameters may be allowed to be changed, such as changing its size through a scaling operation, changing its direction through a rotation operation, and changing its color and transparency through a color setting operation.
[0056] The game program may have its own scene component control, such as a game developer pre-editing a scene component template and configuring it as a scene component control for the user to use. In addition, the user may be allowed to configure the scene component control. For example, the user may model the scene component in the game editing scene or other editing interface and save the scene component parameters to form a scene component template and configure it as a scene component control.
[0057] In one embodiment, the user may be allowed to edit and update the scene component control, such as modifying the scene component template corresponding to the scene component control, modifying the scene component parameters therein, and updating the scene component template corresponding to the scene component control after saving. When subsequently generating a scene component through the scene component control, the scene component parameters in the updated scene component template may be called to generate the scene component.
[0058] In one embodiment, for a scene component combination, a corresponding scene component control can also be configured. For example, a user can combine a square component onto the circular surface of a cylindrical component to form a mechanism component in the form of a roller, and a new scene component control can be generated based on the scene component parameter configuration of the mechanism component. Subsequent users can generate a mechanism component through the scene component control. This enables one-click generation of a scene component combination, which is very convenient.
[0059] The scene component corresponding to the scene component control is a preset scene component in the game program, which may include a scene component that comes with the game program, or a scene component that is edited and configured in advance by the user. The preset scene components provided by the game editing scene may be all the preset scene components in the game program, or may be preset scene components that match the game editing scene. For example, the game editing scene has a specific scene style, and the game editing scene provides a scene component control corresponding to the preset scene component that matches the style.
[0060] In one embodiment, the user can edit and generate a custom scene component. For example, the user can create a new game scene component by modeling in the game editing scene, which can be a non-preset scene component, thereby increasing the flexibility of user editing.
[0061] The above explains how to generate game scene components in the game editing scene.
[0062] In one embodiment, the game scene component has game running attribute data. The game running attribute data is attribute data related to the game process, such as but not limited to the position, direction, size, color, physical properties, etc. of the game scene component during the game process.
[0063] When a game scene component is generated in a game editing scene, it may have default game running attribute data, such as when a game scene component is generated using a scene component control, its size, color, physical properties, etc. may adopt the scene component parameters corresponding to the scene component control. In one embodiment, in response to a game editing instruction in the game editing scene, the game running attribute data of the game scene component is determined. The game editing instruction may be an operation instruction for editing a scene or a game scene component. Exemplarily, a user may move, rotate, and scale the game scene component in the game editing scene to edit the position, direction, and size of the game scene component, or may open the attribute interface of the game scene component to set the attribute parameter value. Thus, the editing of the game running attribute data is realized.
[0064] Continue to refer Figure 2 In step S220, in response to the first editing instruction, the animation scene component is determined, and a component track corresponding to the animation scene component is generated; the animation scene component includes at least one of the following: a scene component determined according to an existing scene component in the game editing scene, and a scene component generated in response to an animation component generation instruction; the component track is used to edit the animation attribute data of the animation scene component on the first timeline.
[0065] Animation scene components are scene components related to target game animations, or more specifically, scene components that will appear in target game animations. Animation scene components can be scene components created based on preset scene components provided by the game editing scene, such as scene components generated using scene component controls, or can be custom scene components, such as scene components created by modeling.
[0066] In one embodiment, the animation scene component may include: a scene component determined according to the scene component already existing in the game editing scene. Exemplarily, one or more target game scene components may be determined in the game scene component in the game editing scene, and the animation scene component may be determined according to the target game scene component, which is referred to as the target animation scene component. The target game scene component and the target animation scene component may be the same scene component, i.e., the target game scene component (or target animation scene component) is both a game scene component and an animation scene component. Alternatively, the target game scene component and the target animation scene component are different scene components with specific associations, and the specific association may refer to that the two have the same appearance or have other identical properties, etc. Exemplarily, the user may specify one or more game scene components in the game editing scene, add them to the target game animation, and the game scene component specified by the user is the target game scene component, and the game program may generate a scene component with the same appearance as the target game scene component, which is the target animation scene component. In user perception, the target game scene component and the target animation scene component are the same component, but the two are different program objects or program entities. When the user edits the target game scene component through game editing instructions, it will not affect the target animation scene component. When the user edits the target animation scene component through animation editing instructions, it will not affect the target game scene component. This achieves the decoupling of game editing and animation editing, so that the two editing processes do not interfere with each other.
[0067] In one embodiment, the animation scene component may include: a scene component generated in response to an animation component generation instruction, which is usually a scene component generated in an animation editing state, and may be referred to as an animation generation scene component. The animation component generation instruction is an operation instruction for generating a new animation scene component, and may also be an operation instruction for creating a component track, such as a second component track creation instruction. The animation generation scene component may appear in the target game animation, but not in the play process. The animation editing state may be a state specifically used for editing animations in a game editing scene, such as enabling the animation editing function in the game editing scene to trigger entering the animation editing state. In the animation editing state, the scene component control may be used to generate a preset scene component provided by the game editing scene, or a custom scene component may be edited and created, thereby obtaining an animation generation scene component. If the animation editing state is exited, the animation generation scene component may not be displayed in the game editing scene, or may be displayed or displayed in a specific manner, such as displaying the animation generation scene component as a special form such as transparent to distinguish it from the game scene component.
[0068] In one embodiment, the animation scene component may include all or part of the game scene component, which is both a game scene component and an animation scene component. For example, when editing a target game animation, a user may select one or more game scene components and add them to the target game animation, so that these game scene components also become animation scene components.
[0069] In this exemplary embodiment, a track is a control with a timeline. Each track corresponds to one or more editable objects in the target game animation (such as animation scene components, animation virtual cameras, animation sound effects, animation special effects, or other types of editable objects). Users can set one or more time points (such as key frames), time periods, etc. on the track, edit the attribute data of the editable object at each time point and time period, so that the object changes dynamically over time. Depending on the type of editable object, the track may include but is not limited to component tracks, camera tracks, picture selection tracks, sound effect tracks, special effect tracks, and other types. The target game animation finally presented is the effect of merging the various editable objects.
[0070] The component track is a track with the animation scene component as the editing object. Each animation scene component can correspond to one or more component tracks, or multiple animation scene components can correspond to one component track. The first timeline is the timeline in the component track, which represents the time range of the animation attribute data of the animation scene component. The user can set the starting point, end point, and duration of the first timeline. In one embodiment, the first timeline can be the total timeline of the target game animation by default. For example, if the total duration of the target game animation is set to 1 minute, the initial first timeline is 1 minute in duration, the starting point is the start time of the target game animation, and the end point is the end time of the target game animation. Afterwards, the user can adjust the starting point or end point position of the first timeline, or change the duration of the first timeline. For example, the user can set the starting point of the first timeline to 0:20 and the end point to 0:50, and edit the animation attribute data of the animation scene component in the time period of 0:20 to 0:50, then the animation scene component can execute instructions such as movement according to its animation attribute data in the time period of 0:20 to 0:50. In the time periods of 0:00-0:20 and 0:50-1:00, the animation scene component can be hidden or set to be static. For another example, the user can keep the starting point of the first timeline at 0:00, set the end point to 1:10, and edit the animation attribute data of the animation scene component in the time period of 0:00-1:10, wherein the time period of 1:00-1:10 exceeds the total duration of the target game animation. If the total duration of the target game animation is subsequently set to 70 seconds or more, the animation attribute data of the animation scene component in the time period of 1:00-1:10 will take effect in the target game animation.
[0071] In one embodiment, the animation scene component may include multiple types of scene components, such as objects and actors (i.e., roles). Among them, actors can execute action instructions such as running and jumping, while objects cannot execute action instructions. Correspondingly, component tracks may include multiple types of component tracks, such as object tracks (i.e., component tracks corresponding to animation scene components of object type) and actor tracks (i.e., component tracks corresponding to animation scene components of actor type). Different types of component tracks may have different types of editable attributes, such as object component tracks may be used to edit attribute data related to action instructions, while actor component tracks may not be used to edit attribute data related to action instructions.
[0072] The first editing instruction is an operation instruction for determining an animation scene component. For each animation scene component, a corresponding component track can be provided, such as one animation scene component corresponding to one component track, multiple animation scene components corresponding to one component track, or one animation scene component corresponding to multiple component tracks. Figure 4A The diagram shows an animation editing interface and a component track. The animation editing interface is an interface specifically used to edit game animations. It can be displayed in response to an animation editing trigger instruction in a game editing scene. For example, when a user turns on the animation editing function in a game editing scene, the animation editing interface can be triggered to enter. The component track can be displayed in the animation editing interface, such as Figure 4A As shown, for each animation scene component currently existing in the target game animation, such as a pine tree, a gear, a table, and a flower, a component track can be provided accordingly, so that the user can edit the animation scene component through the component track.
[0073] When determining the animation scene component, a corresponding component track may be provided. For example, when adding a new animation scene component to the target game animation, a corresponding component track may be created. Therefore, the first editing instruction may also be an operation instruction for creating a component track. In one embodiment, the first editing instruction may include an animation component generation instruction.
[0074] In one embodiment, the first editing instruction includes a first component track creation instruction. Accordingly, the above-mentioned response to the first editing instruction, determining the animation scene component, and generating the component track corresponding to the animation scene component may include the following steps:
[0075] In response to the first component track creation instruction, an animation scene component is determined according to one or more scene components in the game editing scene, and a component track corresponding to the animation scene component is created.
[0076] The first component track creation instruction is an operation instruction for determining the animation scene component based on the existing game scene component in the game editing scene and creating the corresponding component track. The first component track creation instruction can be a collection of multiple user operation instructions, and the present disclosure does not limit the order of the various operation instructions therein. For example, the user can first trigger the creation of the component track and then select the game scene component, or can first select the game scene component and then trigger the creation of the component track.
[0077] In one embodiment, the above-mentioned response to the first component track creation instruction, determining the animation scene component according to one or more scene components in the game editing scene, may include the following steps:
[0078] In response to a scene component selection instruction in the game editing scene in the animation editing state, a designated scene component is determined from the scene components in the game editing scene;
[0079] If the specified scene component does not have a corresponding component track, a first functional control is provided;
[0080] In response to a trigger instruction to the first function control, an animation scene component is determined according to the specified scene component, and a component track corresponding to the animation scene component is created.
[0081] Among them, the animation editing state is a state of the game editing scene. In the animation editing state, the editing instructions issued by the user are used to edit game animation related information. In the non-animation editing state (such as the regular editing state), the editing instructions issued by the user are used to edit non-game animation related information.
[0082] Exemplarily, if the user has selected one or more game scene components in the game editing scene, and the game scene component does not have a corresponding component track, it may indicate that the game scene component is not set as an animation scene component. At this time, the first function control may be displayed in the graphical user interface (such as in the editing control bar). Figure 4B A schematic diagram of a game editing scene in an animation editing state is shown. A user selects a pine tree scene component in the game editing scene, and detects that the pine tree does not have a corresponding component track, that is, the animation scene component has not been determined based on the pine tree scene component. In this case, a first functional control may be provided, such as Figure 4B The "Track" control in . When the user clicks or long presses the control, it can trigger the determination of a new animation scene component based on the specified scene component and the creation of its corresponding component track. For example, a new component track is added in the animation editing interface, and the new component track can be directly displayed in the current game editing scene.
[0083] refer to Figure 4BAs shown, the operation of determining the animation scene component according to the game scene component and creating a component track is called a "tracking" operation. For a game scene component, it can be set that only one "tracking" operation can be performed to avoid duplicate animation scene components.
[0084] In one embodiment, the game animation editing method may further include the following steps:
[0085] If the specified scene component has a corresponding component track, the component track corresponding to the specified scene component is displayed.
[0086] Among them, the specified scene component has a corresponding component track, which means that the animation scene component has been previously determined according to the specified scene component, that is, the specified scene component has been "tracked". In this case, the component track corresponding to the specified scene component is displayed without providing the first function control, so that the user cannot repeatedly "track" the specified scene component through the first function control, which can avoid the occurrence of repeated animation scene components.
[0087] In one embodiment, the game animation editing method may further include the following steps:
[0088] Respond to the animation editing trigger instruction in the game editing scene and control entering the animation editing state.
[0089] Among them, the animation editing trigger instruction can be an operation instruction to start the animation editing function or enter the animation editing interface. When the user performs the animation editing trigger instruction, the game editing scene can enter the animation editing state.
[0090] For example, the user can turn on or off the animation editing function in the game editing scene. When the animation editing function is turned on, the game editing scene enters the animation editing state, and when the animation editing function is turned off, the game editing scene enters the non-animation editing state, thereby achieving convenient switching between different states.
[0091] In one embodiment, the game animation editing method may further include the following steps:
[0092] Responding to the animation editing trigger command in the game editing scene, displaying the animation editing interface;
[0093] Respond to the close command of the animation editing interface and exit the animation editing state.
[0094] Among them, entering the animation editing state and displaying the animation editing interface can occur simultaneously. Displaying the animation editing interface can be used as a condition for the animation editing state. In other words, entering the animation editing interface from the game editing scene can be regarded as a condition for entering the animation editing state. Correspondingly, when the animation editing interface is closed, the game editing scene exits the animation editing state and returns to the non-animation editing state. The user can control the switch of the animation editing state by opening or closing the animation editing interface.
[0095] In one embodiment, the game editing scene may have different display states in the animation editing state and the non-animation editing state. For example, in the animation editing state, the animation scene components are displayed in the game editing scene, and the game scene components of the non-animation scene components may not be displayed; in the non-animation editing state, the animation scene components of the non-game scene components (such as the above-mentioned animation generation scene components) are not displayed in the game editing scene, or these animation scene components are displayed in a differentiated manner, such as being displayed in a special form such as transparent, or adding a mark such as "displayed only in animation" to these animation scene components.
[0096] In one embodiment, the editing instructions of the game editing scene in the animation editing state and the non-animation editing state can be isolated from each other. The animation editing instructions in the animation editing state will not have an effect on the game editing scene in the non-animation editing state. For example, the user moves the animation scene component in the animation editing state, and the animation scene component is also the game scene component. After switching to the non-animation editing state, the game scene component will not move in the animation editing state and maintain its original position in the non-animation editing state. The user moves the game scene component in the non-animation editing state, and the game scene component is also the animation scene component. After switching to the animation editing state, the animation scene component will not move in the non-animation editing state, and its position is determined by the editing instructions in the animation editing state. In other words, the game operation attribute data and the animation attribute data can be two independent sets of data, and the user editing one of them will not affect the other.
[0097] In one embodiment, the above-mentioned response to the first component track creation instruction, determining the animation scene component according to one or more scene components in the game editing scene, and creating the component track corresponding to the animation scene component may include the following steps:
[0098] In response to a trigger instruction of the second function control, control jump to the game editing scene;
[0099] In response to a scene component selection instruction in the game editing scene, determining a specified scene component from the scene components in the game editing scene;
[0100] Determine the animation scene component according to the specified scene component, and create a component track corresponding to the animation scene component.
[0101] and Figure 4B Compared with the "tracking" operation shown in the figure, the difference is that this implementation first triggers the need to create a component track, and then selects the game scene component in the game editing scene, which is the same as Figure 4B The order of the "orbitalize" operations shown is different.
[0102] In one embodiment, the second function control is set in the animation editing interface, and the animation editing interface is an interface displayed in response to the animation editing trigger instruction in the game editing scene; in response to the trigger instruction of the second function control, controlling the jump to the game editing scene includes:
[0103] In response to the triggering instruction of the second function control, the control jumps from the animation editing interface to the game editing scene.
[0104] For example, a second function control (such as Figure 4A In the "Select in Scene" control), the user clicks or long presses the control to trigger the display of the game editing scene. If you are originally in the animation editing interface, you can jump from the animation editing interface to the game editing scene. Figure 4C The figure shows a schematic diagram of jumping from the animation editing interface to the game editing scene. It should be noted that since the animation editing interface is not closed, the game editing scene is still in the animation editing state. If you are originally in the game editing scene, you can adjust the viewing angle at this time, such as moving the viewing angle to an area with more game scene components, or reducing the focal length so that the screen can accommodate more game scene components. You can also display prompt selection information in the game editing scene, such as Figure 4C "Select the object to be tracked" is shown. Subsequently, the user can select the game scene component in the game editing scene, use it as a new animation scene component, and create its corresponding component track, such as adding a new component track in the animation editing interface.
[0105] In one embodiment, the animation editing interface provides a track type selection control; the game animation editing method further includes the following steps:
[0106] In response to selecting a scene component type through a track type selection control, a second function control is provided in the animation editing interface.
[0107] Among them, through the track type selection control, one or more candidate track types can be selected. The candidate track type can be a track type that can be set in the target game animation, or a track type that has been set. For example, the candidate track type may include a component track type, a camera track type, a screen selection track type, a sound effect track type, and a special effect track type. The user can select one from the candidate track types to trigger the display of the corresponding control in the animation editing interface, and other types of tracks may not be displayed.
[0108] Figure 5 The schematic diagram of the animation editing interface is shown. The animation editing interface can provide multiple types of tracks, such as "director" track (i.e., picture selection track), camera track, object track, actor track, sound effect track, special effect track, etc. In addition, the "director", "camera", "object", and "actor" controls are provided at the bottom of the animation editing interface. They are track type selection controls. When the user clicks the "object" control, the second function control for creating an object is triggered, such as Figure 4A This makes the animation editing interface more concise, allowing users to centrally edit a certain type of track and reduce misoperation.
[0109] It should be understood that in response to selecting other types through the track type selection control, function controls corresponding to other types are provided in the animation editing interface. For example, when the user selects a camera type through the track type selection control, such as clicking Figure 5 The Camera control in the lower center provides controls for creating a camera track in the animation editing interface.
[0110] In one embodiment, the first editing instruction includes a second component track creation instruction. The above-mentioned response to the first editing instruction, determining the animation scene component, and generating the component track corresponding to the animation scene component may include the following steps:
[0111] In response to the second component track creation instruction, a new scene component is generated as an animation scene component, and a component track corresponding to the animation scene component is created.
[0112] The second component track creation instruction is an operation instruction for triggering the generation of a new animation scene component, or more specifically, generating a new animation scene component without using a game scene component, and creating a corresponding component track. For example, the second component track creation instruction may be an operation instruction for copying an existing animation scene component, or an operation instruction for generating a custom scene component as a new animation scene component by modeling or the like.
[0113] In one implementation, the above-mentioned response to the second component track creation instruction, generating a new scene component as an animation scene component, and creating a component track corresponding to the animation scene component includes:
[0114] In response to a trigger instruction for a third function control, a scene component control interface is displayed; the scene component control interface includes a plurality of preset scene component controls;
[0115] In response to a selection instruction in the scene component control interface, a target scene component control is determined in the scene component control, and a scene component corresponding to the target scene component control is generated;
[0116] The generated scene component is used as an animation scene component, and a component track corresponding to the animation scene component is created.
[0117] For example, a third function control (such as Figure 4A The user clicks or long presses the "Select in Preset" control to trigger the display of the scene component control interface.
[0118] The scene component control interface can be displayed in the game editing scene or animation editing interface in the form of a window, sub-interface, etc. The scene component control interface can include all or part of the scene component controls. For example, the scene component control interface triggered to display in the game editing scene can be Figure 3 , that is, all scene component controls are provided in the form of a hierarchical list. For another example, in response to the first component track creation instruction in the animation editing interface, a scene component control interface including only some scene component controls is displayed. The scene component corresponding to the scene component control in the scene component control interface is suitable as an animation scene component. However, some scene components, such as scene component combinations, are not suitable as animation scene components, and the scene component control interface does not include their corresponding scene component controls. Alternatively, the scene component control interface may include scene component controls commonly used by users. Alternatively, the user may pre-select the scene component controls for animation editing from all scene component controls, and the scene component control interface includes the scene component controls pre-selected by the user.
[0119] Fig. 6A A schematic diagram of the scene component control interface is shown, and the response is Figure 4A Click the "Select in Preset" control in the animation editing interface to trigger the pop-up Fig. 6A The scene component control interface on the right.
[0120] When the scene component control interface is displayed, the user can select one or more scene component controls from it to trigger the corresponding scene component to be added to the target game animation as a new animation scene component. It should be understood that the animation scene component thus generated can also be used as a game scene component, displayed in the game editing scene, and will be displayed during the game running stage. Or, the animation scene component thus generated belongs to the above-mentioned animation generation scene component, which can be displayed in the game editing scene in any state, or only displayed in the game editing scene in the animation editing state, but not displayed in the game editing scene in the non-animation editing state, or displayed in the game editing scene in the non-animation editing state in a manner different from the game scene component (such as displayed in a special form such as transparent, or adding a mark such as "displayed only in animation"). In response to the generation of a new animation scene component, its corresponding component track can be created, such as adding a new component track in the animation editing interface.
[0121] In one embodiment, the third function control is set in the animation editing interface, and the animation editing interface is an interface displayed in response to the animation editing trigger instruction in the game editing scene. The animation editing interface provides a track type selection control. Accordingly, the game animation editing method may also include the following steps:
[0122] In response to selecting a scene component type through a track type selection control, a third function control is provided in the animation editing interface.
[0123] For example, Figure 5 In the animation editing interface shown, the "Director", "Camera", "Object", and "Actor" controls are provided at the bottom, which are track type selection controls. When the user clicks the "Object" control, the third function control for creating an object is triggered, such as Figure 4A , and then click on the Select from Presets control.
[0124] In one embodiment, the game animation editing method may further include the following steps:
[0125] In response to selecting a scene component type through a track type selection control, the component track is displayed in the animation editing interface.
[0126] For example, Figure 4A In the animation editing interface shown, the "Director", "Camera", "Object", and "Actor" controls are provided at the bottom, which are track type selection controls. When the user clicks the "Scene Object" control, the component track corresponding to the scene object is triggered to display, and other types of tracks such as the camera track may not be displayed. In addition, in response to selecting other types through the track type selection control, other types of tracks are displayed in the animation editing interface. This makes it easier for users to edit one type of object.
[0127] Figure 4A The animation editing interface shown provides a variety of tracks, including director tracks (i.e., picture selection tracks), camera tracks, object tracks, actor tracks, sound effect tracks, and special effect tracks. In addition to the above-mentioned tracks, other types of tracks can also be set according to specific needs. In addition, in addition to the animation editing interface, the above-mentioned tracks can also be provided in other interfaces for users to use. For example, in a game editing scene, in response to a related trigger operation, one or more corresponding tracks can be provided, so that the user can use the tracks to implement animation editing instructions in the game editing scene.
[0128] In one embodiment, the sound effect track is used to edit the animation sound effect data corresponding to the target game animation screen. Exemplarily, one or more preset animation sound effects can be imported through the sound effect track, and the time range corresponding to each animation sound effect can be set, thereby obtaining the animation sound effect data. The animation sound effect data can include the identification of the animation sound effect used by the target game animation and the corresponding time range data, and can also include the audio data of the animation sound effect. When playing the target game animation, the corresponding animation sound effect is played within the corresponding time range.
[0129] In one embodiment, the special effects track is used to edit the animation special effects data corresponding to the target game animation screen. Animation special effects are used to enhance the expressiveness of the screen, and may include but are not limited to screen shaking special effects, screen brightening special effects, expression special effects, etc. Exemplarily, one or more preset animation special effects can be imported through the special effects track, and the time range corresponding to each animation special effect can be set, thereby obtaining animation special effects data. The animation special effects data may include the identification of the animation special effects used in the target game animation and the corresponding time range data, and may also include video data, dynamic image data, etc. of the animation special effects. When playing the target game animation, the corresponding animation special effects are presented within the corresponding time range.
[0130] In one embodiment, the animation editing interface realizes unified editing and management of multiple tracks. Through the animation editing interface, different tracks can be edited separately. At the same time, the animation editing interface can also be used to jump to the independent editing interface corresponding to different tracks. In one embodiment, partial property editing of different tracks can be performed in the animation editing interface. If more detailed editing of the track is required, the corresponding track editing interface can be jumped to for more detailed editing. If the corresponding track editing interface is edited, after jumping to the animation editing interface, the updated track information will be synchronously displayed in the animation editing interface. For example, after adding a new track or a new keyframe in the editing interface of a certain track, the added track or keyframe will be synchronously displayed in the animation editing interface.
[0131] In one embodiment, the game animation editing method may further include at least one of the following steps:
[0132] 1) Display the component track corresponding to the animation scene component to be edited in the animation scene component. The animation scene component to be edited may be the currently selected animation scene component, or the animation scene component corresponding to the currently selected component track. Only the component track corresponding to the animation scene component to be edited may be displayed in the animation editing interface or the game editing scene, without displaying the component tracks corresponding to other animation scene components.
[0133] 2) Display the component tracks corresponding to all animation scene components. That is, for both selected and unselected animation scene components, their corresponding component tracks can be displayed.
[0134] 3) Display the component track corresponding to the animation scene component to be edited in the animation scene component as the first state, and display the component tracks corresponding to other animation scene components as the second state. The first state may be an expanded state, where editing operations can be performed directly, and the second state may be a folded state, where only part of the information is displayed and editing operations cannot be performed directly. This ensures a simple interface on the one hand, and enables users to edit the component track corresponding to the animation scene component to be edited on the other hand, and to see the information on the component tracks corresponding to other animation scene components.
[0135] In one embodiment, when editing a target game animation for the first time, such as creating a new game animation and starting editing through the animation editing function in the game editing scene, the animation scene component and the corresponding component track may not be set. The user may add the animation scene component and create the corresponding component track in one or more of the above methods.
[0136] In one embodiment, when generating an animation scene component, it can be defaulted to be located in the current field of view, such as in the center of the current field of view. The current field of view can be the area corresponding to the current preview screen, or the area corresponding to the game editing scene screen before the animation editing function is enabled.
[0137] Continue to refer Figure 2 In step S230, in response to the second editing instruction for the component track, the animation attribute data of the animation scene component is determined.
[0138] The second editing instruction is an editing operation instruction for editing the animation attribute data of the animation scene component. The second editing instruction can be an editing operation instruction directly performed on the component track, or an editing operation instruction in an interface related to the component track.
[0139] In one embodiment, the editing instructions for the component track may include but are not limited to the following operation instructions:
[0140] Adjust the first timeline, such as adjusting the start point, end point, and duration of the first timeline.
[0141] Keyframes are set on the first timeline. A keyframe is one or more frames in the target game animation, which may include a time point keyframe and a range keyframe. A time point keyframe corresponds to a time point on the timeline, representing a frame in the target game animation, and a range keyframe corresponds to a time period on the timeline, representing multiple consecutive frames in the target game animation. The user can add keyframes, delete keyframes, and move keyframes on the first timeline. In one embodiment, when adding a keyframe, the current attribute data of the animation scene component may be used as its attribute data in the keyframe by default. For example, the user may first move the animation scene component to a certain position, and then add a new keyframe on the first timeline, in which case the position data of the animation scene component in the keyframe is the current position coordinate value by default.
[0142] The keyframes are selected by clicking on a keyframe, or by using keyframe jump controls (such as controls for jumping to the previous keyframe, the next keyframe, etc.) The selected keyframes may be highlighted, such as highlighted, on the first timeline.
[0143] Edit the property data of the animation scene component when a keyframe is selected, such as moving, rotating, and scaling the animation scene component in the game editing scene to edit its position, direction, and size data, or editing the property value in the property interface of the animation scene component.
[0144] As can be seen from the above, the component track enables users to edit the animation property data of the animation scene component more conveniently, simplifying the user operation process and improving editing efficiency.
[0145] In one embodiment, the above-mentioned determination of the animation property data of the animation scene component in response to the second editing instruction of the component track may include the following steps:
[0146] In response to a first property editing trigger instruction of a component track corresponding to the animation scene component to be edited in the animation scene component, a property interface of the animation scene component to be edited is displayed;
[0147] In response to the animation property editing instruction in the property interface, the animation property data of the animation scene component to be edited is determined.
[0148] The first attribute editing trigger instruction refers to an operation instruction that triggers editing in the attribute interface. Figure 6BAs shown, when the component track corresponding to the animation scene component to be edited is selected, an "Advanced Settings" control can be provided. The operation instruction of the user clicking or long pressing the control is the first property editing trigger instruction, which can trigger the display of the property interface of the animation scene component to be edited, that is, Figure 6B The right interface in the middle. The property interface may include all properties such as game running properties and animation properties, or may only include animation properties. Exemplarily, in the animation editing state, the property interface of the animation scene component to be edited may be an animation property interface, which can only edit animation properties. The user can edit the animation properties in the property interface, and the corresponding operation instructions are animation property editing instructions, and the animation property data of the animation scene component to be edited is determined according to the animation property editing instructions. For example, the user can set the position coordinates, rotation angle, etc. of the animation scene component to be edited in the property interface, thereby determining the animation property data.
[0149] The property interface provides a numerical editing method, which is conducive to users' precise editing operations, such as setting precise position coordinates, rotation angles, etc.
[0150] In one embodiment, the property interface provides a first scene jump control; the game animation editing method may further include the following steps:
[0151] In response to a trigger instruction of the first scene jump control, control the jump to the game editing scene;
[0152] In response to an editing instruction for an animation scene component to be edited in a game editing scene, animation attribute data of the animation scene component to be edited is determined.
[0153] Exemplarily, the first scene jump control may be Figure 6B In the "Go to scene editing" control, when the user clicks or long presses the control, they can jump from the animation editing interface to the game editing scene, such as Figure 6C The game editing scene shown. It should be understood that the animation editing interface is not closed at this time, so the game editing scene is still in the animation editing state. The user can edit the animation scene component to be edited in the game editing scene, such as moving, rotating, scaling and other operations, and can also use the component track provided in the game editing scene for editing, such as adding frames (i.e. key frames), deleting frames and other operations. The animation attribute data of the animation scene component to be edited is thereby determined. This provides an editing method other than the attribute interface, so that the user can edit the animation attribute data by intuitively operating the animation scene component to be edited in the game editing scene, and it is easier to see the editing effect during the editing process.
[0154] In one embodiment, after the control jumps to the game editing scene, the game animation editing method may further include the following steps:
[0155] The game editing scene screen shot by the target virtual camera is displayed; the target virtual camera is a virtual camera determined from multiple candidate virtual cameras, or is a preset virtual camera.
[0156] Among them, the virtual camera is usually a shooting tool that simulates a real camera in the game, and can be used to shoot the screen that forms the game editing stage or the game running stage. The target virtual camera can be the virtual camera currently set to shoot the game editing scene screen. The user can select the target virtual camera from multiple candidate virtual cameras, or the game program can automatically use the preset virtual camera as the target virtual camera.
[0157] In one embodiment, the game animation editing method may further include the following steps:
[0158] In response to a switch instruction to the target virtual camera, the game editing scene screen shot by the target virtual camera before the switch jumps to the game editing scene screen shot by the target virtual camera after the switch.
[0159] That is to say, the user can switch the target virtual camera from one virtual camera to another virtual camera, thereby triggering the switching of the display screen perspective. In this way, the user can choose the perspective more freely and flexibly, and can also watch the game editing scene from different perspectives.
[0160] In one embodiment, the multiple candidate virtual cameras include an animation virtual camera and / or a preset virtual camera; the animation virtual camera is a virtual camera used to shoot the target game animation screen.
[0161] The animation virtual camera can be set in the game editing scene and / or the game running scene. In the game editing scene, the animation virtual camera can shoot the preview screen. In the game running scene, when the target game animation needs to be played, the animation virtual camera can shoot and display the target game animation screen.
[0162] In one embodiment, a first virtual camera may be set in the game editing scene to shoot the game editing scene to form a game editing scene screen seen by the user. For example, it may be a virtual camera that shoots in a non-animation editing state, or the above-mentioned preset virtual camera. Exemplarily, the game editing scene may present an observation perspective or a game perspective, and the user may set which perspective to use in the game editing scene. The observation perspective refers to observing the game editing scene from a non-character perspective. Under the observation perspective, the user may not manipulate the game character in the game editing scene, but directly manipulate the first virtual camera to control the perspective (the first virtual camera may not be displayed). The game perspective refers to observing the game editing scene from the perspective of the virtual character. Under the game perspective, the user may manipulate a virtual character in the game editing scene, and the virtual character may be bound to the first virtual camera, that is, the positional relationship between the virtual character and the first virtual camera is fixed, for example, the virtual character may be located at the focus of the first virtual camera. When the user manipulates the movement of the virtual character, the first virtual camera moves synchronously, thereby controlling the perspective. Of course, in the observation perspective, an invisible virtual character can also be set in the game editing scene, which is equivalent to hiding the virtual character in the game perspective. When the user moves the perspective, he can control the first virtual camera by moving the virtual character. In the observation perspective or game perspective, a virtual joystick, up or down controls, etc. can be set in the game editing scene, and the user can move the virtual camera or move the virtual character by operating these controls.
[0163] In one embodiment, a second virtual camera may be provided in the game running scene to shoot the game running scene to form a game running screen, that is, the screen that the user sees during the game. Exemplarily, the game running scene may present a first-person perspective or a third-person perspective. In the first-person perspective, the second virtual camera may be provided on the virtual character controlled by the user (or more specifically, on the head of the virtual character), and the captured screen simulates the screen that the virtual character can see. In the third-person perspective, the second virtual camera may be bound behind the virtual character (or other position fixed to the position of the virtual character) to shoot a screen from behind the virtual character and in front of the virtual character. Regardless of the perspective, when the user controls the movement of the virtual character, the second virtual camera moves synchronously, thereby controlling the perspective.
[0164] Any number of any one or more of the above virtual cameras can be set up in the game as required. For example, multiple animation virtual cameras can be set up to shoot from different perspectives, and the final target game animation can integrate the shooting pictures of different animation virtual cameras, such as displaying the shooting pictures of different animation virtual cameras in one or more frames of the target game animation, or using the shooting pictures of different animation virtual cameras in different time periods and achieving editing effects, thereby improving the animation effect.
[0165] In one embodiment, the above-mentioned display of the game editing scene screen shot by the target virtual camera may include the following steps:
[0166] If the target virtual camera is an animation virtual camera, the animation virtual camera is controlled to shoot the game editing scene according to the animation attribute data of the animation virtual camera to form a game editing scene screen;
[0167] If the target virtual camera is a preset virtual camera, the preset virtual camera is controlled to shoot the game editing scene according to the picture angle control instruction to form a game editing scene picture.
[0168] Among them, the animation attribute data of the animation virtual camera can be determined according to the editing instructions of the user in the animation editing state, or preset animation attribute data can be used. If the target virtual camera is an animation virtual camera, the animation virtual camera is automatically controlled to move, rotate, etc. to change the viewing angle according to the animation attribute data of the animation virtual camera, and the game editing scene is shot at the same time to form a game editing scene screen. The game editing scene screen can show the shooting preview effect of the animation virtual camera to a certain extent. If the target virtual camera is a preset virtual camera, the user can freely control the preset virtual camera, and control the preset virtual camera to move, rotate, etc. to change the viewing angle through the screen viewing angle control instruction, and shoot the game editing scene at the same time to form a game editing scene screen.
[0169] In one embodiment, the game animation editing method may further include the following steps:
[0170] If the target virtual camera is an animated virtual camera, the picture angle control control used to trigger the picture angle control instruction is hidden or set to an inoperable state.
[0171] The screen perspective control controls used to trigger the screen perspective control instructions may include but are not limited to: perspective movement controls, such as virtual joysticks, up or down controls, etc.; perspective rotation controls; perspective zoom controls. If the target virtual camera is an animated virtual camera, the screen perspective control controls are hidden so that the user cannot perform screen perspective control operations, or the screen perspective control controls are set to an inoperable state (such as displayed as a locked state, etc.). When the user operates the controls, no effect is produced, and prompt information may be displayed, such as "this operation cannot be performed at present", "the lens needs to be switched to a free camera before the position can be moved", etc.
[0172] In one embodiment, the game animation editing method may further include the following steps:
[0173] In response to switching the current editing object from the animation scene component to be edited to the animation virtual camera, displaying the picture perspective control control, or switching the picture perspective control control from an inoperable state to an operable state;
[0174] When the animation virtual camera is the current editing object, the animation attribute data of the animation virtual camera is determined in response to the operation instruction of the picture viewing angle control control.
[0175] Exemplarily, the user can cancel the selection of the animation scene component to be edited (such as clicking on the empty space in the game editing scene), so that the current editing object is switched from the animation scene component to be edited to the animation virtual camera currently serving as the target virtual camera. Alternatively, the user can select the animation virtual camera, so that the current editing object is switched to the animation virtual camera. In the case where the animation virtual camera is the current editing object, the user is allowed to perform the screen perspective control operation, display the screen perspective control control, or switch the screen perspective control control from an inoperable state to an operable state, so that the user can operate through the screen perspective control control. If the user performs relevant operation instructions such as moving and rotating, the animation virtual camera is controlled, such as controlling its movement and rotation, and the state information after moving and rotating (such as position coordinates, rotation angle, etc.) is saved in the animation attribute data of the animation virtual camera to realize the editing of the animation attribute data of the animation virtual camera. Thus, an editing method for the animation virtual camera is provided, and flexible switching between the animation scene component and the animation virtual camera can be performed, which is conducive to improving editing efficiency.
[0176] In one embodiment, the above-mentioned determination of the animation property data of the animation scene component in response to the second editing instruction of the component track may include the following steps:
[0177] In response to a key frame editing instruction for a component track corresponding to the animation scene component to be edited in the animation scene component, attribute data of the animation scene component to be edited at the key frame is determined;
[0178] According to the attribute data of the animation scene component to be edited in the key frame, the animation attribute data of the animation scene component to be edited is determined.
[0179] The editing instructions for the keyframes may refer to the editing instructions implemented when the keyframe is selected in the component track. For example, the user may select a keyframe on the component track, or create a new keyframe and select the keyframe by default. In this case, the animation scene component may be edited in the game editing scene, or the property value of the animation scene component may be edited in the property interface, thereby obtaining the property data of the animation scene component in the currently selected keyframe.
[0180] The attribute data of the animation scene component in the key frame indicates the state of the animation scene component in the corresponding key frame of the target game animation, and may be data indicating a static state.
[0181] In one embodiment, the attribute data of the animation scene component in each key frame can be used as the animation attribute data of the animation scene component and saved in the target animation data, that is, the animation attribute data can be a collection of attribute data of different key frames. During the animation playback process, the attribute data of the animation scene component in each key frame is generated by linear interpolation, nonlinear interpolation, etc. in a specific time period (which can be the entire time period of the target game animation, or a partial time period of the target game animation, such as the time period when the animation scene component appears). For example, the attribute data of each frame of the animation scene component in the specific time period can be included. In this way, dynamic effects are achieved through static key frame attribute data.
[0182] In one embodiment, the attribute data of the animation scene component in a specific time period can be generated by linear interpolation, nonlinear interpolation, etc. according to the attribute data of the animation scene component in each key frame. For example, the attribute data of each frame of the animation scene component in a specific time period can be included, and it is used as the animation attribute data of the animation scene component and saved in the target animation data. Compared with the above-mentioned method of using the attribute data of the animation scene component in each key frame as the animation attribute data of the animation scene component, although the data storage capacity of the target animation data is increased, the further data processing process is reduced during the animation playback process, and the amount of calculation is reduced.
[0183] In one embodiment, in response to a deletion operation on a component track, the component track is deleted, and the animation scene component corresponding to the group of corner tracks is cancelled. Specifically, if the animation scene component is also a game scene component, it is no longer used as an animation scene component, its animation attribute data is deleted, and the game running attribute data is retained. If the animation scene component is not a game scene component, the animation scene component is deleted, and its animation attribute data is deleted.
[0184] In one embodiment, the animation property data of the animation scene component includes sub-track data of the animation scene component. The above-mentioned response to the second editing instruction of the component track to determine the animation property data of the animation scene component may include the following steps:
[0185] In response to a sub-track adding instruction of a component track corresponding to the animation scene component to be edited, a sub-track of a specified type is added to the animation scene component to be edited;
[0186] In response to the editing instruction for the sub-track, the sub-track data of the animation scene component to be edited is determined.
[0187] Among them, the sub-tracks may include but are not limited to audio tracks, special effects tracks, action tracks, etc., and the corresponding sub-track data may include but are not limited to audio data, special effects data, action data, etc., which affect the performance of the animation scene component to be edited in the target game animation.
[0188] In one embodiment, the component track is used to edit the necessary attribute data in the animation attribute data, such as position, angle, size, appearance, etc. These attributes are the necessary attributes of the animation scene component to be edited in the target game animation. If the user does not edit the necessary attribute data, the game program can use the preset or default necessary attribute data. The sub-track is used to edit the non-essential attribute data in the animation attribute data, such as the above-mentioned audio data, special effect data, action data, etc. These attributes are not necessary attributes in the target game animation. Therefore, you can add a sub-track for the animation scene component to be edited, or you can not add a sub-track.
[0189] In one embodiment, if the animation scene component to be edited is a character component, the sub-track of the specified type includes one or more of an audio track, a special effect track, and an action track; if the animation scene component to be edited is a non-character component (such as an object component), the sub-track of the specified type includes one or more of an audio track, a special effect track, and an action track cannot be set for the non-character component.
[0190] Exemplarily, when the animation scene component to be edited or the component track corresponding to the animation scene component to be edited is selected, a sub-track adding control may be provided, such as Figure 6C When the user clicks or long presses the control, a sub-track selection interface pops up, such as Fig. 7A As shown. Users can select one or more types of sub-tracks to trigger the addition of corresponding sub-tracks for the animation scene component to be edited. For example, if the user chooses to add an audio track, it can further trigger Figure 7B The interface shown contains preset sound effect clips, from which users can select one or more to add to the audio track. Then, the user can edit the sub-track to obtain the sub-track data of the animation scene component to be edited. By means of sub-tracks, the types of editing information for the animation scene component can be increased, which is conducive to enhancing the expressiveness of the target game animation.
[0191] In one embodiment, the above-mentioned response to the editing instruction of the sub-track and determination of the sub-track data of the animation scene component to be edited may include the following steps:
[0192] In response to an instruction to add a preset segment to a sub-track, determining a target preset segment to be added to the sub-track and a time range corresponding to the target preset segment;
[0193] According to the target preset segment and the time range corresponding to the target preset segment, the sub-track data of the animation scene component to be edited is determined.
[0194] Among them, the preset clip is a pre-configured piece of dynamic data, including but not limited to a preset audio clip, a preset special effect clip, a preset action clip, etc. Exemplarily, when adding a sub-track, the corresponding preset clip selection interface can be automatically displayed according to the type of the sub-track, such as when adding an audio track, the preset audio clip selection interface is displayed, and when adding an action track, the preset action clip selection interface is displayed. The user selects the target preset clip to be added to the sub-track in the preset clip selection interface, and can set the time range corresponding to the target preset clip, or the game program can automatically determine the time range corresponding to the target preset clip. According to the target preset clip and the time range corresponding to the target preset clip, the sub-track data of the animation scene component to be edited is determined, such as the identifier of the target preset clip and the corresponding time range.
[0195] Continue to refer Figure 2 In step S240, during the game running stage, in response to the first trigger condition, a target game animation screen is displayed on the graphical user interface; the target game animation screen includes: a game running scene corresponding to the game editing scene, and an animation virtual object located in the game running scene and controlled by the animation attribute data of the animation scene component; the animation virtual object is a virtual object generated corresponding to the animation scene component.
[0196] Among them, the first trigger condition is the condition for triggering the start of displaying the target game animation screen, that is, the condition for starting to play the target game animation. For example, the first trigger condition can be game event B (such as the virtual character reaching the end of the level). In the game running stage, when game event B occurs, the target game animation is triggered to start playing. The game running scene corresponding to the game editing scene refers to the actual game scene played using the target game scene edited in the game editing scene.
[0197] The animation virtual object is a virtual object generated by the animation scene component in the game running stage, or more specifically, it can be a virtual object generated in the display process of the target game animation screen. Exemplarily, the animation attribute data of the animation scene component can include its position data in different key frames. During the animation playback process, according to the animation attribute data of the animation scene component, the corresponding animation virtual object can be moved to the corresponding position in the game running scene in different key frames to form the target game animation screen where the animation virtual object moves.
[0198] In one embodiment, the game animation editing method may further include the following steps:
[0199] In response to a third editing instruction for a camera track corresponding to the animation virtual camera, determining animation attribute data of the animation virtual camera;
[0200] The above-mentioned displaying the target game animation screen on the graphical user interface may include the following steps:
[0201] In the game running scene, when the animation virtual object is controlled according to the animation attribute data of the animation scene component, the animation virtual camera is controlled according to the animation attribute data of the animation virtual camera to capture the game running scene to form a target game animation picture, and the target game animation picture is displayed.
[0202] Among them, the camera track is a track with the animation virtual camera as the editing object, which is used to edit the animation attribute data of the animation virtual camera on the second timeline. The second timeline is the timeline in the camera track, which represents the time range of the animation attribute data of the animation virtual camera. The user can set the starting point, end point, and duration of the second timeline. In one embodiment, the second timeline can be the total timeline of the target game animation by default. For example, if the total duration of the target game animation is set to 1 minute, the initial second timeline is 1 minute in duration, the starting point is the start time of the target game animation, and the end point is the end time of the target game animation. Afterwards, the user can adjust the starting point or end point position of the second timeline, and can also change the duration of the second timeline. For example, the user can set the starting point of the second timeline to 0:30 and the end point to 0:50, and edit the animation attribute data of the animation virtual camera in the time period of 0:30 to 0:50, then the animation virtual camera can shoot the target game animation screen according to its animation attribute data in the time period of 0:30 to 0:50. In the time period of 0:00 to 0:30 and 0:50 to 1:00, the animation virtual camera may not shoot. For another example, the user can keep the starting point of the second timeline at 0:00 and set the end point to 1:10, and edit the animation attribute data of the animation virtual camera in the time period from 0:00 to 1:10, wherein the time period from 1:00 to 1:10 exceeds the total duration of the target game animation. If the total duration of the target game animation is subsequently set to 70 seconds or longer, the animation virtual camera can shoot according to its animation attribute data in the time period from 1:00 to 1:10.
[0203] In one embodiment, a corresponding camera track may be provided for each animation virtual camera. Alternatively, a corresponding camera track may be provided for the currently edited animation virtual camera, and the camera tracks corresponding to other animation virtual cameras may be hidden. Exemplarily, in the animation editing interface, all animation virtual cameras may be listed, and when the user selects one or more of them for editing, the corresponding camera tracks are displayed in an expanded manner, while the camera tracks corresponding to other animation virtual cameras are not displayed in a folded manner.
[0204] The third editing instruction is an editing instruction for the camera track, which may include but is not limited to the following operation instructions:
[0205] Adjust the second timeline, such as adjusting the start point, end point, and duration of the second timeline.
[0206] Set keyframes on the second timeline. For example, users can add keyframes, delete keyframes, and move keyframes on the second timeline.
[0207] The keyframe can be selected by clicking on a keyframe, or by using a keyframe jump control (such as a control for jumping to the previous keyframe or the next keyframe). The selected keyframe can be highlighted on the second timeline, such as by highlighting. In one embodiment, when adding a keyframe, the current attribute data of the animation virtual camera can be used as its attribute data in the keyframe by default. For example, the user can first adjust the animation virtual camera to a certain posture, and then add a new keyframe on the second timeline, and the posture data of the animation virtual camera in the keyframe is defaulted to the current posture.
[0208] Edit the property data of the animation virtual camera when the key frame is selected, such as moving and rotating the animation virtual camera in the game editing scene to edit its position and direction data, or editing the property value in the property interface of the animation virtual camera. The animation virtual camera is usually not displayed in the game editing scene, so the user can move and rotate the animation virtual camera by adjusting the viewing angle of the game editing scene screen, such as panning the screen, rotating the screen, etc. Alternatively, the animation virtual camera can also be displayed in the game editing scene, such as providing an option for the user to set whether to display the animation virtual camera. When the animation virtual camera is displayed, the user can directly move and rotate the animation virtual camera. For example, when the animation virtual camera is selected, a moving control and a rotation control are provided, and the user uses the control to implement the editing operation of the animation virtual camera.
[0209] The animation attribute data of the animation virtual camera may include its position data at different key frames. During the animation playback process, the animation virtual camera can be adjusted to the corresponding position at different key frames according to the animation attribute data of the animation virtual camera, and the animation virtual camera moves along a certain trajectory (it may also be stationary throughout the whole process) and shoots the game running scene. In other words, the animation virtual object is controlled according to the animation attribute data of the animation scene component, and the animation virtual camera is controlled according to the animation attribute data of the animation virtual camera to capture the game running scene. The dynamic effect of the animation virtual object is superimposed on the operation of the animation virtual camera to shoot the target game animation screen.
[0210] In one embodiment, the above-mentioned response to the third editing instruction of the camera track corresponding to the animation virtual camera to determine the animation attribute data of the animation virtual camera may include the following steps:
[0211] In response to a third editing instruction for the camera track corresponding to the animation virtual camera and a fourth editing instruction for the picture selection track, animation attribute data of the animation virtual camera is determined; the animation attribute data of the animation virtual camera includes: animation attribute data of the animation virtual camera corresponding to one or more time periods in the display process of the target game animation picture and / or corresponding preset animation segment data;
[0212] In the case where the animation virtual object is controlled according to the animation attribute data of the animation scene component in the game running scene, the animation virtual camera is controlled according to the animation attribute data of the animation virtual camera to capture the game running scene to form a target game animation picture, and the target game animation picture is displayed, which may include the following steps:
[0213] In each of the above-mentioned time periods, when the animation virtual object is controlled according to the animation attribute data of the animation scene component in the game running scene, the picture formed by capturing the game running scene by the corresponding animation virtual camera controlled according to the animation attribute data of the corresponding animation virtual camera is displayed, and / or the preset animation clip determined according to the corresponding preset animation clip data.
[0214] Among them, the screen selection track is a track for integrating and editing the animated virtual camera and / or the preset animation clip, and is used to edit the animated virtual camera and / or the corresponding preset animation clip corresponding to one or more time periods on the third timeline. The third timeline is the timeline in the screen selection track, which represents the time range of the screen selection data and can represent the display process of the target game animation screen. In one embodiment, the third timeline can be the total timeline of the target game animation by default. For example, if the total duration of the target game animation is set to 1 minute, the initial third timeline is 1 minute in duration, the starting point is the start time of the target game animation, and the end point is the end time of the target game animation.
[0215] The picture selection track can be edited in a fragmented manner. The user can add a fragment to the picture selection track, which can be a period of time corresponding to a certain animation virtual camera, or a period of time corresponding to a preset animation clip. Exemplarily, in response to a fragment addition instruction on the picture selection track, candidate addition objects are provided, including animation virtual cameras and preset animation clips; in response to a selection instruction in the candidate addition objects, a target addition object is determined from the candidate addition objects, and the target time period on the third timeline is determined to correspond to the target addition object. If the user selects animation virtual camera 2 from the candidate addition objects, it is determined that the target time period corresponds to animation virtual camera 2.
[0216] In one embodiment, the target time period may be determined in at least one of the following ways: determined according to time period setting information before the segment adding instruction, such as the user can manually set the start and end points of the target time period before triggering the segment adding instruction; determined according to time period setting information after selecting the target adding object, such as the user can set the start and end points of the target time period after selecting the target adding object from the candidate adding objects; determined according to the current editing time and / or other set time periods on the third timeline, for example, Figure 5 The animation editing interface shown in the figure is provided with a time indicator line ( Figure 5 The time indicator line indicates 00:23 in the middle), and the user can move the time indicator line, which indicates the current editing time. If the user triggers the clip adding instruction and does not manually set the start and end points of the target time point, the current editing time can be used as the start point of the target time period, and the duration of the target time period can be set to the default duration (such as 10 seconds), or the end point of the target time period can be set to the previous frame of the next time period.
[0217] For example, the user edits the screen selection track to determine three time periods of 0:00-0:10, 0:10-0:40, and 0:40-1:00 on the third time axis, and sets the first time period to correspond to animation virtual camera 1, the second time period to correspond to preset animation segment A, and the third time period to correspond to animation virtual camera 2. When playing the target game animation, the time period of 0:00-0:10 displays the shooting picture of animation virtual camera 1, the time period of 0:10-0:40 displays the picture of preset animation segment data A, and the time period of 0:40-1:00 displays the shooting picture of animation virtual camera 2.
[0218] In addition, the user can also adjust the start point, end point, and duration of the third timeline. In one embodiment, the total timeline of the target game animation can remain consistent with the third timeline. For example, if the user adjusts the third timeline to 0:00-0:50, the total timeline of the target game animation is also changed from the original 0:00-1:00 to 0:00-0:50. In one embodiment, if the third timeline does not cover the entire total timeline of the target game animation, for the time range not covered by the third timeline, the corresponding animation virtual camera or preset animation segment data can be selected according to the preset rules.
[0219] In one embodiment, the animation attribute data of the animation virtual camera may include: the animation attribute data of the animation virtual camera corresponding to one or more time periods in the display process of the target game animation screen and / or the corresponding preset animation clip data. Among them, the one or more time periods in the display process of the target game animation screen may be equivalent to the time period set on the third time axis. According to the user's settings, each time period may correspond to one or more animation virtual cameras, or to one or more preset animation clips. In the animation attribute data of the animation virtual camera, the information of the time period may be saved, such as the starting and ending time of each time period. For the time period corresponding to the animation virtual camera, the animation attribute data of the corresponding animation virtual camera may be saved, and the identification information such as the ID of the corresponding animation virtual camera may also be saved. For the time period corresponding to the preset animation clip, the corresponding preset animation clip data may be saved, including but not limited to the identification information such as the ID of the preset animation clip, the video data of the preset animation clip, the starting and ending time of the time period called in the preset animation clip, etc.
[0220] In one embodiment, in response to a fragment adding instruction on a picture selection track, candidate adding objects are provided; the candidate adding objects may include an animated virtual camera and a preset animation fragment; in response to a selection instruction in the candidate adding objects, a target adding object is determined from the candidate adding objects, and data of the target adding object corresponding to the target time period on the third time axis is determined; the target adding object is an animated virtual camera and / or a preset fragment animation, and the data of the target adding object is animation attribute data and / or corresponding preset animation fragment data.
[0221] The target time period may be determined in at least one of the following ways: according to the time period setting information before the segment adding instruction, such as the user can manually set the start and end points of the target time period before triggering the segment adding instruction; according to the time period setting information after selecting the target adding object, such as the user can set the start and end points of the target time period after selecting the target adding object from the candidate adding objects; according to the current editing time and / or other set time periods on the third timeline, for example, Figure 5 The animation editing interface shown in the figure is provided with a time indicator line ( Figure 5 The time indicator line indicates 00:23 in the middle), and the user can move the time indicator line, which indicates the current editing time. If the user triggers the clip adding instruction and does not manually set the start and end points of the target time point, the current editing time can be used as the start point of the target time period, and the duration of the target time period can be set to the default duration (such as 10 seconds), or the end point of the target time period can be set to the previous frame of the next time period.
[0222] In one embodiment, the editing instruction for the picture selection track may include: setting one or more time periods in the picture selection track, and setting the animation virtual camera or preset animation clip corresponding to the time period. The user can add a time period in the picture selection track, and the optional animation virtual camera and preset animation clip will pop up. The user clicks to select, and the added time period is matched to the selected animation virtual camera and preset animation clip.
[0223] In one embodiment, the preset animation clip data is in the picture selection track or the preset animation track (such as Figure 7B As shown in the figure, after adding a clip and selecting a preset animation clip, the preset animation track corresponding to the preset animation clip is triggered and generated. The preset animation clip can be a pre-made animation clip based on the current game editing scene; it can also be a pre-made animation clip within the entire game map corresponding to the current game editing scene. Taking the current game editing scene as an example, the preset animation clip pair data may include but is not limited to the animation attribute data of the scene components in the current game editing scene, the animation attribute data of the animation virtual camera, etc.
[0224] In one embodiment, a game scene component is provided in the game editing scene; the game scene component has game running attribute data, and the game scene component is configured to generate a corresponding game virtual object during the game running stage; the game animation editing method may further include the following steps:
[0225] In response to the game running instruction, a game running screen is displayed in the graphical user interface; the game running screen includes: a game running scene corresponding to the game editing scene, and a game virtual object located in the game running scene and controlled according to the game running attribute data.
[0226] Among them, the game running instruction can be an instruction to trigger the start of the game process, such as selecting the target game scene and clicking to start the game, or it can be an operation instruction of the user during the game process, such as an instruction to operate a virtual character to run, jump, etc. The game running screen refers to the game screen during the game process, such as the screen where the user operates the virtual character to pass the level. During the game process, the game virtual object corresponding to the game scene component is controlled according to the game running attribute data of the game scene component. For example, scene component A is a game scene component, and its game running attribute data includes motion path 1. During the game process, the game virtual object A corresponding to the scene component A is controlled to move according to the motion path 1, and the motion picture of the game virtual object A is displayed in the game running screen.
[0227] Through the two independent sets of attribute data, namely, game running attribute data and animation attribute data, the game process and animation playback process are realized respectively, so that the two processes do not interfere with each other, thereby ensuring the user's game operation and experience.
[0228] In one embodiment, the game animation editing method may further include the following steps:
[0229] In response to the animation information setting instruction, determine one or more of the following animation information: animation name, animation duration, first trigger condition, second trigger condition, animation trigger event; the first trigger condition is the condition for triggering the start of displaying the target game animation screen, and the second trigger condition is the condition for triggering the stop of playing the target game animation screen; the trigger event is an event triggered in response to the end of the display process of the target game animation screen.
[0230] The animation information setting instruction may be an instruction triggered in the animation management interface. The animation management interface is an interface displayed in response to the animation management trigger instruction in the animation editing interface. For example, clicking the setting control or the saving control in the animation editing interface may trigger a jump to the animation management interface. Alternatively, when the animation editing function is turned on in the game editing scene, the animation management interface may be entered first. In the animation management interface, the user may select an existing game animation for editing, or create a new game animation for editing. Figure 8 A schematic diagram of an animation management interface is shown, in which users can set animation information, such as plot name for animation name, animation length for animation duration, event triggerable for first trigger condition, and end-trigger event for animation trigger event. In addition, users can also set animation information in the animation editing interface or other interfaces.
[0231] The exemplary embodiment of the present disclosure also provides a game animation editing device. Fig. 9 As shown, the game animation editing device 900 includes the following program modules:
[0232] A game editing scene display processing module 910 is configured to control the display of the game editing scene in the graphical user interface;
[0233] The animation scene component determination module 920 is configured to respond to the first editing instruction, determine the animation scene component, and generate a component track corresponding to the animation scene component; the animation scene component includes at least one of the following: a scene component determined according to the existing scene component in the game editing scene, a scene component generated in response to the animation component generation instruction; the component track is used to edit the animation attribute data of the animation scene component on the first timeline;
[0234] The animation attribute data editing processing module 930 is configured to determine the animation attribute data of the animation scene component in response to the second editing instruction of the component track;
[0235] The game animation screen display processing module 940 is configured to display a target game animation screen on the graphical user interface in response to a first trigger condition during the game running stage; the target game animation screen includes: a game running scene corresponding to the game editing scene, and an animation virtual object located in the game running scene and controlled according to the animation attribute data of the animation scene component; the animation virtual object is a virtual object generated corresponding to the animation scene component.
[0236] In one embodiment, the first editing instruction includes a first component track creation instruction; in response to the first editing instruction, the animation scene component is determined, and a component track corresponding to the animation scene component is generated, including: in response to the first component track creation instruction, the animation scene component is determined according to one or more scene components in the game editing scene, and a component track corresponding to the animation scene component is created.
[0237] In one embodiment, in response to a first component track creation instruction, an animation scene component is determined based on one or more scene components in a game editing scene, and a component track corresponding to the animation scene component is created, including: responding to a scene component selection instruction in a game editing scene in an animation editing state, determining a specified scene component from the scene components in the game editing scene; if the specified scene component does not have a corresponding component track, providing a first function control; in response to a trigger instruction for the first function control, determining the animation scene component based on the specified scene, and creating a component track corresponding to the animation scene component.
[0238] In one implementation, the animation scene component determination module 920 is further configured to: if the specified scene component has a corresponding component track, display the component track corresponding to the specified scene component.
[0239] In one embodiment, the animation scene component determination module 920 is further configured to: respond to an animation editing trigger instruction in the game editing scene and control entering into an animation editing state.
[0240] In one embodiment, the animation scene component determination module 920 is further configured to: respond to an animation editing trigger instruction in the game editing scene to display an animation editing interface; respond to a closing instruction for the animation editing interface to exit the animation editing state.
[0241] In one embodiment, in response to a first component track creation instruction, an animation scene component is determined based on one or more scene components in a game editing scene, and a component track corresponding to the animation scene component is created, including: responding to a trigger instruction for a second function control, controlling a jump to the game editing scene; responding to a scene component selection instruction in the game editing scene, determining a specified scene component from the scene components in the game editing scene; determining an animation scene component based on the specified scene component, and creating a component track corresponding to the animation scene component.
[0242] In one embodiment, the second function control is set in the animation editing interface, and the animation editing interface is an interface displayed in response to the animation editing trigger instruction in the game editing scene; responding to the trigger instruction of the second function control, controlling the jump to the game editing scene, including: responding to the trigger instruction of the second function control, controlling the jump from the animation editing interface to the game editing scene.
[0243] In one embodiment, the animation editing interface provides a track type selection control; the animation scene component determination module 920 is further configured to: in response to selecting a scene component type through the track type selection control, provide a second function control in the animation editing interface.
[0244] In one embodiment, the first editing instruction includes a second component track creation instruction; in response to the first editing instruction, the animation scene component is determined, and a component track corresponding to the animation scene component is generated, including: in response to the second component track creation instruction, a new scene component is generated and used as an animation scene component, and a component track corresponding to the animation scene component is created.
[0245] In one embodiment, in response to a second component track creation instruction, a new scene component is generated and used as an animation scene component, and a component track corresponding to the animation scene component is created, including: in response to a trigger instruction for a third function control, a scene component control interface is displayed; the scene component control interface includes a plurality of preset scene component controls; in response to a selection instruction in the scene component control interface, a target scene component control is determined in the scene component control, and a scene component corresponding to the target scene component control is generated; and the generated scene component is used as an animation scene component to create a component track corresponding to the animation scene component.
[0246] In one embodiment, the third function control is set in the animation editing interface, which is an interface displayed in response to the animation editing trigger instruction in the game editing scene; the animation editing interface provides a track type selection control; the animation scene component determination module 920 is also configured to: provide a third function control in the animation editing interface in response to selecting the scene component type through the track type selection control.
[0247] In one embodiment, the animation scene component determination module 920 is further configured to: in response to selecting a scene component type through a track type selection control, display a component track in the animation editing interface.
[0248] In one embodiment, the animation scene component determination module 920 is further configured to perform at least one of the following steps: displaying the component track corresponding to the animation scene component to be edited in the animation scene component; displaying the component track corresponding to all the animation scene components; displaying the component track corresponding to the animation scene component to be edited in the animation scene component as a first state, and displaying the component tracks corresponding to other animation scene components as a second state.
[0249] In one embodiment, in response to a second editing instruction to a component track, animation property data of an animation scene component is determined, including: in response to a first property editing trigger instruction to a component track corresponding to an animation scene component to be edited in the animation scene component, a property interface of the animation scene component to be edited is displayed; in response to an animation property editing instruction in the property interface, animation property data of the animation scene component to be edited is determined.
[0250] In one embodiment, the property interface provides a first scene jump control; the animation property data editing processing module 930 is also configured to: respond to a trigger instruction for the first scene jump control, control the jump to the game editing scene; respond to an editing instruction for the animation scene component to be edited in the game editing scene, and determine the animation property data of the animation scene component to be edited.
[0251] In one embodiment, the game editing scene display processing module 910 is also configured to: after the control jumps to the game editing scene, display the game editing scene screen shot by the target virtual camera; the target virtual camera is a virtual camera determined from multiple candidate virtual cameras, or is a preset virtual camera.
[0252] In one embodiment, the game editing scene display processing module 910 is also configured to: respond to a switching instruction to the target virtual camera, and jump from the game editing scene screen shot by the target virtual camera before the switching to the game editing scene screen shot by the target virtual camera after the switching.
[0253] In one embodiment, multiple candidate virtual cameras include an animation virtual camera and / or a preset virtual camera; the animation virtual camera is a virtual camera used to shoot a target game animation screen; displaying the game editing scene screen shot by the target virtual camera includes: if the target virtual camera is an animation virtual camera, then controlling the animation virtual camera to shoot the game editing scene according to the animation attribute data of the animation virtual camera to form a game editing scene screen; if the target virtual camera is a preset virtual camera, then controlling the preset virtual camera to shoot the game editing scene according to the screen perspective control instruction to form a game editing scene screen.
[0254] In one embodiment, the animation attribute data editing processing module 930 is further configured to: if the target virtual camera is an animation virtual camera, hide the picture angle control control control used to trigger the picture angle control instruction, or set it to an inoperable state.
[0255] In one embodiment, the animation attribute data editing processing module 930 is also configured to: respond to switching the current editing object from the animation scene component to be edited to the animation virtual camera, display the picture perspective control control, or switch the picture perspective control control from an inoperable state to an operable state; when the animation virtual camera is the current editing object, respond to the operation instructions of the picture perspective control control, and determine the animation attribute data of the animation virtual camera.
[0256] In one embodiment, in response to a second editing instruction to a component track, animation property data of an animation scene component is determined, including: responding to a key frame editing instruction to a component track corresponding to an animation scene component to be edited in the animation scene component, and determining the property data of the animation scene component to be edited in the key frame; and determining the animation property data of the animation scene component to be edited according to the property data of the animation scene component to be edited in the key frame.
[0257] In one embodiment, the animation property data of the animation scene component includes sub-track data of the animation scene component; in response to a second editing instruction for the component track, the animation property data of the animation scene component is determined, including: responding to a sub-track adding instruction for the component track corresponding to the animation scene component to be edited, adding a sub-track of a specified type to the animation scene component to be edited; and determining the sub-track data of the animation scene component to be edited in response to the editing instruction for the sub-track.
[0258] In one embodiment, in response to an editing instruction for a sub-track, determining sub-track data of an animation scene component to be edited includes: in response to an instruction to add a preset segment to the sub-track, determining a target preset segment to be added to the sub-track and a time range corresponding to the target preset segment; and determining the sub-track data of the animation scene component to be edited according to the target preset segment and the time range corresponding to the target preset segment.
[0259] In one embodiment, if the animation scene component to be edited is a character component, the sub-track of the specified type includes one or more of an audio track, a special effect track, and an action track; if the animation scene component to be edited is a non-character component, the sub-track of the specified type includes one or more of an audio track and a special effect track.
[0260] In one embodiment, the animation attribute data editing and processing module 930 is further configured to: respond to a third editing instruction to the camera track corresponding to the animation virtual camera, determine the animation attribute data of the animation virtual camera; display the target game animation picture on the graphical user interface, including: in the case of controlling the animation virtual object according to the animation attribute data of the animation scene component in the game running scene, controlling the animation virtual camera according to the animation attribute data of the animation virtual camera to capture the game running scene to form the target game animation picture, and displaying the target game animation picture.
[0261] In one embodiment, in response to a third editing instruction of a camera track corresponding to the animation virtual camera, the animation attribute data of the animation virtual camera is determined, including: in response to the third editing instruction of the camera track corresponding to the animation virtual camera and the fourth editing instruction of the picture selection track, the animation attribute data of the animation virtual camera is determined; the animation attribute data of the animation virtual camera includes: the animation attribute data of the animation virtual camera corresponding to one or more time periods in the display process of the target game animation picture and / or the corresponding preset animation clip data; in the case of controlling the animation virtual object according to the animation attribute data of the animation scene component in the game running scene, controlling the animation virtual camera according to the animation attribute data of the animation virtual camera to capture the game running scene to form the target game animation picture, and displaying the target game animation picture, including: in each time period, in the case of controlling the animation virtual object according to the animation attribute data of the animation scene component in the game running scene, displaying the picture formed by controlling the corresponding animation virtual camera according to the animation attribute data of the corresponding animation virtual camera to capture the game running scene, and / or the preset animation clip determined according to the corresponding preset animation clip data.
[0262] In one embodiment, a game scene component is provided in a game editing scene; the game scene component has game running attribute data, and the game scene component is configured to generate corresponding game virtual objects during the game running stage; the device is also used to: respond to game running instructions and display a game running screen in a graphical user interface; the game running screen includes: a game running scene corresponding to the game editing scene, and a game virtual object located in the game running scene and controlled according to the game running attribute data.
[0263] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.
[0264] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0265] The exemplary embodiments of the present disclosure also provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the game editing method is implemented.
[0266] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory, and the like.
[0267] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.
[0268] The code of the computer program can be written in one or more programming languages. Programming languages such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).
[0269] Computer programs can be carried or transmitted through electrical, magnetic, optical, electromagnetic, infrared, etc. Electronic devices can convert signals carrying computer programs into digital signals and then run the computer programs. When the computer program is running on an electronic device, its code is used to enable the electronic device to execute (more specifically, it can enable the processor of the electronic device to execute) the method steps of various exemplary embodiments of the present disclosure, such as the above-mentioned game editing method, which includes the following steps: step S210, controlling the display of the game editing scene in the graphical user interface; step S220, responding to the first editing instruction, determining the animation scene component, and generating a component track corresponding to the animation scene component; the animation scene component includes at least one of the following: a scene component determined according to the existing scene component in the game editing scene, and a scene component generated in response to the animation component generation instruction; the component track is used to edit the animation attribute data of the animation scene component on the first timeline; step S230, responding to the second editing instruction to the component track, determining the animation attribute data of the animation scene component; step S240, in the game running stage, responding to the first trigger condition, displaying the target game animation screen on the graphical user interface; the target game animation screen includes: a game running scene corresponding to the game editing scene, and an animation virtual object located in the game running scene and controlled according to the animation attribute data of the animation scene component; the animation virtual object is a virtual object generated corresponding to the animation scene component.
[0270] By implementing the above method steps through a computer program, on the one hand, an animation editing function is provided for users to use, which is combined with the editing function of the game scene. Users can edit animations related to the game scene in the process of editing the game scene, so that the production of game animations is no longer completely dependent on game developers, and the output of game animations is improved. On the other hand, a component track corresponding to the animation scene component is provided, so that users can easily edit the animation attribute data of the animation scene component through the component track, reducing the difficulty of operation and the learning cost of the animation editing function, and supporting targeted editing of different animation scene components, improving the freedom of user editing, and facilitating the realization of diversified animation content. On the other hand, this solution does not need to save the target game animation as video data, but saves the animation attribute data, and collects the target game animation screen in real time according to the animation attribute data during the game running stage, thereby reducing the storage overhead of the terminal device or server, and the screen can reflect the real-time situation in the game running scene, and its performance effect is better, which is conducive to enhancing the user's immersion.
[0271] The exemplary embodiments of the present disclosure also provide an electronic device, such as the terminal device 110 or the server 120 described above. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as a computer program. The processor executes the method steps of various exemplary embodiments of the present disclosure by executing the executable instructions. In addition, the electronic device may also include a display for displaying a graphical user interface.
[0272] Reference below Fig.10 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Fig.10 The electronic device 1000 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0273] like Fig.10 As shown, the electronic device 1000 may include: a processor 1010 , a memory 1020 , a bus 1030 , an I / O (input / output) interface 1040 , a network adapter 1050 , and a display 1060 .
[0274] The memory 1020 may include a volatile memory, such as a RAM 1021, a cache unit 1022, and may also include a non-volatile memory, such as a ROM 1023. The memory 1020 may also include one or more program modules 1024, such program modules 1024 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 1024 may include each module in the above-mentioned device.
[0275] The processor 1010 may include one or more processing units. For example, the processor 1010 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc.
[0276] Processor 1010 can be used to execute executable instructions stored in memory 1020, such as the above-mentioned game editing method, which includes the following steps: step S210, controlling the display of the game editing scene in the graphical user interface; step S220, responding to the first editing instruction, determining the animation scene component, and generating a component track corresponding to the animation scene component; the animation scene component includes at least one of the following: a scene component determined according to the existing scene component in the game editing scene, and a scene component generated in response to the animation component generation instruction; the component track is used to edit the animation attribute data of the animation scene component on the first timeline; step S230, responding to the second editing instruction to the component track, determining the animation attribute data of the animation scene component; step S240, in the game running stage, responding to the first trigger condition, displaying the target game animation screen on the graphical user interface; the target game animation screen includes: a game running scene corresponding to the game editing scene, and an animation virtual object located in the game running scene and controlled according to the animation attribute data of the animation scene component; the animation virtual object is a virtual object generated corresponding to the animation scene component.
[0277] By executing the above method steps through the processor 1010, on the one hand, an animation editing function is provided for users to use, which is combined with the editing function of the game scene. The user can edit the animation related to the game scene in the process of editing the game scene, so that the production of the game animation is no longer completely dependent on the game developers, and the output of the game animation is improved. On the other hand, a component track corresponding to the animation scene component is provided, so that the user can easily edit the animation attribute data of the animation scene component through the component track, reduce the difficulty of operation and the learning cost of the animation editing function, and support targeted editing of different animation scene components, improve the freedom of user editing, and facilitate the realization of diversified animation content. On the other hand, this solution does not need to save the target game animation as video data, but saves the animation attribute data, and collects the target game animation screen in real time according to the animation attribute data during the game running stage, thereby reducing the storage overhead of the terminal device or server, and the screen can reflect the real-time situation in the game running scene, and its performance effect is better, which is conducive to enhancing the user's immersion.
[0278] The bus 1030 is used to realize the connection between different components of the electronic device 1000, and may include a data bus, an address bus, and a control bus.
[0279] The electronic device 1000 can communicate with one or more external devices 1100 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 1040 .
[0280] The electronic device 1000 can communicate with one or more networks through the network adapter 1050. For example, the network adapter 1050 can provide mobile communication solutions such as 3G / 4G / 5G, or provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 1050 can communicate with other modules of the electronic device 1000 through the bus 1030.
[0281] The electronic device 1000 can display a graphical user interface through the display 1060, such as displaying a game editing scene.
[0282] although Fig.10 Not shown, other hardware and / or software modules may also be provided in the electronic device 1000, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0283] As can be seen from the above, the technical solution of the present disclosure can be implemented as a method, an apparatus, a system, a computer program product, a storage medium, an electronic device, etc. Those skilled in the art can understand that various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software, such as being respectively referred to as a "circuit", "module" or "system".
[0284] It should be understood that the present disclosure is not limited to the specific method steps or structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from the scope thereof. Those skilled in the art will easily think of other embodiments based on the specific embodiments provided by the present disclosure. Therefore, the specific embodiments provided by the present disclosure are only exemplary, and the scope and spirit of the present disclosure are indicated by the claims, and any variations, uses or adaptive changes of the present disclosure should be covered, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the present disclosure.
Claims
1. A game animation editing method, characterized in that: Providing a graphical user interface through a terminal device, the method comprising: Controlling display of a game editing scene in the graphical user interface; In response to the first editing instruction, an animation scene component is determined, and a component track corresponding to the animation scene component is generated; the animation scene component includes at least one of the following: a scene component determined according to an existing scene component in the game editing scene, a scene component generated in response to the animation component generation instruction; the component track is used to edit the animation attribute data of the animation scene component on the first timeline; In response to a second editing instruction for the component track, determining animation property data of the animation scene component; During the game running stage, in response to the first trigger condition, a target game animation screen is displayed on the graphical user interface; the target game animation screen includes: a game running scene corresponding to the game editing scene, and an animation virtual object located in the game running scene and controlled according to the animation attribute data of the animation scene component; the animation virtual object is a virtual object generated corresponding to the animation scene component.
2. The method according to claim 1, characterized in that: The first editing instruction includes a first component track creation instruction; the step of responding to the first editing instruction, determining the animation scene component, and generating a component track corresponding to the animation scene component includes: In response to the first component track creation instruction, an animation scene component is determined according to one or more scene components in the game editing scene, and a component track corresponding to the animation scene component is created.
3. The method according to claim 2, characterized in that The step of responding to the first component track creation instruction, determining an animation scene component according to one or more scene components in the game editing scene, and creating a component track corresponding to the animation scene component, includes: In response to a scene component selection instruction in the game editing scene in an animation editing state, determining a designated scene component from the scene components in the game editing scene; If the specified scene component does not have a corresponding component track, providing a first functional control; In response to the trigger instruction of the first function control, an animation scene component is determined according to the specified scene, and a component track corresponding to the animation scene component is created.
4. The method according to claim 3, characterized in that The method further comprises: If the specified scene component has a corresponding component track, the component track corresponding to the specified scene component is displayed.
5. The method according to claim 3 or 4, characterized in that: The method further comprises: In response to an animation editing trigger instruction in the game editing scene, control entry into the animation editing state.
6. The method according to claim 5, characterized in that The method further comprises: In response to an animation editing trigger instruction in the game editing scene, an animation editing interface is displayed; In response to a closing instruction for the animation editing interface, the animation editing state is exited.
7. The method according to claim 2, characterized in that The step of responding to the first component track creation instruction, determining an animation scene component according to one or more scene components in the game editing scene, and creating a component track corresponding to the animation scene component, includes: In response to a trigger instruction of the second function control, control jumping to the game editing scene; In response to a scene component selection instruction in the game editing scene, determining a specified scene component from the scene components in the game editing scene; The animation scene component is determined according to the specified scene component, and a component track corresponding to the animation scene component is created.
8. The method according to claim 7, characterized in that The second function control is set in an animation editing interface, and the animation editing interface is an interface displayed in response to an animation editing trigger instruction in the game editing scene; The step of responding to the trigger instruction of the second function control and controlling the jump to the game editing scene comprises: In response to a trigger instruction for a second function control, control is performed to jump from the animation editing interface to the game editing scene.
9. The method according to claim 8, characterized in that The animation editing interface provides a track type selection control; the method further includes: In response to selecting a scene component type through the track type selection control, providing the second function control in the animation editing interface.
10. The method according to claim 1, characterized in that The first editing instruction includes a second component track creation instruction; the step of responding to the first editing instruction, determining the animation scene component, and generating a component track corresponding to the animation scene component includes: In response to the second component track creation instruction, a new scene component is generated and used as the animation scene component, and a component track corresponding to the animation scene component is created.
11. The method according to claim 10, characterized in that The step of responding to the second component track creation instruction, generating a new scene component as an animation scene component, and creating a component track corresponding to the animation scene component includes: In response to the trigger instruction of the third function control, the scene component control interface is displayed; the scene component control interface includes a preset multi- In response to a selection instruction in the scene component control interface, a target scene component control is determined in the scene component control, and a scene component corresponding to the target scene component control is generated; The generated scene component is used as an animation scene component, and a component track corresponding to the animation scene component is created.
12. The method according to claim 11, characterized in that The third function control is set in the animation editing interface, and the animation editing interface is an interface displayed in response to the animation editing trigger instruction in the game editing scene; The animation editing interface provides a track type selection control; the method further includes: In response to selecting a scene component type through the track type selection control, the third function control is provided in the animation editing interface.
13. The method according to claim 9 or 12, characterized in that: The method further comprises: In response to selecting a scene component type through the track type selection control, the component track is displayed in the animation editing interface.
14. The method according to claim 1, characterized in that The method further comprises at least one of the following steps: Display the component track corresponding to the animation scene component to be edited in the animation scene component; Display the component tracks corresponding to all the animation scene components; The component track corresponding to the animation scene component to be edited in the animation scene component is displayed in a first state, and the component tracks corresponding to other animation scene components are displayed in a second state.
15. The method according to claim 1, characterized in that The step of determining the animation property data of the animation scene component in response to the second editing instruction of the component track includes: In response to a first property editing trigger instruction of a component track corresponding to the animation scene component to be edited in the animation scene component, displaying a property interface of the animation scene component to be edited; In response to the animation property editing instruction in the property interface, the animation property data of the animation scene component to be edited is determined.
16. The method according to claim 15, characterized in that The property interface provides a first scene jump control; the method further includes: In response to a trigger instruction of the first scene jump control, controlling the jump to the game editing scene; In response to an editing instruction for the animation scene component to be edited in the game editing scene, animation attribute data of the animation scene component to be edited is determined.
17. The method according to claim 15, characterized in that After control jumps to the game editing scene, the method further includes: The game editing scene screen shot by the target virtual camera is displayed; the target virtual camera is a virtual camera determined from multiple candidate virtual cameras, or is a preset virtual camera.
18. The method according to claim 17, characterized in that The method further comprises: In response to the switching instruction of the target virtual camera, the game editing scene screen shot by the target virtual camera before the switching jumps to the game editing scene screen shot by the target virtual camera after the switching.
19. The method according to claim 17, characterized in that The multiple candidate virtual cameras include an animation virtual camera and / or the preset virtual camera; the animation virtual camera is a virtual camera used to shoot the target game animation screen; The display of the game editing scene screen shot by the target virtual camera includes: If the target virtual camera is the animation virtual camera, controlling the animation virtual camera to shoot the game editing scene according to the animation attribute data of the animation virtual camera to form the game editing scene screen; If the target virtual camera is the preset virtual camera, the preset virtual camera is controlled to shoot the game editing scene according to the picture angle control instruction to form the game editing scene picture.
20. The method according to claim 19, characterized in that The method further comprises: If the target virtual camera is the animation virtual camera, the picture angle control control used to trigger the picture angle control instruction is hidden or set to an inoperable state.
21. The method according to claim 20, characterized in that The method further comprises: In response to switching the current editing object from the to-be-edited animation scene component to the animation virtual camera, displaying the picture perspective control control, or switching the picture perspective control control from an inoperable state to an operable state; In the case where the animation virtual camera is the current editing object, the animation attribute data of the animation virtual camera is determined in response to the operation instruction of the picture viewing angle control control.
22. The method according to claim 1, characterized in that The step of determining the animation property data of the animation scene component in response to the second editing instruction of the component track includes: In response to a key frame editing instruction for a component track corresponding to the animation scene component to be edited in the animation scene component, determining attribute data of the animation scene component to be edited at a key frame; The animation attribute data of the animation scene component to be edited is determined according to the attribute data of the animation scene component to be edited in the key frame.
23. The method according to claim 1, characterized in that The animation attribute data of the animation scene component includes sub-track data of the animation scene component; The step of determining the animation property data of the animation scene component in response to the second editing instruction of the component track includes: In response to a sub-track adding instruction of a component track corresponding to the animation scene component to be edited, adding a sub-track of a specified type to the animation scene component to be edited; In response to the editing instruction for the sub-track, the sub-track data of the animation scene component to be edited is determined.
24. The method according to claim 23, characterized in that The step of responding to the editing instruction of the sub-track and determining the sub-track data of the animation scene component to be edited comprises: In response to an instruction to add a preset segment to the sub-track, determining a target preset segment to be added to the sub-track and a time range corresponding to the target preset segment; The sub-track data of the animation scene component to be edited is determined according to the target preset segment and the time range corresponding to the target preset segment.
25. The method according to claim 23, characterized in that If the animation scene component to be edited is a character component, the sub-track of the specified type includes one or more of an audio track, a special effect track, and an action track; if the animation scene component to be edited is a non-character component, the sub-track of the specified type includes one or more of an audio track and a special effect track.
26. The method according to claim 1, characterized in that The method further comprises: In response to a third editing instruction for a camera track corresponding to the animation virtual camera, determining animation attribute data of the animation virtual camera; The step of displaying the target game animation screen on the graphical user interface comprises: When the animation virtual object is controlled according to the animation attribute data of the animation scene component in the game running scene, the animation virtual camera is controlled according to the animation attribute data of the animation virtual camera to capture the game running scene to form the target game animation picture, and the target game animation picture is displayed.
27. The method according to claim 26, characterized in that The step of responding to the third editing instruction of the camera track corresponding to the animation virtual camera and determining the animation attribute data of the animation virtual camera comprises: In response to a third editing instruction for a camera track corresponding to the animation virtual camera and a fourth editing instruction for a picture selection track, animation attribute data of the animation virtual camera is determined; the animation attribute data of the animation virtual camera includes: animation attribute data of the animation virtual camera corresponding to one or more time periods during the display process of the target game animation picture and / or corresponding preset animation segment data; In the case where the animation virtual object is controlled according to the animation attribute data of the animation scene component in the game running scene, the animation virtual camera is controlled according to the animation attribute data of the animation virtual camera to capture the game running scene to form the target game animation picture, and the target game animation picture is displayed, including: In each of the time periods, when the animation virtual object is controlled according to the animation attribute data of the animation scene component in the game running scene, a picture formed by capturing the game running scene by the corresponding animation virtual camera controlled according to the animation attribute data of the corresponding animation virtual camera is displayed, and / or a preset animation clip determined according to the corresponding preset animation clip data is displayed.
28. The method according to claim 1, characterized in that The game editing scene is provided with a game scene component; the game scene component has game running attribute data, and the game scene component is configured to generate a corresponding game virtual object during the game running stage; The method further comprises: In response to the game running instruction, a game running screen is displayed in the graphical user interface; the game running screen includes: a game running scene corresponding to the game editing scene, and the game virtual object located in the game running scene and controlled according to the game running attribute data.
29. A game animation editing device, characterized in that: Providing a graphical user interface through a terminal device, the device comprises: A game editing scene display processing module, configured to control the display of the game editing scene in the graphical user interface; The animation scene component determination module is configured to respond to the first editing instruction, determine the animation scene component, and generate a component track corresponding to the animation scene component; the animation scene component includes at least one of the following: a scene component determined according to the existing scene components in the game editing scene, a scene component generated in response to the animation component generation instruction; the component track is used to edit the animation attribute data of the animation scene component on the first timeline; An animation attribute data editing processing module is configured to determine the animation attribute data of the animation scene component in response to a second editing instruction to the component track; The game animation screen display processing module is configured to display a target game animation screen on the graphical user interface in response to a first trigger condition during the game running stage; the target game animation screen includes: a game running scene corresponding to the game editing scene, and an animation virtual object located in the game running scene and controlled according to the animation attribute data of the animation scene component; the animation virtual object is a virtual object generated corresponding to the animation scene component.
30. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 28 is implemented.
31. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 28 by executing the executable instructions.
