Information processing method, device, equipment and storage medium
By detecting the intersection of the sound diffusion range and the acquisition range of the virtual object of the game, and outputting prompt information, the problem of the audience not being able to know the sounds of other teams is heard, improving the game experience and participation.
Patent Information
- Application Number
- CN202211194174.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-28
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-09-28
AI Technical Summary
During game broadcast or event broadcast, the audience can only hear the sound of virtual objects in the selected participating teams, and cannot know whether other teams can hear the same sound, resulting in the inability to accurately judge the game situation, reducing the dimension of the event experience and participation.
By detecting the intersection of the sound diffusion range of virtual objects in the participating team and the collection range of other teams, the target prompt information can be output, and the prompt sound can be collected by other teams.
It improves the audience's game experience dimension and participation, allowing the audience to more accurately judge the game situation.
Smart Images

Figure CN115463431B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and more specifically, to an information processing method, apparatus, device, and storage medium. Background Art
[0002] Currently, during game or event broadcasts, viewers can select any participating team's in-game perspective as their viewing angle, allowing them to watch the game or event broadcast from that perspective. However, during the viewing process, viewers can only hear the sounds of virtual objects within the selected team within the game scene (such as the sound of game characters moving within the game scene, the sound of game characters colliding with virtual objects within the game scene, etc.), and cannot simultaneously know whether other participating teams can also hear these sounds. As a result, viewers cannot accurately judge the current game situation, resulting in a low level of experience and participation in the event. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide an information processing method, device, equipment and storage medium, so that when sound interaction is detected between virtual objects in different participating teams, the audience can be prompted accordingly by outputting target prompt information, thereby effectively improving the audience's event experience dimension and event participation, and helping the audience to more accurately judge the current game situation.
[0004] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings.
[0005] In a first aspect, an embodiment of the present application provides an information processing method, the information processing method comprising:
[0006] In response to a spectator request for a target game match, displaying a first game screen from a first perspective on a spectator interface for the target game match; wherein the first perspective represents a perspective of a first participating team in the target game match; and the first participating team is determined based on the spectator request.
[0007] In response to detecting a sound of a first virtual object within the first participating team, determining a first sound diffusion range of the first virtual object in the game scene according to a first position of the first virtual object in the game scene of the target game match and a sound intensity parameter of the sound of the first virtual object;
[0008] In response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, target prompt information is output; wherein, the first sound collection range is determined according to the second position of the second virtual object in the game scene and the first preset sound collection distance; the target prompt information is used to prompt that the sound of the first virtual object can be collected by other participating teams except the first participating team.
[0009] In a second aspect, an embodiment of the present application provides an information processing device, the information processing device comprising:
[0010] a first response module, configured to respond to a spectator request for a target game match by displaying a first game screen from a first perspective on a spectator interface of the target game match; wherein the first perspective represents a perspective of a first participating team in the target game match; and the first participating team is determined based on the spectator request;
[0011] a second response module, configured to, in response to detecting a sound of a first virtual object within the first participating team, determine a first sound diffusion range of the first virtual object in the game scene according to a first position of the first virtual object in the game scene of the target game match and a sound intensity parameter of the sound of the first virtual object;
[0012] A third response module is configured to output target prompt information in response to an intersection between the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team; wherein the first sound collection range is determined based on the second position of the second virtual object in the game scene and a first preset sound collection distance; and the target prompt information is used to prompt that the sound of the first virtual object can be collected by other participating teams except the first participating team.
[0013] In a third aspect, an embodiment of the present application provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned information processing method when executing the computer program.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned information processing method are executed.
[0015] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:
[0016] The embodiments of the present application provide an information processing method, apparatus, device, and storage medium. In response to a request to watch a target game match, the method displays a first game screen from a first perspective on the viewing interface of the target game match; in response to detecting the sound of a first virtual object in a first participating team, the method determines the first sound diffusion range of the first virtual object in the game scene according to the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object; in response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, the method outputs target prompt information. In this way, the present application can provide corresponding prompts to the audience when detecting sound interactions between virtual objects in different participating teams, effectively improving the audience's event experience dimension and event participation. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A schematic diagram showing a flow chart of an information processing method provided in an embodiment of the present application is shown;
[0019] Figure 2 A schematic diagram of the structure of a gaming system provided in an embodiment of the present application is shown;
[0020] Figure 3 A schematic diagram of a game viewing interface provided by an embodiment of the present application is shown;
[0021] Figure 4 A flow chart of a method for displaying target prompt information on a virtual map provided by an embodiment of the present application is shown;
[0022] Figure 5 A schematic diagram of an interface of a virtual map provided in an embodiment of the present application is shown;
[0023] Figure 6 A schematic diagram of an interface for displaying target prompt information on a virtual map provided by an embodiment of the present application is shown;
[0024] Figure 7 A schematic diagram of an interface interaction for switching and displaying a virtual map provided in an embodiment of the present application is shown;
[0025] Figure 8aA schematic diagram showing a flow chart of a method for switching viewing angles provided by an embodiment of the present application is shown;
[0026] Figure 8b A schematic diagram of an interface interaction for switching viewing angles provided by an embodiment of the present application is shown;
[0027] Figure 9 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application is shown;
[0028] Figure 10 A schematic structural diagram of an electronic device 1000 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of illustration and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can be implemented out of sequence, and steps without logical context can be reversed or implemented simultaneously. In addition, those skilled in the art, under the guidance of the contents of this application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.
[0030] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0031] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0032] Currently, during game or event broadcasts, viewers can select any participating team's in-game perspective as their viewing angle, allowing them to watch the game or event broadcast from that perspective. However, during the viewing process, viewers can only hear the sounds of virtual objects within the selected team within the game scene (such as the sound of game characters moving within the game scene, the sound of game characters colliding with virtual objects within the game scene, etc.), and cannot simultaneously know whether other participating teams can also hear these sounds. As a result, viewers cannot accurately judge the current game situation, resulting in a low level of experience and participation in the event.
[0033] Based on this, the embodiments of the present application provide an information processing method, apparatus, device and storage medium, which, in response to a request to watch a target game match, displays a first game screen from a first perspective on the viewing interface of the target game match; in response to detecting the sound of a first virtual object in the first participating team, determines the first sound diffusion range of the first virtual object in the game scene according to the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object; in response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, outputs target prompt information. In this way, the present application can provide corresponding prompts to the audience when detecting sound interaction between virtual objects in different participating teams, effectively improving the audience's event experience dimension and event participation.
[0034] To facilitate understanding of the embodiments of the present application, an information processing method, apparatus, device, and storage medium provided in the embodiments of the present application are described in detail below.
[0035] The embodiments of the present application can be applied to the field of game broadcasting, wherein the specific game type of the target game match to be broadcasted can be a multiplayer action competitive game, etc.; it should be noted that the embodiments of the present application are not limited to the above-mentioned types of games.
[0036] In the embodiment of the present application, the information processing method can be run on a terminal device or a server. The terminal device can be a local terminal device (such as a local touch terminal). When the information processing method is run on a server, it can be a cloud game.
[0037] In an optional embodiment, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operation mode, the operating entity of the game program and the entity presenting the game screen are separated. The storage and operation of the information processing method are completed on the cloud gaming server. The cloud gaming client is used for receiving and sending data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the terminal device for processing is the cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send operation instructions to the cloud gaming server. The cloud gaming server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.
[0038] In another optional embodiment, the terminal device may be a local terminal device. The local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the user through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on the display screen of the local terminal device, or provided to the user through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0039] To facilitate understanding of this embodiment, an information processing method provided in an embodiment of the present application is described in detail below.
[0040] Reference Figure 1 As shown, Figure 1 A flow chart of an information processing method provided in an embodiment of the present application is shown; the information processing method includes steps S101-S103; specifically:
[0041] S101 , in response to a viewing request for a target game match, displaying a first game screen from a first perspective on a viewing interface of the target game match.
[0042] S102, in response to detecting the sound of the first virtual object within the first participating team, determining a first sound diffusion range of the first virtual object in the game scene according to the first position of the first virtual object in the game scene of the target game match and a sound intensity parameter of the sound of the first virtual object.
[0043] S103: In response to the first sound diffusion range intersecting with the first sound collection range of the second virtual object in the second participating team, outputting target prompt information.
[0044] The above-mentioned information processing method provided by the embodiment of the present application, in response to a spectator request for a target game match, displays a first game screen from a first perspective on the spectator interface of the target game match; in response to detecting the sound of a first virtual object in the first participating team, determines the first sound diffusion range of the first virtual object in the game scene according to the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object; in response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, outputs target prompt information. In this way, the present application can provide corresponding prompts to the audience when detecting sound interaction between virtual objects in different participating teams, effectively improving the audience's event experience dimension and event participation.
[0045] In an optional implementation, in addition to the above-mentioned terminal device and server, the above-mentioned information processing method can also be applied to Figure 2 The game system shown includes, but is not limited to, a game server 200, multiple viewing terminal devices 201, and multiple participating terminal devices 202; wherein each viewing terminal device 201 and each participating terminal device 202 communicate with the game server 200 to implement data exchange. In an embodiment of the present application, the participating terminal device 202 is used to represent the terminal device corresponding to the participating player in the target game match; the viewing terminal device 201 is used to represent the terminal device corresponding to the spectator; the viewing terminal device 201 can send a viewing request for the target game match to the game server 200, and specify a specific viewing perspective (i.e., the perspective of the participating team in the target game match) through the sent viewing request. The game server 200 responds to the received viewing request and sends the game screen and game voice data from the viewing perspective specified by the spectator to the viewing terminal device 201, so that the spectator can watch the game from the specified viewing perspective on the graphical user interface provided by the viewing terminal device 201 (i.e., the viewing interface of the target game match).
[0046] It should be noted that the number of the above-mentioned participating terminal devices 202 is determined according to the actual game settings of the target game match (for example, when the target game match belongs to a two-party battle type in a 5V5 mode, the number of the above-mentioned participating terminal devices 202 is 10); the number of the above-mentioned spectator terminal devices 201 is determined according to the number of terminal devices that currently actually request to watch the target game match (for example, if 100 viewing requests are currently received from different terminal devices, it can be determined that the number of the above-mentioned spectator terminal devices 201 is 100); based on this, the embodiment of the present application does not impose any limitation on the specific number of participating terminal devices 202 and spectator terminal devices 201 included in the above-mentioned game system.
[0047] The following uses the above-mentioned game system as an example to illustrate each step of the above-mentioned information processing method provided in the embodiment of the present application:
[0048] S101 , in response to a viewing request for a target game match, displaying a first game screen from a first perspective on a viewing interface of the target game match.
[0049] Here, the first perspective is used to represent the perspective of the first participating team in the target game; the first participating team is determined based on the above-mentioned viewing request actually received; wherein, the above-mentioned viewing interface is used to represent the graphical user interface provided by the viewing terminal device that actually sends the viewing request.
[0050] It should be noted that the viewing terminal device that sends the viewing request can be a fixed terminal device such as a personal computer (PC), or a mobile terminal device such as a mobile phone or tablet; the embodiment of this application does not impose any restrictions on the specific device type of the viewing terminal device.
[0051] Specifically, the game server responds to a viewing request sent by a viewing terminal device. If the viewing request specifies that the perspective of the yellow team in the target game match is used as the viewing perspective, the game server can use the game screen within the field of view of the yellow team (that is, the game scene content that can be observed by each virtual object in the yellow team) as the first game screen, and send the game voice data within the hearing range of the yellow team (that is, the voice data emitted by each player in the yellow team, the footsteps emitted by each virtual object in the yellow team when moving in the game scene, the friction sound emitted when passing through the grass, and other sound effect data) to the viewing terminal device, so that the audience can watch the target game match from the game perspective of the specified yellow team through the viewing terminal device they hold.
[0052] It should be noted that, under different types of viewing terminal devices, the audience can send the above-mentioned viewing request in different ways. For example, when the viewing terminal device is a PC, the audience can send different viewing requests through specific keys on the keyboard (e.g., triggering a viewing request for the yellow team through letter key A, requesting to watch the game from the yellow team's game perspective; triggering a viewing request for the blue team through letter key B, requesting to watch the game from the blue team's game perspective, etc.); when the first terminal device is a mobile terminal such as a mobile phone or tablet, the audience can send different viewing requests by clicking different virtual buttons displayed on the graphical user interface (e.g., clicking a yellow virtual button displayed on the graphical user interface triggers a viewing request for the yellow team, requesting to watch the game from the yellow team's game perspective; clicking a blue virtual button displayed on the graphical user interface triggers a viewing request for the blue team, requesting to watch the game from the blue team's game perspective, etc.). Based on this, the embodiments of the present application do not impose any restrictions on the specific method of sending the above-mentioned viewing request.
[0053] Here, in an optional embodiment, while displaying the above-mentioned first game screen on the viewing interface, a virtual map can also be displayed on the viewing interface, so that players can view the positions and movements of different virtual objects in different participating teams in the game scene in real time based on the displayed virtual map while watching the first game screen.
[0054] For example, the target game includes two participating teams: yellow team and blue team. Each participating team includes 5 participating players (ie, 5 virtual objects / game characters). Figure 3 As shown, Figure 3 FIG. 1 shows a schematic diagram of a game viewing interface provided by an embodiment of the present application; when executing step S101, as shown in FIG. Figure 3 As shown, in response to the audience's click operation on the virtual button 301 indicating the yellow team on the game viewing interface 300 (that is, the graphical user interface provided by the viewing terminal device held by the audience), it is determined that the audience requests to watch the game from the yellow team's game perspective. At this time, the game scene screen (that is, the above-mentioned first game screen) where the game character 310 of the yellow team is located and the virtual map 302 are displayed on the game viewing interface 300; wherein, the audience can change the first game screen displayed on the game viewing interface 300 through mobile control operations such as sliding operations / mouse movement operations (for example, the game scene screen where other game characters of the yellow team are located can be selected to be displayed following the audience's mobile control operations).
[0055] It should be noted that, unlike the first game screen, the virtual map is mainly used to display the positions of virtual objects controlled by different participating players in the game scene. Therefore, the specific display content on the virtual map will not be restricted by the specific viewing perspective specified in the viewing request; that is, when the audience changes the viewing perspective specified in the current viewing request (that is, when changing the above-mentioned first perspective), the game screen displayed on the viewing interface (that is, the first game screen) will change accordingly, but the virtual map will not change (that is, when the participating players in the target game match do not move, the main display content on the virtual map will not change with the change of the viewing perspective).
[0056] S102, in response to detecting the sound of the first virtual object within the first participating team, determining a first sound diffusion range of the first virtual object in the game scene according to the first position of the first virtual object in the game scene of the target game match and a sound intensity parameter of the sound of the first virtual object.
[0057] Here, the first participating team may include multiple game characters (i.e., multiple virtual objects), and the first virtual object is used to represent the first game character that makes a sound among the multiple game characters included in the first participating team; for example, the first participating team is the yellow team, which includes a total of 5 game characters (a1, a2, a3, a4, a5). If it is detected that the game character a1 makes a friction sound when passing through the grass, it is determined that the game character a1 in the yellow team is the above-mentioned first virtual object.
[0058] It should be noted that in the target game match, based on different types of sound effect settings, the game character can make different sounds in the game scene (such as the sound of footsteps generated during movement, the friction sound generated when passing through the grass, the sound of collision with virtual objects in the game scene, special sound effects generated when skills are released, etc.). Therefore, the embodiment of this application does not impose any restrictions on the specific sound type emitted by the above-mentioned first virtual object.
[0059] Specifically, the minimum sound intensity parameter of the virtual object that can be detected in the target game match (wherein the sound intensity parameter is also equivalent to the sound decibel value) can be set according to the actual game broadcast requirements. For example, when the minimum detectable sound decibel value is set to 30 decibels, the first participating team is still taken as the yellow team, where the yellow team includes a total of 5 game characters (a1, a2, a3, a4, a5) as an example. If the friction sound emitted by the game character a1 when passing through the grass is greater than or equal to 30 decibels, it is determined that the game character a1 is detected to have made a sound. It is necessary to determine the sound diffusion range of the game character a1 in the game scene (i.e., the above-mentioned first sound diffusion range) based on the current position of the game character a1 in the game scene and the specific decibel value of the sound; if the friction sound emitted by the game character a1 when passing through the grass is less than 30 decibels, it is determined that the game character a1 is not detected to have made a sound, and there is no need to determine the sound diffusion range of the game character a1 in the game scene.
[0060] Based on this, it should be noted that the embodiments of the present application do not impose any restrictions on the minimum sound intensity parameters of virtual objects that can be detected in the target game.
[0061] Specifically, when determining the first sound diffusion range of the first virtual object in the game scene, as an optional embodiment, the first sound diffusion range may be determined by following step 1:
[0062] Step 1: With the first position as the center, a scene area in the game scene whose distance from the first position is less than or equal to the target distance is used as a first sound diffusion range.
[0063] Here, the above-mentioned target distance is determined according to the sound intensity parameter of the sound of the first virtual object; for example, if the sound wave range corresponding to 1 decibel in the game scene is a circular area with a radius of 1 meter, then when the sound intensity parameter of the sound emitted by the first virtual object is 50 decibels, the first sound diffusion range of the first virtual object in the game scene is: a circular area formed with the first position (that is, the actual position of the first virtual object in the game scene) as the center and 50 meters (that is, the above-mentioned target distance) as the radius.
[0064] It should be noted that the embodiments of the present application do not impose any restrictions on the specific sound wave range corresponding to the unit decibel value (i.e., unit sound intensity parameter) in the target game match in the game scene (i.e., the specific sound wave range corresponding to 1 decibel in the game scene).
[0065] S103: In response to the first sound diffusion range intersecting with the first sound collection range of the second virtual object in the second participating team, outputting target prompt information.
[0066] Here, the second participating team is used to represent other participating teams in the target game except the first participating team; the embodiment of the present application does not impose any restrictions on the total number of participating teams included in the target game and the specific parameter teams represented by the second participating team.
[0067] For example, when the target game only includes the Yellow Team and the Blue Team, if the audience chooses to watch the game from the Yellow Team's perspective (i.e., the Yellow Team is the first participating team), the second participating team represents the Blue Team; when the target game includes the Yellow Team, the Blue Team, and the Red Team (equivalent to including more than two participating teams), the second participating team represents the Blue Team and / or the Red Team (i.e., represents other participating teams except the first participating team, the Yellow Team).
[0068] Here, the first sound collection range is determined according to the second position of the second virtual object in the game scene and the first preset sound collection distance; wherein, the first preset sound collection distance can also be determined according to the minimum sound intensity parameter that can be collected by the second virtual object in the game scene; the embodiment of the present application does not impose any limitation on the specific value of the first preset sound collection distance.
[0069] Specifically, when determining the first sound collection range of the second virtual object in the game scene, as an optional embodiment, the determination may be made in accordance with step 2 of the following steps:
[0070] Step 2: With the second position as the center, a scene area in the game scene whose distance from the second position is less than or equal to the first preset sound collection distance is used as a first sound collection range.
[0071] For example, if the first preset sound collection distance is 50 meters, the first sound collection range of the second virtual object in the game scene is: a circular area formed with the second position (i.e., the actual position of the second virtual object in the game scene) as the center and 50 meters (i.e., the above-mentioned first preset sound collection distance) as the radius.
[0072] Here, the target prompt information is used to prompt that the sound of the first virtual object can be collected by other participating teams except the first participating team (equivalent to being able to be collected by the above-mentioned second participating team).
[0073] It should be noted that the specific information form and specific output method of the target prompt information include but are not limited to: voice prompt information output in voice form, vibration prompt information output in vibration form (which can be the vibration of a game controller or the vibration of a terminal device such as a mobile phone), text / graphic prompt information output and displayed through the viewing interface, etc.; the embodiments of this application do not impose any restrictions on the specific information form and specific output method of the above-mentioned target prompt information.
[0074] Specifically, based on the fact that the virtual map displayed on the viewing interface can display the positions of different virtual objects in the game scene in real time, in a preferred embodiment, the above-mentioned output target prompt information can be displaying the target prompt information on the virtual map; at this time, since the audience is watching the game from the game perspective of the first participating team, the virtual map displayed on the viewing interface is consistent with the virtual map seen by the participating players of the first participating team through their respective participating terminal devices; that is, the target prompt information displayed on the virtual map can be used to prompt the audience (i.e., the spectators of the first participating team) that the sound of the first virtual object can be collected by other participating teams (mainly the participating players of the second participating team who control the second virtual object), and can also be used to prompt the participating players of the first participating team that the position of the first virtual object has been discovered by other participating teams (mainly the participating players of the second participating team who control the second virtual object), thereby not only effectively improving the audience's event experience dimension and event participation, but also helping to improve the team communication efficiency and human-computer interaction efficiency of the participating players.
[0075] It should be noted that the above-mentioned target prompt information can be displayed in the form of text information on the virtual map (for example, the target prompt information displayed on the virtual map is "The sound of the first virtual object a1 has been collected by the second virtual object b1"), or it can be displayed in the form of graphics (for example, the area boundaries corresponding to the above-mentioned first sound diffusion range and the area boundaries corresponding to the above-mentioned first sound collection range are displayed on the virtual map respectively, so that it can be intuitively seen that there is an intersection between the two areas). The embodiment of the present application does not impose any limitation on the specific display method of the above-mentioned target prompt information; it is only necessary to ensure that the target prompt information can play the above-mentioned prompt role (that is, to prompt that the sound of the first virtual object can be collected by other participating teams except the first participating team).
[0076] Taking the example of outputting target prompt information by displaying the target prompt information on a virtual map, the specific implementation process of each of the above steps in the embodiment of the present application is described in detail below:
[0077] Regarding the specific implementation process of the above step S103, in terms of the specific display form of the target prompt information, in addition to directly displaying it in the form of text information (for example, displaying the target prompt information with the content "the sound of the first virtual object a1 has been collected by the second virtual object b1" on the virtual map), in an optional implementation scheme, referring to Figure 4 As shown, Figure 4 A flow chart of a method for displaying target prompt information on a virtual map provided by an embodiment of the present application is shown; when executing step S103, the method includes steps S401-S403; specifically:
[0078] S401: Determine a first map area on the virtual map to which the first sound diffusion range is mapped based on a mapping relationship between a first virtual icon on the virtual map and a first position of the first virtual object in the game scene.
[0079] Here, the virtual map displays multiple virtual icons for indicating the positions of different virtual objects in the game scene; at this time, the virtual map is a thumbnail map obtained by reducing the global game scene of the target game match according to a certain zoom ratio; among them, the first virtual icon is used to indicate the position of the first virtual object in the game scene.
[0080] Specifically, taking the target game match as an example, the participating teams are the yellow team and the blue team. If the yellow team includes 5 participating players and the blue team includes 5 participating players, refer to Figure 5 As shown, Figure 5 FIG. 1 shows a schematic diagram of an interface of a virtual map provided in an embodiment of the present application; FIG. Figure 5 As shown, in the game viewing interface 300, the virtual map 302 includes 5 virtual icons (displayed as black circular icons) for indicating the positions of virtual objects in the yellow team in the game scene and 5 virtual icons (displayed as white circular icons) for indicating the positions of virtual objects in the blue team in the game scene.
[0081] Exemplary descriptions, such as Figure 5 As shown, the first virtual icon 501 is used to indicate the position of the first virtual object in the game scene. Taking the first sound diffusion range as an example, which is a circular area formed with the position of the first virtual object in the game scene as the center and 100 meters (i.e., the above-mentioned target distance) as the radius, if the virtual map is a thumbnail map obtained by zooming out the global game scene of the target game at a scale of 1:1000; then the first map area 510 mapped by the first sound diffusion range is displayed on the virtual map 302; wherein, the first map area 510 is a circular area formed with the first virtual icon 501 as the center and 10 centimeters as the radius.
[0082] S402: Determine a second map area on the virtual map to which the first sound collection range is mapped based on a mapping relationship between a second virtual icon on the virtual map and a second position of the second virtual object in the game scene.
[0083] Here, the second virtual icon is used to indicate the position of the second virtual object in the game scene; wherein, the method for determining the second map area is similar to the method for determining the first map area mentioned above, and the repeated parts are not repeated here.
[0084] For example, the first sound collection range is a circular area with the position of the second virtual object in the game scene as the center and 50 meters (i.e., the first preset sound collection distance) as the radius. Figure 5 As shown, a second map area 520 mapped to the first sound collection range is displayed on the virtual map 302; wherein the second map area 520 is a circular area formed with the second virtual icon 502 as the center and a radius of 5 cm.
[0085] S403: Mark the first map area and the second map area respectively according to different highlighting marks, and display the marked first map area and second map area as the target prompt information on the virtual map.
[0086] It should be noted that the above-mentioned different highlighting marks can be highlighting marks with different display brightness, or can be selection boxes of different colors (such as using a red circular selection box to mark the first map area, using a green circular selection box to mark the second map area, etc.). The embodiment of the present application does not impose any restrictions on the specific selection form of different highlighting marks. It is only necessary to ensure that the first map area and the second map area displayed on the interface can be displayed differently based on different highlighting marks.
[0087] Exemplary descriptions, such as Figure 5 As shown, after the first map area 510 and the second map area 520 are determined, the first map area 510 and the second map area 520 are marked respectively based on circular selection boxes of different colors (i.e., based on different highlighting marks), and the marked first map area 510 and the second map area 520 are displayed on the virtual map 302 to prompt the audience and each participating player in the yellow team (i.e., the first participating team) that the location of the first virtual object has been discovered by the blue team (the second participating team).
[0088] Regarding the specific implementation process of the above step S103, regarding when to stop outputting the target prompt information (equivalent to the specific prompt duration of the target prompt information), the embodiment of the present application also provides the following two optional implementation plans, specifically:
[0089] Optional implementation scheme 1: within a certain preset time, the target prompt information is output in a flash manner.
[0090] In optional implementation scheme 1, when executing step S103, as an optional embodiment, when to stop outputting the target prompt information can be determined in the manner of step 3 below. Specifically:
[0091] Step 3: In response to the output of the target prompt information, start timing from the current moment, and stop outputting the target prompt information when it is determined that the timing duration reaches a preset effective output duration.
[0092] Specifically, when the target prompt information is voice prompt information output in voice form, when executing the above step 3, the target prompt information can be output and played in a loop within the preset effective output time; when the target prompt information is vibration prompt information output in vibration form, when executing the above step 3, the terminal device held by the audience can be controlled to vibrate continuously within the preset effective output time; when the target prompt information is prompt information displayed on a virtual map, when executing the above step 3, the target prompt information can be continuously displayed on the virtual map within the preset effective output time.
[0093] For example, the specific output form is the target prompt information displayed on the virtual map. Figure 5 Based on the target prompt information shown (i.e. the marked first map area 510 and the second map area 520), refer to Figure 6 As shown, Figure 6 FIG. 1 shows an interface diagram of displaying target prompt information on a virtual map provided by an embodiment of the present application; when executing step S103, as shown in FIG. Figure 6 As shown, if the preset effective display time (i.e., the effective output time of the target prompt information) is 10 seconds, the timing starts from the moment when the intersection of the first sound diffusion range and the first sound collection range (i.e., the intersection of the first map area 510 and the second map area 520) is detected. After 10 seconds (i.e., after the effective display time is reached), regardless of whether the first sound diffusion range and the first sound collection range still intersect, the display of the first map area 510 and the second map area 520 on the virtual map 302 is cancelled (i.e., the output of the target prompt information is stopped).
[0094] It should be noted that the specific value of the above-mentioned effective output time can be set according to the actual prompt requirements of the audience / participating players or according to the specific output form of the target prompt information (for example, the effective output time corresponding to the target prompt information in the form of a vibration prompt is 3 seconds, the effective output time corresponding to the target prompt information in the form of a voice prompt is 10 seconds, etc.). The embodiment of this application does not impose any limitation on the specific value of the above-mentioned effective output time.
[0095] Optional implementation scheme 2: No effective output duration is set, and whether to stop outputting the target prompt information depends only on whether there is an intersection between the first sound collection range and the first sound diffusion range.
[0096] In the optional implementation scheme 2, when step S103 is executed, that is, when there is an intersection between the first sound collection range and the first sound diffusion range, the target prompt information (such as Figure 5 As shown, the marked first map area 510 and the second map area 520 are displayed on the virtual map 302); after executing step S103, optional embodiment 2 further includes the following step 4, specifically:
[0097] Step 4: In response to the movement of the first virtual object and / or the second virtual object in the game scene, when it is detected that there is no intersection between the first sound diffusion range and the first sound collection range, stop outputting the target prompt information.
[0098] Specifically, when the target prompt information is voice prompt information output in voice form, when executing the above step 4, the target prompt information can be stopped from being played when it is detected that there is no intersection between the first sound diffusion range and the first sound collection range; when the target prompt information is vibration prompt information output in vibration form, when executing the above step 4, the terminal device held by the audience can be controlled to stop vibrating when it is detected that there is no intersection between the first sound diffusion range and the first sound collection range; when the target prompt information is prompt information displayed on a virtual map, when executing the above step 4, the target prompt information displayed on the virtual map can be canceled when it is detected that there is no intersection between the first sound diffusion range and the first sound collection range.
[0099] Here, still taking the target prompt information displayed on the virtual map as an example in the specific output form, after executing step S103, whether the first virtual object moves, the second virtual object moves, or both the first virtual object and the second virtual object move, the first sound diffusion range and the first sound collection range will change in the corresponding position in the game scene, and thus the positions of the first map area and the second map area on the virtual map will also be changed.
[0100] Based on this, in optional implementation scheme 2, unlike the above-mentioned optional implementation scheme 1, whether the target prompt information is displayed or not depends only on whether there is an intersection between the first sound collection range and the first sound diffusion range. That is, when there is no intersection between the first sound collection range and the first sound diffusion range (that is, the intersection becomes an empty set), the first map area and the second map area are cancelled on the virtual map, and it has nothing to do with the specific length of time.
[0101] Regarding the above virtual map provided in the embodiment of the present application, it should be noted that the virtual map can be as follows: Figure 3 As shown, a certain position area is displayed on the viewing interface (that is, it is not displayed as the main interface content of the viewing interface. At this time, Figure 3 As shown, the main interface content of the viewing interface is the first game screen from the viewing perspective); on this basis, as another optional embodiment, the viewing terminal device can also: respond to the switching operation for the virtual map, and switch the first game screen displayed on the viewing interface to the map display interface corresponding to the virtual map.
[0102] It should be noted that the switching operations performed by viewers on the virtual map may be different on different types of viewing terminal devices. For example, when the viewing terminal device is a PC, the viewer may trigger the switching operation on the virtual map by pressing a specific key on the keyboard (such as a specific letter key, number key, etc.) or by clicking a mouse. When the viewing terminal device is a mobile terminal such as a mobile phone or tablet, the switching operation may also include, but is not limited to, at least one of the following: a touch-type operation such as a long press or a sliding operation on the virtual map, or a non-touch-type operation such as a gesture control operation suspended on the viewing interface. Based on this, the embodiments of the present application do not impose any restrictions on the specific operation type of the switching operation.
[0103] For example, see Figure 7 As shown, Figure 7 FIG. 1 shows an interface interaction diagram for switching and displaying a virtual map provided by an embodiment of the present application; FIG. Figure 7 As shown, taking the viewing terminal device as a mobile phone as an example, in response to the audience's switching operation on the virtual map 302, the first game screen displayed on the game viewing interface 300 is switched to the map display interface corresponding to the virtual map 302.
[0104] With respect to the specific implementation process of each of the above steps, combined with the implementation of the aforementioned step S101, it can be seen that the audience can also switch the viewing perspective during the viewing process. For example, when watching the game from the game perspective of the first participating team (i.e., the first perspective), by switching the viewing perspective, the audience can change to continue watching the game from the game perspective of the second participating team (other participating teams except the first participating team). By switching the viewing perspective, the audience's event experience dimension and event participation are improved, which is conducive to the audience being able to more accurately judge the battle situation of the current game.
[0105] In an alternative embodiment, referring to Figure 8a As shown, Figure 8a A flow chart of a method for switching viewing angles provided in an embodiment of the present application is shown; the method includes step S801; specifically:
[0106] S801, in response to a perspective switching request for the first participating team, switching the first game screen displayed on the viewing interface to a second game screen under a second perspective.
[0107] Here, the second perspective is used to represent the perspective of the other participating teams except the first participating team in the target game; wherein, the second perspective is determined according to the above-mentioned perspective switching request.
[0108] It should be noted that, similar to the viewing request, on different types of viewing terminal devices, viewers can send the above-mentioned perspective switching request in different ways. The embodiment of the present application also does not impose any limitation on the specific sending method of the above-mentioned perspective switching request.
[0109] For example, the target game includes two participating teams: yellow team and blue team. Each participating team includes 5 participating players (ie, 5 virtual objects / game characters). Figure 8b As shown, Figure 8b FIG. 1 shows an interface interaction diagram for switching viewing angles provided by an embodiment of the present application; when executing step S801, as shown in FIG. Figure 8b As shown, in response to the audience's click operation on the virtual button 800 indicating the blue team on the game viewing interface 300 (i.e., the graphical user interface provided by the viewing terminal device held by the audience), it is determined that the audience's perspective switching request for the yellow team (i.e., the first participating team) is received, and the request is made to watch the game from the blue team's perspective again. At this time, the game scene screen (i.e., the above-mentioned second game screen) where the game character 810 of the blue team is located and the virtual map 302 are displayed on the game viewing interface 300; wherein, the audience can change the second game screen displayed on the game viewing interface 300 through mobile control operations such as sliding operations / mouse movement operations (for example, the game scene screen where other game characters of the blue team are located can be selected to be displayed following the audience's mobile control operations).
[0110] It should be noted that after switching the viewing perspective, it is only necessary to exchange the first participating team and the second participating team (that is, the other participating teams except the first participating team) in the above steps S101-S103, and the target prompt information that can also serve as a sound prompt can be displayed on the virtual map; at this time, the target prompt information is used to prompt that the sound of the second virtual object in the second participating team can be collected by the first participating team; the repetitions will not be repeated here.
[0111] Through the above-mentioned information processing method provided by the embodiment of the present application, in response to a spectator request for a target game match, a first game screen from a first perspective is displayed on the spectator interface of the target game match; in response to detecting the sound of a first virtual object in the first participating team, the first sound diffusion range of the first virtual object in the game scene is determined based on the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object; in response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, target prompt information is output. In this way, the present application can provide corresponding prompts to the audience when sound interaction is detected between virtual objects in different participating teams, effectively improving the audience's event experience dimension and event participation.
[0112] Based on the same inventive concept, the present application also provides an information processing device corresponding to the above-mentioned information processing method. Since the principle of solving the problem by the information processing device in the embodiment of the present application is similar to the above-mentioned information processing method in the embodiment of the present application, the implementation of the information processing device can refer to the implementation of the above-mentioned information processing method, and the repeated parts will not be repeated.
[0113] Reference Figure 9 As shown, Figure 9 The following is a schematic diagram showing the structure of an information processing device provided in an embodiment of the present application, wherein the information processing device includes:
[0114] A first response module 901 is configured to respond to a spectator request for a target game match by displaying a first game screen from a first perspective on a spectator interface for the target game match; wherein the first perspective represents the perspective of a first participating team in the target game match; and the first participating team is determined based on the spectator request.
[0115] A second response module 902 is configured to, in response to detecting a sound of a first virtual object within the first participating team, determine a first sound diffusion range of the first virtual object in the game scene according to a first position of the first virtual object in the game scene of the target game match and a sound intensity parameter of the sound of the first virtual object;
[0116] The third response module 903 is used to output target prompt information in response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team; wherein, the first sound collection range is determined according to the second position of the second virtual object in the game scene and the first preset sound collection distance; the target prompt information is used to prompt that the sound of the first virtual object can be collected by other participating teams except the first participating team.
[0117] In an optional embodiment, while displaying the first game screen on the viewing interface, the first response module 901 is also used to: display a virtual map on the viewing interface; wherein, the virtual map displays a plurality of virtual icons for indicating the positions of different virtual objects in the game scene.
[0118] In an optional implementation, the outputting the target prompt information includes displaying the target prompt information on the virtual map, wherein the third response module 903 is configured to display the target prompt information on the virtual map by:
[0119] determining, based on a mapping relationship between a first virtual icon on the virtual map and a first position of the first virtual object in the game scene, a first map area on the virtual map to which the first sound diffusion range is mapped; wherein the first virtual icon is used to indicate the position of the first virtual object in the game scene;
[0120] determining, based on a mapping relationship between a second virtual icon on the virtual map and a second position of the second virtual object in the game scene, a second map area on the virtual map to which the first sound collection range is mapped; wherein the second virtual icon is used to indicate the position of the second virtual object in the game scene;
[0121] The first map area and the second map area are marked respectively according to different highlighting marks, and the marked first map area and second map area are displayed on the virtual map as the target prompt information.
[0122] In an optional implementation, after outputting the target prompt information, the third response module 903 is further configured to:
[0123] In response to the output of the target prompt information, timing is started from the current moment, and when it is determined that the timing duration reaches a preset effective output duration, output of the target prompt information is stopped.
[0124] In an optional implementation, after outputting the target prompt information, the third response module 903 is further configured to:
[0125] In response to the movement of the first virtual object and / or the second virtual object in the game scene, when it is detected that there is no intersection between the first sound diffusion range and the first sound collection range, the output of the target prompt information is stopped.
[0126] In an optional implementation, the information processing device further includes:
[0127] The fourth response module is used to respond to the switching operation on the virtual map and switch the first game screen displayed on the viewing interface to a map display interface corresponding to the virtual map.
[0128] In an optional implementation, the information processing device further includes:
[0129] A fifth response module is used to respond to the perspective switching request for the first participating team, and switch the first game screen displayed on the viewing interface to a second game screen under a second perspective; wherein, the second perspective is used to represent the perspectives of the other participating teams in the target game except the first participating team; the second perspective is determined according to the perspective switching request.
[0130] In an optional embodiment, when determining the first sound diffusion range of the first virtual object in the game scene based on the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object, the second response module 902 is configured to:
[0131] Taking the first position as the center, a scene area in the game scene whose distance from the first position is less than or equal to a target distance is used as the first sound diffusion range; wherein the target distance is determined according to a sound intensity parameter of the sound of the first virtual object.
[0132] Based on the above-mentioned information processing device provided by the embodiment of the present application, in response to a spectator request for a target game match, a first game screen from a first perspective is displayed on the spectator interface of the target game match; in response to detecting the sound of a first virtual object in the first participating team, the first sound diffusion range of the first virtual object in the game scene is determined based on the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object; in response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, target prompt information is output. In this way, the present application can provide corresponding prompts to the audience when detecting sound interaction between virtual objects in different participating teams, effectively improving the audience's event experience dimension and event participation.
[0133] Based on the same inventive concept, Figure 10This is a structural diagram of an electronic device 1000 provided in an embodiment of the present application, including: a processor 1001, a memory 1002, and a bus 1003. The memory 1002 stores machine-readable instructions executable by the processor 1001. When the electronic device 1000 runs an information processing method as in the embodiment, the processor 1001 communicates with the memory 1002 via the bus 1003, and the processor 1001 executes the machine-readable instructions. When the processor 1001 executes the machine-readable instructions, the following steps are implemented, specifically:
[0134] In response to a spectator request for a target game match, displaying a first game screen from a first perspective on a spectator interface for the target game match; wherein the first perspective represents a perspective of a first participating team in the target game match; and the first participating team is determined based on the spectator request.
[0135] In response to detecting a sound of a first virtual object within the first participating team, determining a first sound diffusion range of the first virtual object in the game scene according to a first position of the first virtual object in the game scene of the target game match and a sound intensity parameter of the sound of the first virtual object;
[0136] In response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, target prompt information is output; wherein, the first sound collection range is determined according to the second position of the second virtual object in the game scene and the first preset sound collection distance; the target prompt information is used to prompt that the sound of the first virtual object can be collected by other participating teams except the first participating team.
[0137] In an optional embodiment, while displaying the first game screen on the viewing interface, the processor 1001 is also used to: display a virtual map on the viewing interface; wherein the virtual map displays a plurality of virtual icons for indicating the positions of different virtual objects in the game scene.
[0138] In an optional implementation, the outputting the target prompt information includes displaying the target prompt information on the virtual map, wherein the processor 1001 is configured to display the target prompt information on the virtual map by:
[0139] determining, based on a mapping relationship between a first virtual icon on the virtual map and a first position of the first virtual object in the game scene, a first map area on the virtual map to which the first sound diffusion range is mapped; wherein the first virtual icon is used to indicate the position of the first virtual object in the game scene;
[0140] determining, based on a mapping relationship between a second virtual icon on the virtual map and a second position of the second virtual object in the game scene, a second map area on the virtual map to which the first sound collection range is mapped; wherein the second virtual icon is used to indicate the position of the second virtual object in the game scene;
[0141] The first map area and the second map area are marked respectively according to different highlighting marks, and the marked first map area and second map area are displayed on the virtual map as the target prompt information.
[0142] In an optional implementation, after outputting the target prompt information, the processor 1001 is further configured to:
[0143] In response to the output of the target prompt information, timing is started from the current moment, and when it is determined that the timing duration reaches a preset effective output duration, output of the target prompt information is stopped.
[0144] In an optional implementation, after outputting the target prompt information, the processor 1001 is further configured to:
[0145] In response to the movement of the first virtual object and / or the second virtual object in the game scene, when it is detected that there is no intersection between the first sound diffusion range and the first sound collection range, the output of the target prompt information is stopped.
[0146] In an optional implementation, the processor 1001 is further configured to:
[0147] In response to a switching operation on the virtual map, the first game screen displayed on the spectator interface is switched to a map display interface corresponding to the virtual map.
[0148] In an optional implementation, the processor 1001 is further configured to:
[0149] In response to a perspective switching request for the first participating team, the first game screen displayed on the viewing interface is switched to a second game screen under a second perspective; wherein the second perspective is used to represent the perspectives of the other participating teams in the target game except the first participating team; the second perspective is determined according to the perspective switching request.
[0150] In an optional embodiment, when determining the first sound diffusion range of the first virtual object in the game scene based on the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object, the processor 1001 is configured to:
[0151] Taking the first position as the center, a scene area in the game scene whose distance from the first position is less than or equal to a target distance is used as the first sound diffusion range; wherein the target distance is determined according to a sound intensity parameter of the sound of the first virtual object.
[0152] Based on the above electronic device provided by the embodiment of the present application, in response to a request to watch the target game match, a first game screen from a first perspective is displayed on the viewing interface of the target game match; in response to detecting the sound of the first virtual object in the first participating team, the first sound diffusion range of the first virtual object in the game scene is determined according to the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object; in response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, target prompt information is output. In this way, the present application can provide corresponding prompts to the audience when detecting sound interaction between virtual objects in different participating teams, effectively improving the audience's event experience dimension and event participation.
[0153] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program is executed when a processor is run, and the processor performs the following steps:
[0154] In response to a spectator request for a target game match, displaying a first game screen from a first perspective on a spectator interface for the target game match; wherein the first perspective represents a perspective of a first participating team in the target game match; and the first participating team is determined based on the spectator request.
[0155] In response to detecting a sound of a first virtual object within the first participating team, determining a first sound diffusion range of the first virtual object in the game scene according to a first position of the first virtual object in the game scene of the target game match and a sound intensity parameter of the sound of the first virtual object;
[0156] In response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, target prompt information is output; wherein, the first sound collection range is determined according to the second position of the second virtual object in the game scene and the first preset sound collection distance; the target prompt information is used to prompt that the sound of the first virtual object can be collected by other participating teams except the first participating team.
[0157] In an optional embodiment, while displaying the first game screen on the viewing interface, the processor is also used to: display a virtual map on the viewing interface; wherein, the virtual map displays a plurality of virtual icons for indicating the positions of different virtual objects in the game scene.
[0158] In an optional embodiment, the outputting the target prompt information includes displaying the target prompt information on the virtual map, wherein the processor is configured to display the target prompt information on the virtual map by:
[0159] determining, based on a mapping relationship between a first virtual icon on the virtual map and a first position of the first virtual object in the game scene, a first map area on the virtual map to which the first sound diffusion range is mapped; wherein the first virtual icon is used to indicate the position of the first virtual object in the game scene;
[0160] determining, based on a mapping relationship between a second virtual icon on the virtual map and a second position of the second virtual object in the game scene, a second map area on the virtual map to which the first sound collection range is mapped; wherein the second virtual icon is used to indicate the position of the second virtual object in the game scene;
[0161] The first map area and the second map area are marked respectively according to different highlighting marks, and the marked first map area and second map area are displayed on the virtual map as the target prompt information.
[0162] In an optional implementation, after outputting the target prompt information, the processor is further configured to:
[0163] In response to the output of the target prompt information, timing is started from the current moment, and when it is determined that the timing duration reaches a preset effective output duration, output of the target prompt information is stopped.
[0164] In an optional implementation, after outputting the target prompt information, the processor is further configured to:
[0165] In response to the movement of the first virtual object and / or the second virtual object in the game scene, when it is detected that there is no intersection between the first sound diffusion range and the first sound collection range, the output of the target prompt information is stopped.
[0166] In an optional implementation, the processor is further configured to:
[0167] In response to a switching operation on the virtual map, the first game screen displayed on the spectator interface is switched to a map display interface corresponding to the virtual map.
[0168] In an optional implementation, the processor is further configured to:
[0169] In response to a perspective switching request for the first participating team, the first game screen displayed on the viewing interface is switched to a second game screen under a second perspective; wherein the second perspective is used to represent the perspectives of the other participating teams in the target game except the first participating team; the second perspective is determined according to the perspective switching request.
[0170] In an optional embodiment, when determining the first sound diffusion range of the first virtual object in the game scene based on the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object, the processor is configured to:
[0171] Taking the first position as the center, a scene area in the game scene whose distance from the first position is less than or equal to a target distance is used as the first sound diffusion range; wherein the target distance is determined according to a sound intensity parameter of the sound of the first virtual object.
[0172] Based on the above-mentioned computer-readable storage medium provided by the embodiment of the present application, in response to a request to watch the target game match, a first game screen from a first perspective is displayed on the viewing interface of the target game match; in response to detecting the sound of the first virtual object in the first participating team, the first sound diffusion range of the first virtual object in the game scene is determined according to the first position of the first virtual object in the game scene of the target game match and the sound intensity parameter of the sound of the first virtual object; in response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, target prompt information is output. In this way, the present application can provide corresponding prompts to the audience when detecting sound interaction between virtual objects in different participating teams, effectively improving the audience's event experience dimension and event participation.
[0173] In the embodiment of the present application, when the computer program is run by the processor, it can also execute other machine-readable instructions to execute the information processing method as described in other embodiments. For the specific execution method steps and principles, please refer to the description of the embodiment and will not be repeated here.
[0174] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0175] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0176] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0177] 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 application, 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 and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0178] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0179] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The scope of protection of the present application is not limited thereto. Although the present application has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present application, or make equivalent replacements for some of the technical features thereof. However, these modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. An information processing method, characterized in that: The information processing method includes: In response to a spectator request for a target game match, displaying a first game screen from a first perspective on a spectator interface for the target game match; wherein the first perspective represents a perspective of a first participating team in the target game match; and the first participating team is determined based on the spectator request. In response to detecting the sound of a first virtual object within the first participating team, determining a first sound diffusion range of the first virtual object in the game scene according to a first position of the first virtual object in the game scene of the target game match and a sound intensity parameter of the sound of the first virtual object; wherein, with the first position as the center, a scene area in the game scene whose distance from the first position is less than or equal to a target distance is defined as the first sound diffusion range; the target distance is determined according to the sound intensity parameter of the sound of the first virtual object; In response to the intersection of the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team, target prompt information is output; wherein, the first sound collection range is determined according to the second position of the second virtual object in the game scene and the first preset sound collection distance; the target prompt information is used to prompt that the sound of the first virtual object can be collected by other participating teams except the first participating team.
2. The information processing method according to claim 1, wherein: While displaying the first game screen on the viewing interface, the information processing method further includes: displaying a virtual map on the viewing interface; wherein the virtual map displays a plurality of virtual icons for indicating the positions of different virtual objects in the game scene.
3. The information processing method according to claim 2, wherein: The outputting of the target prompt information includes displaying the target prompt information on the virtual map, wherein the target prompt information is displayed on the virtual map by the following method: determining, based on a mapping relationship between a first virtual icon on the virtual map and a first position of the first virtual object in the game scene, a first map area on the virtual map to which the first sound diffusion range is mapped; wherein the first virtual icon is used to indicate the position of the first virtual object in the game scene; determining, based on a mapping relationship between a second virtual icon on the virtual map and a second position of the second virtual object in the game scene, a second map area on the virtual map to which the first sound collection range is mapped; wherein the second virtual icon is used to indicate the position of the second virtual object in the game scene; The first map area and the second map area are marked respectively according to different highlighting marks, and the marked first map area and second map area are displayed on the virtual map as the target prompt information.
4. The information processing method according to claim 1, wherein: After outputting the target prompt information, the information processing method further includes: In response to the output of the target prompt information, timing is started from the current moment, and when it is determined that the timing duration reaches a preset effective output duration, output of the target prompt information is stopped.
5. The information processing method according to claim 1, wherein: After outputting the target prompt information, the information processing method further includes: In response to the movement of the first virtual object and / or the second virtual object in the game scene, when it is detected that there is no intersection between the first sound diffusion range and the first sound collection range, the output of the target prompt information is stopped.
6. The information processing method according to claim 2, wherein: The information processing method further includes: In response to a switching operation on the virtual map, the first game screen displayed on the spectator interface is switched to a map display interface corresponding to the virtual map.
7. The information processing method according to claim 1, wherein: The information processing method further includes: In response to a perspective switching request for the first participating team, the first game screen displayed on the viewing interface is switched to a second game screen under a second perspective; wherein the second perspective is used to represent the perspectives of the other participating teams in the target game except the first participating team; the second perspective is determined according to the perspective switching request.
8. An information processing device, characterized in that The information processing device includes: a first response module, configured to respond to a spectator request for a target game match by displaying a first game screen from a first perspective on a spectator interface of the target game match; wherein the first perspective represents a perspective of a first participating team in the target game match; and the first participating team is determined based on the spectator request; a second response module, configured to, in response to detecting the sound of a first virtual object within the first participating team, determine, based on a first position of the first virtual object in the game scene of the target game match and a sound intensity parameter of the sound of the first virtual object, a first sound diffusion range of the first virtual object in the game scene; wherein, with the first position as the center, a scene area in the game scene whose distance from the first position is less than or equal to a target distance is defined as the first sound diffusion range; the target distance is determined based on the sound intensity parameter of the sound of the first virtual object; A third response module is configured to output target prompt information in response to an intersection between the first sound diffusion range and the first sound collection range of the second virtual object in the second participating team; wherein the first sound collection range is determined based on the second position of the second virtual object in the game scene and a first preset sound collection distance; and the target prompt information is used to prompt that the sound of the first virtual object can be collected by other participating teams except the first participating team.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the information processing method according to any one of claims 1 to 7 are performed.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the information processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Reminding method for game battle watching and related equipment
CN113975824A
Game machine, server, game provision method and program
JP2009112708A