Game battle screen display method, device, computer equipment and storage medium
By obtaining the distance between alliance virtual characters, dividing collaboration groups and displaying the battle scenes with the most target objects, it solves the problem of missing exciting scenes in multiplayer competitive game live broadcasts and improves the audience's viewing experience.
Patent Information
- Application Number
- CN202110802788.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-15
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-07-15
AI Technical Summary
In the live broadcast or broadcast of multiplayer competitive games, the director's artificial selection of pictures may cause exciting battle scenes to be missed.
By obtaining the distance between the alliance virtual characters participating in the game battle, the collaboration groups are divided, and the battle scenes of each group are traversed, and the scene with the most target objects displayed is determined to achieve multi-angle and all-round display.
It reduces the chance of missing exciting battle scenes, improves the audience’s understanding of the game process, and enhances the viewing experience.
Smart Images

Figure CN113398582B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and specifically to a method, device, computer equipment and storage medium for displaying a battle screen of a game. Background Art
[0002] In the prior art, when a multiplayer competitive game is being broadcast live or rebroadcasted, the director is often responsible for selecting the rebroadcast images. Since the director manually selects the images, it is inevitable that some exciting battle images may be missed. Summary of the invention
[0003] The embodiments of the present application provide a method, device, computer equipment and storage medium for displaying a battle screen of a game, which can reduce the missed opportunities of exciting battle screens.
[0004] An embodiment of the present application provides a method for displaying a battle screen of a game, comprising: for each of a plurality of allied virtual characters participating in a game battle, obtaining the distance between each of the allied virtual characters; dividing the plurality of allied virtual characters participating in the game battle into at least one collaborative group according to the distance between each of the allied virtual characters; for each of the collaborative groups, traversing the battle screens of each allied virtual character in the collaborative group, and determining from the battle screens a battle screen that serves as the collaborative group; and displaying the battle screens of each collaborative group.
[0005] According to one aspect of the present application, an embodiment of the present application further provides a game battle screen display device, the device comprising:
[0006] A distance acquisition module, for acquiring the distance between each of the multiple alliance virtual characters participating in the game battle;
[0007] A group division module, used for dividing the plurality of the alliance virtual characters participating in the game battle into at least one cooperation group according to the distance between each of the alliance virtual characters;
[0008] A perspective screen selection module is used for, for each of the cooperation groups, traversing the battle screens of each alliance virtual character in the cooperation group, and determining from the battle screens as the battle screen of the cooperation group;
[0009] The perspective screen display module is used to display the battle screen of each collaborative group.
[0010] Optionally, the perspective screen selection module is specifically used to select a battle screen presenting the largest number of alliance virtual characters from the battle screens as the battle screen of the collaborative group.
[0011] Optionally, the battle screen of the alliance virtual character includes any one of the following: a battle screen determined according to the viewing direction of the alliance virtual character; an observer viewing screen determined with the alliance virtual character as the center.
[0012] Optionally, the device further comprises:
[0013] An alliance role determination submodule, used to determine whether there is a first alliance virtual character in the battle screen corresponding to the first collaboration group, and the first alliance virtual character belongs to the first collaboration group;
[0014] The split-screen display submodule is used to display the battle screen containing the first alliance virtual character in a split-screen when the first alliance virtual character does not exist in the battle screen corresponding to the first collaborative group.
[0015] Optionally, the device further comprises:
[0016] The screen selection submodule is used to select a battle screen from the battle screens containing the same alliance virtual character for display when any two of the multiple battle screens displayed contain the same alliance virtual character.
[0017] Optionally, the group division module is specifically used to divide the alliance virtual characters whose distance is within a first preset length into the same collaboration group.
[0018] Optionally, in a specific embodiment, the device further comprises:
[0019] The step execution module is used to obtain the distance between each of the multiple allied virtual characters participating in the game battle and other allied virtual characters at preset time intervals or in real time.
[0020] Optionally, the device further comprises:
[0021] The role removal module is used to remove an alliance virtual character from the corresponding collaboration group when the distance between an alliance virtual character and other alliance virtual characters in the same collaboration group exceeds a second preset length, wherein the alliance virtual character removed from the collaboration group is recorded as the first alliance virtual character.
[0022] Optionally, the device further comprises:
[0023] A distance determination module, used for determining whether there is a second ally virtual character among other ally virtual characters whose distance to the first ally virtual character is less than or equal to a first preset length;
[0024] The role adding module is used to add the first alliance virtual character to the collaboration group corresponding to the second alliance virtual character when the distance between the second alliance virtual character and the first alliance virtual character is less than or equal to a first preset length.
[0025] Optionally, the device further comprises:
[0026] The collaboration group division module is used to divide the first alliance virtual character into a new collaboration group when there is no distance between the second alliance virtual character and the first alliance virtual character that is less than or equal to a first preset length.
[0027] Optionally, the device further comprises:
[0028] The battle division module is used to divide all alliance virtual characters into at least one local battle according to the battle object information.
[0029] Optionally, the battle division module is specifically used to divide the multiple allied virtual characters into the same local battle when the battle objects of multiple allied virtual characters among all the allied virtual characters are the same object.
[0030] Optionally, the battle division module is specifically used to divide the multiple allied virtual characters into the same local battle when the distance between the battle objects of multiple allied virtual characters among all the allied virtual characters is less than a third preset length.
[0031] An embodiment of the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0032] An embodiment of the present application also provides a computer-readable storage medium, which stores a plurality of instructions, and the instructions are suitable for a processor to load to execute the steps of implementing the method described above.
[0033] In the embodiment of the present application, for multiple allied virtual characters participating in the same local battle, the distance between each allied virtual character is obtained, and the cooperation groups are divided according to the distance between each allied virtual character. For each cooperation group, the battle screens of the allied virtual characters in the cooperation group can be traversed, and the battle screen with the most target objects presented can be used as the battle screen of the cooperation group. After obtaining the battle screen of each cooperation group, multiple battle screens are displayed. The above embodiment allows the audience watching the multiplayer competitive game to fully understand the progress of the game through multiple battle screens, thereby reducing the missed opportunities of exciting battle screens. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0035] Figure 1 It is a flowchart of a method for displaying a battle screen of a game provided in an embodiment of the present application;
[0036] Figure 2 It is a flowchart of a specific implementation method of the game battle screen display method provided in the embodiment of the present application;
[0037] Figure 3 This is a structural schematic diagram of a battle screen display device for a game provided in an embodiment of the present application;
[0038] Figure 4 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0040] Embodiments of the present application provide a method, apparatus, computer device, and storage medium for displaying a battle screen of a game.
[0041] The battle screen display device of the game can be integrated into an electronic device, which can be a terminal, a server, etc. The terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, or a personal computer (PC), etc. The server can be a single server or a server cluster composed of multiple servers.
[0042] In some embodiments, the battle screen display device of the game can also be integrated into multiple electronic devices. For example, the battle screen display device of the game can be integrated into multiple servers, and the battle screen display method of the game of the present application can be implemented by multiple servers.
[0043] In some embodiments, the server may also be implemented in the form of a terminal.
[0044] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.
[0045] In this embodiment, a method for displaying a battle screen of a game is provided, such as Figure 1 As shown, the specific process of the edge processing method can be as follows 101 to 104:
[0046] 101. For each of the multiple allied virtual characters participating in the game battle, obtain the distance between each of the allied virtual characters.
[0047] Game battles are battles in the game. The game includes a virtual scene and several game alliances located in the virtual scene. Each game alliance includes several alliance virtual characters. The virtual scene is used to provide a game battle environment for the game alliances. Battles can be multiple local battles in the virtual scene in the entire multiplayer competitive game, or they can be the same local battle in multiple local battles. For ease of description, in the following text, it is better to take the game battle as the same local battle in multiple local battles as an example for explanation.
[0048] A local battle is a game battle in which at least one player participates in the entire multiplayer competitive game. This game battle can be a battle between a certain player and a player from a different faction, or a battle between a certain player and a wild monster in the game, where a wild monster is a type of neutral creature in the game.
[0049] The allied virtual characters are virtual game characters that belong to the same camp and fight against game players from different camps. The virtual game characters can be controlled by game players or by artificial intelligence (AI). The control method of the virtual game characters should not be understood as a limitation on this application.
[0050] The distance between the allied virtual characters can be the distance between the allied virtual characters on the virtual battlefield of the multiplayer competitive game, and the distance can be calculated by the electronic device based on the coordinates of the allied virtual characters on the virtual battlefield, or can be calculated by the electronic device based on the distance between the schematic points of the allied virtual characters in the small map of the multiplayer competitive game, and the scale of the small map and the virtual battlefield. The distance calculation method should not be understood as a limitation to the present application.
[0051] 102. Divide the multiple allied virtual characters participating in the game battle into at least one cooperation group according to the distance between each of the allied virtual characters.
[0052] The cooperation group may include multiple allied virtual characters or one allied virtual character. Different cooperation groups may be used to provide different perspectives for the current game battle.
[0053] Optionally, in a specific implementation, the above step 102 may include: dividing allied virtual characters whose distance is within a first preset length into the same collaboration group.
[0054] The first preset length may be a specific length value that is preset in advance. The specific value of the first preset length may be 50 or 75. The specific value of the first preset length should not be understood as a limitation to the present application.
[0055] The cooperation groups are divided according to the distances between the virtual characters of the alliance. When the perspective images are presented according to the cooperation groups, it is more conducive to presenting the images from multiple perspectives in different directions, thus improving the comprehensiveness of the image presentation.
[0056] For the sake of convenience, let's take the example of five allied virtual characters participating in the same game battle: a, b, c, d, and e. Among them, the distances between a, b, and c are all within the first preset length, the distance between d and e is within the first preset length, and the distance between any one of a, b, and c and any one of d and e exceeds the first preset length, then a, b, and c can be divided into one collaborative group, and d and e can be divided into another collaborative group.
[0057] 103. For each of the collaborative groups, traverse the battle screens of each alliance virtual character in the collaborative group, and determine from the battle screens the battle screen as the battle screen of the collaborative group.
[0058] Optionally, the battle screen may include any one of the following screens: a battle screen determined according to the viewing direction of the alliance virtual character; or an observer viewing direction screen determined with the alliance virtual character as the center.
[0059] That is to say, the battle screen can be presented from a first-person perspective, which can be the perspective of the ally virtual character; the battle screen can also be presented from an observer perspective, which is a perspective determined with the ally virtual character as the center. The specific perspective of the battle screen should not be understood as a limitation of this application, provided that the battle screen can clearly present the actual battle situation.
[0060] Optionally, determining the battle screen as the battle screen of the collaborative group from the battle screens includes: selecting a battle screen presenting the most target objects, and recording it as the battle screen of the collaborative group.
[0061] The target object is a specific game object pre-set in the game scene, for example, it can be a pre-set game building, game props, wild monster or virtual character, etc. Among them, the virtual character can be an ally virtual character or a non-ally virtual character. The target object can be a game object pre-specified by the player, or it can be a specific game object in the game.
[0062] For example, optionally, the target object may be a defense tower, that is, a battle screen showing the most defense towers is selected and recorded as the battle screen of the collaborative group.
[0063] Let's take the target object as an alliance virtual character as an example, and continue the explanation with the above example, that is, to explain "selecting the battle screen showing the largest number of alliance virtual characters from the battle screen as the battle screen of the collaborative group":
[0064] For a collaborative group including allied virtual characters a, b, and c, the electronic device can traverse the battle screen of a and obtain the number of allied virtual characters in the battle screen of a; traverse the battle screen of b and obtain the number of allied virtual characters in the battle screen of b; traverse the battle screen of c and obtain the number of allied virtual characters in the battle screen of c.
[0065] After obtaining the number of alliance virtual characters in the battle screens of a, b, and c, the number of alliance virtual characters is compared, and the battle screen with the largest number of alliance virtual characters is used as the battle screen of the collaborative group. Suppose the battle screen of b has the largest number of alliance virtual characters, then the battle screen of b can be used as the battle screen of the collaborative group.
[0066] Optionally, if there are multiple battle screens showing the most target objects, one of the multiple battle screens can be selected. For example, if the number of allied virtual characters in the battle screens of b and c is tied for the largest number, one of the battle screens of b and c can be selected.
[0067] Optionally, if a certain collaboration group includes only one alliance virtual character, the battle screen of the alliance virtual character can be directly used as the battle screen of the above collaboration group.
[0068] 104. Display the battle screen of each collaboration group.
[0069] Through step 103, the battle screen corresponding to each collaborative group can be obtained, and the obtained multiple battle screens can be displayed.
[0070] Optionally, multiple battle scenes can be displayed on a screen in a split-screen manner, and the screen can be a screen of an offline multiplayer competitive game match, or a screen of an electronic device held by a spectator, and the spectator can watch the live broadcast of the multiplayer competitive game match through the electronic device held. Split-screen means dividing the screen into multiple different areas, and different areas display different battle scenes.
[0071] In the embodiment of the present application, for multiple allied virtual characters participating in the same game battle, the distance between each allied virtual character is obtained, and the cooperation groups are divided according to the distance between each allied virtual character. For each cooperation group, the battle screens of the allied virtual characters in the cooperation group can be traversed, and the battle screen with the most target objects presented can be used as the battle screen of the cooperation group. After obtaining the battle screen of each cooperation group, multiple battle screens are displayed. The above embodiment allows the audience watching the multiplayer competitive game to fully understand the progress of the game through multiple battle screens, thereby reducing the missed opportunities of the exciting battle screens.
[0072] Optionally, in a specific implementation, the embodiment of the present application may further include the following steps: determining whether there is a first alliance virtual character in the battle screen corresponding to the first collaborative group, and the first alliance virtual character belongs to the first collaborative group; when the first alliance virtual character does not exist in the battle screen corresponding to the first collaborative group, then displaying the battle screen containing the first alliance virtual character in split screen.
[0073] In the above implementation, the alliance virtual characters appearing in the battle screen can be identified and judged in real time or periodically: whether any alliance virtual character belonging to the first collaboration group still exists in the screen. For ease of description, it is assumed that the first alliance virtual character is any alliance virtual character of the first collaboration group.
[0074] If the first alliance virtual character no longer exists in the battle screen, it means that the battle screen cannot display the actions of the first alliance virtual character. Therefore, the battle screen of the first alliance virtual character can be displayed in a split-screen manner to ensure that the audience of the battle will not miss the exciting scenes as much as possible.
[0075] Optionally, in a specific implementation, the embodiment of the present application may further include the following steps: when any two of the multiple battle scenes displayed contain the same alliance virtual character, a battle scene is selected from the battle scenes containing the same alliance virtual character for display.
[0076] In the above-mentioned implementation, when any two battle scenes contain the same allied virtual character, in order to avoid confusion to the audience caused by redundant information, one of the battle scenes containing the same allied virtual character can be selected for display, so that the battle scene is comprehensive and non-redundant.
[0077] Optionally, in a specific implementation, the embodiment of the present application may further include the following steps: for each of the multiple allied virtual characters participating in the game battle, the distance between each of the allied virtual characters and other allied virtual characters is obtained at preset time intervals or in real time.
[0078] In the above implementation, the process can jump to step 101 at every preset time interval and re-execute the loop process of steps 101 to 104, so as to regularly update the division of the cooperation group; or the loop process of steps 101 to 104 can be executed in real time. As the multiplayer competitive game progresses, the allied virtual characters controlled by the game players will keep moving on the virtual battlefield of the game battle. As the distance between the allied virtual characters changes, the cooperation group also needs to be updated. The above steps can realize the regular update or real-time update of the cooperation group.
[0079] Optionally, in a specific implementation manner, the embodiment of the present application may further include the following steps:
[0080] If the distance between an alliance virtual character and other alliance virtual characters in the same collaboration group exceeds a second preset length, the alliance virtual character is removed from the corresponding collaboration group, wherein the alliance virtual character removed from the collaboration group is recorded as the first alliance virtual character.
[0081] The second preset length is a preset length value, and the second preset length may be greater than or equal to the first preset length. On the premise that the second preset length is greater than or equal to the first preset length, the specific value of the second preset length should not be understood as a limitation to the present application.
[0082] In the above-mentioned implementation mode, for each collaboration group, the distance between the alliance virtual characters in the collaboration group can be monitored in real time. If the distance between a certain alliance virtual character and other alliance virtual characters belonging to the same collaboration group exceeds the second preset length, it means that the alliance virtual character has moved away from the collaboration group to which it belongs, and the battle screen of the collaboration group can no longer cover the perspective screen of the alliance virtual character. Therefore, the alliance virtual character can be removed from the collaboration group to which it belongs. For the convenience of description, the removed alliance virtual character is recorded as the first alliance virtual character.
[0083] Continue with the above example:
[0084] For a collaborative group including allied virtual characters a, b, and c, if the distance between a and b exceeds a second preset length, and the distance between a and c also exceeds the second preset length, it means that a has moved away from the collaborative group including allied virtual characters a, b, and c. Therefore, the electronic device can remove a from the collaborative group including allied virtual characters a, b, and c.
[0085] By monitoring the distance between the alliance virtual characters in the cooperation group in real time and removing the first alliance virtual character whose distance exceeds the second preset length, the representativeness of the battle picture of each cooperation group can be maintained.
[0086] After step 106, the method provided in the embodiment of the present application further includes:
[0087] Determining whether there is a second ally virtual character among other ally virtual characters whose distance to the first ally virtual character is less than or equal to a first preset length;
[0088] If so, the first alliance virtual character is added to the collaboration group corresponding to the second alliance virtual character.
[0089] If not, the first alliance virtual character is divided into a new collaboration group.
[0090] In the above implementation, after the first alliance virtual character is removed from the original collaboration group, it can be determined whether there is a second alliance virtual character among other alliance virtual characters, and the distance between the second alliance virtual character and the first alliance virtual character is not greater than the first preset length. If there is, it means that the first alliance virtual character has moved to the distance range of another collaboration group, and the first alliance virtual character can be added to the collaboration group to which the second alliance virtual character belongs; if there is no, it means that the first alliance virtual character has moved to a position that is not close to any current collaboration group, and the position can be presented as a new perspective screen, and the first alliance virtual character can be divided into a new collaboration group.
[0091] Continue with the above example:
[0092] After a is removed from the collaborative group including the alliance virtual characters a, b, and c, the electronic device can compare the distances between a and d and e respectively. If the distance between a and d is not greater than the first preset length, or the distance between a and e is not greater than the first preset length, it means that a has moved to the collaborative group to which d and e belong, and a can be added to the collaborative group. At this time, the five alliance virtual characters a, b, c, d, and e are divided into one collaborative group of b and c, and another collaborative group of a, d, and e.
[0093] If the distance between a and d and the distance between a and e exceed the first preset length, it means that a has moved to a position that is not close to any current collaborative group, and a can be used as a new collaborative group. At this time, the five alliance virtual characters a, b, c, d, and e are divided into one collaborative group of b and c, another collaborative group of d and e, and another collaborative group of a.
[0094] The above-mentioned re-divided cooperation groups can select the battle screen of each cooperation group according to step 103, so that the battle screen can be updated in real time as the game progresses.
[0095] Optionally, before step 101, the method provided by the embodiment of the present application may further include: dividing all the allied virtual characters into at least one local battle according to the battle object information.
[0096] The battle object refers to the object that the allied virtual character fights against, and the battle object can be a non-alliance virtual character or a wild monster. The specific type of the battle object should not be understood as a limitation of the present application.
[0097] In the above-mentioned implementation, the battle situation in which the alliance virtual character is located can be divided according to the battle object information.
[0098] In a specific implementation, the step of "dividing all the allied virtual characters into at least one local battle according to the battle object information" may be: if among all the allied virtual characters, there are multiple allied virtual characters whose battle objects are the same object, the multiple allied virtual characters are divided into the same local battle.
[0099] In the above implementation, the local battles can be divided according to whether the battle targets of the alliance virtual characters are the same. If there are multiple alliance virtual characters whose battle targets are the same among all the alliance virtual characters, it means that the multiple alliance virtual characters are in a war against the same target, so these multiple alliance virtual characters are divided into the same local battle.
[0100] In another specific implementation, the step of "dividing all the allied virtual characters into at least one local battle according to the battle object information" may be: if among all the allied virtual characters, there are multiple allied virtual characters whose battle objects are separated by a distance less than a third preset length, the multiple allied virtual characters are divided into the same local battle.
[0101] The third preset length may be a preset length value, and its specific numerical value should not be understood as a limitation to the present application.
[0102] If there are multiple allied virtual characters among allied virtual characters whose battle objects are not the same object, but the distance between the battle objects is less than the third preset length, it also indicates that the battle objects are in the same local battle. Therefore, multiple allied virtual characters can be divided into the same local battle.
[0103] As can be seen from the above, the embodiment of the present application can first divide all the alliance virtual characters into at least one local battle according to the battle object information. Then for each local battle, the alliance virtual characters can be divided into at least one collaborative group according to the distance between the multiple alliance virtual characters participating in the local battle. Then for each collaborative group, the battle screen of the collaborative group is determined according to the number of target objects presented by the battle screen of the alliance virtual characters, and the battle screen of each collaborative group is displayed. During the game, the distance between the alliance virtual characters in each collaborative group can also be monitored in real time, and according to the distance between the alliance virtual characters, the alliance virtual characters in the collaborative group are removed, added, and a new collaborative group is established, and the battle screen of the new collaborative group is updated in real time, so that the audience watching the game competition can fully understand the progress of the game through multiple battle screens, thereby reducing the miss of the wonderful battle screen.
[0104] The method described in the above embodiment will be further described in detail below.
[0105] In this embodiment, the method of the embodiment of the present application will be described in detail by taking the ally virtual character as a game character teammate as an example.
[0106] like Figure 2 As shown, a method for displaying a battle screen of a game has the following specific process:
[0107] 201. According to the battle object information, all game character teammates are divided into at least one local battle.
[0108] 202. For multiple game character teammates participating in the same local battle, obtain the distance between each of the game character teammates.
[0109] 203. Group at least one game character teammate whose distance is within the first preset length into the same cooperation group, thereby determining at least one cooperation group.
[0110] 204. For each of the collaborative groups, traverse the battle screens of the game character teammates in the collaborative group, and select the battle screen presenting the most game character teammates as the battle screen of the collaborative group.
[0111] 205. Display multiple battle scenes in a split-screen manner.
[0112] 206. Monitor the distance between the game character teammates in each of the collaborative groups in real time.
[0113] 207. If the distance between a game character teammate and other game character teammates in the same collaboration group exceeds a second preset length, remove the game character teammate from the corresponding collaboration group, wherein the game character teammate removed from the collaboration group is recorded as the first game character teammate.
[0114] 208. Determine whether there is a second game character teammate among other game character teammates participating in the same local battle, and whether the distance between the first game character teammate and the second game character teammate is less than or equal to a first preset length. If so, execute step 209 and then jump to step 204; if not, execute step 210 and then jump to step 204.
[0115] 209. Add the first game character teammate to the collaboration group corresponding to the second game character teammate.
[0116] 210. Divide the first game character teammates into new collaboration groups.
[0117] As can be seen from the above, the embodiment of the present application can first divide all game character teammates into at least one local battle according to the battle object information. Then for each local battle, the game character teammates can be divided into at least one collaborative group according to the distance between the multiple game character teammates participating in the local battle. Then for each collaborative group, the battle screen of the collaborative group is determined according to the number of game character teammates presented by the battle screen of the game character teammates, and the battle screen of each collaborative group is displayed. During the game, the distance between the game character teammates in each collaborative group can also be monitored in real time, and according to the distance between the game character teammates, the game character teammates in the collaborative group can be removed, added, and a new collaborative group can be established, and the battle screen of the new collaborative group can be updated in real time, so that the audience watching the game competition can understand the game process in all aspects through multiple battle screens, and will not miss the wonderful battle screen due to the running of the game character.
[0118] In order to better implement the above method, the embodiment of the present application also provides a game battle screen display device, which can be integrated in an electronic device, and the electronic device can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
[0119] For example, Figure 3 As shown, the battle screen display device of the game may include:
[0120] The distance acquisition module 310 is used to acquire the distance between each of the multiple allied virtual characters participating in the game battle;
[0121] A group division module 320, for dividing the plurality of the alliance virtual characters participating in the game battle into at least one cooperation group according to the distance between each of the alliance virtual characters;
[0122] A perspective screen selection module 330 is used for, for each of the cooperation groups, traversing the battle screens of each alliance virtual character in the cooperation group, and determining from the battle screens as the battle screen of the cooperation group;
[0123] The perspective picture display module 340 is used to display the battle picture of each collaboration group.
[0124] Optionally, the perspective screen selection module 330 is specifically used to select a battle screen presenting the largest number of alliance virtual characters from the battle screens as the battle screen of the collaborative group.
[0125] Optionally, the battle screen of the alliance virtual character includes any one of the following: a battle screen determined according to the viewing direction of the alliance virtual character; an observer viewing screen determined with the alliance virtual character as the center.
[0126] Optionally, the device also includes: an alliance role judgment submodule, used to judge whether there is a first alliance virtual character in the battle screen corresponding to the first collaborative group, and the first alliance virtual character belongs to the first collaborative group; a split-screen display submodule, used to display the battle screen containing the first alliance virtual character in a split-screen when the first alliance virtual character does not exist in the battle screen corresponding to the first collaborative group.
[0127] Optionally, the device further includes: a screen selection submodule, which is used to select a battle screen from the battle screens containing the same alliance virtual character for display when the alliance virtual characters contained in any two of the multiple battle screens displayed are the same.
[0128] Optionally, the group division module 320 is specifically used to divide the allied virtual characters whose distance is within a first preset length into the same collaboration group.
[0129] Optionally, the perspective picture selection module 330 is specifically used to select a picture of the battle perspective presenting the most target objects, and record it as the battle picture.
[0130] Optionally, in a specific embodiment, the device further comprises:
[0131] The step execution module is used to obtain the distance between each of the multiple allied virtual characters participating in the game battle and other allied virtual characters at preset time intervals or in real time.
[0132] Optionally, the device further comprises:
[0133] The role removal module is used to remove an alliance virtual character from the corresponding collaboration group when the distance between an alliance virtual character and other alliance virtual characters in the same collaboration group exceeds a second preset length, wherein the alliance virtual character removed from the collaboration group is recorded as the first alliance virtual character.
[0134] Optionally, the device further comprises:
[0135] A distance determination module, used for determining whether there is a second ally virtual character among other ally virtual characters whose distance to the first ally virtual character is less than or equal to a first preset length;
[0136] The role adding module is used to add the first alliance virtual character to the collaboration group corresponding to the second alliance virtual character when the distance between the second alliance virtual character and the first alliance virtual character is less than or equal to a first preset length.
[0137] Optionally, the device further comprises:
[0138] The collaboration group division module is used to divide the first alliance virtual character into a new collaboration group when there is no distance between the second alliance virtual character and the first alliance virtual character that is less than or equal to a first preset length.
[0139] Optionally, the device further comprises:
[0140] The battle division module is used to divide all alliance virtual characters into at least one local battle according to the battle object information.
[0141] Optionally, the battle division module is specifically used to divide the multiple allied virtual characters into the same local battle when the battle objects of multiple allied virtual characters among all the allied virtual characters are the same object.
[0142] Optionally, the battle division module is specifically used to divide the multiple allied virtual characters into the same local battle when the distance between the battle objects of multiple allied virtual characters among all the allied virtual characters is less than a third preset length.
[0143] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
[0144] Therefore, the embodiments of the present application can enhance the viewing experience of viewers watching game competitions, allowing viewers to fully understand the progress of the game through multiple battle scenes and not miss the exciting battle scenes due to the running of game characters.
[0145] Correspondingly, an embodiment of the present application also provides a computer device, which may be a terminal or a server, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer, a personal digital assistant (PDA), or other terminal devices.
[0146] like Figure 4 As shown, Figure 4 The schematic diagram of the structure of a computer device provided in an embodiment of the present application is a computer device 400, which includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. It can be understood by those skilled in the art that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0147] The processor 401 is the control center of the computer device 400. It uses various interfaces and lines to connect the various parts of the entire computer device 400, executes various functions of the computer device 400 and processes data by running or loading software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, thereby monitoring the computer device 400 as a whole.
[0148] In the embodiment of the present application, the processor 401 in the computer device 400 will load the instructions corresponding to the processes of one or more applications into the memory 402 according to the following steps, and the processor 401 will run the application stored in the memory 402 to implement various functions: for each of the multiple allied virtual characters participating in the game battle, obtain the distance between each of the allied virtual characters; according to the distance between each of the allied virtual characters, divide the multiple allied virtual characters participating in the game battle into at least one collaborative group; for each of the collaborative groups, traverse the battle screen of each allied virtual character in the collaborative group, and determine the battle screen as the collaborative group from the battle screens; and display the battle screen of each collaborative group.
[0149] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0150] Optional, such as Figure 4 As shown, the computer device 400 further includes: a touch screen 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art can understand that Figure 4 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0151] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the computer device, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 401, and can receive the command sent by the processor 401 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 401 to determine the type of touch event, and then the processor 401 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 403 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 403 can also be used as a part of the input unit 406 to realize the input function.
[0152] The radio frequency circuit 404 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other computer devices through wireless communication, and to send and receive signals between the network device or other computer devices.
[0153] The audio circuit 405 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 405 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and converted into audio data, and then the audio data is output to the processor 401 for processing, and then sent to another computer device through the radio frequency circuit 404, or the audio data is output to the memory 402 for further processing. The audio circuit 405 may also include an earphone jack to provide communication between an external headset and the computer device.
[0154] The input unit 406 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0155] The power supply 407 is used to supply power to various components of the computer device 400. Optionally, the power supply 407 can be logically connected to the processor 401 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 407 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0156] although Figure 4 Not shown, the computer device 400 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0157] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0158] As can be seen from the above, the computer device provided in this embodiment can enhance the viewing experience of viewers watching game competitions, allowing viewers to fully understand the progress of the game through multiple battle screens and not miss the exciting battle screens due to the running of game characters.
[0159] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0160] To this end, the embodiment of the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer program can be loaded by a processor to execute the steps in the battle screen display method of any game provided in the embodiment of the present application. For example, the computer program can perform the following steps: for each of the multiple alliance virtual characters participating in the game battle, obtain the distance between each of the alliance virtual characters; according to the distance between each of the alliance virtual characters, divide the multiple alliance virtual characters participating in the game battle into at least one collaboration group; for each of the collaboration groups, traverse the battle screen of each alliance virtual character in the collaboration group, and determine the battle screen as the collaboration group from the battle screen; display the battle screen of each collaboration group.
[0161] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0162] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0163] Since the computer program stored in the computer-readable storage medium can execute the steps in the battle screen display method of any game provided in the embodiments of the present application, the beneficial effects that can be achieved by the battle screen display method of any game provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0164] The above is a detailed introduction to a method, device, computer-readable storage medium and computer equipment for displaying a battle screen of a game provided in an embodiment of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and scope of application. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for displaying a battle screen of a game, characterized in that: The game includes a virtual scene and a plurality of game alliances located in the virtual scene, each of the game alliances includes a plurality of alliance virtual characters, and the virtual scene is used to provide a game battle environment for the game alliances. The method includes: For each of the multiple ally virtual characters participating in the game battle, obtaining the distance between each of the ally virtual characters; Dividing the plurality of alliance virtual characters participating in the game battle into at least one cooperation group according to the distance between each of the alliance virtual characters; For each of the collaborative groups, traverse the battle screens of each alliance virtual character in the collaborative group, and select the battle screen that presents the largest number of alliance virtual characters or target objects from the battle screens as the battle screen of the collaborative group; Displaying the battle screen of each collaboration group; The step of dividing the plurality of allied virtual characters participating in the game battle into at least one cooperative group according to the distance between each of the allied virtual characters comprises: The allied virtual characters whose distance is within a first preset length are divided into the same cooperation group.
2. The method according to claim 1, characterized in that The battle screen of the alliance virtual character includes any of the following: A battle screen determined according to the viewing direction of the ally avatar; An observer's perspective screen is determined with the ally virtual character as the center.
3. The method according to claim 1, characterized in that The method further comprises: Determining whether there is a first alliance virtual character in the battle screen corresponding to the first cooperation group, the first alliance virtual character belonging to the first cooperation group; When the first alliance virtual character does not exist in the battle screen corresponding to the first collaboration group, the battle screen including the first alliance virtual character is displayed in split screen.
4. The method according to claim 1, characterized in that: The method further comprises: When the alliance virtual characters contained in any two of the multiple battle scenes displayed are the same, a battle scene is selected from the battle scenes containing the same alliance virtual character for display.
5. The method according to claim 1, characterized in that The method further comprises: For each of the multiple allied virtual characters participating in the game battle, the distance between each of the allied virtual characters and other allied virtual characters is obtained at preset time intervals or in real time.
6. The method according to claim 1, characterized in that The method further comprises: If the distance between the first ally virtual character and other ally virtual characters in the same collaboration group exceeds a second preset length, the first ally virtual character is removed from the corresponding collaboration group, and the second preset length is greater than or equal to the first preset length.
7. The method according to claim 6, characterized in that After removing the first alliance virtual character from the corresponding collaboration group, the method further includes: Determining whether there is a second ally virtual character among other ally virtual characters whose distance to the first ally virtual character is less than or equal to a first preset length; If so, the first alliance virtual character is added to the collaboration group corresponding to the second alliance virtual character.
8. The method according to claim 7, characterized in that The method further comprises: If there is no distance between the second alliance virtual character and the first alliance virtual character that is less than or equal to the first preset length, the first alliance virtual character is divided into a new cooperation group.
9. The method according to claim 1, characterized in that The game battle is a local battle in the whole game.
10. The method according to claim 9, characterized in that Before obtaining the distance between each of the plurality of ally virtual characters participating in the game battle, the method further includes: According to the battle object information, all the alliance virtual characters are divided into at least one local battle; For each of the multiple allied virtual characters participating in the game battle, obtaining the distance between each of the allied virtual characters includes: For each of the multiple alliance virtual characters participating in the same local battle, the distance between each of the alliance virtual characters is obtained.
11. The method according to claim 10, characterized in that The step of dividing all the allied virtual characters into at least one local battle according to the battle object information includes: If among all the allied virtual characters, there are multiple allied virtual characters whose battle targets are the same target, the multiple allied virtual characters are divided into the same local battle.
12. The method according to claim 10, characterized in that The step of dividing all the allied virtual characters into at least one local battle according to the battle object information includes: If among all the allied virtual characters, there are multiple allied virtual characters whose battle objects are separated by a distance less than a third preset length, the multiple allied virtual characters are divided into the same local battle.
13. A game battle screen display device, characterized in that: The device comprises: A distance acquisition module, for acquiring the distance between each of the multiple alliance virtual characters participating in the game battle; A group division module, used for dividing the plurality of the alliance virtual characters participating in the game battle into at least one cooperation group according to the distance between each of the alliance virtual characters; A perspective screen selection module is used for, for each of the collaborative groups, traversing the battle screens of each alliance virtual character in the collaborative group, and selecting a battle screen presenting the largest number of alliance virtual characters or target objects from the battle screens as the battle screen of the collaborative group; A perspective screen display module, used to display the battle screen of each collaboration group; The group division module is specifically used to divide the allied virtual characters within a first preset distance into the same collaboration group.
14. A computer device, characterized in that: It includes a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the game battle screen display method as described in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the game battle screen display method as described in any one of claims 1 to 12.
Citation Information
Patent Citations
Information prompting method and device in game, storage medium and computer equipment
CN113082709A
Game control method and device, equipment and storage medium
CN113082717A
