Game view angle interaction control method and device and electronic equipment

By monitoring sound information in a shooting game and displaying viewing angle adjustment controls in a graphical user interface, and adjusting the viewing angle of the virtual camera based on the target object position, the problem of difficulty of players judging enemy positions through sound is solved, and the game experience and positioning accuracy is improved.

CN119056050APending Publication Date: 2024-12-03NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310641975.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-01
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In a shooting game, the operation difficulty of players judging the enemy's position and distance through sound effects is high, resulting in random viewing angles and affecting the game experience.

Method used

The terminal device provides a graphical user interface to monitor whether the controlled virtual object receives the sound information generated by the target object, and displays the viewing angle adjustment control in the graphical user interface after receiving the sound, determines the target viewing angle based on the target object position, and controls the virtual camera Switch to the target view angle to simplify view angle adjustment.

Benefits of technology

It simplifies the operation method of viewing angle adjustment, improves the player's gaming experience, reduces the random viewing angle, and enhances the accuracy of positioning the enemy's position.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119056050A_ABST
    Figure CN119056050A_ABST
Patent Text Reader

Abstract

The invention provides an interaction control method and device for a game view angle and electronic equipment. Whether a controlled virtual object receives sound information generated by a target object or not is monitored in a game scene; wherein the target object is a virtual item in the game scene or a virtual object except the controlled virtual object; in response to the received sound information, playing a corresponding sound signal on the terminal equipment and displaying a visual angle adjustment control in the graphical user interface; and in response to a trigger operation for the view angle adjustment control, determining a target view angle based on the object position of the target object in the game scene, and controlling the shooting view angle of the virtual camera to be switched from the first view angle to the target view angle so as to display a second scene picture shot by the virtual camera at the target view angle on the graphical user interface. According to the mode, the operation mode of view angle adjustment is simplified, and the game experience of players is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of game technology, and in particular to a method, device and electronic equipment for interactive control of game perspectives. Background Art

[0002] In shooting games, players usually judge the position and distance of the enemy through the sound effects in the game, such as the enemy's footsteps and gunshots. After hearing the sound effect, the player needs to manually adjust the view to the direction of the sound effect to view the corresponding enemy. However, this operation is difficult. Improper operation will cause the view to shake, making it difficult to find the enemy's position, affecting the player's gaming experience. Summary of the invention

[0003] In view of this, an object of the present invention is to provide a method, device and electronic device for interactive control of game perspective, so as to simplify the operation mode of perspective adjustment and improve the game experience of players.

[0004] In a first aspect, an embodiment of the present invention provides an interactive control method for a game perspective, providing a graphical user interface through a terminal device; the graphical user interface displays a first scene image captured by a virtual camera at a first perspective; the first scene image includes at least part of a game scene, and the game scene includes a controlled virtual object controlled by the terminal device, the method comprising: monitoring whether the controlled virtual object receives sound information generated by a target object in the game scene; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object; in response to receiving the sound information, playing a corresponding sound signal on the terminal device and displaying a perspective adjustment control in the graphical user interface; in response to a trigger operation on the perspective adjustment control, determining a target perspective based on the object position of the target object in the game scene, and controlling the shooting perspective of the virtual camera to switch from the first perspective to the target perspective, so as to display a second scene image captured by the virtual camera at the target perspective in the graphical user interface.

[0005] In a second aspect, an embodiment of the present invention provides an interactive control device for a game perspective, which provides a graphical user interface through a terminal device; the graphical user interface displays a first scene image captured by a virtual camera at a first perspective; the first scene image includes at least part of a game scene, and the game scene includes a controlled virtual object controlled by the terminal device, and the device includes: a sound monitoring module, which is used to monitor whether the controlled virtual object receives sound information generated by a target object in the game scene; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object; a perspective adjustment control display module, which is used to play a corresponding sound signal on the terminal device and display a perspective adjustment control in the graphical user interface; a first perspective switching module, which is used to respond to a trigger operation on the perspective adjustment control, determine a target perspective based on the object position of the target object in the game scene, and control the shooting perspective of the virtual camera to switch from the first perspective to the target perspective, so as to display a second scene image captured by the virtual camera at the target perspective in the graphical user interface.

[0006] In a third aspect, an embodiment of the present invention provides an electronic device, including 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 above-mentioned interactive control method of game perspective.

[0007] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned interactive control method of the game perspective.

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

[0009] The above-mentioned interactive control method, device and electronic device of a game perspective monitor whether the controlled virtual object receives the sound information generated by the target object in the game scene; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object; in response to receiving the sound information, the corresponding sound signal is played on the terminal device and a perspective adjustment control is displayed in the graphical user interface; in response to the trigger operation of the perspective adjustment control, a target perspective is determined based on the object position of the target object in the game scene, and the shooting perspective of the virtual camera is controlled to switch from the first perspective to the target perspective, so as to display the second scene picture shot by the virtual camera at the target perspective in the graphical user interface. This method simplifies the operation method of perspective adjustment and improves the game experience of players.

[0010] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[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 given below and described in detail with reference to the accompanying 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 those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0013] Figure 1 A flowchart of an interactive control method of a game perspective provided by an embodiment of the present invention;

[0014] Figure 2 A schematic diagram of a first scene picture provided by an embodiment of the present invention;

[0015] Figure 3 A schematic diagram of another first scene picture provided by an embodiment of the present invention;

[0016] Figure 4 A schematic diagram of a target sight line direction provided by an embodiment of the present invention;

[0017] Figure 5 A schematic diagram of a second scene picture provided by an embodiment of the present invention;

[0018] Figure 6 A schematic diagram of an orientation indicator provided by an embodiment of the present invention;

[0019] Figure 7 A schematic diagram of a graphical user interface before and after a viewing angle is moved provided by an embodiment of the present invention;

[0020] Figure 8 A schematic diagram of a graphical user interface before and after a viewing angle is switched to an original viewing angle provided by an embodiment of the present invention;

[0021] Fig. 9 A schematic diagram of a graphical user interface after perspective switching provided by an embodiment of the present invention;

[0022] Fig.10 A schematic diagram of another graphical user interface before and after perspective movement provided by an embodiment of the present invention;

[0023] Fig.11 A schematic diagram of a cursor displaying a voiceprint identifier provided by an embodiment of the present invention;

[0024] Fig.12 A schematic diagram of the structure of an interactive control device for game perspectives provided by an embodiment of the present invention;

[0025] Fig.13 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0027] In some games, such as shooting games, players can judge the enemy's position and distance through the sound effects in the game. However, after hearing the enemy's footsteps or gunshots, the player needs to manually adjust the perspective to turn to the enemy's position. For novice players, this operation threshold is relatively high. If the operation is not proficient, the perspective will shake when adjusting, and it is difficult to find the enemy's position, resulting in a poor gaming experience for players.

[0028] Based on this, an embodiment of the present invention provides an interactive control method, device and electronic device for game perspective. This technology can be applied to various game scenes that require locating enemies through sound effects.

[0029] In one embodiment of the present invention, the interactive control method of the game perspective can be run on a local terminal device or a server. When the interactive control method of the game perspective is run on a server, the method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive system includes a server and a client device.

[0030] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interactive system. Taking cloud games as an example, cloud games refer to a game mode 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 interactive control method of the game perspective 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, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

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

[0032] See also Figure 1 First, an interactive control method of a game perspective provided by an embodiment of the present invention is introduced, a graphical user interface is provided through a terminal device; the graphical user interface displays a first scene image captured by a virtual camera at a first perspective; the first scene image includes at least part of a game scene, and the game scene includes a controlled virtual object controlled by the terminal device. The method includes the following steps:

[0033] Step S102, monitoring whether the controlled virtual object receives sound information generated by the target object in the game scene; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object.

[0034] The above sound information can be preset footsteps, breathing sounds, shouts, gunshots, etc. The sound information is emitted from the position of the target object in the game scene, which can be footsteps emitted by a virtual object, or explosion sounds emitted by a cannon prop, etc. As can be seen from the above, the target object can be a virtual prop or a virtual object in the scene. During the propagation process, it will usually attenuate like the sound in the real world, or be absorbed by the scene objects in the game scene, etc. The above scene objects can be building objects or natural landscape objects, such as trees, mountains, buildings, etc., which are determined according to the specific needs.

[0035] After the target object generates sound information, it is necessary to determine the volume of the sound information when it is transmitted to the current position of the controlled virtual object based on the distance between the controlled virtual object and the target object, as well as other objects between the two. If the volume is greater than the minimum volume that the controlled virtual object can hear, it is considered that the controlled virtual object can receive the sound information generated by the target object. Otherwise, it is considered that it cannot be received.

[0036] Step S104, in response to receiving the sound information, playing a corresponding sound signal on the terminal device and displaying a viewing angle adjustment control in the graphical user interface.

[0037] If it is determined that the controlled virtual object receives the sound information, the corresponding sound signal needs to be played on the terminal device. In order to facilitate the player to switch the perspective, the perspective adjustment control can be displayed in the graphical user interface.

[0038] The above-mentioned viewing angle adjustment control may be displayed at a preset fixed position, or may be displayed based on the positional relationship between the determined target viewing angle and the current viewing angle. Figure 2 As shown, when the target perspective is to the left of the current perspective, the perspective adjustment control can be displayed to the left of the controlled virtual object. When there are multiple target objects that emit sounds at the same time, multiple perspective adjustment controls can be displayed at the same time, and the display position of each perspective adjustment control can be determined by the positional relationship between the corresponding target perspective and the current perspective. Figure 3 As shown, control 1, control 2 and control 3 are displayed from left to right. Control 1 and control 2 are displayed on the left side of the controlled virtual object. If control 1 is closer to the controlled virtual object, it means that the target perspective corresponding to control 1 is closer to the current perspective than the target perspective corresponding to control 2.

[0039] Step S106, in response to the trigger operation of the perspective adjustment control, a target perspective is determined based on the object position of the target object in the game scene, and the shooting perspective of the virtual camera is controlled to switch from the first perspective to the target perspective, so as to display the second scene picture shot by the virtual camera at the target perspective on the graphical user interface.

[0040] The trigger operation may be a preset touch operation such as a click operation, a double-click operation, a long press operation, etc. The specific setting may be based on the requirements and is not limited here.

[0041] The viewing angle refers to the angle formed by the light rays drawn from the two ends of the object (up, down or left, right) at the optical center of the human eye when observing the object. In games, a camera is usually used instead of the human eye to shoot the game scene and generate a scene screen. The scene screen shot through the above-mentioned target viewing angle usually requires a target object to help players view the target object. When the target object is far away from the controlled virtual object, the target viewing angle needs to include the direction in which the controlled virtual object points to the location of the target object.

[0042] Therefore, the line between the object position of the target object and the current position of the controlled virtual object needs to be included in the target viewing angle range. Whether to use the line between the two as the center of the target viewing angle can be set according to needs and is not limited here.

[0043] After determining the target viewing angle, the shooting angle of the virtual camera can be controlled to switch to the target viewing angle, and the game scene screen under the viewing angle can be photographed, so that the photographed second scene screen is displayed on the graphical user interface. Thereafter, the viewing angle adjustment control can be cancelled or set to a non-triggerable state.

[0044] When multiple target objects make sounds at the same time, or make sounds one after another in a short period of time, multiple target perspectives can be determined accordingly. At this time, different target perspectives can be adjusted by clicking the perspective adjustment control different times. For example, the first click can control the virtual camera to adjust to the target perspective with the smallest offset angle from the current perspective, and the second click can control the virtual camera to adjust to the target perspective with the smallest offset angle from the current target perspective, etc.

[0045] When there are multiple target perspectives, a perspective adjustment control can be displayed for each target perspective as described above. By triggering different perspective adjustment controls, the perspective of the virtual camera can be controlled to switch to the corresponding target perspective. The specific switching method can be set according to needs and will not be described in detail here.

[0046] The above-mentioned interactive control method of game perspective monitors whether the controlled virtual object receives the sound information generated by the target object in the game scene; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object; in response to receiving the sound information, the corresponding sound signal is played on the terminal device and a perspective adjustment control is displayed in the graphical user interface; in response to the trigger operation of the perspective adjustment control, a target perspective is determined based on the object position of the target object in the game scene, and the shooting perspective of the virtual camera is controlled to switch from the first perspective to the target perspective, so as to display the second scene picture shot by the virtual camera at the target perspective in the graphical user interface. This method simplifies the operation method of perspective adjustment and improves the game experience of players.

[0047] The following embodiment provides an implementation method for monitoring whether a controlled virtual object receives sound information generated by a target object in a game scene.

[0048] When a virtual object in a game scene generates sound information, the sound information has an initial volume. In order to simulate the characteristics of the sound volume in the real world, which gradually decays with the propagation distance and is blocked when encountering obstacles, the sound attenuation influence parameter can be set for the scene object in the game scene to indicate the attenuation effect of the scene object on the sound information. The parameter is usually related to the properties of the scene object.

[0049] When a virtual object in the game scene generates sound information, in response to monitoring the target object to generate sound information, the object position of the target object, the current position of the controlled virtual object, and the sound attenuation influence parameter of the target scene object are obtained; wherein, the target scene object is located between the target object and the controlled virtual object. Specifically, the line between the target object and the controlled virtual object can pass through the target scene object, or the target scene object can be located in a scene area including the target object and the controlled virtual object, such as a circular scene area determined by the target object and the controlled virtual object as the diameter, which can be set according to the needs and is not limited here. Then, based on the object position of the target object, the current position of the controlled virtual object, and the sound attenuation influence parameter of the target scene object, the volume parameter of the sound information at the current position of the controlled virtual object is calculated; specifically, it can be calculated according to the law of sound attenuation with distance, and the influence of the sound attenuation influence parameter in the sound attenuation process, which is not repeated here. A parameter threshold can be pre-set, which is the lower limit of the sound volume that the controlled virtual object can hear, and in response to the volume parameter being greater than or equal to the preset parameter threshold, it is determined that the controlled virtual object receives the sound information generated by the target object.

[0050] The following embodiment provides a method for responding to a trigger operation for a perspective adjustment control, determining a target perspective based on the object position of the target object in the game scene, and controlling the shooting perspective of the virtual camera to switch from a first perspective to the target perspective, so as to display a second scene image shot by the virtual camera at the target perspective on a graphical user interface.

[0051] After the view adjustment control is triggered, the target sight direction can be determined based on the current position of the virtual camera and the object position of the target object in the game scene. The target sight direction is the direction from the current position of the virtual camera to the object position; then the target sight direction can be used to determine the target sight for controlling the switching of the shooting angle of the virtual camera, for example, directly taking the target event direction as the center of the target sight, thereby determining the target sight based on the sight range. The shooting angle of the target sight direction offset by the preset sight range can also be determined as the target sight for controlling the switching of the shooting angle of the virtual camera. The preset sight range can be a preset angle.

[0052] like Figure 4 As shown in the figure, A represents the target object, B represents the virtual camera, and the line between A and B represents the line from the current position of the virtual camera to the scene position of the target object. The target sight line direction can coincide with the line, that is, the above preset angle value is 0. In order to prevent the controlled virtual object from accidentally injuring the target object by releasing skills while switching the perspective, the target sight line direction can be set to have a certain angle with the above line, such as 3°. Figure 4 The middle dashed line indicates the target sight direction. The size of the above viewing angle range is usually related to the shooting parameters of the virtual camera, which can be set based on demand and is not limited here.

[0053] A game scene usually includes multiple virtual objects, and multiple virtual objects may make sounds at the same time. At this time, these virtual objects can all be regarded as target virtual objects. Correspondingly, based on the above method of determining the target perspective, multiple target perspectives can also be determined. The switching order can be related to the distance between the target object and the controlled virtual object. For example, the target sub-perspective corresponding to the target object that is closer to the controlled virtual object is switched earlier; it can also be related to the angle between the target sub-perspective and the current perspective. For example, the smaller the offset angle with the current perspective, the earlier the switching order of the target sub-perspective.

[0054] When the player performs the first trigger operation on the perspective adjustment control, in response to the trigger operation on the perspective adjustment control, the shooting perspective of the virtual camera can be controlled to switch from the first perspective to the first target perspective, wherein the first target perspective is the target perspective corresponding to the target object closest to the controlled virtual object among multiple target perspectives, or the target perspective with the smallest offset angle from the first perspective. After the first trigger operation, when the player performs a sliding operation on the perspective adjustment control in a continuous manner with the trigger operation, in response to the sliding operation in a continuous manner with the trigger operation, the shooting perspective of the virtual camera is controlled to switch from the first target perspective to other target perspectives among the multiple target perspectives based on the sliding operation.

[0055] When the first target perspective is the target perspective corresponding to the target object closest to the controlled virtual object among the multiple target perspectives, the first arrangement order corresponding to the multiple target objects can be determined according to the distance between the target object and the controlled virtual object. In the arrangement order, the target object closer to the controlled virtual object is usually ranked higher, and the arrangement can also be reversed, which can be set according to needs. A first specified direction and a second specified direction can be set. Generally speaking, the first specified direction and the second specified direction are opposite directions, for example, the first specified direction can be leftward, and the second specified direction can be rightward.

[0056] When the player slides the perspective adjustment control in a first specified direction, the sliding direction of the sliding operation that responds to the continuous sliding operation of the trigger operation points to the first specified direction, and the shooting perspective of the virtual camera is controlled to switch from the first target perspective to the second target perspective corresponding to the target object that is located before the target object corresponding to the first target perspective in the above-mentioned first arrangement order. If in the first arrangement order, the target object that is closer to the controlled virtual object is ranked higher, that is, the second target perspective is switched to the target object that is closer to the controlled virtual object; the sliding direction of the sliding operation that responds to the continuous sliding operation of the trigger operation points to the second specified direction, and the shooting perspective of the virtual camera is controlled to switch from the second target perspective to the third target perspective corresponding to the target object that is located after the target object corresponding to the second target perspective in the first arrangement order. If in the first arrangement order, the target object that is closer to the controlled virtual object is ranked higher, that is, the second target perspective is switched to the target object that is farther away from the controlled virtual object.

[0057] When the first target perspective is the target perspective with the smallest offset angle from the first perspective among multiple target perspectives, the second arrangement order corresponding to the multiple target perspectives can be determined according to the offset angle between the target perspective and the first perspective. In this arrangement order, the target object with a smaller offset angle from the first perspective is usually ranked higher, and the reverse arrangement can also be made. Similar to the above situation, the first specified direction and the second specified direction can also be pre-set, which can be set according to the needs and will not be described in detail here.

[0058] When the player slides the perspective adjustment control in a first specified direction, the sliding direction of the sliding operation that responds to the continuous sliding operation of the trigger operation points to the first specified direction, and the shooting perspective of the virtual camera is controlled to switch from the first target perspective to the fourth target perspective that is located before the first target perspective in the second arrangement order. If in the arrangement order, the target object with a smaller offset angle from the first perspective is ranked higher, the control is switched to the fourth target perspective with a smaller offset angle from the first perspective; the sliding direction of the sliding operation that responds to the continuous sliding operation of the trigger operation points to the second specified direction, and the shooting perspective of the virtual camera is controlled to switch from the fourth target perspective to the fifth target perspective that is located after the fourth target perspective in the second arrangement order; if in the arrangement order, the target object with a smaller offset angle from the first perspective is ranked higher, the control is switched to the fourth target perspective with a larger offset angle from the first perspective.

[0059] After the viewing angle adjustment control is triggered, a first countdown mark may be displayed at a specified position of the viewing angle adjustment control; the first countdown mark is used to indicate the time difference between the duration after the viewing angle is switched and the specified duration. The specified position may be within the display range of the viewing angle adjustment control or around the viewing angle adjustment control. Figure 5 As shown, the first countdown mark is displayed above the viewing angle adjustment control, and the countdown time is 3s. In response to the third trigger operation on the viewing angle adjustment control, and the time difference indicated by the first countdown mark is greater than the specified value, the shooting angle of the virtual camera can be controlled to switch to the angle before the target angle. The above-mentioned specified value is usually 0, that is, before the countdown ends, triggering the viewing angle adjustment control again can control the shooting angle of the virtual camera to switch from the target angle to the first angle, that is, the original angle.

[0060] The virtual camera usually moves with the controlled virtual object, and the shooting angle of the virtual camera follows the direction of the controlled virtual object in the game scene; that is, the scene image captured by the virtual camera is equivalent to the scene image that the controlled virtual object can see. In response to the trigger operation of the angle adjustment control, the controlled virtual object can be controlled to turn to a direction that matches the target angle direction, usually the direction corresponding to the above-mentioned target line of sight.

[0061] In some games, the graphical user interface also displays an orientation indicator, which can have multiple forms, such as a small map form, a cursor form, etc. The orientation indicator is used to indicate the orientation of the controlled virtual object in the game scene. The display area of ​​the orientation indicator corresponds to the first scene area determined based on the orientation of the controlled virtual object. When the orientation indicator adopts a small map form, it is necessary to determine the corresponding first scene area according to the orientation and current position of the controlled virtual object; when the orientation indicator is in the form of a cursor, it can indicate the virtual objects and scene objects on the left and right sides of the controlled virtual object based on the orientation of the controlled virtual object. After monitoring that the controlled virtual object receives the sound information generated by the target object, a sound indication mark for prompting the orientation of the target object can be displayed in the orientation indicator at a display position corresponding to the object position of the target object. After controlling the controlled virtual object to turn to a direction matching the target viewing direction, the display position of the sound indication mark in the orientation indicator is also updated based on the target viewing angle, so that the sound indication mark indicates the orientation of the target object relative to the controlled virtual object in real time. At the same time, the sound indicator corresponding to the target object can be displayed in a preset display format, such as flashing display, or highlighting display, to prompt the player that the current viewing angle corresponds to the location of the target object.

[0062] When there are multiple target objects, the target perspective includes target sub-perspectives corresponding to the multiple target objects; and the direction indicator displays the sound indication marks corresponding to the multiple target objects. Figure 6 As shown, taking the position indicator in the form of a cursor as an example, three sound indication marks are displayed in the position indicator, which are respectively represented by marks A, B and C. The sound indication mark corresponding to the same position of the cursor as the object mark 1 of the controlled virtual object, that is, mark A, is displayed in gray, indicating that the shooting angle of the virtual camera is located at the target sub-angle corresponding to mark A.

[0063] When there are multiple target sub-perspectives, the target sub-perspective to be switched to can also be determined by sliding operation. In response to the sliding operation on the perspective adjustment control, the corresponding perspective switching direction among the multiple target sub-perspectives and the target sub-perspective corresponding to the sliding direction of the sliding operation can be determined as the current sub-perspective, and the shooting perspective of the virtual camera is controlled to switch to the target sub-perspective corresponding to the current sub-perspective. The above-mentioned perspective switching direction is the direction in which the virtual camera needs to rotate from the current perspective to the target sub-perspective, that is, when the perspective adjustment control is slid to the left, the virtual camera switches from the current perspective to the left and rotates to switch to the target sub-perspective on the left.

[0064] The embodiment of the present invention also provides another interactive control method for game perspectives. Figure 1This method only provides a vague direction when controlling the view direction, and is independent of distance and height. The view direction can be locked by hearing a sound, and is applicable to multiple target view angles determined by the sound emitted by multiple virtual objects.

[0065] In this method, after hearing the enemy's voice, the player clicks the "Turn" button (i.e. the above-mentioned view adjustment control), and the view of the virtual camera can be turned to the enemy's direction. At this time, a triangle mark is displayed on the cursor for the target's voiceprint, indicating that the view has been turned to the target. Figure 7 shown.

[0066] The above-mentioned voiceprint is a UI mark that appears in shooting mobile games and is used to display the direction of gunshots and footsteps. It is mounted on the top cursor and moves with the cursor.

[0067] After clicking the "Turn" button, a 5-second countdown will appear at the button position. During these 5 seconds, clicking the button again will return to the original perspective. Figure 8 shown.

[0068] When turning to the enemy, the shooting crosshair will not be accurately aimed at the enemy, and there will be a 5° error from the edge of the enemy model to prevent the player from shooting while automatically turning. Fig. 9 As shown, in the small map, the sight direction of the controlled virtual object is not facing the enemy.

[0069] When there are multiple sounds at the same time, click the "Turn" button to turn to the enemy with the smallest angle deviation from the player first, then press and hold the "Turn" button and slide left and right to switch the locked target, such as Fig.10 shown.

[0070] In the above text, the switching direction target is determined according to the direction of the sound print on the cursor, such as Fig.11 As shown, after switching the turning target, the countdown returns to the original perspective and restarts.

[0071] The above method provides an interactive solution for turning to the enemy's direction through the sound made by the enemy in a shooting mobile game, which mainly includes clicking the sound mark icon to turn the view to the enemy's direction, clicking again within the countdown to return to the original view, the turning direction has a 5° error with the edge of the enemy model, and multiple sounds can change the turning target and other interactive methods.

[0072] For the above method embodiments, see Fig.12 The embodiment of the present invention shown provides an interactive control device for game perspective, which provides a graphical user interface through a terminal device; the graphical user interface displays a first scene screen of a game scene where a controlled virtual object is located; the first scene screen is obtained by shooting in the game scene through a virtual camera; the device includes:

[0073] The sound monitoring module 1002 is used to monitor whether the controlled virtual object receives the sound information generated by the target object in the game scene; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object;

[0074] A viewing angle adjustment control display module 1004 is used to play a corresponding sound signal on the terminal device and display a viewing angle adjustment control in the graphical user interface;

[0075] The first perspective switching module 1006 is used to respond to the trigger operation of the perspective adjustment control, determine a target perspective based on the object position of the target object in the game scene, and control the shooting perspective of the virtual camera to switch from the first perspective to the target perspective, so as to display the second scene picture shot by the virtual camera under the target perspective in the graphical user interface.

[0076] The above-mentioned interactive control device for game perspective monitors whether the controlled virtual object receives the sound information generated by the target object in the game scene; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object; in response to receiving the sound information, the corresponding sound signal is played on the terminal device and a perspective adjustment control is displayed in the graphical user interface; in response to the trigger operation of the perspective adjustment control, a target perspective is determined based on the object position of the target object in the game scene, and the shooting perspective of the virtual camera is controlled to switch from the first perspective to the target perspective, so as to display the second scene picture shot by the virtual camera at the target perspective in the graphical user interface. This method simplifies the operation method of perspective adjustment and improves the game experience of players.

[0077] The above-mentioned first perspective switching module is also used to: determine the target line of sight direction based on the current position of the virtual camera and the object position of the target object in the game scene; wherein the target line of sight direction is the direction from the current position of the virtual camera to the object position; and determine the target perspective for controlling the switching of the shooting perspective of the virtual camera based on the target line of sight direction.

[0078] The first viewing angle switching module is further used to: determine a shooting viewing angle whose target sight line direction is offset by a preset viewing angle range as a target viewing angle for controlling the switching of the shooting viewing angle of the virtual camera.

[0079] In the above method, when there are multiple target objects, the above-mentioned first perspective switching module is also used to: respond to a trigger operation on a perspective adjustment control, determine multiple target perspectives based on the object positions of the multiple target objects in the game scene, and control the shooting perspective of the virtual camera to switch from the first perspective to the first target perspective; the first target perspective is the target perspective corresponding to the target object closest to the controlled virtual object among the multiple target perspectives, or the target perspective with the smallest offset angle with the first perspective; respond to a sliding operation continuous with the trigger operation, and control the shooting perspective of the virtual camera to switch from the first target perspective to other target perspectives among the multiple target perspectives based on the sliding operation.

[0080] The above-mentioned first target perspective is the target perspective corresponding to the target object closest to the controlled virtual object among multiple target perspectives; the multiple target objects correspond to a first arrangement order generated according to the distance between the target object and the controlled virtual object; the above-mentioned first perspective switching module is also used to: respond to a sliding operation that is continuous with the trigger operation, with the sliding direction pointing to the first specified direction, control the shooting perspective of the virtual camera to switch from the first target perspective to a second target perspective corresponding to the target object that is located before the target object corresponding to the first target perspective in the first arrangement order; respond to a sliding operation that is continuous with the trigger operation, with the sliding direction pointing to the second specified direction, control the shooting perspective of the virtual camera to switch from the second target perspective to a third target perspective corresponding to the target object that is located after the target object corresponding to the second target perspective in the first arrangement order.

[0081] The above-mentioned first target perspective is the target perspective with the smallest offset angle with the first perspective among multiple target perspectives; the multiple target perspectives correspond to a second arrangement order generated according to the offset angle between the target perspective and the first perspective; the above-mentioned first perspective switching module is also used to: respond to a sliding operation that is continuous with the trigger operation, with the sliding direction pointing to the first specified direction, control the shooting perspective of the virtual camera to switch from the first target perspective to the fourth target perspective that is located before the first target perspective in the second arrangement order; respond to a sliding operation that is continuous with the trigger operation, with the sliding direction pointing to the second specified direction, control the shooting perspective of the virtual camera to switch from the fourth target perspective to the fifth target perspective that is located after the fourth target perspective in the second arrangement order.

[0082] The virtual camera moves with the controlled virtual object; the shooting angle of the virtual camera follows the direction change of the controlled virtual object in the game scene; the device also includes: a direction steering module, which is used to respond to the trigger operation of the angle adjustment control and control the controlled virtual object to turn to a direction matching the target angle direction.

[0083] The above-mentioned graphical user interface also displays an orientation indicator; the orientation indicator is used to indicate the direction of the controlled virtual object in the game scene; the above-mentioned device also includes: a sound indicator mark display module, which is used to display a sound indicator mark for prompting the orientation of the target object at a display position corresponding to the object position of the target object in the orientation indicator in response to receiving sound information; the above-mentioned device also includes: an update display module, which is used to update the display position of the sound indicator mark in the orientation indicator based on the target viewing angle, so that the sound indicator mark indicates the orientation of the target object relative to the controlled virtual object in real time.

[0084] The above-mentioned device also includes: a countdown display module, which is used to display a first countdown mark at a specified position of the perspective adjustment control; the first countdown mark is used to indicate the time difference between the duration after the perspective switch and the specified duration; a second perspective switching module, which is used to respond to the trigger operation of the perspective adjustment control, and the time difference indicated by the first countdown mark is greater than the specified value, to control the shooting perspective of the virtual camera to switch from the target perspective to the first perspective.

[0085] The above-mentioned sound indicator is triggerable; the above-mentioned device also includes: a third perspective switching module, which is used to respond to the trigger operation acting on the sound indicator and control the shooting perspective of the virtual camera to switch from the first perspective to the target perspective corresponding to the sound indicator.

[0086] The above-mentioned sound monitoring module is also used for: in response to monitoring the sound information generated by the target object, obtaining the object position of the target object, the current position of the controlled virtual object and the sound attenuation influence parameter of the target scene object; the target scene object is located between the target object and the controlled virtual object; the sound attenuation influence parameter is used to indicate the attenuation effect of the target scene object on the sound information; based on the object position of the target object, the current position of the controlled virtual object and the sound attenuation influence parameter of the target scene object, calculating the volume parameter of the sound information at the current position of the controlled virtual object; in response to the volume parameter being greater than or equal to a preset parameter threshold, determining that the target object has received the sound information generated by the target object.

[0087] This embodiment also provides an electronic device, including 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 above-mentioned interactive control method of game perspectives. The details are as follows:

[0088] In a game scene, the controlled virtual object is monitored to see whether it receives sound information generated by a target object; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object; in response to receiving the sound information, a corresponding sound signal is played on a terminal device and a viewing angle adjustment control is displayed in a graphical user interface; in response to a trigger operation on the viewing angle adjustment control, a target viewing angle is determined based on the object position of the target object in the game scene, and the shooting angle of the virtual camera is controlled to switch from a first viewing angle to a target viewing angle, so as to display a second scene image shot by the virtual camera at the target viewing angle in the graphical user interface.

[0089] The above method simplifies the operation method of viewing angle adjustment and improves the player's gaming experience.

[0090] Optionally, the above-mentioned step of determining a target viewing angle based on the object position of the target object in the game scene includes: determining a target sight line direction based on the current position of the virtual camera and the object position of the target object in the game scene; wherein the target sight line direction is the direction from the current position of the virtual camera to the object position; and determining a target viewing angle for controlling the switching of the shooting viewing angle of the virtual camera based on the target sight line direction.

[0091] Optionally, the above-mentioned step of determining a target viewing angle for controlling the switching of the shooting viewing angle of the virtual camera based on the target sight line direction includes: determining a shooting viewing angle that is offset by a preset viewing angle range from the target sight line direction as the target viewing angle for controlling the switching of the shooting viewing angle of the virtual camera.

[0092] Optionally, in the above method, when there are multiple target objects, responding to a trigger operation on a perspective adjustment control, determining a target perspective based on the object position of the target object in the game scene, and controlling the shooting perspective of the virtual camera to switch from a first perspective to a target perspective, includes: responding to a trigger operation on a perspective adjustment control, determining multiple target perspectives based on the object positions of multiple target objects in the game scene, and controlling the shooting perspective of the virtual camera to switch from the first perspective to a first target perspective; the first target perspective is a target perspective corresponding to the target object closest to the controlled virtual object among the multiple target perspectives, or a target perspective with the smallest offset angle from the first perspective; responding to a sliding operation continuous with the trigger operation, controlling the shooting perspective of the virtual camera to switch from the first target perspective to other target perspectives among the multiple target perspectives based on the sliding operation.

[0093] Optionally, the above-mentioned first target perspective is a target perspective corresponding to a target object that is closest to the controlled virtual object among multiple target perspectives; the multiple target objects correspond to a first arrangement order generated according to the distance between the target object and the controlled virtual object; in response to a sliding operation that is continuous with the trigger operation, the step of controlling the shooting perspective of the virtual camera to switch from the first target perspective to other target perspectives among the multiple target perspectives based on the sliding operation includes: in response to the sliding direction of the sliding operation that is continuous with the trigger operation pointing to a first specified direction, controlling the shooting perspective of the virtual camera to switch from the first target perspective to a second target perspective corresponding to a target object that is located before the target object corresponding to the first target perspective in the first arrangement order; in response to the sliding direction of the sliding operation that is continuous with the trigger operation pointing to a second specified direction, controlling the shooting perspective of the virtual camera to switch from the second target perspective to a third target perspective corresponding to a target object that is located after the target object corresponding to the second target perspective in the first arrangement order.

[0094] Optionally, the above-mentioned first target perspective is the target perspective with the smallest offset angle with the first perspective among multiple target perspectives; the multiple target perspectives correspond to a second arrangement order generated according to the offset angle between the target perspective and the first perspective; in response to a sliding operation that is continuous with the trigger operation, the step of controlling the shooting perspective of the virtual camera from the first target perspective to other target perspectives among the multiple target perspectives based on the sliding operation includes: in response to the sliding operation that is continuous with the trigger operation, the sliding direction points to the first specified direction, and the shooting perspective of the virtual camera is controlled to switch from the first target perspective to a fourth target perspective that is located before the first target perspective in the second arrangement order; in response to the sliding operation that is continuous with the trigger operation, the sliding direction points to the second specified direction, and the shooting perspective of the virtual camera is controlled to switch from the fourth target perspective to the fifth target perspective that is located after the fourth target perspective in the second arrangement order.

[0095] Optionally, the virtual camera follows the movement of the controlled virtual object; the shooting angle of the virtual camera follows the direction change of the controlled virtual object in the game scene; the method also includes: responding to a trigger operation for a perspective adjustment control, controlling the controlled virtual object to turn to a direction matching the target perspective direction.

[0096] Optionally, the above-mentioned graphical user interface also displays an orientation indicator; the orientation indicator is used to indicate the direction of the controlled virtual object in the game scene; the above-mentioned method also includes: in response to receiving sound information, displaying a sound indicator mark for prompting the orientation of the target object at a display position corresponding to the object position of the target object in the orientation indicator; after the step of controlling the shooting perspective of the virtual camera to switch from the first perspective to the target perspective, the above-mentioned method also includes: based on the target perspective, updating the display position of the sound indicator mark in the orientation indicator, so that the sound indicator mark indicates the orientation of the target object relative to the controlled virtual object in real time.

[0097] Optionally, after the above-mentioned response to the trigger operation of the perspective adjustment control, determining a target perspective based on the object position of the target object in the game scene, and controlling the shooting perspective of the virtual camera to switch from the first perspective to the target perspective, the above-mentioned method also includes: displaying a first countdown mark at a specified position of the perspective adjustment control; the first countdown mark is used to indicate the time difference between the duration after the perspective switching and the specified duration; in response to the trigger operation of the perspective adjustment control, and the time difference indicated by the first countdown mark is greater than the specified value, controlling the shooting perspective of the virtual camera to switch from the target perspective to the first perspective.

[0098] Optionally, the sound indicator is triggerable; the method further includes: in response to a trigger operation on the sound indicator, controlling the shooting angle of the virtual camera to switch from a first angle of view to a target angle of view corresponding to the sound indicator.

[0099] Optionally, the above-mentioned step of monitoring whether the controlled virtual object receives the sound information generated by the target object in the game scene includes: in response to monitoring the target object generating sound information, obtaining the object position of the target object, the current position of the controlled virtual object and the sound attenuation influence parameter of the target scene object; the target scene object is located between the target object and the controlled virtual object; the sound attenuation influence parameter is used to indicate the attenuation effect of the target scene object on the sound information; based on the object position of the target object, the current position of the controlled virtual object and the sound attenuation influence parameter of the target scene object, calculating the volume parameter of the sound information at the current position of the controlled virtual object; in response to the volume parameter being greater than or equal to a preset parameter threshold, determining that the target object receives the sound information generated by the target object.

[0100] See also Fig.13 As shown, the electronic device includes a processor 100 and a memory 101, wherein the memory 101 stores machine executable instructions that can be executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the above-mentioned interactive control method of the game perspective.

[0101] Further, Fig.13 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .

[0102] The memory 101 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, Fig.13 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.

[0103] The processor 100 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 or software instructions in the processor 100. The above processor 100 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 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the above embodiment in combination with its hardware.

[0104] This embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned interactive control method of the game perspective.

[0105] The embodiments of the present invention provide a method, device and electronic device for interactive control of game perspectives, including a computer-readable storage medium storing program codes, wherein the program codes include instructions that can be used to execute the methods described in the above method embodiments. Specifically, as follows:

[0106] In a game scene, the controlled virtual object is monitored to see whether it receives sound information generated by a target object; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object; in response to receiving the sound information, a corresponding sound signal is played on a terminal device and a viewing angle adjustment control is displayed in a graphical user interface; in response to a trigger operation on the viewing angle adjustment control, a target viewing angle is determined based on the object position of the target object in the game scene, and the shooting angle of the virtual camera is controlled to switch from a first viewing angle to a target viewing angle, so as to display a second scene image shot by the virtual camera at the target viewing angle in the graphical user interface.

[0107] The above method simplifies the operation method of viewing angle adjustment and improves the player's gaming experience.

[0108] Optionally, the above-mentioned step of determining a target viewing angle based on the object position of the target object in the game scene includes: determining a target sight line direction based on the current position of the virtual camera and the object position of the target object in the game scene; wherein the target sight line direction is the direction from the current position of the virtual camera to the object position; and determining a target viewing angle for controlling the switching of the shooting viewing angle of the virtual camera based on the target sight line direction.

[0109] Optionally, the above-mentioned step of determining a target viewing angle for controlling the switching of the shooting viewing angle of the virtual camera based on the target sight line direction includes: determining a shooting viewing angle that is offset by a preset viewing angle range from the target sight line direction as the target viewing angle for controlling the switching of the shooting viewing angle of the virtual camera.

[0110] Optionally, in the above method, when there are multiple target objects, responding to a trigger operation on a perspective adjustment control, determining a target perspective based on the object position of the target object in the game scene, and controlling the shooting perspective of the virtual camera to switch from a first perspective to a target perspective, includes: responding to a trigger operation on a perspective adjustment control, determining multiple target perspectives based on the object positions of multiple target objects in the game scene, and controlling the shooting perspective of the virtual camera to switch from the first perspective to a first target perspective; the first target perspective is a target perspective corresponding to the target object closest to the controlled virtual object among the multiple target perspectives, or a target perspective with the smallest offset angle from the first perspective; responding to a sliding operation continuous with the trigger operation, controlling the shooting perspective of the virtual camera to switch from the first target perspective to other target perspectives among the multiple target perspectives based on the sliding operation.

[0111] Optionally, the above-mentioned first target perspective is a target perspective corresponding to a target object that is closest to the controlled virtual object among multiple target perspectives; the multiple target objects correspond to a first arrangement order generated according to the distance between the target object and the controlled virtual object; in response to a sliding operation that is continuous with the trigger operation, the step of controlling the shooting perspective of the virtual camera to switch from the first target perspective to other target perspectives among the multiple target perspectives based on the sliding operation includes: in response to the sliding direction of the sliding operation that is continuous with the trigger operation pointing to a first specified direction, controlling the shooting perspective of the virtual camera to switch from the first target perspective to a second target perspective corresponding to a target object that is located before the target object corresponding to the first target perspective in the first arrangement order; in response to the sliding direction of the sliding operation that is continuous with the trigger operation pointing to a second specified direction, controlling the shooting perspective of the virtual camera to switch from the second target perspective to a third target perspective corresponding to a target object that is located after the target object corresponding to the second target perspective in the first arrangement order.

[0112] Optionally, the above-mentioned first target perspective is the target perspective with the smallest offset angle with the first perspective among multiple target perspectives; the multiple target perspectives correspond to a second arrangement order generated according to the offset angle between the target perspective and the first perspective; in response to a sliding operation that is continuous with the trigger operation, the step of controlling the shooting perspective of the virtual camera from the first target perspective to other target perspectives among the multiple target perspectives based on the sliding operation includes: in response to the sliding operation that is continuous with the trigger operation, the sliding direction points to the first specified direction, and the shooting perspective of the virtual camera is controlled to switch from the first target perspective to a fourth target perspective that is located before the first target perspective in the second arrangement order; in response to the sliding operation that is continuous with the trigger operation, the sliding direction points to the second specified direction, and the shooting perspective of the virtual camera is controlled to switch from the fourth target perspective to the fifth target perspective that is located after the fourth target perspective in the second arrangement order.

[0113] Optionally, the virtual camera follows the movement of the controlled virtual object; the shooting angle of the virtual camera follows the direction change of the controlled virtual object in the game scene; the method also includes: responding to a trigger operation for a perspective adjustment control, controlling the controlled virtual object to turn to a direction matching the target perspective direction.

[0114] Optionally, the above-mentioned graphical user interface also displays an orientation indicator; the orientation indicator is used to indicate the direction of the controlled virtual object in the game scene; the above-mentioned method also includes: in response to receiving sound information, displaying a sound indicator mark for prompting the orientation of the target object at a display position corresponding to the object position of the target object in the orientation indicator; after the step of controlling the shooting perspective of the virtual camera to switch from the first perspective to the target perspective, the above-mentioned method also includes: based on the target perspective, updating the display position of the sound indicator mark in the orientation indicator, so that the sound indicator mark indicates the orientation of the target object relative to the controlled virtual object in real time.

[0115] Optionally, after the above-mentioned response to the trigger operation of the perspective adjustment control, determining a target perspective based on the object position of the target object in the game scene, and controlling the shooting perspective of the virtual camera to switch from the first perspective to the target perspective, the above-mentioned method also includes: displaying a first countdown mark at a specified position of the perspective adjustment control; the first countdown mark is used to indicate the time difference between the duration after the perspective switching and the specified duration; in response to the trigger operation of the perspective adjustment control, and the time difference indicated by the first countdown mark is greater than the specified value, controlling the shooting perspective of the virtual camera to switch from the target perspective to the first perspective.

[0116] Optionally, the sound indicator is triggerable; the method further includes: in response to a trigger operation on the sound indicator, controlling the shooting angle of the virtual camera to switch from a first angle of view to a target angle of view corresponding to the sound indicator.

[0117] Optionally, the above-mentioned step of monitoring whether the controlled virtual object receives the sound information generated by the target object in the game scene includes: in response to monitoring the target object generating sound information, obtaining the object position of the target object, the current position of the controlled virtual object and the sound attenuation influence parameter of the target scene object; the target scene object is located between the target object and the controlled virtual object; the sound attenuation influence parameter is used to indicate the attenuation effect of the target scene object on the sound information; based on the object position of the target object, the current position of the controlled virtual object and the sound attenuation influence parameter of the target scene object, calculating the volume parameter of the sound information at the current position of the controlled virtual object; in response to the volume parameter being greater than or equal to a preset parameter threshold, determining that the target object receives the sound information generated by the target object.

[0118] See also Fig.13 As shown, the electronic device includes a processor 100 and a memory 101, wherein the memory 101 stores machine executable instructions that can be executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the above-mentioned interactive control method of the game perspective.

[0119] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0120] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0121] 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 server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. 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.

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

[0123] Finally, it should be noted that the above 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 embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above 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 based on the protection scope of the claims.

Claims

1. A method for interactive control of game perspective, characterized in that: A graphical user interface is provided through a terminal device; the graphical user interface displays a first scene image captured by a virtual camera at a first viewing angle; the first scene image includes at least a portion of a game scene, and the game scene includes a controlled virtual object controlled by the terminal device, and the method includes: Monitoring whether the controlled virtual object receives sound information generated by a target object in the game scene; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object; In response to receiving the sound information, playing a corresponding sound signal on the terminal device and displaying a viewing angle adjustment control in the graphical user interface; In response to a trigger operation on the perspective adjustment control, a target perspective is determined based on the object position of the target object in the game scene, and the shooting perspective of the virtual camera is controlled to switch from the first perspective to the target perspective, so as to display a second scene image shot by the virtual camera at the target perspective on the graphical user interface.

2. The method according to claim 1, characterized in that The step of determining a target viewing angle based on the object position of the target object in the game scene comprises: Based on the current position of the virtual camera and the object position of the target object in the game scene, determine the target sight line direction; wherein the target sight line direction is the direction from the current position of the virtual camera to the object position; A target viewing angle for controlling switching of a shooting viewing angle of the virtual camera is determined based on the target sight line direction.

3. The method according to claim 2, characterized in that The step of determining a target viewing angle for controlling the switching of the shooting viewing angle of the virtual camera based on the target sight line direction comprises: The shooting angle of view that the target sight line direction deviates from the preset angle of view range is determined as the target angle of view for controlling the switching of the shooting angle of view of the virtual camera.

4. The method according to claim 1, characterized in that: When the target object includes multiple objects, the step of responding to the triggering operation of the viewing angle adjustment control, determining a target viewing angle based on the object position of the target object in the game scene, and controlling the shooting angle of the virtual camera to switch from the first viewing angle to the target viewing angle includes: In response to a trigger operation on the perspective adjustment control, a plurality of target perspectives are determined based on the object positions of the plurality of target objects in the game scene, and the shooting perspective of the virtual camera is controlled to switch from the first perspective to a first target perspective; the first target perspective is a target perspective corresponding to the target object closest to the controlled virtual object among the plurality of target perspectives, or a target perspective with the smallest offset angle from the first perspective; In response to a sliding operation continuous with the triggering operation, the shooting angle of view of the virtual camera is controlled to switch from the first target angle of view to other target angles among the multiple target angles based on the sliding operation.

5. The method according to claim 4, characterized in that The first target perspective is a target perspective corresponding to a target object closest to the controlled virtual object among the multiple target perspectives; the multiple target objects correspond to a first arrangement order generated according to the distance between the target object and the controlled virtual object; In response to a sliding operation continuous with the triggering operation, the step of controlling the shooting angle of the virtual camera to switch from the first target angle of view to other target angles among the multiple target angles based on the sliding operation includes: In response to a sliding direction of a sliding operation continuous with the triggering operation pointing to a first specified direction, controlling the shooting angle of the virtual camera to switch from the first target angle of view to a second target angle of view corresponding to a target object located before the target object corresponding to the first target angle of view in the first arrangement sequence; In response to a sliding operation continuous with the trigger operation, the sliding direction of which points to a second specified direction, the shooting angle of the virtual camera is controlled to switch from the second target angle to a third target angle corresponding to a target object that is located after the target object corresponding to the second target angle in the first arrangement order.

6. The method according to claim 4, characterized in that The first target viewing angle is the target viewing angle having the smallest offset angle with the first viewing angle among the multiple target viewing angles; the multiple target viewing angles correspond to a second arrangement order generated according to the offset angle between the target viewing angle and the first viewing angle; In response to a sliding operation continuous with the triggering operation, the step of controlling the shooting angle of the virtual camera to switch from the first target angle of view to other target angles among the multiple target angles based on the sliding operation includes: In response to a sliding direction of a sliding operation continuous with the triggering operation pointing to a first specified direction, controlling the shooting angle of the virtual camera to switch from the first target angle of view to a fourth target angle of view that is located before the first target angle of view in the second arrangement order; In response to a sliding direction of a sliding operation continuous with the trigger operation pointing to a second specified direction, the shooting angle of the virtual camera is controlled to switch from the fourth target angle to a fifth target angle that is located after the fourth target angle in the second arrangement order.

7. The method according to claim 1, characterized in that The virtual camera moves along with the controlled virtual object; the shooting angle of the virtual camera follows the change of the direction of the controlled virtual object in the game scene; The method further comprises: In response to a triggering operation on the viewing angle adjustment control, the controlled virtual object is controlled to turn to a direction matching the target viewing angle direction.

8. The method according to claim 1, characterized in that The graphical user interface also displays an orientation indicator; the orientation indicator is used to indicate the orientation of the controlled virtual object in the game scene; the method further includes: In response to receiving the sound information, displaying a sound indication mark for prompting the position of the target object at a display position corresponding to the object position of the target object in the position indicator; After the step of controlling the shooting angle of view of the virtual camera to switch from the first angle of view to the target angle of view, the method further includes: Based on the target viewing angle, the display position of the sound indication mark in the position indicator is updated and displayed, so that the sound indication mark indicates the position of the target object relative to the controlled virtual object in real time.

9. The method according to claim 1, characterized in that: In response to a trigger operation on the viewing angle adjustment control, after determining a target viewing angle based on the object position of the target object in the game scene, and controlling the shooting angle of the virtual camera to switch from the first viewing angle to the target viewing angle, the method further includes: Displaying a first countdown mark at a specified position of the viewing angle adjustment control; the first countdown mark is used to indicate the time difference between the duration after the viewing angle is switched and the specified duration; In response to a trigger operation on the viewing angle adjustment control, and the time difference indicated by the first countdown identifier is greater than a specified value, the shooting viewing angle of the virtual camera is controlled to switch from the target viewing angle to the first viewing angle.

10. The method according to claim 8, characterized in that The sound indication mark is triggerable; The method further comprises: In response to a triggering operation acting on the sound indicator, the shooting angle of view of the virtual camera is controlled to switch from the first angle of view to a target angle of view corresponding to the sound indicator.

11. The method according to claim 1, characterized in that: The step of monitoring whether the controlled virtual object receives the sound information generated by the target object in the game scene comprises: In response to monitoring the target object generating sound information, obtaining the object position of the target object, the current position of the controlled virtual object, and the sound attenuation influence parameter of the target scene object; the target scene object is located between the target object and the controlled virtual object; the sound attenuation influence parameter is used to indicate the attenuation effect of the target scene object on the sound information; Calculating a volume parameter of the sound information at the current position of the controlled virtual object based on the object position of the target object, the current position of the controlled virtual object, and the sound attenuation influence parameter of the target scene object; In response to the volume parameter being greater than or equal to a preset parameter threshold, it is determined that the target object receives the sound information generated by the target object.

12. An interactive control device for game perspective, characterized in that: A graphical user interface is provided through a terminal device; the graphical user interface displays a first scene image captured by a virtual camera at a first viewing angle; the first scene image includes at least a portion of a game scene, and the game scene includes a controlled virtual object controlled by the terminal device, the apparatus comprising: A sound monitoring module, used to monitor whether the controlled virtual object receives sound information generated by a target object in the game scene; wherein the target object is a virtual prop in the game scene or a virtual object other than the controlled virtual object; A viewing angle adjustment control display module, used to play a corresponding sound signal on the terminal device and display a viewing angle adjustment control in the graphical user interface; The first perspective switching module is used to respond to the trigger operation of the perspective adjustment control, determine a target perspective based on the object position of the target object in the game scene, and control the shooting perspective of the virtual camera to switch from the first perspective to the target perspective, so as to display a second scene picture shot by the virtual camera at the target perspective on the graphical user interface.

13. An electronic device, characterized in that: It 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 interactive control method of the game perspective described in any one of claims 1-11.

14. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by the processor, the machine-executable instructions prompt the processor to implement the interactive control method of the game perspective described in any one of claims 1-11.