Virtual environment screen display method, device, equipment, and storage medium
By using an area skill indicator to select a target area and adjusting the camera model's observation center, the method addresses the issue of obstructed views in virtual environments, enhancing accuracy and efficiency in skill releases.
Patent Information
- Application Number
- JP2024145653
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-04-09
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-21
- Estimated Expiration
- 2041-03-11
AI Technical Summary
In three-dimensional virtual environments, such as battle arena games, releasing an area skill can cause the camera to follow the master virtual character, obstructing the view of the aiming area, leading to inaccurate targeting and impaired judgment.
A method is introduced where an area skill indicator selects a target area through an aiming operation, and the camera model adjusts its observation center to ensure the entire target area is displayed, allowing accurate aiming by shifting the observation position.
This method improves skill release accuracy and enhances human-computer interaction efficiency by ensuring the entire target area is visible, reducing redundant calculations and improving user operation speed.
Smart Images

Figure 2024163129000001_ABST
Abstract
Description
[Technical field]
[0001] This application seeks priority from a Chinese patent application filed on April 9, 2020, bearing application number 202010275730.8 and entitled "Virtual environment screen display method, device, equipment and storage medium," the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the field of human-computer interaction, and in particular to a method, an apparatus, a device and a storage medium for displaying a virtual environment screen. [Background technology]
[0003] In an application based on a three-dimensional virtual environment, such as a battle arena game, a camera model is associated with a master virtual character, and when a user controls the master virtual character to move in the virtual environment, the camera model moves to follow the master virtual character, thereby displaying a view of the master virtual character in the virtual environment.
[0004] The user can control the master virtual character to release various area skills in the virtual environment to attack other virtual characters in the virtual environment. When the master virtual character releases the area skill, the user selects an area where the skill is to be released and makes the area skill act on the selected area. During the process of releasing the area skill, the lens follows the master virtual character in order to always position the master virtual character at the center of the display screen of the terminal.
[0005] When the master virtual character releases the area skill, the area skill may exceed the display range of the display screen, thereby blocking the field of view of the aiming area and affecting judgment because the user cannot see the target object in the aiming area and can only aim by feel. Summary of the Invention [Means for solving the problem]
[0006] The embodiment of the present application provides a method, device, equipment, and storage medium for displaying a virtual environment screen, which improves the accuracy of skill release and improves the efficiency of human-computer interaction by triggering an area skill indicator to select a target area through an aiming operation. The technical means of the embodiment are described below.
[0007] According to one aspect of the present application, there is provided a method for displaying a virtual environment screen executed by a client, the method comprising: displaying a first virtual environment screen including a first area obtained by observing a virtual environment with a first observation position as an observation center, the first virtual environment screen displaying a master virtual character located in the virtual environment; displaying an area skill indicator for selecting a target area in response to receiving an aim operation, the area skill indicator for marking the target area in the virtual environment as a skill action area when the master virtual character releases a skill; A method for displaying a virtual environment screen includes a step of displaying a second virtual environment screen including a second area obtained by observing the virtual environment with a second observation position as an observation center, the second observation position being a position shifted with respect to the first observation position, and the second area including the target area.
[0008] According to another aspect of the present application, a display module is provided for displaying a first virtual environment screen including a first area obtained by observing a virtual environment with a first observation position as an observation center, and a master virtual character located in the virtual environment is displayed on the first virtual environment screen; the display module is for displaying an area skill indicator for selecting a target area in response to receiving an aiming operation, the area skill indicator for marking the target area in the virtual environment as a skill action area when the master virtual character releases a skill; The display module is for displaying a second virtual environment screen including a second area obtained by observing the virtual environment with a second observation position as an observation center, the second observation position being a shifted position relative to the first observation position, and providing a display device for a virtual environment screen including the target area.
[0009] According to another aspect of the present application, there is provided a computing device comprising a processor and a memory in which at least one command, at least one program, code set or command set is stored, the at least one command, the at least one program, the code set or the command set being loaded and executed by the processor to realize the method for displaying a virtual environment screen described in the above aspect.
[0010] According to another aspect of the present application, there is provided a computer-readable storage medium having stored thereon at least one command, at least one program, code set or command set which, when loaded and executed by a processor, realizes the method for displaying a virtual environment screen described in the above aspect.
[0011] According to another aspect of the present application, there is provided a computer program product or computer program comprising computer commands stored on a computer readable storage medium, the computer commands being read by a processor of a computing device from the computer readable storage medium and executed by the processor to cause the computing device to perform the method of displaying a virtual environment screen according to the previous aspect.
[0012] The beneficial effects of the technical means provided by the embodiments of the present application include at least the following:
[0013] By receiving the aiming operation, the client displays an area skill indicator in the target area selected by the aiming operation, and adjusts the observation center of the virtual environment screen according to the selected target area, so that the entire target area is included in the virtual environment screen. This allows the entire area skill indicator to be displayed on the virtual environment screen, and the area skill indicator can accurately aim at the attack target, reducing the time required for accurately aiming at the attack target by the aiming operation, avoiding the client receiving too many unnecessary aiming operations, and reducing unnecessary calculations of the client during aiming, improving the operating efficiency of the client and improving the efficiency of human-computer interaction. [Brief description of the drawings]
[0014] [Figure 1] FIG. 2 is a schematic diagram of a virtual environment screen provided by an exemplary embodiment of the present application; [Diagram 2] 1 is a block diagram of a computer system provided by an exemplary embodiment of the present application. [Diagram 3] 4 is a flowchart of a method for displaying a virtual environment screen provided by an exemplary embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of a camera model corresponding to the viewpoint of a master virtual character provided by an exemplary embodiment of the present application. [Diagram 5] 11 is a flowchart of a method for displaying a virtual environment screen provided by another exemplary embodiment of the present application. [Figure 6] FIG. 2 is a schematic diagram of a first virtual environment screen provided by an exemplary embodiment of the present application. [Figure 7] FIG. 2 is a schematic diagram of a wheel-type virtual joystick provided by an exemplary embodiment of the present application; [Figure 8]FIG. 2 is a schematic diagram of an interface displaying an area skill indicator provided by an exemplary embodiment of the present application. [Figure 9] 1 is a schematic diagram of a visual field judgment frame provided by an exemplary embodiment of the present application; [Figure 10] FIG. 2 is a schematic diagram of an interface of a second shift type provided by an exemplary embodiment of the present application. [Figure 11] FIG. 2 is a schematic diagram of a calculation of a first shift amount provided by an exemplary embodiment of the present application; [Figure 12] FIG. 2 is a schematic diagram of the positional relationship between a camera model and a virtual environment provided by an exemplary embodiment of the present application. [Figure 13] FIG. 4 is a schematic diagram of a calculation of a second shift amount provided by an exemplary embodiment of the present application; [Figure 14] FIG. 2 is a framework diagram of a virtual environment screen display method provided by an exemplary embodiment of the present application. [Figure 15] FIG. 2 is a framework diagram of a system for camera model movement control provided by an exemplary embodiment of the present application. [Figure 16] FIG. 2 is a framework diagram of a calculation of a global shift amount provided by an exemplary embodiment of the present application. [Figure 17] FIG. 2 is a framework diagram of a skill shift amount calculation provided by an exemplary embodiment of the present application. [Figure 18] FIG. 2 is a schematic diagram of a second virtual environment screen provided by an exemplary embodiment of the present application. [Figure 19] FIG. 2 is a framework diagram of a process of camera model movement control provided by an exemplary embodiment of the present application. [Figure 20] FIG. 2 is a block diagram of a display device for a virtual environment screen provided by an exemplary embodiment of the present application. [Figure 21] FIG. 2 is a schematic diagram of an apparatus structure of a computer device provided by an exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] First, the terms used in the examples of this application will be introduced.
[0016] The virtual environment is a virtual environment that is displayed (or provided) when an application runs on a terminal. The virtual environment may be a simulation environment of the real world, a semi-simulated semi-fictional environment, or a completely fictional environment. The virtual environment may be any one of a 2D virtual environment, a 2.5D virtual environment, and a 3D virtual environment, but this application is not particularly limited thereto. In the following embodiment, the virtual environment is described as a 3D virtual environment. In some embodiments, the virtual environment is for providing a battle environment for at least two master virtual characters. The virtual environment includes a symmetrical lower left area and an upper right area, and the master virtual characters belonging to the two opposing camps each occupy one area and have the victory goal of destroying a target building, base, base, or crystal at the back of the opponent's area.
[0017] A virtual character is an actionable object in a virtual environment. The actionable object may be a virtual person, a virtual animal, a cartoon character, etc., such as a person or an animal displayed in a three-dimensional virtual environment. Optionally, the virtual character is a three-dimensional model constructed based on skeletal animation technology. Each of the virtual characters has its own shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment. In an embodiment of the present application, it is taken as an example that the virtual character is a master virtual character controlled by a user. The master virtual character broadly refers to one or more master virtual characters in a virtual environment.
[0018] The camera model is a three-dimensional model located around the master virtual character in the virtual environment, and is for autonomously following the master virtual character in the virtual environment and acquiring a virtual environment screen. The user views the virtual environment screen through the camera model, and the camera model is not viewed. The virtual environment screen may be a screen observed in the virtual environment from the first-person or third-person viewpoint of the master virtual character.
[0019] Multiplayer Online Battle Arena Games (MOBA) are games in which different virtual teams belonging to at least two opposing camps each occupy their own map area in a virtual environment and compete to achieve a certain victory condition. The victory conditions include, but are not limited to, at least one of the following: occupying a base or destroying the base of the opposing camp, shooting and killing a virtual character of the opposing camp, surviving within a specified scene and time, seizing a certain resource, and beating the opponent's score within a specified time. The battle may be conducted in rounds, and the map of the battle for each round may be the same or different. Each virtual team includes one or more virtual characters, for example, one, two, three, or five. The duration of one round of a MOBA game is the time from the start of the game to the achievement of the victory condition.
[0020] The method provided by the present application may be implemented in virtual reality applications, 3D map programs, military simulation programs, first person shooter games (FPS), MOBA games, etc., but in the following embodiments, the application in games will be described as an example.
[0021] A game based on a virtual environment is composed of one or more game world maps, the virtual environment in the game simulates a real-world scene, and a user can control a master virtual character in the game to perform actions such as walking, running, jumping, shooting, fighting, driving, releasing skills, being attacked by other virtual characters, receiving damage in the virtual environment, attacking other virtual characters, etc., in the virtual environment, which is highly interactive, and multiple users can form teams online to participate in competitive games.
[0022] In some embodiments, the master virtual character selects a location in the virtual environment to release the skill, and such a skill is called an area skill. The area skill indicator needs to select the coordinates of the location in the virtual environment, and also needs to select the virtual units in the virtual environment, such as bases, crystals, defense towers, etc. The master virtual character releases the area skill in the virtual environment through the area skill indicator. The area skill indicator is for marking the skill action area when the master virtual character releases the skill in the virtual environment.
[0023] In the embodiment of the present application, an example is taken of a master virtual character in a game releasing an area skill.
[0024] FIG. 1 is a schematic diagram of an interface for moving a camera model provided by an exemplary embodiment of the present application. The virtual environment screen viewed by the user is a screen captured by a camera model provided in the virtual environment. The camera model corresponds to a lens anchor, which is the three-dimensional position coordinate of the camera model in the virtual environment, and the position of the camera model is changed by changing the lens anchor. In the embodiment of the present application, the height of the camera model is constant (the coordinate corresponding to the height is constant), and only the horizontal and vertical coordinates of the camera model in the horizontal plane are changed. Illustratively, the terminal used by the user is a smartphone.
[0025] The master virtual character 100 may be located at any position in the virtual environment. Illustratively, as shown in FIG. 1(a), the master virtual character 100 is displayed at the center position of the virtual environment screen, and at this time, the master virtual character 100 is about to release the area skill.
[0026] When the user triggers the skill widget, a wheel-type virtual joystick 102 having a wheel portion and a joystick portion is displayed on the skill widget. An area skill indicator 101 is displayed on the ground of the virtual environment, and as shown in FIG. 1B, the area skill indicator 101 moves in the virtual environment according to the direction in which the user drags the wheel-type virtual joystick 102. The camera model shifts in the moving direction of the area skill indicator 101, but since the position of the master virtual character 100 in the virtual environment remains the same, the virtual environment screen shifts in a direction away from the master virtual character 100, and the master virtual character 100 is visually recognized by the user as being located in an area on one side of the virtual environment screen. At this time, the user can visually recognize the target area selected by the area skill indicator 101, that is, the skill action area of the area skill.
[0027] As shown in (c) of Figure 1, when the master virtual character 100 releases the area skill (not shown), the area skill indicator disappears and the virtual environment screen captured by the camera model becomes the virtual environment screen as shown in (c) of Figure 1, i.e., the position of the camera model has not been changed relative to the screen shown in (b) of Figure 1.
[0028] After the master virtual character 100 releases the area skill, the camera model moves to the master virtual character 100 and becomes the virtual environment screen shown in (a) of FIG. 1, and illustratively, the master virtual character 100 is again located at the center position of the virtual environment screen.
[0029] Depending on the range of effect of the area skill used by the master virtual character, the movement pattern of the camera model includes three patterns: a pattern in which the camera model moves according to the relative positional relationship between the area skill indicator and the field of view judgment frame (the field of view judgment frame is a frame line installed in the virtual environment that is invisible to the user); a pattern in which the camera model shifts by a predetermined ratio in the virtual environment depending on the area selected by the area skill indicator; and a pattern in which the camera model shifts depending on the type of area skill used.
[0030] In this embodiment, by moving the camera model in accordance with the area skill indicator, the user can see the virtual environment screen at the aiming position, which avoids deviations in the user's aim due to limitations in the field of view and improves the efficiency of human-computer interaction.
[0031] 2 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application. The computer system 1 includes a first terminal 120, a server 140 and a second terminal 160.
[0032] An application supporting the virtual environment is installed and runs on the first terminal 120. The application may be any one of a virtual reality application, a three-dimensional map program, a military simulation program, an FPS game, a MOBA game, a multiplayer shooting survival game, and a battle royale type shooting game. The first terminal 120 is a terminal used by a first user, and the first user controls a first master virtual character located in the virtual environment by the first terminal 120 to perform an action. The action includes, but is not limited to, at least one of adjusting a body posture, walking, running, jumping, releasing a skill, picking up, attacking, and avoiding attacks by other virtual characters. Exemplarily, the first master virtual character is a first virtual person, for example, a simulation person character or an anime character. Exemplarily, the first master virtual character releases an area skill in the virtual environment, and the virtual environment screen moves from the position of the master virtual character to the target area selected by the area skill indicator. The area skill indicator is for allowing the master virtual character to select a skill action area when releasing the skill.
[0033] The first terminal 120 is connected to the server 140 via a wireless network or a wired network.
[0034] The server 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. Exemplarily, the server 140 includes a processor 144 and a memory 142, and the memory 142 also includes a receiving module 1421, a control module 1422, and a sending module 1423. The receiving module 1421 is for receiving a request sent from a client, such as a team formation request. The control module 1422 is for controlling the rendering of a virtual environment screen. The sending module 1423 is for sending a message or notification to the client, such as a notification of successful team formation. The server 140 is for providing background services to an application supporting a three-dimensional virtual environment. Optionally, the server 140 is responsible for main computational tasks, and the first terminal 120 and the second terminal 160 are responsible for secondary computational tasks, or the server 140 is responsible for secondary computational tasks, and the first terminal 120 and the second terminal 160 are responsible for main computational tasks, or the server 140, the first terminal 120 and the second terminal 160 perform collaborative computation through a distributed computing architecture.
[0035] The second terminal 160 is connected to the server 140 via a wireless network or a wired network.
[0036] An application supporting the virtual environment is installed and runs on the second terminal 160. The application may be any one of a virtual reality application, a three-dimensional map program, a military simulation program, an FPS game, a MOBA game, a multiplayer shooting survival game, and a battle royale type shooting game. The second terminal 160 is a terminal used by a second user, and the second user controls a second master virtual character located in the virtual environment through the second terminal 160 to perform an action. The action includes, but is not limited to, at least one of adjusting a body posture, walking, running, jumping, releasing a skill, picking up, attacking, and avoiding attacks by other master virtual characters. Exemplarily, the second master virtual character is a second virtual person, for example, a simulation human character or an anime character.
[0037] Optionally, the first virtual human character and the second virtual human character are in the same virtual environment. Optionally, the first virtual human character and the second virtual human character may belong to the same team, organization, have a friendship relationship or temporary communication rights.
[0038] Optionally, the first terminal 120 and the second terminal 160 may have the same application installed, or the two devices may have the same type of application installed on different control system platforms. The first terminal 120 may broadly refer to one of a plurality of terminals, and the second terminal 160 may broadly refer to one of a plurality of terminals, but in this embodiment, only the first terminal 120 and the second terminal 160 are described as an example. The first terminal 120 and the second terminal 160 are the same or different types of devices, and the types of devices include at least one of a smartphone, a tablet, an e-book reader, an MP3 player, an MP4 player, a laptop, and a desktop computer. In the following embodiment, the terminal is described as including a smartphone.
[0039] Those skilled in the art can understand that the number of the devices may be more or less. For example, the number of the devices may be only one, or the number of the devices may be tens or hundreds, or more. The number and types of the devices are not limited in the embodiments of the present application.
[0040] 3 is a flowchart of a method for displaying a virtual environment screen provided by an exemplary embodiment of the present application. The method may be executed by the first terminal 120 or the second terminal 160 in the computer system 1 shown in FIG. 2, or by another terminal in the computer system. The method includes the following steps:
[0041] In step 301, a first virtual environment screen including a first area obtained by observing the virtual environment with a first observation position as an observation center is displayed, and a master virtual character located in the virtual environment is displayed on the first virtual environment screen.
[0042] An application supporting a virtual environment is run on a terminal used by a user. When the user runs the application, a user interface for using the application is displayed on a display screen of the terminal, and the user interface includes a virtual environment screen. The virtual environment displayed on the virtual environment screen includes at least one element of mountains and rivers, plains, rivers, lakes, oceans, deserts, skies, plants, buildings, and transportation facilities.
[0043] In some embodiments, the virtual environment is a virtual environment having an arbitrary contour, for example, the virtual environment is a diamond shape. A user can view the entire virtual environment by checking a map corresponding to the virtual environment. A camera model is provided in the virtual environment, the camera model is for acquiring a virtual environment screen by observing the virtual environment from different viewpoints.
[0044] The viewpoint is the viewing angle obtained by observing the virtual environment from the first or third person viewpoint of the master virtual character.
[0045] Optionally, the camera model autonomously follows the master virtual character in the virtual environment, i.e., when the position of the master virtual character in the virtual environment is changed, the camera model is simultaneously changed in position to follow the position of the master virtual character in the virtual environment, and the camera model is always located within a preset distance range from the master virtual character in the virtual environment. Optionally, during the autonomous following, the relative positions of the camera model and the master virtual character may or may not be changed.
[0046] The camera model is a three-dimensional model of a camera located around the master virtual character in the virtual environment. When a first-person perspective is adopted, the camera model is located near or at the head of the master virtual character. When a third-person perspective is adopted, the camera model may be located behind the master virtual character and associated with the master virtual character, or may be located at any position at a preset distance from the master virtual character. The camera model allows the master virtual character located in the virtual environment to be observed from different angles. Optionally, when the third-person perspective is a first-person over-the-shoulder perspective, the camera model is located behind the master virtual character (e.g., the head and shoulders of a virtual human character). Optionally, the perspectives include other perspectives besides the first-person perspective and the third-person perspective, such as an overhead perspective. When an overhead perspective is adopted, the camera model may be located in the air above the head of the master virtual character. The overhead perspective is a perspective from which the virtual environment is observed at an angle looking down from the air. Optionally, the camera model is not actually displayed in the virtual environment, ie, the camera model is not displayed in the virtual environment view displayed in the user interface.
[0047] An example will be described in which the camera model is located at an arbitrary position at a preset distance from the master virtual character. Optionally, one camera model corresponds to one master virtual character. The camera model may rotate around the master virtual character as a rotation center. For example, the camera model is rotated around an arbitrary point of the master virtual character as a rotation center, and the camera model not only rotates in angle during rotation, but also shifts in position. During rotation, the distance between the camera model and the rotation center is kept constant, that is, the camera model is rotated on the surface of a sphere with the rotation center as the sphere center. The arbitrary point of the master virtual character may be the head, torso, or any point around the master virtual character, but this is not limited in the embodiment of the present application. Optionally, when observing the master virtual character with the camera model, the direction of the center of the viewpoint of the camera model is a direction from a point on the sphere where the camera model is located toward the sphere center.
[0048] Optionally, the camera model may further view the master virtual character at preset angles from different directions relative to the master virtual character.
[0049] 4, a point is determined as a rotation center 12 in the master virtual character 11, and the camera model is rotated around the rotation center 12. Optionally, an initial position is set for the camera model, and the initial position is a rear-upper position of the master virtual character (e.g., a position behind the brain). Exemplarily, as shown in FIG. 4, the initial position is position 13, and when the camera model rotates to position 14 or position 15, the viewpoint direction of the camera model is changed according to the rotation of the camera model.
[0050] In some embodiments, the viewpoint of the camera model is switched by a manual operation of the user. For example, the user selects a target to be confirmed on a map corresponding to the virtual environment, and the camera model switches the viewpoint to a viewpoint corresponding to the target selected by the user in response to the user's operation. The target selected by the user is displayed on the virtual environment screen at the selected viewpoint, and the master virtual character controlled by the user is not displayed.
[0051] The first observation position is a corresponding observation position in the virtual environment obtained by observing the virtual environment at the first camera position (position 14 in FIG. 4) with the camera model. The intersection of a straight line extending from the lens of the camera model along the observation direction (or shooting direction) with the virtual environment is the observation position. The first observation position corresponds to any position in the virtual environment, and the first observation position includes the position of the master virtual character.
[0052] The first area is an area obtained by observing the virtual environment with the first observation position as the observation center, and the first area may be any shape, such as circular, rectangular, irregular, etc. In some embodiments, the first area is an area viewed by the user through a display screen of the terminal. In other embodiments, the first area is an area beyond the area displayed on the display screen (which is a portion of the virtual environment), or the first area corresponds to the entire virtual environment.
[0053] The first virtual environment view may be a virtual environment view corresponding to when the master virtual character has not released the area skill, or may be a virtual environment view corresponding to after the master virtual character has released the area skill once.
[0054] The master virtual character is an object that can act in the virtual environment, and the master virtual character may be a virtual person, a virtual animal, an animated character, etc. The skills released in the virtual environment vary depending on the virtual character. Depending on the release format of the skill, the skill may be divided into various types, for example, area skills, directional skills, automatic lock-on skills, etc. The area skill is a skill that the master virtual character releases in the skill action area after the user selects the skill action area in the virtual environment where the skill is released. The directional skill is a skill that the master virtual character releases in the selected direction after the user selects the release direction in the virtual environment. The automatic lock-on skill is a skill that is automatically locked on to a target unit located near the master virtual character when it is released and released. In the embodiment of the present application, an example is described in which the master virtual character releases an area skill.
[0055] A skill is an ability used or released by a virtual character to attack a virtual character (including other virtual characters and itself) or to produce a beneficial or beneficial effect. Skills include active skills, which are skills used or released by a virtual character active, and passive skills, which are skills that are automatically triggered when a passive condition is met. Illustratively, the skills described in this embodiment are active skills that are actively used and released by a master virtual character under the control of a user.
[0056] In step 302, in response to receiving an aiming operation, an area skill indicator is displayed for selecting a target area, the area skill indicator for marking a target area in the virtual environment that is a skill action area when the master virtual character releases a skill.
[0057] An area skill is a skill that requires the master virtual character to select a skill action area where the release is performed when releasing the skill. The master virtual character selects a target area in the virtual environment by the area skill indicator and releases the area skill in the target area. When the area skill is released, it exerts a skill effect on a virtual unit located in the target area. For example, the virtual unit includes a virtual character, a crystal, a base, a defense tower, etc. In some embodiments, the master virtual character releases the area skill by performing a release operation (or an aiming operation) of the area skill, for example, triggering a release widget of the area skill to display a wheel-type virtual joystick that controls the area skill indicator, and the area skill indicator is displayed on the virtual environment screen. The user controls the wheel-type virtual joystick to control the position of the area skill indicator in the virtual environment, and the area skill indicator may be located at any position in the virtual environment. The area selected by the area skill indicator indicates the skill action area of the area skill, and the skill action area is also the target area marked in the virtual environment by the area skill indicator. For example, the skill release operation is when the user drags the wheel-type virtual joystick to control the area skill indicator to select a target position and then releases the hand. When the user releases the hand (when the drag operation stops), the master virtual character releases the area skill to the target area, which is the area currently selected by the area skill indicator. The skill action area of the area skill may be any shape, such as a circle, a rectangle, a triangle, a polygon, an irregular shape, etc., but in the embodiment of the present application, the action area is described as a circle. Exemplarily, the shape of the area skill indicator is the same as the shape of the skill action area of the area skill.
[0058] In some embodiments, the target area and the first area have some overlapping area, i.e., the target area has some area that is outside the first area, or the target area and the first area do not overlap, i.e., the target area is outside the first area.
[0059] When the terminal used by the user is a terminal having a touch screen, such as a smartphone or a tablet, the aiming operation is generated by the user triggering a widget in a user interface (UI) or performing a gesture to release an area skill on the touch screen. In some embodiments, the UI widget is also called a skill release widget or an area skill release widget, but the names of the widgets are not limited in the embodiments of the present application.
[0060] When the terminal used by the user is a terminal connected to an external input device, such as a desktop computer, laptop, etc., the aiming operation is generated by the user triggering the external input device. For example, the user controls the master virtual character to release an area skill by clicking a mouse or game pad connected to the desktop computer.
[0061] In step 303, a second virtual environment screen is displayed including a second area obtained by observing the virtual environment with a second observation position as the observation center, the second observation position being a shifted position with respect to the first observation position, and the second area including the target area.
[0062] The camera model moves from the first camera position to the second camera position (moves from position 14 to position 13 as shown in FIG. 4) to form a second virtual environment screen. The second observation position is an observation position in the virtual environment that corresponds to the center of the second virtual environment screen, obtained by the camera model observing the virtual environment at the second camera position. The second observation position is a position shifted based on the first observation position, and the second virtual environment screen is formed with the second observation position as the observation center.
[0063] The second area is an area obtained by observing the virtual environment from a second observation position as a viewing center, and the second area may be any shape, such as circular, rectangular, irregular, etc. The target area is located within the second area. In some embodiments, the second area is an area of the virtual environment viewed by the user on a display screen of the device.
[0064] The second virtual environment screen is a virtual environment screen when the area skill indicator selects a target area of the area skill in response to the aiming operation, i.e., a virtual environment screen displayed during aiming before the area skill is released. Exemplarily, the second virtual environment screen may be a virtual environment screen displayed when the area skill is released on the target area after the area skill indicator selects a target area in the virtual environment in response to the aiming operation, i.e., a virtual environment screen displayed when the area skill is released.
[0065] As described above, according to the method provided by the present embodiment, the client receives the user's aiming operation, displays the area skill indicator in the target area according to the target area selected by the aiming operation, and adjusts the observation center of the virtual environment screen according to the selected target area, so as to include the entire target area in the virtual environment screen. The client displays the entire target area on the virtual environment screen with the target area as the observation center, so that the user can further observe the skill action area of the area skill and judge the action range after the release of the area skill, reducing the user's sense of controlling the master virtual character to release the area skill in the virtual environment, improving the accuracy of the skill release, and improving the efficiency of human-computer interaction. By optimizing the display format of the virtual environment screen, the user can see a more complete area skill indicator and more accurately operate the area skill indicator to aim at the attack target, thereby improving the efficiency of the user operation, reducing the time required to accurately select the target area with the aiming operation, avoiding the user's inability to properly observe the skill action area, which leads to a longer time for the aiming operation, and further reducing unnecessary calculations during the client's aiming, improving the operating efficiency of the client.
[0066] A method for displaying a virtual environment screen will be described with reference to an example of a user interface.
[0067] 5 is a flowchart of a method for displaying a virtual environment screen provided by another exemplary embodiment of the present application. The method may be executed by the first terminal 120 or the second terminal 160 in the computer system 1 as shown in FIG. 2 or other terminals in the computer system. The method includes the following steps:
[0068] In step 501, a first virtual environment screen including a first area obtained by observing the virtual environment with a first observation position as the observation center is displayed, and a master virtual character located in the virtual environment is displayed on the first virtual environment screen.
[0069] For illustrative purposes, the terminal used by the user includes a smartphone. As shown in Fig. 6, a user interface of a game program is displayed on a display screen of the terminal, the user interface including a first virtual environment screen 60, the first virtual environment screen 60 including a master virtual character 61. The first virtual environment screen 60 includes a first area, the first area being an area of the same size as the area displayed on the first virtual environment screen 60.
[0070] In one example, the first area is the area displayed in the first virtual environment view 60, and the master virtual character 61 is located in the first area.
[0071] The user interface further includes UI widgets 62 for controlling the master virtual character to release skills in the virtual environment when triggered by the user. In some embodiments, the user releases different types of skills by triggering different UI widgets 62, but in the present embodiment, controlling the master virtual character to release area skills is taken as an example.
[0072] In step 502, in response to receiving an aiming operation, an area skill indicator is displayed for selecting a target area, the area skill indicator for marking a target area in the virtual environment that is a skill action area when the master virtual character releases a skill.
[0073] Exemplarily, when a user triggers a UI widget of a user interface, the terminal receives an aiming operation. In one example, the UI widget 62 controls the master virtual character to release the area skill. When a user clicks on the UI widget 62, a wheel-type virtual joystick is displayed as shown in FIG. 7, the wheel-type virtual joystick has a wheel portion 63 and a joystick portion 64, and as shown in FIG. 8, the position where the area skill indicator 65 is displayed in the virtual environment is controlled by dragging the joystick portion 64. In some embodiments, the joystick portion 64 may be of other shapes such as a triangle, a rectangle, or the like, or the joystick portion 64 may be a half line from the center of the area skill indicator toward the edge of the wheel portion 63, and the direction of the half line may indicate the target area selected in the virtual environment by the area skill indicator.
[0074] Illustratively, the area skill indicator 65 is a circle, the area marked by the area skill indicator 65 is a target area where the master virtual character releases the area skill, the target area is a circle, and the area skill's range of effect is the target area. In some embodiments, the area of the target area is related to the range of effect of the area skill or related to the type of area skill, e.g., the larger the range of effect of the area skill, the larger the area of the target area.
[0075] In some embodiments, the area skill indicator 65 is released in a selection area 66, which provides a selection range for the area skill indicator 65 to select a target area. The selection area 66 may be an area of a portion of the virtual environment or an area corresponding to the entire virtual environment. Optionally, the selection area is an area centered on the position of the master virtual character, and the shape of the selection area may be any shape, for example, circular.
[0076] In some embodiments, the area skill is released in the following manner: the master virtual character selects a target area in the virtual environment and releases the skill to the target area. Exemplarily, the released skill exerts an effect on the virtual units located in the target area. For example, the virtual units include a virtual character, a crystal, a base, a defense tower, etc. Or, the released area skill exerts an effect on the virtual environment in the target area. For example, the area skill changes the terrain attribute of the target area, creates a new terrain in the target area, or sets a trap in the target area. Or, the released area skill associates the master virtual character with the target area. For example, the area skill teleports the virtual character to the target area.
[0077] In step 503, the camera model is moved according to a shift type from a first camera position corresponding to the first viewing position to a second camera position corresponding to the second viewing position.
[0078] A camera model is provided in the virtual environment, and the camera model is used to observe the virtual environment and acquire a virtual environment screen. By moving the position of the camera model, the first virtual environment screen is changed to a second virtual environment screen.
[0079] As shown in FIG. 4, exemplarily, the first camera position is position 13, and the screen of the virtual environment observed or photographed by the camera model at position 13 is the first virtual environment screen, and the camera model is moved to a second camera position according to the shift format, and the second camera position is position 15, and the screen of the virtual environment observed or photographed by the camera model at position 15 is the second virtual environment screen.
[0080] In some embodiments, the shift format includes a moving speed of the camera model, for example, the camera model moves from the first camera position to the second camera position at a constant speed. In other embodiments, the shift format includes a trigger format for moving the camera model, that is, the movement of the camera model is triggered when a trigger condition is met. In other embodiments, the movement format of the camera model includes a moving distance of the camera model, for example, when the action range of the area skill released by the master virtual character is small, the moving distance of the camera model is also small, or when the action range of the area skill released by the master virtual character is large, the moving distance of the camera model is large. In the embodiments of the present application, an example is described in which the shift format includes a trigger format for moving the camera model.
[0081] The shift type of the camera model includes at least one of a first shift type and a second shift type, and when the camera model shifts in the first shift type, step 503 may be replaced with the following step.
[0082] In step 503a, in response to an area reference point determined based on the center point of the target area being located outside the field of view judgment frame, a first shift amount in a first shift format of the camera model is determined from the distance between the area reference point and the frame line of the field of view judgment frame.
[0083] The first shift type is a type in which the camera model is shifted based on a field of view judgment frame for expressing the field of view range of the camera model. The field of view judgment frame is an invisible frame line set on the virtual environment screen, the field of view judgment frame is a frame line having the observation center of the camera model as its center point and parallel to the horizontal plane, and the field of view judgment frame has at least one frame line perpendicular to the observation direction of the camera model.
[0084] The shape of the field of view judgment frame is determined by the shape of the terminal display screen (and other elements), and the center of the field of view judgment frame is the aiming position in the virtual environment of the camera model. For example, assuming that the terminal screen is rectangular, the aiming position in the virtual environment of the camera model is the center of the field of view judgment frame, and the length and width of the field of view judgment frame are determined by the length and width of the screen. The field of view judgment frame is slightly smaller in size than the screen, with its long side perpendicular to the observation direction of the camera model and its short side parallel to the observation direction of the camera model. Alternatively, the field of view judgment frame has its short side perpendicular to the observation direction of the camera model and its long side parallel to the observation direction of the camera model. Exemplarily, the field of view judgment frame moves following the movement of the camera model in the virtual environment. Exemplarily, when the camera model is not shifted, the camera model has the position of the master virtual character as its observation center, and the center of the field of view judgment frame is also at the position of the master virtual character.
[0085] As shown in FIG. 9, a visual field judgment frame 67 is displayed on the virtual environment screen, and the visual field judgment frame 67 may be a circle, a triangle, a polygon, or the like, but the shape of the visual field judgment frame 67 is not limited in the embodiment of the present application. The size of the visual field judgment frame 67 may be set in advance, or may be set according to the shift distance of the camera model, or may be set according to the action range of the area skill, but the size of the visual field judgment frame 67 is not limited in the embodiment of the present application. It should be noted that in the embodiment of the present application, the visual field judgment frame 67 is only an example, and in reality, the visual field judgment frame 67 is not displayed on the virtual environment screen, that is, the user cannot see the visual field judgment frame 67 in the user interface.
[0086] 9, the area reference point 68 is determined based on the center point of the area skill indicator 65. When the area reference point 68 is located outside the field of view judgment frame 67, a shift of the camera model is triggered. The first shift amount in the first shift format of the camera model is calculated from the distance between the area reference point 68 and the field of view judgment frame 67.
[0087] In step 504a, the camera model is moved from a first camera position to a second camera position according to a first shift amount.
[0088] The camera model is shifted according to the first shift amount calculated in step 503a, where the first shift amount includes a first movement direction and a first movement distance of the camera model.
[0089] According to the method provided by this embodiment, by setting a field of view judgment frame and determining a first shift amount of the camera model based on the field of view judgment frame, the camera model can be accurately moved to a corresponding position, thereby enabling the second virtual environment screen to be accurately displayed based on the position of the camera model.
[0090] If the camera model is shifted in a second shift format, step 503 may be replaced by the following step.
[0091] In step 503b, a second shift amount in the second shift format of the camera model is determined according to the pointing direction.
[0092] The second shift type is a type of shift based on a pointing direction, and the pointing direction is a direction from the position of the master virtual character toward the center point of the target area.
[0093] As shown in FIG. 10 , an area skill indicator 65 is displayed on the virtual environment screen, the area skill indicator 65 corresponds to a center point 68, a target area for releasing the area skill is marked with the area skill indicator 65, and the user selects the release position of the area skill indicator 65 from a selection area 66.
[0094] A pointing direction 69 is further displayed on the virtual environment screen, and the pointing direction points from the position of the master virtual character to the center point of the area skill indicator, i.e., the center point of the target area.
[0095] A second shift amount in the second shift format of the camera model is determined based on the pointing direction and the included angle in the horizontal direction, the distance corresponding to the pointing direction, and the shift ratio.
[0096] In step 504b, the camera model is moved from the first camera position to a second camera position according to a second shift amount.
[0097] The camera model is shifted according to the second shift amount determined in step 504a, the second shift amount including a second movement direction and a second movement distance of the camera model.
[0098] According to the method provided by this embodiment, the corresponding included angle, a certain shift distance and a shift ratio are obtained from the direction indicated by the area skill indicator, and a second shift amount of the camera model is determined. When the effective range of the skill released by the master virtual character changes significantly, the camera model can accurately shift to the corresponding position according to the second shift amount, and accurately display the second virtual environment screen.
[0099] In step 505, a second virtual environment view is displayed according to a second camera position in which the camera model is located.
[0100] When the camera model moves to a second camera position, a screen captured or observed at the second camera position is displayed as a second virtual environment screen, the second virtual environment screen including a second area obtained by observing the virtual environment at the second camera position, the second area including the target area marked with the area skill indicator.
[0101] It should be understood that the first and second shift types may be implemented alone or in combination with each other, or may be implemented in combination with other shift types.
[0102] As described above, according to the method provided by the present embodiment, the client controls the camera model to move from the first camera position to the second camera position by different shift formats, thereby displaying the entire target area selected by the area skill indicator on the virtual environment screen captured by the camera model from the virtual environment. This allows the user to observe the entire skill action area of the area skill on the virtual environment screen and determine the action range when the area skill is released based on the observation, reducing the user's intuition in controlling the master virtual character to release the area skill in the virtual environment, improving the accuracy of the skill release, and improving the efficiency of human-computer interaction. In addition, it reduces unnecessary operations during the user's aiming, reduces the amount of logic calculation of the client due to unnecessary operations, and improves the operating efficiency when the client receives the skill release operation.
[0103] The camera model has different shift amounts corresponding to different shift types, and the client controls the camera model to shift according to different shift amounts, thereby enabling the client to accurately capture the virtual environment screen at the position corresponding to the camera model, and accurately display the virtual environment screen corresponding to the user interface.
[0104] Next, a method for determining the first shift amount and the second shift amount will be described.
[0105] In an alternative embodiment based on FIG. 5, if the camera model is shifted in a first shift format, the above step 503a may be replaced by the following step:
[0106] In step 5031a, in response to the area reference point being located outside the field of view judgment frame, a vertical distance between the area reference point and a frame line of the field of view judgment frame is calculated, the vertical distance including at least one of a horizontal vertical distance which is a vertical distance between the area reference point and a vertical frame line of the field of view judgment frame, and a vertical vertical distance which is a vertical distance between the area reference point and a horizontal frame line of the field of view judgment frame.
[0107] For example, the horizontal vertical distance is the vertical distance between the area reference point and the straight line on which the vertical frame line of the field of view determination frame is located, and the vertical vertical distance is the vertical distance between the area reference point and the straight line on which the horizontal frame line of the field of view determination frame is located.
[0108] As shown in FIG. 11 , the vertical distance between the area skill indicator 65 and the field of view judgment frame 67 includes a horizontal vertical distance 70 and a vertical vertical distance 71 , where the horizontal vertical distance 70 is the vertical distance from the area reference point 68 to the field of view judgment frame 67 .
[0109] For example, a plane rectangular coordinate system is constructed in the virtual environment with the master virtual character as the origin, the axis perpendicular to the observation direction of the camera model as the x-axis, and the axis parallel to the observation direction of the camera as the y-axis. For example, when calculating the horizontal vertical distance 70, if the coordinates of the area reference point 68 are (x1, y1) and the coordinates of the point in the field of view determination frame 67 indicating the vertical distance together with the area reference point 68 are (x2, y1), then the horizontal vertical distance 70 is (x1-x2) and the vertical vertical distance is 0 (the ordinates of both points are the same).
[0110] Similarly, when calculating the vertical distance 71, if the coordinates of the area reference point 68 are (x3, y3) and the coordinates of the point in the field of view judgment frame 67 indicating the vertical distance together with the area reference point 68 are (x3, y4), then the vertical vertical distance 71 is (x3-x4) and the horizontal vertical distance is 0 (the horizontal coordinates of both points are the same).
[0111] In step 5032a, the vertical distance is determined as a first shift amount in the first shift format of the camera model.
[0112] In the first shift type, the first shift amount includes at least one of a first horizontal vertical distance and a first vertical vertical distance.
[0113] As described above, according to the method provided by this embodiment, a field of view judgment frame is set, and the first shift amount of the camera model is calculated based on the vertical distance between the field of view judgment frame and the area reference point, so that the coordinates when the camera model moves to the target position can be accurately determined, and the camera model can be controlled to move it accurately to the target position.
[0114] In an optional embodiment based on Figure 5, for example, when a user controls the placement position of the area skill indicator by dragging a wheel-type virtual joystick, during the dragging, the area reference point may be positioned within the field of view judgment frame again, and the movement format of the camera model at this time will be described below.
[0115] In step 1, in response to the area reference point being again located within the field of view judgment frame, the camera model is moved from the second camera position to a third camera position, the third camera position being located between the second camera position and the first camera position and corresponding to a third observation position.
[0116] Illustratively, taking the second virtual environment screen in the above embodiment as an example, the second virtual environment screen corresponds to the i-th frame in a set of screens, at this time, the area reference point is located outside the field of view judgment frame, and the camera model determines a first shift amount in the first shift format according to the distance between the field of view judgment frame and the area reference point. After the camera model shifts according to the first shift amount, when the screen moves to the i+1-th frame and the area skill indicator has not yet been released in the virtual environment, the field of view judgment frame automatically approaches the area reference point, so that the area reference point is located within the field of view judgment frame. At this time, the camera model moves from the second camera position to the third camera position. The camera model moves from the second camera position to the first camera position, but does not reach the first camera position, resulting in a "spring"-like effect. That is, when a user controls and moves the area skill indicator along a first direction by dragging the wheel-type virtual joystick, the camera model moves following the area skill indicator, and when a user controls and moves the area skill indicator along a direction opposite to the first direction by dragging the wheel-type virtual joystick, the camera model moves following the area skill indicator along the direction opposite to the first direction.
[0117] In step 2, a third virtual environment screen is displayed according to a camera model at a third camera position. The third virtual environment screen includes a third area obtained by observing the virtual environment with the third observation position as an observation center, and the third area includes a target area.
[0118] When a "spring"-like pullback movement occurs in the camera model, a third virtual environment screen is displayed according to the position of the camera model, and the target area selected by the area skill indicator is always displayed in the area corresponding to the third virtual environment screen. Similar to the first and second areas, the third area includes an area in the virtual environment displayed in the third virtual environment screen.
[0119] As described above, according to the method provided by this embodiment, the user again controls the area skill indicator to select the target area, and when the area reference point of the area skill indicator is again located within the field of view judgment frame, the camera model is controlled to move to the third camera position, that is, the camera model is "pulled back". Thus, when the area reference point exceeds the first virtual environment screen, the camera model is controlled to shift, but when the area reference point does not exceed the first virtual environment screen, the camera model is controlled to return accordingly, thereby improving the consistency of the camera model when shifting and facilitating the user's operation and observation.
[0120] In an alternative embodiment based on FIG. 5, if the camera model is shifted in a second shift format, the above step 503b may be replaced by the following step:
[0121] In step 5031b, the included angle between the pointing direction and a horizontal direction parallel to the horizontal plane in the virtual environment and perpendicular to the viewing direction of the camera model is obtained.
[0122] A pointing direction, such as pointing direction 69 shown in FIG. 10, is a direction that points from the master virtual character toward the center point of the target area.
[0123] 12, on a plane 200 on which the virtual environment is located, there are a master virtual character 204, a horizontal direction 203, and other virtual characters 207, and a camera model 201 corresponds to the master virtual character 204. It should be understood that a viewing direction 202 of the camera model 201 is perpendicular to the horizontal direction 203, and the horizontal direction 203 is parallel to the horizontal plane of the virtual environment (i.e., the plane 200 on which the virtual environment is located). The viewing direction 202 of the camera model 201 is at an angle of 45° to the horizontal plane, and in some embodiments, the viewing direction 202 may be at an angle of 60° or 90° to the horizontal plane, but the embodiments of the present application are not limited thereto.
[0124] In step 5032b, a constant shift distance corresponding to the pointing direction of the camera model is obtained.
[0125] When the pointing direction and the horizontal direction have an included angle, a certain shift distance corresponding to the pointing direction is obtained. In some embodiments, the certain shift distance is preset or set according to an actual pointing direction. In some embodiments, the pointing direction includes one of up, down, left, right, top left, bottom left, top right, and bottom right. The certain shift distance includes at least one of a horizontal shift distance and a vertical shift distance.
[0126] In step 5033b, a shift ratio in the second shift format of the camera model is obtained, and the shift ratio is for instructing the camera model to move according to the ratio.
[0127] Since the area skill indicator can arbitrarily select a target area in the selection area, the corresponding indication direction and the shift amount of the camera model differ depending on the target area selected by the area skill indicator.
[0128] In step 5034b, a second shift amount is determined based on the included angle, the fixed shift distance and the shift ratio.
[0129] The second shift includes at least one of a horizontal shift amount and a vertical shift amount.
[0130] The methods of determining the horizontal and vertical shift amounts will be described below.
[0131] 1. The amount of lateral shift is determined from the product of the cosine of the included angle, the lateral shift distance, and the shift ratio.
[0132] The horizontal shift distance includes at least one of a left shift distance and a right shift distance, where the left and right are respectively relative to the front direction of the virtual environment screen, the left shift distance being a shift distance corresponding to a direction toward the left side of the virtual environment screen, and the right shift distance being a shift distance corresponding to a direction toward the right side of the virtual environment screen.
[0133] The shift ratio is a ratio between a first distance, which is a distance between the position of the master virtual character and the center of the target area, and a second distance, which is a radius of the selection area, the selection area being for providing a range for the area skill indicator to select the target area.
[0134] 13, the area skill indicator 65 is located at the edge of the selection area 66, the center point of the area skill indicator is C, the position of the master virtual character is A, and the point in the selection area 66 is B. The first distance is the distance AC, the second distance is the distance AB, and the shift ratio is AC / AB. In some embodiments, if the position of the master virtual character is the center of the selection area, the second distance is the radius of the selection area, and in other embodiments, if the position of the master virtual character is not the center of the selection area, the second distance is the distance between the position of the master virtual character and the edge of the selection area.
[0135] The horizontal shift amount X of the camera model is calculated using the following formula: X = cosα × x × (AC / AB) where α is the included angle between the pointing direction and the horizontal direction, x is the horizontal shift distance, the horizontal shift distance is a constant value, and AC / AB is the shift ratio.
[0136] 2. The vertical shift amount is determined from the product of the sine of the included angle, the vertical shift distance, and the shift ratio.
[0137] The vertical shift distance includes at least one of an up shift distance and a down shift distance, where up and down refer to the front direction of the virtual environment screen, the up shift distance being a shift distance corresponding to a direction toward the top of the virtual environment screen, and the down shift distance being a shift distance corresponding to a direction toward the bottom of the virtual environment screen.
[0138] Similarly to the calculation method for the horizontal shift amount, the vertical shift amount Y of the camera model is calculated using the following formula: Y = sinα × y × (AC / AB) where α is the included angle between the pointing direction and the horizontal direction, y is the vertical shift distance, which is a constant value, and AC / AB is the shift ratio.
[0139] As described above, according to the method provided by this embodiment, parameters (including the angle between the pointing direction and the horizontal direction, and a certain shift distance and shift ratio corresponding to the pointing direction) corresponding to the direction pointed by the area indicator are obtained, and a second shift amount of the camera model is calculated, so that the camera model can move according to a ratio according to the range of action of the skill released by the master virtual character, and the entire indicator can be displayed on the virtual environment screen, thereby improving the efficiency of human-computer interaction.
[0140] In addition to the method of displaying a second virtual environment screen by moving the camera model provided in the above embodiments, in some embodiments, the virtual environment screen captured by the camera model may be changed by changing the focal length of the lens corresponding to the camera model, or the angle between the observation direction of the camera model and the virtual environment, for example the pitch angle and yaw angle of the camera model relative to the virtual environment, may be changed to cause the camera model to capture different virtual environment screens from observation directions at different angles.
[0141] In the embodiment of the present application, a process framework of a method for displaying a virtual environment screen is provided, and as shown in FIG. 14, the process framework of the method is described below.
[0142] In step 1401, when a user controls a master virtual character to use an area skill in the virtual environment, the camera model autonomously aims the area skill indicator.
[0143] In step 1402, the camera model is moved.
[0144] In step 1403, when the master virtual character releases the area skill or cancels the release of the area skill, the camera model returns to its original position.
[0145] The camera position corresponding to the camera model that captures the virtual environment screen corresponding to when the master virtual character is not using an area skill, or the virtual environment screen corresponding to the end point after using the area skill once, is the original position.
[0146] In some embodiments, the camera model is provided with a lens, and different virtual environment scenes can be displayed on the display screen of the terminal by changing the lens according to the actual situation, for example, the virtual unit displayed on the virtual environment screen can be enlarged by changing to a corresponding lens that enlarges the virtual unit in the virtual environment.
[0147] In some embodiments, the lens anchor indicates the three-dimensional position coordinates of the camera model in the virtual environment. In the embodiments of the present application, the lens anchor of the camera model only changes its abscissa and ordinate (i.e., plane coordinates), and does not change the coordinates indicating the height position of the camera model, i.e., does not change the relative distance between the camera model and the virtual environment, or does not change the relative distance between the camera model and the master virtual character.
[0148] In order to prevent the user from feeling dizzy due to the virtual environment screen that is displayed when the camera model is shifted by a large amount, the maximum distance by which the camera model can be shifted is usually limited, and the movement is stopped when the camera model is shifted by the maximum distance.
[0149] In some embodiments, when the camera model moves in the second shift format, the coordinates corresponding to the height position of the camera model may be changed. For example, by raising the camera model to increase the relative distance between the camera model and the virtual environment, the area of the virtual environment that can be captured by the camera model may be increased, more content may be displayed on the virtual environment screen, and the user may be able to view virtual units (other virtual human characters or virtual objects in the virtual environment) that are farther away from the master virtual character.
[0150] Thus, when a user controls a master virtual character to use an area skill indicator in a virtual environment, the camera model autonomously follows the area skill indicator, allowing the user to view the entire indicator, i.e., the entire target area that the area skill indicator is aimed at, thereby improving the efficiency of human-computer interaction.
[0151] The embodiment of the present application provides a framework for the following system when calculating the shift amount in the camera model.
[0152] In S1, the skill shift amount and the global shift amount of the camera model are obtained.
[0153] The camera model utility 1501 (CameraActionUtils), also called the lens module utility, provides an interface to the outside that supports various operations, including movement, rotation, lifting the camera model, and lifting the lens.
[0154] The camera model controller 1502 (CameraController), also called a lens controller, mainly manages various data of the camera model or lens, and provides each interface inside the lens module utility.
[0155] The camera model solution 1503 (CameraAction) is also called a lens solution, and is used to set various data when the camera model moves, such as uniform motion, differential motion, smooth damping motion, and the like.
[0156] The skill shift amount process 1504a (LocalMoveComponent) obtains solution parameters from the lens solution when the master virtual character releases the skill, and moves the camera model frame by frame until it reaches the target position. The skill shift amount is determined according to the shift type, and the shift type may be at least one of the first shift type and the second shift type in the above embodiment. It should be understood that the process framework further includes a trajectory reset (SetLocalPosOff) 1505a for controlling the shift based on the skill shift amount to return to the default camera position.
[0157] The global shift amount process 1504b (GlobalMoveComponent) is for controlling and shifting the camera model for a general global drag operation, as shown in FIG. 16. The global shift amount is determined according to a control command for the camera model, and the control command includes at least one of a map drag command, a minimap check command, a virtual unit viewpoint designation command, and a bullet tracking command. The map drag command is a command for switching the display of the virtual environment screen corresponding to a location on the selected map. The minimap check command is a command for opening a map showing the virtual environment and checking the corresponding virtual unit on the map. The virtual unit viewpoint designation command is a command for observing the virtual environment from the viewpoint of the selected virtual unit, such as continuing to observe the virtual environment from the viewpoint of an ally after the death of the master virtual character. The bullet tracking command is a command for moving the camera model in the action direction of the skill or following the flying bullet until the skill is released when the action range of the skill released by the master virtual character is large or when the skill released is a bullet shot. It should be understood that the process framework further includes a global reset (SetGlobalPosOff) 1505b for controlling the shift based on the global shift amount back to the default camera position.
[0158] In S2, the sum of the skill shift amount and the global shift amount is determined as the shift amount of the camera model.
[0159] In order to reduce collisions during camera model movement, the shift amount of the camera model is divided into a skill shift amount and a global shift amount.
[0160] The framework of the skill shift amount is shown in FIG. 17. The skill shift amount is the shift amount that occurs in the camera model when the master virtual character releases a skill, and the skill shift amount includes at least one of the first shift amount and the second shift amount described in the above embodiment, and further includes other shift amounts. The other shift amount is the shift amount of the camera model that is determined according to the type of skill released by the master virtual character. As shown in FIG. 18, when the master virtual character 80 releases a skill, the effect range of the skill is a sector shape, so that the entire skill indicator is displayed on the virtual environment screen by shifting the camera model to the lower right of the virtual environment screen according to the effect range.
[0161] In some embodiments, the final shift amount of the camera model includes at least one of a global shift amount, a skill shift amount, and a lens height.
[0162] After obtaining the shift amount, the camera model needs to be moved by the shift amount. In some embodiments, a movement type of the camera model is obtained according to the shift type, and the movement type includes at least one of a uniform motion, a smooth damping motion, and a differential motion. The camera model is controlled to move from the first camera position to the second camera position according to the movement type.
[0163] Uniform motion is a motion in which the camera model is controlled to move from a first camera position to a second camera position at a uniform speed within a set time, and this motion format has little change in rhythm.
[0164] Smooth damping motion is a motion that can be obtained by calling a damping function. For example, the function Vector3.SmoothDamp() controls the movement of the camera model. This allows the camera model to avoid overshooting during movement.
[0165] The differential motion is a motion according to the position of the camera model, the target position, and the difference ratio. The movement of the camera model is controlled by the function Vector3.Lerp(s,e,t), where s is the current shift value, and t changes from 0 to 1, and when it becomes 1, the motion ends.
[0166] In one example, the distance between the current position and the target position is 10, the difference ratio is 0.1, and the current position moves from the target position to the difference ratio in frame units. For example, in the first frame, the current position moves from 0 to 10, which is 0.1, i.e., 1. In the second frame, the current position moves from 1 to 10, which is 0.1, i.e., 1.9. In the third frame, the current position moves from 1.9 to 10, which is 0.1, i.e., 2.71. And so on.
[0167] In another example, a minimum speed of movement is set, and if the current speed of movement is less than the minimum speed, shifting occurs at the minimum speed.
[0168] In another example, a difference ratio increment a is set, and the difference ratio for each frame is changed by the difference ratio increment a. For example, the distance between the current position and the target position is 10, the difference ratio is 0.2, and the ratio increment is 0.03. In the first frame, the current position moves from 0 to 10, which is 0.2, or 2. In the second frame, the current position moves from 2 to 10, which is 0.23, or 3.84. And so on.
[0169] As shown in FIG. 19, the shift process of the camera model is divided into three states.
[0170] In the shift amount input waiting (IDLE) state, the shift amount of the camera model exists or the shift has already been completed.
[0171] In the Wait for Delay (FAR) state, a shift amount occurs when the user drags the area skill indicator.
[0172] In the return delay standby (BACK) state, the camera model returns to the origin after the master virtual character releases the area skill.
[0173] Both Far and Back can specify a movement solution, which represents the release of the skill and the return of the camera model, respectively. That is, two solutions may be used for one release of the skill.
[0174] In addition, you can set a delay time (DelayTime), which provides a visual relief effect by preventing the camera model from shifting immediately when changing the state of the camera model from IDLE to FAR, or from BACK back to IDLE.
[0175] As described above, the total shift amount of the camera model is calculated by the sum of the global shift amount and the skill shift amount, and when the user slides the map to change the virtual environment screen captured by the camera model and uses the area skill indicator beyond the virtual environment screen, the camera model determines the total shift amount of the camera model based on the above two shift amounts, so that the shift effects of the camera model generated by different operations do not collide, and the difficulty of calculation is reduced.
[0176] In the above embodiment, the method is described based on a scene of application to a game. Next, the method is described by way of example based on a scene of application to a military simulation.
[0177] Simulation techniques are modeling techniques that mirror the behavior or processes of a system through experiments in which applications and hardware mimic the real world.
[0178] A military simulation program is a program that is specially constructed for military applications using simulation technology. By quantifying and analyzing operational elements of sea, land, air, etc., weapon equipment performance, and operational actions, it accurately simulates the battlefield environment, represents the battlefield situation, and enables the evaluation of operational systems and contributions to strategic decision-making.
[0179] In one example, soldiers build a virtual battlefield on a terminal of a military simulation program and fight in teams. The soldier controls a master virtual character in the virtual battlefield environment to perform at least one of the following actions in the virtual battlefield environment: standing, crouching, sitting, lying on one's back, lying on one's stomach, lying on one's side, walking, running, climbing, driving, shooting, throwing, attacking, taking damage, scouting, and close combat. The virtual battlefield environment includes at least one natural form of plains, mountains and rivers, plateaus, basins, deserts, rivers, lakes, oceans, and vegetation, and location forms such as buildings, transportation facilities, ruins, and training grounds. The master virtual characters include virtual human characters, virtual animal characters, anime characters, and the like, and each of the virtual characters has its own shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment.
[0180] Based on the above situation, in one example, master virtual characters controlled by soldiers of two squads compete against each other in a virtual environment. Illustratively, the first squad has a master virtual character a controlled by soldier A, and the second squad has a master virtual character b controlled by soldier B. A camera model is provided in the virtual environment, and the camera model captures a virtual environment screen that can be viewed by the soldiers.
[0181] The virtual environment in which the master virtual character a is located corresponds to a first virtual environment screen, the first virtual environment screen is a virtual environment screen with a first observation position as an observation center, and a camera model corresponding to the first observation position is located at a first camera position. Soldier A controls the master virtual character a to attack the master virtual character b controlled by soldier B, but the master virtual character b is not located in the first virtual environment screen. Soldier A performs an aiming operation to release the area skill, and controls the master virtual character a to select an area in the virtual environment in which the virtual character b is located and place an area skill indicator.
[0182] Exemplarily, the camera model shifts in a first shift format following the operation of soldier A. A field of view judgment frame that is invisible to soldier A is provided in the virtual environment, and the field of view judgment frame is a rectangle parallel to a horizontal plane with the observation center of the camera model as its center point, and has at least one frame line perpendicular to the observation direction of the camera model. An area reference point is provided at the center of the area skill indicator, and exemplarily, the area skill indicator is a circle, and the area reference point is the circle center of the area skill indicator. When the circle center of the area skill indicator exceeds the field of view judgment frame, a distance from the area reference point to the frame line of the field of view judgment frame is calculated, and the distance is a shift amount of the camera model, and includes at least one of a first horizontal shift distance and a first vertical shift distance.
[0183] The camera model switches from the first camera position to the second camera position according to the shift distance, the second camera position corresponds to the second observation position, and a second virtual environment screen is displayed with the second observation position as the observation center. Soldier A can view the target area selected by the area skill indicator through the second virtual environment screen and release the area skill indicator to attack the master virtual character b.
[0184] Exemplarily, the camera model shifts in a second shift form following the operation of soldier A. A selection area is displayed in the virtual environment, and the selection area is a range within which the area skill indicator selects the target area. The master virtual character a releases a far area skill with an action range to the master virtual character b by the area skill indicator. Exemplarily, the area skill indicator is circular, the area reference point is the circle center of the area skill indicator, and the selection area is also circular.
[0185] The camera model determines the pointing direction of the area skill indicator and the angle between the pointing direction and the horizontal direction in response to the operation of soldier A, and determines a corresponding fixed shift distance in the shift direction of the camera model in response to the pointing direction, the fixed shift distance including at least one of a second horizontal shift distance and a second vertical shift distance. The shift amount of the camera model is calculated from the shift direction, the fixed shift distance, and the shift ratio. The shift amount of the camera model includes at least one of a horizontal shift amount and a vertical shift amount.
[0186] The horizontal shift amount is the product of the cosine of the corresponding included angle between the pointing direction and the horizontal direction, the second horizontal shift distance, and the shift ratio, which is expressed by the following formula: Horizontal shift amount = cosα × second horizontal shift distance × (E / F) where α is the included angle between the shift direction and the horizontal direction, E is the distance between the master virtual character and the area reference point, F is the radius of the selection area, and E / F is the shift ratio.
[0187] The vertical shift amount is the product of the sine of the corresponding included angle between the shift direction and the horizontal direction, the second vertical shift distance, and the shift ratio, which is expressed by the following formula: Vertical shift amount = sinα × second vertical shift distance × (E / F) where α is the included angle between the shift direction and the horizontal direction, E is the distance between the master virtual character and the area reference point, F is the radius of the selection area, and E / F is the shift ratio.
[0188] The camera model switches from the first camera position to the second camera position according to the shift amount, the second camera position corresponds to the second observation position, and the second virtual environment screen is displayed with the second observation position as the center. Soldier A can view the target area selected by the area skill indicator through the second virtual environment screen and accurately aim at the master virtual character b to attack.
[0189] As described above, in this embodiment, when the above-mentioned virtual environment screen display method is applied to a military simulation program, the camera model is shifted according to the target area selected by the area skill indicator, so that the soldier can visually recognize the target area, thereby improving the accuracy rate of the soldier's aiming, more realistically simulating the actual battlefield, and providing the soldier with better training.
[0190] The following describes the device embodiment of the present application. For points that are not described in detail in the device embodiment, reference may be made to the corresponding descriptions in the method embodiment, and the description will not be repeated here.
[0191] 20 is a structural schematic diagram of a display device for displaying a virtual environment screen according to an exemplary embodiment of the present application. The device may be implemented as a whole or part of a terminal by software, hardware, or a combination of both. The device includes a display module 2010.
[0192] The display module 2010 is for displaying a first virtual environment screen including a first area obtained by observing the virtual environment with a first observation position as the observation center, and a master virtual character located in the virtual environment is displayed on the first virtual environment screen.
[0193] The display module 2010 is for displaying an area skill indicator for selecting a target area in response to receiving an aiming operation, and the area skill indicator is for marking a target area in the virtual environment that is a skill action area when a master virtual character releases a skill.
[0194] The display module 2010 is for displaying a second virtual environment screen including a second area obtained by observing the virtual environment with a second observation position as the observation center, the second observation position being a shifted position with respect to the first observation position, and the second area including a target area.
[0195] In any embodiment, the virtual environment is provided with a camera model for observing the virtual environment and acquiring a virtual environment view, and the display module 2010 comprises a control unit 2020 .
[0196] The control unit 2020 is for moving the camera model from a first camera position corresponding to the first observation position to a second camera position corresponding to the second observation position according to a shift type, and displaying a second virtual environment view according to the second camera position where the camera model is located.
[0197] In any embodiment, the shift type includes a first shift type, the first shift type being a type of shifting the camera model based on a field of view judgment frame for expressing a field of view range of the camera model, and the apparatus comprises a calculation module 2030.
[0198] The calculation module 2030 is for determining a first shift amount in a first shift format of the camera model from a distance between the area reference point and a frame line of the field of view judgment frame in response to the area reference point determined based on the center point of the target area being located outside the field of view judgment frame again. The control unit 2020 is for moving the camera model from the first camera position to the second camera position according to the first shift amount.
[0199] In any embodiment, the calculation module 2030 is for calculating a vertical distance between the area reference point and a frame line of the field of view judgment frame in response to the area reference point being located outside the field of view judgment frame, the vertical distance including at least one of a horizontal vertical distance being a vertical distance between the area reference point and a vertical frame line of the field of view judgment frame, and a vertical vertical distance being a vertical distance between the area reference point and a horizontal frame line of the field of view judgment frame. The control unit 2020 is for determining the vertical distance as a first shift amount in a first shift format of the camera model.
[0200] In any embodiment, the control unit 2020 is for moving a camera model from the second camera position to a third camera position in response to the area reference point being again located within the field of view determination frame, the third camera position being located between the second camera position and the first camera position and corresponding to a third observation position. The display module 2010 is for displaying a third virtual environment screen according to the camera model located at the third camera position, the third virtual environment screen including a third area obtained by observing the virtual environment with the third observation position as an observation center, and the third area including a target area.
[0201] In any embodiment, the shift type includes a second shift type that is a shift type based on a pointing direction, and the pointing direction is a direction from a position of the master virtual character toward a center point of the target area. The apparatus includes a calculation module 2030.
[0202] The calculation module 2030 is for determining a second shift amount in a second shift format of the camera model according to a pointing direction.
[0203] The control unit 2020 is for moving the camera model from the first camera position to the second camera position according to a second shift amount.
[0204] In some embodiments, the calculation module 2030 comprises an acquisition unit 2040 .
[0205] The obtaining unit 2040 is for obtaining an included angle between the pointing direction and a horizontal direction parallel to a horizontal plane in the virtual environment and perpendicular to the observation direction of the camera model, obtaining a fixed shift distance corresponding to the pointing direction of the camera model, and obtaining a shift ratio in a second shift format of the camera model, the shift ratio being for instructing the camera model to move according to the ratio. The calculation module 2030 is for determining a second shift amount according to the included angle, the fixed shift distance and the shift ratio.
[0206] In any embodiment, the second shift amount comprises a lateral shift amount and the constant shift distance comprises a lateral shift distance.
[0207] The calculation module 2030 is for determining a horizontal shift amount from a product of a cosine value of the included angle, a horizontal shift distance, and a shift ratio, the shift ratio being a ratio between a first distance, which is a distance between the position of the master virtual character and the center of the target area, and a second distance, which is a radius of the selection area, and the selection area is for providing a selection range for the area skill indicator to select the target area.
[0208] In any embodiment, the second shift amount comprises a vertical shift amount and the constant shift distance comprises a vertical shift distance.
[0209] The calculation module 2030 is for determining a vertical shift amount from a product of a sine value of the included angle, a vertical shift distance, and a shift ratio, the shift ratio being a ratio between a first distance, which is a distance between the position of the master virtual character and the center of the target area, and a second distance, which is a radius of the selection area, and the selection area is for providing a selection range for the area skill indicator to select the target area.
[0210] In any embodiment, the control unit 2020 is for obtaining a movement type of a camera model according to a shift type, the movement type including any one of a uniform motion, a differential motion, and a smooth decay motion, and controlling the camera model to move from a first camera position to a second camera position according to the movement type.
[0211] In any embodiment, the shift type corresponds to the shift amount of the camera model.
[0212] The acquisition unit 2040 is for acquiring a skill shift amount and a global shift amount of a camera model. The skill shift amount is determined according to a shift type, and the global shift amount is determined according to a control command of the camera model. The control command includes at least one of a map drag command, a minimap check command, and a virtual unit viewpoint designation command. The sum of the skill shift amount and the global shift amount is determined as the shift amount of the camera model.
[0213] Please refer to FIG. 21, which shows a structural block diagram of a computing device 2100 provided by an exemplary embodiment of the present application. The computing device 2100 may be a portable mobile terminal such as a smartphone, a tablet, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, etc. The computing device 2100 may also be called by other names such as user equipment, portable terminal, etc.
[0214] Generally, the computing device 2100 comprises a processor 2101 and a memory 2102 .
[0215] The processor 2101 may include one or more processor cores, for example, a 4-core processor, an 8-core processor, etc. The processor 2101 may be implemented as at least one type of hardware among DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2101 may include a host processor and a coprocessor. The host processor is a processor for processing data in a wake-up state, and is also called a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2101 may be integrated with a GPU (Graphics Processing Unit) for rendering and plotting content that needs to be displayed on a display screen. In some embodiments, the processor 2101 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
[0216] The memory 2102 may include one or more computer readable storage media. The computer readable storage media may be tangible and non-transitory. The memory 2102 may further include high speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer readable storage media in the memory 2102 is for storing at least one command that is executed by the processor 2101 to realize a method for displaying a virtual environment screen provided by an embodiment of the present application.
[0217] In some embodiments, the computing device 2100 may optionally further include a peripherals interface 2103 and at least one peripheral. Specifically, the peripherals may include at least one of an RF circuit 2104, a touch screen 2105, a camera assembly 2106, an audio circuit 2107, a positioning assembly 2108, and a power source 2109.
[0218] The peripheral interface 2103 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2101 and the memory 2102. In some embodiments, the processor 2101, the memory 2102, and the peripheral interface 2103 are integrated on the same chip or circuit board. In other embodiments, any one or two of the processor 2101, the memory 2102, and the peripheral interface 2103 may be realized on an independent chip or circuit board, but this is not limited to this embodiment.
[0219] The RF circuitry 2104 is for transmitting and receiving RF (Radio Frequency) signals, also called electromagnetic signals. The RF circuitry 2104 communicates with communication networks and other communication devices by electromagnetic signals. The RF circuitry 2104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuitry 2104 includes an antenna system, an RF transceiver, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, user subscription identity module cards, and the like. The RF circuitry 2104 may communicate with other terminals by at least one wireless communication protocol, including, but not limited to, the World Wide Web, metropolitan area networks, intranets, mobile communication networks of various generations (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, RF circuitry 2104 may include circuitry related to Near Field Communication (NFC), although this application is not limited thereto.
[0220] The touch screen 2105 is for displaying a user interface (UI). The UI may include graphics, text, icons, videos, and any combination thereof. The touch screen 2105 is further capable of collecting touch signals on or above the surface of the touch screen 2105. The touch signals may be input as control signals to the processor 2101 for processing. The touch screen 2105 is for providing virtual buttons and / or virtual keyboards, also called soft buttons and / or soft keyboards. In some embodiments, the touch screen 2105 may be one touch screen provided on the front panel of the computing device 2100. In other embodiments, the touch screen 2105 may be at least two touch screens, each provided on a different surface of the computing device 2100, or in a foldable form. In still other embodiments, the touch screen 2105 may be a flexible display screen provided on a curved or folded surface of the computing device 2100. Furthermore, the touch screen 2105 may be a non-rectangular irregular shape, i.e., an irregularly shaped screen. The touch screen 2105 may be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
[0221] In some embodiments, the computing device 2100 includes one or more sensors 2110, including, but not limited to, an acceleration sensor 2111, a gyro sensor 2112, a pressure sensor 2113, a fingerprint sensor 2114, an optical sensor 2115, and a proximity sensor 2116.
[0222] The pressure sensor 2113 may be provided on a side frame of the computer device 2100 and / or a lower layer of the touch screen 2105. When the pressure sensor 2113 is provided on a side frame of the computer device 2100, a gripping signal of the user to the computer device 2100 can be detected, and the gripping signal can be used to distinguish between left and right hands or perform a shortcut operation. When the pressure sensor 2113 is provided on a lower layer of the touch screen 2105, an operable widget in the UI interface can be controlled according to a pressure operation of the user to the touch screen 2105. The operable widget includes at least one of a button widget, a scroll bar widget, an icon widget, and a menu widget.
[0223] Those skilled in the art will appreciate that the computing device 2100 is not limited to the structure shown in FIG. 21 and may include more or fewer assemblies than those shown, or some of the assemblies may be combined or arranged in different assembly configurations.
[0224] An embodiment of the present application further provides a computing device comprising a processor and a memory in which at least one command, at least one program, code set or command set is stored, the at least one command, at least one program, code set or command set being loaded and executed by the processor to realize the method for displaying a virtual environment screen provided by each of the method embodiments described above.
[0225] An embodiment of the present application further provides a computer-readable storage medium having stored thereon at least one command, at least one program, code set or command set that, when loaded and executed by a processor, realizes the method of displaying a virtual environment screen provided by each of the above method embodiments.
[0226] The present application provides a computer program product or computer program comprising computer commands stored in a computer readable storage medium, the computer commands being read by a processor of a computing device from the computer readable storage medium, and the processor executing the computer commands, thereby causing the computing device to perform the method for displaying a virtual environment screen provided by each of the method embodiments above. [Explanation of symbols]
[0227] 1. Computer Systems 120 Terminal 1 140 Servers 142 Memory 1421 Receiver Module 1422 Control Module 1423 Transmitting Module 144 processors 160 Terminal 2 1501 Camera Model Utility 1502 Camera Model Controller 1503 Camera Model Solution 1504a Skill shift amount processing 1504b Global shift amount processing 1505a Trajectory reset 1505b Global Reset 2010 Display module 2020 Control Unit 2030 Calculation Module 2040 Acquisition Units 2100 Computer equipment 2101 Processor 2102 Memory 2103 Peripheral Device Interface 2104 Radio Frequency (RF) Circuits 2105 Touch Screen 2106 Camera Assembly 2107 Audio Circuit 2108 Positioning Assembly 2109 Power supply 2110 Sensor 2111 Acceleration Sensor 2112 Gyro sensor 2113 Pressure Sensor 2114 Fingerprint sensor 2115 Optical Sensor 2116 Proximity Sensor
Claims
[Claim 1] 1. A method for displaying a virtual environment screen executed by a client, comprising: displaying a first virtual environment screen including a first area obtained by observing a virtual environment with a first observation position as an observation center, the first virtual environment screen displaying a master virtual character located in the virtual environment; displaying an area skill indicator for selecting a target area in response to receiving an aim operation, the area skill indicator for marking the target area in the virtual environment as a skill action area when the master virtual character releases a skill; and displaying a second virtual environment screen including a second area obtained by observing the virtual environment with a second observation position as an observation center, the second observation position being a shifted position relative to the first observation position, and the second area including the target area.
Citation Information
Patent Citations
Display control method and device for game, storage medium, processor and terminal
CN109568957A
Image processing program and image processing apparatus for moving display area
JP2009157942A
Game program and game system
JP2015196041A
Method and apparatus for enhanced virtual camera control within 3D video games or other computer graphics presentations providing intelligent automatic 3D-assist for third person viewpoints
US20070270215A1
