Search

CN-121988029-A - Method, device, equipment and storage medium for displaying data in game

CN121988029ACN 121988029 ACN121988029 ACN 121988029ACN-121988029-A

Abstract

The application relates to a data display method, a device, equipment and a storage medium in a game, wherein a graphical user interface is provided through terminal equipment; the method comprises the steps of determining a display form of an attribute display area of a virtual object according to an attribute value of a target attribute in object attributes, wherein the target attribute is the object attribute with an extremum attribute value, dividing the attribute display area into a plurality of subareas which correspond to the object attribute, determining a display form of the subarea corresponding to the object attribute according to the attribute value of the object attribute, and displaying the subarea according to the display form, wherein the display form indicates the attribute value of the object attribute. According to the scheme provided by the application, the display form of the attribute display area can be determined according to the object attribute with the extremum attribute value, and the numerical difference between the attribute values can be better displayed, so that the player can intuitively recognize the attribute size difference of the virtual object, and the game experience of the player is improved.

Inventors

  • Lin Yajia

Assignees

  • 网易(上海)网络有限公司

Dates

Publication Date
20260508
Application Date
20260116

Claims (16)

  1. 1. A method of displaying data in a game, wherein a graphical user interface is provided by a terminal device, the method comprising: Acquiring a plurality of object attributes of a virtual object; Determining a display form of an attribute display area of the virtual object according to an attribute value of a target attribute in the object attribute, wherein the target attribute is an object attribute with an extremum attribute value; And determining the display form of the subarea corresponding to the object attribute according to the attribute value of the object attribute, and displaying the subarea according to the display form, wherein the display form indicates the attribute value of the object attribute.
  2. 2. The method of claim 1, wherein the attribute display region is a circular region, the method further comprising: Dividing the circular area into a plurality of concentric annular areas according to the attribute value of the target attribute in the object attribute, wherein each annular area corresponds to a different attribute value interval.
  3. 3. The method according to claim 2, wherein the method further comprises: and the attribute value interval of the annular region positioned at the outermost layer in the circular region comprises the attribute value of the target attribute.
  4. 4. The method according to claim 2, wherein the method further comprises: And the critical difference value of each annular region is equal, wherein the critical difference value is the difference between the upper limit value and the lower limit value of the attribute value interval of the annular region.
  5. 5. The method according to claim 2, wherein the method further comprises: And displaying an upper limit value or a lower limit value of an attribute value interval of the annular region in the annular region.
  6. 6. The method according to claim 1, wherein determining a display form of a sub-region corresponding to the object attribute according to the attribute value of the object attribute, and displaying the sub-region according to the display form, comprises: Determining a display form and a display area of a subarea corresponding to each object attribute according to the attribute value of each object attribute, wherein the display form comprises a first display form and a second display form, the first display form comprises an overall display form of a first area in the subarea, the second display form comprises an overall display form of the first area and a display form of a second area in the subarea, and the second area is overlapped and displayed at the edge of the first area; And displaying the sub-region corresponding to each object attribute in the attribute display region according to the display form and the display area of the sub-region corresponding to each object attribute.
  7. 7. The method according to claim 6, wherein determining the display form of the sub-region corresponding to each object attribute according to the attribute value of each object attribute comprises: When the attribute value of the object attribute reaches a preset attribute upper limit threshold, determining the display form of the appointed attribute as the first display form; and when the attribute value of the object attribute does not reach a preset attribute upper limit threshold value, determining the display form of the appointed attribute as the second display form.
  8. 8. The method of claim 6, wherein the method further comprises: And determining the colors of the first area and the second area corresponding to each object attribute according to the attribute value of the target attribute.
  9. 9. The method of claim 8, wherein the method further comprises: determining the attribute with the minimum attribute value in the attribute data as a candidate attribute; And determining the colors of the first area and the second area corresponding to the candidate attribute according to the attribute value of the target attribute.
  10. 10. The method of claim 8, wherein the method further comprises: when the attribute value of the target attribute is larger than a preset target threshold value, determining the color of a first area corresponding to each object attribute as a target color; determining a preset image according to the attribute value of the target attribute; And displaying the preset image in a superposition manner on each first area.
  11. 11. The method according to claim 1, wherein the method further comprises: the display form of the subareas is a sector area, the plurality of subareas take the same point as the circle center of the sector graph, and the sum of the central angles of the subareas is 360 degrees.
  12. 12. The method of claim 11, wherein the method further comprises: And dividing the attribute display area into a plurality of subareas according to the number of the object attributes, wherein the central angles of the subareas are the same.
  13. 13. The method of claim 11, wherein the method further comprises: and displaying an outer contour line corresponding to each subarea in the attribute display area, wherein the outer contour line indicates an attribute value upper limit of the object attribute corresponding to the subarea.
  14. 14. A data display apparatus in a game, characterized in that a graphic user interface is provided by a terminal device, the apparatus comprising: The acquisition module is used for acquiring a plurality of object attributes of the virtual object; the virtual object display module is used for displaying the object attribute of the virtual object according to the attribute value of the object attribute, wherein the object attribute is an object attribute with an extremum attribute value; The display module is used for determining the display form of the subarea corresponding to the object attribute according to the attribute value of the object attribute and displaying the subarea according to the display form, wherein the display form indicates the attribute value of the object attribute.
  15. 15. An electronic device, comprising: processor, and A memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of any of claims 1-13.
  16. 16. A computer readable storage medium having stored thereon executable code which when executed by a processor of an electronic device causes the processor to perform the method of any of claims 1-13.

Description

Method, device, equipment and storage medium for displaying data in game Technical Field The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for displaying data in a game. Background Currently, attribute data of virtual objects are typically presented to players in the form of radar maps, which represent attribute values of different attributes by polygon area and vertex position. However, the peripheral boundary of the radar chart is generally fixed, when the attribute data of the virtual object is inflated, the corresponding attribute is easy to exceed the peripheral boundary of the radar chart, and the attribute data which is not inflated is too small on the radar chart, so that the player is difficult to quickly identify the numerical difference between the attribute values, and the game experience of the player is reduced. Disclosure of Invention In order to solve or partially solve the problems in the related art, the application provides a method, a device, equipment and a storage medium for displaying data in a game, which can determine the display form of an attribute display area according to the object attribute with an extremum attribute value, can better display the numerical value difference between all attribute values, and avoid the attribute value overflowing the attribute display area excessively, so that a player can intuitively identify the attribute difference of a virtual object, and the game experience of the player is improved. The application provides a data display method in a game, which comprises the steps of obtaining a plurality of object attributes of a virtual object through terminal equipment, determining a display form of an attribute display area of the virtual object according to attribute values of target attributes in the object attributes, wherein the target attributes are object attributes with extreme value attribute values, dividing the attribute display area into a plurality of subareas, wherein the subareas correspond to the object attributes, determining a display form of the subareas corresponding to the object attributes according to the attribute values of the object attributes, and displaying the subareas according to the display form, and the display form indicates the attribute values of the object attributes. With reference to the first aspect, in one possible implementation manner of the first aspect, The application provides a data display device in a game, which provides a graphical user interface through terminal equipment, and comprises an acquisition module, a determination module, a display module and a display module, wherein the acquisition module is used for acquiring a plurality of object attributes of a virtual object, the determination module is used for determining a display form of an attribute display area of the virtual object according to an attribute value of a target attribute in the object attributes, the target attribute is an object attribute with an extreme value, the attribute display area is divided into a plurality of subareas, the subareas correspond to the object attributes, the display module is used for determining a display form of the subarea corresponding to the object attributes according to the attribute value of the object attributes and displaying the subareas according to the display form, and the display form indicates the attribute value of the object attributes. With reference to the second aspect, in a possible implementation manner of the second aspect, A third aspect of the present application provides an electronic apparatus, comprising: processor, and A memory having executable code stored thereon which, when executed by the processor, causes the processor to perform the method as described above. A fourth aspect of the application provides a computer readable storage medium having stored thereon executable code which, when executed by a processor of an electronic device, causes the processor to perform a method as described above. The technical scheme provided by the application can comprise the following beneficial effects: The method comprises the steps of obtaining a plurality of object attributes of a virtual object, determining a display form of an attribute display area of the virtual object according to attribute values of target attributes in the object attributes, wherein the target attributes are object attributes with extreme value attribute values, dividing the attribute display area into a plurality of subareas which correspond to the object attributes, determining a display form of the subareas corresponding to the object attributes according to the attribute values of the object attributes, and displaying the subareas according to the display form, wherein the display form indicates the attribute values of the object attributes. In the mode, the display form of the attribute display area can be deter