CN116059633A - Information display method and device, storage medium and electronic equipment - Google Patents

Information display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116059633A
CN116059633A CN202310041646.3A CN202310041646A CN116059633A CN 116059633 A CN116059633 A CN 116059633A CN 202310041646 A CN202310041646 A CN 202310041646A CN 116059633 A CN116059633 A CN 116059633A
Authority
CN
China
Prior art keywords
grade
hit
target
level
penetration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310041646.3A
Other languages
Chinese (zh)
Inventor
张泽权
朱元元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202310041646.3A priority Critical patent/CN116059633A/en
Publication of CN116059633A publication Critical patent/CN116059633A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • A63F13/525Changing parameters of virtual cameras
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/58Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Abstract

The disclosure belongs to the technical field of virtual games, and relates to an information display method and device, a computer storage medium and electronic equipment. The method comprises the following steps: in response to a hit operation acting on the virtual shooting device, determining a hit virtual character corresponding to the hit operation and a hit portion corresponding to the hit virtual character; determining a penetration level corresponding to the virtual shooting equipment and determining a target level corresponding to the hit portion; target grades include a resistance grade and an injury grade; and determining a target display pattern according to the penetration grade and the target grade, and displaying the target display pattern at the hit position. In the method, the target display pattern is determined according to the penetration grade and the target grade, the target display pattern is displayed at the hit position, and the game player can rapidly judge the target grade of each position of the hit virtual character according to the target display pattern without increasing the information quantity of the game interface.

Description

Information display method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of virtual games, and in particular, to an information display method, an information display device, a computer readable storage medium, and an electronic apparatus.
Background
With the development of virtual game technology, various virtual games have emerged. In shooting-type games, a game player needs to achieve shooting of an enemy through a virtual shooting device to obtain a winning game.
In the related art, a game player normally shoots a enemy continuously in order to hit the enemy during a battle with the enemy. If the game player does not win after the continuous shooting, the shooting equipment and the number of continuous shooting times are changed, so that the game player cannot quickly judge the grades of all the positions of the enemy in the transient fight with the enemy, and then a proper fight strategy is selected, and the game experience of the game player is reduced.
In view of the foregoing, there is a need in the art for developing a new information display method and apparatus.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure aims to provide an information display method, an information display device, a computer readable storage medium and an electronic device, so as to at least overcome the problem that the game experience of a game player is poor due to the fact that the game player cannot quickly judge the level of each part of an enemy and cannot select a proper fight strategy due to the related technology to a certain extent.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to a first aspect of an embodiment of the present invention, there is provided an information display method, including: responding to a hit operation corresponding to virtual shooting equipment, and determining a hit virtual role corresponding to the hit operation and a hit position corresponding to the hit virtual role; determining a penetration level corresponding to the virtual shooting equipment and determining a target level corresponding to the hit portion; the target grade includes a defending grade and an injury grade; and determining a target display pattern according to the penetration grade and the target grade, and displaying the target display pattern at the hit position.
According to a second aspect of the embodiments of the present invention, there is provided an information display apparatus including: a determining hit module configured to determine a hit virtual character corresponding to a hit operation and a hit portion corresponding to the hit virtual character in response to the hit operation corresponding to a virtual shooting equipment; a determination grade module configured to determine a penetration grade corresponding to the virtual shooting equipment and to determine a target grade corresponding to the hit location; the target grade includes a defending grade and an injury grade; and the display module is configured to determine a target display pattern according to the penetration grade and the target grade and display the target display pattern at the hit position.
According to a third aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor and a memory; wherein the memory has stored thereon computer readable instructions which, when executed by the processor, implement the information display method of any of the above-described exemplary embodiments.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the information display method in any of the above-described exemplary embodiments.
As can be seen from the above technical solutions, the information display method, the information display device, the computer storage medium and the electronic apparatus according to the exemplary embodiments of the present invention have at least the following advantages and positive effects:
in the method and the device provided by the exemplary embodiment of the disclosure, the target display pattern is determined according to the penetration grade and the target grade, and the target display pattern is displayed at the hit position, so that the situation that the information of the hit position must be displayed in a mode of increasing the information amount of the game interface in the prior art is avoided; on the other hand, by displaying the target display pattern on the hit portion, the information display effect of the hit portion is increased, so that a game player can more quickly judge the target grade of the hit portion of the hit virtual character, different fight strategies can be quickly selected subsequently, and the game experience of the game player is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 schematically illustrates a flowchart of an information display method in an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of determining a target display style according to a penetration grade and a target grade in an information display method according to an embodiment of the present disclosure;
fig. 3 schematically illustrates another flow chart of determining a target display style according to a penetration level and a target level in the information display method according to the embodiment of the present disclosure;
fig. 4 schematically illustrates a flowchart of determining an action level as a first level if the level comparison result is that the penetration level is greater than the target level in the information display method according to the embodiment of the disclosure;
Fig. 5 schematically illustrates a flowchart of determining that the action grade is the second grade if the grade comparison result is that the penetration grade is less than or equal to the target grade in the information display method in the embodiment of the disclosure;
FIG. 6 schematically illustrates a flowchart of one of the information display methods according to the embodiments of the present disclosure after displaying a target display pattern at a hit portion;
fig. 7 schematically illustrates a schematic diagram of a game interface in an information display method in an application scenario in an embodiment of the present disclosure;
FIG. 8 schematically illustrates an apparatus for an information display method in an embodiment of the present disclosure;
fig. 9 schematically illustrates an electronic device for an information display method in an embodiment of the present disclosure;
fig. 10 schematically illustrates a computer-readable storage medium for an information display method in an embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
The terms "a," "an," "the," and "said" are used in this specification to denote the presence of one or more elements/components/etc.; the terms "comprising" and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. in addition to the listed elements/components/etc.; the terms "first" and "second" and the like are used merely as labels, and are not intended to limit the number of their objects.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
The information display method in one embodiment of the present disclosure may be run on a server. When the information display method is operated on the server, the information display method can be realized and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an alternative embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud game. Taking cloud game as an example, cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and operation of the information display method are completed on the cloud game server, the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the terminal equipment for displaying the information is a cloud game server in the cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal, or provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
In view of the problems in the related art, the present disclosure proposes an information display method. Fig. 1 shows a schematic flow chart of an information display method, and as shown in fig. 1, the information display method at least includes the following steps:
step S110, responding to the hit operation corresponding to the virtual shooting equipment, and determining the hit virtual character corresponding to the hit operation and the hit position corresponding to the hit virtual character.
S120, determining a penetration grade corresponding to the virtual shooting equipment and determining a target grade corresponding to the hit position; target grades include a defending grade and an injury grade.
And S130, determining a target display pattern according to the penetration grade and the target grade, and displaying the target display pattern at the hit position.
In the method and the device provided by the exemplary embodiment of the disclosure, the target display pattern is determined according to the penetration grade and the target grade, and the target display pattern is displayed at the hit position, so that the situation that the information of the hit position must be displayed in a mode of increasing the information amount of the game interface in the prior art is avoided; on the other hand, through the target display style that is shown at the hit position, the information display effect at the hit position has been increased for game player can more quick judgement by the target grade of hit position of hitting virtual role, so that follow-up quick selection different fight strategies has promoted game player's recreation experience degree.
The steps of the information display method are described in detail below.
In step S110, in response to the hit operation corresponding to the virtual shooting device, a hit virtual character corresponding to the hit operation and a hit portion corresponding to the hit virtual character are determined.
In an exemplary embodiment of the present disclosure, the virtual shooting equipment means that there is one kind of virtual shooting equipment in the virtual game. The virtual shooting equipment may be virtual shooting equipment (e.g., a virtual rifle) for killing a game, or may be virtual shooting equipment (e.g., a treatment gun for treating a hit virtual character by shooting to the hit virtual character to treat a wound site of the hit virtual character).
The hit operation refers to an operation that the game player acts on the hit control (the hit control corresponds to the virtual shooting equipment), or an operation that acts directly on the virtual shooting equipment, which is not particularly limited in the present exemplary embodiment. The hit operation may be a click operation, a double click operation, a long press operation, or any touch operation, and the present exemplary embodiment is not particularly limited thereto.
The hit virtual character refers to a virtual character that needs to be hit when the game player performs the hit operation at this time, and the hit portion corresponding to the hit virtual character refers to a body portion of the virtual character that is hit by a firearm bullet sent from the virtual shooting device at this time, specifically, the hit portion may be a head of the virtual character, may be a foot of the virtual character, may be a waist of the virtual character, may be a back of the virtual character, and this is not a special limitation in the present exemplary embodiment.
For example, game player A now acts on a click operation on the hit control (corresponding to virtual firearm X-1), at which time a mechanical bullet is issued from virtual firearm X-1, and at which time the mechanical bullet hits the head of virtual character B. Based on this, the hit virtual character is virtual character B, and the hit portion corresponding to the hit virtual character is the head.
In the present exemplary embodiment, in response to a hit operation corresponding to the virtual shooting equipment, a hit virtual character and a hit portion corresponding to the hit virtual character are determined, which lays a foundation for displaying a target display style at the hit portion later.
In step S120, a penetration level corresponding to the virtual shooting equipment is determined, and a target level corresponding to the hit portion is determined.
In an exemplary embodiment of the present disclosure, if the virtual shooting equipment is used to kill a enemy, the penetration capability refers to the ability of the virtual shooting equipment to penetrate the body of the virtual game character. The higher the penetration level, the stronger the penetration ability of the mechanical bullets issued in the virtual shooting device to the body hit the virtual character; if the virtual shooting equipment is used for treating the hit virtual character, the penetration capability refers to the capability of treating the hit virtual character so that the hit virtual character can continue playing, and at this time, the higher the penetration capability level, the stronger the capability of proving that the mechanical bullets sent in the virtual shooting equipment can make the hit virtual character continue playing.
The target classes include a resistance class and an injury class, and the injury/efficacy of the mechanical bullets from the virtual shooting device when shot to different parts of the virtual character is different for the hit virtual character. If the virtual shooting equipment is used for killing, the resistance level of the hit part refers to the resistance of the hit part to the mechanical bullets sent by the virtual shooting equipment, and the higher the resistance level of a certain hit part is, the stronger the resistance of the hit part to the mechanical bullets sent by the virtual shooting equipment is; if the virtual shooting equipment is used to treat a hit virtual character, the injury level at the hit location refers to the extent of injury that the hit location receives at the time. The higher the injury level of a hit part, the higher the injury level of the hit part proves that the hit part is injured by high heel, and the corresponding blood drop amount of the virtual game character is larger.
For example, it is determined that the penetration level corresponding to the virtual shooting equipment X-1 is 4, and it is determined that the resistance level of the head of the hit virtual character is 3.
In the present exemplary embodiment, the penetration level of the virtual shooting equipment and the target level corresponding to the hit portion are determined, which is helpful for determining the target display style according to the penetration level and the target level.
In step S130, a target display pattern is determined according to the penetration grade and the target grade, and the target display pattern is displayed at the hit portion.
In the exemplary embodiment of the present disclosure, the target display pattern refers to a display pattern displayed at the hit portion, and specifically, the target display pattern may be a highlighted rectangle, a yellow circle, or a virtual special effect, which is not particularly limited in this exemplary embodiment.
For example, the penetration rating is determined to be 4 and the defense rating is determined to be 3. Since the penetration level is greater than the defense level and the virtual shooting device is used to kill the enemy, fatal damage may be caused to the hit virtual character, and further, it may be determined that the target display pattern is a red circle and the red circle is displayed at the head of the hit virtual character.
In an alternative embodiment, fig. 2 shows a schematic flow chart of determining a target display style according to a penetration grade and a target grade in an information display method, and as shown in fig. 2, the method at least includes the following steps: in step S210, comparing the penetration grade with the target grade to obtain a grade comparison result, and determining an action grade according to the grade comparison result; wherein the action class describes the extent of the virtual shooting equipment hitting the hit location.
The grade comparison result refers to a comparison result obtained by comparing the size of the penetration grade with the size of the target grade. The action class describes the degree of hit of the virtual shooting equipment to the hit location. For example, when the virtual shooting equipment is used to kill, the action level may include two kinds, where one action level describes that the virtual shooting equipment causes fatal damage to the hit virtual character and the other action level describes that the virtual shooting equipment causes slight damage to the hit virtual character.
For example, the penetration rating is determined to be 4 and the defense rating is determined to be 3. It is apparent that the penetration level is greater than the defense level as a result of the level comparison, and the action level a is determined as a, and the action level a describes that the virtual shooting equipment causes fatal injury to the hit virtual character.
In step S220, a target display style assigned to the action level is determined according to the action level.
Wherein for different action levels, there are different target display styles corresponding thereto. Based on this, when the action level is determined, a target display style corresponding to the action level can be determined.
For example, the penetration rating is determined to be 4 and the defense rating is determined to be 3. It is apparent that the penetration level is greater than the defense level as a result of the level comparison, and the action level a is determined as a, and the action level a describes that the virtual shooting equipment causes fatal injury to the hit virtual character. From the action level a, a circular pattern in which the target display pattern assigned to the action level a is red may be determined.
In this exemplary embodiment, the penetration grade and the target grade are compared to obtain a grade comparison result, and the action grade is determined according to the grade comparison result, so that the target display style is determined according to the action grade, a basis is provided for determining the target display style, and the accuracy of the determined target display style is improved.
In an alternative embodiment, fig. 3 shows another flow chart of determining a target display style according to a penetration grade and a target grade in the information display method, and as shown in fig. 3, the method at least includes the following steps: in step S310, if the penetration grade is greater than the target grade as a result of the grade comparison, the action grade is determined to be the first grade.
When the level comparison result shows that the penetration level is greater than the resistance level, the virtual shooting equipment can cause fatal injury or moderate injury to the hit virtual character when the virtual shooting equipment hits the hit part. Further, the action level at this time is determined as the highest first level.
When the grade comparison result shows that the penetration grade is larger than the injury grade, the virtual shooting equipment proves that the virtual shooting equipment can perform remarkable treatment or moderate treatment on the hit virtual character when hitting the hit part, and the action grade is determined as the highest first grade.
For example, the penetration rating is determined to be 4 and the defense rating is determined to be 3. Obviously, at this time, the penetration grade is greater than the resistance grade, and the action grade is determined to be the first grade.
In step S320, if the penetration grade is less than or equal to the target grade as a result of the grade comparison, the action grade is determined to be the second grade.
When the level comparison result shows that the penetration level is less than or equal to the resistance level, the virtual shooting equipment can cause slight injury or no injury to the hit virtual character when the virtual shooting equipment hits the hit part. Further, the action level at this time is determined as a second level different from the first level.
When the grade comparison result shows that the penetration grade is smaller than or equal to the injury grade, the virtual shooting equipment can slightly treat or not treat the hit virtual character when the virtual shooting equipment hits the hit part, and the action grade is determined as a second grade different from the first grade.
For example, the penetration rating is determined to be 4 and the resistance rating is determined to be 4. Obviously, at this time, the penetration grade is equal to the resistance grade, and the action grade is determined to be the second grade.
In this exemplary embodiment, different action levels corresponding to the action levels are determined according to different level comparison results, and then different target display patterns can be determined for different level comparison results according to different action levels, so that in a short-time engagement, a game player can quickly judge the target level of the hit position of the hit virtual character, and further different engagement strategies can be quickly selected.
In an alternative embodiment, fig. 4 shows a flow chart of determining that the action grade is the first grade if the grade comparison result is that the penetration grade is greater than the target grade in the information display method, and as shown in fig. 4, the method at least includes the following steps: in step S410, if the grade comparison result is that the penetration grade is greater than the target grade and the first grade difference between the penetration grade and the target grade is greater than the grade threshold, the acting grade is determined to be the third grade.
Wherein the first grade may be subdivided into a third grade and a fourth grade, the first grade difference value referring to the difference between the penetration grade and the target grade, and the grade threshold value referring to a critical value for measuring the degree of difference between the penetration grade and the target grade.
For virtual shooting equipment for killing, when the penetration level is greater than the resistance level as a result of the level comparison, it is proved that the hit portion hit by the virtual character will be fatally damaged or moderately damaged. To distinguish how damaged the hit avatar is, a relationship between the first level difference and the level threshold needs to be determined. If the level comparison result is that the penetration level is greater than the resistance level and the first level difference is greater than the level threshold, it is proved that the hit virtual character is fatally damaged at this time, and thus, the action level can be determined as the third level.
For the virtual shooting equipment for treating the hit virtual character, when the penetration grade is greater than the injury grade as a result of the grade comparison, the virtual shooting equipment is proved to perform remarkable treatment or moderate treatment on the hit virtual character when the virtual shooting equipment hits the hit part. To distinguish how treated the hit avatar is, a relationship between the first level difference and the level threshold needs to be determined. If the grade comparison results in a penetration grade greater than the injury grade and the first grade difference is greater than the grade threshold, then the hit virtual character is demonstrated to be significantly treated, and therefore the grade of action can be determined to be the third grade.
For example, the penetration rating is 21, the defense rating is 10, and the rating threshold is 10. Obviously, when the grade comparison result is that the penetration grade is greater than the defense grade and the first grade difference 11 is greater than the grade threshold 10, the action grade is determined to be the third grade.
In step S420, if the grade comparison result indicates that the penetration grade is greater than the target grade and the first grade difference is less than or equal to the grade threshold, the acting grade is determined to be the fourth grade.
When the penetration grade is greater than the defense grade and the first grade difference is smaller than the grade threshold, the virtual shooting equipment for killing the enemy proves that the hit virtual character is damaged to a medium degree, and then the determined action grade is a fourth grade different from the third grade.
Similarly, for the virtual shooting equipment used for treating the hit virtual character, when the grade comparison result is that the penetration grade is greater than the injury grade and the first grade difference value is less than or equal to the grade threshold value, it is proved that when the virtual shooting equipment hits the hit part, the hit virtual character is treated to a moderate degree, and then the action grade can be determined as a fourth grade.
For example, the penetration rating is 13, the defense rating is 10, and the rating threshold is 10. Obviously, when the grade comparison result is that the penetration grade is greater than the defense grade and the first grade difference value 3 is smaller than the grade threshold value 10, the hit virtual character is proved to be damaged to a moderate degree, and the action grade is determined to be the fourth grade.
In this exemplary embodiment, by determining the relationship between the first level difference and the level threshold, the situation that the penetration level is greater than the resistance level is further subdivided, which is conducive to determining the target display style according to the subdivision result, and further improves the display effect of the hit portion information.
In an alternative embodiment, fig. 5 shows a flow chart of determining that the action grade is the second grade if the grade comparison result is that the penetration grade is less than or equal to the target grade in the information display method, and as shown in fig. 5, the method at least includes the following steps: in step S510, if the grade comparison result is that the penetration grade is less than or equal to the target grade, and the second grade difference between the target grade and the penetration grade is less than or equal to the grade threshold, the acting grade is determined to be the fifth grade.
Wherein, for virtual shooting equipment for killing, when the level comparison result is that the penetration level is less than or equal to the resistance level, it is proved that the hit virtual character may be slightly injured or not injured at this time. To distinguish whether the hit avatar is only lightly injured or not injured, a second level difference between the defending level and the penetration level needs to be calculated. And when the second grade difference value is smaller than or equal to the grade threshold value, the difference between the resisting grade and the penetrating grade is smaller, so that the fact that the hit virtual character is slightly damaged can be determined, and further, the action grade is determined to be a fifth grade.
Similarly, for virtual shooting equipment used to treat a hit virtual character, when the grade comparison result is that the penetration grade is less than or equal to the injury grade, it is demonstrated that the hit virtual character may be lightly treated or not treated at this time, and therefore, a second grade difference value needs to be calculated. And determining the action level as a fifth level when the second level difference is less than or equal to the level threshold.
For example, penetration grade is 3, defense grade is 4, and grade threshold is 10. Obviously, when the grade comparison result is that the penetration grade is smaller than the defense grade and the second grade difference value 1 is smaller than the grade threshold value 10, the acting grade is determined to be the fifth grade.
In step S520, if the grade comparison result is that the penetration grade is less than or equal to the target grade and the second grade difference is greater than the grade threshold, the acting grade is determined to be the sixth grade.
When the second level difference value is larger than the level threshold, the virtual shooting equipment for killing the enemy proves that the defending level and the penetrating level are far away, and the hit virtual character can be judged not to be damaged, and the action level is determined to be the sixth level based on the virtual shooting equipment.
For the virtual shooting equipment for treating the hit virtual character, when the penetration grade is less than or equal to the injury grade as a result of the grade comparison, and the second grade difference value is greater than the grade threshold value, it is proved that the hit virtual character is not treated at this time, and based on this, the action grade is determined to be the sixth grade.
For example, penetration grade is 3, defense grade is 18, and grade threshold is 10. Obviously, when the grade comparison result is that the penetration grade is smaller than the defense grade and the second grade difference value 15 is larger than the grade threshold value 10, the acting grade is determined to be the sixth grade.
In the present exemplary embodiment, by determining the magnitude relation between the second level difference value and the level threshold value, the case where the penetration level is less than or equal to the target level may be more finely distinguished, so that the target display patterns corresponding to different action levels may be determined subsequently, so as to improve the display effect of the hit portion information.
In alternative embodiments, the target display style includes a display pattern, and/or a display color, and/or a display effect.
The display pattern refers to one of target display patterns, and specifically refers to a certain pattern. For example, the display pattern may be a pattern of a filling pattern, a pattern of a tracing pattern, a pattern of a highlighting pattern, a pattern of a circular pattern, a pattern of a triangle pattern, or a pattern conforming to the shape of the portion of the hit portion, which is not particularly limited in this exemplary embodiment.
The display color refers to another one of the target display styles, specifically, a certain color. Assuming that the target display pattern includes a display pattern and a display color, and the display pattern is a circular pattern, the display color may be a display color of a circular pattern (may be red, may be red with a certain transparency, or may be red with a certain purity, which is not particularly limited in this exemplary embodiment).
The display effect refers to still another one of the target display styles, and specifically refers to a certain virtual effect. For example, the display effect may be a virtual effect corresponding to "firework", may be a virtual effect corresponding to "blood", may be a virtual effect corresponding to "smoke", and the present exemplary embodiment is not particularly limited thereto.
It should be noted that the target display pattern may include any one of a display pattern, a display color, and a display special effect, or may include a combination of the three, for example, the target display pattern may include a display pattern and a display special effect, and if the display pattern is a circular pattern, the display special effect is a blinking special effect, the target display pattern is a blinking circular pattern.
In this exemplary embodiment, the target display pattern includes a display pattern, and/or a display color, and/or a display special effect, so that diversity of the target display pattern is increased, and a display effect of the hit portion information is effectively improved.
In an alternative embodiment, fig. 6 is a schematic flow chart of an information display method after displaying a target display pattern at a hit portion, and as shown in fig. 6, the method at least includes the following steps: in step S610, a display time corresponding to the target display style is acquired.
The display time refers to the display time of the target display style displayed on the hit portion. For example, the target display pattern is a red circle, and the display duration of the target display pattern is 12 seconds.
In step S620, if the display time reaches the first time threshold, the target display style displayed in the hit portion is canceled.
Wherein the first time threshold refers to a critical value defining a display time. For example, the first time threshold is 10 seconds. When the display time reaches the first time threshold, it is proved that the target display pattern has been displayed for a sufficiently long time, and during the display time, the game player can quickly judge the target level of each part of the virtual character that is hit. Based on this, the target display style displayed at the hit portion can be canceled.
For example, the target display pattern is a red circle, and the display duration of the target display pattern is 12 seconds, and the first time threshold is 10 seconds. Obviously, at this time, the display time is greater than the first time threshold, and further, the circle which continues to display red at the head of the hit avatar is canceled.
In this exemplary embodiment, when the display time reaches the first time threshold, the target display pattern displayed on the hit portion is canceled, so that the display logic of the target display pattern is perfected, the influence on the game player caused by continuously displaying the target display pattern on the hit portion is avoided, and the game experience of the game player is improved.
In an alternative embodiment, the first time threshold is determined based on the level of action; the action level describes the extent of the impact of the virtual shooting equipment on the impact site.
The action level refers to the degree of hit of the virtual shooting device on the hit portion, and is determined according to the level comparison result between the penetration level and the target level.
Different adjustments are required to be made to the first time threshold according to different action levels, for example, if the action level is the first level and the action of the virtual shooting device is a killing, it is proved that at this time, when the virtual shooting device hits the hit portion, the virtual character hit will be damaged in a fatal or moderately damaged, based on which the first time threshold can be set to a larger value, for example, 6 seconds. For example, when the action level is the first level and the virtual shooting device is used to treat the hit virtual character, it is proved that when the virtual shooting device hits the hit portion, a significant treatment or a moderate treatment is performed on the hit virtual character, and then the first time threshold is set to a larger value, for example, 7 seconds.
In this exemplary embodiment, the first time threshold is determined according to the action level, and a manner of accurately determining the first time threshold is provided, so that the game player can determine the size of the corresponding action level through the display time of the target display style, and further more quickly determine the target level of the hit portion of the hit virtual character, so that different fight strategies can be quickly selected subsequently, and the game experience of the game player is improved.
In the method and the device provided by the exemplary embodiment of the disclosure, the target display pattern is determined according to the penetration grade and the target grade, and the target display pattern is displayed at the hit position, so that the situation that the information of the hit position must be displayed in a mode of increasing the information amount of the game interface in the prior art is avoided; on the other hand, through the target display style that hits the position and shows, increased the information display effect that hits the position for game player can more quick judgement hit the target level of hitting the position of virtual role, so that follow-up quick selection different fight strategies, promoted game player's recreation experience degree.
The information display method in the embodiment of the present disclosure is described in detail below in connection with an application scenario.
Fig. 7 shows a schematic diagram of a game interface in the information display method in an application scenario, where, as shown in fig. 7, the interface 710 is a game interface, the object 720 is a game player, the object 730 is a hit virtual character, and the equipment 740 is a virtual shooting equipment (specifically, a treatment gun).
The game player touches the virtual shooting equipment 740 twice in succession and hits the left shoulder and the left foot of the hit virtual character 730, respectively. The penetration level of the virtual shooting equipment 740 is 7, the injury level of the left shoulder hit on the virtual character 730 is 8, and the injury level of the left foot hit on the virtual character 730 is 3. Based on this, it can be concluded that the penetration level of the virtual shooting equipment 740 is smaller than the injury level of the left shoulder of the hit virtual character 730, and the penetration level of the virtual shooting equipment 740 is greater than the injury level of the left foot of the hit virtual character 730, and thus the left shoulder of the hit virtual character 730 is not injured, and the left foot of the hit virtual character 730 is fatally injured.
Based on this, it can be determined that the target display pattern displayed on the left shoulder of the hit virtual character 730 is shown as a target display pattern 751 in fig. 7, and the target display pattern displayed on the left foot of the hit virtual character 730 is shown as a target display pattern 752 in fig. 7. It is to be noted that the transparency of the color corresponding to the target display pattern 752 is lower than the transparency of the color corresponding to the target display pattern 751.
In the application scene, according to the penetration grade and the target grade, determining a target display style and displaying the target display style at the hit position, on one hand, the situation that the information of the hit position is displayed in a mode of increasing the information quantity of a game interface in the prior art is avoided; on the other hand, through the target display style that is shown at the hit position, the information display effect at the hit position has been increased for game player can more quick judgement by the target grade of hit position of hitting virtual role, so that follow-up quick selection different fight strategies has promoted game player's recreation experience degree.
Further, in an exemplary embodiment of the present disclosure, an information display apparatus is also provided. Fig. 8 shows a schematic structural diagram of an information display device, and as shown in fig. 8, the information display device 800 may include: a determine hits module 810, a determine rank module 820, and a display module 830. Wherein:
A determine hit module 810 configured to determine a hit virtual character corresponding to a hit operation and a hit location corresponding to the hit virtual character in response to the hit operation corresponding to the virtual shooting equipment; a determination grade module 820 configured to determine a penetration grade corresponding to the virtual shooting equipment and to determine a target grade corresponding to the hit location; target grades include a resistance grade and an injury grade; the display module 830 is configured to determine a target display pattern according to the penetration level and the target level, and display the target display pattern at the hit portion.
The specific details of the information display device 800 are described in detail in the corresponding information display method, and thus are not described herein.
It should be noted that although several modules or units of the information display apparatus 800 are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
An electronic device 900 according to such an embodiment of the invention is described below with reference to fig. 9. The electronic device 900 shown in fig. 9 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 9, the electronic device 900 is embodied in the form of a general purpose computing device. Components of electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting the different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.
Wherein the storage unit stores program code that is executable by the processing unit 910 such that the processing unit 910 performs steps according to various exemplary embodiments of the present invention described in the above-described "exemplary methods" section of the present specification.
The storage unit 920 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 921 and/or cache memory 922, and may further include Read Only Memory (ROM) 923.
The storage unit 920 may also include a program/usage tool 924 having a set (at least one) of program modules 925, such program modules 925 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which may include the reality of a network environment, or some combination thereof.
The bus 930 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 900 may also communicate with one or more external devices 970 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 900, and/or any device (e.g., router, modem, etc.) that enables the electronic device 900 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 950. Also, electronic device 900 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 over the bus 930. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 900, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
Referring to fig. 10, a program product 1000 for implementing the above-described method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (11)

1. An information display method, characterized in that the method comprises:
responding to a hit operation corresponding to virtual shooting equipment, and determining a hit virtual role corresponding to the hit operation and a hit position corresponding to the hit virtual role;
determining a penetration level corresponding to the virtual shooting equipment and determining a target level corresponding to the hit portion; the target grade includes a defending grade and an injury grade;
and determining a target display pattern according to the penetration grade and the target grade, and displaying the target display pattern at the hit position.
2. The information display method according to claim 1, wherein the determining a target display style according to the penetration grade and the target grade includes:
Comparing the penetration grade with the target grade to obtain a grade comparison result, and determining an action grade according to the grade comparison result; wherein the action class describes a degree of hit of the virtual shooting equipment to the hit location;
and determining a target display style allocated to the action grade according to the action grade.
3. The information display method according to claim 2, wherein the determining the action level based on the level comparison result includes:
if the grade comparison result shows that the penetration grade is larger than the target grade, determining that the action grade is a first grade;
and if the grade comparison result shows that the penetration grade is smaller than or equal to the target grade, determining that the action grade is a second grade.
4. The information display method according to claim 2, wherein the determining that the action level is the first level if the level comparison result is that the penetration level is greater than the target level includes:
if the grade comparison result shows that the penetration grade is larger than the target grade and the first grade difference value between the penetration grade and the target grade is larger than the grade threshold value, determining that the acting grade is a third grade;
And if the grade comparison result shows that the penetration grade is larger than the target grade and the first grade difference value is smaller than or equal to the grade threshold value, determining that the acting grade is a fourth grade.
5. The information display method according to claim 2, wherein the determining that the action level is the second level if the level comparison result is that the penetration level is less than or equal to the target level includes:
if the grade comparison result is that the penetration grade is smaller than or equal to the target grade, and the second grade difference value between the target grade and the penetration grade is smaller than or equal to a grade threshold value, determining that the action grade is a fifth grade;
and if the grade comparison result shows that the penetration grade is smaller than or equal to the target grade and the second grade difference value is larger than the grade threshold value, determining that the acting grade is a sixth grade.
6. The information display method according to claim 2, wherein the target display style includes a display pattern, and/or a display color, and/or a display special effect.
7. The information display method according to claim 1, wherein after the target display pattern is displayed at the hit portion, the method further comprises:
Acquiring display time corresponding to the target display style;
and if the display time reaches a first time threshold, canceling the target display mode displayed at the hit part.
8. The information display method according to claim 7, wherein the first time threshold is determined according to a level of effect; the action level describes a degree of hit of the virtual shooting equipment to the hit location.
9. An information display device, comprising:
a determining hit module configured to determine a hit virtual character corresponding to a hit operation and a hit portion corresponding to the hit virtual character in response to the hit operation corresponding to a virtual shooting equipment;
a determination grade module configured to determine a penetration grade corresponding to the virtual shooting equipment and to determine a target grade corresponding to the hit location; the target grade includes a defending grade and an injury grade;
and the display module is configured to determine a target display pattern according to the penetration grade and the target grade and display the target display pattern at the hit position.
10. An electronic device, comprising:
A processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the information display method of any one of claims 1-8 via execution of the executable instructions.
11. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the information display method of any one of claims 1-8.
CN202310041646.3A 2023-01-11 2023-01-11 Information display method and device, storage medium and electronic equipment Pending CN116059633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310041646.3A CN116059633A (en) 2023-01-11 2023-01-11 Information display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310041646.3A CN116059633A (en) 2023-01-11 2023-01-11 Information display method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116059633A true CN116059633A (en) 2023-05-05

Family

ID=86174480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310041646.3A Pending CN116059633A (en) 2023-01-11 2023-01-11 Information display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116059633A (en)

Similar Documents

Publication Publication Date Title
CN111298449B (en) Control method and device in game, computer equipment and storage medium
CN111346369B (en) Shooting game interaction method and device, electronic equipment and storage medium
JP2023517115A (en) Virtual tool interactive processing method, apparatus, electronic equipment and computer program
CN113350779A (en) Game virtual character action control method and device, storage medium and electronic equipment
CN112131117A (en) Game testing method and device, electronic equipment and storage medium
CN110215710B (en) In-game event determination method and device, electronic equipment and storage medium
CN109847368B (en) Information processing method and device, storage medium and electronic equipment
CN110215709B (en) Object selection method and device, storage medium and electronic equipment
CN113476823B (en) Virtual object control method and device, storage medium and electronic equipment
CN113827970A (en) Information display method and device, computer readable storage medium and electronic equipment
CN110124323A (en) A kind of method and apparatus executing ball skills in football application
CN111760280B (en) Interface display method, device, terminal and storage medium
CN110152292B (en) Display control method and device for jumping characters in game, storage medium and electronic equipment
CN116059633A (en) Information display method and device, storage medium and electronic equipment
CN113893540B (en) Information prompting method and device, storage medium and electronic equipment
CN113694521A (en) Injury processing method, apparatus, electronic device and storage medium
CN111481930B (en) Virtual object control method and device, computer equipment and storage medium
CN115721925A (en) Interaction method and device of virtual objects, storage medium and electronic equipment
CN113663334A (en) Game item using method, device, equipment and storage medium
CN117398691A (en) Virtual object control method and device, storage medium and electronic equipment
CN113426116A (en) Display control method and device, storage medium and electronic equipment
CN113786609A (en) Injury processing method, apparatus, electronic device and storage medium
CN116139481A (en) Method, device, equipment and medium for processing information in game
CN114699768A (en) Information processing method and device in game, storage medium and electronic equipment
CN116999849A (en) Information processing method, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination