Search

CN-115645912-B - Game element display method, game element display device, computer equipment and storage medium

CN115645912BCN 115645912 BCN115645912 BCN 115645912BCN-115645912-B

Abstract

Responding to an event that the first virtual character enters a fight state, and replacing a fight association interface element in the thumbnail form displayed by the graphical user interface with a fight association interface element in an unfolding form; then, responding to the event that the first virtual character is out of the combat state, and restoring the combat associated interface element in the unfolded form displayed by the graphical user interface into the combat associated interface element in the abbreviated form; according to the game state of the first virtual character controlled by the player, the combat association interface elements in the corresponding states of different game states are selectively displayed on the graphical user interface, different interface display information is provided in a targeted manner, and the secondary combat information is displayed in a thumbnail manner so as to be displayed differently from the important combat information, so that the game interaction efficiency of the player is improved, and the game experience of the player is improved.

Inventors

  • LI YUNPENG

Assignees

  • 网易(杭州)网络有限公司

Dates

Publication Date
20260505
Application Date
20221024

Claims (14)

  1. 1. A method of displaying game elements, wherein a graphical user interface is provided by a terminal, the graphical user interface including at least a portion of a virtual scene, a first virtual character located in the virtual scene and controlled by the terminal, and at least one combat-associated interface element configured to indicate combat information associated with a combat, the first virtual character being in a combat-off state, the combat-associated interface element displayed on the graphical user interface being in a abbreviated form, the method comprising: responding to an event that the first virtual character enters a fight state, and replacing a fight-related interface element in the thumbnail form displayed by the graphical user interface with a fight-related interface element in an unfolding form, wherein the fight-related interface element in the unfolding form comprises a plurality of element display identifiers; responding to the event that the first virtual character is separated from the combat state, and restoring the combat associated interface element in the unfolded form displayed by the graphical user interface to the combat associated interface element in the abbreviated form; and restoring the combat-associated interface element in the expanded form displayed by the graphical user interface to the combat-associated interface element in the abbreviated form in response to the event that the first virtual character is out of the combat state, comprising: determining a target element display identifier from the plurality of element display identifiers in response to the event that the first virtual character is separated from the combat state, and generating a thumbnail element identifier serving as a combat association interface element in the thumbnail form based on current combat information associated with the target element display identifier by the target element display identifier; and replacing the combat association interface element in the unfolded form displayed by the graphical user interface with the thumbnail element identifier, and canceling the display of other element display identifiers in the plurality of element display identifiers on the graphical user interface.
  2. 2. The method of claim 1, wherein the plurality of element presentation identifications includes a shortcut identification, an element graphic identification, and a text identification, wherein the shortcut identification is used to prompt a player to manipulate the first virtual character to trigger the fight association interface element associated with the shortcut identification in the virtual scene; the method includes determining a target element presentation identifier from the plurality of element presentation identifiers in response to an event that the first virtual character is out of the combat state, generating a thumbnail element identifier based on current combat information associated with the target element presentation identifier by the target element presentation identifier, as a combat association interface element in the thumbnail form, including: Responding to the event that the first virtual character is separated from the combat state, determining the shortcut key identification from the element display identifications as a target element display identification, and generating a shorthand shortcut identification based on current combat information associated with the combat association interface element by the shortcut key identification, wherein the shorthand shortcut identification is used as the combat association interface element in the shorthand form; The replacing the combat association interface element in the unfolded form displayed by the graphical user interface with the thumbnail element identifier, and canceling the display of other element display identifiers in the plurality of element display identifiers on the graphical user interface, includes: And replacing the combat association interface element displayed by the graphical user interface in the unfolded form with the abbreviated shortcut identifier, and canceling the display of the element graphical identifier and the character identifier on the graphical user interface.
  3. 3. The method of claim 1, further comprising, after generating a thumbnail element identifier based on current combat information associated with the target element presentation identifier and based on the target element presentation identifier, before acting as a combat association interface element in the thumbnail form: responding to a size adjustment instruction aiming at the thumbnail element mark, and adjusting the display size of the thumbnail element mark to obtain an adjusted thumbnail element mark, wherein the display size of the adjusted thumbnail element mark is smaller than the display size of the element display mark; and marking the adjusted thumbnail element as a fight association interface element in the thumbnail form.
  4. 4. The method of claim 1, further comprising, after generating a thumbnail element identifier based on current combat information associated with the target element presentation identifier and based on the target element presentation identifier, before acting as a combat association interface element in the thumbnail form: Setting the display color of the thumbnail element identifier to be a designated display color in response to a color adjustment instruction for the thumbnail element identifier, and obtaining a set thumbnail element identifier, wherein the display color of the set thumbnail element identifier is different from the display color of the element display identifier, so that the set thumbnail element identifier is displayed differently from the element display identifier; And marking the set thumbnail element as a fight association interface element in the thumbnail form.
  5. 5. The method of displaying game elements according to claim 1, further comprising, after replacing the combat-associated interface element in the expanded form of the graphical user interface display with the thumbnail element identification and canceling the display of other element presentation identifications among the plurality of element presentation identifications on the graphical user interface: Responsive to a first touch operation for the graphical user interface, resuming display of other element presentation identifications of the plurality of element presentation identifications on the graphical user interface for a duration of the first touch operation; and when the first touch operation is detected to be finished, canceling the display of other element display identifiers in the plurality of element display identifiers on the graphical user interface.
  6. 6. The method of displaying game elements according to claim 1, further comprising, after replacing the combat-associated interface element in the expanded form of the graphical user interface display with the thumbnail element identification and canceling the display of other element presentation identifications among the plurality of element presentation identifications on the graphical user interface: Responding to a second touch operation aiming at the thumbnail element identification, and displaying an information display window on the graphical user interface, wherein the information display window is used for displaying all current fight information associated with the thumbnail element identification; and canceling display of the information display window in response to any position on the graphical user interface except for the information display window.
  7. 7. The method of displaying game elements according to claim 1, further comprising, after replacing the combat-associated interface element in the expanded form of the graphical user interface display with the thumbnail element identification and canceling the display of other element presentation identifications among the plurality of element presentation identifications on the graphical user interface: and canceling the display of the thumbnail element identification on the graphical user interface in response to a third touch operation for the thumbnail element identification.
  8. 8. The method of displaying game elements according to claim 1, further comprising, after replacing the combat-associated interface element in the expanded form of the graphical user interface display with the thumbnail element identification and canceling the display of other element presentation identifications among the plurality of element presentation identifications on the graphical user interface: And canceling the display of all the thumbnail element identifiers on the graphical user interface in response to the touch operation on the graphical user interface.
  9. 9. The method of claim 1, further comprising, prior to the event responsive to the first virtual character entering a combat state: determining whether the current position of the first virtual character belongs to a preset combat zone; and if the first virtual character is currently in the preset fight area, determining that the first virtual character performs a fight state, and responding to an event that the first virtual character enters the fight state.
  10. 10. The method of claim 1, further comprising, prior to the event responsive to the first virtual character entering a combat state: determining whether the first virtual character and other virtual characters have an attack or an attacked game event; If yes, determining that the first virtual role is in combat, and responding to the event that the first virtual role enters a combat state.
  11. 11. The method of claim 1, wherein the graphical user interface further comprises a second virtual character located in the virtual scene that is the same camp as the first virtual character; before the event of entering the combat state in response to the first virtual character, further comprising: And when the second virtual character is detected to enter a fight state, determining that the first virtual character fights, and responding to the event that the first virtual character enters the fight state.
  12. 12. A display device for game elements, comprising: the first response unit is used for responding to the event that the first virtual character enters a fight state, and replacing a fight-related interface element in a thumbnail form displayed by the graphical user interface with a fight-related interface element in an unfolding form, wherein the fight-related interface element in the unfolding form comprises a plurality of element display identifiers; A second response unit, configured to restore the combat-related interface element in the expanded configuration displayed by the graphical user interface to the combat-related interface element in the abbreviated configuration in response to an event that the first virtual character is out of the combat state; A first response subunit, configured to determine a target element display identifier from the plurality of element display identifiers in response to an event that the first virtual character is out of the combat state, and generate a thumbnail element identifier as a combat association interface element in the thumbnail form based on current combat information associated with the target element display identifier by the target element display identifier; and the first replacing subunit is used for replacing the combat association interface element in the unfolded form displayed by the graphical user interface with the thumbnail element identifier and canceling the display of other element display identifiers in the element display identifiers on the graphical user interface.
  13. 13. A computer device comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading instructions from the memory to perform the steps in the method of displaying a game element as claimed in any one of claims 1 to 11.
  14. 14. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the method of displaying a game element according to any one of claims 1 to 11.

Description

Game element display method, game element display device, computer equipment and storage medium Technical Field The present application relates to the field of game technologies, and in particular, to a method and apparatus for displaying game elements, a computer device, and a storage medium. Background With the continuous development of computer communication technology, a large number of popular applications of terminals such as smart phones, tablet computers and notebook computers, the terminals develop towards diversification and individuation, and increasingly become indispensable terminals in life and work of people. In order to meet the pursuit of people for mental life, entertainment games capable of being operated on terminals have been developed, for example, multi-player online tactical competitive games (Multiplayer Online Battle Arena, MOBA) and massive multi-player online games (Massive Multiplayer Online, MMO) developed based on client or server architecture are popular with users due to their characteristics of high smoothness, good operation feel, instant combat and the like. In the current game, the game interface presents different interface effects according to different game states of a player, so that the player can acquire corresponding information in different game states. On one hand, the game interface in the prior art can not distinguish between a fight state and a fight-off state, so that fight interface information is displayed on the interface for a long time, the interface is displayed in a fussy and messy manner, on the other hand, the game interface in the prior art can display fight-related interface information in the fight state, and hide the fight-related interface information in the non-fight state, however, a player cannot monitor part of special states, and the strategy deployment of the player in the game is influenced, so that the game experience of the player is influenced, and the game interaction efficiency is low. Disclosure of Invention The embodiment of the application provides a game element display method, a game element display device, a computer device and a storage medium, wherein different interface display information can be provided in a targeted manner through selectively displaying combat association interface elements in corresponding states of different game states on a graphical user interface according to the game states of a first virtual character controlled by a player, secondary combat information is displayed in a thumbnail manner so as to be displayed in a distinguishing manner with important combat information, game interaction efficiency of the player is improved, immersion is improved, and game experience of the player is improved. The embodiment of the application provides a method for displaying game elements, which comprises the steps of providing a graphical user interface through a terminal, wherein the graphical user interface comprises at least a part of virtual scenes, a first virtual role which is positioned in the virtual scenes and controlled by terminal equipment, and at least one combat association interface element, wherein the combat association interface element is configured to indicate combat information related to combat, the first virtual role is in a combat state, and the combat association interface element displayed on the graphical user interface is in a combat association interface element in a thumbnail form, and the method comprises the following steps: Responding to the event that the first virtual character enters a fight state, and replacing the fight-related interface element in the thumbnail form displayed by the graphical user interface with the fight-related interface element in the unfolding form; And responding to the event that the first virtual character is out of the combat state, and restoring the combat associated interface element in the unfolded state displayed by the graphical user interface to the combat associated interface element in the abbreviated state. Correspondingly, the embodiment of the application provides a display device of a game element, which comprises: A first response unit, configured to replace a combat associated interface element in the abbreviated form displayed on the graphical user interface with a combat associated interface element in an expanded form in response to an event that the first virtual character enters a combat state; And the second response unit is used for responding to the event that the first virtual character is separated from the combat state and restoring the combat associated interface element in the unfolded form displayed by the graphical user interface into the combat associated interface element in the abbreviated form. Correspondingly, the embodiment of the application also provides computer equipment, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the compute