Display control method, device and electronic device in game
By adjusting the display attributes of virtual characters, the problem of players being unable to judge the attack range in shooting games is solved, and the attack success rate and game experience are improved.
Patent Information
- Application Number
- CN202010846207.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-20
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-08-20
AI Technical Summary
In shooting games, players cannot quickly determine whether the enemy is within attack range, resulting in multiple attempts to aim and attack without being able to damage the enemy, ruining the gaming experience.
In response to the aiming operation, the display properties of the display component of the second virtual character, such as transparency, color and identification border, are adjusted according to the attack properties of the first virtual character and the defense properties of the second virtual character to indicate whether it can be attacked.
This allows players to quickly determine whether the enemy is within the attack range, thereby increasing the attack success rate and improving the game experience.
Smart Images

Figure CN111905369B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game interaction technology, and in particular to a display control method, device and electronic equipment in a game. Background Art
[0002] In shooting games, the player's attack operations are usually limited by the range. If the enemy is out of range, the enemy will not be harmed even if the player aims and attacks. In some games with shorter ranges, if it is impossible to know whether the enemy is within the attack range, aiming and attacking the enemy multiple times but failing to harm the enemy will seriously undermine the player's game combat experience and lead to a poor gaming experience. Summary of the invention
[0003] The purpose of the present invention is to provide a display control method, device and electronic device in a game to improve the game experience of players.
[0004] In a first aspect, an embodiment of the present invention provides a display control method in a game, the method comprising: in response to an aiming operation, controlling an aiming direction of a first virtual character in the game; when a second virtual character exists in the aiming direction, adjusting display properties of a display component of the second virtual character according to the attack attributes of the first virtual character and / or the defense attributes of the second virtual character; wherein the display attributes are at least used to indicate whether the second virtual character is currently attackable by the first virtual character.
[0005] In an optional embodiment, the above-mentioned adjustment of the display attribute of the display component of the second virtual character includes at least one of the following: adjusting the transparency of the display component; adjusting the color of the display component; adjusting the size of the display component; adjusting the identification border of the display component.
[0006] In an optional embodiment, the defense attributes of the second virtual character include: specified character attributes; the step of adjusting the display attributes of the display component of the second virtual character according to the defense attributes of the second virtual character includes: when it is detected that the second virtual character has the specified character attributes, displaying the display component of the second virtual character in a first rendering mode.
[0007] In an optional embodiment, the defense attributes of the second virtual character include: specified skill attributes; the step of adjusting the display attributes of the display components of the second virtual character according to the defense attributes of the second virtual character includes: when it is detected that the second virtual character uses a skill with the specified skill attributes, displaying the display components of the second virtual character in a first rendering mode.
[0008] In an optional embodiment, the attack attributes of the first virtual character include: a maximum attack distance; the step of adjusting the display attributes of the display component of the second virtual character according to the attack attributes of the first virtual character includes: obtaining the distance between the first virtual character and the second virtual character; and adjusting the display attributes of the display component of the second virtual character according to the relationship between the distance and the maximum attack distance.
[0009] In an optional embodiment, the step of adjusting the display properties of the display component of the second virtual character according to the relationship between the distance and the maximum attack distance includes: if the distance is greater than the maximum attack distance, displaying the display component in a second rendering mode; otherwise, displaying the display component in a third rendering mode.
[0010] In an optional implementation, the display component includes a life value control; the life value control is used to indicate: the life value of the second virtual character.
[0011] In an optional implementation, the display component is disposed above the second virtual character in the graphical user interface, and the display component moves with the second virtual character.
[0012] In an optional implementation, the method further includes: in response to a setting operation for a display property of the display component of the second virtual character, setting the display property of the display component of the second virtual character.
[0013] In a second aspect, an embodiment of the present invention provides a display control method in a game, the method comprising: determining at least one second virtual character within the field of view of a first virtual character; adjusting the display properties of a first display component of the second virtual character according to the attack attributes of the first virtual character and / or the defense attributes of the second virtual character, wherein the display properties are at least used to indicate whether the second virtual character is currently attackable by the first virtual character.
[0014] In an optional embodiment, the method further includes: in response to the aiming operation, controlling the aiming direction of the first virtual character; and adjusting the display properties of the second display component of the second virtual character according to whether the second virtual character is aimed at by the first virtual character.
[0015] In an optional embodiment, the above-mentioned adjustment of the display properties of the first display component of the second virtual character includes at least one of the following: adjusting the transparency of the first display component; adjusting the color of the first display component; adjusting the size of the first display component; adjusting the identification border of the first display component.
[0016] In a third aspect, an embodiment of the present invention provides a display control device in a game, the device comprising: an aiming operation response module, used to respond to an aiming operation and control the aiming direction of a first virtual character in the game; a display adjustment module, used to adjust the display properties of a display component of a second virtual character according to the attack attributes of the first virtual character and / or the defense attributes of the second virtual character; wherein the display attributes are at least used to indicate whether the second virtual character is currently attackable by the first virtual character.
[0017] In a fourth aspect, an embodiment of the present invention provides a display control device in a game, the device comprising: a character determination module, used to determine at least one second virtual character within the field of view of a first virtual character; an attribute display module, used to adjust the display attributes of a first display component of the second virtual character according to the attack attributes of the first virtual character and / or the defense attributes of the second virtual character, wherein the display attributes are at least used to indicate whether the second virtual character is currently attackable by the first virtual character.
[0018] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement a display control method in a game of any one of the aforementioned implementations.
[0019] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the display control method in the game of any one of the aforementioned implementation modes.
[0020] The embodiments of the present invention bring the following beneficial effects:
[0021] The embodiment of the present invention provides a display control method, device and electronic device in a game, which first responds to an aiming operation and controls the aiming direction of a first virtual character in the game; when a second virtual character exists in the aiming direction, the display attribute of the display component of the second virtual character is adjusted according to the attack attribute of the first virtual character and / or the defense attribute of the second virtual character; the display attribute is at least used to indicate whether the second virtual character can be attacked by the first virtual character at present. In this way, the display attribute of the display component of the second virtual character can indicate whether the second virtual character is within the attack range of the first virtual object, so that the player can quickly determine the second virtual character within its attack range, which is conducive to the player attacking the second virtual character and causing damage to the attacked second virtual character, thereby improving the player's gaming experience.
[0022] Other features and advantages of the present invention will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present invention.
[0023] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are specifically listed below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 A flowchart of a display control method in a game provided by an embodiment of the present invention;
[0026] Figure 2 A flowchart of another display control method in a game provided by an embodiment of the present invention;
[0027] Figure 3 A flowchart of another display control method in a game provided by an embodiment of the present invention;
[0028] Figure 4 A flowchart of another display control method in a game provided by an embodiment of the present invention;
[0029] Figure 5 A flowchart of another display control method in a game provided by an embodiment of the present invention;
[0030] Figure 6 A schematic diagram of an attack range display provided by an embodiment of the present invention;
[0031] Figure 7 A schematic diagram of a display component displayed in different rendering modes provided by an embodiment of the present invention;
[0032] Figure 8 A schematic diagram of the structure of a display control device in a game provided by an embodiment of the present invention;
[0033] Fig. 9 A schematic diagram of the structure of another display control device in a game provided by an embodiment of the present invention;
[0034] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0036] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] In shooting games, the player's attack operation is usually limited by the range. If the enemy (equivalent to the second virtual character) is out of range, even if the player aims and attacks the enemy, the enemy will not be harmed. Especially in some games with a relatively short range, if it is impossible to know whether the enemy is within the attack range, the player aims and attacks the enemy many times but cannot harm the enemy, which will seriously damage the game combat experience. That is, because the player cannot know that the enemy is out of the attack range, the player attacks the enemy in the direction of the crosshairs, but cannot harm the enemy. At the same time, when there are multiple enemies in the game scene, the player cannot determine which enemy he is aiming at. In the related technology, in order to clarify the object aimed by the player, some games use outer strokes on the virtual model of the enemy aimed by the player, but this method will destroy the realism and immersion of the game, resulting in a poor gaming experience for the player.
[0038] Based on this, an embodiment of the present invention provides a display control method, device and electronic device in a game. The technology can be applied to various game scenarios, specifically to scenarios in which the attack range of a virtual character is displayed in a game scenario, especially in scenarios in which the attack range of a virtual character is displayed in a shooting game.
[0039] In order to facilitate understanding of the embodiments of the present invention, a display control method in a game disclosed in an embodiment of the present invention is first introduced in detail. The method is applied to a terminal device (also referred to as an electronic device). The method is executed by executing a software application on a processor of the electronic device. The electronic device may be a mobile terminal (for example, a mobile phone, a tablet computer, a PDA, a touch-screen laptop computer) or a computer, etc. A graphical user interface (User Interface, referred to as UI) is rendered on the display of the terminal device; Figure 1 As shown, the method comprises the following steps:
[0040] Step S102, responding to the aiming operation, controlling the aiming direction of the first virtual character in the game.
[0041] The first virtual character is a game character controlled by the current terminal device. The first virtual character may be displayed in a graphical user interface, for example, in a third-person game, the game character controlled by the player is displayed in the graphical user interface; the first virtual character may not be displayed in the graphical user interface, for example, in a first-person game, the game character controlled by the player may not be displayed in the graphical user interface. The aiming operation may be a touch operation performed by the player on the graphical user interface (for example, a sliding operation performed by pressing the screen of the terminal device). Specifically, the aiming operation may be a touch operation in which the player triggers an aiming control in the graphical user interface, and the aiming control is a button in the graphical user interface that can be used to aim at an attack target.
[0042] Generally speaking, a virtual camera is set in the game scene, and the game screen displayed on the graphical user interface is part of the game scene content captured by the virtual camera. For example, in a first-person game, the virtual camera can be set at the head (e.g., eye position) of the target virtual character controlled by the player, and the virtual camera moves with the movement of the target virtual character, and the direction of the virtual camera rotates with the rotation of the virtual body. Therefore, the game screen presented on the graphical user interface is part of the game scene within a preset range in front of the target virtual character. For another example, in a third-person game, the virtual camera can be set just above or above the target virtual character controlled by the player, and therefore, the game screen presented on the graphical user interface is part of the game scene including the target virtual character.
[0043] In this exemplary embodiment, the aiming direction of the first virtual character is the current orientation of the virtual camera. The player can control the orientation of the virtual camera by controlling the first virtual character, or directly control the orientation of the virtual camera.
[0044] In an optional embodiment, the player can control the first virtual character to rotate in the game scene, thereby controlling the virtual camera to follow the first virtual character to rotate, which is manifested in the game as the first virtual character turning around / turning its head. In this embodiment, the aiming direction of the first virtual character is the current orientation of the first virtual character.
[0045] In another optional embodiment, the player can directly control the virtual camera to rotate, and the first virtual character is shown in the game as being originally stationary without any action. In this embodiment, the aiming direction of the first virtual character is different from the current orientation of the first virtual character.
[0046] In this example embodiment, a visual indicator for indicating the aiming direction is provided in the graphical user interface, and the visual indicator may be a cross cursor, a circle, etc. The visual indicator may be fixedly set at the geometric center of the graphical user interface. When the orientation of the virtual camera changes, the game scene content captured by the virtual camera (i.e., the game screen presented in the graphical user interface) changes, and the relative position of the visual indicator and the game screen displayed in the graphical user interface changes, thereby realizing the indication of the aiming direction through the visual indicator.
[0047] Step S104, when there is a second virtual character in the aiming direction, adjusting the display attributes of the display component of the second virtual character according to the attack attribute of the first virtual character and / or the defense attribute of the second virtual character; wherein the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character.
[0048] The above-mentioned second virtual character is a game character controlled by other terminal devices, wherein the second virtual character and the first virtual character are in the same game game, for example, it can be a character in the game of other players except the player corresponding to the first virtual character, or it can be a character in the game of players except teammates in a team game; the second virtual character can also be a non-game character set in the game, for example, an AI (Artificial Intelligence) virtual character in a man-machine confrontation game.
[0049] The attack attribute of the first virtual character may be the attribute of the attack item used by the first virtual character, or the skill attribute of the first virtual character itself. The attack attribute may include the attack range, attack power, etc. The specific attack attribute may be set according to the game type and scene, and is not specifically limited here.
[0050] The above-mentioned defense attribute of the second virtual character can be a designated character attribute of the second virtual character (for example, the race of the second virtual character in the game is a ghost, and the ghost race has a ghost attribute or a stealth attribute, etc., and the ghost attribute or the stealth attribute makes the attack of the first virtual character only penetrate the second virtual character and cannot cause damage to the second virtual character); it can also be a skill attribute of a designated skill used by the second virtual character. For example, in a game scene, the second virtual character uses a construction skill to set up a transparent wall in the game scene. The transparent wall is visually invisible and can resist attacks. At this time, the attack of the first virtual character cannot penetrate the transparent wall, and thus cannot cause damage to the second virtual character; it can also be that the second virtual character uses a blocking skill. After using the blocking skill, the second virtual character can resist the attack, that is, the blocking skill can use weapons or other tools to block the attack of the first virtual character, so that the attack of the first virtual character cannot cause damage to the second virtual character.
[0051] The above-mentioned display component can be a control in a graphical user interface for indicating whether the second virtual character can currently be attacked by the first virtual character. The display component can have multiple display attributes, and the display attributes can be: marking a border (for example, stroking, adjusting the thickness of the border line, etc.), transparency, size or color. According to the attacked state of the second virtual character relative to the first virtual character, the display attributes of the display component can be adjusted, and each display attribute can correspond to multiple rendering methods. For example, the display component can use at least two rendering methods, one rendering method is used to represent that the second virtual character can be attacked by the first virtual object, and the other rendering method is used to represent that the second virtual character cannot be attacked by the first virtual object, so that the player can judge whether the second virtual character can currently be attacked by the virtual character according to the display components with different display attributes, which is conducive to the player to make an effective attack and enhance the player's gaming experience.
[0052] In specific implementation, the display attributes of the display component of the second virtual character can be adjusted only according to the attack attribute of the first virtual character; the display attributes of the display component of the second virtual character can be adjusted only according to the defense attribute of the second virtual character; or the display attributes of the display component of the second virtual character can be adjusted according to the attack attribute of the first virtual character and the defense attribute of the second virtual character. Which adjustment method is used can be set according to research and development requirements, or can be determined according to the actual game scene, and is not specifically limited here.
[0053] An embodiment of the present invention provides a display control method in a game, which first responds to an aiming operation and controls the aiming direction of a first virtual character in the game; when a second virtual character exists in the aiming direction, the display attribute of the display component of the second virtual character is adjusted according to the attack attribute of the first virtual character and / or the defense attribute of the second virtual character; the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character. In this method, the display attribute of the display component of the second virtual character can indicate whether the second virtual character is within the attack range of the first virtual object, so that the player can quickly determine the second virtual character within its attack range, which is conducive to the player attacking the second virtual character and causing damage to the attacked second virtual character, thereby improving the player's gaming experience.
[0054] The embodiment of the present invention also provides another display control method in a game, which is implemented on the basis of the above embodiment. The method focuses on describing the specific process of adjusting the display attribute of the display component of the second virtual character according to the defense attribute of the second virtual character (implemented by the following step S206); Figure 2 As shown, the method comprises the following steps:
[0055] Step S202, responding to the aiming operation, controlling the aiming direction of the first virtual character in the game.
[0056] Step S204, when there is a second virtual character in the aiming direction, detecting the defense attribute of the second virtual character; wherein the defense attribute of the second virtual character includes a designated character attribute.
[0057] Detect the defense attribute of the second virtual character displayed in the graphical user interface, and adjust the display attribute of the display component of the second virtual character according to the defense attribute of the second virtual character. In the specific implementation, adjusting the display attribute of the display component of the second virtual character includes at least one of the following: adjusting the transparency of the display component; adjusting the color of the display component; adjusting the size of the display component; adjusting the identification border of the display component, which can also be understood as the display attribute of the display component including the identification border (for example, stroke, adjusting the thickness of the border line, etc.). The above-mentioned specified character attributes include ghost attributes, stealth attributes, and other character attributes that cannot be attacked by the first virtual character.
[0058] Step S206: when it is detected that the second virtual character has the specified character attribute, displaying the display component of the second virtual character in the first rendering manner.
[0059] The display properties of the above-mentioned display components can be rendered using different visual hierarchies. The visual hierarchy (VH) generally refers to the visual effects of different levels of distance produced by different visual stimulations such as color changes, symbol sizes, and line thicknesses on a two-dimensional plane. In specific implementation, the rendering method of the display component is related to the display properties of the display component. For example, if the display property is transparency, the above-mentioned first rendering method can be 30% transparency, and the rendering methods other than the first rendering method can be 50% transparency; if the display properties are transparency and a marked border, the above-mentioned first rendering method can be 30% transparency, and the rendering methods other than the first rendering method can be 30% transparency, and the border of the marked display component is marked.
[0060] It should be noted that the specific display attribute used to render the display component can be determined according to the specific visual style of the game, and can also be determined according to the specific settings of the game developer.
[0061] In a specific implementation, if it is detected that the second virtual character has a ghost attribute or a stealth attribute, the display component of the second virtual character is displayed in a first rendering mode, and the display component displayed in the first rendering mode is used to represent that the second virtual character is outside the attack range of the first virtual character, that is, the second virtual character cannot be attacked by the first virtual character at present. If it is detected that the second virtual character does not have a specified character attribute, the display component of the second virtual character is displayed in a rendering mode other than the first rendering mode to represent that the second virtual character is within the attack range of the first virtual character, that is, the second virtual character can be attacked by the first virtual character at present.
[0062] The display control method in the above game first responds to the aiming operation and controls the aiming direction of the first virtual character in the game; then, when there is a second virtual character in the aiming direction, the defense attribute of the second virtual character is detected, and the defense attribute of the second virtual character includes the specified character attribute; when it is detected that the second virtual character has the specified character attribute, the display component of the second virtual character is displayed in the first rendering mode. In this mode, the player can quickly determine whether the second virtual character can be attacked and whether the second virtual character can be damaged according to the display state of the display component of the second virtual character, thereby improving the player's game experience.
[0063] The embodiment of the present invention further provides another display control method in a game, which is implemented on the basis of the above embodiment. The method focuses on describing the specific process of adjusting the display attribute of the display component of the second virtual character according to the defense attribute of the second virtual character (implemented by the following step S306); Figure 3 As shown, the method comprises the following steps:
[0064] Step S302, responding to the aiming operation, controlling the aiming direction of the first virtual character in the game.
[0065] Step S304, when there is a second virtual character in the aiming direction, detecting the defense attribute of the second virtual character; wherein the defense attribute of the second virtual character includes a designated skill attribute.
[0066] The above-mentioned designated skill attributes may be skill attributes of designated skills used by the second virtual character. For example, in the game scene, the second virtual character uses the construction skill to set up a transparent wall in the game scene. The transparent wall is visually invisible and can withstand attacks. It may also be that the second virtual character uses the blocking skill, which enables the second virtual character to withstand attacks. It may also be that the second virtual character uses the blocking object in the game scene to avoid attacks. The blocking object may be a wall, door, tree, house or other object in the game scene that the second virtual character can avoid.
[0067] Step S306: When it is detected that the second virtual character uses a skill with a specified skill attribute, the display component of the second virtual character is displayed in a first rendering manner.
[0068] In a specific implementation, if it is detected that the second virtual character uses a skill with a specified skill attribute, the second virtual character cannot be attacked by the first virtual character at present, that is, the first virtual character cannot cause damage to the second virtual character. At this time, the display component of the second virtual character is displayed in a first rendering mode. The first rendering mode is the same as the first rendering mode involved in the above embodiment, and will not be repeated here.
[0069] With the display control method in the above game, the player can quickly determine whether to attack the second virtual character and whether to cause damage to the second virtual character according to the display status of the display component of the second virtual character, thereby improving the player's gaming experience.
[0070] The embodiment of the present invention also provides another display control method in a game, which is implemented on the basis of the above embodiment. The method focuses on describing the specific process of adjusting the display attributes of the display component of the second virtual character according to the attack attribute of the first virtual character (implemented by the following steps S404-S406); Figure 4 As shown, the method comprises the following steps:
[0071] Step S402, responding to the aiming operation, controlling the aiming direction of the first virtual character in the game; wherein the attack attribute of the first virtual character includes a maximum attack distance.
[0072] The maximum attack distance may be the maximum attack distance of an attack item used by the first virtual character, or the maximum attack distance of a skill of the first virtual character itself. The attack item may be a shooting weapon, a throwing weapon, a missile weapon, etc. Each type of weapon may include multiple weapons, and the range of each weapon (equivalent to the maximum attack distance) is pre-set in advance according to the power of the weapon.
[0073] Step S404: when there is a second virtual character in the aiming direction, obtain the distance between the first virtual character and the second virtual character.
[0074] Step S406: adjusting the display properties of the display component of the second virtual character according to the relationship between the distance and the maximum attack distance.
[0075] The relationship between the distance between the first virtual character and the second virtual character and the maximum attack distance represents whether the second virtual character is within the attack range of the first virtual character. In specific implementation, the step of adjusting the display attribute of the display component of the second virtual character according to the relationship between the distance and the maximum attack distance can be implemented by the following steps 10-12:
[0076] Step 10, determine whether the distance is greater than the maximum attack distance; if so, execute step 11; otherwise, execute step 12.
[0077] Step 11: display the display component in a second rendering mode.
[0078] The above-mentioned second rendering mode may be the same as the first rendering mode or different from the second rendering mode. The display component displayed in the first rendering mode and the display component displayed in the second rendering mode are both used to represent that the second virtual character cannot be attacked by the first virtual character at present. When the first rendering mode and the second rendering mode are different, the reason why the second virtual character cannot be attacked by the first virtual character at present can be distinguished, that is, the display component displayed in the first rendering mode is adjusted according to the defense attribute of the second virtual character, and the display component displayed in the second rendering mode is adjusted according to the attack attribute of the first character.
[0079] Step 12: Display the display component in a third rendering mode.
[0080] The third rendering mode is different from both the first rendering mode and the second rendering mode. The display component displayed in the third rendering mode is used to represent that the second virtual character can currently be attacked by the first virtual character.
[0081] Specifically, if the distance between the first virtual character and the second virtual character is greater than the maximum attack distance of the first virtual character, it is determined that the second virtual character is outside the attack range of the first virtual character, the first virtual character cannot cause damage to the second virtual character, and the display component of the second virtual character is adjusted to a display component displayed in the second rendering mode. If the distance between the virtual character and the second virtual character is less than or equal to the maximum attack distance of the attack prop used by the second virtual character, it is determined that the second virtual character is within the attack range of the virtual character, and if the first virtual character attacks the second virtual character, it can cause damage to the second virtual character, so the display component of the second virtual character is rendered in the third rendering mode.
[0082] In some embodiments, the display component includes a health value control; the health value control is used to indicate: the health value of the second virtual character. The health value control can also be represented by a health bar or a magic bar. The health value is the unit of blood in the game, representing the maximum attack power that a character in the game can withstand before being destroyed. For example, if the health value of a second virtual character is 50, a character with an attack power of 1 needs to attack him 50 times to kill him, and a character with an attack power of 5 needs to attack him 10 times to kill him.
[0083] In a specific implementation, the display component is set above the second virtual character in the graphical user interface, and the display component moves with the second virtual character. For example, the display component can be set above the head of the second virtual character, and when the second virtual character moves in the game scene, the display component is always above the second virtual character, that is, the display component moves with the movement of the second virtual character.
[0084] In some embodiments, when adjusting the display properties of the display component, the display properties of the display component of the second virtual character can also be set in response to a setting operation for the display properties of the display component of the second virtual character. The setting operation for the display properties of the display component can be a triggering operation of a setting control in a graphical user interface provided by a terminal device by a player. When the developer clicks the setting control, a setting window can pop up in the graphical user interface, and the setting window can set the types of display properties included in the display component of the second virtual character.
[0085] The display control method in the above-mentioned game can adjust the display properties of the display component of the second virtual character in real time according to the attack properties of the first virtual character, so that the player corresponding to the first virtual character can judge whether the second virtual character is within the attack range and whether it can be harmed according to the display properties of the display component, thereby increasing the player's game combat experience and improving the player's experience of the game.
[0086] Corresponding to the above method embodiment, the embodiment of the present invention also provides another game display control method, such as Figure 5 As shown, the method comprises the following specific steps:
[0087] Step S502: determining at least one second virtual character within the field of view of the first virtual character.
[0088] In the graphical user interface, at least one second virtual character may be displayed. The concepts of the second virtual character and the first virtual character are the same as those in the above embodiment and will not be described in detail herein.
[0089] Step S504, adjusting the display attribute of the first display component of the second virtual character according to the attack attribute of the first virtual character and / or the defense attribute of the second virtual character, wherein the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character.
[0090] In a specific implementation, the first display component can be the same component as the display component of the second virtual character described in the above embodiment. When adjusting the display attribute of the first display component of the second virtual character, the adjustment can be made only according to the attack attribute of the first virtual character; the adjustment can be made only according to the defense attribute of the second virtual character; or the adjustment can be made according to the attack attribute of the first virtual character and the defense attribute of the second virtual character. The adjustment method of the display attribute of the first display component here is the same as the adjustment method in the above embodiment, and will not be repeated here.
[0091] In a specific implementation, the above-mentioned method of adjusting the display attribute of the first display component of the second virtual character may include at least one of the following: adjusting the transparency of the first display component; adjusting the color of the first display component; adjusting the size of the first display component; adjusting the identification border of the first display component. It can also be understood that the display attribute of the display component includes the identification border (for example, stroke, adjusting the thickness of the border line, etc.), transparency, color or size.
[0092] It should be noted that the specific display attribute used to render the display component can be determined according to the specific visual style of the game, or according to the specific settings of the game developer. In this way, the display components displayed in different rendering modes can represent whether the second virtual character can be attacked by the first virtual character at present, so that the player can more intuitively judge which second virtual characters can be attacked by the first virtual character and which cannot be attacked through the visual hierarchy.
[0093] In a specific implementation, the method further includes: responding to the aiming operation, controlling the aiming direction of the first virtual character; and adjusting the display properties of the second display component of the second virtual character according to whether the second virtual character is aimed at by the first virtual character.
[0094] The first display component may be the same component as the first display component, or may be a different component from the second display component. For example, the second display component may be the second virtual character itself, and the display attribute of the second display component may be the color, outer contour, or special effects of the second virtual character itself. For example, if the second virtual character is targeted by the first virtual character, the targeted second virtual character is determined to be the target virtual character, and the display attribute of the second display component of the target second virtual character is adjusted, which may be to change the target second virtual character to a preset color; or to set an outer contour for the second virtual character, etc. The specific setting method may be set according to research and development requirements.
[0095] In an optional embodiment of the present application, when the first display component is the same as the second display component, if the second virtual character is within the attack range of the first virtual character (that is, the display attributes of the first display component indicate that the second virtual character can currently be attacked by the first virtual character), when the second virtual character is targeted by the first virtual character, the targeted second virtual character is determined to be the target second virtual character, and a border can be marked on the second display component of the target second virtual character, and the transparency of the second display component can be adjusted; the color of the second display component can be adjusted; the size of the second display component can be adjusted; the identification border of the second display component can be adjusted, etc. For example, when the second virtual character is within the attack range of the first virtual character, the second display component of the second virtual character is displayed with a transparency of 60%. When the second virtual character is targeted, the second display component is displayed with a transparency of 60%, and the border of the second display component is marked. At this time, the first virtual character can attack the targeted target second virtual character and can cause damage to the target second virtual character. If the second virtual character is outside the attack range of the first virtual character (that is, the display attribute of the first display component indicates that the second virtual character cannot be attacked by the first virtual character at present), when the target second virtual character is targeted by the first virtual character, the display attribute of the second display component of the target second virtual character is usually not adjusted. For example, the second virtual character is outside the attack range of the first virtual character, and the second display component of the second virtual character is displayed as 30% transparent. After the second virtual character is targeted, the second display component is still displayed as 30% transparent. At this time, the first virtual character targets the target second virtual character to attack, but cannot cause damage to the target second virtual character.
[0096] In order to facilitate the understanding of this application, Figure 6 The following is a schematic diagram showing an attack range display: Figure 6 The target of the middle hand-raised attack prop is the first virtual character, and the remaining characters are the second virtual characters; Figure 6 The curve in the middle indicates the range of the attack prop, that is, the maximum attack distance of the attack prop. Figure 6 It can be seen that the second virtual character outside the shooting range is the second virtual character outside the attack range. At this time, the display component of the second virtual character will be displayed in the second rendering mode. Figure 6 It can be seen that even if the second virtual character is within the shooting range of the first virtual character, but there is a transparent wall between the second virtual character and the first virtual character (the second virtual character uses the construction skill to set up a transparent wall in the game scene), the first virtual character cannot cause damage to the second virtual character. At this time, the second virtual character is deemed to be outside the attack range of the first virtual character, and the display component of the second virtual character is displayed in the first rendering mode.
[0097] Figure 6 A second virtual character that is within the shooting range of the attacking prop and is not targeted by the first virtual character and has no transparent wall in front of it is a second virtual character within the attacking range. At this time, the display component of the second virtual character is displayed in the third rendering mode; Figure 6 The second virtual character that is within the range of the attack prop, has no transparent wall in front of it and is targeted by the first virtual character is the second virtual character that can be harmed (such as Figure 3 A second virtual character with a circle and an aiming point on his body), at this time, the display component of the second virtual character will be displayed in the third rendering mode or the fourth rendering mode.
[0098] In a specific implementation, the display component of the second virtual character can also be rendered in the fourth rendering mode to indicate that the second virtual character within the attack range of the first virtual character is targeted by the first virtual character. When the second virtual character is within the attack range of the virtual character, if the first virtual character targets the second virtual character, it is determined that the second virtual character has been targeted by the first virtual character, and the first virtual character can cause damage to the second virtual character as long as it performs an attack behavior.
[0099] In an optional embodiment of the present application, the display attribute is a color attribute, and the display component can be rendered only in different colors. For example, the display component that displays the second virtual character in a first rendering mode may be a display component rendered in a preset first color, the display component that displays the second virtual character in a second rendering mode may be a display component rendered in a preset second color, the display component that displays the second virtual character in a third rendering mode may be a display component rendered in a preset third color, and the display component that displays the second virtual character in a fourth rendering mode may be a display component rendered in a preset fourth color, wherein the preset first color and the preset second color may be the same or different, the first preset color, the preset third color and the preset fourth color are different colors, and the second preset color, the preset third color and the preset fourth color are different colors.
[0100] In an optional embodiment of the present application, the display attributes are transparency and whether to mark a border, and the transparency and whether to mark a border can be used to render the display component. For example, the display component that displays the second virtual character in the first rendering mode can be rendered using a preset first transparency; the display component that displays the second virtual character in the second rendering mode can be rendered using a preset second transparency; wherein the preset second transparency can be equal to the preset first transparency, or can be different from the preset first transparency; the display component that displays the second virtual character in the third rendering mode can be rendered using a preset third transparency; the display component that displays the second virtual character in the fourth rendering mode can be rendered using a preset third transparency, and a border can be marked outside the border of the display component; wherein the preset third transparency is greater than the preset second transparency.
[0101] In the specific implementation, if the display attribute is transparency, if the second virtual character is outside the attack range of the first virtual character, the display component of the second virtual character is rendered with 30% transparency; if the second virtual character is within the attack range of the first virtual character and has defense attributes, the display component of the second virtual character is rendered with 50% transparency; if the second virtual character is within the attack range of the first virtual character and has no defense attributes, the display component of the second virtual character is rendered with 80% transparency.
[0102] In the specific implementation, if the display attributes are transparency and whether to stroke, if the second virtual character is outside the attack range of the first virtual character, the display component of the second virtual character is rendered with 30% transparency; if the second virtual character is within the attack range of the first virtual character and has defense attributes, the display component of the second virtual character is rendered with 50% transparency; if the second virtual character is within the attack range of the first virtual character and has no defense attributes, the display component is rendered with 50% transparency and stroked on the display component (equivalent to the above-mentioned identification border).
[0103] In an optional embodiment of the present application, the display attributes are transparency, whether to mark a border, and size, and the transparency, whether to mark a border, and size can be used to render the display component. For example, the display component that displays the second virtual character in the first rendering mode can be rendered using a preset first transparency and a preset first size; the display component that displays the second virtual character in the second rendering mode can be rendered using a preset second transparency and a preset second size; the display component that displays the second virtual character in the third rendering mode can be rendered using a preset third transparency and a preset third size; the display component that displays the second virtual character in the fourth rendering mode can be rendered using a preset third transparency and a preset third size, and a border is marked outside the border of the display component; wherein the preset first size is less than or equal to the preset second size, and the preset second size is less than the preset third size.
[0104] like Figure 7 Shown is a schematic diagram of display components displayed in different rendering modes. Figure 7 Three second virtual characters are displayed, and a display component is displayed above the head of each second virtual character; the first second virtual character is a second virtual character outside the attack range of the first virtual character; the second second virtual character is a second virtual character within the attack range of the first virtual character and has a defensive attribute; the third second virtual character is a second virtual character that can be harmed by the second virtual character attacking (that is, a second virtual character within the attack range of the first virtual character and has no defensive attribute). Figure 7 The display component of the first second virtual character is a display component rendered with a preset first transparency and a preset first size; the display component of the second second virtual character is a display component rendered with a preset third transparency and a preset third size; the display component of the third second virtual character is a display component rendered with a preset third transparency and a preset third size, and a stroke is set outside the border of the display component; wherein the preset first size is smaller than the preset third size, and the preset third transparency is greater than the preset first transparency.
[0105] In a specific implementation, in response to a trigger operation for a first virtual character to attack a second virtual character, based on the display properties of the display component of the second virtual character, the attack result of the virtual character attacking the second virtual character is displayed. The trigger operation for the first virtual character to attack the second virtual character may be an operation in which a player triggers an attack control in a graphical user interface, or an operation in which a player clicks on the second virtual character. If the display component of the second virtual character is rendered in the first rendering mode or the second rendering mode, when the first virtual character attacks the second virtual character, the first virtual character will not cause damage to the second virtual character; if the display component of the second virtual character is rendered in the third rendering mode, when the first virtual character attacks the second virtual character, the first virtual character can cause damage to the second virtual character, but if the first virtual object does not aim at the second virtual character when attacking, it cannot cause damage to the second virtual character; if the display component of the second virtual character is rendered in the fourth rendering mode, it means that the second virtual character has been targeted by the first virtual character, and when the first virtual character attacks the second virtual character, the first virtual character will cause damage to the second virtual character.
[0106] Based on the above description, it can be known that the player corresponding to the first virtual character can know in advance the result of the attack of the first virtual character against the second virtual character according to the display properties of the display component of the second virtual character. Therefore, the player can easily determine which second virtual characters in the graphical user interface are within the attack range of the corresponding first virtual character, and which second virtual characters have been targeted by the first virtual character and can cause damage to the second virtual character by attacking, based on the display properties of the display component of the second virtual character, thereby enhancing the player's gaming experience.
[0107] In an optional embodiment, if the game allows the player to set the attack range of the first virtual character, the player can set the attack range corresponding to the first virtual character in the attack range setting window corresponding to the graphic user interface, but the attack range setting of each virtual character is within a preset range, which is set by the R&D personnel.
[0108] Specifically, the display attribute of the display component of the second virtual character is updated according to whether the second virtual character is within the attack range of the virtual character. It can also be understood that the display attribute of the display component of the second virtual character is updated and adjusted in real time according to the defense attribute of the second virtual character and the attack attribute of the virtual character.
[0109] The attack display method of the above game first determines at least one second virtual character within the field of view of the first virtual character, and then adjusts the display attribute of the first display component of the second virtual character according to the attack attribute of the above first virtual character and / or the defense attribute of the second virtual character, wherein the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character. In this way, the player can quickly determine the second virtual character within the attack range according to the display attribute of the display component of the second virtual character, which is conducive to the player attacking the second virtual character and causing damage to the attacked second virtual character, thereby improving the player's gaming experience.
[0110] Corresponding to the above Figure 1 The method embodiment shown in the figure, the embodiment of the present invention provides a display control device in a game; Figure 8 As shown, the device comprises:
[0111] The aiming operation response module 80 is used to respond to the aiming operation and control the aiming direction of the first virtual character in the game.
[0112] The display adjustment module 81 is used to adjust the display attributes of the display component of the second virtual character according to the attack attribute of the first virtual character and / or the defense attribute of the second virtual character; wherein the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character.
[0113] The display control device in the above game first responds to the aiming operation and controls the aiming direction of the first virtual character in the game; when there is a second virtual character in the aiming direction, the display attribute of the display component of the second virtual character is adjusted according to the attack attribute of the first virtual character and / or the defense attribute of the second virtual character; the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character. In this way, the display attribute of the display component of the second virtual character can indicate whether the second virtual character is within the attack range of the first virtual object, so that the player can quickly determine the second virtual character within its attack range, which is conducive to the player attacking the second virtual character and causing damage to the attacked second virtual character, thereby improving the player's gaming experience.
[0114] Specifically, the above-mentioned adjustment of the display attribute of the display component of the second virtual character includes at least one of the following: adjusting the transparency of the display component; adjusting the color of the display component; adjusting the size of the display component; and adjusting the identification frame of the display component.
[0115] Furthermore, the defense attribute of the second virtual character includes: a specified character attribute; and the display adjustment module 81 is used to: when it is detected that the second virtual character has the specified character attribute, display the display component of the second virtual character in the first rendering mode.
[0116] Furthermore, the defense attribute of the second virtual character includes: a specified skill attribute; the display adjustment module 81 is used to: when it is detected that the second virtual character uses a skill with the specified skill attribute, display the display component of the second virtual character in the first rendering mode.
[0117] Furthermore, the attack attribute of the first virtual character includes: a maximum attack distance; the display adjustment module 81 is used to: obtain the distance between the first virtual character and the second virtual character; and adjust the display attribute of the display component of the second virtual character according to the relationship between the distance and the maximum attack distance.
[0118] In a specific implementation, the display adjustment module 81 is further used to: if the distance is greater than the maximum attack distance, display the display component in the second rendering mode; otherwise, display the display component in the third rendering mode.
[0119] Furthermore, the above-mentioned display component includes a life value control; the life value control is used to indicate: the life value of the second virtual character.
[0120] Specifically, the display component is arranged above the second virtual character in the graphical user interface, and the display component moves with the second virtual character.
[0121] Furthermore, the above-mentioned device also includes a display attribute setting module, which is used to set the display attribute of the display component of the second virtual character in response to the setting operation of the display attribute of the display component of the second virtual character.
[0122] The display control device in the game provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference can be made to the corresponding contents in the aforementioned method embodiment.
[0123] Corresponding to the above Figure 5 The method embodiment described above, the embodiment of the present invention provides another display control device in a game; Fig. 9 As shown, the device comprises:
[0124] The role determination module 90 is used to determine at least one second virtual role within the field of view of the first virtual role.
[0125] The attribute display module 91 is used to adjust the display attributes of the first display component of the second virtual character according to the attack attribute of the first virtual character and / or the defense attribute of the second virtual character, wherein the display attributes are at least used to indicate whether the second virtual character is currently attackable by the first virtual character.
[0126] The attack display device of the above game first determines at least one second virtual character within the field of view of the first virtual character, and then adjusts the display attribute of the first display component of the second virtual character according to the attack attribute of the above first virtual character and / or the defense attribute of the second virtual character, wherein the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character. In this way, the player can quickly determine the second virtual character within the attack range according to the display attribute of the display component of the second virtual character, which is conducive to the player attacking the second virtual character and causing damage to the attacked second virtual character, thereby improving the player's gaming experience.
[0127] Furthermore, the above-mentioned device also includes an aiming adjustment module, which is used to: respond to the aiming operation, control the aiming direction of the first virtual character; and adjust the display properties of the second display component of the second virtual character according to whether the second virtual character is aimed at by the first virtual character.
[0128] Furthermore, the above-mentioned attribute display module 91 is used to: adjust the transparency of the first display component; adjust the color of the first display component; adjust the size of the first display component; and adjust the identification frame of the first display component.
[0129] The display control device in the game provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference can be made to the corresponding contents in the aforementioned method embodiment.
[0130] The embodiment of the present invention further provides an electronic device, such as Fig.10 As shown, the electronic device includes a processor 101 and a memory 100. The memory 100 stores machine executable instructions that can be executed by the processor 101. The processor 101 executes the machine executable instructions to implement the display control method in the above game.
[0131] Further, Fig.10 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .
[0132] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0133] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and completes the steps of the method of the above embodiment in combination with its hardware.
[0134] An embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the display control method in the above-mentioned game. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0135] The computer program product of the display control method, device and electronic device in the game provided by the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.
[0136] 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 computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, 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 enabling a computer device (which can be a personal computer, electronic device, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. 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.
[0137] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0138] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention 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 by the present invention, 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 invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A display control method in a game, characterized in that: The method comprises: Responding to the aiming operation, controlling the aiming direction of the first virtual character in the game; When there is a second virtual character in the aiming direction, adjusting the display attribute of the display component of the second virtual character according to the defense attribute of the second virtual character; wherein the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character; The defense attribute of the second virtual character includes: a specified character attribute, or a specified skill attribute.
2. The method according to claim 1, characterized in that The adjusting the display attribute of the display component of the second virtual character includes at least one of the following: adjusting the transparency of the display component; adjusting the color of the display component; Adjusting the size of the display component; Adjust the identification border of the display component.
3. The method according to claim 1, characterized in that The step of adjusting the display attribute of the display component of the second virtual character according to the defense attribute of the second virtual character comprises: When it is detected that the second virtual character has the specified character attribute, the display component of the second virtual character is displayed in a first rendering manner.
4. The method according to claim 1, characterized in that: The step of adjusting the display attribute of the display component of the second virtual character according to the defense attribute of the second virtual character comprises: When it is detected that the second virtual character uses the skill with the specified skill attribute, the display component of the second virtual character is displayed in a first rendering manner.
5. The method according to any one of claims 1 to 4, characterized in that: The display component includes a life value control; the life value control is used to indicate: the life value of the second virtual character.
6. The method according to claim 1, characterized in that The display component is arranged above the second virtual character in the graphical user interface, and the display component moves along with the second virtual character.
7. The method according to claim 1, characterized in that The method further comprises: In response to the setting operation of the display attribute of the display component of the second virtual character, the display attribute of the display component of the second virtual character is set.
8. A display control method in a game, characterized in that: The method comprises: Determining at least one second virtual character within the field of view of the first virtual character; According to the defense attribute of the second virtual character, adjusting the display attribute of the first display component of the second virtual character, wherein the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character; The defense attribute of the second virtual character includes: a specified character attribute, or a specified skill attribute.
9. The method according to claim 8, characterized in that The method further comprises: In response to the aiming operation, controlling the aiming direction of the first virtual character; According to whether the second virtual character is targeted by the first virtual character, a display attribute of a second display component of the second virtual character is adjusted.
10. The method according to claim 8, characterized in that The adjusting the display attribute of the first display component of the second virtual character comprises at least one of the following: adjusting the transparency of the first display component; adjusting the color of the first display component; adjusting the size of the first display component; Adjust the identification border of the first display component.
11. A display control device in a game, characterized in that: The device comprises: An aiming operation response module, used to respond to the aiming operation and control the aiming direction of the first virtual character in the game; A display adjustment module, configured to adjust the display attribute of the display component of the second virtual character according to the defense attribute of the second virtual character when there is a second virtual character in the aiming direction; wherein the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character; The defense attribute of the second virtual character includes: a specified character attribute, or a specified skill attribute.
12. A display control device in a game, characterized in that: The device comprises: A role determination module, used to determine at least one second virtual role within the field of view of the first virtual role; an attribute display module, used to adjust the display attribute of the first display component of the second virtual character according to the defense attribute of the second virtual character, wherein the display attribute is at least used to indicate whether the second virtual character is currently attackable by the first virtual character; The defense attribute of the second virtual character includes: a specified character attribute, or a specified skill attribute.
13. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the display control method in the game according to any one of claims 1 to 10.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the display control method in the game according to any one of claims 1 to 10.
