Method and device for displaying information in game and electronic equipment

By displaying sound prompt signs in the game, the problem of inaccurate sound source positioning in the existing technology is solved based on the orientation information and attribute information of the sound source, and the player's gaming experience is improved.

CN119524408APending Publication Date: 2025-02-28NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411587092.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The prior art cannot provide accurate sound source positioning information and auxiliary information, affecting the player's gaming experience.

Method used

By displaying sound prompt signs around the controlled virtual object, accurately reflecting the game event type corresponding to the sound source, etc., based on the direction information and attribute information of the sound source, players can more easily perceive the sound information.

Benefits of technology

It realizes accurate positioning of the sound source orientation and attributes, helps players better obtain sound information in the game, and enhances players' gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119524408A_ABST
    Figure CN119524408A_ABST
Patent Text Reader

Abstract

The invention provides an information display method and device in a game and electronic equipment, if the distance between a controlled virtual object and a target sound source in a game scene meets a preset condition, azimuth information and attribute information of the target sound source are determined, and the attribute information comprises at least one of the following information: a game event type corresponding to the sound source, and a game event type corresponding to the target sound source. The distance between the target sound source and the controlled virtual object is determined; determining a target orientation of the target sound source relative to the controlled virtual object based on the orientation information, and displaying a sound prompt identifier of the target sound source on the target orientation of the controlled virtual object based on the attribute information; and in response to the change of the position of the target sound source, updating the display mode of the sound prompt identifier of the target sound source. According to the method, the orientation information and the attribute information of the target sound source in the game scene are indicated through the sound prompt identifier, so that a player can accurately position the orientation and the attribute of the target sound source, the player can be helped to better acquire the sound information in the game, and the game experience of the player is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of game interaction design, and in particular to a method, device and electronic equipment for displaying information in a game. Background Art

[0002] In order to visualize the sounds of footsteps, vehicle sounds, gunshots, etc. in the game, in the related art, sound markers are displayed around the game characters in the game scene to indicate the sound channels near the game characters. However, the sound markers can only indicate the presence of sounds near the game characters, but cannot provide more accurate positioning information and auxiliary information, thus affecting the player's gaming experience. Summary of the invention

[0003] The purpose of the present invention is to provide a method, device and electronic device for displaying information in a game, so as to accurately reflect the type of game event corresponding to the sound source through sound prompts around a controlled virtual character, so that players can more easily perceive the sound information, thereby improving the player's gaming experience.

[0004] In a first aspect, the present invention provides a method for displaying information in a game, the method comprising: providing a graphical user interface through a terminal device, wherein a portion of a game scene is displayed in the graphical user interface, and the game scene includes a controlled virtual object controlled by the terminal device; in response to the distance between the controlled virtual object and a target sound source in the game scene satisfying a preset condition, determining the orientation information and attribute information of the target sound source; wherein the attribute information includes at least one of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object; determining the target orientation of the target sound source relative to the controlled virtual object based on the orientation information, and displaying a sound prompt mark of the target sound source at the target orientation of the controlled virtual object based on the attribute information; in response to a change in the position of the target sound source, updating the display method of the sound prompt mark of the target sound source.

[0005] In a second aspect, the present invention provides an information display device in a game, the device comprising: an interface display module, used to provide a graphical user interface through a terminal device, wherein a portion of a game scene is displayed in the graphical user interface, and the game scene includes a controlled virtual object controlled by the terminal device; an information determination module, used to determine the orientation information and attribute information of the target sound source in response to the distance between the controlled virtual object and the target sound source in the game scene satisfying a preset condition; wherein the attribute information includes at least one of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object; an identification display module, used to determine the target orientation of the target sound source relative to the controlled virtual object based on the orientation information, and display a sound prompt identification of the target sound source at the target orientation of the controlled virtual object based on the attribute information; an identification update module, used to update the display method of the sound prompt identification of the target sound source in response to a change in the position of the target sound source.

[0006] In a third aspect, the present invention provides an electronic device, which includes 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 information display method in the above-mentioned game.

[0007] In a fourth aspect, the present invention provides a computer-readable storage medium storing 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 information display method in the above-mentioned game.

[0008] The embodiments of the present invention bring the following beneficial effects:

[0009] The present invention provides a method, device and electronic device for displaying information in a game. First, a graphical user interface is provided through a terminal device. The graphical user interface displays part of the game scene, and the game scene includes a controlled virtual object controlled by the terminal device; then, in response to the distance between the controlled virtual object and the target sound source in the game scene meeting a preset condition, the position information and attribute information of the target sound source are determined; wherein the attribute information includes at least one of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object; then, based on the position information, the target position of the target sound source relative to the controlled virtual object is determined, and based on the attribute information, a sound prompt mark of the target sound source is displayed on the target position of the controlled virtual object; then, in response to the change in the position of the target sound source, the display mode of the sound prompt mark of the target sound source is updated. This method can indicate the position information and attribute information of the target sound source in the game scene through the sound prompt mark, so that the player can accurately locate the position and attribute of the target sound source, and can also help the player better obtain the sound information in the game, and enhance the player's game experience.

[0010] 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.

[0011] 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 cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] 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.

[0013] Figure 1 A schematic diagram of displaying a sound symbol provided by an embodiment of the present invention;

[0014] Figure 2 A flowchart of a method for displaying information in a game provided by an embodiment of the present invention;

[0015] Figure 3 A schematic diagram of displaying a mark display area corresponding to multiple directions provided by an embodiment of the present invention;

[0016] Figure 4 A schematic diagram of displaying a sound prompt mark provided by an embodiment of the present invention;

[0017] Figure 5 A schematic diagram of the structure of an information display device in a game provided by an embodiment of the present invention;

[0018] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] 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.

[0020] 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.

[0021] In the related art, two methods are provided to visualize the sounds such as footsteps, vehicle sounds, and gunshots in the game:

[0022] Method 1: Display a symbol representing the sound around the game character, but the symbol cannot show the distance of the sound from the game character.

[0023] Method 2: Display symbols representing sounds on the soles of the game character's feet, such as Figure 1 FIG. 1 is a schematic diagram showing a display of a sound symbol provided by an embodiment of the present invention. Figure 1 The character model in the figure is a game character. The arc-shaped gray area under the feet of the game character represents a sound signal. The player can only know that there is a sound source near the current game character through the sound symbol, and cannot know other information. In other words, the sound symbol is not vivid enough to refer to the sound, and the expression of the game event type corresponding to the sound source is insufficient, and it is also unable to show how far the sound is from the game character.

[0024] Based on the above problems, the embodiments of the present invention provide a method, device and electronic device for displaying information in a game. The technology can be applied to the visualization display scenes of footsteps, fighting sounds and quiet footsteps in the game.

[0025] In one embodiment of the present disclosure, the information display method in the game can be run on a local terminal device or a server. When the information display method in the game is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0026] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game method based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the information display method in the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, returns it to the client device through the network, and finally decodes and outputs the game screen through the client device.

[0027] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0028] In a possible implementation, the embodiment of the present invention provides a method for displaying information in a game, such as Figure 2 As shown, the method comprises the following specific steps:

[0029] Step S202: providing a graphical user interface through the terminal device, wherein a portion of a game scene is displayed in the graphical user interface, and the game scene includes a controlled virtual object controlled by the terminal device.

[0030] In a specific implementation, the terminal device may be the local terminal device mentioned above, or may be the client device in the cloud interaction system mentioned above. For example, the terminal device may be a mobile phone, a tablet computer, a personal computer, a game console or a game console, etc. The terminal device displays the graphical user interface corresponding to the target game by running the game program corresponding to the target game. The target game may be a mobile game, a terminal game or a console game, etc. The graphical user interface displays at least part of the game scene, and the game scene includes a controlled virtual object controlled by the terminal device. The controlled virtual object may be a game character in the game scene, or a virtual vehicle in the game scene, etc., which may be determined according to the game rules.

[0031] Step S204, in response to the distance between the controlled virtual object and the target sound source in the game scene satisfying a preset condition, determine the orientation information and attribute information of the target sound source; wherein the attribute information includes at least one of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object.

[0032] In a specific implementation, the above-mentioned azimuth information of the target sound source is the position of the target object emitting the sound in the game scene. The above-mentioned preset conditions can be determined according to research and development needs. For example, the preset condition can be that the distance between the controlled virtual object and the target sound source is less than or equal to a preset distance threshold. The specific distance value corresponding to the preset distance threshold can be determined according to research and development needs; the preset condition can also be that the distance between the controlled virtual object and the target sound source is within a certain distance range.

[0033] When the distance between the controlled virtual object and the target sound source meets the preset conditions, the system will determine the orientation information and attribute information of the target sound source. The orientation information can be the world coordinate position of the target sound source in the game scene; the attribute information of the target sound source can include one or more of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object. The type of game event corresponding to the above sound source can be a game event type that produces sounds such as footsteps, gunshots, door opening sounds, fighting sounds, quiet steps, or engine sounds, which can be specifically determined according to the target object that emits the sound. Among them, the target object that emits the target sound source can be a game character, a virtual gun, a virtual vehicle, or a virtual door or window, etc.

[0034] Specifically, the distance between the target sound source and the controlled virtual object may affect the volume of the target sound source. Generally, the closer the distance between the target sound source and the controlled virtual object, the louder the volume of the target sound source.

[0035] Step S206: determining the target position of the target sound source relative to the controlled virtual object based on the position information, and displaying a sound prompt mark of the target sound source at the target position of the controlled virtual object based on the attribute information.

[0036] In a specific implementation, the target position of the target sound source relative to the controlled virtual object can be determined according to the position information of the target sound source, that is, the direction of the controlled virtual object where the target sound source is located. For example, the target sound source can be above, below, on the left, on the right, on the upper right, on the lower right, on the upper left, and on the lower left of the controlled virtual object. Then, based on the attribute information of the target sound source, a sound prompt mark of the target sound source is displayed at the target position near the controlled virtual object in the graphical user interface. The sound prompt mark is used to indicate the attribute information of the target sound source, so that the player can clearly understand the position of the sound appearing in the game, the type of game event corresponding to the sound source, and the distance from the controlled virtual object, etc., which helps the player to make strategic deployments and defensive attacks.

[0037] The logo style of the above-mentioned sound prompt logo can be determined according to research and development needs. For example, the sound prompt logo can adopt a waveform style or other graphic styles; among which, the waveform can reflect the ups and downs effect of a bar graph or a waveform ups and downs effect, etc.

[0038] Step S208: in response to the change in the position of the target sound source, updating the display mode of the sound prompt mark of the target sound source.

[0039] When the position of the target sound source changes, the orientation information or attribute information of the target sound source may change, and the display mode of the sound prompt mark of the natural target sound source will also change in real time, so that the sound prompt mark displayed near the controlled virtual object can accurately indicate the orientation information and attribute information of the target sound source. Among them, the display mode of the sound prompt mark includes but is not limited to: the display position, display size, display color and display transparency of the sound prompt mark.

[0040] The information display method in the above-mentioned game can indicate the direction information and attribute information of the target sound source in the game scene through sound prompt indicators, so that players can accurately locate the direction and attributes of the target sound source, and can also help players better identify the sound information in the game and enhance the player's gaming experience.

[0041] The following embodiments are used to describe the display method of the sound prompt mark.

[0042] Specifically, under the premise that the distance between the target sound source and the controlled virtual object meets the preset conditions, when the position of the target sound source changes, the specific process of updating the display mode of the sound prompt mark of the target sound source may include: adjusting the display style of the sound prompt mark of the target sound source according to the distance between the target sound source and the controlled virtual object, and / or adjusting the display position of the sound prompt mark of the target sound source according to the orientation of the target sound source relative to the controlled virtual object. Among them, the display style may include but is not limited to display size, display color and display transparency. Specifically, the distance between the target sound source and the controlled virtual object will affect the display style of the sound prompt mark of the target sound source, and different distances are pre-configured with corresponding sound mark display styles; at the same time, the orientation of the target sound source relative to the controlled virtual object will affect the display position of the sound prompt mark of the target sound source relative to the controlled virtual object. Among them, the orientation of the target sound source relative to the controlled virtual object matches the display position of the sound prompt mark of the target sound source relative to the controlled virtual object.

[0043] In a specific embodiment, the specific process of adjusting the display style of the sound prompt logo of the target sound source according to the distance between the target sound source and the controlled virtual object may include: adjusting the display size and / or display transparency of the sound prompt logo of the target sound source according to the distance between the target sound source and the controlled virtual object; wherein, the closer the distance between the target sound source and the controlled virtual object, the larger the display size of the sound prompt logo, and the lower the display transparency of the sound prompt logo. This method can control the display visibility of the sound prompt logo of the target sound source to be higher and higher when the target sound source gradually approaches the controlled virtual object, thereby effectively prompting the player with sound information, which helps the player to make strategic deployment based on the sound prompt logo.

[0044] For example, when the distance between the target sound source and the controlled virtual object is far, the display size of the sound prompt logo of the target sound source is smaller; when the distance between the target sound source and the controlled virtual object is closer, the display size of the sound prompt logo of the target sound source is larger; when the distance between the target sound source and the controlled virtual object is far, the display transparency of the sound prompt logo of the target sound source is 90%; when the distance between the target sound source and the controlled virtual object is closer, the display transparency of the sound prompt logo of the target sound source is 40%.

[0045] In another optional embodiment, the area around the controlled virtual object is pre-divided into multiple identification display areas corresponding to the directions; wherein the identification display areas corresponding to the multiple directions are respectively used to display the sound prompt signs of the corresponding directions, that is, the sound prompt signs can appear or hide in the identification display areas corresponding to the multiple directions. For example, the circular direction around the controlled virtual object can be divided into 8 identification display areas corresponding to the directions, wherein the 8 directions include the top, bottom, left, right, upper left, lower left, upper right and lower right of the controlled virtual object (for the convenience of description, the concepts of up, down, left and right here refer to the positions relative to the controlled virtual object presented in the graphical user interface, which will not be repeated below). Figure 3 FIG. 1 is a schematic diagram showing a display area corresponding to multiple directions provided by an embodiment of the present invention. Figure 3 In the example, the ring around the controlled virtual object is divided into 8 directions with the controlled virtual object as the center. The interface area to which each direction belongs is the identification display area of ​​the corresponding direction. Figure 3 The waveform mark (also known as the bar graph fluctuation effect mark) displayed at each position in the image is also a schematic diagram of the sound prompt mark.

[0046] In an optional embodiment, the sound prompt logo is a dynamic effect waveform logo; wherein the fluctuation amplitude of the dynamic effect waveform logo matches the display size of the sound prompt logo, that is, the closer the distance between the target sound source and the controlled virtual object, the greater the fluctuation amplitude of the dynamic effect waveform logo; the fluctuation direction of the dynamic effect waveform logo matches the orientation corresponding to the logo display area where the dynamic effect waveform logo is located.

[0047] For example, Figure 3 The sound prompt logo shown is a dynamic waveform logo. Figure 3 In the example, when the target sound source comes from above the controlled virtual object, the dynamic effect waveform logo fluctuates upward; when the target sound source comes from below the controlled virtual object, the dynamic effect waveform logo fluctuates downward; when the target sound source comes from the right of the controlled virtual object, the dynamic effect waveform logo fluctuates to the right; when the target sound source comes from the left of the controlled virtual object, the dynamic effect waveform logo fluctuates to the left; when the target sound source comes from the upper right of the controlled virtual object, the dynamic effect waveform logo fluctuates to the upper right; when the target sound source comes from the upper left of the controlled virtual object, the dynamic effect waveform logo fluctuates to the upper left; when the target sound source comes from the lower left of the controlled virtual object, the dynamic effect waveform logo fluctuates to the lower left; when the target sound source comes from the lower right of the controlled virtual object, the dynamic effect waveform logo fluctuates to the lower right. This method can not only prompt the direction of the target sound source by the display position of the sound prompt logo, but also determine the direction of the target sound source by the fluctuation direction of the sound prompt logo.

[0048] In an optional embodiment, the dynamic effect waveform marker includes three stages of performance. The first stage is the appearance of the dynamic effect. When the dynamic effect appears, a large fluctuation amplitude indicates that the target object emitting the target sound source is closer to the controlled virtual object. When the dynamic effect appears, a small fluctuation amplitude indicates that the target object emitting the target sound source is farther away from the controlled virtual object. The second stage is the stable period, that is, the fluctuation amplitude of the dynamic effect fluctuation marker of the target sound source is relatively gentle; the third stage is the disappearance stage, that is, the target sound source gradually disappears, and the fluctuation amplitude of the dynamic effect fluctuation marker of the target sound source is relatively small.

[0049] In specific implementation, different game event types correspond to different sound prompts. In specific implementation, game event types corresponding to multiple sound sources are pre-set according to the game rules, and the display mode corresponding to the game event type corresponding to each sound source is also pre-configured.

[0050] For example, the sounds corresponding to different game event types may include fighting sounds, footsteps, quiet footsteps and vehicle sounds; among them, the fluctuation amplitude of the sound prompt identifier corresponding to the fighting sounds is larger, and the display color of the sound prompt identifier corresponding to the fighting sounds is red; the fluctuation amplitude of the sound prompt identifier corresponding to the footsteps sounds is relatively gentle, and the display color of the sound prompt identifier corresponding to the footsteps sounds is white; the fluctuation amplitude of the sound prompt identifier corresponding to the quiet footsteps sounds is relatively gentle, and the display color of the sound prompt identifier corresponding to the fighting sounds is orange; the fluctuation amplitude of the sound prompt identifier corresponding to the vehicle sounds is relatively gentle, and the display color of the sound prompt identifier corresponding to the vehicle sounds is green.

[0051] like Figure 4 FIG. 1 is a schematic diagram showing a display of a sound prompt mark provided by an embodiment of the present invention. Figure 4 The character model displayed in the figure is a controlled virtual object, and the marker of the bar graph fluctuation effect around the controlled virtual object is a sound prompt marker. The display color of the sound prompt marker is different, and the target sound source corresponding to the sound prompt marker of different colors has different game event types.

[0052] In the above method, the sound prompt mark can make the player more clearly perceive the game event type corresponding to the target sound source, and also make the player perceive the direction and distance information of the target sound source. At the same time, the sound direction is simplified to a fixed 8 directions to simplify the player's perception.

[0053] The following embodiment is used to describe the distinction when the sounds come from the same direction.

[0054] Specifically, in response to the existence of a first sound source and a second sound source at a first position of the controlled virtual object, and the controlled virtual object respectively satisfies preset conditions with the first sound source and the second sound source, a sound prompt mark corresponding to the first sound source is controlled to be displayed in a first position at the first position of the controlled virtual object, and a sound prompt mark corresponding to the second sound source is controlled to be displayed in a second position at the first position of the controlled virtual object; wherein the first position and the second position are different.

[0055] In a specific implementation, the above-mentioned first orientation can be any orientation around the controlled virtual object. The above-mentioned first sound source and the second sound source are different sounds, and the first sound source and the second sound source can be sounds emitted by virtual objects belonging to the same game camp as the controlled virtual object, or sounds emitted by virtual objects that do not belong to the same game camp as the controlled virtual object. If there are multiple sounds on the first orientation of the controlled virtual object, and the distances between the controlled virtual object and these sounds respectively meet the preset conditions, the display position of the sound prompt logo corresponding to each sound on the first orientation of the controlled virtual object will be determined according to the distance between these sounds and the controlled virtual object and the type of object emitting the sound, so that the player can distinguish different sounds in the same direction by the display position. Usually, the distance between the sound and the controlled virtual object matches the distance between the display position of the corresponding sound prompt logo and the controlled virtual object.

[0056] Furthermore, in response to the target sound source stopping playing or the distance between the controlled virtual object and the target sound source not satisfying the preset condition, the sound prompt mark corresponding to the target sound source is cancelled. That is, in this way, when the target sound source disappears or the distance between the controlled virtual object and the target sound source exceeds the preset distance threshold, the sound prompt mark corresponding to the target sound source displayed in the graphical user interface can be cancelled, thereby saving display space and improving the accuracy and practicality of the sound prompt mark display.

[0057] In an optional embodiment, in response to the distance between the controlled virtual object and the target sound source satisfying a preset condition, the number of enemy objects corresponding to the target sound source is determined; based on the number of objects, the number of times the sound prompt logo corresponding to the target sound source is displayed in the graphical user interface is adjusted. Based on this, the method can indicate the number of enemy objects in the same direction by the number of times the sound prompt logo is displayed, that is, the number of times the sound prompt logo is displayed (appears and disappears) is used to determine the number of enemy objects.

[0058] Specifically, the sound prompt mark is displayed one by one, and the next one is displayed in sequence after one is played. Since the number of objects in a game is limited, for example, there are a maximum of 10 virtual objects in the game object, and the sound prompt mark will be played 9 times in the next position at the maximum limit.

[0059] The above method can make the target sound source easier for players to perceive in the game screen (including 2.5D games, 3D games, etc.), and at the same time, can accurately display the number, distance and type of objects emitted by the target sound source in the same direction or different directions.

[0060] Corresponding to the above method embodiment, the embodiment of the present invention also provides an information display device in a game, such as Figure 5 As shown, the device comprises:

[0061] The interface display module 50 is used to provide a graphical user interface through the terminal device, in which a part of the game scene is displayed, and the game scene includes a controlled virtual object controlled by the terminal device.

[0062] The information determination module 51 is used to determine the orientation information and attribute information of the target sound source in response to the distance between the controlled virtual object and the target sound source in the game scene meeting a preset condition; wherein the attribute information includes at least one of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object.

[0063] The identification display module 52 is used to determine the target orientation of the target sound source relative to the controlled virtual object based on the orientation information, and to display the sound prompt identification of the target sound source at the target orientation of the controlled virtual object based on the attribute information.

[0064] The identification updating module 53 is used to update the display mode of the sound prompt identification of the target sound source in response to the change of the position of the target sound source.

[0065] The information display device in the above-mentioned game can indicate the direction information and attribute information of the target sound source in the game scene through sound prompt marks, so that players can accurately locate the direction and attributes of the target sound source, and can also help players better obtain the sounds in the game and enhance the player's gaming experience.

[0066] Specifically, the above-mentioned preset conditions include: the distance between the controlled virtual object and the target sound source is less than or equal to a preset distance threshold.

[0067] In specific implementation, the sound prompt icons corresponding to different game event types are displayed in different ways.

[0068] Furthermore, the above-mentioned identification updating module 53 is used to: adjust the display style of the sound prompt identification of the target sound source according to the distance between the target sound source and the controlled virtual object, and / or adjust the display position of the sound prompt identification of the target sound source according to the orientation of the target sound source relative to the controlled virtual object.

[0069] Furthermore, the above-mentioned identification update module 53 is also used to: adjust the display size and / or display transparency of the sound prompt identification of the target sound source according to the distance between the target sound source and the controlled virtual object; wherein, the closer the distance between the target sound source and the controlled virtual object, the larger the display size of the sound prompt identification, and the lower the display transparency of the sound prompt identification.

[0070] Furthermore, the surroundings of the above-mentioned controlled virtual object are pre-divided into identification display areas corresponding to multiple directions; wherein the identification display areas corresponding to the multiple directions are respectively used to display the sound prompt identifications of the corresponding directions.

[0071] Furthermore, the above-mentioned sound prompt logo is a dynamic waveform logo; wherein the fluctuation amplitude of the dynamic waveform logo matches the display size of the sound prompt logo.

[0072] Furthermore, the above-mentioned device also includes a position adjustment module, which is used to: in response to the existence of a first sound source and a second sound source at the first position of the controlled virtual object, and the controlled virtual object respectively satisfies preset conditions with the first sound source and the second sound source, control the sound prompt logo corresponding to the first sound source to be displayed in a first position at the first position of the controlled virtual object, and control the sound prompt logo corresponding to the second sound source to be displayed in a second position at the first position of the controlled virtual object; wherein the first position and the second position are different.

[0073] Furthermore, the above-mentioned device also includes an identification cancellation display module, which is used to: in response to the target sound source stopping playing or the distance between the controlled virtual object and the target sound source not meeting a preset condition, cancel the display of the sound prompt identification corresponding to the target sound source.

[0074] Furthermore, the above-mentioned device also includes a display count determination module, which is used to: in response to the distance between the controlled virtual object and the target sound source satisfying a preset condition, determine the number of enemy objects emitting the target sound source; based on the number of objects, adjust the display count of the sound prompt icon corresponding to the target sound source in the graphical user interface.

[0075] The information display 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.

[0076] The embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, the electronic device includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the information display method in the above game.

[0077] Specifically, the information display method in the above-mentioned game includes: providing a graphical user interface through a terminal device, in which a part of the game scene is displayed, and the game scene includes a controlled virtual object controlled by the terminal device; in response to the distance between the controlled virtual object and the target sound source in the game scene satisfying a preset condition, determining the orientation information and attribute information of the target sound source; wherein the attribute information includes at least one of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object; determining the target orientation of the target sound source relative to the controlled virtual object based on the orientation information, and displaying the sound prompt mark of the target sound source at the target orientation of the controlled virtual object based on the attribute information; in response to the position of the target sound source changing, updating the display method of the sound prompt mark of the target sound source.

[0078] The information display method in the above-mentioned game can indicate the direction information and attribute information of the target sound source in the game scene through sound prompt indicators, so that players can accurately locate the direction and attributes of the target sound source, and can also help players better obtain sound information in the game and enhance the player's gaming experience.

[0079] In an optional embodiment, the above-mentioned preset condition includes: the distance between the controlled virtual object and the target sound source is less than or equal to a preset distance threshold.

[0080] In an optional embodiment, the sound prompt identifiers corresponding to different game event types are displayed in different ways.

[0081] In an optional embodiment, the above-mentioned updating of the display method of the sound prompt logo of the target sound source includes: adjusting the display style of the sound prompt logo of the target sound source according to the distance between the target sound source and the controlled virtual object, and / or adjusting the display position of the sound prompt logo of the target sound source according to the orientation of the target sound source relative to the controlled virtual object.

[0082] In an optional embodiment, the above-mentioned adjusting the display style of the sound prompt logo of the target sound source according to the distance between the target sound source and the controlled virtual object includes: adjusting the display size and / or display transparency of the sound prompt logo of the target sound source according to the distance between the target sound source and the controlled virtual object; wherein, the closer the distance between the target sound source and the controlled virtual object, the larger the display size of the sound prompt logo, and the lower the display transparency of the sound prompt logo.

[0083] In an optional embodiment, the area surrounding the controlled virtual object is pre-divided into multiple identification display areas corresponding to different directions; wherein the identification display areas corresponding to different directions are respectively used to display sound prompt identifications of the corresponding directions.

[0084] In an optional embodiment, the sound prompt logo is a dynamic waveform logo; wherein the fluctuation amplitude of the dynamic waveform logo matches the display size of the sound prompt logo.

[0085] In an optional embodiment, the above method also includes: in response to the existence of a first sound source and a second sound source at the first orientation of the controlled virtual object, and the controlled virtual object satisfies preset conditions with the first sound source and the second sound source respectively, controlling the sound prompt logo corresponding to the first sound source to be displayed in a first position at the first orientation of the controlled virtual object, and controlling the sound prompt logo corresponding to the second sound source to be displayed in a second position at the first orientation of the controlled virtual object; wherein the first position and the second position are different.

[0086] In an optional embodiment, the method further includes: in response to the target sound source stopping playing or the distance between the controlled virtual object and the target sound source not satisfying a preset condition, canceling the display of the sound prompt mark corresponding to the target sound source.

[0087] In an optional embodiment, the above method also includes: in response to the distance between the controlled virtual object and the target sound source satisfying a preset condition, determining the number of enemy objects emitting the target sound source; based on the number of objects, adjusting the number of times the sound prompt icon corresponding to the target sound source is displayed in the graphical user interface.

[0088] Further, Figure 6 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 .

[0089] The memory 100 may include a high-speed random access memory (RAM), and may also include a 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, Figure 6 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.

[0090] 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 in the processor 101 or the instruction in the form of software. 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-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments 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.

[0091] 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 information display method in the above-mentioned game. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0092] Specifically, the information display method in the above-mentioned game includes: providing a graphical user interface through a terminal device, in which a part of the game scene is displayed, and the game scene includes a controlled virtual object controlled by the terminal device; in response to the distance between the controlled virtual object and the target sound source in the game scene satisfying a preset condition, determining the orientation information and attribute information of the target sound source; wherein the attribute information includes at least one of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object; determining the target orientation of the target sound source relative to the controlled virtual object based on the orientation information, and displaying the sound prompt mark of the target sound source at the target orientation of the controlled virtual object based on the attribute information; in response to the position of the target sound source changing, updating the display method of the sound prompt mark of the target sound source.

[0093] The information display method in the above-mentioned game can indicate the direction information and attribute information of the target sound source in the game scene through sound prompt indicators, so that players can accurately locate the direction and attributes of the target sound source, and can also help players better obtain sound information in the game and enhance the player's gaming experience.

[0094] In an optional embodiment, the above-mentioned preset condition includes: the distance between the controlled virtual object and the target sound source is less than or equal to a preset distance threshold.

[0095] In an optional embodiment, the sound prompt identifiers corresponding to different game event types are displayed in different ways.

[0096] In an optional embodiment, the above-mentioned updating of the display method of the sound prompt logo of the target sound source includes: adjusting the display style of the sound prompt logo of the target sound source according to the distance between the target sound source and the controlled virtual object, and / or adjusting the display position of the sound prompt logo of the target sound source according to the orientation of the target sound source relative to the controlled virtual object.

[0097] In an optional embodiment, the above-mentioned adjusting the display style of the sound prompt logo of the target sound source according to the distance between the target sound source and the controlled virtual object includes: adjusting the display size and / or display transparency of the sound prompt logo of the target sound source according to the distance between the target sound source and the controlled virtual object; wherein, the closer the distance between the target sound source and the controlled virtual object, the larger the display size of the sound prompt logo, and the lower the display transparency of the sound prompt logo.

[0098] In an optional embodiment, the area surrounding the controlled virtual object is pre-divided into multiple identification display areas corresponding to different directions; wherein the identification display areas corresponding to different directions are respectively used to display sound prompt identifications of the corresponding directions.

[0099] In an optional embodiment, the sound prompt logo is a dynamic waveform logo; wherein the fluctuation amplitude of the dynamic waveform logo matches the display size of the sound prompt logo.

[0100] In an optional embodiment, the above method also includes: in response to the existence of a first sound source and a second sound source at the first orientation of the controlled virtual object, and the controlled virtual object satisfies preset conditions with the first sound source and the second sound source respectively, controlling the sound prompt logo corresponding to the first sound source to be displayed in a first position at the first orientation of the controlled virtual object, and controlling the sound prompt logo corresponding to the second sound source to be displayed in a second position at the first orientation of the controlled virtual object; wherein the first position and the second position are different.

[0101] In an optional embodiment, the method further includes: in response to the target sound source stopping playing or the distance between the controlled virtual object and the target sound source not satisfying a preset condition, canceling the display of the sound prompt mark corresponding to the target sound source.

[0102] In an optional embodiment, the above method also includes: in response to the distance between the controlled virtual object and the target sound source satisfying a preset condition, determining the number of enemy objects emitting the target sound source; based on the number of objects, adjusting the number of times the sound prompt icon corresponding to the target sound source is displayed in the graphical user interface.

[0103] 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, 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. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a terminal device, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0104] 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.

[0105] 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 method for displaying information in a game, characterized in that: The method comprises: Providing a graphical user interface through a terminal device, wherein the graphical user interface displays a portion of a game scene, and the game scene includes a controlled virtual object controlled by the terminal device; In response to the distance between the controlled virtual object and the target sound source in the game scene satisfying a preset condition, determining the orientation information and attribute information of the target sound source; wherein the attribute information includes at least one of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object; Determining a target position of the target sound source relative to the controlled virtual object based on the position information, and displaying a sound prompt mark of the target sound source at the target position of the controlled virtual object based on the attribute information; In response to a change in the position of the target sound source, a display mode of the sound prompt mark of the target sound source is updated.

2. The method according to claim 1, characterized in that The preset condition includes: the distance between the controlled virtual object and the target sound source is less than or equal to a preset distance threshold.

3. The method according to claim 1, characterized in that The sound prompt icons corresponding to different game event types are displayed differently.

4. The method according to claim 1, characterized in that: The updating of the display mode of the sound prompt mark of the target sound source includes: According to the distance between the target sound source and the controlled virtual object, the display style of the sound prompt logo of the target sound source is adjusted, and / or, according to the orientation of the target sound source relative to the controlled virtual object, the display position of the sound prompt logo of the target sound source is adjusted.

5. The method according to claim 4, characterized in that The adjusting the display style of the sound prompt mark of the target sound source according to the distance between the target sound source and the controlled virtual object includes: According to the distance between the target sound source and the controlled virtual object, the display size and / or display transparency of the sound prompt logo of the target sound source is adjusted; wherein, the closer the distance between the target sound source and the controlled virtual object, the larger the display size of the sound prompt logo, and the lower the display transparency of the sound prompt logo.

6. The method according to claim 4, characterized in that The area around the controlled virtual object is pre-divided into multiple identification display areas corresponding to the directions; wherein the identification display areas corresponding to the multiple directions are respectively used to display the sound prompt identifications of the corresponding directions.

7. The method according to claim 5, characterized in that The sound prompt mark is a dynamic waveform mark; wherein the fluctuation amplitude of the dynamic waveform mark matches the display size of the sound prompt mark.

8. The method according to claim 6, characterized in that The method further comprises: In response to the existence of a first sound source and a second sound source at the first orientation of the controlled virtual object, and the controlled virtual object respectively satisfies the preset conditions with the first sound source and the second sound source, control is performed to display a sound prompt mark corresponding to the first sound source at a first position at the first orientation of the controlled virtual object, and control is performed to display a sound prompt mark corresponding to the second sound source at a second position at the first orientation of the controlled virtual object; wherein the first position and the second position are different.

9. The method according to claim 1, characterized in that: The method further comprises: In response to the target sound source stopping playing or the distance between the controlled virtual object and the target sound source not satisfying a preset condition, the sound prompt mark corresponding to the target sound source is canceled.

10. The method according to claim 1, characterized in that The method further comprises: In response to the distance between the controlled virtual object and the target sound source satisfying a preset condition, determining the number of objects of the enemy objects emitting the target sound source; Based on the number of objects, the number of times the sound prompt icon corresponding to the target sound source is displayed in the graphical user interface is adjusted.

11. An information display device in a game, characterized in that: The device comprises: An interface display module, used to provide a graphical user interface through a terminal device, wherein the graphical user interface displays a portion of a game scene, wherein the game scene includes a controlled virtual object controlled by the terminal device; An information determination module, configured to determine the position information and attribute information of the target sound source in response to the distance between the controlled virtual object and the target sound source in the game scene satisfying a preset condition; wherein the attribute information includes at least one of the following information: the type of game event corresponding to the sound source, and the distance between the target sound source and the controlled virtual object; an identification display module, configured to determine a target orientation of the target sound source relative to the controlled virtual object based on the orientation information, and to display a sound prompt identification of the target sound source at the target orientation of the controlled virtual object based on the attribute information; The identification updating module is used to update the display mode of the sound prompt identification of the target sound source in response to the change of the position of the target sound source.

12. An electronic device, characterized in that: The electronic device includes 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 information display method in the game according to any one of claims 1 to 10.

13. 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 information display method in a game according to any one of claims 1 to 10.