Game replay control method, device, equipment and storage medium

文档序号:892735 发布日期:2021-02-26 浏览:17次 中文

阅读说明:本技术 游戏重玩控制方法、装置、设备及存储介质 (Game replay control method, device, equipment and storage medium ) 是由 张泽权 于 2020-11-23 设计创作,主要内容包括:本申请提供一种游戏重玩控制方法、装置、设备及存储介质,涉及游戏技术领域。该方法包括:响应玩家在游戏回放界面的预设选择操作,确定游戏重玩起始时刻及目标重玩角色;将游戏回放界面切换至游戏比赛界面,并基于游戏历史数据在游戏比赛界面上还原游戏重玩起始时刻对应的游戏场景;响应针对游戏比赛界面输入的目标重玩角色控制操作,以控制目标重玩角色的游戏行为,并同时,基于预设游戏逻辑控制除目标重玩角色之外的虚拟角色的游戏行为。通过玩家输入的预设选择操作,可使玩家有针对性的对感兴趣的游戏场景和角色进行重玩,提高玩家的游戏体验度。通过预设游戏逻辑控制除目标重玩角色之外的虚拟角色的游戏行为,可以提高对虚拟角色的还原度。(The application provides a game replay control method, device, equipment and storage medium, and relates to the technical field of games. The method comprises the following steps: responding to preset selection operation of a player on a game playback interface, and determining game replay starting time and target replay roles; switching the game playback interface to a game competition interface, and restoring a game scene corresponding to the game replay starting moment on the game competition interface based on the game history data; the game play control operation is performed in response to a target replay character input for the game tournament interface to control the game behavior of the target replay character, and at the same time, the game behavior of the virtual character other than the target replay character is controlled based on a preset game logic. Through the preset selection operation input by the player, the player can replay interesting game scenes and roles in a targeted manner, and the game experience of the player is improved. The game behaviors of the virtual characters except the target replay character are controlled by presetting the game logic, so that the reduction degree of the virtual characters can be improved.)

1. A game replay control method, characterized in that a graphical user interface is provided on a display of a terminal, a game playback interface is displayed on the graphical user interface, the game playback interface is used for playing back a corresponding game process picture according to pre-stored game history data, the method comprises:

responding to preset selection operation of a player on the game playback interface, and determining game replay starting time and target replay roles;

switching the game playback interface to a game competition interface, and restoring a game scene corresponding to the game replay starting moment on the game competition interface based on the game history data;

responding to a target replay character control operation input for the game competition interface to control the game behavior of the target replay character, and simultaneously, controlling the game behavior of virtual characters except the target replay character based on preset game logic.

2. The method of claim 1, wherein the preset game logic is an artificial intelligence behavior logic for controlling an execution sequence of game behaviors of virtual characters other than the target replay character and a game level at the time of executing the game behaviors.

3. The method of claim 2, wherein the controlling the game behavior of the virtual character other than the target replay character based on the preset game logic comprises:

determining the current game behaviors of the virtual characters except the target replay character according to the execution sequence of the game behaviors indicated by the artificial intelligence behavior logic;

determining a game level of the virtual character other than the target replay character under the current game behavior according to historical game data of the virtual character other than the target replay character;

and controlling the virtual characters except the target replay character to execute the current game behavior according to the game level under the current game behavior.

4. The method of claim 1, wherein determining a game replay start time and a target replay character in response to a predetermined selection operation by a player on the game replay interface comprises:

responding to selection operation input by a player for a time selection control in the game playback interface, and determining the game replay starting moment;

and determining the target replay character in response to the selection operation input by the player aiming at the at least one virtual character selection control in the game playback interface.

5. The method of claim 4, wherein after determining that the target character is played again in response to a selection operation input by a player with respect to at least one virtual character selection control in the game playback interface, further comprising:

and determining the game scene corresponding to the target replay character as the view focus according to the target replay character.

6. The method of claim 1, wherein the game playback interface displays sub-graphics corresponding to each of the virtual characters, the method further comprising:

and determining that the virtual character corresponding to the sub-graph is selected as the target replay character in response to a selection operation instruction of a player for the sub-graph.

7. The method of claim 1, wherein the pre-stored game history data includes one or more of the following game data for each virtual character: location information, vital value, skill status, or game level.

8. The method of claim 3, wherein the virtual character comprises a first virtual character other than the target replay character, and wherein the controlling the game behavior of the virtual character other than the target replay character based on the preset game logic comprises:

acquiring historical game data of the first virtual character;

determining the game level of the first virtual character under the current game behavior according to the historical game data of the first virtual character;

determining the simulation game level of the first virtual character in the game scene according to the game level of the first virtual character under the current game behavior;

according to the simulation game level of the first virtual character, simulating and controlling the game behavior of the first virtual character in the game scene.

9. The method of claim 8, wherein the game level comprises one or more of: attack accuracy, kill number, or death number;

the simulated game level comprises one or more of: attack dispersion values, attack propensity values, or defense propensity values.

10. The method of claim 9,

if the attack accuracy of the game level is higher, the attack discrete value of the simulation game level is lower;

if the number of the killing of the game level is more, the attack tendency value of the simulation game level is larger;

the defense propensity value of the simulated game level is larger if the death number of the game level is lower.

11. The method according to any one of claims 1-10, further comprising:

responding to a game ending control instruction input by a player on the game competition interface so as to end and control the target replay character to replay the game; and switching the game competition interface back to the game playback interface, wherein the playback time corresponding to the game playback interface is the game replay starting time.

12. The method of claim 1, wherein after switching the game playback interface to a game play area, the method further comprises:

displaying a time selection control on the game tournament interface, wherein the time selection control comprises a game playback time display area and a game replay time display area, the game playback time display area is used for displaying the tournament progress of the game before the game replay starting time, and the game replay time display area is used for displaying the replay tournament progress after the game replay starting time.

13. The method of claim 12, further comprising:

determining a new replay time of the target replay character between the current time and the game replay start time in response to a selection operation input by a player with respect to the game replay time display area.

14. The method of claim 12, wherein the game play interface further comprises: refreshing the control, the method further comprising:

and responding to a refreshing operation instruction input by a player for the refreshing control, and controlling the target replay character to return to the replay game scene at the game replay starting moment from the replay game scene at the current moment so as to restart the replay match.

15. A game replay control apparatus that provides a graphical user interface on a display of a terminal, the graphical user interface displaying a game playback interface for playing back a corresponding game progress screen according to pre-stored game history data, the apparatus comprising: the device comprises a determining module, a switching module and a control module;

the determining module is used for responding to the preset selection operation of the player on the game playback interface and determining the game replay starting moment and the target replay role;

the switching module is used for switching the game playback interface to a game competition interface and restoring a game scene corresponding to the game replay starting moment on the game competition interface based on the game history data;

the control module is used for responding to target replay role control operation input aiming at the game competition interface so as to control the game behavior of the target replay role and simultaneously control the game behavior of virtual roles except the target replay role based on preset game logic.

16. A terminal device, comprising: a processor, a storage medium and a bus, the storage medium storing program instructions executable by the processor, the processor and the storage medium communicating via the bus when the terminal device is running, the processor executing the program instructions to perform the steps of the game replay control method according to any one of claims 1 to 14 when executed.

17. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of a game replay control method according to any one of claims 1 to 14.

Technical Field

The invention relates to the technical field of games, in particular to a game replay control method, device, equipment and storage medium.

Background

Currently, most network games, such as multiplayer competitive games, can support players to watch the competition playback at any view angle after the competition is over by storing all data in the competition in a server. When a player watches the replay of the game, the player needs to replay the game at a certain moment, for example, the player is defeated at a certain time point, and wants to repeatedly train the reaction and operation when the player faces the same situation next time by replaying the game at the certain moment.

At present, the existing games only support the playback of game competitions, and how to realize the replay in the playback process, an effective solution is not provided.

Disclosure of Invention

The present invention is directed to provide a method, an apparatus, a device and a storage medium for controlling game replay, so as to solve the problem that the game replay cannot be realized according to the intention of a player during a game tournament process in the prior art.

In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:

in a first aspect, an embodiment of the present application provides a game replay control method, in which a graphical user interface is provided on a display of a terminal, a game playback interface is displayed on the graphical user interface, and the game playback interface is used for playing back a corresponding game process picture according to pre-stored game history data, and the method includes:

responding to preset selection operation of a player on the game playback interface, and determining game replay starting time and target replay roles;

switching the game playback interface to a game competition interface, and restoring a game scene corresponding to the game replay starting moment on the game competition interface based on the game history data;

responding to a target replay character control operation input for the game competition interface to control the game behavior of the target replay character, and simultaneously, controlling the game behavior of virtual characters except the target replay character based on preset game logic.

Optionally, the preset game logic is artificial intelligence behavior logic, and the artificial intelligence behavior logic is configured to control an execution sequence of game behaviors of virtual characters other than the target replay character and a game level when the game behaviors are executed.

Optionally, the controlling, based on preset game logic, game behavior of a virtual character other than the target replay character includes:

determining the current game behaviors of the virtual characters except the target replay character according to the execution sequence of the game behaviors indicated by the artificial intelligence behavior logic;

determining a game level of the virtual character other than the target replay character under the current game behavior according to historical game data of the virtual character other than the target replay character;

and controlling the virtual characters except the target replay character to execute the current game behavior according to the game level under the current game behavior.

Optionally, the determining a game replay starting time and a target replay character in response to a preset selection operation of the player on the game replay interface includes:

responding to selection operation input by a player for a time selection control in the game playback interface, and determining the game replay starting moment;

and determining the target replay character in response to the selection operation input by the player aiming at the at least one virtual character selection control in the game playback interface.

Optionally, after determining that the target character plays again in response to a selection operation input by a player with respect to at least one virtual character selection control in the game playback interface, the method further includes:

and determining the game scene corresponding to the target replay character as the view focus according to the target replay character.

Optionally, the game playback interface displays sub-graphics corresponding to each of the virtual characters, and the method further includes:

and determining that the virtual character corresponding to the sub-graph is selected as the target replay character in response to a selection operation instruction of a player for the sub-graph.

Optionally, the pre-stored game history data includes one or more of the following game data of each virtual character: location information, vital value, skill status, or game level.

Optionally, the virtual character includes a first virtual character other than the target replay character, and the controlling the game behavior of the virtual character other than the target replay character based on the preset game logic includes:

acquiring historical game data of the first virtual character;

determining the game level of the first virtual character under the current game behavior according to the historical game data of the first virtual character;

determining the simulation game level of the first virtual character in the game scene according to the game level of the first virtual character under the current game behavior;

according to the simulation game level of the first virtual character, simulating and controlling the game behavior of the first virtual character in the game scene.

Optionally, the game level comprises one or more of: attack accuracy, kill number, or death number;

the simulated game level comprises one or more of: attack dispersion values, attack propensity values, or defense propensity values.

Optionally, the higher the accuracy of the game level attack, the lower the discrete value of the simulated game level attack;

if the number of the killing of the game level is more, the attack tendency value of the simulation game level is larger;

the defense propensity value of the simulated game level is larger if the death number of the game level is lower.

Optionally, the method further comprises:

responding to a game ending control instruction input by a player on the game competition interface so as to end and control the target replay character to replay the game; and switching the game competition interface back to the game playback interface, wherein the playback time corresponding to the game playback interface is the game replay starting time.

Optionally, after the switching the game playback interface to the game tournament boundary, the method further comprises:

displaying a time selection control on the game tournament interface, wherein the time selection control comprises a game playback time display area and a game replay time display area, the game playback time display area is used for displaying the tournament progress of the game before the game replay starting time, and the game replay time display area is used for displaying the replay tournament progress after the game replay starting time.

Optionally, the method further comprises:

determining a new replay time of the target replay character between the current time and the game replay start time in response to a selection operation input by a player with respect to the game replay time display area.

Optionally, the game tournament interface further comprises: refreshing the control, the method further comprising:

and responding to a refreshing operation instruction input by a player for the refreshing control, and controlling the target replay character to return to the replay game scene at the game replay starting moment from the replay game scene at the current moment so as to restart the replay match.

In a second aspect, an embodiment of the present application further provides a game replay control apparatus, in which a graphical user interface is provided on a display of a terminal, a game playback interface is displayed on the graphical user interface, and the game playback interface is used for playing back a corresponding game process screen according to pre-stored game history data, and the apparatus includes: the device comprises a determining module, a switching module and a control module;

the determining module is used for responding to the preset selection operation of the player on the game playback interface and determining the game replay starting moment and the target replay role;

the switching module is used for switching the game playback interface to a game competition interface and restoring a game scene corresponding to the game replay starting moment on the game competition interface based on the game history data;

the control module is used for responding to target replay role control operation input aiming at the game competition interface so as to control the game behavior of the target replay role and simultaneously control the game behavior of virtual roles except the target replay role based on preset game logic.

Optionally, the preset game logic is artificial intelligence behavior logic, and the artificial intelligence behavior logic is configured to control an execution sequence of game behaviors of virtual characters other than the target replay character and a game level when the game behaviors are executed.

Optionally, the control module is specifically configured to determine, according to an execution sequence of game behaviors indicated by the artificial intelligence behavior logic, a current game behavior of the virtual character other than the target replay character; determining a game level of the virtual character other than the target replay character under the current game behavior according to historical game data of the virtual character other than the target replay character; and controlling the virtual characters except the target replay character to execute the current game behavior according to the game level under the current game behavior.

Optionally, the determining module is configured to determine the game replay starting time in response to a selection operation input by a player for a time selection control in the game playback interface; and determining the target replay character in response to the selection operation input by the player aiming at the at least one virtual character selection control in the game playback interface.

Optionally, the determining module is further configured to determine, according to the target replay character, the game scene corresponding to the target replay character as the view point focus.

Optionally, the game playback interface displays sub-graphics corresponding to each virtual character, and the determining module is further configured to determine, in response to a selection operation instruction of a player for the sub-graphics, that the virtual character corresponding to the sub-graphics is selected as the target replay character.

Optionally, the pre-stored game history data includes one or more of the following game data of each virtual character: location information, vital value, skill status, or game level.

Optionally, the control module is specifically configured to obtain historical game data of the first virtual character; determining the game level of the first virtual character under the current game behavior according to the historical game data of the first virtual character; determining the simulation game level of the first virtual character in the game scene according to the game level of the first virtual character under the current game behavior; according to the simulation game level of the first virtual character, simulating and controlling the game behavior of the first virtual character in the game scene.

Optionally, the game level comprises one or more of: attack accuracy, kill number, or death number; the simulated game level comprises one or more of: attack dispersion values, attack propensity values, or defense propensity values.

Optionally, the higher the accuracy of the game level attack, the lower the discrete value of the simulated game level attack; if the number of the killing of the game level is more, the attack tendency value of the simulation game level is larger; the defense propensity value of the simulated game level is larger if the death number of the game level is lower.

Optionally, the switching module is further configured to respond to a game ending control instruction input by the player on the game tournament interface to end controlling the target replay character to replay the game; and switching the game competition interface back to the game playback interface, wherein the playback time corresponding to the game playback interface is the game replay starting time.

Optionally, the apparatus further comprises: a display module;

the display module is used for displaying a time selection control on the game competition interface, the time selection control comprises a game playback time display area and a game replay time display area, the game playback time display area is used for displaying the game competition progress of the game before the game replay starting time, and the game replay time display area is used for displaying the replay competition progress of the game after the game replay starting time.

Optionally, the determining module is further configured to determine a new replay time of the target replay character between the current time and the game replay starting time in response to a selection operation input by a player for the game replay time display area.

Optionally, the game tournament interface further comprises: refreshing the control;

the control module is further configured to control the target replay character to return to the replay game scene at the game replay starting time from the replay game scene at the current time in response to a refresh operation instruction input by the player for the refresh control, so as to restart the replay match.

In a third aspect, an embodiment of the present application provides a terminal device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the terminal device is operating, the processor executing the machine-readable instructions to perform the steps of the game replay control method as provided in the first aspect.

In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the game replay control method provided in the first aspect.

The beneficial effect of this application is:

the application provides a game replay control method, a device, equipment and a storage medium, wherein the method comprises the following steps: responding to preset selection operation of a player on a game playback interface, and determining game replay starting time and target replay roles; switching the game playback interface to a game competition interface, and restoring a game scene corresponding to the game replay starting moment on the game competition interface based on the game history data; the game play control operation is performed in response to a target replay character input for the game tournament interface to control the game behavior of the target replay character, and at the same time, the game behavior of the virtual character other than the target replay character is controlled based on a preset game logic. In the scheme, the game scene of the target replay character selected by the player at the game replay moment can be restored by responding to the preset selection operation input by the player on the game replay interface, and the control of the game behavior of the target replay character in the restored game scene can be realized by responding to the control operation of the target replay character input by the player, so that the game replay is realized. The game scene and the game role which are interested in can be played again by the player in a targeted manner through the preset selection operation input by the player, and the game experience of the player is improved. In addition, in the replay process, the game logic is preset to control the game behaviors of the virtual characters except the target replay character, so that the game level of the virtual characters except the target replay character in the historical game match can be restored more truly, a player can train the reaction force and the operation force of the character to a specific situation in the replay process of the target replay character, the player can be helped to improve the situation in the subsequent game process, and a better game result can be obtained.

In addition, the repeated practice of the game match at certain specific moments by the player can be realized by responding to the determination operation of the new replay moment input by the player, so that the operation skill of the player is improved.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.

Fig. 1 is a schematic flow chart of a game replay control method according to an embodiment of the present application;

FIG. 2 is a schematic flow chart illustrating another method for controlling game replay provided by an embodiment of the present application;

FIG. 3 is a schematic flow chart illustrating another method for controlling game replay provided by an embodiment of the present application;

FIG. 4 is a schematic diagram of a graphical user interface provided by an embodiment of the present application;

FIG. 5 is a schematic flow chart illustrating another method for controlling game replay provided by an embodiment of the present application;

FIG. 6 is a schematic diagram of another graphical user interface provided by an embodiment of the present application;

FIG. 7 is a schematic view of a game replay control apparatus according to an embodiment of the present application;

fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.

Detailed Description

In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.

In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.

It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.

Fig. 1 is a schematic flow chart of a game replay control method according to an embodiment of the present application; the execution main body of the method can be a terminal running a target game, a graphical user interface is provided on a display of the terminal, a game playback interface is displayed on the graphical user interface, and the game playback interface is used for playing back a corresponding game process picture according to pre-stored game history data.

Optionally, controls for different functions may be included on the game playback interface, such as: the virtual character selection control, the game time selection control, the game replay determination control and the like, so that a player can input a game replay instruction through different functional controls on a game replay interface in the process of replaying a game, the game replay interface is switched to a game competition interface, and the game replay is realized.

The game history data stored in advance may be game data recorded by a server in the background of the terminal during the process of a player formally playing a game match, or may be game data directly stored in the local of the terminal, and preferably, the game history data may be game data acquired and recorded in real time, or game data acquired and recorded under the control of a non-real-time instruction.

The game picture played back on the game playback interface can be a game process picture generated according to complete match data of the target game acquired from a large amount of match data recorded locally by a server in the background of the terminal or the terminal, or can be a partial game process picture generated according to partial match data of the target game acquired from a large amount of match data recorded locally by the server in the background of the terminal or the terminal, so that the playback of the complete game match picture of the target game or the playback of the partial game match picture is realized. As shown in fig. 1, the method of the present application may comprise:

s101, responding to preset selection operation of a player on a game playback interface, and determining game replay starting time and target replay roles.

After the player experiences a wonderful game competition, the player can be effectively helped to more comprehensively observe details in the game by playing back and watching the experienced game process, so that the defects existing in the game can be found and analyzed for corresponding improvement. And the replay of the game is realized in the game playback process, so that the reaction and operation of the player aiming at certain specific situations can be trained, and the player can be helped to obtain better results in subsequent competitions.

Alternatively, when the player plays back the game, a game playback interface is displayed on the graphical user interface, and the player can determine a game replay start time and a target replay character that the player wants to replay by responding to a preset selection operation of the player through a preset selection operation of the game playback interface.

Optionally, the preset selection operation may be triggered by detecting a touch operation of a specific trigger control provided by a game playback interface displayed in the user graphical interface, or may be triggered according to a preset interaction condition, for example: pressing, double-clicking, shaking, voice input, etc. by the user.

Generally, a plurality of virtual characters exist in a game match, a player can select the virtual character which is interested in the player and replay the virtual character as a target replay character, the whole game match process is not wonderful, and for some common game links, the player does not have great replay significance, and the player can independently select the game moment to be replayed. The determination of the target replay role and the game replay starting moment can be realized by presetting selection operation on the game replay interface by the player, so that the game replay can be performed in a targeted manner according to the preference of the player.

S102, switching the game playback interface to the game competition interface, and restoring a game scene corresponding to the game replay starting moment on the game competition interface based on the game history data.

When the target replay character and the game replay starting time are determined, the game playback interface can be switched to a game competition interface, and a game scene of the replay game can be displayed on the game competition interface.

Alternatively, the stored competition data of the game at the replay starting time can be retrieved from the server in the terminal background according to the game replay starting time determined by the player, and a game scene of the game replay time can be generated according to the competition data and displayed on the game competition interface. The positions, the states and the like of all the virtual characters in the game scene corresponding to the game replay starting time are the same as the positions, the states and the like of the virtual characters in the historical game match at the time, and therefore the game scene is accurately restored.

S103, responding to the target replay character control operation input aiming at the game competition interface to control the game behavior of the target replay character, and simultaneously, controlling the game behavior of virtual characters except the target replay character based on preset game logic.

Optionally, since the selected target replay character is replayed in the fighting process in the game scene, the player may input a control operation for the selected target replay character through the game tournament interface, where the control operation may be different from the control for the target replay character in the previous history tournament, and may be a better fighting mode determined by analyzing the fighting process for the target replay character in the history tournament. In response to the target replay character control operation input by the player, game behavior of the controlled target replay character game may be displayed on the game tournament interface.

Alternatively, the determined target replay character may be a virtual character controlled by the player in the game before passing through the terminal of the player, a virtual character controlled by a player's game teammate in the game, or a virtual character controlled by an enemy team friend who interacts with the virtual character controlled by the player in the game. Therefore, the player can repeat the game operation of any virtual character in the target game to experience the game effect brought by the game operation of different virtual characters, and can find the control difference and the control deficiency of different virtual characters.

For the game behavior control of virtual characters except the selected target replay character, the method adopts preset game logic for control. The virtual characters except the target replay character, namely, the virtual character which is in game interaction with the target replay character or the virtual character of the same team of the target replay character, can be different in number according to different game types, and can be controlled by adopting preset game logic no matter the virtual characters except the target replay character exist in a plurality. And the preset game logic may be game logic generated based on game history data of virtual characters other than the target replay character. Wherein the game history data may include: game behaviors, game levels corresponding to the game behaviors, and the like. Therefore, the game level of the virtual characters except the target replay character can be restored more truly, the game interaction of the target replay character and the virtual characters except the target replay character is realized, a player can train a specific game situation, and the reaction force and the operation force of the game are improved.

To sum up, the method for controlling replay of a game provided by the embodiment includes: responding to preset selection operation of a player on a game playback interface, and determining game replay starting time and target replay roles; switching the game playback interface to a game competition interface, and restoring a game scene corresponding to the game replay starting moment on the game competition interface based on the game history data; the game play control operation is performed in response to a target replay character input for the game tournament interface to control the game behavior of the target replay character, and at the same time, the game behavior of the virtual character other than the target replay character is controlled based on a preset game logic. In the scheme, the game scene of the target replay character selected by the player at the game replay moment can be restored by responding to the preset selection operation input by the player on the game replay interface, and the control of the game behavior of the target replay character in the restored game scene can be realized by responding to the control operation of the target replay character input by the player, so that the game replay is realized. The game scene and the game role which are interested in can be played again by the player in a targeted manner through the preset selection operation input by the player, and the game experience of the player is improved. In addition, in the replay process, the game logic is preset to control the game behaviors of the virtual characters except the target replay character, so that the game level of the virtual characters except the target replay character in the historical game match can be restored more truly, a player can train the reaction force and the operation force of the character to a specific situation in the replay process of the target replay character, the player can be helped to improve the situation in the subsequent game process, and a better game result can be obtained.

Optionally, in step S103, the game logic is preset to be artificial intelligence behavior logic, and the artificial intelligence behavior logic is configured to control an execution sequence of the game behaviors of the virtual character other than the target replay character and a game level when the game behaviors are executed.

In this embodiment, the preset game logic may be AI (Artificial Intelligence) behavior logic. Wherein, presetting the game logic can comprise: the intelligent control model can be obtained by training according to historical match data of game roles in a large amount of game historical data, and preset game logic can be realized based on the intelligent control model. When the game behaviors of the virtual characters except for the target replay character are controlled according to the preset game logic, the acquired match data of the virtual characters except for the target replay character in the replayed game can be used as the input of the intelligent control model, so that the intelligent control of the virtual characters except for the target replay character is realized in a simulated mode, and the execution sequence of the game behaviors of the virtual characters except for the target replay character in the game replay process and the game level corresponding to the game behaviors of each step are controlled.

For example: the game behaviors include: sprinting, going to a fist, shooting, etc. The logic for historical game behavior of virtual characters other than the target replay character in the game tournament can determine that the sequence of game behavior of the virtual characters at the time of replay is as follows: sprinting, shooting, sprinting, and going out a fist. And the speed, shooting accuracy, fist strength and other game levels during running can be determined. Thereby achieving control of the game behavior of the virtual character other than the target replay character.

In some embodiments, the AI behavior logic may be a logical control tree of AI; each node in the logic control tree of the AI is used for representing all behavior logics of any virtual character game AI except the target replay character; by sequentially traversing the logic control tree of the AI, the execution order and execution level of the behavior logic of the AI can be obtained.

FIG. 2 is a schematic flow chart illustrating another method for controlling game replay provided by an embodiment of the present application; alternatively, as shown in fig. 2, the step S103 of controlling the game behavior of the virtual character other than the target replay character based on the preset game logic may include:

s201, determining the current game behaviors of the virtual characters except the target replay character according to the execution sequence of the game behaviors indicated by the artificial intelligence behavior logic.

Optionally, the artificial intelligence behavior logic includes an execution order of game behaviors of virtual characters other than the target replay character and a game level at which each game behavior is executed, and by calling the artificial intelligence behavior logic, the current game behavior of the virtual character other than the target replay character can be determined according to the execution order of the included game behaviors.

S202, determining the game level of the virtual characters except the target replay character under the current game behavior according to the historical game data of the virtual characters except the target replay character.

Likewise, the game level of the virtual character other than the target replay character at the currently determined game behavior may also be determined based on the included game level at the time of execution of each game behavior, such as: the current game behavior is shooting, and the game level is: the shooting accuracy is 90%.

S203, controlling the virtual characters except the target replay character to execute the current game behavior according to the game level under the current game behavior.

Alternatively, based on the determined current game behavior of the virtual character other than the target replay character and the game level under the game behavior, the game behavior of the virtual character other than the target replay character during replay may be controlled.

Optionally, the preset game logic may also be adapted to the game level and operation habit of the virtual character other than the target replay character.

FIG. 3 is a schematic flow chart illustrating another method for controlling game replay provided by an embodiment of the present application; alternatively, as shown in fig. 3, the determining the game replay starting time and the target replay character in response to the preset selection operation of the player on the game replay interface in step S101 may include:

s301, responding to selection operation input by a player aiming at a time selection control in the game playback interface, and determining the game replay starting time.

In some optional embodiments, a time selection control is displayed on the game playback interface, and the player can input the game replay starting time to be replayed through the time selection control, wherein the time selection control can be a touch sliding control, and the time can be adjusted in real time through up and down sliding. The form of the time selection control can be many, and the application is not particularly limited.

S302, responding to the selection operation input by the player aiming at least one virtual character selection control in the game playback interface, and determining the target replay character.

Similarly, a virtual character selection control is displayed on the game playback interface, and a player can select one virtual character as a target replay character by clicking operation switching. The display mode of the virtual character selection control and the specific selection mode of the target replay character are not limited.

FIG. 4 is a schematic diagram of a graphical user interface provided by an embodiment of the present application; in one implementable manner, the time selection control described above may be displayed in the form of a progress bar, as shown in figure 4. The player may select a game replay start time by dragging the progress bar.

Optionally, a sub-graph corresponding to each virtual character is also displayed on the game playback interface, and the method of the present application further includes: and determining that the virtual character corresponding to the sub-graph is selected as the target to replay the character in response to the selection operation instruction of the player for the sub-graph.

Where the sub-figures may be a plurality of block diagrams as shown in fig. 4, each sub-figure may display an avatar of a virtual character, in an implementable manner, a player may make a selection of a target replay character through the sub-figures, where any virtual character may be clicked to determine that the virtual character is the target replay character.

Optionally, in the step S302, after determining that the target replay character is played in response to the selection operation input by the player with respect to the at least one virtual character selection control in the game playback interface, the method of the present application may further include: and determining a game scene corresponding to the target replay character as a visual angle focus according to the target replay character.

Continuing with FIG. 4, after the target replay character is selected, a "camera" icon appears adjacent to the sub-graphic corresponding to the target replay character for identification. At this time, the game view angle is switched to the view angle with the target replay character as the focus, so that a game scene with the target replay character as the view angle focus is displayed on the game competition interface.

Of course, in addition to being identified by the "camera" icon, other forms of identifiers may be used to identify the target replay character.

Optionally, the pre-stored game history data includes one or more of the following game data of each virtual character: location information, vital value, skill status, or game level.

The position information may be positions of the virtual characters at various times in the historical match, the life value may refer to a blood volume state and the like, the skill state may refer to a state in which the skill is recovering or available, and the match level may be a comprehensive output state of the virtual characters. Wherein, for different types of games, there is a difference for the kind of game data.

Optionally, when the game playback interface is switched to the game competition interface, a game scene can be generated according to the game data of each virtual character at the game replay starting time correspondingly to perform scene restoration, so as to obtain a game picture consistent with the current historical competition.

FIG. 5 is a schematic flow chart illustrating another method for controlling game replay provided by an embodiment of the present application; the virtual character includes a first virtual character except for the target replay character, and optionally, as shown in fig. 5, the controlling the game behavior of the virtual character except for the target replay character based on the preset game logic in step S103 may include:

s501, historical game data of the first virtual character are obtained.

Alternatively, the first virtual character may include, but is not limited to, one virtual character, and in some multiplayer role-playing games, the first virtual character may be multiple, and the control of the game behavior with respect to the first virtual character may be performed in the same manner regardless of whether the first virtual character includes several ones.

The historical game data of the first virtual character can be obtained from the historical data of the game which is stored in a server background database in advance.

S502, determining the game level of the first virtual character under the current game behavior according to the historical game data of the first virtual character.

According to the historical game data of the first virtual character, the game behaviors of the first virtual character at different game moments and the game level of executing each game behavior can be analyzed and obtained.

S503, determining the simulation game level of the first virtual character in the game scene according to the game level of the first virtual character in the current game behavior.

Optionally, based on the determined game level of the first virtual character in the current game behavior, a simulated game level of the first virtual character in the restored game scene may be obtained, wherein the current game behavior may sequentially change according to the continuous progress of the game.

And S504, simulating and controlling the game behavior of the first virtual character in the game scene according to the simulation game level of the first virtual character.

In some embodiments, the first virtual character in the game scene can be regarded as a robot controlled by a computer, and the determined simulation game level of the first virtual character is given to the robot so as to control the game behavior of the first virtual character.

Alternatively, for example, in the case of an attack game (shooting game, or combat game), the said game level may comprise one or more of the following: attack accuracy, kill number, or death number. For a sprint game, the game level may include: speed of sprinting, accuracy of obstacle avoidance, etc. The specific characteristics may be determined according to the type of game.

Accordingly, for the above-described attack-type game, the simulated game level may include one or more of: attack dispersion values, attack propensity values, or defense propensity values.

Optionally, the higher the accuracy of the game-level attack, the lower the discrete value of the simulated game-level attack; if the number of the killing at the game level is more, the attack tendency value of the simulated game level is larger; the lower the number of deaths at the game level, the greater the defense propensity value at the simulated game level.

Optionally, the method of the present application may further include: responding to a game ending control instruction input by a player on a game competition interface to end the control target replay character replay game; and switching the game competition interface back to the game playback interface, wherein the playback moment corresponding to the game playback interface is the game replay starting moment.

In some embodiments, as shown in fig. 4, the game playback interface further includes a start game control, and when the game replay starting time and the target replay character are determined, the game playback interface can be switched to the game tournament interface to start the game replay for the target game character in response to a replay starting command input by the player through the start game control.

FIG. 6 is a schematic diagram of another graphical user interface provided by an embodiment of the present application; under the game tournament interface, the player may replay the game by controlling the game behavior of the target replay character, and the game tournament interface may further include an end game control as shown in fig. 6, which may end the game replay in response to a game replay end instruction input by the player through the end game control, thereby switching the game tournament interface back to the game playback interface. The game scene displayed on the switched-back game playback interface is a game scene of a playback start time before the game replay is started, for example: the player chooses to replay the game from the 5 th minute while viewing the playback to the 10 th minute, and then continues to replay the game from the 10 th minute when switching back to the game playback interface from the game play interface to avoid missing playback of certain scenes and missing replay of certain scenes.

Optionally, in the step S102, after the game playback interface is switched to the game tournament interface, the method of the present application may further include: and displaying a time selection control on the game tournament interface, wherein the time selection control comprises a game playback time display area and a game replay time display area, the game playback time display area is used for displaying the tournament progress of the game before the game replay starting moment, and the game replay time display area is used for displaying the replay tournament progress after the game replay starting moment.

As shown in fig. 6, the time selection control is used as a progress bar for explanation. The time display region before the game replay start time is a game playback time display region, and the time display region after the game replay start time is a game replay time display region. That is, the progress bar displayed in the first half with light color in the figure corresponds to the game playback time display area, the progress bar displayed in the second half with deepened color corresponds to the game playback time display area, and the marked current game time is the current replay game time.

Optionally, the method of the present application may further include: in response to a selection operation input by the player with respect to the game replay time display area, a new replay time of the target replay character is determined between the current time and the game replay start time.

In some embodiments, when the player wants to repeatedly practice the game skill at a certain moment, the player can also reselect a new replay moment after replaying at any moment so as to realize multiple exercises at certain specific moments.

The new replay moment is a new moment selected between the game replay starting moment and the current game moment, namely the new moment reselected in the game replay time display area, and the method also comprises the step of taking the selected game replay moment as the new replay moment again to train the game replay moment for multiple times. In response to a sliding operation input by a player on the progress bar of the game replay time display area, a new replay time of the target replay character may be determined, thereby switching the game scene to a game scene corresponding to the new replay time.

Optionally, as shown in fig. 6, the game tournament interface further comprises: and refreshing the control, wherein the method of the application can also comprise the following steps: and controlling the target replay character to return to the replay game scene at the game replay starting moment from the replay game scene at the current moment in response to the refreshing operation instruction input by the player for the refreshing control so as to restart the replay match.

In some embodiments, a refreshing control is further included on the game tournament interface, so that the player can quickly return to the game tournament at the game replay starting time from the game tournament at the current game moment through the refreshing control during the replay process, so as to replay the tournament from the game replay starting time again.

In addition, the game competition interface can also comprise: and the pause control can pause the game in real time during the process that the player plays the game again in response to the game pause instruction input by the player through the pause control.

In summary, the method for controlling replay of a game provided by this embodiment includes: responding to preset selection operation of a player on a game playback interface, and determining game replay starting time and target replay roles; switching the game playback interface to a game competition interface, and restoring a game scene corresponding to the game replay starting moment on the game competition interface based on the game history data; the game play control operation is performed in response to a target replay character input for the game tournament interface to control the game behavior of the target replay character, and at the same time, the game behavior of the virtual character other than the target replay character is controlled based on a preset game logic. In the scheme, the game scene of the target replay character selected by the player at the game replay moment can be restored by responding to the preset selection operation input by the player on the game replay interface, and the control of the game behavior of the target replay character in the restored game scene can be realized by responding to the control operation of the target replay character input by the player, so that the game replay is realized. The game scene and the game role which are interested in can be played again by the player in a targeted manner through the preset selection operation input by the player, and the game experience of the player is improved. In addition, in the replay process, the game logic is preset to control the game behaviors of the virtual characters except the target replay character, so that the game level of the virtual characters except the target replay character in the historical game match can be restored more truly, a player can train the reaction force and the operation force of the character to a specific situation in the replay process of the target replay character, the player can be helped to improve the situation in the subsequent game process, and a better game result can be obtained.

In addition, the repeated practice of the game match at certain specific moments by the player can be realized by responding to the determination operation of the new replay moment input by the player, so that the operation skill of the player is improved.

The following describes apparatuses, devices, storage media, and the like for executing the game replay control method provided in the present application, and specific implementation processes and technical effects thereof are referred to above, and will not be described again below.

Fig. 7 is a schematic diagram of a game replay control device according to an embodiment of the present application, where the game replay control device implements functions corresponding to the steps performed by the method. The device can be understood as the terminal device or the server of the terminal device, and can also be understood as a component which is independent of the server or the processor and realizes the functions of the application under the control of the server.

Providing a graphical user interface on a display of the terminal, wherein the graphical user interface displays a game playback interface, and the game playback interface is used for playing back a corresponding game process picture according to pre-stored game history data, as shown in fig. 7, the apparatus may include: a determining module 710, a switching module 720 and a control module 730;

the determining module 710 is configured to determine a game replay starting time and a target replay role in response to a preset selection operation of a player on a game replay interface;

the switching module 720 is configured to switch the game playback interface to a game tournament interface, and restore a game scene corresponding to a game replay starting time on the game tournament interface based on the game history data;

the control module 730 is configured to respond to a target replay character control operation input for the game tournament interface to control a game behavior of the target replay character, and at the same time, control a game behavior of a virtual character other than the target replay character based on a preset game logic.

Optionally, the preset game logic is artificial intelligence behavior logic, and the artificial intelligence behavior logic is used for controlling the execution sequence of the game behaviors of the virtual characters except the target replay character and the game level when the game behaviors are executed.

Optionally, the control module 730 is specifically configured to determine, according to the execution sequence of the game behaviors indicated by the artificial intelligence behavior logic, the current game behaviors of the virtual character other than the target replay character; determining the game level of the virtual characters except the target replay character under the current game behavior according to the historical game data of the virtual characters except the target replay character; and controlling the virtual characters except the target replay character to execute the current game behavior according to the game level under the current game behavior.

Optionally, the determining module 710 is configured to determine a game replay starting time in response to a selection operation input by a player for a time selection control in the game replay interface; and determining a target replay character in response to the selection operation input by the player aiming at the at least one virtual character selection control in the game playback interface.

Optionally, the determining module 710 is further configured to determine, according to the target replay character, a game scene corresponding to the target replay character as the view point focus.

Optionally, the game playback interface displays sub-graphics corresponding to each virtual character, and the determining module 710 is further configured to determine, in response to a selection operation instruction of the player for the sub-graphics, that the virtual character corresponding to the sub-graphics is selected as a target to replay the character.

Optionally, the pre-stored game history data includes one or more of the following game data of each virtual character: location information, vital value, skill status, or game level.

Optionally, the control module 730 is specifically configured to obtain historical game data of the first virtual character; determining the game level of the first virtual character under the current game behavior according to the historical game data of the first virtual character; determining the simulation game level of the first virtual character in the game scene according to the game level of the first virtual character under the current game behavior; according to the simulation game level of the first virtual character, the game behavior of the first virtual character is simulated and controlled in the game scene.

Optionally, the level of play comprises one or more of: attack accuracy, kill number, or death number; the simulated game level includes one or more of: attack dispersion values, attack propensity values, or defense propensity values.

Optionally, the higher the accuracy of the game-level attack, the lower the discrete value of the simulated game-level attack; if the number of the killing at the game level is more, the attack tendency value of the simulated game level is larger; the lower the number of deaths at the game level, the greater the defense propensity value at the simulated game level.

Optionally, the switching module 720 is further configured to respond to a game ending control instruction input by the player on the game tournament interface to end the control target replay character replay game; and switching the game competition interface back to the game playback interface, wherein the playback moment corresponding to the game playback interface is the game replay starting moment.

Optionally, the apparatus further comprises: a display module;

the display module is used for displaying a time selection control on the game competition interface, the time selection control comprises a game playback time display area and a game replay time display area, the game playback time display area is used for displaying the game competition progress before the game replay starting moment, and the game replay time display area is used for displaying the replay competition progress after the game replay starting moment.

Optionally, the determining module 710 is further configured to determine a new replay time of the target replay character between the current time and the game replay starting time in response to a selection operation input by the player with respect to the game replay time display area.

Optionally, the game tournament interface further comprises: refreshing the control;

the control module 730 is further configured to control the target replay character to return to the replay game scene at the game replay starting time from the replay game scene at the current time in response to the refresh operation instruction input by the player for the refresh control, so as to restart the replay match.

The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.

These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

The modules may be connected or in communication with each other via a wired or wireless connection. The wired connection may include a metal cable, an optical cable, a hybrid cable, etc., or any combination thereof. The wireless connection may comprise a connection over a LAN, WAN, bluetooth, ZigBee, NFC, or the like, or any combination thereof. Two or more modules may be combined into a single module, and any one module may be divided into two or more units. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application.

It should be noted that the above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, the modules may be integrated together and implemented in the form of a System-on-a-chip (SOC).

Fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application. The terminal device may include: a processor 801 and a memory 802.

The memory 802 is used for storing programs, and the processor 801 calls the programs stored in the memory 802 to execute the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.

Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.

In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.

The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:服饰变化方法、装置、电子设备和存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类