A display method, device and storage medium

By detecting and controlling the position of the virtual camera in real time, and using the virtual camera bound to the game character for scene display, the problem of insufficient relevance between the display of specific scene elements and the player in massively multiplayer online role-playing games is solved, thereby enhancing the player's sense of immersion and gaming experience.

CN114053701BActive Publication Date: 2025-12-16BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111423719.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-26
Publication Date
2025-12-16
Estimated Expiration
2041-11-26

AI Technical Summary

Technical Problem

In massively multiplayer online role-playing games, the display of specific scene elements cannot be associated with the player, resulting in poor player immersion and a poor gaming experience.

Method used

By detecting the position of the target character in real time, the current position of the virtual camera and the target shooting position are obtained. The virtual camera is then controlled to move to the target shooting position to take a picture and display the captured content. The scene is displayed using a virtual camera that is bound to the game character.

Benefits of technology

It enhances player immersion and gaming experience, reduces workload, and provides a smoother display process that doesn't feel disconnected from the player's actual gameplay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114053701B_ABST
    Figure CN114053701B_ABST
Patent Text Reader

Abstract

The application discloses a display method and device and a storage medium. The method comprises the following steps: detecting a target position of a target role object in a game scene in real time; when it is determined that the target position is located in a preset scene interaction area, acquiring a current position of a virtual camera and a target shooting position associated with the scene interaction area; based on the current position and the target shooting position, controlling the virtual camera to move to the target shooting position, and displaying the content shot by the virtual camera. In the application, the player lens is multiplexed, that is, the virtual camera bound with the game role is multiplexed, the virtual camera is adjusted to the target shooting position for shooting, then the shot content is rendered into a target image frame and displayed, so that when the target area in the game scene is displayed, the player has an immersive experience, the player has a strong sense of identification, and the game experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to a display method and device and storage medium. BACKGROUND

[0002] In a large Multiplayer Online Role-Playing Game (MMORPG) product, there are usually a large number of exquisite map and scene designs, but these art resources are often ignored by players because of the low degree of association with the core gameplay. Therefore, it is necessary to guide players to focus on these exquisite scene elements, and thus the display of specific scene elements becomes particularly important. Displaying specific scene elements can not only improve the player's immersion, but also add a sense of host to the game and improve the quality of the game.

[0003] In order to realize the display of specific scene elements, the existing display method is to pre-produce a set of shots sequence for each specific scene element independently of the game logic, and then use the camera in the sequence to play each set of shots. Since each sequence is produced independently of the game logic, it is disconnected from the player and cannot be associated with the player when playing, resulting in poor player immersion and thus poor game experience. SUMMARY

[0004] Therefore, the present application provides a display method, device, storage medium and electronic equipment, which mainly aims to solve the problem that the display of specific scene elements cannot be associated with the player and the player's immersion is poor.

[0005] To solve the above problems, the present application provides a display method, comprising:

[0006] real-time detecting a target position of a target role object in a game scene;

[0007] when it is determined that the target position is located in a preset scene interaction area, acquiring a current position of a virtual camera and a target shooting position associated with the scene interaction area;

[0008] based on the current position and the target shooting position, controlling the virtual camera to move to the target shooting position, and displaying the content shot by the virtual camera.

[0009] Optionally, when it is determined that the target position is located in a preset scene interaction area, the method further comprises:

[0010] displaying an interaction button for user interaction operation;

[0011] In response to the interaction operation on the interaction button, the current position of the virtual camera and a target shooting position associated with the scene interaction area are obtained.

[0012] Optionally, before the current position of the virtual camera and the target shooting position associated with the scene interaction area are obtained, the method further comprises:

[0013] In response to the interaction operation on the interaction button, a message is sent to a server to enable the server to verify whether the target role object is located in the scene interaction area.

[0014] In response to the notification sent by the server in the case that the target role object is verified to be located in the scene interaction area, the current position of the virtual camera and the target shooting position associated with the scene interaction area are obtained.

[0015] Optionally, the display method further comprises: obtaining a target display point corresponding to the target shooting position; and based on the current position and the target shooting position, controlling the virtual camera to move to the target shooting position and displaying the content captured by the virtual camera, specifically comprising: based on the current shooting position and the target shooting position, determining a trajectory path of the virtual camera; controlling the virtual camera to move to the target shooting position along the trajectory path; and after the virtual camera reaches the target shooting position, controlling the virtual camera to focus on the target display point at the target shooting position and displaying the content captured by the virtual camera.

[0016] Optionally, the target shooting position associated with the scene interaction area is obtained by: obtaining a first shooting position associated with the scene interaction area; and based on attribute information of the target role object, adjusting the first shooting position to obtain the target shooting position.

[0017] Optionally, the target shooting position is obtained by adjusting the first shooting position based on attribute information of the target role object, specifically comprising: obtaining attribute information of at least one of the following of the target role object: gender of the role object, shoulder height of the role object, shoulder width of the role object, and height of the role object; and based on the attribute information, adjusting the first shooting position to obtain the target shooting position.

[0018] Optionally, the display method further comprises: obtaining each scene picture captured during the movement of the virtual camera; generating a plurality of image frames based on each of the scene pictures, and displaying the image frames.

[0019] Optionally, when the virtual camera is controlled to move to the target shooting position based on the current position and the target shooting position, the method further includes: rejecting a control operation of the user for the target role object; and / or, rejecting a rotation operation for the virtual camera.

[0020] To solve the above problems, the present application provides a display device, comprising:

[0021] A detection module is configured to detect a target position of a target role object in a game scene in real time.

[0022] A obtaining module is configured to obtain a current position of a virtual camera and a target shooting position associated with a scene interaction region when it is determined that the target position is located in the scene interaction region.

[0023] A display module is configured to control the virtual camera to move to the target shooting position based on the current position and the target shooting position, and display the content shot by the virtual camera.

[0024] To solve the above problems, the present application provides a storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the display method.

[0025] To solve the above problems, the present application provides an electronic device, which at least includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the display method when executing the computer program on the memory.

[0026] The display method, device, storage medium and electronic device provided in the present application can reuse the player's shot, that is, reuse the virtual camera bound to the game role, adjust the virtual camera to the target shooting position for shooting, then render the shot content into a target image frame and display it, so that the player has a sense of being in the scene when displaying the target region in the game scene, the process of guiding the player to focus on the scene elements is more smooth, and there is no obvious split with the actual game behavior of the player, the player has a strong sense of immersion, and the game experience is improved. Moreover, there is no need to make sequence in advance, so the workload is reduced.

[0027] The above description is only a summary of the technical solutions of the present application. In order to more clearly understand the technical means of the present application, the content of the specification can be implemented, and in order to make the above and other purposes, characteristics and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application are described below. BRIEF DESCRIPTION OF DRAWINGS

[0028] Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading and understanding the following detailed description of the preferred embodiments. The following drawings are included herewith to facilitate a better understanding of the present application, the drawings are only one of many embodiments of the present application, and therefore should not be considered limiting of the scope of the present application, nor require that the present application be practiced solely with the examples presented in the accompanying drawings.

[0029] Figure 1 A flow chart of a display method according to an embodiment of the present application;

[0030] Figure 2 A flow chart of a display method according to another embodiment of the present application;

[0031] Figure 3 A block diagram of a display device according to yet another embodiment of the present application. DETAILED DESCRIPTION

[0032] Various aspects and features of the present application are described in the detailed description which follows, in reference to the drawings identified below.

[0033] It should be understood that various alterations, modifications and improvements can be made to the embodiments of the present application herein disclosed, without departing from the scope of the present application. In particular, it will be clear to those of ordinary skill in the art that the present application can be carried out without necessarily being limited to the embodiments described herein. Accordingly, the description herein is to be taken only by way of example and the true scope of the present application is indicated by the appended claims, along with the full scope of equivalents to which such claims are entitled.

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present application and, together with the description, serve to explain the principles of the present application.

[0035] These and other characteristics of the present application will become apparent from the following description, taken together with the accompanying drawings, given by way of non-limiting example of the application.

[0036] It should also be understood that, although the terms "first" and "second" can be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. Thus, a first element discussed below could be termed a second element, and similarly, a second element could be termed a first element without departing from the scope of the present application.

[0037] The above and other aspects, features, and advantages of the present application will become more apparent from the following detailed description, taken in conjunction with the accompanying drawings, when understood in conjunction with the following detailed description.

[0038] Specific embodiments of the present application are described hereinbelow with reference to the accompanying drawings; however, it will be understood that the application is not limited to the specific embodiments described herein, but encompasses numerous alternatives and modifications. Those skilled in the art will readily recognize many modifications and variations of this application. Accordingly, the application is not limited to the specific embodiments described herein, but is only limited by the claims that follow.

[0039] The specification can use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which can refer to one or more embodiments according to the application.

[0040] The embodiment provides a display method, which is specifically applied to the process of displaying a specific scene image in a game by a terminal device, as shown in the following figure: Figure 1 The method in the embodiment specifically includes the following steps:

[0041] In step S101, a target position of a target role object in a game scene is detected in real time.

[0042] In the embodiment, when a user / player plays a game through a terminal device, the terminal device displays a game scene image in real time based on a picture taken by a virtual camera; the target role object refers to a game role / virtual role controlled by the player through the terminal device, and the target role object is bound to the virtual camera. When the target role object moves, the virtual camera bound to the target role object also moves, and scene content is taken, and then a scene image is rendered and displayed through a display interface of the terminal device.

[0043] In step S102, when it is determined that the target position is located in a preset scene interaction region, a current position of the virtual camera and a target shooting position associated with the scene interaction region are obtained.

[0044] In this step, the target shooting position refers to a shooting position of a specific / target game scene image that the user / player wants to focus on, which can be a shooting position corresponding to any target region in the game scene, and can be set according to actual needs. For example, the user / player wants to focus on a specific scene element in the game scene, that is, focus on a target display point, such as a tree, a building, a road, etc., a target region is determined in advance according to the scene element / target display point, and a target shooting position corresponding to the target region is determined, that is, a game image containing the scene element can be obtained by shooting at the target shooting position. The preset scene interaction region in this step refers to a region range that triggers the display of a specific / target scene image, and an association between the region and the target shooting position is established in advance. When the player controls the game role / target role object to enter the region range, a display operation for the target region in the game scene is triggered.

[0045] In step S103, based on the current position and the target shooting position, the virtual camera is controlled to move to the target shooting position, and content taken by the virtual camera is displayed.

[0046] In this step, when the target shooting position and the current position are determined, the movement path of the virtual camera can be determined, and then the virtual camera is controlled to move to the target shooting position according to the path, and the content shot is displayed.

[0047] In this step, during the display of the content shot, the target display point corresponding to the target shooting position can be acquired first, and then the virtual camera is controlled to move to the target shooting position along the trajectory path, and after the virtual camera reaches the target shooting position, the virtual camera is controlled to focus on the target display point at the target shooting position, and the content shot by the virtual camera is displayed.

[0048] In the specific implementation process, the mapping relationship between the target display point and the target shooting position can be established in advance, so that when the target shooting position is determined, the target display point can be quickly determined by looking up the mapping relationship, and then the game scene is shot by controlling the virtual camera to move to the target shooting position and focus on the target display point, and the target video frame image with the target display point as the focus point is obtained, and then the target video frame image is displayed. Since the virtual camera is bound to the game character, when the player controls the game character to move through the terminal, the game scene is updated in real time on the display interface of the terminal device by using the virtual camera to shoot the scene from the perspective of the game character, so that the immersive game experience can be realized.

[0049] In this embodiment, the player's camera is multiplexed, that is, the virtual camera bound to the game character is multiplexed, the virtual camera is adjusted to the target shooting position for shooting, and then the content shot is rendered into a target image frame and displayed, so that when the target region in the game scene is displayed, the player has an immersive experience, the player's sense of immersion is strong, and the game experience is improved. And since sequence does not need to be prepared in advance, the workload is reduced.

[0050] On the basis of the above examples, in order to display the target display point more reasonably and humanly, another embodiment of the present application provides a display method, as shown in Figure 2 The method comprises the following steps:

[0051] Step S201, real-time detection of the target position of the target character object in the game scene;

[0052] Step S202, when it is determined that the target position is located in the preset scene interaction region, displaying an interaction button for user interaction operation;

[0053] In this step, a plurality of scene interaction regions / trigger regions for triggering the display of the target display point can be preconfigured, and each scene interaction region is associated with a corresponding target display point. In this way, after the terminal device obtains the target position information of the target role object, it can further detect whether the target position is in the pre-set scene interaction region, that is, whether the target position is in the pre-set trigger region. When it is detected that the target position is in the pre-set scene interaction region / trigger region, the interaction button will be displayed, and when it is detected that the target position is not in the pre-set scene interaction region / trigger region, the subsequent display operation for the target display point will not be performed.

[0054] In step S203, in response to the interaction operation on the interaction button, a message is sent to the server to make the server verify whether the target role object is located in the scene interaction region.

[0055] The interaction operation in this step can be a click operation, a sliding operation, a rotation operation, a dragging operation, etc. That is, after the terminal device displays the interaction button, the game player can trigger the display state of the target game scene region by clicking the interaction button. That is, when the game player clicks the interaction button to trigger the display state of the target region, the target role object also enters the first state. Therefore, the client first sends a message to the server, which can include information that the target role object is in the first state, and the message can also include identification information of the scene interaction region reported by the client, such as ID information of the scene interaction region. When the server receives the message sent by the client, it obtains the first position of the target role in the game scene, and compares the first position with the position region corresponding to the identification information of the received scene interaction region to further determine whether the target role is located in the pre-set scene interaction region. In the specific implementation process, the server can also pre-store the position information of each scene interaction region. After receiving the message sent by the client and obtaining the first position of the target role in the game scene, the server can also directly compare the first position with the pre-stored position information of each scene interaction region to determine the first scene interaction region where the target role object is located, and then determine whether the identification information of the first scene interaction region is consistent with the identification information of the received scene region to obtain the verification result. By using the above method, the server can be used to further verify whether the target position of the target role object is in the pre-set region, so as to further ensure that the effect of the personalized lens (the display effect of the shooting content of the virtual camera) is within a controllable range.

[0056] Step S204, in response to the received notification sent by the server in the case of verifying that the target role object is located in the scene interaction area, obtaining the current position of the virtual camera and the target shooting position associated with the scene interaction area;

[0057] In this step, when the server verifies that the target role object is located in the scene interaction area, the result of the verification is sent to the terminal device, so that the terminal device can obtain the current position of the virtual camera and the target shooting position associated with the scene interaction area.

[0058] In the specific implementation process of this step, the terminal device obtains the current shooting position of the virtual camera bound to the target role object when the target role object is located at the target position.

[0059] In this step, when obtaining the target shooting position, it is obtained based on the pre-established association relationship between each scene interaction area and each shooting position, that is, the target shooting position is quickly determined by searching for the association relationship according to the scene interaction area.

[0060] In order to make the determination of the target shooting position more reasonable, so that the target image frame of the target region of the game scene shot subsequently conforms to the perspective of the game character, the obtained shooting position can also be adjusted in this embodiment to obtain the target shooting position. That is, the specific process of obtaining the target shooting position is: obtaining a first shooting position associated with the scene interaction region; adjusting the first shooting position based on the attribute information of the target character object to obtain the target shooting position. Wherein the adjustment of the first shooting position based on the attribute information of the target character object to obtain the target shooting position specifically includes: obtaining the attribute information of at least one of the following of the target character object: gender of the character object, shoulder height of the character object, shoulder width of the character object, and height of the character object; adjusting the first shooting position based on the attribute information to obtain the target shooting position. That is, after determining a first shooting position according to the association relationship between each scene interaction region and each shooting position, the first shooting position needs to be adjusted according to the attributes of the target character to obtain the target shooting position. For example, it is determined that the first character attribute is: male, height A, and shoulder width B. Therefore, the first shooting position can be adjusted according to the two attribute information to obtain the target shooting position corresponding to the height and shoulder width of the target character object (including but not limited to over-the-shoulder shot position, overhead shooting position, waist shooting position), for example, the first shooting position is adjusted according to the first character attribute to obtain the target shooting position at a first preset distance behind the right shoulder of the target game character near the original first shooting position (i.e. when the target character object is located at the first shooting position, it corresponds to the over-the-shoulder shot position of the target character object); or the first shooting position is located at a second preset distance above the head of the target game character (i.e. when the target character object is located at the first shooting position, it corresponds to the overhead shooting position of the target character object); or the first shooting position is adjusted and located on the shoulder width median line of the target game character and has the same height as the eye height, thereby obtaining the target shooting position; for example, it is determined that the first character attribute is: female, height a, and shoulder width b, a is less than A, and b is less than B. Therefore, the first shooting position can be adjusted according to the two attribute information to obtain the target shooting position, that is, the first shooting position is located on the shoulder width median line of the target game character and has the same height as the eye height of the target game character. In this embodiment, the first shooting position is adjusted according to the gender, height, shoulder width and other body parameters of the game character / character object, so that the target shooting position of the game character with different body types can be obtained reasonably, and the shooting position of the virtual camera when the virtual camera shoots the target region conforms to the individual situation of the target character object, so that the subsequent display of the target display point conforms to the perspective of the game character, further enhances the immersion of the game player, and improves the game experience.

[0061] Step S205, obtaining a target display point corresponding to the target shooting position;

[0062] In this step, the target display point refers to a specific scene element that the user / player wants to focus on, which can be any building, tree, road, or any environmental scene in the game scene, etc., which can be set according to actual needs. In the specific implementation process, a mapping relationship between the target display point and the target shooting position can be established in advance, so that when the target shooting position is determined, the target display point can be quickly determined by looking up the mapping relationship, laying a foundation for subsequent control of the virtual camera to move and gather to the target display point to shoot the game scene.

[0063] Step S206, determining a trajectory path of the virtual camera based on the current shooting position and the target shooting position;

[0064] In the specific implementation process of this step, after obtaining the current shooting position and the target shooting position of the virtual camera, the trajectory path of the virtual camera moving from the current shooting position to the target shooting position can be simulated by interpolation operation. This lays a foundation for subsequent control of the virtual camera to move and shoot based on the trajectory path. For example, the current position of the lens / virtual camera can be taken as the starting point, and a certain relative position relative to the body of the target role object can be taken as the terminal / target shooting position (such as the back of the right shoulder, the top of the head, the waist, etc.), the moving trajectory of the lens / virtual camera is simulated after the interpolation process is calculated, and finally focuses on the target point / target display point.

[0065] Step S207, controlling the virtual camera to move along the trajectory path to the target shooting position; after the virtual camera reaches the target shooting position, controlling the virtual camera to focus on the target display point associated with the target shooting position at the target shooting position, and displaying the content shot by the virtual camera.

[0066] In the specific implementation process of this step, after the trajectory path is determined, the terminal device can control the virtual camera to move along the trajectory path according to the trajectory path, and control the virtual camera to stay at the target shooting position. At the same time, the terminal device controls the virtual camera to focus on the target display point associated with the target shooting position at the target shooting position, and displays the picture content with the target display point as the focus point shot by the virtual camera, and then renders the target image frame for display.

[0067] In the specific implementation process of the present step, in order to make the display process for the target game scene area more complete and smooth, each scene picture taken in the movement of the virtual camera can be further acquired; the corresponding image frame is generated based on each scene picture and is displayed. Thus, in the movement of the virtual camera, the terminal device can display each image frame in real time with the target role object as the first visual angle, so as to realize real-time updating of the game picture.

[0068] In the specific implementation process of the present embodiment, in order to prevent the display effect for the target display point from being abnormal and to guarantee the display effect, after the trajectory path of the virtual camera is determined, the terminal device can further reject the control operation of the user for the target role object and / or reject the rotation operation for the virtual camera. That is, after the trajectory path is determined, the terminal device limits the operation of the player and limits the rotation of the virtual camera lens, so as to prevent the display effect from being abnormal due to the superposition of the movement of the target object controlled by the player and the rotation of the lens / virtual camera during the movement of the lens / virtual camera, and to guarantee the display effect. In the present embodiment, since the virtual camera associated with the game role is used for display throughout the process, the continuity of the experience of the player is stronger.

[0069] In the present embodiment, after the virtual camera moves to the target shooting position and displays the target image frame, the terminal device can further display an exit button. In response to the exit operation of the user for the exit button, the virtual camera is adjusted to a default shooting position of the target role object in the game state, such as a position that is a first predetermined distance behind the right shoulder of the target role object, a position that is a second predetermined distance above the head of the target role object, or a position that is a third predetermined distance from the waist of the target role object, and the like, so that the player can normally play the game. The exit operation can be a click operation, a sliding operation, a dragging operation, and the like. Alternatively, after the virtual camera moves to the target shooting position and stays for a predetermined time, the terminal device automatically controls the virtual camera to adjust to the default shooting position, so that the player can normally play the game.

[0070] The display method in the present application can make the process of guiding the player to focus on the scene elements more smooth, will not be obviously separated from the actual game behavior of the player, and on the basis of batch-configurable target shooting positions, the display effect of the single target display point shot by the target shooting position can still be personalized adjusted, both the number of target display points in the game can be ensured, and the display difference between different target display points can be ensured. And the display method in the present application can more naturally convey the game scene carefully designed and produced by the development team to the player through providing a smooth viewing experience, improve the immersion of the player, and improve the overall quality of the game. At the same time, the display method / personalized lens display function in the present application can be called by each play module, for example, when making a plot or exploring a play, the display method in the present application can be used, further enriching the game content and ensuring the stickiness of the player.

[0071] In order to further explain the above-mentioned scheme in the present application, the following will be specifically explained in combination with specific application scenarios. The display method in the present embodiment includes the following steps:

[0072] Step 1, first configure a target display point that needs to be focused on a specific scene element;

[0073] Step 2, configure a scene interaction area that can trigger a personalized lens, and associate the scene interaction area with the corresponding target display point;

[0074] Step 3, the client detects the target position of the target role object, and judges whether the target position is located in the scene interaction area. When the client detects that the player capsule body collides with the area (i.e. the player enters the scene interaction area), an interaction button that triggers the personalized lens (displays the target display point) is displayed for the player;

[0075] Step 4, when the player triggers the interaction button:

[0076] (1), first, the server performs position verification to determine whether the player is located in the trigger area / scene interaction area, to ensure that the effect of the personalized lens is within a controllable range.

[0077] (2), if the server verification passes, the personalized lens logic flow is entered, that is, after the client receives the verification result of the server feedback that the verification passes, the client first acquires the current position of the player lens / virtual camera and the lens end position / target shooting position configured by the scene interaction area corresponding target display point.

[0078] (3), the end position / target shooting position is corrected according to the size and gender of the player to determine the final target shooting position.

[0079] (4) The client performs interpolation calculations based on the current starting point and the target shooting position to simulate the camera movement trajectory.

[0080] (5) Start moving the camera / virtual camera, while restricting other player operations, including moving and rotating the camera;

[0081] (6) When the camera movement ends, it stops at the endpoint and focuses on the corresponding target point. At this time, the player's operation restrictions are released. Any other operation such as moving or rotating the camera will automatically leave the personalized camera mode, and the camera will naturally interpolate back to the player's normal game camera position.

[0082] The display method described in this application provides a smooth viewing experience, naturally conveying the meticulously designed and crafted scenes to players, enhancing player immersion and improving the overall game quality. Furthermore, the display method / personalized camera display function described in this application can be invoked by various gameplay modules. For example, it can be used when creating storylines and exploring gameplay, further enriching game content and ensuring player engagement.

[0083] Another embodiment of this application provides a display device, such as... Figure 3 As shown, it includes:

[0084] Detection module 1 is used to detect the target position of the target character object in the game scene in real time;

[0085] The acquisition module 2 is used to acquire the current position of the virtual camera and the target shooting position associated with the scene interaction area when it is determined that the target position is located in a preset scene interaction area.

[0086] Display module 3 is used to control the virtual camera to move to the target shooting position based on the current position and the target shooting position, and to display the content captured by the virtual camera.

[0087] The display device in this embodiment further includes an interactive button display module, which is specifically used for: displaying interactive buttons for user interaction when the target location is determined to be located in a preset scene interaction area; and obtaining the current position of the virtual camera and the target shooting position associated with the scene interaction area in response to the interactive operation of the interactive buttons.

[0088] The display device in this embodiment further comprises a verification module, which is specifically configured to, in response to an interaction operation on the interaction button, send a message to a server to make the server verify whether the target role object is located in the scene interaction area before acquiring the current position of the virtual camera and the target shooting position associated with the scene interaction area; and in response to a notification received from the server that the target role object is located in the scene interaction area, acquire the current position of the virtual camera and the target shooting position associated with the scene interaction area.

[0089] The acquisition module is further configured to acquire a target display point corresponding to the target shooting position.

[0090] The display module is specifically configured to determine a trajectory path of the virtual camera based on the current shooting position and the target shooting position, control the virtual camera to move to the target shooting position along the trajectory path, and control the virtual camera to focus on the target display point at the target shooting position after the virtual camera reaches the target shooting position, and display the content shot by the virtual camera.

[0091] The acquisition module is specifically configured to acquire a first shooting position associated with the scene interaction area, and adjust the first shooting position based on attribute information of the target role object to obtain the target shooting position.

[0092] The acquisition module is specifically configured to acquire attribute information of at least one of the following of the target role object: gender of the role object, shoulder height of the role object, shoulder width of the role object, and height of the role object, and adjust the first shooting position based on the attribute information to obtain the target shooting position.

[0093] The display module in this embodiment is further configured to acquire each scene picture shot by the virtual camera during movement, generate a plurality of image frames based on each scene picture, and display the image frames.

[0094] The display device in this embodiment further comprises a restriction module, which is specifically configured to, when controlling the virtual camera to move to the target shooting position based on the current position and the target shooting position, refuse to respond to a control operation of a user on the target role object, and / or refuse to respond to a rotation operation on the virtual camera.

[0095] In this embodiment, the player camera, i.e., the virtual camera bound to the game character, is reused. The virtual camera is adjusted to a target shooting position for shooting, and then the shot content is rendered into a target image frame and displayed. In this way, when the target game scene area is displayed, and the target display point / specific scene element in the area is displayed, the player has an immersive experience, the process of guiding the player to focus on the scene element is smoother, there is no obvious split with the actual game behavior of the player, the player has a strong sense of immersion, and the game experience is improved. Moreover, since a sequence does not need to be prepared in advance, the workload is reduced.

[0096] Another embodiment of the present application provides a storage medium storing a computer program, which, when executed by a processor, implements the following method steps:

[0097] Step one, real-time detection of a target position of a target character object in a game scene;

[0098] Step two, when it is determined that the target position is located in a preset scene interaction area, obtaining a current position of a virtual camera and a target shooting position associated with the scene interaction area;

[0099] Step three, based on the current position and the target shooting position, controlling the virtual camera to move to the target shooting position, and displaying the content shot by the virtual camera.

[0100] The specific implementation process of the above method steps can be referred to the embodiments of the above-mentioned display method, which will not be repeated here.

[0101] In this embodiment, the player camera, i.e., the virtual camera bound to the game character, is reused. The virtual camera is adjusted to a target shooting position for shooting, and then the shot content is rendered into a target image frame and displayed. In this way, when the target game scene area is displayed, the player has an immersive experience, the process of guiding the player to focus on the scene element is smoother, there is no obvious split with the actual game behavior of the player, the player has a strong sense of immersion, and the game experience is improved. Moreover, since a sequence does not need to be prepared in advance, the workload is reduced.

[0102] Another embodiment of the present application provides an electronic device, at least comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following method steps when executing the computer program on the memory:

[0103] Step one, real-time detection of a target position of a target character object in a game scene;

[0104] Step two, when determining that the target position is located in a preset scene interaction region, acquiring a current position of a virtual camera and a target shooting position associated with the scene interaction region;

[0105] Step three, based on the current position and the target shooting position, controlling the virtual camera to move to the target shooting position, and displaying content shot by the virtual camera.

[0106] The specific implementation process of the above method steps can be referred to the embodiments of any of the display methods described above, which will not be repeated here.

[0107] In the embodiment, the player camera is reused, that is, the virtual camera bound to the game character is reused, the virtual camera is adjusted to the target shooting position for shooting, then the shot content is rendered into a target image frame and displayed, so that when the target game scene region is displayed, the player has an immersive experience, the process of guiding the player to focus on the scene elements is smoother, there is no obvious split with the actual game behavior of the player, the player has a strong sense of immersion, and the game experience is improved. Moreover, since the sequence does not need to be prepared in advance, the workload is reduced.

[0108] The above embodiments are only exemplary embodiments of the present application and are not used to limit the present application, the protection scope of the present application is defined by the claims. Those skilled in the art can make various modifications or equivalent replacements to the present application within the spirit and protection scope of the present application, and such modifications or equivalent replacements are also regarded as falling within the protection scope of the present application.

Claims

1. A display method, characterized in that, include: Real-time detection of the target character object's location within the game scene; When the target location is determined to be within a preset scene interaction area, the current position of the virtual camera bound to the target character object and the first shooting position associated with the scene interaction area are obtained. The first shooting position is adjusted based on the attribute information of the target character object to obtain the target shooting position; Based on the current location and the target shooting location, control the virtual camera to move to the target shooting location and display the content captured by the virtual camera; When controlling the virtual camera to move to the target shooting position based on the current position and the target shooting position, the method further includes performing the following player operation restriction operation: Refuse to respond to user control operations targeting the target role object; And / or, refuse to respond to rotation operations for the virtual camera; Once the camera movement ends and stops at the endpoint, focusing on the corresponding target point, the player's control restrictions are lifted.

2. The method as described in claim 1, characterized in that, When determining that the target location is within a preset scene interaction area, the method further includes: Display interactive buttons for users to interact with; In response to an interaction with the interactive button, the current position of the virtual camera and the target shooting position associated with the scene interaction area are obtained.

3. The method as described in claim 2, characterized in that, Before obtaining the current position of the virtual camera and the target shooting position associated with the scene interaction area, the method further includes: In response to an interaction with the interactive button, a message is sent to the server so that the server verifies whether the target character object is located in the scene interaction area; In response to a notification received from the server that verifies the target character object is located in the scene interaction area, the current position of the virtual camera and the target shooting position associated with the scene interaction area are obtained.

4. The method as described in claim 1, characterized in that, The method further includes: Obtain the target display point corresponding to the target shooting location; The step of controlling the virtual camera to move to the target shooting position based on the current position and the target shooting position, and displaying the content captured by the virtual camera, specifically includes: Based on the current shooting position and the target shooting position, the trajectory path of the virtual camera is determined; Control the virtual camera to move along the trajectory path to the target shooting position; After the virtual camera reaches the target shooting position, the virtual camera is controlled to focus on the target display point at the target shooting position, and the content captured by the virtual camera is displayed.

5. The method as described in claim 1, characterized in that, The step of adjusting the first shooting position based on the attribute information of the target character object to obtain the target shooting position specifically includes: Obtain at least one of the following attribute information of the target character object: the character object's gender, the character object's shoulder height, the character object's shoulder width, and the character object's height; The first shooting position is adjusted based on the attribute information to obtain the target shooting position.

6. The method as described in claim 4, characterized in that, The method further includes: Acquire images of various scenes captured during the movement of the virtual camera; Several image frames are generated based on the scenes described above, and then displayed.

7. A display device, characterized in that, include: The detection module is used to detect the target position of the target character object in the game scene in real time; The acquisition module is used to acquire the current position of the virtual camera bound to the target character object and the first shooting position associated with the scene interaction area when it is determined that the target position is located in a preset scene interaction area. The first shooting position is adjusted based on the attribute information of the target character object to obtain the target shooting position; The display module is used to control the virtual camera to move to the target shooting position based on the current position and the target shooting position, and to display the content captured by the virtual camera; The device is also used for: When controlling the virtual camera to move to the target shooting position based on the current position and the target shooting position, the following player operation restriction operations are performed: refuse to respond to user control operations on the target character object; and / or refuse to respond to rotation operations on the virtual camera; Once the camera movement ends and stops at the endpoint, focusing on the corresponding target point, the player's control restrictions are lifted.

8. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the steps of the display method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Game picture shooting method and device, equipment and storage medium

    CN112791417A