Interaction method and related device
By introducing multiple display areas and magnification switching functions in shooting games, the scene observation effect in real scenes is simulated, and the problem of lack of shooting action details in the prior art is solved, and the authenticity and diversity of the game experience is improved.
Patent Information
- Application Number
- CN202411146610.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-29
AI Technical Summary
The lack of real simulation of shooting action details in existing shooting games, resulting in a low level of realism in player game experience.
By introducing initial and first display areas into the game interface, the initial game interface is used to display the initial game scene at the default magnification, and switching to the first display area to display the observation scene part of the target game prop at the first magnification through the first trigger operation, At the same time, the scene part that cannot be observed through props is displayed at the default magnification in the second display area, simulating the scene observation effect in the real scene.
It improves the authenticity of the scene observation function in the game, brings players a more realistic shooting experience, and enriches the game interface through the display of multiple magnifications and imaging effects to meet players' diverse scene observation needs.
Smart Images

Figure CN119034196A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of human-computer interaction technology, and in particular to an interaction method and related devices. Background Art
[0002] With the continuous development of computer technology, electronic games have become one of the important media for people's entertainment and leisure. The rich and diverse electronic games have brought players high-quality gaming experience.
[0003] Among them, shooting games are one of the main types of electronic games, and the quality of shooting games is closely related to the authenticity of the shooting experience that players can get in shooting games. In related technologies, in order to give players a more realistic shooting experience, players can be supported to control game objects to perform various object actions related to shooting, such as changing bullets, firing, aiming, switching shooting props, etc.
[0004] However, the related technology does not add action details for each object action, resulting in that although the action process can simulate the shooting process in the real scene, there is a lack of simulation of real shooting in each object action, resulting in a low degree of realism in the game experience of players in shooting games. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides an interactive method that can bring players a more realistic scene observation experience.
[0006] The embodiments of the present application disclose the following technical solutions:
[0007] In a first aspect, an embodiment of the present application discloses an interaction method, the method comprising:
[0008] Displaying an initial game interface, the initial game interface is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, and the initial game scene is used to simulate a game scene observed by the target game object;
[0009] Based on a first trigger operation, a first scene display interface is displayed, the first scene display interface includes a first display area and a second display area, the first trigger operation is used to trigger the scene display function, the first display area is used to display a first game scene at the first magnification, the first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, the second display area is used to display a second game scene at the default magnification, the first game scene and the second game scene do not overlap, the second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene, the first game scene and the second game scene have different corresponding imaging effects, the first game scene corresponds to a target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
[0010] In a second aspect, an embodiment of the present application discloses an interaction method, the method comprising:
[0011] Generate a first scene image through a first camera in the game scene, the first scene image is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, the initial game scene is used to simulate a game scene observed by the target game object, and the first scene image is used to display through an initial game interface;
[0012] Obtaining a function trigger request, where the function trigger request is initiated based on a first trigger operation for triggering the scene display function;
[0013] A second scene image is generated by a second camera in the game scene, and a second scene image is generated by the first camera, the second scene image is used to display the first game scene at the first magnification, the first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, the third scene image is used to display the second game scene at the default magnification, the first game scene and the second game scene do not overlap, the second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene, the second scene image is used to display through the first display area in the first scene display interface, the third scene image is used to display through the second display area in the first scene display interface, the first game scene and the second game scene have different corresponding imaging effects, the first game scene corresponds to the target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
[0014] In a third aspect, an embodiment of the present application discloses an interactive device, the device comprising a first display unit and a second display unit:
[0015] The first display unit is used to display an initial game interface, the initial game interface is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, and the initial game scene is used to simulate a game scene observed by the target game object;
[0016] The second display unit is used to display a first scene display interface based on a first trigger operation. The first scene display interface includes a first display area and a second display area. The first trigger operation is used to trigger the scene display function. The first display area is used to display a first game scene at the first magnification. The first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene. The second display area is used to display a second game scene at the default magnification. The first game scene does not overlap with the second game scene. The second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene. The first game scene and the second game scene have different corresponding imaging effects. The first game scene corresponds to a target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
[0017] In a possible implementation, the device further includes a third display unit:
[0018] The third display unit is used to control the first scene display interface to display a third game scene at a second magnification through the first display area based on a second trigger operation, and the third game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the second magnification in the initial game scene, and the second trigger operation is used to change the display magnification corresponding to the scene display function supported by the target game prop from the first magnification to the second magnification.
[0019] In a possible implementation, the first display area is used to display the first game scene in a first mode. In the first mode, the first scene object displayed by the first display area corresponds to a first object color, and the first object color is used to simulate the object color corresponding to the first scene object in a real scene under a target imaging effect. The first scene object is used to constitute the first game scene;
[0020] The second display unit is specifically used for:
[0021] Based on the first trigger operation and the first mode selection operation, the first scene display interface is displayed, and the first mode selection operation is used to select the first mode.
[0022] In a possible implementation, the device further includes a fourth display unit:
[0023] The fourth display unit is used to display a second scene display interface based on the first trigger operation and the second mode selection operation, the second mode selection operation is used to select the second mode, the second scene display interface includes a third display area, the third display area is used to display the first game scene at the first magnification and the second mode, and in the second mode, the first scene object displayed by the third display area corresponds to a second object color, and the second object color is used to simulate the original object color corresponding to the first scene object in the real scene.
[0024] In a possible implementation, the initial game interface is used to display the game scene in a third mode, the color brightness corresponding to the same scene object in the third mode is smaller than the color brightness corresponding to the first mode, and the second display unit is specifically used to:
[0025] Based on the first trigger operation and the first mode selection operation, display a first interface switching special effect, where the first interface switching special effect is used to simulate the visual effect of entering a high-brightness area from a low-brightness area in a real scene;
[0026] After the special effects display is switched based on the first interface, the first scene display interface is displayed.
[0027] In a possible implementation, the device further includes a fifth display unit and a sixth display unit:
[0028] The fifth display unit is used to display a second interface switching special effect based on a third trigger operation, wherein the third trigger operation is used to change the display mode corresponding to the first game scene from the first mode to the third mode, and the second interface switching special effect is used to simulate the visual effect of entering a low-brightness area from a high-brightness area in a real scene;
[0029] The sixth display unit is used to display the first game scene in the third mode through the first display area based on the completion of switching the special effects display of the second interface.
[0030] In a possible implementation, the target imaging effect is a thermal imaging effect. Under the thermal imaging effect, the brightness of the color of the first object is positively correlated with the heat corresponding to the first scene object in the real scene.
[0031] In one possible implementation, the first game scene includes a second scene object and a third scene object. In the first mode, the prominence of the object color corresponding to the second scene object is greater than the prominence of the object color corresponding to the third scene object. The second scene object is any scene object in the first game scene that supports interaction with the target game object, and the third scene object is any scene object in the first game scene that does not support interaction with the target game object.
[0032] In one possible implementation, the initial game scene is displayed based on a first camera located at a target object part on the target game object, the initial game scene is used to simulate the game scene observed through the target object part, and the first game scene is displayed based on a second camera located on the target game prop.
[0033] In one possible implementation, the target game prop is a virtual sight, which is composed of a virtual objective lens and a virtual eyepiece. The virtual objective lens is located on a side of the virtual sight away from the target game object, and the virtual eyepiece is located on a side of the virtual sight close to the target game object. The first game scene is displayed based on the second camera located on the virtual objective lens, and is used to simulate a part of the game scene that is first observed through the virtual objective lens and then magnified through the virtual eyepiece.
[0034] In a possible implementation, the device further includes a seventh display unit:
[0035] The seventh display unit is used to display an occlusion effect in the first display area based on the fact that the orientation corresponding to the target object part is not perpendicular to the mirror surface of the virtual eyepiece. The occlusion effect is used to block the game scene displayed through the target area in the first display area, the target area is a partial area in the first display area, and the orientation corresponding to the target object part is used to simulate the observation direction of the target object for the game scene. The occlusion effect is used to simulate the impact on the observation effect of observing the first game scene due to the target object part not looking directly at the virtual sight.
[0036] In one possible implementation, the first objective area on the virtual objective lens overlaps with the virtual eyepiece in the direction, the second objective area is the area on the virtual objective lens excluding the first objective area, and the game scene displayed through the target area is used to simulate the part of the game scene observed through the second objective area.
[0037] In a possible implementation, the target game prop has an aiming mark, and the aiming mark is used to identify the observation direction of the game scene through the target game prop, and the device further includes an eighth display unit:
[0038] The eighth display unit is used to display the aiming mark at the center position of the first display area, and the transparency of the aiming mark is positively correlated with the scene brightness of the first game scene.
[0039] In a possible implementation, the transparency of the aiming mark is positively correlated with the scene brightness of the game scene displayed by the display area covered by the aiming mark.
[0040] In a possible implementation, the device further includes a ninth display unit:
[0041] The ninth display unit is used to display a fourth game scene on the virtual eyepiece, and the fourth game scene is used to simulate the part of the game scene reflected by the virtual eyepiece.
[0042] In a fourth aspect, an embodiment of the present application discloses an interactive device, the device comprising a first generating unit, an acquiring unit, and a second generating unit:
[0043] The first generating unit is used to generate a first scene image through a first camera in the game scene, the first scene image is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, the initial game scene is used to simulate a game scene observed by the target game object, and the first scene image is used to be displayed through an initial game interface;
[0044] The acquisition unit is used to acquire a function trigger request, where the function trigger request is initiated based on a first trigger operation for triggering the scene display function;
[0045] The second generating unit is used to generate a second scene image through a second camera in the game scene, and to generate a second scene image through the first camera, the second scene image is used to display the first game scene at the first magnification, the first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, the third scene image is used to display the second game scene at the default magnification, the first game scene does not overlap with the second game scene, the second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene, the second scene image is used to display through the first display area in the first scene display interface, the third scene image is used to display through the second display area in the first scene display interface, the first game scene and the second game scene have different corresponding imaging effects, the first game scene corresponds to the target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
[0046] In a possible implementation, the target game prop has an aiming mark, and the aiming mark is used to identify an observation direction of observing a game scene through the target game prop, and the second generating unit is specifically used to:
[0047] Generate an initial second scene image by using a second camera in the game scene, wherein the initial second scene image is used to display the first game scene at the first magnification;
[0048] The aiming mark is added at the center position of the initial second scene image to generate the second scene image.
[0049] In a fifth aspect, an embodiment of the present application discloses a computer device, wherein the computer device includes a processor and a memory:
[0050] The memory is used to store a computer program and transmit the computer program to the processor;
[0051] The processor is used to execute the interaction method described in any one of the first aspects, or execute the interaction method described in any one of the second aspects according to the instructions in the computer program;
[0052] In a sixth aspect, an embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, wherein the computer program is used to execute the interaction method described in any one of the first aspects, or execute the interaction method described in any one of the second aspects;
[0053] In the seventh aspect, an embodiment of the present application discloses a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the interaction method described in any one of the first aspect, or execute the interaction method described in any one of the second aspect.
[0054] It can be seen from the above technical solution that the present application can design a target game prop in the game that can observe the game scene at a special first magnification. When the target game prop is not used, the player can observe the initial game scene at a default magnification through the initial game interface. The initial game scene is used to simulate the game scene observed by the target game object, that is, to simulate the game scene observed by the target game object without the assistance of the game prop. The player can trigger the scene display function of the target game prop through the first trigger operation. At this time, the first scene display interface can be displayed to the player. The first scene display interface includes a first display area and a second display area. The first display area is used to display the first game scene at a first magnification. The first game scene is used to simulate the initial game scene. The part of the game scene observed by the target game object through the target game prop at the first magnification; and the second display area is used to display the second game scene at the default magnification. The second game scene is a game scene that does not overlap with the first game scene, and is used to simulate the initial game scene. The part of the game scene that the target game object cannot observe through the target game prop. Thus, on the one hand, through the difference in the scene display magnifications between the initial game interface and the first display area, the player can clearly perceive the scene observation function of the target game props, and can provide more obvious feedback on the player's operation; on the other hand, through the difference in the game scene display magnifications between the first display area and the second display area, the scene display function of the special magnification provided by the target game props can be more realistically presented, and the observation effect that the scene observed by the observation props in the real scene will undergo a special magnification change, and the scene that cannot be observed by the observation props will not undergo a magnification change can be more realistically restored, thereby further improving the authenticity of the scene observation function in the game and bringing players a more realistic game experience; in addition, the imaging effects corresponding to the first game scene and the second game scene displayed by the first scene display interface of the present application are different, the first game scene corresponds to the target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game props, so that the player can observe the game scene with a special magnification and a special imaging effect through the target game props, bringing players a richer game experience and satisfying more scene observation needs of the players. Furthermore, through the difference in imaging effects between the first game scene and the second game scene, the player can more intuitively feel the special imaging effect provided by the target game prop. At the same time, by displaying the game scene with multiple magnifications and multiple imaging effects in the same scene display interface, the display effect of the game interface can be enriched, giving the player a more diverse gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0056] Figure 1 A schematic diagram of an interaction method in a related technology provided in an embodiment of the present application;
[0057] Figure 2 A schematic diagram of an interaction method in a practical application scenario provided by an embodiment of the present application;
[0058] Figure 3 A flowchart of an interaction method provided in an embodiment of the present application;
[0059] Figure 4 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0060] Figure 5 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0061] Figure 6 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0062] Figure 7 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0063] Figure 8 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0064] Fig. 9 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0065] Fig.10 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0066] Fig.11 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0067] Fig.12 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0068] Fig.13 A schematic diagram of an interaction method provided in an embodiment of the present application;
[0069] Fig.14 A flowchart of an interaction method provided in an embodiment of the present application;
[0070] Fig.15 A flowchart of an interaction method in a practical application scenario provided by an embodiment of the present application;
[0071] Fig.16 A structural block diagram of an interactive device provided in an embodiment of the present application;
[0072] Fig.17 A structural block diagram of an interactive device provided in an embodiment of the present application;
[0073] Fig.18 A structural diagram of a terminal provided in an embodiment of the present application;
[0074] Fig.19 A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0075] The embodiments of the present application are described below in conjunction with the accompanying drawings.
[0076] The scene observation function is one of the important functions in many games. For example, in shooting games, players can use the scope equipped on the game object to aim at distant targets and shoot, or use props such as telescopes to observe the distribution of distant objects.
[0077] In the related art, when a player triggers a special magnification scene display function, the computer device will directly adjust the display magnification corresponding to the camera used to render the game interface, and then only display the game scene at the special magnification through the game interface, such as Figure 1 As shown, in shooting games, by performing a trigger operation on the trigger control, the scene display function supported by the virtual sight in the game can be triggered. At this time, the entire game interface will display the game scene magnified at a special magnification, including a first display area and a second display area in the game interface. The game scene displayed in the first display area is used to simulate the game scene seen through the virtual sight, and the game scene displayed in the second display area is used to simulate the game scene that cannot be seen through the virtual sight.
[0078] However, in the related art, the authenticity of the game scene when displayed at a special magnification is not considered, and the scene parts that would not be displayed at a special magnification in the real scene are still displayed at a special magnification in the game scene, which is likely to give players a low-realistic gaming experience. Figure 1In the present invention, the game scene displayed in the second display area simulates a game scene that cannot be seen through a virtual sight. In a real scene, this part of the scene will not be magnified at a special magnification. In the related art, the second display area and the first display area will magnify the game scene at the same magnification, which will result in the scene magnification effect displayed through the game interface being unreasonable and it is difficult to truly reflect the scene observation function brought by the virtual sight.
[0079] In order to solve the above technical problems, the present application provides an interactive method, which can display the initial game scene at a default magnification in the initial state to simulate the game scene observed by the target game object controlled by the player; when the player triggers the scene display function of the first magnification supported by the target game props held by the target game object, the game scene will not be displayed at the first magnification through the entire game interface, but the first game scene is displayed at the first magnification and target imaging effect through the first display area in the game interface, and the second game scene is displayed at the default magnification and imaging effects other than the target imaging effect through the second display area in the game interface. Through the first game scene, the part of the game scene observed by the target game props at the first magnification and target imaging effect can be simulated, and through the second game scene, the part of the game scene that cannot be observed by the target game props can be simulated, so that through the difference in scene display magnification and imaging effect between the first display area and the second display area, the scene display function of the special magnification and special imaging effect brought by the target game props can be more realistically represented, making it closer to the scene display function that can be brought by props in real scenes, thereby further improving the authenticity of the game experience.
[0080] It is understandable that the method can be applied to a computer device, which is a computer device that can support interactive functions, such as a terminal device or a server. The method can be executed independently by a terminal device, or it can be applied to a network scenario in which a terminal device and a server communicate, and is executed in cooperation with a terminal device and a server. Among them, the terminal device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer and other devices. The terminal device can also include a variety of virtual reality devices, such as augmented reality (AR) devices, such as AR glasses, AR screens and other devices, and virtual reality technology (VR) devices, such as head-mounted VR glasses and other devices. The server can be understood as an application server or a Web server. In actual deployment, the server can be an independent server, a cluster server, or a cloud server.
[0081] In order to facilitate understanding of the technical solution provided by the present application, the interaction method provided by the present application will be introduced below in combination with an actual application scenario.
[0082] See also Figure 2 , Figure 2 A schematic diagram of an interaction method in an actual application scenario provided in an embodiment of the present application. In the actual application scenario, the computer device is a terminal device 101 with an interactive function, and a game program is running in the terminal device 101.
[0083] The terminal device 101 can first display an initial game interface to the player, which is used to display the initial game scene with a default magnification and initial imaging effect to simulate the game scene observed by the target game object controlled by the player. Under the initial imaging effect, the scene objects in the game scene will maintain the original object color, for example, Figure 2 In the game, since the lighting of the initial game scene is dim, the color brightness of the hostile game objects and walls is low, and it is difficult for players to directly observe the hostile game objects, walls and other scene objects through the initial game interface.
[0084] The target game object holds the target game prop, which can be Figure 2 The virtual scope shown, the target game prop supports displaying the game scene with a first magnification greater than the default magnification and a target imaging effect, which is used to simulate the thermal imaging effect in the real scene. If the player wants to observe the hostile game object in detail in the initial game scene with low brightness, a trigger operation can be performed on the trigger control, which is used to trigger the scene display function of the target game prop.
[0085] Based on the trigger operation, the terminal device 101 will display a first scene display interface to the player, and the first scene display interface includes a first display area and a second display area, wherein the first display area is used to display a first game scene with a first magnification and a target imaging effect, and the first game scene is used to simulate the game scene part observed by the target game object through a virtual sight, such as Figure 2 As shown, the first display area displays enlarged walls and hostile target objects to simulate the effect of magnifying and observing part of the game scene through a virtual scope. The hostile game objects in the first game scene have brighter object colors due to their higher heat, which can simulate the imaging effect of thermal imaging and make it easier for players to observe. The wall usually has lower heat in the real scene, so it still maintains a lower brightness object color. The second display area is used to display the second game scene with the default magnification and initial imaging effect. The second game scene is used to simulate the game part that the target game object cannot observe through the virtual scope, such as in Figure 2In the second game scene displayed by the second display area, the wall is still displayed with the default magnification and the original object color, so as to simulate the display effect of the original magnification due to not being magnified by the virtual sight and special imaging.
[0086] In this way, the difference in scene magnifications displayed in the first display area and the second display area can be used to more realistically simulate the observation effect when observing the scene through a scope in a real scene, and the real effect that the scene not observed through the scope in the real scene will not be magnified and will not be specially imaged can be restored, which can bring players a more realistic gaming experience; at the same time, by displaying the game scene with two different magnifications and imaging effects in the same interface, a richer scene display effect can be achieved, giving players a richer gaming experience.
[0087] Next, the technical solution provided by this application will be introduced in detail with reference to the accompanying drawings.
[0088] See also Figure 3 , Figure 3 A flowchart of an interactive method provided in an embodiment of the present application. In this embodiment, the computer device may be any terminal device with an interactive function, or a combination of a terminal device and a server. The method includes:
[0089] S301: Display the initial game interface.
[0090] The initial game interface is used to display the initial game scene at a default magnification, which may be the display magnification of the game scene when no special scene observation function is used. The initial game interface may be a game interface corresponding to any game, such as a game interface corresponding to a shooting game, a role-playing game, etc. The initial game scene is used to simulate the game scene observed by the target game object, that is, to simulate the game scene observed by the target game object through its own visual system.
[0091] The initial game scene includes a target game object, which can be any game object that supports the player's control in the game. In the game program, the designer can provide players with a variety of game functions through various game props. For example, in this embodiment, the target game object holds a target game prop. In order to enable the player to observe the game scene more conveniently and diversely, the target game prop is used to support the scene display function of the first magnification. The first magnification can be a magnification greater than the default magnification, so that the player can zoom in to observe the game scene, so as to more clearly understand the scene details in the game scene; the first magnification can also be smaller than the default magnification, so that the player can zoom out to observe the game scene, so that the player can observe a wider range of game scenes and have a more comprehensive understanding of the game scene. Among them, the target game prop can be a game prop with physical modeling in the game scene, such as a virtual sight, a virtual telescope, etc. in a shooting game; it can also be a game prop without physical modeling in the game scene, which is only used to provide the player with the scene display function, which is not limited here.
[0092] S302: Based on the first trigger operation, display a first scene display interface.
[0093] If the player wants to observe the game scene at the first magnification, the first trigger operation can be performed. The first trigger operation is used to trigger the scene display function. For example, Figure 2 The trigger operations shown in the figure may include a variety of operations, such as click operations, press operations, drag operations, etc., which are not limited here.
[0094] Based on the first trigger operation, the computer device can display a first scene display interface, the first scene display interface includes a first display area and a second display area, the first display area is used to display a first game scene at a first magnification, and the first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, for example, for simulating Figure 2 The part of the game scene observed through the virtual sight can provide the player with a scene display function of displaying the scene at a first magnification through the first display area.
[0095] The second display area is used to display the second game scene at a default magnification. The first game scene and the second game scene do not overlap. The second game scene is used to simulate the part of the game scene in the initial game scene that the target game object cannot observe through the target game props. Therefore, by still displaying the game scene at the default magnification in the second display area, the real effect that the part of the scene that is not displayed by props in the real scene will not be displayed at a specific magnification can be restored, thereby making the scene display effect presented by the first scene display interface more realistic. For example, in Figure 2 In the embodiment, the first display area can be used to present the game scene magnified by the virtual sight, so as to realize the scene display function of the virtual sight; the second display area can be used to present the game scene not observed through the virtual sight while still maintaining the display of the default magnification, thereby restoring the real effect that the part of the real scene not observed by the sight will not be magnified.
[0096] At the same time, in order to provide players with a richer and more diverse gaming experience, in addition to different magnifications, the processing device can also provide players with the function of observing the game scene with a special imaging effect through the target game props. In an embodiment of the present application, the first game scene corresponds to the target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game props. The target imaging effect can be any imaging effect, for example, it can be a thermal imaging effect, etc., which will be introduced in detail below. The imaging effects corresponding to the first game scene and the second game scene are different, so that the effect that the second game scene cannot be displayed with the target imaging effect due to not being observed through the target game props can be simulated, so that the target imaging effect provided by the target game props is more realistic.
[0097] It can be seen from the above technical solutions that, on the one hand, through the difference in the scene display magnifications between the initial game interface and the first display area, the player can clearly perceive the scene observation function of the target game props, and can provide more obvious feedback on the player's operation; on the other hand, through the difference in the game scene display magnifications and imaging effects between the first display area and the second display area, the scene display function of the special magnification and special imaging effect provided by the target game props can be more realistically presented, and the scene observed by the observation props in the real scene will have a special magnification and special imaging effect change, and the scene that cannot be observed by the observation props will not have a magnification change and a special imaging effect change. The observation effect can be more realistically restored, thereby further improving the authenticity of the scene observation function in the game and bringing players a more realistic game experience; at the same time, by displaying the game scene with multiple magnifications and multiple imaging effects in the same scene display interface at the same time, it is also possible to enrich the display effect of the game interface and bring players a more diverse game experience.
[0098] Next, the details of the technical solution provided in this application will be introduced in detail in conjunction with the accompanying drawings.
[0099] First, in order to further enrich the diversity of game play, the present application can support scene displays of multiple special magnifications. In a possible implementation scenario, the computer device can also support the player to observe the game scene at a second magnification.
[0100] If the player wants to observe the game scene through the second magnification, the second trigger operation can be performed. Based on the second trigger operation, the computer device can control the first scene display interface to display the third game scene through the first display area at a second magnification, and the second magnification is different from the default magnification and the first magnification. The third game scene is used to simulate the initial game scene, and the target game object observes the game scene part at the second magnification through the target game props. The second trigger operation is used to change the display magnification corresponding to the scene display function supported by the target game props from the first magnification to the second magnification. It can be seen that the player can switch freely among a variety of different scene display magnifications, thereby meeting the different scene display needs of the player and bringing the player a better and richer game experience. For example, the second magnification can be a larger magnification than the first magnification. If the player still cannot observe the scene details in the game scene through the first magnification, the display magnification of the game scene can be further enlarged through the second trigger operation. At the same time, since the display magnification in the second display area is not changed, the authenticity of the scene observation effect can be maintained.
[0101] It is understandable that in real scenes, the observation effects of observing the same scene using different observation methods may also be different. For example, in a dark scene, if you use an ordinary telescope to observe the scene, it is difficult to observe the objects in the scene; if you use thermal imaging props to observe, you can observe the objects with heat in the scene through infrared. Based on this, in order to provide players with a more realistic gaming experience and meet players' more diverse gaming needs, computer devices can also provide players with a variety of scene display effects for selection in the game.
[0102] In this implementation, the first display area can be used to display the first game scene in a first mode. In the first mode, the first scene object displayed by the first display area corresponds to the first object color. The first object color is used to simulate the object color corresponding to the first scene object in the real scene under the target imaging effect. The first scene object is used to constitute the first game scene. For example, the first scene object can be a person object, an animal object, an object object, a plant object, etc. in the first game scene. The target imaging effect can be a variety of imaging effects, such as a thermal imaging effect for scene observation in a dark environment, an imaging effect that facilitates red-green color blind patients to observe the scene, etc., which is not limited here.
[0103] When executing step S302, the computer device may execute step S3021 (not shown in the figure), which is a possible implementation of step S302, including:
[0104] S3021: Based on the first trigger operation and the first mode selection operation, display the first scene display interface:.
[0105] The processing device can support players to select imaging effects by themselves. At the same time, in order to meet the players' more abundant and complex game needs, the computer device can also support players to experience special magnification scene display functions and special effect effects at the same time. For example, if the player wants to observe the scene objects in the distant scene in a relatively dark scene, the scene display function provided by the target game props and the function for simulating thermal imaging effects can be triggered at the same time.
[0106] In this implementation, the first mode selection operation can be used to select the first mode, and the player can simultaneously trigger the scene display function provided by the target game prop and the imaging function of the first mode through the first trigger operation and the first mode selection operation. Figure 4 As shown, the initial game scene is a game scene in a night mode, and the target imaging effect can be a thermal imaging effect. The initial game scene includes a trigger control and a first mode selection control. By performing a trigger operation 1 on the trigger control, the scene display function provided by the target game prop can be triggered, and by performing a trigger operation 2 on the first mode selection control, the display of the target imaging effect can be triggered. That is, in the first display area, the player can not only see the first game scene magnified by a first magnification, but also observe the first game scene through the thermal imaging effect, so that the player can see the hostile game objects that were originally difficult to observe in the dark game scene, to help the player attack the hostile game objects, etc.
[0107] In addition, the computer device may also simultaneously display the target imaging effect through the second display area, so that the player can observe the game scene more comprehensively through the target imaging effect; or, in order to highlight that the target imaging effect is achieved through the target game props, the computer device may also only display the target imaging effect through the first display area, and the second display area still displays the initial imaging effect, which is not limited here.
[0108] In addition, in order to further improve the richness of the gameplay and bring a richer gaming experience to the players, the computer device can also support the players to select a variety of display effects for scene display. For example, in one possible implementation, in order to facilitate the players to observe the original object colors of the scene objects and enable the game scenes to present an imaging effect that is closer to the real scene, the computer device can also provide a scene display function for displaying scene objects with more realistic colors.
[0109] In this implementation, the computer device can perform a second mode selection operation, and the second mode selection operation is used to select the second mode. Based on the first trigger operation and the second mode selection operation, the computer device can display a second scene display interface, and the second scene display interface includes a third display area, and the third display area is used to display the first game scene at a first magnification and a second mode. In the second mode, the first scene object displayed by the third display area corresponds to the second object color, and the second object color is used to simulate the original object color corresponding to the first scene object in the real scene. That is, through the third display area, on the one hand, it can characterize the scene display function provided by the target game props, and on the other hand, it can support the display of scene object colors that are more realistic and close to the real scene to the players, so that the players can feel the authenticity of the game scene from the two aspects of the scene display magnification and the scene object color, bringing the players a better gaming experience.
[0110] It is understandable that in real scenes, when entering a brighter scene from a darker scene, the sudden increase in the amount of light entering the eyes will cause people to feel too bright and dazzling for a short period of time, making it difficult to accurately observe the surrounding environment. From the above content, it can be seen that the present application can support scene display in multiple color modes, wherein the brightness of the scene may vary greatly in different color modes. Based on this, in one possible implementation, a computer device can simulate the effect of scene brightness differences in real scenes on the human eye to bring a more realistic gaming experience to players.
[0111] In this implementation, the initial game interface can be used to display the game scene in the third mode, and the color brightness corresponding to the same scene object in the third mode is less than the color brightness corresponding to the first mode. When executing step S3021, the computer device can display steps S30211-S30212 (not shown in the figure), and steps S30211-S30212 are a possible implementation of step 3021, including:
[0112] S30211: Based on the first trigger operation and the first mode selection operation, display the first interface switching special effect.
[0113] The first interface switching special effect is used to simulate the visual effect of entering a high brightness area from a low brightness area in a real scene, that is, to simulate the visual effect of a sudden brightening of the scene, such as making the player feel that the game scene is too bright in a short time. The first interface switching special effect may include multiple effects, such as the special effect of increasing the exposure, the special effect of adding a higher brightness layer, etc., which are not limited here.
[0114] For example Figure 5 As shown, the initial game interface is used to display the initial game scene in a dark state. In the third mode, the scene objects will be displayed in the original object color. Since the game scene is relatively dark, the color brightness of the scene objects in the initial game interface is low. The first display area in the first game interface is used to display the game scene in the first mode with the target imaging effect. The target imaging effect is a thermal imaging effect. Under the thermal imaging effect, the color brightness of the hostile game objects is higher.
[0115] After executing trigger operation 1 for the trigger control and trigger operation 2 for the first mode selection control, in order to simulate the impact on vision, the computer device can simulate the impact of the sudden increase in brightness in the real scene on vision by increasing the exposure of the game screen, making the player feel that the game scene is too bright in a short period of time, thereby making the scene color mode switching effect more realistic.
[0116] S30212: The special effects display based on the first interface switching is completed, and the first scene display interface is displayed.
[0117] In the above manner, the computer device can make the player feel the visual impact of the brightness change in the real scene more realistically when switching from a game interface with lower brightness to a game interface with higher brightness, thereby further improving the authenticity of the game experience. At the same time, by adding game special effects, the gameplay can be further enriched. For example, the player can seize the opportunity when other players just enter the game scene with higher brightness and the game screen is greatly affected, and attack other players, etc., which can further enrich the strategy of the game.
[0118] Similarly, in real-life scenarios, when people enter low-brightness areas from high-brightness areas, the amount of light entering the eyes suddenly decreases, causing people to be unable to adapt to the low-brightness environment in a short period of time, resulting in blurred vision and darkness. In a possible implementation, the computer device can also restore the visual effects of people entering low-brightness areas from high-brightness areas in real-life scenarios in the game to further improve the authenticity of the gaming experience.
[0119] In this implementation, the computer device can provide the player with an interactive function of switching the display effect of the game scene to meet the player's diverse display effect requirements. For example, if the player wants to switch the switching effect of the game scene from the first mode to the third mode, the third trigger operation can be performed.
[0120] Based on the third trigger operation, the computer device will first display the second interface switching special effect. The third trigger operation is used to change the display mode corresponding to the first game scene from the first mode to the third mode. The second interface switching special effect is used to simulate the visual effect of entering a low-brightness area from a high-brightness area in a real scene, that is, to simulate the visual effect of the sudden darkening of the scene, such as making the player feel that the game scene is too dark in a short time. The second interface switching special effect can also include multiple types, such as the effect of reducing exposure, the effect of adding a darker layer, etc., which are not limited here. After the second interface switching special effect is displayed, the computer device can display the first game scene in the third mode through the first display area.
[0121] like Figure 6 As shown, the first display area in the first game interface is used to display the game scene in the first mode with a target imaging effect, and the target imaging effect is a thermal imaging effect. Under the thermal imaging effect, the color brightness of the hostile game object is high. The first scene display interface also includes a third mode selection control, which is used to switch the display mode corresponding to the first display area from the first mode to the third mode. In the third mode, the object color of the scene object is used to restore the color of the scene object itself. Since the game scene is relatively dark, the object color brightness of the scene object is low in the third mode.
[0122] Based on the triggering operation of the third mode selection control, the computer device can display the second interface switching special effect, for example, the exposure of the first scene display interface can be reduced to simulate the visual impact of entering a low brightness area from a high brightness area. After the second interface switching special effect is displayed, the computer device can display the third game scene in the first display area at the first magnification and the third mode.
[0123] As mentioned above, the target imaging effect may include multiple types. In a possible implementation, the target imaging effect may be a thermal imaging effect. Under the thermal imaging effect, the brightness of the color of the first object is positively correlated with the heat corresponding to the first scene object in the real scene, that is, the higher the heat of the first scene object in the real scene, the higher the color brightness corresponding to the first scene object in the first display area, thereby simulating the thermal imaging effect in the real scene. The computer device may set an attribute value for each scene object in the game scene based on the heat of each scene object in the real scene, and the attribute value is used to determine the color brightness corresponding to the scene object under the thermal imaging effect.
[0124] In addition, in a possible implementation, the computer device can also present different display effects for different types of scene objects in the game scene to guide the player to understand the differences between the scene objects, thereby helping the player to better understand the gameplay.
[0125] For example, a game scene usually includes scene objects that can interact with the game objects controlled by the player and scene objects that cannot interact with the game objects. For example, the player can control the game objects to pick up ammunition and shooting props in the game scene, but cannot pick up trees in the game scene. Scene objects that can interact with game objects are usually an important part of the gameplay. For example, in shooting games, players can control game objects to pick up shooting props in the game scene to shoot at game objects controlled by other players.
[0126] Based on this, in this implementation, in order to enable players to better participate in the game play, the computer device can use different object colors to distinguish the interactive objects and non-interactive objects in the game scene, so that the player can accurately control the game object to interact with the interactive scene object. The first game scene may include a second scene object and a third scene object. In the first mode, the significant degree of the object color corresponding to the second scene object is greater than the significant degree of the object color corresponding to the third scene object, wherein the second scene object is any scene object in the first game scene that supports interaction with the target game object, and the third scene object is any scene object in the first game scene that does not support interaction with the target game object. That is, the computer device can display the scene objects in the game scene that support interaction with the game object controlled by the player through more significant object colors, so that the player can clearly understand which scene objects in the game scene can be interacted with, and then the player can more easily understand the game play composed of these scene objects, to help the player have a better game experience.
[0127] like Figure 7As shown, in the first game scene displayed in the first display area, two scene objects, a shooting prop and a wall, are displayed. The shooting prop is an interactive scene object, and the player can control the target game object to pick up the shooting prop and design other objects in the game scene; the wall is a non-interactive scene object. Figure 7 It can be seen that the higher the brightness of the object color corresponding to the shooting prop, the more significant it is compared to the wall, which can guide the player to control the target game object to interact with the shooting prop, thereby promoting the player to experience the gameplay of picking up the shooting prop to shoot at other objects.
[0128] It is understandable that in real scenes, when using props to observe scenes, since the imaging is achieved with the help of props, there will be a certain difference in the sense of distance of the imaging compared to directly observing the scene with the eyes. For example, when observing a scene through a telescope, since the observed scene image is formed through the objective lens of the telescope and magnified and displayed to the eyes through the lens barrel and eyepiece, the scene image that people actually see is the scene image observed through the objective lens, which is different from the depth sense of the scene image directly seen by the human eye, and people will perceive that the scene observed through the telescope is closer to themselves.
[0129] Based on this, in a possible implementation, in order to further improve the authenticity of the scene display function, the computer device can also simulate the depth difference in the real scene. It is understandable that the game scene image is usually shot and rendered by a virtual camera set in the game scene. Therefore, the distance between the camera and the game scene determines the depth of the game scene image displayed by the camera. The closer the distance between the camera and the game scene, the weaker the depth, and the closer the player feels to the game scene. On the contrary, the stronger the depth, the farther the player feels from the game scene.
[0130] Therefore, in order to simulate the difference in depth between observing the game scene through the target game props and directly observing the game scene through the eyes of the target game object, so as to more realistically restore the display effect in the real scene, two virtual cameras for displaying the game scene can be set in the present application, namely the first camera and the second camera. The initial game scene is displayed based on the first camera located on the target object part of the target game object, so that the initial game scene can be used to simulate the game scene observed through the target object part. For example, when the target game object is a humanoid object, the first camera can be located at the head of the target game object, thereby simulating the game scene seen by the human eye. Similarly, the second game scene displayed in the second display area in the first scene display interface can also be displayed through the first camera, so as to simulate the game scene observed directly through the target object part of the target game object, rather than the game scene observed through the target game props.
[0131] The first game scene is displayed based on the second camera located on the target game prop, so that the first game scene can more realistically simulate the game scene observed through the target game prop. At the same time, since the target game prop and the target object part are located at different positions in the game scene, the first camera and the second camera are located at different positions in the game scene, so that the difference in the sense of depth brought by the scene observation through the target object part and the scene observation through the target game prop can be reflected, and then the observation effect of observing the scene through the prop in the real scene can be more realistically restored, giving players a more realistic game experience.
[0132] As mentioned above, the target game props in the present application may include multiple types, and a specific game prop will be introduced below.
[0133] In a possible implementation, the target game prop may be a virtual sight, for example, a virtual sight installed on a shooting prop to help the player aim. In order to restore the sight structure in a real scene, the virtual sight may be composed of a virtual objective lens and a virtual eyepiece, wherein the virtual objective lens is located on a side of the virtual sight away from the target game object, and the virtual eyepiece is located on a side of the virtual sight close to the target game object.
[0134] It is understandable that in a real scene, the role of the objective lens is to image the scene, and the role of the eyepiece is to magnify the scene image generated by the objective lens to obtain the scene image that people finally observe through the sight. Therefore, what kind of scene image can be seen depends on the position of the objective lens. Based on this, in order to further restore the sight observation effect in the real scene, the first game scene in the first scene display interface can be displayed based on the second camera located on the virtual objective lens, which is used to simulate the part of the game scene that is first observed through the virtual objective lens and then magnified through the virtual eyepiece, so as to restore the scene display effect of imaging through the objective lens in the real scene, so that the depth sense of the first game scene is closer to the depth sense of observing through the sight in the real scene, giving players a more realistic gaming experience.
[0135] like Figure 8 As shown, the target game object can be a virtual character object in a shooting game, the target object part is the head of the virtual character object, and the first camera is located at the target object part, so that the game scene generated by the first camera can simulate the game scene directly observed through the eyes of the virtual character object; the second camera is located at the virtual objective lens of the virtual sight, so that the game scene generated by the second camera can simulate the game scene observed through the virtual objective lens, and the difference in depth sense of the game scenes generated by the first camera and the second camera can more realistically simulate the observation effect of observing the scene through a sight in a real scene.
[0136] It is understandable that in real scenes, in order to accurately image, there is a light-proof barrel between the objective lens and the eyepiece of the scope. When using a scope, if the human eye is not perpendicular to the objective lens and the eyepiece of the scope, the image of the objective lens may be disturbed by the barrel due to the position difference, and the final observed scene image may be blocked. Fig. 9 As shown, in a real scene, if the eye is perpendicular to the sight, the scene image 1 formed by the objective lens can be fully displayed without any obstruction; if the eye is tilted to the left, the scene image 2 shrunk by the objective lens is interfered by the left lens barrel, and the left part of the scene image 2 observed by the eye will be obstructed; similarly, if the eye is tilted to the right, the right part of the scene image 3 observed by the eye will be obstructed.
[0137] Based on this, in one possible implementation method, in order to further restore the observation effect of scene observation through a scope in a real scene and bring players a more realistic gaming experience, the computer device can also simulate the impact of the position difference between the target game object and the target game prop on the scene observation.
[0138] The computer device can determine whether the target object part responsible for the visual effect on the target game object is perpendicular to the mirror surface of the virtual eyepiece, wherein the virtual eyepiece and the virtual objective lens are parallel, so by determining whether the virtual eyepiece is vertical, it is possible to directly determine whether it is perpendicular to the entire virtual sight. The orientation corresponding to the target object part is used to simulate the viewing direction of the target object for the game scene. If it is vertical, the computer device can fully display the first game scene to represent the unobstructed scene observation effect.
[0139] Since the orientation of the target object part is not perpendicular to the mirror surface of the virtual eyepiece, the computer device can determine that it is necessary to add an occlusion effect to simulate the scene observation effect in the real scene. The computer device can display an occlusion effect in the first display area. The occlusion effect is used to block the game scene displayed through the target area in the first display area. The target area is a partial area in the first display area. The occlusion effect is used to simulate the impact on the observation effect of the first game scene caused by the target object part not looking directly at the virtual sight. For example, when the player controls the target game object to move, jump, and other actions, causing the target object part to be to the left of the virtual eyepiece, the computer device can display the following: Fig.10 The occlusion effect shown is used to occlude part of the target area on the left side of the first game scene. In this way, the impact of the character's action changes on the scene observation through the scope in the real scene can be more realistically restored. On the one hand, it can bring a more realistic game experience to the player, and on the other hand, it can bring more reasonable restrictions to the player's operation, preventing the player from performing some operations that are easy to affect the balance of the game. For example, in this way, the player's aiming accuracy when controlling the movement of the game object can be effectively reduced, thereby further enriching the strategy of the game.
[0140] Specifically, in a possible implementation, the computer device may determine the target area to which the occlusion special effect needs to be added in the following manner.
[0141] In this implementation, if Fig.11 As shown, the first objective lens area on the virtual objective lens overlaps with the virtual eyepiece in direction, and the second objective lens area can be an area on the virtual objective lens other than the first objective lens area, and the game scene displayed through the target area is used to simulate the part of the game scene observed through the second objective lens area. Since in the real scene, the objective lens is used for imaging and the eyepiece is used for magnification, the blocked objective lens area is the objective lens area used to generate the blocked image part in the scene image, so that the partial area that will be blocked in the first scene area can be determined more accurately in this way, and the blocking special effect can be added more accurately.
[0142] It is understandable that in real scenes, in order to help people perform more accurate aiming, shooting and other actions, there are usually aiming marks (such as crosshairs, circular crosshairs, etc.) on the sight. In this application, in order to restore the aiming method in real scenes, the computer device can also display the aiming mark on the virtual sight to the player in the game to help the player aim more accurately.
[0143] In a real scene, when the brightness of the scene in the scope is high, the large amount of light entering will cause the visibility of the aiming mark added to the scope to become lower and more transparent. In a possible implementation, the computer device can also restore this effect to further improve the authenticity of the game effect.
[0144] In this implementation, the target game prop has an aiming mark, which is used to identify the direction of observation of the game scene through the target game prop. The computer device displays the aiming mark at the center of the first display area, and the transparency of the aiming mark is positively correlated with the scene brightness of the first game scene. That is, the higher the brightness of the first game scene displayed through the first display area, the higher the transparency of the aiming mark and the lower the visibility, so that the effect of the scene brightness on the transparency in the real scene can be restored. Fig.12 As shown, in the scene display interface on the left, the scene brightness of the first game scene is higher, so the transparency of the aiming mark is higher; in the scene display interface on the right, the scene brightness of the first game scene is lower, so the transparency corresponding to the aiming mark is lower.
[0145] Among them, in order to more carefully characterize the impact of scene brightness on the transparency of the aiming mark, the computer device can, on the one hand, add a uniform transparency to the aiming mark based on the overall scene brightness of the first game scene; on the other hand, it can also determine the transparency corresponding to each part of the aiming mark based on the scene brightness corresponding to the game scene actually covered by each part of the aiming mark.
[0146] In one possible implementation, the transparency of the aiming mark is positively correlated with the scene brightness of the game scene displayed by the display area covered by the aiming mark, that is, when the scene brightness of the game scene displayed in the display area covered by different marks parts of the aiming mark is different, the transparency corresponding to the different marks parts of the aiming mark will also be different, thereby more realistically representing the effect of the scene brightness on the transparency of the aiming mark.
[0147] In addition, in real scenes, not all aiming marks' transparency will be affected by scene brightness. For example, when the aiming mark is a mark engraved on the objective lens or eyepiece, the transparency of the aiming mark is less affected by the received light. When the aiming mark is projected onto the objective lens or eyepiece by laser projection or the like, the transparency is more affected by the received light. Based on this, computer equipment can also set different transparency expressions for different types of aiming marks provided in the game scene to further restore the aiming mark effect in the real scene.
[0148] In addition, it is understandable that in real scenes, since the material of the sight lens is usually reflective, part of the scene image can be reflected. In a possible implementation, the computer device can also simulate this display effect in the real scene to further improve the authenticity of the game experience.
[0149] In this implementation, the computer device can display a fourth game scene on the virtual eyepiece, where the fourth game scene is used to simulate the part of the game scene reflected by the virtual eyepiece, such as Fig.13 As shown. The computer device can display the fourth game scene in a variety of occasions based on different game requirements. For example, the computer device can display the fourth game scene in any game scene, or the computer device will display the fourth game scene on the virtual eyepiece only when the player does not trigger the scene display function of the target game prop. When the player triggers the scene display function of the target game prop, in order to reduce the impact of mirror reflection on the aiming effect, the computer device may not display the fourth game scene, thereby facilitating the player to observe the first game scene through the first display area.
[0150] The above content mainly introduces the interaction method provided by this application from the front-end interaction side. Next, we will introduce in detail how to implement the above interaction method from the background side.
[0151] See also Fig.14 , Fig.14 A flowchart of an interactive method provided in an embodiment of the present application, in which the computer device may be a terminal device or a server supporting interactive functions, or a combination of a terminal device and a server. The method includes:
[0152] S1401: Generate a first scene image through a first camera in the game scene.
[0153] Among them, the first camera is a virtual camera used to display the game scene at a default resolution, the first scene image is used to display the initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support the scene display function of the first magnification, the initial game scene is used to simulate the game scene observed by the target game object, and the first scene image is used to display through the initial game interface.
[0154] S1402: Obtain a function trigger request.
[0155] If the player wants to use the scene display function provided by the target game prop, a first trigger operation can be executed, and the function trigger request is initiated based on the first trigger operation for triggering the scene display function.
[0156] S1403: Generate a second scene image through the second camera in the game scene, and generate a second scene image through the first camera.
[0157] Based on obtaining the function trigger request, the computer device can display the scene display function of the target game prop by simultaneously generating scene images of different magnifications.
[0158] Among them, in order to quickly generate scene images of different magnifications, the computer device can set multiple virtual cameras in the game scene. In addition to the above-mentioned first camera, the computer device can also set a second camera for generating scene images of the first magnification. The second scene image is used to display the first game scene at the first magnification. The first game scene is used to simulate the part of the game scene observed by the target game object through the target game props at the first magnification in the initial game scene. The third scene image is used to display the second game scene at a default magnification. The first game scene does not overlap with the second game scene. The second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game props in the initial game scene. The second scene image is used to display through the first display area in the first scene display interface. The third scene image is used to display through the second display area in the first scene display interface.
[0159] In this way, a computer device can generate scene images corresponding to multiple magnifications that can be displayed simultaneously on the same interface, so that the interface can more realistically simulate the observation effect of observing the scene through props in a real scene, bringing players a better gaming experience.
[0160] It is understandable that in the gaming field, in order to make the display effect of the game scene better, a variety of technologies for processing game scene images have been developed, such as anti-aliasing technology, etc. These technologies may blur part of the game scene image to ensure the scene display effect. For example, in order to avoid the edges of scene objects in the game scene image being too sharp and distorted, the edges of the scene objects will be blurred.
[0161] In the related art, if a game prop used for scene observation has an aiming mark, when generating a game scene image, the aiming mark will first be added to the game scene image, and then the game scene image will be processed in various ways. This may cause the aiming mark to be blurred, making it difficult to help players aim, affecting the player's gaming experience.
[0162] In order to solve this technical problem, in a possible implementation method, the present application can add an aiming mark by post-processing the game scene image to ensure the accuracy of the aiming mark.
[0163] In this implementation, the target game prop has an aiming mark, and the aiming mark is used to identify the observation direction of the game scene through the target game prop. When executing step S1403, the computer device can execute steps S14031-S14032 (not shown in the figure), and steps S14031-S14032 are a possible implementation of step S1403, including:
[0164] S14031: Generate an initial second scene image through a second camera in the game scene.
[0165] Among them, the initial second scene image is used to display the first game scene at a first magnification. The initial second scene image is a scene image that has completed image processing, that is, it can display the same game scene as the second scene image. The difference is that the initial second scene image does not have an aiming mark.
[0166] S14032: Add a targeting mark at the center position of the initial second scene image to generate a second scene image.
[0167] By adding an aiming mark at the center of the initial second scene image, the aiming mark can have the effect of identifying the observation direction of the scene observation through the target game prop. After adding the aiming mark, the second scene image displayed directly in the first display area can be obtained without other image processing, thereby ensuring that the aiming mark will not be affected by the image processing, so that the first display area can display a more accurate aiming mark, thereby ensuring the player's observation experience of observing the scene through the target game prop.
[0168] In order to facilitate understanding of the technical solution provided by the present application, the interaction method provided by the present application will be introduced below in combination with an actual application scenario.
[0169] See also Fig.15 , Fig.15 A signaling diagram of an interaction method in an actual application scenario provided by an embodiment of the present application, in which the game program may be a shooting game program, the target game prop may be a virtual sight, and the computer device may be a terminal device for running the game program, such as a mobile phone or computer running the game program. The method includes:
[0170] S1501: Generate a first scene image through a first camera located at a target object portion of a target game object.
[0171] In this actual application scenario, the camera may be a first-person camera, the target game object may be a humanoid object, and the target object part may be located at the head of the target game object. The second camera is located at the virtual objective lens position of the virtual sight. When the player does not trigger the scene display function provided by the virtual sight, the second camera is in an unactivated state and does not generate a scene image. The first scene image is used to display the initial game scene at a default magnification.
[0172] S1502: Displaying a first scene image through an initial game interface.
[0173] S1503: Based on the first trigger operation and the second trigger operation, increase the exposure of the initial game interface.
[0174] If the player wants to trigger the scene display function of the first magnification provided by the virtual scope, the first trigger operation can be performed. At the same time, if the player wants to observe the game scene with a display effect that simulates the thermal imaging effect, the second trigger operation can be performed. In the initial game interface, the game scene is relatively dark. Under the thermal imaging effect, the scene brightness of the game scene will increase. At this time, in order to simulate the visual impact of entering a high-brightness area from a low-brightness area, the computer device can first increase the exposure of the initial game interface.
[0175] The computer device may preset a maximum automatic exposure value and a minimum automatic exposure value, and based on the first trigger operation and the second trigger operation, the computer device may adjust the exposure of the game interface to the maximum automatic exposure value. Based on the scene display function provided by the player closing the target game prop, the computer device may re-display the initial game interface, and at this time the computer device will first adjust the exposure of the game interface to the minimum exposure value to simulate the visual impact of entering a low-brightness area from a high-brightness area.
[0176] S1504: Generate an initial second scene image through a second camera located at a virtual objective lens position of the virtual sight, and generate a third scene image through the first camera.
[0177] The initial second scene image and the third scene image are both scene images that have been processed, such as anti-aliasing processing, etc. The initial second scene image is used to display the first game scene at a first magnification, and the third scene image is used to display the second game scene at a default magnification. The difference in magnification between the first game scene and the second game scene can characterize the scene display effect of the virtual scope.
[0178] The computer device may first generate a scene image of the original shape through the second camera, and then crop the scene image based on the area shape of the first display area in the first scene display interface to obtain an initial second scene image. Similarly, the third scene image may be processed in the same way and cropped based on the area shape of the second display area.
[0179] S1505: Adjust the pixel value corresponding to the scene object of the initial second scene image based on the heat attribute value corresponding to the scene object.
[0180] Since the player triggers the scene display mode of the thermal imaging effect through the second trigger operation, the computer device can obtain the thermal attribute values corresponding to the scene objects of the initial second scene image, which can be set by the game developer to simulate the heat of objects in the real scene. The higher the thermal attribute value, the higher the brightness of the pixel value corresponding to the scene object in the initial second scene image, thereby simulating the thermal imaging effect in the real scene.
[0181] S1506: Based on the object type of the scene object, adjust the pixel value corresponding to the scene object in the initial second scene image.
[0182] In order to guide players to actively interact with the interactive scene objects in the game scene, the computer device can identify the object type corresponding to each scene object in the initial second scene image, determine whether it is an interactive scene object, and then adjust the pixel values corresponding to these interactive scene objects to make their object colors more prominent and easier for players to find.
[0183] S1507: Add a targeting mark at the center position of the initial second scene image.
[0184] Adding aiming marks by post-processing can prevent the aiming marks from being affected by image processing and ensure the accuracy of the aiming marks.
[0185] S1508: According to the scene brightness corresponding to the area covered by the aiming mark, adjust the transparency corresponding to the aiming mark to obtain a second scene image.
[0186] The higher the scene brightness of the game scene displayed in the area covered by the aiming mark, the higher the transparency of the corresponding setting can be adjusted by the computer device to restore the aiming mark display effect in the real scene. Among them, for different types of aiming marks, the computer device can also perform other processing methods. For example, for aiming methods similar to "laser imaging" such as red dot aiming and holographic aiming mirror, due to the imaging principle, the aiming mark will have Gaussian spots under light. The computer device can add special effects simulating Gaussian noise to the aiming mark when the brightness of the game scene is high.
[0187] S1509: Determine whether the orientation of the target object portion is perpendicular to the virtual eyepiece.
[0188] If it is vertical, the computer device can display the complete second scene image through the first display area; if it is not vertical, the computer device can execute step S1510, determine the parts of the image in the second scene that will be blocked according to the overlap of the eyepiece and the objective lens in the direction of the target object, and add blocking special effects to these parts.
[0189] S1510: Add an occlusion effect to the second scene image.
[0190] S1511: Display the first scene display interface.
[0191] It can be seen from the above scheme that the present application has the following technical effects:
[0192] 1. Through the difference in the scene display magnification between the initial game interface and the first display area, the player can clearly perceive the scene observation function of the target game props, and can provide more obvious feedback on the player's operation.
[0193] 2. Through the difference in the display magnification of the game scene in the first display area and the second display area, the scene display function of the special magnification provided by the target game props can be more realistically presented, and the observation effect that the scene observed by observing the props in the real scene will undergo a special magnification change, and the scene that cannot be observed by observing the props will not undergo a magnification change can be more realistically restored, thereby further improving the authenticity of the scene observation function in the game and bringing players a more realistic game experience.
[0194] 3. By displaying the game scenes at multiple magnifications in the same scene display interface, the display effect of the game interface can be enriched, giving players a more diverse gaming experience.
[0195] 4. This application can support players to observe the game scene through a special magnification while supporting the display of imaging effects of multiple game scenes, thereby providing players with richer gameplay.
[0196] 5. This application can guide players to interact with interactive scene objects by highlighting the interactive scene objects, thereby helping players understand the gameplay.
[0197] 6. The present application can simulate various effects, such as the impact of changes in scene brightness on vision, the impact of changes in the orientation of game objects on the scene display function of target game props, and the impact of scene brightness on aiming marks, to further improve the authenticity of the player's gaming experience and make the gaming effect closer to the effect in real scenes.
[0198] 7. The present application can generate different game scene images through multiple cameras at different positions, so that players can feel the difference in depth between scenes in different areas when observing the game scene, thereby bringing a more realistic observation experience of observing the scene through game props.
[0199] Based on the front-end interaction method provided in the above embodiment, the present application also provides an interaction device, see Fig.16 , Fig.16 This is a structural block diagram of an interactive device provided in an embodiment of the present application, the device includes a first display unit 1601 and a second display unit 1602:
[0200] The first display unit 1601 is used to display an initial game interface, wherein the initial game interface is used to display an initial game scene at a default magnification, wherein the initial game scene includes a target game object, wherein the target game object holds a target game prop, wherein the target game prop is used to support a scene display function at a first magnification, and wherein the initial game scene is used to simulate a game scene observed by the target game object;
[0201] The second display unit 1602 is used to display a first scene display interface based on a first trigger operation. The first scene display interface includes a first display area and a second display area. The first trigger operation is used to trigger the scene display function. The first display area is used to display a first game scene at the first magnification. The first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene. The second display area is used to display a second game scene at the default magnification. The first game scene does not overlap with the second game scene. The second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene. The first game scene and the second game scene have different corresponding imaging effects. The first game scene corresponds to a target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
[0202] In a possible implementation, the device further includes a third display unit:
[0203] The third display unit is used to control the first scene display interface to display a third game scene at a second magnification through the first display area based on a second trigger operation, and the third game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the second magnification in the initial game scene, and the second trigger operation is used to change the display magnification corresponding to the scene display function supported by the target game prop from the first magnification to the second magnification.
[0204] In a possible implementation, the first display area is used to display the first game scene in a first mode. In the first mode, the first scene object displayed by the first display area corresponds to a first object color, and the first object color is used to simulate the object color corresponding to the first scene object in a real scene under a target imaging effect. The first scene object is used to constitute the first game scene;
[0205] The second display unit 1602 is specifically used for:
[0206] Based on the first trigger operation and the first mode selection operation, the first scene display interface is displayed, and the first mode selection operation is used to select the first mode.
[0207] In a possible implementation, the device further includes a fourth display unit:
[0208] The fourth display unit is used to display a second scene display interface based on the first trigger operation and the second mode selection operation, the second mode selection operation is used to select the second mode, the second scene display interface includes a third display area, the third display area is used to display the first game scene at the first magnification and the second mode, and in the second mode, the first scene object displayed by the third display area corresponds to a second object color, and the second object color is used to simulate the original object color corresponding to the first scene object in the real scene.
[0209] In a possible implementation, the initial game interface is used to display the game scene in a third mode, the color brightness corresponding to the same scene object in the third mode is smaller than the color brightness corresponding to the first mode, and the second display unit 1602 is specifically used to:
[0210] Based on the first trigger operation and the first mode selection operation, display a first interface switching special effect, where the first interface switching special effect is used to simulate the visual effect of entering a high-brightness area from a low-brightness area in a real scene;
[0211] After the special effects display is switched based on the first interface, the first scene display interface is displayed.
[0212] In a possible implementation, the device further includes a fifth display unit and a sixth display unit:
[0213] The fifth display unit is used to display a second interface switching special effect based on a third trigger operation, wherein the third trigger operation is used to change the display mode corresponding to the first game scene from the first mode to the third mode, and the second interface switching special effect is used to simulate the visual effect of entering a low-brightness area from a high-brightness area in a real scene;
[0214] The sixth display unit is used to display the first game scene in the third mode through the first display area based on the completion of switching the special effects display of the second interface.
[0215] In a possible implementation, the target imaging effect is a thermal imaging effect. Under the thermal imaging effect, the brightness of the color of the first object is positively correlated with the heat corresponding to the first scene object in the real scene.
[0216] In one possible implementation, the first game scene includes a second scene object and a third scene object. In the first mode, the prominence of the object color corresponding to the second scene object is greater than the prominence of the object color corresponding to the third scene object. The second scene object is any scene object in the first game scene that supports interaction with the target game object, and the third scene object is any scene object in the first game scene that does not support interaction with the target game object.
[0217] In one possible implementation, the initial game scene is displayed based on a first camera located at a target object part on the target game object, the initial game scene is used to simulate the game scene observed through the target object part, and the first game scene is displayed based on a second camera located on the target game prop.
[0218] In one possible implementation, the target game prop is a virtual sight, which is composed of a virtual objective lens and a virtual eyepiece. The virtual objective lens is located on a side of the virtual sight away from the target game object, and the virtual eyepiece is located on a side of the virtual sight close to the target game object. The first game scene is displayed based on the second camera located on the virtual objective lens, and is used to simulate a part of the game scene that is first observed through the virtual objective lens and then magnified through the virtual eyepiece.
[0219] In a possible implementation, the device further includes a seventh display unit:
[0220] The seventh display unit is used to display an occlusion effect in the first display area based on the fact that the orientation corresponding to the target object part is not perpendicular to the mirror surface of the virtual eyepiece. The occlusion effect is used to block the game scene displayed through the target area in the first display area, the target area is a partial area in the first display area, and the orientation corresponding to the target object part is used to simulate the observation direction of the target object for the game scene. The occlusion effect is used to simulate the impact on the observation effect of observing the first game scene due to the target object part not looking directly at the virtual sight.
[0221] In one possible implementation, the first objective area on the virtual objective lens overlaps with the virtual eyepiece in the direction, the second objective area is the area on the virtual objective lens excluding the first objective area, and the game scene displayed through the target area is used to simulate the part of the game scene observed through the second objective area.
[0222] In a possible implementation, the target game prop has an aiming mark, and the aiming mark is used to identify the observation direction of the game scene through the target game prop, and the device further includes an eighth display unit:
[0223] The eighth display unit is used to display the aiming mark at the center position of the first display area, and the transparency of the aiming mark is positively correlated with the scene brightness of the first game scene.
[0224] In a possible implementation, the transparency of the aiming mark is positively correlated with the scene brightness of the game scene displayed by the display area covered by the aiming mark.
[0225] In a possible implementation, the device further includes a ninth display unit:
[0226] The ninth display unit is used to display a fourth game scene on the virtual eyepiece, and the fourth game scene is used to simulate the part of the game scene reflected by the virtual eyepiece.
[0227] Based on the interactive method on the background processing side provided in the above embodiment, the present application also provides an interactive device, see Fig.17 , Fig.17 This is a structural block diagram of an interactive device provided in an embodiment of the present application, the device includes a first generating unit 1701, an acquiring unit 1702, and a second generating unit 1703:
[0228] The first generating unit 1701 is used to generate a first scene image through a first camera in the game scene, the first scene image is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, the initial game scene is used to simulate a game scene observed by the target game object, and the first scene image is used to be displayed through an initial game interface;
[0229] The acquiring unit 1702 is used to acquire a function triggering request, where the function triggering request is initiated based on a first triggering operation for triggering the scene display function;
[0230] The second generating unit 1703 is used to generate a second scene image through a second camera in the game scene, and to generate a second scene image through the first camera, the second scene image being used to display the first game scene at the first magnification, the first game scene being used to simulate the portion of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, the third scene image being used to display the second game scene at the default magnification, the first game scene and the second game scene not overlapping, the second game scene being used to simulate the portion of the game scene that the target game object cannot observe through the target game prop in the initial game scene, the second scene image being used to display through a first display area in a first scene display interface, the third scene image being used to display through a second display area in the first scene display interface, the first game scene and the second game scene corresponding to different imaging effects, the first game scene corresponding to a target imaging effect, and the target imaging effect being an imaging effect of observing the game scene through the target game prop.
[0231] In a possible implementation, the target game prop has an aiming mark, and the aiming mark is used to identify the observation direction of the game scene through the target game prop, and the second generating unit 1703 is specifically used to:
[0232] Generate an initial second scene image by using a second camera in the game scene, wherein the initial second scene image is used to display the first game scene at the first magnification;
[0233] The aiming mark is added at the center position of the initial second scene image to generate the second scene image.
[0234] The present application also provides a computer device, see Fig.18 As shown, the computer device may be a terminal device, and a mobile phone is taken as an example:
[0235] Fig.18 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Fig.18 The mobile phone includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 770, a processor 780, and a power supply 790. Those skilled in the art will understand that Fig.18The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0236] Combine the following Fig.18 A detailed introduction to the various components of the mobile phone:
[0237] The RF circuit 710 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 780 for processing; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit 710 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, referred to as LNA), a duplexer, etc. In addition, the RF circuit 710 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0238] The memory 720 can be used to store software programs and modules. The processor 780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720. The memory 720 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 720 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0239] The input unit 730 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 731 or near the touch panel 731 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 780, and can receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731, the input unit 730 may further include other input devices 732. Specifically, the other input devices 732 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
[0240] The display unit 740 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc. Further, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides a corresponding visual output on the display panel 741 according to the type of touch event. Although in Fig.18 In the embodiment, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.
[0241] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0242] The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the user and the mobile phone. The audio circuit 760 can transmit the received audio data to the speaker 761 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 760 and converted into audio data, and then the audio data is output to the processor 780 for processing, and then sent to another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for further processing.
[0243] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access. Fig.18 A WiFi module 770 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0244] The processor 780 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 720, and calling data stored in the memory 720, it executes various functions of the mobile phone and processes data, thereby performing overall detection of the mobile phone. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 780.
[0245] The mobile phone also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0246] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0247] In this embodiment, the processor 780 included in the terminal device also has the following functions:
[0248] Displaying an initial game interface, the initial game interface is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, and the initial game scene is used to simulate a game scene observed by the target game object;
[0249] Based on a first trigger operation, a first scene display interface is displayed, the first scene display interface includes a first display area and a second display area, the first trigger operation is used to trigger the scene display function, the first display area is used to display a first game scene at the first magnification, the first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, the second display area is used to display a second game scene at the default magnification, the first game scene and the second game scene do not overlap, the second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene, the first game scene and the second game scene have different corresponding imaging effects, the first game scene corresponds to a target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
[0250] And / or, in this embodiment, the processor 780 included in the terminal device further has the following functions:
[0251] Generate a first scene image through a first camera in the game scene, the first scene image is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, the initial game scene is used to simulate a game scene observed by the target game object, and the first scene image is used to display through an initial game interface;
[0252] Obtaining a function trigger request, where the function trigger request is initiated based on a first trigger operation for triggering the scene display function;
[0253] A second scene image is generated by a second camera in the game scene, and a second scene image is generated by the first camera, the second scene image is used to display the first game scene at the first magnification, the first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, the third scene image is used to display the second game scene at the default magnification, the first game scene and the second game scene do not overlap, the second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene, the second scene image is used to display through the first display area in the first scene display interface, the third scene image is used to display through the second display area in the first scene display interface, the first game scene and the second game scene have different corresponding imaging effects, the first game scene corresponds to the target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
[0254] The present application also provides a server. Fig.19 As shown, Fig.19 The structural diagram of the server 800 provided in the embodiment of the present application, the server 800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 822 (for example, one or more processors) and a memory 832, and one or more storage media 830 (for example, one or more mass storage devices) storing application programs 842 or data 844. Among them, the memory 832 and the storage medium 830 can be temporary storage or permanent storage. The program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 822 can be configured to communicate with the storage medium 830 and execute a series of instruction operations in the storage medium 830 on the server 800.
[0255] The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and / or one or more operating systems 841, such as Windows Server 2000. TM , Mac OS X TM , Unix TM,Linux TM , FreeBSD TM etc.
[0256] The steps performed by the server in the above embodiment can be based on Fig.19 The server structure shown.
[0257] An embodiment of the present application also provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to execute any one of the implementation methods of the interaction methods described in the aforementioned embodiments.
[0258] An embodiment of the present application further provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the interaction method described in any one of the above embodiments.
[0259] It is understandable that in the specific implementation of this application, related data such as user information (such as game information) is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0260] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the above-mentioned storage medium can be at least one of the following media: read-only memory (English: read-only memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.
[0261] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0262] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An interactive method, characterized in that: The method comprises: Displaying an initial game interface, the initial game interface is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, and the initial game scene is used to simulate a game scene observed by the target game object; Based on a first trigger operation, a first scene display interface is displayed, the first scene display interface includes a first display area and a second display area, the first trigger operation is used to trigger the scene display function, the first display area is used to display a first game scene at the first magnification, the first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, the second display area is used to display a second game scene at the default magnification, the first game scene and the second game scene do not overlap, the second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene, the first game scene and the second game scene have different corresponding imaging effects, the first game scene corresponds to a target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
2. The method according to claim 1, characterized in that The method further comprises: Based on the second trigger operation, the first scene display interface is controlled to display the third game scene at the second magnification through the first display area, and the third game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the second magnification in the initial game scene. The second trigger operation is used to change the display magnification corresponding to the scene display function supported by the target game prop from the first magnification to the second magnification.
3. The method according to claim 1, characterized in that The first display area is used to display the first game scene in a first mode. In the first mode, the first scene object displayed by the first display area corresponds to a first object color. The first object color is used to simulate the object color corresponding to the first scene object in the real scene under the target imaging effect. The first scene object is used to constitute the first game scene; The displaying of the first scene display interface based on the first trigger operation includes: Based on the first trigger operation and the first mode selection operation, the first scene display interface is displayed, and the first mode selection operation is used to select the first mode.
4. The method according to claim 3, characterized in that The method further comprises: Based on the first trigger operation and the second mode selection operation, a second scene display interface is displayed, the second mode selection operation is used to select the second mode, the second scene display interface includes a third display area, the third display area is used to display the first game scene at the first magnification and the second mode, and in the second mode, the first scene object displayed by the third display area corresponds to a second object color, and the second object color is used to simulate the original object color corresponding to the first scene object in the real scene.
5. The method according to claim 3, characterized in that: The initial game interface is used to display the game scene in the third mode, the color brightness corresponding to the same scene object in the third mode is less than the color brightness corresponding to the first mode, and the display of the first scene display interface based on the first trigger operation and the first mode selection operation includes: Based on the first trigger operation and the first mode selection operation, display a first interface switching special effect, where the first interface switching special effect is used to simulate the visual effect of entering a high-brightness area from a low-brightness area in a real scene; After the special effects display is switched based on the first interface, the first scene display interface is displayed.
6. The method according to claim 5, characterized in that The method further comprises: Based on a third trigger operation, display a second interface switching special effect, wherein the third trigger operation is used to change the display mode corresponding to the first game scene from the first mode to the third mode, and the second interface switching special effect is used to simulate the visual effect of entering a low-brightness area from a high-brightness area in a real scene; After the special effects display is switched based on the second interface, the first game scene is displayed in the third mode through the first display area.
7. The method according to claim 3, characterized in that The target imaging effect is a thermal imaging effect. Under the thermal imaging effect, the brightness of the color of the first object is positively correlated with the heat corresponding to the first scene object in the real scene.
8. The method according to claim 3, characterized in that The first game scene includes a second scene object and a third scene object. In the first mode, the prominence of the object color corresponding to the second scene object is greater than the prominence of the object color corresponding to the third scene object. The second scene object is any scene object in the first game scene that supports interaction with the target game object, and the third scene object is any scene object in the first game scene that does not support interaction with the target game object.
9. The method according to claim 1, characterized in that: The initial game scene is displayed based on a first camera located at a target object part on the target game object, and the initial game scene is used to simulate a game scene observed through the target object part. The first game scene is displayed based on a second camera located on the target game prop.
10. The method according to claim 9, characterized in that The target game prop is a virtual sight, which is composed of a virtual objective lens and a virtual eyepiece. The virtual objective lens is located on a side of the virtual sight away from the target game object, and the virtual eyepiece is located on a side of the virtual sight close to the target game object. The first game scene is displayed based on the second camera located on the virtual objective lens, and is used to simulate a part of the game scene that is first observed through the virtual objective lens and then magnified through the virtual eyepiece.
11. The method according to claim 10, characterized in that The method further comprises: Based on the fact that the orientation corresponding to the target object part is not perpendicular to the mirror surface of the virtual eyepiece, an occlusion effect is displayed in the first display area, and the occlusion effect is used to block the game scene displayed through the target area in the first display area, the target area is a partial area in the first display area, and the orientation corresponding to the target object part is used to simulate the observation direction of the target object for the game scene, and the occlusion effect is used to simulate the impact on the observation effect of observing the first game scene due to the target object part not looking directly at the virtual sight.
12. The method according to claim 11, characterized in that The first objective lens area on the virtual objective lens overlaps with the virtual eyepiece in the direction, and the second objective lens area is the area on the virtual objective lens excluding the first objective lens area. The game scene displayed through the target area is used to simulate the part of the game scene observed through the second objective lens area.
13. The method according to claim 1, characterized in that The target game prop has a sighting mark, and the sighting mark is used to mark the direction of observation of the game scene through the target game prop. The method further includes: The aiming mark is displayed at the center of the first display area, and the transparency of the aiming mark is positively correlated with the scene brightness of the first game scene.
14. The method according to claim 13, characterized in that The transparency of the aiming mark is positively correlated with the scene brightness of the game scene displayed by the display area covered by the aiming mark.
15. The method according to claim 10, characterized in that The method further comprises: A fourth game scene is displayed on the virtual eyepiece, and the fourth game scene is used to simulate the part of the game scene reflected by the virtual eyepiece.
16. An interactive method, characterized in that: The method comprises: Generate a first scene image through a first camera in the game scene, the first scene image is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, the initial game scene is used to simulate a game scene observed by the target game object, and the first scene image is used to display through an initial game interface; Obtaining a function trigger request, where the function trigger request is initiated based on a first trigger operation for triggering the scene display function; A second scene image is generated by a second camera in the game scene, and a second scene image is generated by the first camera, the second scene image is used to display the first game scene at the first magnification, the first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, the third scene image is used to display the second game scene at the default magnification, the first game scene and the second game scene do not overlap, the second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene, the second scene image is used to display through the first display area in the first scene display interface, the third scene image is used to display through the second display area in the first scene display interface, the first game scene and the second game scene have different corresponding imaging effects, the first game scene corresponds to the target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
17. The method according to claim 16, characterized in that The target game prop has an aiming mark, and the aiming mark is used to identify the observation direction of the game scene through the target game prop, and the second scene image is generated by the second camera in the game scene, including: Generate an initial second scene image by using a second camera in the game scene, wherein the initial second scene image is used to display the first game scene at the first magnification; The aiming mark is added at the center position of the initial second scene image to generate the second scene image.
18. An interactive device, characterized in that: The device comprises a first display unit and a second display unit: The first display unit is used to display an initial game interface, the initial game interface is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, and the initial game scene is used to simulate a game scene observed by the target game object; The second display unit is used to display a first scene display interface based on a first trigger operation. The first scene display interface includes a first display area and a second display area. The first trigger operation is used to trigger the scene display function. The first display area is used to display a first game scene at the first magnification. The first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene. The second display area is used to display a second game scene at the default magnification. The first game scene does not overlap with the second game scene. The second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene. The first game scene and the second game scene have different corresponding imaging effects. The first game scene corresponds to a target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
19. An interactive device, characterized in that: The device comprises a first generating unit, an acquiring unit and a second generating unit: The first generating unit is used to generate a first scene image through a first camera in the game scene, the first scene image is used to display an initial game scene at a default magnification, the initial game scene includes a target game object, the target game object holds a target game prop, the target game prop is used to support a scene display function of a first magnification, the initial game scene is used to simulate a game scene observed by the target game object, and the first scene image is used to be displayed through an initial game interface; The acquisition unit is used to acquire a function trigger request, where the function trigger request is initiated based on a first trigger operation for triggering the scene display function; The second generating unit is used to generate a second scene image through a second camera in the game scene, and to generate a second scene image through the first camera, the second scene image is used to display the first game scene at the first magnification, the first game scene is used to simulate the part of the game scene observed by the target game object through the target game prop at the first magnification in the initial game scene, the third scene image is used to display the second game scene at the default magnification, the first game scene does not overlap with the second game scene, the second game scene is used to simulate the part of the game scene that the target game object cannot observe through the target game prop in the initial game scene, the second scene image is used to display through the first display area in the first scene display interface, the third scene image is used to display through the second display area in the first scene display interface, the first game scene and the second game scene have different corresponding imaging effects, the first game scene corresponds to the target imaging effect, and the target imaging effect is the imaging effect of observing the game scene through the target game prop.
20. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute the interaction method described in any one of claims 1-15 or the interaction method described in claims 16-17 according to the instructions in the computer program.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the interactive method described in any one of claims 1 to 15, or execute the interactive method described in claims 16 to 17.
22. A computer program product comprising a computer program, which, when executed on a computer device, enables the computer device to execute the interactive method according to any one of claims 1 to 15, or the interactive method according to claims 16 to 17.
