A method and device for displaying information in a game
By using dynamic indicators to move in the life indicator control in the battle game, the problem of players needing to pay frequent attention to the health of multiple virtual characters is solved, and the efficiency and concentration of judgment on the battle situation is improved.
Patent Information
- Application Number
- CN202010208588.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-23
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2040-03-23
AI Technical Summary
In battle games, existing technology makes players need to pay frequent attention to the health of multiple virtual characters, resulting in distraction and it is difficult to quickly judge the advantages and disadvantages of the situation.
By using life indicator controls containing the first end, the second end and the dynamic indicator logo in the game, the dynamic indicator moves between the first end and the second end, reflecting the changes in the health value of the virtual character and reducing the content that players pay attention to And improve judgment efficiency.
This method directly reflects the advantages and disadvantages of both parties through the shared life indicator control, reducing the time and energy required by players to judge the situation, which is conducive to players' attention during the battle.
Smart Images

Figure CN111389001B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular to a method and device for displaying information in a game. Background Art
[0002] In a battle game, the status of a virtual character is usually reflected by the life value of the virtual character; if the life value of any virtual character in the battle returns to zero during the battle, it means that the virtual character has failed in the battle, and the corresponding virtual character fighting against it has won the battle. In order to display the life value of the virtual character to the player in real time during the battle, a progress bar representing the life value is usually set for each virtual character. The length of the progress bar changes with the change of the life value of the virtual character. The lower the life value of the virtual character, the shorter the corresponding progress bar.
[0003] This method of displaying health values requires players to spend a lot of time paying attention to the length of the health value progress bars corresponding to both sides during the battle, and judging the health values of both sides, which easily distracts players' attention. Summary of the invention
[0004] The disclosed embodiments at least provide a method and device for displaying information in a game.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for displaying information in a game, wherein the game includes a first virtual character and a second virtual character; the method comprises:
[0006] Displaying a life indicator control for indicating the life values of the first virtual character and the second virtual character, wherein the life indicator control comprises a first end, a second end and a dynamic indication mark;
[0007] In response to changes in the life value of the first virtual character and / or the second virtual character, the dynamic indication mark is controlled to move between the first end and the second end.
[0008] In an optional embodiment, the life indication control is divided into a first indication area and a second indication area by the dynamic indication mark located between the first end and the second end, the first indication area is used to indicate the life value of the first virtual character, and the second indication area is used to indicate the life value of the second virtual character.
[0009] In an optional implementation manner, in response to a change in the life value of the first virtual character and / or the second virtual character, controlling the dynamic indication mark to move between the first end and the second end includes:
[0010] In response to the life value of the first virtual character decreasing, the dynamic indication mark is controlled to move closer to the first end and away from the second end.
[0011] In an optional implementation manner, the step of controlling the dynamic indication mark to move between the first end and the second end in response to a change in the life value of the first virtual character and / or the second virtual character includes:
[0012] In response to the life value of the second virtual character decreasing, the dynamic indication mark is controlled to move closer to the second end and away from the first end.
[0013] In an optional implementation manner, the first virtual character is one or more;
[0014] and / or,
[0015] The number of the second virtual character is one or more.
[0016] In an optional implementation, the first virtual character includes: at least one of a player-controlled character and a non-player-controlled character;
[0017] and / or,
[0018] The first virtual character includes at least one of a player-controlled character and a non-player-controlled character.
[0019] In an optional implementation, the first virtual character and the second virtual character are virtual characters from different camps.
[0020] In an optional implementation, the life indicator control is in the shape of a strip.
[0021] In an optional implementation, the dynamic indication mark includes: at least one of an icon or a dividing line.
[0022] In an optional implementation manner, the step of controlling the dynamic indication mark to move between the first end and the second end in response to a change in the life value of the first virtual character and / or the second virtual character includes:
[0023] In response to changes in the health value of the first virtual character and / or the second virtual character, determining the health percentage of the first virtual character and the second virtual character;
[0024] Based on the life percentage, determining a first distance between the dynamic indicator and the first end, and / or determining a second distance between the dynamic indicator and the second end;
[0025] Based on the first distance and / or the second distance, the dynamic indication mark is controlled to move between the first end and the second end.
[0026] In a second aspect, the embodiments of the present disclosure further provide an information display device in a game, comprising: a display module, for displaying a life indicator control for indicating the life values of the first virtual character and the second virtual character, wherein the life indicator control comprises a first end, a second end and a dynamic indication mark;
[0027] A response module is used to respond to the change of the life value of the first virtual character and / or the second virtual character, and control the dynamic indication mark to move between the first end and the second end.
[0028] In a possible implementation, the life indication control is divided into a first indication area and a second indication area by the dynamic indication mark located between the first end and the second end, the first indication area is used to indicate the life value of the first virtual character, and the second indication area is used to indicate the life value of the second virtual character.
[0029] In a possible implementation manner, the response module, in response to the change in the life value of the first virtual character and / or the second virtual character, controls the dynamic indication mark to move between the first end and the second end, is used to:
[0030] In response to the life value of the first virtual character decreasing, the dynamic indication mark is controlled to move closer to the first end and away from the second end.
[0031] In a possible implementation manner, the response module, in response to the change in the life value of the first virtual character and / or the second virtual character, controls the dynamic indication mark to move between the first end and the second end, is used to:
[0032] In response to the life value of the second virtual character decreasing, the dynamic indication mark is controlled to move closer to the second end and away from the first end.
[0033] In a possible implementation manner, the first virtual character is one or more;
[0034] and / or,
[0035] The number of the second virtual character is one or more.
[0036] In a possible implementation manner, the first virtual character includes: at least one of a player-controlled character and a non-player-controlled character;
[0037] and / or,
[0038] The first virtual character includes at least one of a player-controlled character and a non-player-controlled character.
[0039] In a possible implementation manner, the first virtual character and the second virtual character are virtual characters from different camps.
[0040] In a possible implementation manner, the life indicator control is in the shape of a bar.
[0041] In a possible implementation manner, the dynamic indication mark includes at least one of an icon and a dividing line.
[0042] In a possible implementation manner, the response module, in response to the change in the life value of the first virtual character and / or the second virtual character, controls the dynamic indication mark to move between the first end and the second end, is used to:
[0043] In response to changes in the health value of the first virtual character and / or the second virtual character, determining the health percentage of the first virtual character and the second virtual character;
[0044] Based on the life percentage, determining a first distance between the dynamic indicator and the first end, and / or determining a second distance between the dynamic indicator and the second end;
[0045] Based on the first distance and / or the second distance, the dynamic indication mark is controlled to move between the first end and the second end.
[0046] In a third aspect, an embodiment of the present disclosure further provides a computer device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect, or any possible implementation of the first aspect are performed.
[0047] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are executed.
[0048] The disclosed embodiment displays a life indicator control for indicating the life values of the first virtual character and the second virtual character, and the life indicator control includes a first end, a second end and a dynamic indicator mark. When the life values of the first virtual character and / or the second virtual character change, the dynamic indicator mark is controlled to move between the first end and the second end, thereby reducing the content that the player needs to pay attention to through the life indicator control shared by the first virtual character and the second virtual character; at the same time, because the life indicator control can directly reflect the pros and cons of the battle between the first virtual character and the second virtual character, the process of judging the pros and cons of the situation takes less time, which is conducive to the player's attention being focused on the battle.
[0049] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0051] Figure 1 A flow chart showing a method for displaying information in a game provided by an embodiment of the present disclosure is shown;
[0052] Figure 2 A specific example of the life indication control provided by the embodiment of the present disclosure is shown;
[0053] Figure 3 A flowchart showing a specific method for controlling a dynamic indication mark to move between a first end and a second end provided in an embodiment of the present disclosure is shown;
[0054] Figure 4 A schematic diagram showing an information display device in a game provided by an embodiment of the present disclosure;
[0055] Figure 5 A schematic diagram of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.
[0057] According to research, in battle games, the health value is usually used to reflect the status of the virtual characters in the battle. The current health value display methods are usually as follows:
[0058] One: A health value display control is set for each virtual character in the battle; the health value display control can display the current actual health value of the virtual character in real time in the form of numbers or percentages.
[0059] Second: a progress bar is set for each virtual character in the battle; the length of the progress bar represents the life value of the virtual character, and the length of the progress bar shortens as the life value decreases during the battle, and increases as the life value increases during the battle.
[0060] Three: Combine the health value display and the progress bar, that is, set a progress bar representing the health value for each virtual character in the battle, and display the health value corresponding to the current progress bar in the form of numbers or percentages.
[0061] During actual combat, players usually adopt different combat strategies according to the real-time status of the virtual characters. For example, players need to pay attention to the health value of the virtual characters in real time to judge the pros and cons of the situation of the two sides, and adopt different combat strategies according to the results of the judgment. The above-mentioned methods of displaying health values require players to pay attention to the health values of the two sides respectively, and convert the results of their attention into judgments on the pros and cons of the situation. This process requires a long reaction time and easily distracts the player's attention from the battle.
[0062] Based on the above research, the present disclosure provides a method and device for displaying information in a game, by displaying a life indicator control for indicating the life values of a first virtual character and a second virtual character, the life indicator control includes a first end, a second end and a dynamic indicator mark. When the life values of the first virtual character and / or the second virtual character change, the dynamic indicator mark is controlled to move between the first end and the second end, thereby reducing the content that players need to pay attention to through the life indicator control shared by the first virtual character and the second virtual character; at the same time, because the life indicator control can directly reflect the pros and cons of the battle between the first virtual character and the second virtual character, the process of judging the pros and cons of the situation takes less time, which is conducive to the player's attention being focused on the battle.
[0063] The defects existing in the above solutions are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present disclosure for the above problems below should be the contributions made by the inventor to the present disclosure during the disclosure process.
[0064] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0065] To facilitate understanding of this embodiment, a method for displaying information in a game disclosed in an embodiment of the present disclosure is first introduced in detail. The execution subject of the method for displaying information in a game provided in an embodiment of the present disclosure is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device, and the terminal device may be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementations, the method for displaying information in the game may be implemented by a processor calling a computer-readable instruction stored in a memory.
[0066] The following describes the information display method in the game provided by the embodiment of the present disclosure by taking the execution subject as a terminal device as an example.
[0067] See also Figure 1 As shown, it is a flowchart of the information display method in the game provided by the embodiment of the present disclosure, and the method includes steps S101-S102, wherein:
[0068] S101: Displaying a life indicator control for indicating the life values of the first virtual character and the second virtual character, wherein the life indicator control comprises a first end, a second end and a dynamic indication mark;
[0069] S102: In response to a change in the life value of the first virtual character and / or the second virtual character, control the dynamic indication mark to move between the first end and the second end.
[0070] The above S101 and S102 are described in detail below.
[0071] I: In the above S101, the game includes a first virtual character and a second virtual character.
[0072] In one possible implementation, the first virtual character and the second virtual character may be virtual characters belonging to the same camp; in this case, the player may determine the current state of his own virtual character through the life indicator control shared by the first virtual character and the second virtual character, so as to make game decisions based on the state of his own virtual character; for example, in some games, the virtual character with more health points is determined based on the life indicator control shared by the first virtual character and the second virtual character, and a more difficult game task is assigned to the virtual character with more health points to execute. For example, in such a difficult game, a large amount of health points may be lost during the execution of a game task.
[0073] In another possible implementation, the first virtual character and the second virtual character may also be virtual characters from different camps; in this case, the player may determine the pros and cons of the situation for his or her own side and the enemy side through the life indicator control shared by the first virtual character and the second virtual character, and then make subsequent game decisions based on the pros and cons of the situation indicated by the life indicator control.
[0074] There may be one or more first virtual characters; similarly, there may be one or more second virtual characters.
[0075] The first virtual character is, for example, at least one of a player-controlled character (Player Character, PC) and a non-player-controlled character (Non-Player Character, NPC); the second virtual character is also, for example, at least one of a PC and an NPC.
[0076] Take the first virtual character as an example:
[0077] (1) In the case where there are multiple first virtual characters, and the multiple first virtual characters include at least two PCs:
[0078] In one possible scenario, at least two PCs can be controlled by the same player at the same terminal; for example, in a real-time strategy game, one player can control multiple PCs.
[0079] In another possible case, at least two PCs may be controlled by different players of the same terminal. For example, different players may respectively control at least two different PCs through input peripherals installed on a gaming device, such as a game controller.
[0080] In another possible situation, at least two PCs may also be controlled by different players at different terminals; for example, in a multiplayer game, one player controls one PC.
[0081] (2) When there are multiple first virtual characters, and all of them are NPCs, the multiple first virtual characters are, for example, all controlled by artificial intelligence (AI).
[0082] The second virtual character is similar to the first virtual character and will not be described in detail here.
[0083] Take the first virtual character and the second virtual character as an example:
[0084] (3) In the case where there is one first virtual character and one second virtual character, when both the first virtual character and the second virtual character are PCs, the first virtual character and the second virtual character are, for example, controlled by the same player in the same terminal device, or controlled by different players through the same terminal, or controlled by different players in different terminals.
[0085] (4) In the case where one of the first virtual character and the second virtual character is a PC and the other is an NPC, the PC is controlled by a player in a terminal device, and the NPC is controlled by, for example, artificial intelligence (AI); the AI is in, for example, the terminal device or in another device, such as a server.
[0086] In the graphical user interface of the terminal device, a life indication control is displayed, which includes: a first end, a second end, and a dynamic indication mark.
[0087] Exemplarily, the first end and the second end can be located on both sides of the life indication control, for example, corresponding to the first virtual character and the second virtual character respectively, and the dynamic indication mark dynamically indicates the change of the life value of the first virtual character and / or the second virtual character according to its movement between the first end and the second end.
[0088] Exemplarily, the first end corresponds to the first virtual character, and the second end corresponds to the second virtual character; the distance between the status indicator and the first end and the second end respectively represents the proportional relationship between the current remaining life values of the first end and the second end; for example, if the current life value of the first virtual character is greater than the current life value of the second virtual character, the status indicator is closer to the second end; if the current life value of the first virtual character is less than the current life value of the second virtual character, the status indicator is closer to the first end.
[0089] The dynamic indicator includes, for example, at least one of an icon or a dividing line. The specific shapes of the specific icon and dividing line can be set according to actual needs, and are not limited in the embodiments of the present disclosure; for example, the icon can be set to a crossed double sword, an axe, etc.; for another example, the dividing line can be a dividing line, or an arrow-shaped dividing line, etc.
[0090] In a possible implementation, the life indication control is divided into a first indication area and a second indication area by the dynamic indication mark located between the first end and the second end, the first indication area is used to indicate the life value of the first virtual character, and the second indication area is used to indicate the life value of the second virtual character.
[0091] Among them, the first indication area, for example, includes: the area corresponding to the position from the first end to the dynamic indication mark in the life indication control; the second indication area, for example, includes: the area corresponding to the position from the second end to the dynamic indication mark in the life indication control.
[0092] In the disclosed embodiments:
[0093] (1): The first indication area of the life indication control is used to indicate the life value of a first virtual character; the second indication area is used to indicate the life value of a second virtual character.
[0094] For example, when there is one first virtual character and one second virtual character, the first indication area indicates the life value of the first virtual character; and the second indication area indicates the life value of the second virtual character.
[0095] For another example, when there is only one first virtual character but multiple second virtual characters, the first indication area indicates the health value of the first virtual character, and the second indication area indicates the health value of any second virtual character among the multiple second virtual characters. The any second virtual character is a second virtual character that is currently directly interacting with the first virtual character, such as causing damage to the first virtual character or being the target of the first virtual character's attack.
[0096] For another example, when there are multiple first virtual characters but only one second virtual character, the first indication area indicates the health value of any first virtual character among the multiple first virtual characters; the second indication area indicates the health value of the second virtual character. The any first virtual character is, for example, a first virtual character that can be controlled by a player; other first virtual characters except the any first virtual character are NPCs or are controlled by other players.
[0097] (2): The first indication area of the life indication control is used to indicate the life values of multiple first virtual characters, and the second indication area is used to indicate the life value of a second virtual character.
[0098] For example, when there are multiple first virtual characters but only one second virtual character, the first indication area indicates the health value of at least some of the multiple first virtual characters; the second indication area indicates the health value of the second virtual character.
[0099] (3): The first indication area of the life indication control is used to indicate the life value of a first virtual character, and the second indication area is used to indicate the life values of multiple second virtual characters.
[0100] For example, when there is one first virtual character and multiple second virtual characters, the first indication area indicates the health value of one first virtual character; and the second indication area indicates the health values of at least some of the multiple second virtual characters.
[0101] (4): The first area of the life indication control is used to indicate the life values of multiple first virtual characters, and the second indication area is used to indicate the life values of multiple second virtual characters.
[0102] For example, if there are multiple first virtual characters and multiple second virtual characters, the first indication area indicates the health values of at least some of the multiple first virtual characters; the second indication area indicates the health values of at least some of the multiple second virtual characters.
[0103] In another embodiment, in order to clearly distinguish a first area indicating a first virtual object from a second area indicating a second virtual object in a life indication control, the first indication area and the second indication area may be set to different colors, and / or the first indication area and the second indication area may be set to different shapes.
[0104] Exemplarily, the life indicator control is in a certain shape, such as a bar, a circle, etc., such as a straight bar or a curved bar.
[0105] like Figure 2As shown in a, a specific example of a life indicator control is provided, in which the life indicator control is a straight bar. The life indicator control includes a straight bar, and the two ends of the straight bar are respectively a first end and a second end. A dynamic indicator (crossed double swords) is provided in the portion of the straight bar between the first end and the second end, which can dynamically change its position between the first end and the second end along the extension direction of the straight bar, wherein the position of the icon changes with the health value of the first virtual character and / or the second virtual character.
[0106] like Figure 2 As shown in b, another specific example of a life indicator control is provided, in which the life indicator control is in the shape of a curved strip. The life indicator control includes an elliptical arc strip body, and the two ends of the elliptical arc strip body are respectively a first end and a second end; a dynamic indicator mark (arrow) is provided on the elliptical arc strip body, and the position of the dynamic indicator mark (arrow) between the first end and the second end is dynamically changed along the extension direction of the arc in the elliptical arc strip body.
[0107] like Figure 2 As shown in c, another specific example of a life indicator control is provided; in this example, the life indicator control is circular. The life indicator control includes a circular body; two ends of a certain diameter in the circular body are respectively a first end and a second end; a line segment is provided in the circular body to divide the circular body into two parts, the line segment is located between the first end and the second end, and can dynamically change between the first end and the second end along the extension direction of the diameter corresponding to the first end and the second end.
[0108] II: In the above S102, as the game progresses, the health value of the first virtual character and / or the second virtual character will change.
[0109] For example, when the first virtual character and the second virtual character are virtual characters from different game camps, the first virtual character and the second virtual character may cause damage to each other through skills during the battle, resulting in a decrease in the health of the first virtual character and / or the second virtual character; or the first virtual character and / or the second virtual character may increase their own health through healing skills, items used to increase health, etc. All of the above situations may cause changes in the health of the first virtual character and / or the second virtual character.
[0110] In response to changes in the life value of the first virtual character and / or the second virtual character, the dynamic indication mark is controlled to move between the first end and the second end of the life indication control.
[0111] Exemplarily, the first virtual character corresponds to the first end of the life indicator control; the second virtual character corresponds to the second end of the life indicator control. The response process includes, but is not limited to, the following:
[0112] In response to the life value of the first virtual character decreasing, controlling the dynamic indication mark to move closer to the first end and away from the second end;
[0113] In response to the life value of the second virtual character decreasing, the dynamic indication mark is controlled to move closer to the second end and away from the first end.
[0114] For example, see Figure 3 As shown, the embodiment of the present disclosure also provides a specific method for controlling the dynamic indication mark to move between the first end and the second end, including:
[0115] S301: In response to changes in the health value of the first virtual character and / or the second virtual character, determine the health percentages of the first virtual character and the second virtual character.
[0116] Here, depending on the specific game state, the health value of the first virtual character may increase, decrease, or remain unchanged within a certain period of time; similarly, the health value of the second virtual character may increase, decrease, or remain unchanged within a certain period of time.
[0117] For example, the health values of the first virtual character and the second virtual character may be monitored; when the health value of any virtual character changes, the health value percentage of the first virtual character and the second virtual character is immediately determined.
[0118] For example, the percentage of the first virtual character and the second virtual character may be determined periodically, and the position of the dynamic indication mark between the first end and the second end may be controlled based on the determined percentage.
[0119] S302: Determine a first distance between the dynamic indication mark and the first end, and / or determine a second distance between the dynamic indication mark and the second end based on the life percentage;
[0120] S303: Based on the first distance and / or the second distance, control the dynamic indication mark to move between the first end and the second end.
[0121] If the life value of the first virtual character increases and the life value of the second virtual character remains unchanged, or the life value of the second virtual character decreases, the dynamic indication mark is controlled to move away from the first end and closer to the second end;
[0122] If the life value of the second virtual character increases, the life value of the first virtual character remains unchanged, or the life value of the second virtual character decreases, the dynamic indication mark is controlled to move away from the second end and closer to the first end.
[0123] If the health value of the first virtual character increases and the health value of the second virtual character also increases, or the health value of the first virtual character decreases and the health value of the second virtual character also decreases, the specific direction in which the dynamic indicator needs to be moved is determined based on the determined remaining health value percentages of the first virtual character and the second virtual character.
[0124] The disclosed embodiment displays a life indicator control for indicating the life values of the first virtual character and the second virtual character, and the life indicator control includes a first end, a second end and a dynamic indicator mark. When the life values of the first virtual character and / or the second virtual character change, the dynamic indicator mark is controlled to move between the first end and the second end, thereby reducing the content that the player needs to pay attention to through the life indicator control shared by the first virtual character and the second virtual character; at the same time, because the life indicator control can directly reflect the pros and cons of the battle between the first virtual character and the second virtual character, the process of judging the pros and cons of the situation takes less time, which is conducive to the player's attention being focused on the battle.
[0125] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0126] Based on the same inventive concept, the embodiments of the present disclosure also provide an information display device in the game corresponding to the information display method in the game. Since the principle of solving the problem by the device in the embodiments of the present disclosure is similar to the information display method in the game mentioned above in the embodiments of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0127] Reference Figure 4 , which is a schematic diagram of an information display device in a game provided by an embodiment of the present disclosure, the device comprises: a display module 41 and a response module 42; wherein,
[0128] A display module 41, used for displaying a life indication control for indicating the life values of the first virtual character and the second virtual character, wherein the life indication control comprises a first end, a second end and a dynamic indication mark;
[0129] The response module 42 is used to control the dynamic indication mark to move between the first end and the second end in response to the change of the life value of the first virtual character and / or the second virtual character.
[0130] In a possible implementation, the life indication control is divided into a first indication area and a second indication area by the dynamic indication mark located between the first end and the second end, the first indication area is used to indicate the life value of the first virtual character, and the second indication area is used to indicate the life value of the second virtual character.
[0131] In a possible implementation manner, the response module 42, in response to the change in the life value of the first virtual character and / or the second virtual character, controls the dynamic indication mark to move between the first end and the second end, is used to:
[0132] In response to the life value of the first virtual character decreasing, the dynamic indication mark is controlled to move closer to the first end and away from the second end.
[0133] In a possible implementation manner, the response module 42, in response to the change in the life value of the first virtual character and / or the second virtual character, controls the dynamic indication mark to move between the first end and the second end, is used to:
[0134] In response to the life value of the second virtual character decreasing, the dynamic indication mark is controlled to move closer to the second end and away from the first end.
[0135] In a possible implementation manner, the first virtual character is one or more;
[0136] and / or,
[0137] The number of the second virtual character is one or more.
[0138] In a possible implementation manner, the first virtual character includes: at least one of a player-controlled character and a non-player-controlled character;
[0139] and / or,
[0140] The first virtual character includes at least one of a player-controlled character and a non-player-controlled character.
[0141] In a possible implementation manner, the first virtual character and the second virtual character are virtual characters from different camps.
[0142] In a possible implementation manner, the life indicator control is in the shape of a bar.
[0143] In a possible implementation manner, the dynamic indication mark includes at least one of an icon and a dividing line.
[0144] In a possible implementation manner, the response module 42, in response to the change in the life value of the first virtual character and / or the second virtual character, controls the dynamic indication mark to move between the first end and the second end, is used to:
[0145] In response to changes in the health value of the first virtual character and / or the second virtual character, determining the health percentage of the first virtual character and the second virtual character;
[0146] Based on the life percentage, determining a first distance between the dynamic indicator and the first end, and / or determining a second distance between the dynamic indicator and the second end;
[0147] Based on the first distance and / or the second distance, the dynamic indication mark is controlled to move between the first end and the second end.
[0148] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0149] The present disclosure also provides a computer device 10, such as Figure 5 FIG. 1 is a schematic diagram of the structure of a computer device 10 provided in an embodiment of the present disclosure, including:
[0150] Processor 11, memory 12, and bus 13; memory 12 is used to store execution instructions, including internal memory 121 and external memory 122; the internal memory 121 is also called internal memory, which is used to temporarily store the operation data in the processor 11 and the data exchanged with the external memory 122 such as a hard disk. The processor 11 exchanges data with the external memory 122 through the internal memory 121. When the computer device 10 is running, the processor 11 communicates with the memory 12 through the bus 13, so that the processor 11 executes the following instructions in user mode:
[0151] Displaying a life indicator control for indicating the life values of the first virtual character and the second virtual character, wherein the life indicator control comprises a first end, a second end and a dynamic indication mark;
[0152] In response to changes in the life value of the first virtual character and / or the second virtual character, the dynamic indication mark is controlled to move between the first end and the second end.
[0153] In one possible implementation, in the instructions executed by the processor 11, the life indication control is divided into a first indication area and a second indication area by the dynamic indication mark located between the first end and the second end, the first indication area is used to indicate the life value of the first virtual character, and the second indication area is used to indicate the life value of the second virtual character.
[0154] In a possible implementation manner, in the instructions executed by the processor 11, the step of responding to the change in the life value of the first virtual character and / or the second virtual character and controlling the dynamic indication mark to move between the first end and the second end includes:
[0155] In response to the life value of the first virtual character decreasing, the dynamic indication mark is controlled to move closer to the first end and away from the second end.
[0156] In a possible implementation manner, in the instructions executed by the processor 11, the step of responding to the change in the life value of the first virtual character and / or the second virtual character and controlling the dynamic indication mark to move between the first end and the second end includes:
[0157] In response to the life value of the second virtual character decreasing, the dynamic indication mark is controlled to move closer to the second end and away from the first end.
[0158] In a possible implementation manner, in the instruction executed by the processor 11, the first virtual character is one or more;
[0159] and / or,
[0160] The number of the second virtual character is one or more.
[0161] In a possible implementation, in the instructions executed by the processor 11, the first virtual character includes: at least one of a player-controlled character and a non-player-controlled character;
[0162] and / or,
[0163] The first virtual character includes at least one of a player-controlled character and a non-player-controlled character.
[0164] In a possible implementation manner, in the instructions executed by the processor 11, the first virtual character and the second virtual character are virtual characters from different camps.
[0165] In a possible implementation manner, in the instruction executed by the processor 11, the life indication control is in the shape of a bar.
[0166] In a possible implementation manner, in the instruction executed by the processor 11, the dynamic indication mark includes: at least one of an icon and a dividing line.
[0167] In a possible implementation manner, in the instructions executed by the processor 11, the step of responding to the change in the life value of the first virtual character and / or the second virtual character and controlling the dynamic indication mark to move between the first end and the second end includes:
[0168] In response to changes in the health value of the first virtual character and / or the second virtual character, determining the health percentage of the first virtual character and the second virtual character;
[0169] Based on the life percentage, determining a first distance between the dynamic indicator and the first end, and / or determining a second distance between the dynamic indicator and the second end;
[0170] Based on the first distance and / or the second distance, the dynamic indication mark is controlled to move between the first end and the second end.
[0171] The present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the information display method in the game described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0172] The computer program product of the method for displaying information in a game provided in the embodiments of the present disclosure includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the steps of the method for displaying information in a game described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0173] The present disclosure also provides a computer program, which implements any one of the methods of the aforementioned embodiments when executed by a processor. The computer program product can be implemented in hardware, software, or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK), etc.
[0174] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0175] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0176] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0177] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0178] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A method for displaying information in a game, characterized in that: The game includes a first virtual character and a second virtual character; the method includes: A life indicator control for indicating the life values of the first virtual character and the second virtual character is displayed, wherein the first virtual character and the second virtual character share the same life indicator control; the life indicator control comprises a first end, a second end and a dynamic indicator mark; the life indicator control is divided into a first indicator area and a second indicator area by the dynamic indicator mark located between the first end and the second end, the first indicator area is used to indicate the life value of the first virtual character, and the second indicator area is used to indicate the life value of the second virtual character; the first virtual character and the second virtual character are virtual characters of the same camp, or virtual characters of different camps; the first end corresponds to the first virtual character, and the second end corresponds to the second virtual character; In response to changes in the life value of the first virtual character and / or the second virtual character, the life percentages of the first virtual character and the second virtual character are determined, and based on the life percentages, the dynamic indication mark is controlled to move between the first end and the second end.
2. The information display method according to claim 1, characterized in that: The step of responding to the change in the life value of the first virtual character and / or the second virtual character and controlling the dynamic indication mark to move between the first end and the second end includes: In response to the life value of the first virtual character decreasing, the dynamic indication mark is controlled to move closer to the first end and away from the second end.
3. The information display method according to claim 1, characterized in that: The step of responding to the change in the life value of the first virtual character and / or the second virtual character and controlling the dynamic indication mark to move between the first end and the second end includes: In response to the life value of the second virtual character decreasing, the dynamic indication mark is controlled to move closer to the second end and away from the first end.
4. The information display method according to any one of claim 1, characterized in that: The number of the first virtual characters is one or more; and / or the number of the second virtual characters is one or more.
5. The information display method according to any one of claim 1, characterized in that: The first virtual character includes: at least one of a player-controlled character and a non-player-controlled character; and / or, The second virtual character includes at least one of a player-controlled character and a non-player-controlled character.
6. The information display method according to any one of claim 1, characterized in that: The first virtual character and the second virtual character are virtual characters from different camps.
7. The information display method according to any one of claim 1, characterized in that: The life indication control is in the shape of a bar.
8. The information display method according to any one of claim 1, characterized in that: The dynamic indication mark includes at least one of an icon and a dividing line.
9. The information display method according to any one of claim 1, characterized in that: The step of responding to the change in the life value of the first virtual character and / or the second virtual character, determining the life percentage of the first virtual character and the second virtual character, and controlling the dynamic indication mark to move between the first end and the second end based on the life percentage, comprises: Based on the life percentage, determining a first distance between the dynamic indicator and the first end, and / or determining a second distance between the dynamic indicator and the second end; Based on the first distance and / or the second distance, the dynamic indication mark is controlled to move between the first end and the second end.
10. An information display device in a game, characterized in that: The game includes a first virtual character and a second virtual character; the device includes: A display module, used for displaying a life indicator control for indicating the life values of the first virtual character and the second virtual character, wherein the first virtual character and the second virtual character share the same life indicator control; the life indicator control comprises a first end, a second end and a dynamic indicator mark; the life indicator control is divided into a first indicator area and a second indicator area by the dynamic indicator mark located between the first end and the second end, the first indicator area is used for indicating the life value of the first virtual character, and the second indicator area is used for indicating the life value of the second virtual character; the first virtual character and the second virtual character are virtual characters of the same camp, or virtual characters of different camps; the first end corresponds to the first virtual character, and the second end corresponds to the second virtual character; The response module is used to respond to the change of the life value of the first virtual character and / or the second virtual character, determine the life percentage of the first virtual character and the second virtual character, and control the dynamic indication mark to move between the first end and the second end based on the life percentage.
11. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the information display method in the game as described in any one of claims 1 to 9 are performed.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the method for displaying information in a game as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Game system for executing online competition game and computer device
CN101770543A