Search

CN-122006241-A - Information display method and device in game, electronic equipment and storage medium

CN122006241ACN 122006241 ACN122006241 ACN 122006241ACN-122006241-A

Abstract

The application provides an information display method, a device, electronic equipment and a storage medium in a game, and relates to the technical field of man-machine interaction, wherein the method comprises the steps of responding to a movement control instruction aiming at a first virtual object, controlling the first virtual object to move in a game scene; responding to the appointed interaction behavior between the first virtual object and the second virtual object, providing an information prompt area at the second virtual object based on the display area of the second virtual object in the graphical user interface, wherein the area size of the information prompt area changes along with the change of the display area, and the appointed interaction behavior comprises a game behavior for adjusting preset attribute parameters of the second virtual object; and providing prompt information for indicating preset attribute parameters of the second virtual object in the information prompt area. By adopting the information display method, the device, the electronic equipment and the storage medium in the game, the problems of low information identification degree and reduced man-machine interaction efficiency are solved.

Inventors

  • ZHANG ZELE

Assignees

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

Dates

Publication Date
20260512
Application Date
20241111

Claims (16)

  1. 1. An information display method in a game, characterized in that a graphical user interface is provided through a terminal device, at least part of a game scene is displayed on the graphical user interface, the game scene comprises a first virtual object and a second virtual object which are controlled by the terminal device, and the method comprises the following steps: Controlling the first virtual object to move in the game scene in response to a movement control instruction for the first virtual object; providing an information prompt area at the second virtual object based on the display area of the second virtual object in the graphical user interface in response to a specified interaction behavior occurring between the first virtual object and the second virtual object, the area size of the information prompt area changing with the change of the display area, the specified interaction behavior comprising a game behavior of adjusting preset attribute parameters of the second virtual object; And providing prompt information for indicating the preset attribute parameters of the second virtual object in the information prompt area.
  2. 2. The method of claim 1, wherein the changing of the area size of the information presentation area as a function of the display area comprises changing the area size of the information presentation area as a function of the display area of the second virtual object at different viewing angles and/or different modalities.
  3. 3. The method of claim 1, wherein the information presentation area includes an information presentation start point, and wherein the providing an information presentation area at the second virtual object based on a display area of the second virtual object in the graphical user interface includes: selecting an information prompt terminal point on the boundary of the display area corresponding to the display area based on the information prompt starting point; Determining the area size of the information prompt area corresponding to the display area based on the information prompt starting point and the information prompt ending point; And providing the information prompt area at the information prompt starting point according to the area size.
  4. 4. A method according to claim 3, wherein said providing, in said information prompt area, prompt information indicating said preset attribute parameters of said second virtual object comprises: and selecting an information prompt track in the information prompt area based on the information prompt terminal point and the information prompt starting point so as to provide prompt information of the preset attribute parameters along the information prompt track.
  5. 5. The method of claim 3, wherein selecting an information prompt endpoint on a display area boundary corresponding to the display area comprises: and transmitting a first ray from the information prompt starting point along the set inclination angle direction, and determining an information prompt ending point according to a first intersection point of the first ray and the boundary of the display area.
  6. 6. The method of claim 5, wherein determining an information hint endpoint based on a first intersection of the first ray and the display area boundary comprises: selecting a boundary point which takes the first intersection point as a center and is in a preset range from the boundary of the display area as a candidate information prompt terminal point; And determining boundary points meeting preset distance conditions in the candidate information prompt terminal points as information prompt terminal points, wherein the preset distance conditions are conditions which are met by the distance between the candidate information prompt terminal points and the information prompt starting points.
  7. 7. The method according to claim 5 or 6, characterized in that the method further comprises: Acquiring body type parameters of the second virtual object, and determining correction coefficients according to the body type parameters; And correcting the position of the information prompt terminal point by using the correction coefficient so as to determine the corrected position as the final information prompt terminal point.
  8. 8. The method of claim 5, wherein the set tilt angle comprises any one of a fixed first set tilt angle, a second set tilt angle determined based on the display area boundary.
  9. 9. The method of claim 8, wherein the set tilt angle comprises the second set tilt angle, the method further comprising: determining a target boundary area meeting the area requirement of the boundary area in the boundary of the display area; And selecting a set inclination angle from the target boundary region, wherein the boundary region area requirement is a requirement for the region area corresponding to the partial boundary divided in the display region boundary.
  10. 10. The method of claim 9, wherein the determining a target boundary region of the display region boundaries that meets a boundary region area requirement comprises: dividing the display area boundary to obtain a plurality of division boundaries; And determining the area of the boundary region corresponding to each segmentation boundary, and selecting the segmentation boundary meeting the area requirement of the boundary region as a target boundary region.
  11. 11. The method of claim 7, wherein said determining a corrected displacement based on said body type parameter comprises: And determining a ratio between the body type parameter of the second virtual object and the reference body type parameter, and determining correction displacement according to the ratio.
  12. 12. A method according to claim 3, wherein determining the display area boundary for the display area comprises: transmitting a plurality of second rays from a virtual camera center point to the second virtual object, and determining a second intersection point of each second ray with a model of the second virtual object; and selecting boundary points representing the display area boundary of the second virtual object under the current view angle from a plurality of second intersection points, and determining the display area boundary of the second virtual object based on the selected boundary points.
  13. 13. A method according to claim 3, wherein the information presentation starting point comprises a first information presentation starting point located at a fixed position of the model of the second virtual object, a second information presentation starting point of variable position, the position of the second information presentation starting point being determined by the geometry of the boundary of the display area.
  14. 14. An information display device in a game, characterized in that a graphical user interface is provided through a terminal device, at least part of a game scene is displayed on the graphical user interface, the game scene comprises a first virtual object and a second virtual object which are controlled by the terminal device, and the information display device comprises: a movement control module for controlling the first virtual object to move in the game scene in response to a movement control instruction for the first virtual object; A prompt area determining module, configured to provide an information prompt area at the second virtual object based on a display area of the second virtual object in the graphical user interface in response to a specified interaction behavior occurring between the first virtual object and the second virtual object, where an area size of the information prompt area changes with a change in the display area, and the specified interaction behavior includes a game behavior that adjusts a preset attribute parameter of the second virtual object; and the prompt information display module is used for providing prompt information for indicating the preset attribute parameters of the second virtual object in the information prompt area.
  15. 15. An electronic device comprising a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is in operation, the processor executing the machine-readable instructions to perform the steps of the method of displaying information in a game as claimed in any one of claims 1 to 13.
  16. 16. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, performs the steps of the method for displaying information in a game according to any one of claims 1 to 13.

Description

Information display method and device in game, electronic equipment and storage medium Technical Field The present application relates to the field of man-machine interaction technologies, and in particular, to a method and apparatus for displaying information in a game, an electronic device, and a storage medium. Background With the development of the internet, different types of electronic games are emerging to meet the daily entertainment needs of users. In electronic games, information cues are often provided to users in the form of jumpers. The skip word refers to a prompt text generated from other virtual object models when a virtual object controlled by a user initiates an attack or auxiliary action event to other virtual objects in the game process. Currently, in-game information display is usually performed in a fixed display area, and jumps out in a fixed direction set in advance. However, the information display mode is difficult to be applied to the changeable game scene and the form change of the model, for example, when the color of the game background is similar to that of the prompting text, the problem of low recognition degree of information prompting is caused, and the man-machine interaction efficiency is affected. Disclosure of Invention Accordingly, the present application is directed to a method, an apparatus, an electronic device, and a storage medium for displaying information in a game, which solve the problems of low information recognition and reduced man-machine interaction efficiency. In a first aspect, an embodiment of the present application provides a method for displaying information in a game, where a graphical user interface is provided by a terminal device, where at least a part of a game scene is displayed on the graphical user interface, where the game scene includes a first virtual object and a second virtual object controlled by the terminal device, and the method includes: Controlling the first virtual object to move in the game scene in response to a movement control instruction for the first virtual object; responding to the appointed interaction behavior between the first virtual object and the second virtual object, providing an information prompt area at the second virtual object based on the display area of the second virtual object in the graphical user interface, wherein the area size of the information prompt area changes along with the change of the display area, and the appointed interaction behavior comprises a game behavior for adjusting preset attribute parameters of the second virtual object; And providing prompt information for indicating preset attribute parameters of the second virtual object in the information prompt area. In a second aspect, an embodiment of the present application further provides an information display apparatus in a game, where a graphical user interface is provided by a terminal device, and at least a part of a game scene is displayed on the graphical user interface, where the game scene includes a first virtual object and a second virtual object controlled by the terminal device, and the apparatus includes: The mobile control module is used for responding to a mobile control instruction aiming at the first virtual object and controlling the first virtual object to move in the game scene; The prompt area determining module is used for responding to the appointed interaction behavior between the first virtual object and the second virtual object, providing an information prompt area at the second virtual object based on the display area of the second virtual object in the graphical user interface, wherein the area size of the information prompt area changes along with the change of the display area, and the appointed interaction behavior comprises game behavior for adjusting preset attribute parameters of the second virtual object; The prompt information display module is used for providing prompt information for indicating preset attribute parameters of the second virtual object in the information prompt area. In a third aspect, embodiments of the present application also provide an electronic device comprising a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is in operation, the machine-readable instructions when executed by the processor performing the steps of the method for displaying information in a game as described above. In a fourth aspect, embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the information display method in a game as described above. The embodiment of the application has the following beneficial effects: According to the information display method, the device, the electronic equipment and the storage medium in the game, th