Display method and device in game, equipment and storage medium
By calculating the angle between the virtual camera perspective and the position of the controlled character, markers are displayed in the three-dimensional game, which solves the problem of unclear marker information in the existing technology and achieves accurate marking and identification of the location of enemy virtual objects.
Patent Information
- Application Number
- CN202410691881.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-08-30
AI Technical Summary
The marking method in existing three-dimensional games blurs the spatial prompts for enemy virtual objects. Multiple marker positions are displayed at the same location, causing players to need to turn their perspective to see them, and the marking information is not clear enough.
Shoot the game scene through the current shooting perspective of the virtual camera, determine the relative position between the enemy virtual object and the virtual camera, and calculate the clip within the game screen based on the relative position, the perspective of the virtual camera, and the position of the controlled virtual character. Angle is used to display a marker on the graphical user interface to indicate the location of the enemy virtual object.
Accurate marking of the location of enemy virtual objects is achieved. Players can directly find the specific location based on the prompt information, which improves the clarity and accuracy of marking information.
Smart Images

Figure CN118557965A
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a display method, device, equipment and storage medium within a game. Background Art
[0002] With the development of Internet technology, games have played an increasingly important role in people's lives and have become an important part of people's leisure and entertainment.
[0003] Three-dimensional games have become a more popular type of game among many games. Three-dimensional games generally provide a function of prompting the position of enemy virtual objects in the game scene. Players can observe and determine the position of enemy virtual objects in the game scene through the position prompt function, so as to achieve the effect of players continuously paying attention to the position of enemy virtual objects.
[0004] However, although the existing marking method can indicate the approximate direction of the enemy virtual object, the spatial prompts for the marked object are vague. There may be multiple marking positions displayed at the same position on the graphical user interface, but the player needs to rotate different perspectives to see them, and there is a problem that the marking information indication is not clear enough. Summary of the invention
[0005] The purpose of the present application is to provide a display method, device, equipment and storage medium within a game to address the deficiencies in the above-mentioned prior art, so as to solve the problem that the marking information indication in the prior art is not clear enough.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a display method in a game, the method comprising:
[0008] Displaying on the graphical user interface a first game screen formed by shooting the game scene through the current shooting angle of the virtual camera;
[0009] According to a first position of an enemy virtual object in the game scene, determining a relative position between the first position and the virtual camera; wherein the enemy virtual object is a virtual character that causes damage to the controlled virtual character;
[0010] Determining a first angle between the relative position and the second position in the first game screen according to the relative position, the current shooting angle of view of the virtual camera, and the second position of the controlled virtual character;
[0011] According to the first angle, a logo display position is determined in the graphical user interface, and a mark logo for indicating the first position is displayed at the logo display position.
[0012] In a second aspect, another embodiment of the present application provides a display device in a game, the device comprising: a display module and a determination module, wherein:
[0013] The display module is used to display on the graphical user interface a first game screen formed by shooting the game scene through the current shooting angle of the virtual camera;
[0014] The determination module is used to determine the relative position between the first position of the enemy virtual object in the game scene and the virtual camera, wherein the enemy virtual object is a virtual character that causes damage to the controlled virtual character; and determine a first angle between the relative position and the second position in the first game screen according to the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character;
[0015] The display module is specifically used to determine a logo display position in the graphical user interface according to the first angle, and display a mark logo for prompting the first position at the logo display position.
[0016] In the third aspect, another embodiment of the present application provides an in-game display device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the in-game display device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.
[0017] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.
[0018] The beneficial effect of the present application is that by adopting the display method in the game provided by the present application, the relative position between the first position and the virtual camera can be determined according to the first position of the enemy virtual object that causes damage to the controlled virtual character in the game scene, and the first angle between the relative position and the second position in the first game screen can be determined according to the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character, and prompt information is displayed on the graphical interface according to the first angle to prompt the first position of the enemy virtual object in the current game scene. Since the prompt information is determined according to the first angle, the player can find the first position directly based on the prompt information, thereby realizing accurate marking of the first position, and the player can effectively distinguish the specific position of the first position based on the indication information, so that the player can find the position indicated by the indication information more accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A flowchart of a display method in a game provided by an embodiment of the present application;
[0021] Figure 2 A flowchart of a display method within a game provided by another embodiment of the present application;
[0022] Figure 3 A schematic diagram of angle determination provided in an embodiment of the present application;
[0023] Figure 4 A schematic diagram of a marking mark provided in an embodiment of the present application;
[0024] Figure 5 A schematic diagram of a marking mark provided for another embodiment of the present application;
[0025] Figure 6 A schematic diagram of the structure of a display device in a game provided by an embodiment of the present application;
[0026] Figure 7 A schematic diagram of the structure of a display device in a game provided by another embodiment of the present application;
[0027] Figure 8 A schematic diagram of the structure of a display device within a game provided in one embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0029] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0030] In one embodiment of the present application, the in-game display method can be run on a local terminal device or a server. When the in-game display method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0031] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the display method in the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the player side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0032] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0033] In addition, the flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of this application, and can also remove one or more operations from the flowchart.
[0034] To facilitate understanding of the embodiments of the present application, some of the terms involved in the present application are explained below:
[0035] Virtual Camera: In 3D games, Virtual Camera is an important tool to simulate the behavior of cameras in the real world. Virtual Camera has a variety of properties and parameters, and its position, rotation, zoom, focal length, etc. can be adjusted to achieve different visual effects. For example, by adjusting the position of the camera, the player's observation point can be changed; by rotating the camera, the observation angle can be changed; by zooming the camera, the field of view can be adjusted; by adjusting the focal length, the visual effects of different lenses can be simulated. In addition, virtual cameras can also set different behavior modes to meet the different needs of the game. For example, some cameras can follow the character's movement to provide a first-person or third-person perspective; some cameras can be fixed in a certain position to provide a stable observation perspective; and some cameras can simulate the shaking and jitter of handheld cameras to enhance the realism of the game.
[0036] The following is an explanation of a display method within a game provided by an embodiment of the present application in combination with a number of specific application examples. Figure 1 A flowchart of a display method in a game provided by an embodiment of the present application is shown as follows: Figure 1 As shown, a graphical user interface is displayed by a terminal device, and the method includes:
[0037] Step 101: Displaying a first game screen formed by shooting a game scene through a current shooting angle of a virtual camera on a graphical user interface.
[0038] In the embodiments of the present application, the game scene may be a game scene in which a player plays against a virtual character controlled by other players, or it may be a game scene in which a player controls a controlled virtual character to perform a preset task in the game. The game scene may include, for example, multiple virtual characters, which may be in the same camp as the controlled virtual character or in different camps. They may be virtual characters controlled by other players or non-player virtual characters set up in the system itself. The sources of virtual characters in the game and the game mode in the game may be flexibly adjusted according to user needs, and are not limited to those in the above embodiments.
[0039] Among them, the current shooting perspective is the perspective of the controlled virtual character in the current game scene in the current game, and the shooting perspective of the virtual camera is adjusted following the perspective of the controlled virtual character, that is, the first game screen displayed on the graphical user interface is the first game screen corresponding to the perspective of the current controlled virtual character. If the perspective direction of the controlled virtual character changes, the game screen content displayed on the graphical user interface will also change with the change of the perspective direction.
[0040] Step 102: According to the first position of the enemy virtual object in the game scene, determine the relative position between the first position and the virtual camera.
[0041] Among them, the enemy virtual object is a virtual object that causes damage to the controlled virtual character, which may be a non-player virtual character object, or it may be any virtual object such as a virtual building object that can cause damage to the controlled virtual character, or a virtual plant object that can cause damage to the controlled virtual character; that is, in an embodiment of the present application, the first position of the enemy virtual object that causes damage to the controlled virtual character is obtained, and there are multiple enemy virtual objects in the current game scene that cause damage to the controlled virtual character, then multiple first positions can be obtained synchronously.
[0042] Alternatively, in some possible embodiments, for example, only the first positions of some enemy virtual objects may be obtained, for example, only the first positions of a preset number of enemy virtual objects that rank high in the damage value caused to the controlled virtual character are obtained, that is, only the first positions of a preset number of enemy virtual objects that have high damage values caused to the controlled virtual character are obtained, so that the player can give priority to determining the first positions of enemy virtual objects with high damage values, and give priority to launching skills on enemy virtual objects with high damage, so as to defeat the enemy virtual objects with high damage as soon as possible; or, only the first positions of a preset number of enemy virtual objects that cause damage to the controlled virtual character and rank low in the remaining blood volume are obtained, that is, only the first positions of a preset number of enemy virtual objects with low remaining blood volume are obtained, so that the player can give priority to determining the first positions of enemy virtual objects with low blood volume, and give priority to launching skills on enemy virtual objects with low blood volume, so as to defeat the enemy virtual objects with low blood volume as soon as possible; it should be understood that the above embodiments are only exemplary descriptions, and the setting of the preset number of enemy virtual objects to be obtained and the rules for obtaining enemy virtual objects can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiments.
[0043] In some possible embodiments, in response to an adjustment operation on a game scene in a graphical user interface, the shooting angle of view of the virtual camera may be adjusted according to the adjustment operation.
[0044] In an embodiment of the present application, the adjustment of the shooting angle includes a first adjustment operation in the horizontal direction and a second adjustment operation in the vertical direction, or it can also be a compound adjustment operation for adjusting both the horizontal and vertical directions, that is, the player can adjust only the game angle corresponding to the horizontal direction; or only the game angle in the vertical direction; or through a compound adjustment operation, the game angle in the horizontal direction and the game angle in the vertical direction can be adjusted at the same time; the adjustment method of the specific adjustment operation can be determined according to the game settings and the specific operations of the player, and is not limited to the above embodiments.
[0045] In some possible embodiments, the adjustment operation may, for example, be triggered in response to a player's dragging operation on a game scene on a graphical user interface, and the shooting angle of the virtual camera in the current game scene may be adjusted along the player's dragging direction; or, a plurality of adjustment controls may be preset on the graphical user interface, such as an upward arrow, a downward arrow, a left arrow, and a right arrow, etc., and in response to the player's click operation on each adjustment control, the shooting angle of the virtual camera in the current game scene may be adjusted; or, an adjustment shortcut key may be preset, and in response to a trigger operation on the preset adjustment shortcut key, the shooting angle of the virtual camera in the current game scene may be triggered to be adjusted. The specific adjustment method of the shooting angle of the virtual camera may be flexibly adjusted according to user needs and is not limited to the above-mentioned embodiments.
[0046] The adjustment method may be, for example, as follows: in response to a first adjustment operation in the horizontal direction for the game scene in the graphical user interface, the shooting angle of the virtual camera is adjusted in the horizontal direction according to the first adjustment operation; in response to a second adjustment operation in the vertical direction for the game scene in the graphical user interface, the shooting angle of the virtual camera is adjusted in the vertical direction according to the second adjustment operation.
[0047] In some possible embodiments, the adjustment operations of the controlled virtual character for the shooting angle of the virtual camera include but are not limited to: the controlled virtual character's head raising operation, head lowering operation, left turn operation, right turn operation, or switching between the first perspective / third perspective and the like, so that the shooting angle of the virtual camera is consistent with the perspective of the controlled virtual character, and a second game screen formed by the game scene captured by the adjusted shooting angle of the virtual camera is presented on the graphical user interface.
[0048] After the shooting angle of the virtual camera is adjusted, the relative position between the first position and the virtual camera will also change. At this time, it is necessary to redetermine the relative position between the virtual camera and the first position, for example, the first position is in front / back / left / right / above / below the virtual camera, etc. The determination method may be, for example, taking the current position of the virtual camera as the coordinate origin, establishing a corresponding coordinate system according to multiple preset angle intervals, and determining the relative position of the first position relative to the virtual camera according to the quadrant of the first position on the established coordinate system; or, the space of the virtual camera may be divided into regions according to preset angle intervals, and the relative position between the first position and the virtual camera may be determined according to the target area where the first position is located. The specific relative orientation determination method may be flexibly adjusted according to user needs and is not limited to the above-mentioned embodiments.
[0049] Step 103: Determine a first angle corresponding to the relative position and the second position in the first game screen according to the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character.
[0050] After determining the relative position between the first position and the virtual camera, determine the first angle corresponding to the relative position and the second position in the first game screen. In order to ensure the consistency of the angle determination method, when determining the first angle, for example, the first angle can be determined in a unified determination method, for example, the angle can be determined clockwise / counterclockwise along the direction of the relative position toward the second position. This determination method unifies the rules for determining the angle and ensures the accuracy and consistency of the angle determination results.
[0051] Step 104: Determine a logo display position in the graphical user interface according to the first angle, and display a mark logo for indicating the first position at the logo display position.
[0052] In some possible embodiments, the marking mark can be, for example, a marking mark of a preset shape, such as a preset arc, or a preset fan-shaped mark, etc.; or it can be a preset arrow, or it can be a combination of a preset arc and a preset arrow, or it can be a combination of a preset fan and a preset arrow, etc.; it should be understood that the above embodiments are only exemplary descriptions, and the display type or display method of the specific marking mark can be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0053] This arrangement allows the player to clearly determine the position of the first position relative to the controlled virtual character directly based on the position of the marker, and the player can quickly and accurately find the first position by rotating the viewing angle along the marker.
[0054] By adopting the in-game display method provided by the present application, the relative position between the first position and the virtual camera can be determined according to the first position of the enemy virtual object that causes damage to the controlled virtual character in the game scene, and the first angle between the relative position and the second position in the first game screen can be determined according to the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character, and prompt information can be displayed on the graphical interface according to the first angle to prompt the first position of the enemy virtual object in the current game scene. In this determination method, since the prompt information is determined according to the first angle, the player can find the first position directly based on the prompt information, thereby achieving accurate marking of the first position, and the player can effectively distinguish the specific position of the first position based on the indication information, so that the player can find the position indicated by the indication information more accurately.
[0055] Optionally, based on the above embodiment, the embodiment of the present application may further provide a display method within a game. The implementation process of determining the relative position in the above method is illustrated below with reference to the accompanying drawings. Figure 2 A flowchart of a display method in a game provided by another embodiment of the present application is shown as follows: Figure 2 As shown, step 102 may include:
[0056] Step 111: Determine a projection point of the first position on a plane corresponding to the graphical user interface.
[0057] In an embodiment of the present application, the first position in the three-dimensional game is projected onto a two-dimensional plane corresponding to the graphical user interface, so that the three-dimensional space problem is converted into a two-dimensional plane problem to facilitate the subsequent determination of the relative position.
[0058] Step 112: Determine the relative position between the first position and the virtual camera according to the projection point.
[0059] Figure 3 A schematic diagram of angle determination provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the current coordinate system is established based on the current camera direction. Figure 3 The point P in is the first position of the enemy virtual object in the game scene, the origin o is the current position of the controlled virtual character in the game scene, the oy axis is the direction of the virtual camera, the ox axis is the direction perpendicular to the virtual camera direction and parallel to the graphical user interface, oz is the direction perpendicular to ox and oy, and projection is made from point P to the oxz plane to obtain the projection point P' of the first position point P in the oxz plane corresponding to the graphical user interface. The position of the projection point P' is the relative position of the first position P relative to the virtual camera.
[0060] In an embodiment of the present application, for example, a line oP' can be determined based on the projection point P' and a preset reference point (for example, it can be the center position of the graphical user interface, and of course it can be any position in the graphical user interface, and the present application does not impose any restrictions hereon), and the angle P'ox between the line oP' and the horizontal line ox passing through the preset reference point can be determined along a preset direction (for example, clockwise or counterclockwise), so as to determine the angle P'ox as the first angle corresponding to the relative position P' and the second position o in the first game screen.
[0061] In some possible embodiments, for example, the mark identifier includes: a first mark identifier, which can be, for example, a preset arc shape, and a first display size of the first mark identifier can be determined according to a damage value caused by an enemy virtual object to a controlled virtual character; and the first mark identifier for prompting a first position is displayed at the mark display position with the first display size.
[0062] In an embodiment of the present application, the higher the damage value caused by the enemy virtual object to the controlled virtual character, the larger the arc of the first mark corresponding to the enemy virtual object; the lower the damage value caused by the enemy virtual object to the controlled virtual character, the smaller the arc of the first mark corresponding to the enemy virtual object; such a setting method allows the player to intuitively distinguish the damage value caused by the enemy virtual object to the controlled virtual character through the first mark, so that the damage value caused by the enemy virtual object to the controlled virtual character can be clearly identified through the first identification information in the identification information. Such a setting method allows, for example, when there are multiple enemy virtual objects in the game scene, the player can, for example, observe the first mark of different enemy virtual objects to select, for example, to attack the enemy virtual object with a high damage value caused to the controlled virtual character; it should be understood that the above embodiment is only an exemplary description, and the specific player's operation in the game can be flexibly adjusted according to user needs, and is not limited to the above embodiment.
[0063] In some possible embodiments, the marking identifier includes: a second marking identifier, determining a second angle between the first position and the second position in the first game screen according to the first position, the current shooting angle of the virtual camera, and the second position; Figure 3 As shown, the second angle is the angle between the enemy virtual object and the controlled virtual character, that is, the angle Pox. The relative position between the enemy virtual object and the controlled virtual character can be determined by the second angle Pox. For example, when the first angle is the same, the mark will be displayed at the same position on the graphical user interface, but at this time the enemy virtual object may be in front of the field of view of the controlled virtual character, or it may be behind the field of view of the controlled virtual character. In order to allow the player to directly determine the relative position relationship between the enemy virtual object and the controlled virtual character based on the mark, in an embodiment of the present application, for example, the relative position relationship between the enemy virtual object and the controlled virtual character can be further determined based on the second angle Pox.
[0064] For example, when the first angle P'ox is the same, if the second angle Pox is smaller, it means that the current enemy virtual object is located in front of the controlled virtual character; if the second angle Pox is larger, it means that the current enemy virtual object is located behind the controlled virtual character.
[0065] After determining the second angle, for example, the second display size of the second mark can be determined according to the second angle, so that the player can directly clarify the relative position between the enemy virtual object and the controlled virtual character based on the second display size of the second mark; the second mark for prompting the first position is displayed in the second display size at the mark display position; for example, if the second angle is large, then the display size of the second mark can be controlled to be large, and if the second angle is small, then the display size of the second mark can be controlled to be small, so that the player can intuitively determine the relative position between the enemy virtual object and the controlled virtual character through the second mark; when the size of the second mark is small, it means that the current enemy virtual object may be in front of the field of view of the controlled virtual character, and the player can find the enemy virtual object by adjusting the field of view slightly; when the size of the second mark is large, it means that the current enemy virtual object may be behind the field of view of the controlled virtual character, and the player needs to adjust the field of view significantly to find and determine the enemy virtual object.
[0066] To facilitate understanding of the present application, the display of the second marking mark in the present application is explained below with an intuitive embodiment. Figure 4 A schematic diagram of a marking mark provided for another embodiment of the present application, such as Figure 4 (a) and Figure 4 As shown in (b), the angle of the first angle P'ox of 4(a) is Figure 4 (b) has the same angle as the first angle P'ox, which leads to Figure 4 (a) and Figure 4 The positions of the markers shown in (b) are the same.
[0067] In order to improve the clarity of the marking mark pointing to the first position, in the embodiment of the present application, in addition to determining the display position of the second marking mark according to the first angle, the second marking mark is also required to determine the display size of the second marking mark according to the second angle. Figure 4 (b) The second angle Pox is different, which makes Figure 4 (a) and Figure 4 The sizes of the second marking marks in the marking marks shown in (b) are different; among them, the angle of the second angle Pox in 4(a) is larger, and the length (i.e., size) of the second marking mark in 4(a) is longer; Figure 4 (b) The second angle Pox is smaller, then Figure 4 The length (i.e., size) of the second mark in (b) is shorter.
[0068] This arrangement makes the display length of the second mark closely related to the second angle between the first position and the controlled virtual character. Even if the display positions of the mark identifiers are the same, the player can determine the specific position of each mark identifier corresponding to the first position by the display size / length of the second mark identifier in the mark identifier. When the display length of the second mark identifier is longer, it means that the angle between the first position and the controlled virtual character is larger, and the player needs to adjust the direction to a larger extent; when the display length of the second mark identifier is shorter, it means that the angle between the first position and the controlled virtual character is smaller, and the player needs to adjust the direction to a smaller extent. The specific adjustment can be flexibly made according to the needs of the players and is not limited to the above embodiments.
[0069] In an embodiment of the present application, in order to further clarify the location of the enemy virtual object through the second marker, for example, the target display direction of the second marker can be determined based on the second angle and the preset angle threshold; the second marker for prompting the first position is displayed with the target display direction at the marker display position.
[0070] Among them, for example, if the second angle is greater than the preset angle threshold, the target display direction of the second mark is determined to be the second direction away from the current shooting angle; if the second angle is less than the preset angle threshold, the target display direction of the second mark is determined to be the first direction along the current shooting angle; if the second angle is equal to the preset angle threshold, for example, the length of the second mark is 0; this setting method allows the player to intuitively clarify the positional relationship between the enemy virtual object and the controlled virtual character according to the direction of the second mark.
[0071] In some possible embodiments, the preset angle threshold can be set to 45° or 50°, for example. It should be understood that the above embodiments are only exemplary illustrations, and the specific preset angle threshold can also be set to a negative number, or any angle value. It can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0072] In an embodiment of the present application, for example, the orientation of the second mark can be determined according to the size of the second angle, and the display size of the second mark can be determined according to the size of the second angle, so that the player can intuitively understand the positional relationship between the enemy virtual object and the controlled virtual character according to the orientation and display size of the second mark. For example, only when the second angle is less than a preset angle threshold, the orientation of the second mark is away from the shooting angle; when the second angle is greater than the preset angle threshold, the orientation of the second mark is pointing to the shooting angle, that is, outward relative to the shooting angle; and the size of the second mark will be adjusted according to the size of the second angle. Even if the second mark is facing inward, when the second angle is larger, the size of the corresponding second mark is also larger, and when the second angle is smaller, the size of the corresponding second mark is also smaller. When the second angle is equal to the preset angle threshold, the length of the second mark is 0. This setting allows the player to clearly observe the position of the enemy virtual object in the game scene, thereby improving the player's gaming experience.
[0073] In an embodiment of the present application, in order to ensure the intuitiveness of the marking mark, for example, the marking mark may include a first marking mark and a second marking mark, wherein the first marking mark is a preset arc, the second marking mark is a preset arrow, and the first marking mark and the second marking mark are spliced to form the marking mark; Figure 5 A schematic diagram of a marking mark provided for another embodiment of the present application, such as Figure 5 As shown in (a), the horizontal axis in 5 (a) is the angle value of the second angle, the vertical axis is the display length of the second mark, and the coordinate origin is the center of the field of view of the controlled virtual character, that is, the position where the angle of the second angle is 0. The n° on the horizontal axis in the figure is the preset angle threshold, that is, the position when the angle of the second angle is n°. At this time, the relationship between the display length of the second mark and the angle value of the second angle is as follows: Figure 5 As shown in (a), Figure 5 (a) Point A indicates when the second angle between the enemy virtual object A and the controlled virtual character is less than the preset angle threshold, point B indicates when the second angle between the enemy virtual object B and the controlled virtual character is equal to the preset angle threshold, and point C indicates when the second angle between the enemy virtual object C and the controlled virtual character is greater than the preset angle threshold.
[0074] When the three enemy virtual objects A, B, and C are in different first positions, the display mode of the corresponding marking identification may be, for example, Figure 5As shown in (b), at point A, since the second angle is less than the preset angle threshold and the angle value of the second angle is small, the direction of the second mark in the mark is pointing to the current shooting angle of view, and the display length of the second mark is short; at point B, since the second angle is equal to the preset angle threshold, the length of the second mark in the mark is 0; at point C, since the second angle is greater than the preset angle threshold and the angle value of the second angle is large, the direction of the second mark in the mark is away from the current shooting angle of view, and the display length of the second mark is long; in addition, the display size of the first mark in the mark of each point is related to the damage caused by the enemy virtual object corresponding to each point to the controlled virtual character, which will not be repeated here.
[0075] This setting method allows players to directly determine the location of the enemy virtual object based on the direction of the second mark identification information in the mark identification information displayed on the graphical user interface, whether it is located in front of or behind the controlled virtual character, and determine the distance between the enemy virtual object and the controlled virtual character based on the size / length of the second mark identification information. In addition, the damage caused to the controlled virtual character by the enemy virtual object can also be determined based on the display size of the first mark identification in the identification information, so that players can directly determine multiple information of the enemy virtual object based on the mark identification, so as to determine the location of the enemy virtual object in the current game scene, the damage caused to the controlled virtual character, the relative position between the enemy virtual object and the controlled virtual character, and the distance between the enemy virtual object and the controlled virtual character according to the indication of the mark identification, thereby greatly improving the directionality of the mark identification information and enhancing the player's gaming experience.
[0076] In some possible embodiments, there may be a preset corresponding relationship between the size of the second angle and the size of the second mark. For example, each second angle has a corresponding size of the second mark. Such a determination method makes the size of the second mark more accurate, and the player can intuitively and accurately determine the first position of the enemy virtual object based on the size of the second mark; or, the second angle in each preset range may have a size of the second mark corresponding to the preset range, that is, the size of the second angle and the size of the second mark are not one-to-one corresponding, but one preset range corresponds to the size of one second mark. After determining the size of the second angle, it is first necessary to determine in which preset range the second angle is, and then determine that the size of the second mark corresponding to the preset range is the size of the second mark corresponding to the second angle. Such a determination method ensures that the player can determine the location of the enemy virtual object by the size of the second mark. Since the size of the second mark is not one-to-one corresponding to the second angle, but range corresponding, it can reduce memory consumption and improve determination efficiency. It should be understood that the above embodiment is only an exemplary description, and how to determine the size of the second mark according to the second angle can be flexibly adjusted according to user needs and is not limited to the above embodiment.
[0077] The player can intuitively determine the positional relationship between the enemy virtual object and the controlled virtual character based on the marking identification. If the enemy virtual object is in the front / above area of the controlled virtual character (vertical relative position), for example, the player needs to control the controlled virtual character to adjust the camera up, down, left, and right to view the first position; if the enemy virtual object is in the rear area of the controlled virtual character (horizontal relative position), for example, the player needs to control the controlled virtual character to move the camera left, right, and right to view the first position.
[0078] By adopting the in-game display method provided by the present application, the player determines the relative position between the first position and the virtual camera according to the first position of the enemy virtual object that causes damage to the controlled virtual character in the game scene, and determines the first angle between the relative position and the second position in the first game screen according to the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character, and displays a first mark on the graphical interface according to the first angle to prompt the first position of the enemy virtual object in the current game scene; wherein the first mark is spliced with the second mark to form a mark, and the orientation of the second mark information can make it clear that the position of the enemy virtual object is located within the controlled virtual character. In front of or behind the controlled virtual character, and according to the size / length of the second mark identification information, the distance between the enemy virtual object and the controlled virtual character can be clarified. In addition, according to the display size of the first mark identification in the identification information, the damage caused by the enemy virtual object to the controlled virtual character can be clarified, so that the player can directly clarify multiple information of the enemy virtual object based on the mark identification, so as to clarify the location of the enemy virtual object in the current game scene according to the indication of the mark identification, the damage caused to the controlled virtual character, the relative position between the enemy virtual object and the controlled virtual character, and the distance between the enemy virtual object and the controlled virtual character, which greatly improves the directionality and clarity of the mark identification and improves the player's gaming experience.
[0079] The following is an explanation of the in-game display device provided by the present application in conjunction with the accompanying drawings. The in-game display device can execute the above Figure 1-Figure 5 The specific implementation and beneficial effects of the display method within any game are as mentioned above and will not be repeated below.
[0080] Figure 6 A schematic diagram of the structure of a display device in a game provided by an embodiment of the present application, such as Figure 6 As shown, the device includes: a display module 201 and a determination module 202, wherein:
[0081] The display module 201 is used to display, on a graphical user interface, a first game screen formed by shooting the game scene through the current shooting angle of the virtual camera;
[0082] The determination module 202 is used to determine the relative position between the first position and the virtual camera according to the first position of the enemy virtual object in the game scene; wherein the enemy virtual object is a virtual character that causes damage to the controlled virtual character; and determine the first angle corresponding to the relative position and the second position in the first game screen according to the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character;
[0083] The display module 201 is specifically used to determine a logo display position in the graphical user interface according to the first angle, and display a mark logo for indicating the first position at the logo display position.
[0084] Optionally, the determination module 202 is specifically configured to determine a projection point of the first position on a plane corresponding to the graphical user interface; and determine a relative position between the first position and the virtual camera according to the projection point.
[0085] Optionally, the marking identifier includes: a first marking identifier, a determination module 202, specifically configured to determine a first display size of the first marking identifier according to a damage value caused by the enemy virtual object to the controlled virtual character;
[0086] The display module 201 is specifically configured to display a first mark mark for indicating a first position at a mark display position in a first display size.
[0087] Optionally, the marking identifier includes: a second marking identifier, a determination module 202, specifically configured to determine a second angle corresponding to the first position and the second position in the first game screen according to the first position, the current shooting angle of the virtual camera, and the second position; and determine a second display size of the second marking identifier according to the second angle;
[0088] The display module 201 is specifically configured to display a second mark mark for indicating the first position at the mark display position in a second display size.
[0089] Optionally, the determination module 202 is specifically configured to determine the target display orientation of the second mark according to the second included angle and a preset angle threshold;
[0090] The display module 201 is specifically configured to display a second mark mark for indicating a first position at a mark display position with a target display direction.
[0091] Optionally, the determination module 202 is specifically used to determine that the target display direction identified by the second mark is a second direction away from the current shooting angle if the second angle is greater than a preset angle threshold; if the second angle is less than or equal to the preset angle threshold, then determine that the target display direction identified by the second mark is a first direction along the current shooting angle.
[0092] Optionally, the marking identifier includes a first marking identifier and a second marking identifier, wherein the first marking identifier is a preset arc, the second marking identifier is a preset arrow, and the first marking identifier and the second marking identifier are spliced to form the marking identifier.
[0093] Optionally, based on the above embodiment, the embodiment of the present application may also provide a display device in a game, as shown below in conjunction with the accompanying drawings. Figure 6 The implementation process of the given device is described by way of example. Figure 7 This is a schematic diagram of the structure of a display device in a game provided by another embodiment of the present application, such as Figure 7 As shown, the device further includes: an adjustment module 203, which is used to respond to an adjustment operation on the game scene in the graphical user interface and adjust the shooting angle of view of the virtual camera according to the adjustment operation.
[0094] Optionally, the adjustment module 203 is specifically used to respond to a first adjustment operation in the horizontal direction for the game scene in the graphical user interface, and adjust the shooting angle of view of the virtual camera in the horizontal direction according to the first adjustment operation; and respond to a second adjustment operation in the vertical direction for the game scene in the graphical user interface, and adjust the shooting angle of view of the virtual camera in the vertical direction according to the second adjustment operation.
[0095] By using the display device in the game provided by the present application, the relative position between the first position and the virtual camera can be determined according to the first position of the enemy virtual object that causes damage to the controlled virtual character in the game scene, and the first angle between the relative position and the second position in the first game screen can be determined according to the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character, and prompt information can be displayed on the graphical interface according to the first angle to prompt the first position of the enemy virtual object in the current game scene. Since the prompt information is determined according to the first angle, the player can find the first position directly based on the prompt information, thereby achieving accurate marking of the first position, and the player can effectively distinguish the specific position of the first position based on the indication information, so that the player can find the position indicated by the indication information more accurately.
[0096] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0097] Figure 8This is a schematic diagram of the structure of a display device within a game provided in one embodiment of the present application. The display device within the game can be integrated into a terminal device or a chip of the terminal device.
[0098] like Figure 8 As shown, the display device in the game includes: a processor 501, a bus 502 and a storage medium 503.
[0099] The processor 501 is used to store programs. The processor 501 calls the program stored in the storage medium 503 to execute the above Figure 1-Figure 5 Corresponding method embodiments.
[0100] Specifically, the processor 501 executes the above-mentioned in-game display method in the following steps:
[0101] Displaying on the graphical user interface a first game screen formed by shooting the game scene through the current shooting angle of the virtual camera;
[0102] According to a first position of an enemy virtual object in the game scene, determining a relative position between the first position and the virtual camera; wherein the enemy virtual object is a virtual character that causes damage to the controlled virtual character;
[0103] Determining a first angle between the relative position and the second position in the first game screen according to the relative position, the current shooting angle of view of the virtual camera, and the second position of the controlled virtual character;
[0104] According to the first angle, a logo display position is determined in the graphical user interface, and a mark logo for indicating the first position is displayed at the logo display position.
[0105] In some embodiments, when the processor 501 performs the step of determining the relative position between the first position and the virtual camera according to the first position of the enemy virtual object in the game scene, it is further configured to perform:
[0106] Determine a projection point of the first position on a plane corresponding to the graphical user interface;
[0107] The relative position between the first position and the virtual camera is determined according to the projection point.
[0108] In some embodiments, the marking identifier includes: a first marking identifier, and when the processor 501 executes the step of displaying the marking identifier for indicating the first position at the identifier display position, it is further configured to execute:
[0109] Determining a first display size of the first mark according to a damage value caused by the enemy virtual object to the controlled virtual character;
[0110] A first mark mark for indicating the first position is displayed at the mark display position in the first display size.
[0111] In some embodiments, the marking identifier includes: a second marking identifier, and when the processor 501 executes the step of displaying the marking identifier for indicating the first position at the identifier display position, it is further configured to execute:
[0112] Determine a second angle between the first position and the second position in the first game screen according to the first position, the current shooting angle of the virtual camera, and the second position;
[0113] Determining a second display size of the second mark according to the second angle;
[0114] A second mark mark for indicating the first position is displayed at the mark display position in the second display size.
[0115] In some embodiments, when the processor 501 executes the step of displaying a marking mark for indicating the first position at the mark display position, the processor 501 is further configured to execute:
[0116] Determining a target display orientation identified by the second mark according to the second angle and a preset angle threshold;
[0117] A second mark mark for indicating the first position is displayed at the mark display position with a target display direction.
[0118] In some embodiments, when the processor 501 determines the target display orientation of the second mark according to the second angle and the preset angle threshold, it is further configured to execute:
[0119] If the second angle is greater than the preset angle threshold, determining that the target display direction identified by the second mark is a second direction away from the current shooting angle of view;
[0120] If the second angle is less than or equal to the preset angle threshold, it is determined that the target display orientation identified by the second mark is a first orientation along the current shooting angle of view.
[0121] In some embodiments, the marking identifier includes a first marking identifier and a second marking identifier, wherein the first marking identifier is a preset arc, the second marking identifier is a preset arrow, and the first marking identifier and the second marking identifier are spliced to form the marking identifier.
[0122] In some embodiments, the processor 501 is further configured to execute
[0123] In response to an adjustment operation on the game scene in the graphical user interface, the shooting angle of view of the virtual camera is adjusted according to the adjustment operation.
[0124] In some embodiments, when the processor 501 performs the adjustment operation for the game scene in the graphical user interface and adjusts the shooting angle of view of the virtual camera according to the adjustment operation, it is also used to perform:
[0125] In response to a first adjustment operation in the horizontal direction of the game scene in the graphical user interface, adjusting the shooting angle of view of the virtual camera in the horizontal direction according to the first adjustment operation;
[0126] In response to a second adjustment operation in the vertical direction of the game scene in the graphical user interface, the shooting angle of view of the virtual camera is adjusted in the vertical direction according to the second adjustment operation.
[0127] By using the display device in the game provided by the present application, the relative position between the first position and the virtual camera can be determined according to the first position of the enemy virtual object that causes damage to the controlled virtual character in the game scene, and the first angle between the relative position and the second position in the first game screen can be determined according to the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character, and prompt information can be displayed on the graphical interface according to the first angle to prompt the first position of the enemy virtual object in the current game scene. Since the prompt information is determined according to the first angle, the player can find the first position directly based on the prompt information, thereby achieving accurate marking of the first position, and the player can effectively distinguish the specific position of the first position based on the indication information, so that the player can find the position indicated by the indication information more accurately.
[0128] Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program that, when executed by a processor, executes an embodiment corresponding to the above method.
[0129] The specific steps of the processor executing the above-mentioned in-game display method include:
[0130] Displaying on the graphical user interface a first game screen formed by shooting the game scene through the current shooting angle of the virtual camera;
[0131] According to a first position of an enemy virtual object in the game scene, determining a relative position between the first position and the virtual camera; wherein the enemy virtual object is a virtual character that causes damage to the controlled virtual character;
[0132] Determining a first angle between the relative position and the second position in the first game screen according to the relative position, the current shooting angle of view of the virtual camera, and the second position of the controlled virtual character;
[0133] According to the first angle, a logo display position is determined in the graphical user interface, and a mark logo for indicating the first position is displayed at the logo display position.
[0134] In some embodiments, when the processor executes the step of determining the relative position between the first position and the virtual camera according to the first position of the enemy virtual object in the game scene, the processor is further configured to execute:
[0135] Determine a projection point of the first position on a plane corresponding to the graphical user interface;
[0136] The relative position between the first position and the virtual camera is determined according to the projection point.
[0137] In some embodiments, the marking identifier includes: a first marking identifier, and when the processor executes the step of displaying the marking identifier for indicating the first position at the identifier display position, the processor is further configured to execute:
[0138] Determining a first display size of the first mark according to a damage value caused by the enemy virtual object to the controlled virtual character;
[0139] A first mark mark for indicating the first position is displayed at the mark display position in the first display size.
[0140] In some embodiments, the marking identifier includes: a second marking identifier, and when the processor executes the step of displaying the marking identifier for indicating the first position at the identifier display position, the processor is further configured to execute:
[0141] Determine a second angle between the first position and the second position in the first game screen according to the first position, the current shooting angle of the virtual camera, and the second position;
[0142] Determining a second display size of the second mark according to the second angle;
[0143] A second mark mark for indicating the first position is displayed at the mark display position in the second display size.
[0144] In some embodiments, when the processor executes the step of displaying a marking mark for indicating the first position at the mark display position, the processor is further configured to execute:
[0145] Determining a target display orientation identified by the second mark according to the second angle and a preset angle threshold;
[0146] A second mark mark for indicating the first position is displayed at the mark display position with a target display direction.
[0147] In some embodiments, when the processor executes the step of determining the target display orientation of the second marker according to the second included angle and the preset angle threshold, the processor is further configured to execute:
[0148] If the second angle is greater than the preset angle threshold, determining that the target display direction identified by the second mark is a second direction away from the current shooting angle of view;
[0149] If the second angle is less than or equal to the preset angle threshold, it is determined that the target display orientation identified by the second mark is a first orientation along the current shooting angle of view.
[0150] In some embodiments, the marking identifier includes a first marking identifier and a second marking identifier, wherein the first marking identifier is a preset arc, the second marking identifier is a preset arrow, and the first marking identifier and the second marking identifier are spliced to form the marking identifier.
[0151] In some embodiments, the processor is further configured to execute
[0152] In response to an adjustment operation on the game scene in the graphical user interface, the shooting angle of view of the virtual camera is adjusted according to the adjustment operation.
[0153] In some embodiments, when the processor executes the adjustment operation for the game scene in the graphical user interface and adjusts the shooting angle of view of the virtual camera according to the adjustment operation, it is also used to execute:
[0154] In response to a first adjustment operation in the horizontal direction of the game scene in the graphical user interface, adjusting the shooting angle of view of the virtual camera in the horizontal direction according to the first adjustment operation;
[0155] In response to a second adjustment operation in the vertical direction of the game scene in the graphical user interface, the shooting angle of view of the virtual camera is adjusted in the vertical direction according to the second adjustment operation.
[0156] By using the storage medium provided by the present application, the relative position between the first position and the virtual camera can be determined based on the first position of the enemy virtual object that causes damage to the controlled virtual character in the game scene, and the first angle between the relative position and the second position in the first game screen can be determined based on the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character, and prompt information can be displayed on the graphical interface based on the first angle to prompt the first position of the enemy virtual object in the current game scene. Since the prompt information is determined based on the first angle, the player can find the first position directly based on the prompt information, thereby achieving accurate marking of the first position, and the player can effectively distinguish the specific position of the first position based on the indication information, so that the player can find the position indicated by the indication information more accurately.
[0157] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0158] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0159] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0160] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
Claims
1. A display method in a game, characterized in that: Displaying a graphical user interface via a terminal device, the method comprising: Displaying on the graphical user interface a first game screen formed by shooting the game scene through the current shooting angle of the virtual camera; According to a first position of an enemy virtual object in the game scene, determining a relative position between the first position and the virtual camera; wherein the enemy virtual object is a virtual character that causes damage to the controlled virtual character; Determining a first angle between the relative position and the second position in the first game screen according to the relative position, the current shooting angle of view of the virtual camera, and the second position of the controlled virtual character; According to the first angle, a logo display position is determined in the graphical user interface, and a mark logo for indicating the first position is displayed at the logo display position.
2. The method according to claim 1, characterized in that The determining, according to a first position of the enemy virtual object in the game scene, a relative position between the first position and the virtual camera comprises: Determine a projection point of the first position on a plane corresponding to the graphical user interface; The relative position between the first position and the virtual camera is determined according to the projection point.
3. The method according to claim 1, characterized in that The marking identifier includes: a first marking identifier, and the marking identifier displayed at the identifier display position for indicating the first position includes: Determining a first display size of the first mark according to a damage value caused by the enemy virtual object to the controlled virtual character; A first mark mark for indicating the first position is displayed at the mark display position in the first display size.
4. The method according to claim 1, characterized in that The marking identifier includes: a second marking identifier, and the marking identifier displayed at the identifier display position for indicating the first position includes: Determine a second angle between the first position and the second position in the first game screen according to the first position, the current shooting angle of the virtual camera, and the second position; Determining a second display size of the second mark according to the second angle; A second mark mark for indicating the first position is displayed at the mark display position in the second display size.
5. The method according to claim 4, characterized in that The step of displaying a marking mark for indicating the first position at the mark display position includes: Determining a target display orientation identified by the second mark according to the second angle and a preset angle threshold; A second mark mark for indicating the first position is displayed at the mark display position with a target display direction.
6. The method according to claim 5, characterized in that The determining the target display orientation of the second mark according to the second included angle and a preset angle threshold includes: If the second angle is greater than the preset angle threshold, determining that the target display direction identified by the second mark is a second direction away from the current shooting angle of view; If the second angle is less than or equal to the preset angle threshold, it is determined that the target display orientation identified by the second mark is a first orientation along the current shooting angle of view.
7. The method according to claim 1, characterized in that The marking mark includes a first marking mark and a second marking mark, wherein the first marking mark is a preset arc, the second marking mark is a preset arrow, and the first marking mark and the second marking mark are spliced to form the marking mark.
8. The method according to claim 1, characterized in that The method further comprises: In response to an adjustment operation on the game scene in the graphical user interface, the shooting angle of view of the virtual camera is adjusted according to the adjustment operation.
9. The method according to claim 8, characterized in that The step of responding to the adjustment operation on the game scene in the graphical user interface and adjusting the shooting angle of view of the virtual camera according to the adjustment operation includes: In response to a first adjustment operation in the horizontal direction of the game scene in the graphical user interface, adjusting the shooting angle of view of the virtual camera in the horizontal direction according to the first adjustment operation; In response to a second adjustment operation in the vertical direction of the game scene in the graphical user interface, the shooting angle of view of the virtual camera is adjusted in the vertical direction according to the second adjustment operation.
10. A display device in a game, characterized in that: The device comprises: a display module and a determination module, wherein: The display module is used to display on the graphical user interface a first game screen formed by shooting the game scene through the current shooting angle of the virtual camera; The determination module is used to determine the relative position between the first position of the enemy virtual object in the game scene and the virtual camera, wherein the enemy virtual object is a virtual character that causes damage to the controlled virtual character; and determine a first angle between the relative position and the second position in the first game screen according to the relative position, the current shooting angle of the virtual camera and the second position of the controlled virtual character; The display module is specifically used to determine a logo display position in the graphical user interface according to the first angle, and display a mark logo for prompting the first position at the logo display position.
11. A display device in a game, characterized in that: The device includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, when the display device in the game is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the method described in any one of claims 1-9 above.
12. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is executed.
Citation Information
Cited By
Graphical overlay method
EP4741029A1
In-game display method, apparatus and device, and storage medium
WO2025246623A1
