Screen display method, image display system, image display device, computer equipment, and computer program
The screen display method enhances interaction efficiency in virtual scenes by providing direction hints for marker points, improving accuracy and reducing resource waste through optimized display techniques.
Patent Information
- Application Number
- JP2024531635
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-05-26
- Filing Date
- 2023-04-03
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-04-03
AI Technical Summary
The process of displaying marker points as auxiliary tags in virtual scenes has low sensitivity, making it difficult for users to quickly and accurately locate their positions, which reduces interaction efficiency and wastes computing and display resources.
A screen display method that provides direction hint information for marker points, including text or audio cues, to guide users towards the marker points by adjusting the orientation of the virtual object, using screen identification to optimize content display.
Improves the efficiency of human-machine interaction by clearly indicating marker points, enhancing interaction experience and reducing resource waste.
Smart Images

Figure 0007819316000001 
Figure 0007819316000002 
Figure 0007819316000003
Abstract
Description
[Technical Field]
[0001] This application claims priority from a Chinese patent application filed on May 26, 2022, application number 202210590480.6, entitled "Screen display method, system, device, equipment and storage medium," the entire contents of which are incorporated herein by reference.
[0002] The present embodiment relates to the technical field of computers, in particular to screen display methods, Image display system, Image display Device, computer Equipment and computer program Regarding. [Background technology]
[0003] In some application programs based on virtual scenes, a user can control virtual objects through a client to make them act in the virtual scene.
[0004] In the related technology, a virtual object can mark a marker point in a virtual scene, so that other virtual objects can find the marker point in the virtual scene, and an interaction subject can perform interaction in the virtual environment through the marker point. For example, an interaction subject can find the marker point in the virtual scene and display a virtual environment screen including the marker point. Summary of the Invention [Problem to be solved by the invention]
[0005] However, originally, the process of displaying marker points as auxiliary tags generally has low sensitivity, making it difficult for players to quickly and accurately locate the positions of marker points in the virtual scene. As a result, marking marker points cannot promote interaction between virtual objects, which not only reduces the efficiency of man-machine interaction but also wastes the computing resources of the server and the display resources of the terminal. [Means for solving the problem]
[0006] The screen display method provided in the present embodiment, Image display system, Image display Device, computer Equipment and computer program can improve the efficiency of human-machine interaction. The technical means are as follows:
[0007] In one aspect, the present invention provides a screen display method executed by a computing device. The method includes the steps of: displaying a virtual environment including a first virtual object and a second virtual object controlled by a terminal; presenting, in response to the first virtual object marking a destination marker point in the virtual environment, direction hint information for the destination marker point, the direction hint information including a destination direction in which the destination marker point is located relative to the second virtual object; and displaying the destination marker point in the virtual environment in response to receiving an operation to turn the orientation of the second virtual object toward the destination direction. The step of presenting the direction hint information for the destination marker point in response to the first virtual object marking the destination marker point in the virtual environment includes the steps of: displaying the direction hint information as a text message in a first presentation area of a terminal interface in response to the first virtual object marking the destination marker point in the virtual environment; or playing the direction hint information by an audio playback module in response to the first virtual object marking the destination marker point in the virtual environment. and before the step of displaying the direction hint information as a text message in a first presentation area of a terminal interface, further includes a step of performing screen identification on a virtual environment screen displayed on the terminal interface to obtain the first presentation area that matches an information display request, wherein the information display request is used to limit the virtual environment content to be displayed in the first presentation area.
[0008] Further, a screen display method is provided, which includes the steps of: acquiring a location of the target marker point and a location of a second virtual object in response to a first virtual object marking a target marker point in a virtual environment; determining a target direction in which the target marker point is located relative to the second virtual object based on the location of the target marker point and the location of the second virtual object; generating direction hint information for the target marker point based on the target direction; and controlling the second virtual object to display the direction hint information as a text message in a first presentation area of a terminal interface in response to the first virtual object marking the target marker point in the virtual environment; or playing the direction hint information by an audio playback module in response to the first virtual object marking the target marker point in the virtual environment. and before the step of displaying the direction hint information as a text message in a first presentation area of a terminal interface, a step of performing screen identification on a virtual environment screen displayed on the terminal interface to obtain the first presentation area that meets the information display requirement is further performed. and transmitting the direction hint information to a client, wherein the first virtual object and the second virtual object are different, and the client uses a virtual object to present the direction hint information. The information display request is used to limit the virtual environment content displayed in the first presentation area.
[0009] In another aspect, a screen display system is provided, the system including a client controlling a second virtual object, and a server, the client being used to display a virtual environment, the server being used to, in response to a first virtual object marking a target marker point in the virtual environment, acquire a location of the target marker point and a location of a second virtual object that is a virtual object controlled by the client, identify a target direction in which the target marker point exists relative to the second virtual object based on the location of the target marker point and the location of the second virtual object, generate direction hint information for the target marker point based on the target direction, and transmit the direction hint information to the client, the client being further used to display a virtual environment in which the first virtual object marks the target marker point in the virtual environment. In response to marking the marker point, display direction hint information of the target marker point, including the target direction; in response to receiving an operation to turn the orientation of the second virtual object toward the target direction, display the target marker point in the virtual environment; when the direction hint information of the target marker point is displayed in response to the first virtual object marking the target marker point in the virtual environment, display the direction hint information as a text message in a first presentation area of a terminal interface in response to the first virtual object marking the target marker point in the virtual environment; or in response to the first virtual object marking the target marker point in the virtual environment, play the direction hint information by an audio playback module. death , Before displaying the direction hint information as a text message in the first presentation area of the terminal interface, screen identification is further performed on the virtual environment screen displayed on the terminal interface to obtain the first presentation area that matches an information display request, and the information display request is used to limit the virtual environment content to be displayed in the first presentation area.
[0010] In another aspect, a screen display device is provided, the device including: a first display means for displaying a virtual environment including a first virtual object and a second virtual object that is a virtual object controlled by a terminal; a second display means for displaying, in response to the first virtual object marking a target marker point in the virtual environment, direction hint information for the target marker point, the direction hint information including a target direction in which the target marker point is located relative to the second virtual object, and a third display means for displaying the target marker point in the virtual environment in response to receiving an operation to turn the orientation of the second virtual object toward the target direction. and a display means for displaying direction hint information of the target marker point in response to the first virtual object marking the target marker point in the virtual environment, wherein the second display means for displaying direction hint information of the target marker point in response to the first virtual object marking the target marker point in the virtual environment includes: a fourth display means for displaying the direction hint information as a text message in a first presentation area of a terminal interface in response to the first virtual object marking the target marker point in the virtual environment; or a playback means for playing the direction hint information by an audio playback module in response to the first virtual object marking the target marker point in the virtual environment. and before displaying the direction hint information as a text message in a first presentation area of the terminal interface, the method further includes an obtaining means for performing screen identification on a virtual environment screen displayed on the terminal interface to obtain the first presentation area that matches an information display request, wherein the information display request is used to limit the virtual environment content to be displayed in the first presentation area.
[0011] In one possible embodiment, the third display means is used for displaying the direction hint information in a first presentation area of a terminal interface in response to the first virtual object marking the target marker point in the virtual environment, or for playing the direction hint information by an audio playback module in response to the first virtual object marking the target marker point in the virtual environment.
[0012] In one possible embodiment, the third display means is used to perform screen identification on the virtual environment screen displayed on the terminal interface to obtain the first presentation area that meets an information display requirement for limiting the virtual environment content displayed within the first presentation area.
[0013] In one possible embodiment, the third display means performs screen content identification on the virtual environment screen displayed on the terminal interface to obtain an area in the virtual environment screen in which the target display content is displayed, and is used to determine the first presentation area in an area other than the area in the terminal interface in which the target display content is displayed.
[0014] In one possible embodiment, the terminal interface further includes a direction coordinate axis, which is used to display a plurality of direction distribution sections centered on the direction in which the second virtual object is facing, and the third display means is used to display a hint marker at a position of a value corresponding to the target direction on the direction coordinate axis, which hint marker is used to indicate that the target marker point is located in a direction corresponding to the target direction on the direction coordinate axis.
[0015] In one possible embodiment, the third display means is used to perform screen collection for the virtual environment at a viewing angle of the second virtual object facing the target direction, and in response to the target marker point not being included in the collected virtual environment screen, receive a marker point location identification operation for displaying the target marker point on the assumption that the second virtual object is facing the target direction, and display the target marker point in the virtual environment based on the marker point location identification operation.
[0016] In one possible embodiment, the terminal interface further includes a direction coordinate axis, which displays a plurality of direction distribution sections centered on the direction in which the second virtual object is facing, and the third display means is used to display the target marker point in the virtual environment in response to receiving a trigger operation for the target direction on the direction coordinate axis.
[0017] In one possible embodiment, the device further includes an acquisition means for displaying a direction entry field and, in response to receiving a confirmation entry operation for the target direction in the direction entry field, displaying the target marker point in the virtual environment.
[0018] In one possible embodiment, the marker point position specifying operation includes at least one of a screen collection range enlarging operation and an operation of controlling the second virtual object to move it toward the target direction.
[0019] The present invention further provides a screen display device, the device including: an acquisition means for acquiring a location of the target marker point and a location of a second virtual object in response to a first virtual object marking a target marker point in a virtual environment; an identification means for identifying a target direction in which the target marker point is located relative to the second virtual object based on the location of the target marker point and the location of the second virtual object; and a step of generating direction hint information for the target marker point based on the target direction and controlling the second virtual object; and a step of displaying the direction hint information as a text message in a first presentation area of a terminal interface in response to the first virtual object marking the target marker point in the virtual environment; or a step of playing the direction hint information by an audio playback module in response to the first virtual object marking the target marker point in the virtual environment. and before the step of displaying the direction hint information as a text message in a first presentation area of a terminal interface, a step of performing screen identification on a virtual environment screen displayed on the terminal interface to obtain the first presentation area that meets the information display requirement is further performed. and a transmitting means for transmitting the direction hint information to a client, wherein the first virtual object and the second virtual object are different, and the client is configured to use the direction hint information to present the direction hint information. The information display request is used to limit the virtual environment content displayed in the first presentation area.
[0020] In one possible embodiment, the identification means is used to identify a target included angle between a first connection line, which is a connection line between the location of the second virtual object and the location of the target marker point, and a first ray, which is a ray extending from the location of the second virtual object toward a reference direction, and to set the target direction to a direction shifted from the reference direction by the target included angle.
[0021] In one possible embodiment, the identification means is used to identify a corresponding coordinate value in a Cartesian coordinate system of the location of the target marker point, and to identify a target included angle between the first connecting line and the first ray based on the coordinate value, wherein the Cartesian coordinate system has an origin at the location of the second virtual object and one of its coordinate axes is an axis that coincides with the first ray.
[0022] In one possible embodiment, the identification means is used to identify a plurality of candidate rays and their degrees of deviation from the first connecting line, and to set the candidate direction corresponding to the candidate ray among the plurality of candidate rays that has the smallest degree of deviation from the first connecting line as the target direction, the plurality of candidate rays correspond to a plurality of candidate directions toward which the second virtual object can face, one candidate ray is a ray extending from the location of the second virtual object toward the candidate direction corresponding to the one candidate ray, and the first connecting line is a connecting line between the location of the second virtual object and the location of the target marker point.
[0023] In another aspect, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to cause the computer device to realize any one of the above-described screen display methods.
[0024] In another aspect, there is provided a computer-readable storage medium having stored therein at least one computer program, the at least one computer program being loaded and executed by a processor to cause a computer to implement any one of the above-described screen display methods. [Effects of the Invention]
[0026] The technical means provided in the embodiments of the present application have at least the following beneficial effects:
[0027] In the technical solution provided in the embodiment of the present application, the direction hint information acquired by the client controlling the second virtual object includes a target direction of the target marker point relative to the second virtual object. This direction hint information can provide a clear hint about the directional relationship between the target marker point and the second virtual object, making the direction hint information highly effective. Based on this hint, the interaction target can display a virtual environment screen including the target marker point on the client by turning the orientation of the second virtual object toward the target direction. This highly convenient operation for displaying a virtual environment screen including the target marker point contributes to improving the display efficiency of the virtual environment screen including the target marker point, thereby improving the efficiency of man-machine interaction and the interaction experience of the interaction target. [Brief explanation of the drawings]
[0028] [Figure 1] FIG. 1 is a schematic diagram of an implementation environment of the screen display method provided in the present embodiment. [Figure 2] FIG. 2 is a flowchart of the screen display method provided in the embodiment of the present application. [Figure 3] FIG. 3 is a schematic diagram of a process for determining a target included angle between a first connecting line and a first ray provided in an embodiment of the present application. [Figure 4]FIG. 4 is a schematic diagram of a process of sending direction hint information of a target marker point from a server to a second client provided in an embodiment of the present application. [Figure 5] FIG. 5 is a schematic diagram illustrating the relationship between the locations of teammate 1, teammate 2, a target marker point, and a first virtual object provided in this embodiment. [Figure 6] FIG. 6 is a schematic diagram of the directions of target marker points relative to a first virtual object and a second virtual object provided in an embodiment of the present invention. [Figure 7] FIG. 7 is a schematic diagram of a compass provided in an embodiment of the present invention. [Figure 8] FIG. 8 is a schematic diagram of a virtual environment screen provided in this embodiment. [Figure 9] FIG. 9 is a flowchart illustrating the implementation of the screen display method provided in the embodiment of the present application. [Figure 10] FIG. 10 is a schematic diagram of a display interface provided in this embodiment. [Figure 11] FIG. 11 is a schematic diagram of a display interface provided in this embodiment. [Figure 12] FIG. 12 is a schematic diagram of a display interface provided in this embodiment. [Figure 13] FIG. 13 is a schematic diagram of a display interface provided in this embodiment. [Figure 14] FIG. 14 is a flowchart of the screen display method provided in this embodiment. [Figure 15] FIG. 15 is a flowchart of the screen display method provided in this embodiment. [Figure 16] FIG. 16 is a schematic diagram of a screen display device provided in an embodiment of the present invention. [Figure 17] FIG. 17 is a schematic diagram of a screen display device provided in an embodiment of the present invention. [Figure 18] FIG. 18 is a schematic diagram of the structure of the server provided in this embodiment. [Figure 19] FIG. 19 is a structural diagram of the terminal provided in this embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0029] The terms used in the present embodiment will be explained below.
[0030] Virtual Environment: The environment provided (or displayed) when a client is executed on a terminal. The virtual environment refers to a constructed environment in which virtual objects operate. The virtual environment may be a 2D virtual environment, a 2.5D virtual environment, or a 3D virtual environment.
[0031] Virtual object: refers to an object that can move in a virtual environment. The virtual object may be a virtual person, a virtual animal, a cartoon character, etc. For example, it may be a person, an animal, a plant, a drum, a fence, a wall, a rock, etc. displayed in the virtual environment. The interacting person can manipulate the virtual object with an external device or by clicking on the touch screen.
[0032] 1 is a schematic diagram of an implementation environment of the screen display method provided in the embodiment of the present application. The implementation environment includes a terminal 11 and a server 12.
[0033] A client supporting the virtual environment is installed and running on the terminal 11. The interaction subject can use the client on the terminal 11 to control the actions of the virtual object in the virtual environment, including, but not limited to, adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and changing position.
[0034] Although the present embodiment does not limit the clients that support virtual environments, by way of example, clients that support virtual environments include, but are not limited to, clients in the VR (Virtual Reality) category, clients in the AR (Augmented Reality) category, 3D map clients, clients in the game category, clients in the interaction category, clients in the interactive entertainment category, and the like.
[0035] The server 12 is used to provide background services to clients that support a virtual environment installed on the terminal 11. In one possible embodiment, the server 12 is responsible for the main computational tasks, and the terminal 11 is responsible for the secondary computational tasks. Alternatively, the server 12 is responsible for the secondary computational tasks, and the terminal 11 is responsible for the main computational tasks. Alternatively, the server 12 and the terminal 11 employ a distributed computing architecture to perform computations cooperatively.
[0036] In one possible embodiment, the terminal 11 is any electronic product capable of man-machine interaction with an interaction target by one or more means such as a keyboard, a touch panel, a touch screen, a remote controller, language interaction or a handwriting device, such as a PC (Personal Computer), a mobile phone, a smartphone, a PDA (Personal Digital Assistant), a wearable device, a portable game console, a PPC (Pocket PC), a tablet computer, an in-car smart terminal, a smart TV, a smart speaker, etc. The server 12 may be a single server, a cluster server consisting of multiple servers, or a cloud computing server center. The terminal 11 and the server 12 establish a communication connection via a wired or wireless network.
[0037] Furthermore, all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals related to this application have been subject to user authentication or sufficient authentication in various aspects, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, all game operation data related to this application has been obtained under sufficient authentication.
[0038] Based on the implementation environment shown in Fig. 1 above, the screen display method provided in the embodiment of the present application is an example in which the interaction of the method is executed by a second client and a server 12. However, the second client is a client that is installed in the terminal 11 and controls a second virtual object. As shown in Fig. 2, the screen display method provided in the embodiment of the present application includes the following steps 201 to 206.
[0039] In step 201, in response to a first virtual object marking a target marker point in the virtual environment, the server obtains a location of the target marker point and a location of a second virtual object, the first virtual object and the second virtual object being different.
[0040] The first virtual object is any one of the virtual objects that can move in the virtual environment. The target marker point is a point marked in the virtual environment by the first virtual object, and the target marker point can be used to mark a certain virtual object, a certain virtual object, a certain position, etc. Although the form of the target marker point is not limited in the present embodiment, for example, the form of the target marker point may be a marker point having a certain target shape and a target color. The target shape and the target color may be set based on experience, for example, a circular target shape and a red target color, or may be flexibly adjusted according to the application scenario.
[0041] In an exemplary embodiment, the server determines that the first virtual object has marked the target marker point in the virtual environment in response to receiving marker information of the target marker point transmitted from the first client. The marker information of the target marker point is used to identify the target marker point. Illustratively, the marker information of the target marker point includes, but is not limited to, the location of the target marker point, the name of the target marker point, etc. The first client refers to the client that controls the first virtual object.
[0042] The process of the first client transmitting marker information of the target marker point to the server includes the first client receiving the marker point marking operation, marking the target marker point at a target position in the virtual environment via the first virtual object in response to the marker point marking operation, and transmitting the marker information of the target marker point to the server. Alternatively, in another selectable embodiment, the first client receives the marker point marking operation and sends a marking request to the server in response to the marker point marking operation, and the server performs ray casting collision detection in the virtual scene based on a direction in which the first virtual object is facing in the virtual scene to identify the target marker point.
[0043] The marker point marking operation refers to an operation triggered by the first client's interaction target to mark a target marker point. In an exemplary embodiment, the first client may acquire the marker point marking operation by displaying a marking widget and acquiring the marker point marking operation in response to a trigger operation of the marking widget. The marking widget may be a triggerable button or icon, etc., and the trigger operation of the marking operation may refer to clicking or double-clicking on the marking widget, etc. In an exemplary embodiment, the first client may acquire the marker point marking operation by displaying an option entrance, displaying multiple candidate options including a marker point marking option in response to a trigger operation on the option entrance, and acquiring the marker point marking operation in response to an operation to select the marker point option. The above is merely an exemplary description of a method for the first client to acquire the marker point marking operation, and embodiments of the present application are not limited thereto.
[0044] In this embodiment, the timing at which the first client interacts with the user triggers the marker point marking operation is not limited. For example, if the marking purpose of the target marker point is to mark a virtual object in the enemy camp, the first client interacts with the user when the first virtual object aims at the virtual object in the enemy camp using a virtual tool. In this case, the target marker point may indicate the presence of danger. For example, if the marking purpose of the target marker point is to mark a virtual building that can avoid attacks, the first client interacts with the user when the first virtual object aims at the virtual building using a virtual tool. For example, if the marking purpose of the target marker point is to mark a first virtual tool that can be picked up in the virtual environment, the first client interacts with the user when the first virtual object aims at the virtual building using a virtual tool. In this case, the target marker point may indicate the presence of scavengable supplies.
[0045] When the first client receives the marker point marking operation, the first client marks a target marker point at a target position in the virtual environment via the first virtual object in response to the marker point marking operation. Exemplarily, the target position refers to a position at which the first virtual object is aimed using a virtual tool when the marker point marking operation is received. Marking a target marker point at a target position in the virtual environment via the first virtual object refers to marking a target marker point at a position at which the first virtual object is aimed using a virtual tool. When determining that marking of the target marker point is complete, the first client transmits marker information of the target marker point to the server.
[0046] In an exemplary embodiment, after the first client determines that marking of the target marker point is complete, the first client may display hint information on the display interface of the first client. The hint information includes a direction in which the target marker point is located relative to the first virtual object. For example, if the target marker point indicates the presence of a danger, the hint information may be "nickname of first virtual object: danger ahead," where "ahead" refers to the direction in which the target marker point is located relative to the first virtual object. For example, the display interface of the first client may include a virtual environment screen obtained by capturing a screen shot of the virtual environment from the visual angle of the first virtual object. Since the target marker point is located ahead of the first virtual object, the target marker point can be seen from the visual angle of the first virtual object. Therefore, the display interface also displays the virtual environment screen including the target marker point.
[0047] When the server receives the marker information of the target marker point transmitted from the first client, it determines that the first virtual object has marked the target marker point in the virtual environment, and in response to the first virtual object marking the target marker point in the virtual environment, it obtains the location of the target marker point and the location of the second virtual object, and transmits direction hint information of the target marker point with high hint effectiveness to the client controlling the second virtual object (i.e., the second client) based on the location of the target marker point and the location of the second virtual object.
[0048] The location of the target marker point refers to the location of the target marker point in the virtual environment, and the location of the second virtual object refers to the location of the second virtual object in the virtual environment in the display process of the target marker point.
[0049] The second virtual object refers to a virtual object that has a specific association relationship with the first virtual object, but the specific association relationship is not limited in the present embodiment. For example, a virtual object that has a specific association relationship with the first virtual object refers to a virtual object that belongs to the same camp as the first virtual object. Alternatively, a virtual object that has a specific association relationship with the first virtual object refers to a virtual object that belongs to a different camp from the first virtual object. Note that the second virtual object and the first virtual object are virtual objects that operate in the same virtual environment.
[0050] In an exemplary embodiment, the embodiment of the server acquiring the location of the target marker point includes, but is not limited to, a method in which the server extracts the location of the target marker point from the marker information of the target marker point, and a method in which the server searches for a target marker point that matches the marker information of the target marker point in the virtual environment and sets the location of the found target marker point in the virtual environment as the location of the target marker point. In an exemplary embodiment, the embodiment of the server acquiring the location of the second virtual object includes, but is not limited to, a method in which the server directly reads the location of the second virtual object from a memory, and a method in which the server acquires the location of the second virtual object by communicating with the second client.
[0051] In step 202, the server determines a target direction in which the target marker point is located relative to the second virtual object based on the location of the target marker point and the location of the second virtual object.
[0052] The target direction in which the target marker point exists with respect to the second virtual object is the direction in which the position of the target marker point exists, specified using the position of the second virtual object as a reference.
[0053] In one possible embodiment, the implementation process of determining a target direction in which a target marker point exists relative to a second virtual object based on the location of the target marker point and the location of the second virtual object includes the following steps A and B.
[0054] Step A: Identify a target angle between a first connecting line and a first ray. The first connecting line is a connecting line between the location of the second virtual object and the location of the target marker point, and the first ray is a ray extending from the location of the second virtual object toward a reference direction.
[0055] After obtaining the location of the target marker point and the location of the second virtual object, the server can determine a first connecting line that connects the location of the second virtual object and the location of the target marker point, and then determine the included angle between the first connecting line and a first ray and determine the included angle as the target included angle. The first ray extends from the location of the second virtual object toward a reference direction. That is, the endpoint of the first ray is the location of the second virtual object, and the extension direction of the first ray is the direction from the location of the second virtual object toward the reference direction.
[0056] The reference direction may be set based on experience or may be flexibly adjusted depending on the application scenario. This embodiment is not limited to this. For example, the reference direction may be true north, true south, or the like in the virtual environment, or the direction in which the second virtual object is currently facing.
[0057] The target angle between the first connecting line and the first radial line may be an angle in the clockwise direction or an angle in the counterclockwise direction, but the embodiment of the present application is not limited thereto.
[0058] In an exemplary embodiment, the implementation process of determining the target included angle between the first connecting line and the first ray includes the following steps a and b.
[0059] Step a: Identify the coordinate values of the target marker point in a Cartesian coordinate system, where the Cartesian coordinate system has the position of the second virtual object as its origin and one of its coordinate axes coincident with the first radial line.
[0060] The axis coincident with the first radial line is an axis on which the first radial line is located, the positive direction of which points to a reference direction, and the axis coincident with the first radial line can be any one of the coordinate axes in a Cartesian coordinate system. For example, the axis coincident with the first radial line can be the X-axis or the Y-axis in the Cartesian coordinate system.
[0061] After constructing a Cartesian coordinate system with the location of the second virtual object as the origin and one of the axes corresponding to the first radial line as one of the coordinate axes, the location of the target marker point is mapped onto the Cartesian coordinate system, thereby obtaining the corresponding coordinate value of the location of the target marker point in the Cartesian coordinate system.
[0062] Step b: Identifying a target included angle between the first connecting line and the first ray based on the coordinate values.
[0063] In an exemplary embodiment, take the case where the axis corresponding to the first ray is the Y-axis in a Cartesian coordinate system as an example. In this case, the method for determining the target included angle between the first connecting line and the first ray based on the coordinate values includes: calculating the first included angle between the first connecting line and the Y-axis in the clockwise direction based on the coordinate values using an arctangent function; and determining the target included angle between the first connecting line and the first ray based on the first included angle.
[0064] In an exemplary embodiment, the first included angle is expressed as an angle between 0 degrees and 360 degrees. In an exemplary embodiment, if the target included angle between the first connecting line and the first ray is a clockwise included angle, the first included angle may be used as the target included angle between the first connecting line and the first ray, or the first included angle may be converted into an integer and the resulting angle may be used as the target included angle between the first connecting line and the first ray. For example, the principle of the integer conversion may be rounding up, rounding down, rounding to the nearest integer, etc. In an exemplary embodiment, if the target included angle between the first connecting line and the first radial line is an included angle in the counterclockwise direction, the target included angle between the first connecting line and the first radial line may be the difference between 360 degrees and the first included angle, or the target included angle between the first connecting line and the first radial line may be an integer obtained by converting the difference between 360 degrees and the first included angle. Note that although the above example describes an example in which the included angle is between 0 and 360 degrees, in some embodiments, the included angle can have a value between -180 degrees and 180 degrees.
[0065] For example, the process of determining the target angle between the first connecting line and the first ray is as shown in Fig. 3, where a map corresponding to the virtual scene is regarded as a grid chart with X and Y latitude and longitude lines. After determining the location of the target marker point and the location of the second virtual object, a connecting line between the location of the second virtual object and the location of the target marker point is defined as the first connecting line, a ray extending from the location of the second virtual object toward due north is defined as the first ray, the location of the second virtual object is defined as the origin, and the axis corresponding to the first ray is defined as the Y axis, to construct a Cartesian coordinate system as shown in Fig. 3. The location of the target marker point is determined as the corresponding coordinate value (x, y) in the Cartesian coordinate system. Based on the coordinate value, a first included angle between the first connecting line and the Y axis, for example, the first included angle between the first connecting line 300 and the Y axis in Fig. 3, is determined as 29° (degrees), and this first included angle is defined as the target included angle between the first connecting line 300 and the first ray. For example, x and y in the coordinate values (x, y) are the relative distance in the X direction and the relative distance in the Y direction, respectively, of the location of the target marker point 310 relative to the location of the second virtual object 320.
[0066] It should be noted that the method of determining the target included angle between the first connecting line and the first ray based on the above steps a and b is merely an example, and the present invention is not limited thereto. In an exemplary embodiment, the target included angle between the first connecting line and the first ray may be measured by an angle measuring device.
[0067] Step B: The direction shifted from the reference direction by the target included angle is set as the target direction.
[0068] In an exemplary embodiment, if the target included angle is the clockwise angle between the first connecting line and the first radial line, the target angle is obtained by shifting the reference angle by the target included angle in the clockwise direction. If the target included angle is the counterclockwise angle between the first connecting line and the first radial line, the target angle is obtained by shifting the reference angle by the target included angle in the counterclockwise direction.
[0069] In another possible embodiment, an implementation process of determining a target direction in which a target marker point exists relative to a second virtual object based on the location of the target marker point and the location of the second virtual object includes the following steps 1 and 2.
[0070] Step 1: Identify the degree of deviation between each candidate ray and the first connecting line. Each candidate ray corresponds to a candidate direction in which the second virtual object can face, and one candidate ray is a ray extending from the location of the second virtual object toward the candidate direction corresponding to the candidate ray, and the first connecting line is a connecting line between the location of the second virtual object and the location of the target marker point.
[0071] The possible directions toward which the second virtual object can face can be set based on experience or flexibly adjusted according to the application scenario. The present embodiment is not limited thereto. For example, the possible directions toward which the second virtual object can face can include 360 directions, such as true north, a direction shifted 1 degree east from north, a direction shifted 2 degrees east from north, ..., a direction shifted 89 degrees east from north, true east, a direction shifted 1 degree east from south, a direction shifted 2 degrees east from south, ..., a direction shifted 89 degrees east from south, true south, a direction shifted 1 degree south from west, a direction shifted 2 degrees south from west, ..., a direction shifted 89 degrees south from west, true west, a direction shifted 1 degree west from north, a direction shifted 2 degrees west from north, ..., a direction shifted 89 degrees west from west, true west, a direction shifted 1 degree west from north, a direction shifted 2 degrees west from north, ..., a direction shifted 89 degrees west from west. For example, the 360 directions can be expressed as 360 angles ranging from 0 degrees to 359 degrees, where 0 degrees represents due north, 90 degrees represents due east, 180 degrees represents due south, and 270 degrees represents due west.
[0072] The deviation between a candidate ray and the first connecting line is used to determine the reliability that the candidate direction corresponding to the candidate ray is the target direction. The greater the deviation between a candidate ray and the first connecting line, the lower the reliability that the candidate direction corresponding to the candidate ray is the target direction, and the smaller the deviation between a candidate ray and the first connecting line, the higher the reliability that the candidate direction corresponding to the candidate ray is the target direction.
[0073] The principle for determining the degree of deviation between each candidate ray and the first connecting line is the same, so in this embodiment, a method for determining the degree of deviation between one candidate ray and the first connecting line will be described as an example.
[0074] In an exemplary embodiment, the method for determining the deviation degree between a candidate ray and a first connecting line includes determining the minimum value of the included angle between the candidate ray and the first connecting line in the clockwise direction and the included angle between the candidate ray and the first connecting line in the counterclockwise direction as the deviation degree between the candidate ray and the first connecting line.
[0075] In an exemplary embodiment, a method for determining a deviation degree between a candidate ray and a first connecting line includes: determining a second included angle as an included angle between the candidate ray and the first ray in a clockwise (or counterclockwise) direction; determining a third included angle as an included angle between the first connecting line and the first ray in a clockwise (or counterclockwise) direction; and determining an absolute value of a difference between the second included angle and the third included angle as a deviation degree between the candidate ray and the first connecting line, where the first ray is a ray extending from a location of a second virtual object toward a reference direction, and the reference direction may be one of the candidate directions or a direction other than the candidate directions.
[0076] Step 2: The candidate direction corresponding to the candidate ray that has the smallest deviation from the first connecting line among the candidate ray is set as the target direction.
[0077] The greater the deviation between a candidate ray and the first connecting line, the lower the reliability that the candidate direction corresponding to the candidate ray is the target direction. Therefore, the candidate direction corresponding to the candidate ray with the smallest deviation from the first connecting line among the candidate ray is the most reliable as the target direction, and selecting the candidate direction corresponding to the candidate ray with the smallest deviation from the first connecting line among the candidate ray as the target direction helps ensure the reliability of the identified target direction.
[0078] In the present embodiment, the format for expressing the target direction is not limited. For example, the target direction may be expressed using an angular direction (e.g., a direction corresponding to 30°, a direction corresponding to 45°, etc.), or a geographical direction (e.g., northeast direction, southwest direction, etc.). It may also be expressed using a clock direction (e.g., 3 o'clock direction, 12 o'clock direction, etc.). Naturally, the target direction may be expressed in other formats, and these will not be described in detail in the present embodiment.
[0079] In step 203, the server generates direction hint information for the target marker point based on the target direction, and sends the direction hint information to the second client.
[0080] The direction hint information of the target marker point includes a target direction of the target marker point relative to the second virtual object. Although the present embodiment does not limit the manner of presenting the direction hint information, for example, the manner of presenting the direction hint information includes at least one of audio and text.
[0081] For example, in a case where the direction hint information includes a direction hint voice and a direction hint text, a method for generating direction hint information for a target marker point based on a target direction includes: inputting the nickname of the first virtual object, the target direction, and a meaning indicated by the target marker point into a direction hint text template to obtain the direction hint text for the target marker point; and vocalizing the direction hint text for the target marker point to obtain the direction hint voice for the target marker point. The meaning indicated by the target marker point refers to the meaning of the object marked by the target marker point. For example, if the object marked by the target marker point is a virtual object located in the enemy camp of the first virtual object, the meaning indicated by the target marker point may be that there is danger.
[0082] The template of the direction hint text may be set based on experience or flexibly adjusted according to the application scenario. This embodiment is not limited thereto. For example, the template of the direction hint text may be "nickname: direction meaning." For example, if the nickname of the first virtual object is "Player A," the target direction is "the direction corresponding to 275°," and the meaning indicated by the target direction is "danger exists," the direction hint text of the target marker point will be "Player A: danger exists in the direction corresponding to 275°."
[0083] Exemplarily, the process of the server sending direction hint information of the target marker point to the second client includes the following processes, as shown in FIG. 4 : In 401, the server determines that a first virtual object has marked a target marker point in the virtual environment. In 402, the server obtains the location of the target marker point and the location of the second virtual object. In 403, the server constructs a Cartesian coordinate system with the location of the second virtual object as its origin. In 404, the server substitutes the location of the target marker point into the Cartesian coordinate system to obtain the coordinate value of the target marker point in the direct coordinate system, and determines the target direction of the target marker point relative to the second virtual object based on the coordinate value. In 405, the server generates direction hint information of the target marker point. In 406, the server transmits the direction hint information of the target marker point to the second client.
[0084] In step 204, the second client displays the virtual environment.
[0085] The virtual environment is an environment in which virtual objects operate, and when the second client is executed on a terminal, the virtual environment can be displayed. During the process of the second virtual object operating in the virtual environment, the virtual environment screen displayed by the second client can be updated in real time.
[0086] In an exemplary embodiment, the second client may display a virtual environment screen obtained by performing a screen capture of the virtual environment from the viewing angle of the second virtual object in real time, and may also overlay an interaction widget on the virtual environment screen. The type of the interaction widget may be set based on experience or flexibly adjusted according to actual application scenarios. This embodiment is not limited thereto. For example, the interaction widget may include, but is not limited to, a virtual object control widget, a virtual tool selection widget, an information search widget, a marking widget, etc. For example, the virtual environment screen and the interaction widget overlaid on the virtual environment screen constitute a display interface of the terminal.
[0087] Note that the second client displays the virtual environment regardless of whether the first virtual object has marked the target marker point in the virtual environment, ie, the implementation of step 204 is not subject to the restrictions of steps 201 to 203 above.
[0088] In step 205, after the first virtual object marks the target marker point in the virtual environment, the second client displays direction hint information of the target marker point, where the direction hint information includes a target direction in which the target marker point is located, relative to the second virtual object.
[0089] After the server sends the direction hint information of the target marker point to the second client, the second client receives the direction hint information of the target marker point sent from the server and displays the direction hint information of the target marker point. When the direction hint information of the target marker point is received, the first virtual object has already marked the target marker point in the virtual environment, so the second client displays the direction hint information of the target marker point after the first virtual object has marked the target marker point in the virtual environment.
[0090] The direction hint information includes a target direction in which a target marker point is located for the second virtual object, and by displaying the direction hint information, the interaction target of the second client can be informed of the target direction in which a target marker point is located for the second virtual object.
[0091] In an exemplary embodiment, the manner of presenting the direction hint information includes at least one of a direction hint audio and a direction hint text. If the direction hint information includes a direction hint text, the process of the second client presenting the direction hint information of the target marker point includes the second client displaying the direction hint text of the target marker point in a display interface. In this embodiment, the display position of the direction hint text on the display interface of the second client is not limited. It may be set based on experience or flexibly adjusted according to actual application scenarios. In an exemplary embodiment, if the direction hint information includes a direction hint audio, the process of the second client presenting the direction hint information of the target marker point includes the second client playing the direction hint audio of the target marker point.
[0092] Optionally, in response to the first virtual object marking the target marker point in the virtual environment, the direction hint information is displayed in a first presentation area of the terminal interface, or in response to the first virtual object marking the target marker point in the virtual environment, the direction hint information is played by an audio playback module.
[0093] In some embodiments, screen identification is performed on the virtual environment screen displayed on the terminal interface to obtain a first presentation area that matches an information display request. The information display request is used to restrict the virtual environment content to be displayed in the first presentation area. Optionally, screen content identification is performed on the virtual environment screen displayed on the terminal interface to obtain an area in the virtual environment screen where a target display content is displayed, and the first presentation area is determined to be an area in the terminal interface other than the area in which the target display content is displayed. For example, screen content identification is performed on the virtual environment screen to obtain a display area in the virtual environment screen of a virtual object, and the first presentation area is determined according to a restriction condition that avoids the display area.
[0094] In some embodiments, the terminal interface further includes a direction coordinate axis, which is used to display a plurality of direction distribution intervals centered on the direction in which the second virtual object is facing. When displaying the direction hint information, a hint marker may be displayed at a position of a value corresponding to the target direction on the direction coordinate axis. The hint marker is used to indicate that a target marker point exists in a direction corresponding to the target direction on the direction coordinate axis.
[0095] The number of second virtual objects may be one or more, and the same target marker point may have different target directions for different second virtual objects. Different second clients controlling different second virtual objects may also receive different direction hint information for the same target marker point. That is, even if the direction hint information received by multiple second clients is related to the same target marker point, the target directions indicated in the direction hint information received by the multiple second clients will not be the same because the locations of the second virtual objects controlled by the different second clients are different, thereby allowing the interaction target of each second client to quickly find the target marker point.
[0096] As an example, let us take the case where the second virtual object is a virtual object belonging to the same camp as the first virtual object (i.e., the second virtual object is a teammate of the first virtual object), and assume that there are two second virtual objects, Teammate 1 and Teammate 2, respectively, and the relationship between the locations of Teammate 1, Teammate 2, the target marker point, and the first virtual object is as shown in Figure 5.
[0097] In the relationship shown in FIG. 5 , the target direction where the target marker point 500 exists for teammate 1 is "a direction corresponding to 29°," and the target direction where the target marker point 500 exists for teammate 2 is "a direction corresponding to 234°." The meaning indicated by the target marker point 500 is "there is an enemy." For example, if the nickname of the first virtual object is "Player A," the direction hint information received by the second client controlling teammate 1 is "Player A: There is an enemy in a direction corresponding to 29°," and the direction hint information received by the second client controlling teammate 2 is "Player A: There is an enemy in a direction corresponding to 234°." Note that the direction hint information "I: There is an enemy ahead" may be displayed locally on the first client controlling the first virtual object.
[0098] In the related art, the direction hint information received by the second client includes information about the direction of the target marker point for the first virtual object. As shown in FIG. 6 , when the second virtual object and the first virtual object are relatively close to each other, the directions of the target marker point 610 for them are generally the same. However, when the second virtual object and the first virtual object are relatively far from each other, the directions of the target marker point 620 for them are completely different. In this case, the second client cannot quickly identify the location of the target marker point 620 based on the received direction hint information, which reduces the effectiveness of the direction hint information and ultimately reduces the display efficiency of the virtual environment screen including the target marker point. In contrast, in this embodiment, the direction hint information received by the second client includes the target direction of the target marker point for the second virtual object, which increases the effectiveness of the direction hint information and ultimately contributes to improving the display efficiency of the virtual environment screen including the target marker point.
[0099] In step 206, the second client displays a target marker point in the virtual environment in response to receiving an operation to turn the orientation of the second virtual object toward the target direction.
[0100] The direction hint information of the target marker point includes a target direction in which the target marker point is located relative to the second virtual object. Therefore, when the second client displays the direction hint information of the target marker point, the interaction target of the second client can perform an operation to display a virtual environment screen including the target marker point based on the hint of the direction hint information of the target marker point, thereby causing the second client to display the virtual environment screen including the target marker point based on the operation performed by the interaction target.
[0101] In this embodiment, the operation performed by the interaction target to display the virtual environment screen including the target marker point includes an operation to change the orientation of the second virtual object to the target direction. Before performing step 206, the second client must first acquire the operation to change the orientation of the second virtual object to the target direction. In one possible embodiment, methods for acquiring the operation to change the orientation of the second virtual object to the target direction include, but are not limited to, the following methods 1 to 3.
[0102] Method 1: Each candidate direction is displayed, and a trigger operation of the target direction in each candidate direction is an operation of changing the orientation of the second virtual object to the target direction.
[0103] Method 1 is performed when the target direction is one of the candidate directions to which the second virtual object can turn. For a description of the candidate directions to which the second virtual object can turn, see step 202. This description will not be repeated here.
[0104] In an exemplary embodiment, the process of displaying each candidate direction includes displaying each candidate direction using a list in a display interface. Illustratively, the list can be displayed at any position on the display interface. Although the present embodiment is not limited thereto, for example, the list can be displayed at the bottom of the display interface.
[0105] In an exemplary embodiment, the process of displaying each candidate direction further includes displaying each candidate direction using a compass on the display interface. The compass has multiple scales, each corresponding to a candidate direction. A candidate direction may be represented by an angle or by an identifying character. Illustratively, the compass can be displayed at any position on the display interface. Although the present embodiment is not limited thereto, for example, the compass can be displayed at the top of the display interface.
[0106] For example, displaying each candidate direction may be displaying all candidate directions at the same time, or may be displaying some candidate directions first and then displaying the remaining candidate directions by a slide operation, an unfolding operation, etc. The embodiment of the present application is not limited thereto.
[0107] In some embodiments, the compass wheel is further represented as a direction coordinate axis, which displays a distribution of directions centered on the direction in which the second virtual object is facing, and which is used to display a target marker point in the virtual environment in response to receiving a trigger operation for a target direction on the direction coordinate axis.
[0108] For example, in the case where each candidate direction is displayed using a compass in the display interface, the compass for displaying each candidate direction is as shown in 701 in Figure 7. In 701, partial candidate directions from the direction corresponding to 60 degrees to the direction corresponding to 150 degrees on the compass are displayed. E is the identification character for the direction corresponding to 90 degrees, representing due east. SE is the identification character for the direction corresponding to 145 degrees, representing southeast. The compass supports a slide operation, which can be used to display the remaining candidate directions.
[0109] Each of the displayed candidate directions can be triggered, and the interaction target can trigger a target direction in each of the displayed candidate directions to cause the second client to acquire a trigger operation for the target direction among the candidate directions. When the second client acquires a trigger operation for the target direction among the candidate directions, the trigger operation for the target direction among the candidate directions is an operation for changing the orientation of the second virtual object to the target direction.
[0110] Method 2: A direction entry field is displayed, and the operation of confirming the target direction entered in the direction entry field is an operation of changing the orientation of the second virtual object to the target direction.
[0111] For example, the direction field may be displayed on the display interface by default, or may be displayed on the display interface based on a shortcut operation corresponding to the direction field. This embodiment is not limited to this. The shortcut operation corresponding to the direction field may be set based on experience or flexibly adjusted according to application scenarios. For example, the shortcut operation corresponding to the direction field may be a trigger operation of a target button.
[0112] For example, the target direction entered in the direction entry field may refer to a target direction entered by the interaction target user, or may be a target direction automatically entered by the second client based on the direction hint information of the target marker point. The present embodiment is not limited thereto. Optionally, in response to receiving a confirmation operation for entering the target direction in the direction entry field, the target marker point is displayed in the virtual environment.
[0113] For example, a direction entry field in which the target direction is entered is provided with a confirmation widget and a cancel widget, and in response to a trigger operation of the confirmation widget in the direction entry field, a confirmation operation of the target direction entered in the direction entry field is acquired. Upon acquiring the confirmation operation of the target direction entered in the direction entry field, the second client treats the confirmation operation of the target direction entered in the direction entry field as an operation to change the orientation of the second virtual object to the target direction.
[0114] Method 3: The direction in which the second virtual object is currently facing is displayed in real time, and the direction change operation is stopped when the direction displayed in real time is the target direction, and the direction change operation is considered to be an operation for changing the direction of the second virtual object to the target direction.
[0115] By displaying the direction in which the second virtual object is currently facing in real time, the interaction target can intuitively indicate to the interaction target which direction the second virtual object has changed. Although the present embodiment is not limited to a method for displaying the direction in which the second virtual object is currently facing in real time, for example, when each candidate direction is displayed using a compass, the compass is slid in real time based on the direction in which the second virtual object is currently facing, so that the direction displayed in the center of the compass remains the direction in which the second virtual object is currently facing. In other words, the direction in which the second virtual object is currently facing is displayed in the center of the compass in real time. For example, a single direction mark may be displayed in the center of the compass, and the direction in which the second virtual object is currently facing may be prominently displayed using the direction mark. For example, as shown in FIG. 7, the direction mark 702 may be an inverted triangle mark.
[0116] For example, the direction in which the second virtual object is currently facing may be displayed in real time within a target area on the display interface. The target area may be set based on experience or flexibly adjusted according to the application scenario. For example, the target area may be the upper left corner or the lower right corner.
[0117] The interaction target can perform a turning operation, for example, by rotating a finger on the display screen of the second client, or by performing a turning operation with a joystick. The turning operation is a continuous operation, and the interaction target can stop the turning operation when they realize that the direction displayed in real time is the target direction. The second client then acquires the turning operation that stopped when the direction displayed in real time is the target direction. When the second client acquires the turning operation that stopped when the direction displayed in real time is the target direction, the second client regards the turning operation that stopped when the direction displayed in real time is the target direction as an operation to turn the orientation of the second virtual object to the target direction.
[0118] When the operation to change the orientation of the second virtual object to the target direction is acquired by the above method 1 or 2, the second client can change the orientation of the second virtual object to the target direction after acquiring the operation to change the orientation of the second virtual object to the target direction. When the operation to change the orientation of the second virtual object to the target direction is acquired by the above method 3, the orientation of the second virtual object has already been changed to the target direction when the second client receives the operation to change the orientation of the second virtual object to the target direction.
[0119] After receiving the operation to turn the orientation of the second virtual object toward the target direction, the second client displays a target virtual environment screen including a target marker point in response to the operation to turn the orientation of the second virtual object toward the target direction, where the target virtual environment screen allows the interaction target to check the surrounding situation of the target marker point.
[0120] In the method provided in this embodiment, the direction hint information acquired by the client controlling the second virtual object includes a target direction of the target marker point relative to the second virtual object. This direction hint information provides a clear hint about the directional relationship between the target marker point and the second virtual object, making the direction hint information highly effective. Based on this hint, the interaction target can display a virtual environment screen including the target marker point on the client by turning the orientation of the second virtual object toward the target direction. This highly convenient operation for displaying a virtual environment screen including the target marker point contributes to improving the display efficiency of the virtual environment screen including the target marker point, thereby improving the efficiency of man-machine interaction and the interaction experience of the interaction target.
[0121] The method provided in this embodiment provides directional hints in a multifaceted manner by displaying directional hint information or playing directional hint information, and on the premise that it does not affect the interaction of the interactee in the game, provides audio hint information to inform the interactee of the location of the target marker point, thereby improving the efficiency of man-machine interaction, preventing the interactee from blindly searching for the target marker point, and preventing the waste of computer resources.
[0122] In the method provided in this embodiment, by identifying the target display content on the virtual environment screen, a restriction is imposed on the position of the first presentation area in the display area of the target display content, so as to prevent the display of the direction hint information from obscuring the target display content on the virtual environment screen and reducing the efficiency of the hint.
[0123] In the method provided in this embodiment, a hint marker is displayed for the target direction where the target marker point is located on the direction coordinate axis, thereby improving the effectiveness of the hint in the direction hint information and allowing the interaction target to directly adjust the direction using the direction coordinate axis, thereby further improving the purposefulness and efficiency of the direction adjustment.
[0124] In one possible embodiment, the implementation process of displaying a target virtual environment screen including a target marker point in response to an operation by the second client to change the orientation of the second virtual object to a target direction includes the following steps 2061 to 2064.
[0125] Step 2061: The second client performs screen capture on the virtual environment at the viewing angle of the second virtual object facing the target direction.
[0126] In an exemplary embodiment, the viewing angle of the second virtual object facing the target direction may be a first-person viewing angle, a third-person viewing angle, etc. The embodiment of the present application is not limited thereto.
[0127] In an exemplary embodiment, a second virtual object may be displayed on the collected virtual environment screen. When the viewing angle of the second virtual object facing the target direction is different, the appearance of the second virtual object displayed on the collected virtual environment screen will also be slightly different. Illustratively, when viewed from a third-person viewing angle of the second virtual object facing the target direction, the entire body or half of the second virtual object is displayed on the collected virtual environment screen. When viewed from a first-person viewing angle of the second virtual object facing the target direction, a part of the second virtual object, such as the hand of the second virtual object, is displayed on the collected virtual environment screen.
[0128] In an exemplary embodiment, the collected virtual environment screen may display, in addition to the second virtual object, other virtual objects, environmental elements, etc. Exemplarily, the other virtual objects may be virtual objects controlled by other clients, such as the first virtual object controlled by the first client, or may be non-player-controlled virtual objects not controlled by any client, etc.
[0129] For example, taking the case where the viewing angle of the second virtual object is a third-person viewing angle as an example, virtual environment screens collected before and after the orientation of the second virtual object is turned to the target direction are as shown in Figure 8. The virtual environment screen shown in Figure 8 (1) is the virtual environment screen collected before the orientation of the second virtual object 810 is turned to the target direction, and the virtual environment screen shown in Figure 8 (2) is the virtual environment screen collected after the orientation of the second virtual object 810 is turned to the target direction.
[0130] In an exemplary embodiment, when the location of the second virtual object is referred to as a first position, the collected virtual environment screen is a screen obtained by collecting screen images of the virtual environment at a viewing angle of the second virtual object facing the target direction and located at the first position in a first screen collection range. The first screen collection range is a screen collection range set in the second client when the orientation of the second virtual object is turned to the target direction.
[0131] Step 2062: Determine whether the collected virtual environment screen includes a target marker point, and if the collected virtual environment screen includes a target marker point, execute step 2063 in response, and if the collected virtual environment screen does not include a target marker point, execute step 2064 in response.
[0132] Step 2063: In response to the collected virtual environment view including the target marker point, the collected virtual environment view is set as a target virtual environment view and the target virtual environment view is displayed.
[0133] In other words, when the collected virtual environment screen contains the target marker point, the interaction target of the second client can cause the second client to display the target virtual environment screen containing the target marker point without performing any other operation.
[0134] Step 2064: In response to the collected virtual environment screen not including the target marker point, obtain a marker point location identification operation, and display the target virtual environment screen by using the virtual environment screen that matches the marker point location identification operation as the target virtual environment screen. The marker point location identification operation is an operation for including the target marker point in the displayed virtual environment screen, on the premise that the second virtual object is facing the target direction.
[0135] If the target marker point is not included in the collected virtual environment screen, it means that the distance between the location of the target marker point and the location of the second virtual object is far. In this case, if the target marker point is to be included in the displayed virtual environment screen, the second client interaction target can perform a marker point location identification operation. The marker point location identification operation is an operation for including the target marker point in the displayed virtual environment screen, assuming that the second virtual object is facing the target direction.
[0136] When the second client receives the marker point location specifying operation, it sets the virtual environment screen that matches the marker point location specifying operation as the target virtual environment screen and displays the target virtual environment screen. The marker point location specifying operation is an operation for including the target marker point in the displayed virtual environment screen, assuming that the second virtual object is facing the target direction. Therefore, the virtual environment screen that matches the marker point location specifying operation includes the target marker point, and by setting the virtual environment screen that matches the marker point location specifying operation as the target virtual environment screen, it is possible to ensure that the target marker point is included in the target virtual environment screen.
[0137] In the present embodiment, the type of the marker point location specifying operation is not limited, and different types of the marker point location specifying operation result in slightly different methods for determining the virtual environment screen that matches the marker point location specifying operation.
[0138] In an exemplary embodiment, the marker point location operation includes at least one of an operation of expanding a screen collection range, an operation of controlling a second virtual object to move it toward a target direction, and an operation of controlling the second virtual object to observe using a zoom lens. The operation of expanding a screen collection range is used to expand a screen collection range that is a reference for collecting a virtual environment screen so that the target marker point is included in the displayed virtual environment screen. The operation of controlling the second virtual object to move it toward the target direction is used to reduce the distance between the location of the second virtual object and the location of the target marker point so that the target marker point is included in the displayed virtual environment screen. The operation of controlling the second virtual object to observe using a zoom lens is used to control the second virtual object to observe the virtual environment using a zoom lens (e.g., a telescope tool or a zoom lens attached to a virtual firearm tool), thereby expanding the line of sight range for observing the long-distance virtual environment so that the target marker point is included in the displayed virtual environment screen.
[0139] For example, when the marker point location identification operation includes a screen collection range enlargement operation, a method for determining a virtual environment screen that matches the marker point location identification operation includes: enlarging a first screen collection range based on the screen collection range enlargement operation to obtain a second screen collection range; and performing screen collection on the virtual environment in the second screen collection range at a viewing angle of a second virtual object facing the target direction and located at a first position, to obtain a virtual environment screen that matches the marker point location identification operation.
[0140] For example, when the marker point location identification operation includes an operation of controlling a second virtual object to move it toward a target direction, a method for determining a virtual environment screen that matches the marker point location identification operation includes: moving the second virtual object from a first position based on the operation of controlling the second virtual object to move it toward the target direction, and setting the location of the second virtual object after the movement as a second position; and performing screen collection on the virtual environment in a first screen collection range at a viewing angle of the second virtual object facing the target direction and located at the second position, to obtain a virtual environment screen that matches the marker point location identification operation.
[0141] For example, if the marker point location operation includes an operation of controlling a second virtual object to observe using a zoom lens, when a zoom lens use operation is received, a zoom lens observation screen is displayed, which includes an outline of the zoom lens and an enlarged virtual environment displayed within the outline, thereby obtaining a virtual environment screen that matches the marker point location operation.
[0142] In an exemplary embodiment, the real-time distance between the second virtual object and the target marker point can be displayed in a reference area corresponding to the target marker point on the target virtual environment screen, thereby enhancing the effect of providing hints to the second client interaction target. The reference area corresponding to the target marker point can be set based on experience or flexibly adjusted according to the application scenario. This embodiment does not limit this. For example, the reference area corresponding to the target marker point may refer to an area above the target marker point, an area below the target marker point, or an area of the target marker point itself. This embodiment does not limit the shape of the reference area, and may be, for example, a rectangular area or a triangular area.
[0143] 9 shows an exemplary implementation flow of the screen display method. The first client 910 marks a target marker point, and the first client 910 plays a voice message saying, "There is danger ahead." The server 920 acquires the location of the target marker point and the location of the second virtual object, calculates a target direction of the target marker point relative to the second virtual object based on the location of the target marker point and the location of the second virtual object, generates direction hint information for the target marker point based on the target direction, and transmits the direction hint information for the target marker point to the second client 930. The second client 930 receives the direction hint information for the target marker point, for example, "There is danger in the target direction." The second client 930 acquires an operation performed by the interaction target user on the compass to change the orientation of the second virtual object toward the target direction. The second client 930 displays a target virtual environment screen for the target marker point based on the operation to change the orientation of the second virtual object toward the target direction.
[0144] As an example, take a case where the nickname of the first virtual object is "Player A" and the number of second virtual objects is two, namely, Teammate 1 and Teammate 2, respectively. The second client controlling Teammate 1 is referred to as Client 1, and the second client controlling Teammate 2 is referred to as Client 2. The display interface of the first client is as shown in FIG. 10. When the interaction target of the first client double-clicks the marking widget 1001 while the first virtual object is facing due south, the first client marks one target marker point 1002 in the due south direction. The target marker point 1002 appears on the display interface of the first client, and a message saying "There is an enemy ahead" appears on the right side.
[0145] When the server determines that the first virtual object has marked the target marker point 1002 in the virtual environment, it calculates, based on the location of the target marker point 1002 and the location of teammate 1, that the target direction in which the target marker point 1002 exists for teammate 1 is a direction corresponding to 320°. Then, it transmits direction hint information to client 1, stating, "Player A: There is an enemy in a direction corresponding to 320°." When client 1 receives the direction hint information, teammate 1 is facing a direction corresponding to 105°. The display interface of client 1 is as shown in (1) of FIG. 11, and a message stating, "Player A: There is an enemy in a direction corresponding to 320°" is displayed on the right side of the display interface shown in (1) of FIG. 11. The target marker point 1002 is not yet included in the virtual environment screen in the display interface shown in (1) of FIG. 11.
[0146] When the interaction target of client 1 sees the direction hint information, the interaction target performs an operation on the compass to change the orientation of teammate 1 to a direction corresponding to 320°. Based on this operation, client 1 can change the orientation of teammate 1 to a direction corresponding to 320° and display a display interface such as that shown in (2) of Figure 11. On the right side of the display interface shown in (2) of Figure 11, a message is displayed saying "Player A: There is an enemy in the direction corresponding to 320°," and the virtual environment screen in the display interface shown in (2) of Figure 11 includes a target marker point 1002.
[0147] When the server determines that the second virtual object has marked the target marker point 1002 in the virtual environment, it calculates, based on the location of the target marker point 1002 and the location of teammate 2, that the target direction in which the target marker point 1002 exists for teammate 2 is a direction corresponding to 70°. Then, it transmits direction hint information to client 1, stating, "Player A: There is an enemy in the direction corresponding to 70°." When client 2 receives the direction hint information, teammate 2 is facing the direction of the EN mark (i.e., a direction corresponding to 45°, northeast). The display interface for client 2 is as shown in (1) of FIG. 12, and a message stating, "Player A: There is an enemy in the direction corresponding to 70°" is displayed on the right side of the display interface shown in (1) of FIG. 12. The target marker point 1002 is not yet included in the virtual environment screen in the display interface shown in (1) of FIG. 12.
[0148] When the interaction target of client 2 sees the direction hint information, the interaction target performs an operation on the compass to change the orientation of teammate 2 to a direction corresponding to 70 degrees. Based on this operation, client 2 can change the orientation of teammate 2 to a direction corresponding to 70 degrees and display a display interface such as that shown in FIG. 12(2). On the right side of the display interface shown in FIG. 12(2), a message is displayed saying "Player A: There is an enemy in the direction corresponding to 70 degrees," and the virtual environment screen in the display interface shown in FIG. 12(2) includes a target marker point 1002.
[0149] In some embodiments, the display interface on the first client may be as shown in Fig. 13(1). The display interface shown in Fig. 13(1) is an interface displayed after a first virtual object facing due south (the direction of the identification character S mark) marks a target marker point 1301 ahead. On the right side of the display interface shown in Fig. 13(1), a message is displayed saying "Me: Danger ahead (23 meters)." "23 meters" is the current distance between the first virtual object and the target marker point 1301.
[0150] Assuming that the target direction of the target marker point 1301 for teammate 1 is a direction corresponding to 320°, the display interface of client 1 after teammate 1's orientation is changed to a direction corresponding to 320° is as shown in Figure 13 (2). The display interface shown in Figure 13 (2) displays a message saying "Player A: Danger in the direction corresponding to 320° (66 meters)." "66 meters" is the current distance between teammate 1 and the target marker point 1301.
[0151] Assuming that the target direction of the target marker point 1301 for teammate 2 is a direction corresponding to 70°, the display interface of client 2 after teammate 2's orientation is changed to a direction corresponding to 70° is as shown in Figure 13 (3). The display interface shown in Figure 13 (3) displays a message saying "Player A: Danger in the direction corresponding to 70° (70 meters)." "70 meters" is the current distance between teammate 2 and the target marker point 1301.
[0152] The screen display method provided in this embodiment is applied to a scene in which a first virtual object synchronizes direction hint information of a target marker point (e.g., a marker point obtained by marking a virtual object in the enemy camp) with a second virtual object (e.g., a teammate of the first virtual object) by voice or text. Based on the positional relationship between the target marker point and the second virtual object, a target direction in which the target marker point exists for the second virtual object (one of 360 possible directions in which the second virtual object can face) is identified, and direction hint information including the target direction is then sent to a second client controlling the second virtual object. This makes the target direction indicated by the direction hint information more directional for the second virtual object, helping the second client interact with the second virtual object quickly understand the direction in which the target marker point exists for the second virtual object, and preventing the second client from making unnecessary changes of thought or judgment based on the direction hint information. Since the interaction target of the second client can quickly identify the location of the target marker point via the compass, the interaction target of the second client can search for the target marker point more efficiently, and the second client can also display the virtual environment screen of the target marker point more efficiently.
[0153] For example, the 360 candidate directions toward which the second virtual object can face are fixed 360 candidate directions determined based on the orientation of the map of the virtual scene (also referred to as a unified coordinate system in the virtual environment). For example, the direction corresponding to 0° among the 360 candidate directions is due north on the map of the virtual scene, and the direction corresponding to 180° is due south on the map of the virtual scene.
[0154] In other words, the method provided in this embodiment utilizes the orientation of the virtual environment fixed at the client and the compass of the virtual object itself to enhance the high directionality of different virtual objects after the direction hint information of the target marker point is issued, improve the effectiveness of the transmission of the direction hint information, reduce the time interval between the interaction target receiving the direction hint information and finding the target marker point, and improve the efficiency of information communication.
[0155] In the method provided in this embodiment, the direction hint information acquired by the client controlling the second virtual object includes a target direction of the target marker point relative to the second virtual object. This direction hint information provides a clear hint about the directional relationship between the target marker point and the second virtual object, making the direction hint information highly effective. Based on this hint, the interaction target can display a virtual environment screen including the target marker point on the client by turning the orientation of the second virtual object toward the target direction. This highly convenient operation for displaying a virtual environment screen including the target marker point contributes to improving the display efficiency of the virtual environment screen including the target marker point, thereby improving the efficiency of man-machine interaction and the interaction experience of the interaction target.
[0156] According to the method provided in this embodiment, when the target marker point is not displayed when facing the target direction, the field of view of the second virtual object is enlarged by performing a marker point position identification operation, or the distance between the second virtual object and the target marker point is shortened so that the target marker point can be seen from the second virtual object, thereby improving the efficiency of observing the target marker point.
[0157] According to the method provided in this embodiment, by selecting a direction on the direction coordinate axis, the second virtual object is controlled to rotate to the viewing angle facing the selected target direction, and the target marker point is displayed within the line of sight of the second virtual object, thereby improving the efficiency of viewing angle direction control for the second virtual object and preventing the problem of wasting computer resources caused by repeatedly controlling the viewing angle.
[0158] According to the method provided in this embodiment, by entering the direction numerical value of the target direction in the entry field, the second virtual object is rotated to a viewing angle facing the target direction, thereby improving the accuracy of viewing angle control.
[0159] The screen display method provided in this embodiment will be described by taking as an example a case where it is executed by a second client. The second client is a client that controls a second virtual object. As shown in FIG. 14, the screen display method provided in this embodiment includes the following steps 1401 to 1403.
[0160] In step 1401, the virtual environment is displayed.
[0161] In step 1402, after the first virtual object marks the target marker point in the virtual environment, direction hint information of the target marker point is displayed, the direction hint information including a target direction in which the target marker point is located relative to a second virtual object, the first virtual object and the second virtual object being different.
[0162] In step 1403, in response to an operation to change the orientation of the second virtual object to the target direction, a target virtual environment screen including the target marker point is displayed.
[0163] The embodiment of steps 1401 to 1403 above can be implemented by referring to steps 204 to 206 in the embodiment shown in FIG. 2, and therefore will not be described again here.
[0164] The screen display method provided in the embodiment of the present invention will be described by taking as an example a case where it is executed by a server. As shown in Fig. 15, the screen display method provided in the embodiment of the present invention includes the following steps 1501 to 1503.
[0165] In step 1501, in response to a first virtual object marking a target marker point in the virtual environment, a location of the target marker point and a location of a second virtual object are obtained, the first virtual object and the second virtual object being different.
[0166] In step 1502, a target direction in which the target marker point is located relative to the second virtual object is identified based on the location of the target marker point and the location of the second virtual object.
[0167] In step 1503, direction hint information of the target marker point is generated based on the target direction, and the direction hint information is sent to the client controlling the second virtual object, which is used by the client controlling the second virtual object to display a target virtual environment screen including the target marker point based on the direction hint information.
[0168] The embodiment of steps 1501 to 1503 above can be implemented by referring to steps 201 to 203 in the embodiment shown in FIG. 2, and therefore will not be described again here.
[0169] An embodiment of the present application provides a screen display system, which includes a client that controls a second virtual object and a server, wherein the client that controls the second virtual object is used to display a virtual environment.
[0170] The server is used to, in response to the first virtual object marking the target marker point in the virtual environment, acquire the location of the target marker point and the location of the second virtual object, identify a target direction in which the target marker point is located relative to the second virtual object based on the location of the target marker point and the location of the second virtual object, generate direction hint information for the target marker point based on the target direction, and transmit the direction hint information to the client controlling the second virtual object. The first virtual object and the second virtual object are different.
[0171] The client controlling the second virtual object is further used to display direction hint information of the target marker point, the direction hint information including the target direction, after the first virtual object marks the target marker point in the virtual environment, and to display a target virtual environment screen including the target marker point in response to an operation of turning the orientation of the second virtual object to the target direction.
[0172] As shown in Fig. 16, an embodiment of the present application provides a screen display device, which includes: a first display means 1601 for displaying a virtual environment; a second display means 1602 for displaying direction hint information for a target marker point after a first virtual object marks the target marker point in the virtual environment, the direction hint information including a target direction in which the target marker point is located for a second virtual object different from the first virtual object; and a third display means 1603 for displaying a target virtual environment screen including the target marker point in response to an operation of turning the orientation of the second virtual object toward the target direction.
[0173] In one possible embodiment, the third display means 1603 is used for displaying the direction hint information in a first presentation area of a terminal interface in response to the first virtual object marking the target marker point in the virtual environment, or for playing the direction hint information by an audio playback module in response to the first virtual object marking the target marker point in the virtual environment.
[0174] In one possible embodiment, the third display means 1603 is used to perform screen identification on the virtual environment screen displayed on the terminal interface to obtain the first presentation area that meets an information display requirement for restricting the virtual environment content to be displayed in the first presentation area.
[0175] In one possible embodiment, the third display means 1603 is used to perform screen content identification on the virtual environment screen displayed on the terminal interface, obtain an area in the virtual environment screen where the target display content is displayed, and determine the first presentation area in an area other than the area in the terminal interface where the target display content is displayed.
[0176] In one possible embodiment, the terminal interface further includes a direction coordinate axis, which is used to display a plurality of direction distribution sections centered on the direction in which the second virtual object is facing.
[0177] The third display means 1603 is used to display a hint marker at the position of the value corresponding to the target direction on the direction coordinate axis, and the hint marker is used to indicate that the target marker point is located in the direction corresponding to the target direction on the direction coordinate axis.
[0178] In one possible embodiment, the third display means 1603 is used to perform screen collection for the virtual environment at the viewing angle of the second virtual object facing the target direction, and in response to the target marker point not being included in the collected virtual environment screen, receive a marker point location identification operation for displaying the target marker point on the assumption that the second virtual object is facing the target direction, and display the target marker point in the virtual environment based on the marker point location identification operation.
[0179] In one possible embodiment, the terminal interface further includes a direction coordinate axis, which displays a plurality of direction distribution sections centered on the direction in which the second virtual object is facing, and the third display means 1603 is used to display the target marker point in the virtual environment in response to receiving a trigger operation for the target direction on the direction coordinate axis.
[0180] In one possible embodiment, the device further includes an acquisition means for displaying a direction entry field and, in response to receiving a confirmation entry operation for the target direction in the direction entry field, displaying the target marker point in the virtual environment.
[0181] In one possible embodiment, the marker point position specifying operation includes at least one of a screen collection range enlarging operation and an operation of controlling the second virtual object to move it toward the target direction.
[0182] In the screen display device provided in this embodiment, the direction hint information acquired by the client controlling the second virtual object includes the target direction of the target marker point relative to the second virtual object. This direction hint information provides a clear hint about the directional relationship between the target marker point and the second virtual object, making the direction hint information highly effective. Based on this hint, the interaction target can display a virtual environment screen including the target marker point on the client by operating to change the orientation of the second virtual object toward the target direction. This highly convenient operation for displaying a virtual environment screen including the target marker point contributes to improving the display efficiency of the virtual environment screen including the target marker point, thereby improving the efficiency of man-machine interaction and the interaction experience of the interaction target.
[0183] As shown in Fig. 17, an embodiment of the present application further provides a screen display device, including: an acquiring means 1701 for acquiring a location of the target marker point and a location of a second virtual object in response to a first virtual object marking a target marker point in a virtual environment; an identifying means 1702 for identifying a target direction in which the target marker point is located relative to the second virtual object based on the location of the target marker point and the location of the second virtual object; and a sending means 1703 for generating direction hint information for the target marker point based on the target direction and sending the direction hint information to a client controlling the second virtual object, wherein the first virtual object and the second virtual object are different, and the client is used to display the direction hint information.
[0184] In one possible embodiment, the determination means 1702 is used to determine a target included angle between a first connecting line, which is a connecting line between the location of the second virtual object and the location of the target marker point, and a first ray, which is a ray extending from the location of the second virtual object toward a reference direction, and to set the direction shifted from the reference direction by the target included angle as the target direction.
[0185] In one possible embodiment, the identification means 1702 is used to identify the corresponding coordinate value of the location of the target marker point in a Cartesian coordinate system, and to identify the target included angle between the first connecting line and the first ray based on the coordinate value, wherein the Cartesian coordinate system has the location of the second virtual object as its origin and an axis corresponding to the first ray as one of its coordinate axes.
[0186] In one possible embodiment, the identification means 1702 is used to identify a plurality of candidate rays and their degrees of deviation from the first connecting line, and to set the candidate direction corresponding to the candidate ray among the plurality of candidate rays that has the smallest degree of deviation from the first connecting line as the target direction, wherein the plurality of candidate rays correspond to a plurality of candidate directions toward which the second virtual object can face, and one candidate ray is a ray extending from the location of the second virtual object toward the candidate direction corresponding to the one candidate ray, and the first connecting line is a connecting line between the location of the second virtual object and the location of the target marker point.
[0187] In the screen display device provided in the present embodiment, direction hint information is generated based on the target direction of the target marker point for the second virtual object and is sent to the client controlling the second virtual object. This direction hint information provides a clear hint about the directional relationship between the target marker point and the second virtual object, making the direction hint information highly effective. This direction hint information makes it easier to display a virtual environment screen including the target marker point, contributing to improving the display efficiency of the virtual environment screen including the target marker point, and improving the efficiency of man-machine interaction and the interaction experience of the interaction target.
[0188] Fig. 18 is a structural diagram of a server provided in an embodiment of the present application. The server may differ greatly depending on the settings and performance, but includes one or more processors (Central Processing Units, CPUs) 1801 and one or more memories 1802. At least one computer program is stored in the one or more memories 1802, and the at least one computer program is loaded and executed by the one or more processors 1801, causing the server to perform steps 201 to 203 in the embodiment shown in Fig. 2 or the embodiment shown in Fig. 15. Naturally, the server may further include components such as a wired or wireless network interface, a keyboard, and an input / output interface for input / output, or may include other components for realizing the functions of the device, but description thereof will be omitted here.
[0189] 19 is a structural diagram of a terminal provided in an embodiment of the present application, which may be a PC, a mobile phone, a smartphone, a PDA, a wearable device, a portable game console, a PPC, a tablet computer, an in-car smart terminal, a smart TV, or a smart speaker. The terminal may also be called a user device, a mobile terminal, a laptop terminal, a desktop terminal, etc. Illustratively, the second client described above is installed on the terminal. Typically, the terminal includes a processor 1901 and a memory 1902.
[0190] The processor 1901 includes one or more processor cores. The processor 1901 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). In some embodiments, the processor 1901 may include an AI (Artificial Intelligence) processor. The AI processor is used to process computational operations related to machine learning. The memory 1902 may include one or more computer-readable storage media. The computer-readable storage media may be non-transitory. In some embodiments, the non-transitory computer-readable storage media in the memory 1902 are used to store at least one instruction. The at least one instruction is executed by the processor 1901 to cause a second client installed in the terminal to perform steps 204 to 206 of the embodiment shown in FIG. 2 or the embodiment shown in FIG. 14 of the present application. In some embodiments, the terminal may further optionally include a peripheral interface 1903 and at least one peripheral device. The processor 1901, memory 1902, and peripheral interface 1903 may be connected via a bus or signal lines. Each peripheral is connected to the peripheral interface 1903 via a bus, signal lines, or electronic circuit board. Specifically, the peripherals include at least one of RF circuitry 1904, a display 1905, a camera component 1906, an audio circuit 1907, and a power supply 1908. In some embodiments, the terminal further includes one or more sensors 1909. The one or more sensors 1909 include, but are not limited to, an acceleration sensor 1910, a gyro sensor 1911, a pressure sensor 1912, an optical sensor 1913, and a proximity sensor 1914.
[0191] Those skilled in the art will understand that the structure shown in FIG. 19 is not intended to limit the terminal.
[0192] In an exemplary embodiment, a computer device is further provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by one or more processors to cause the computer device to implement any one of the above screen display methods.
[0193] In an exemplary embodiment, a computer-readable storage medium is further provided, which stores at least one computer program, and the at least one computer program is loaded and executed by a processor of a computer device, causing the computer to implement any one of the above screen display methods.
[0194] In an exemplary embodiment, a computer program product is further provided, which includes a computer program or computer instructions that, when loaded and executed by a processor, causes a computer to implement any one of the above screen display methods.
Claims
1. A screen display method executed by a computer device, comprising: displaying a virtual environment including a first virtual object and a second virtual object, the second virtual object being a virtual object controlled by the terminal; in response to the first virtual object marking a target marker point in the virtual environment, presenting direction hint information for the target marker point to the second virtual object, the direction hint information including a target direction in which the target marker point is located; and displaying the target marker point in the virtual environment in response to receiving an operation to turn the orientation of the second virtual object toward the target direction; The step of indicating directional hint information for a target marker point in response to the first virtual object marking the target marker point in the virtual environment includes: displaying the direction hint information as a text message in a first presentation area of a terminal interface in response to the first virtual object marking the target marker point in the virtual environment; or playing the directional hint information with an audio playback module in response to the first virtual object marking the target marker point in the virtual environment; before the step of displaying the direction hint information as a text message in a first presentation area of a terminal interface, performing screen identification on the virtual environment screen displayed on the terminal interface to obtain the first presentation area that matches an information display request, the information display request being used to limit the virtual environment content displayed in the first presentation area; Screen display method.
2. The step of performing screen identification on the virtual environment screen displayed on the terminal interface to obtain the first presentation area that meets the information display requirement includes: performing screen content identification on the virtual environment screen displayed on the terminal interface to obtain an area in the virtual environment screen where a target display content is displayed; determining the first presentation area in an area other than the area in which the target display content is displayed in the terminal interface; The screen display method according to claim 1 .
3. the terminal interface further includes a direction coordinate axis, the direction coordinate axis being used to display a plurality of direction distribution sections centered on the direction in which the second virtual object is facing; The screen display method further comprises: a step of displaying a hint marker at a position of a value corresponding to the target direction on the direction coordinate axis, the hint marker being used to indicate that the target marker point exists in a direction corresponding to the target direction on the direction coordinate axis; The screen display method according to claim 1 .
4. The step of displaying the target marker point in the virtual environment in response to receiving an operation to turn the orientation of the second virtual object toward the target direction includes: performing a screen capture of the virtual environment at a viewing angle of the second virtual object facing the target direction; In response to the target marker point not being included in the collected virtual environment screen, acquiring a marker point location specifying operation for displaying the target marker point under the premise that the second virtual object is facing the target direction; and displaying the target marker point in the virtual environment based on the marker point location operation. The screen display method according to any one of claims 1 to 3.
5. the terminal interface further includes a direction coordinate axis, the direction coordinate axis being used to display a plurality of direction distribution sections centered on the direction in which the second virtual object is facing; The step of displaying the target marker point in the virtual environment in response to receiving an operation to turn the orientation of the second virtual object toward the target direction includes: displaying the target marker point in the virtual environment in response to receiving a trigger operation for the target direction on the direction coordinate axis. The screen display method according to claim 1 .
6. The step of displaying the target marker point in the virtual environment in response to receiving an operation to turn the orientation of the second virtual object toward the target direction includes: displaying a direction field; displaying the target marker point in the virtual environment in response to receiving an entry confirmation operation for the target direction in the direction entry field. The screen display method according to any one of claims 1 to 3.
7. the marker point position specifying operation includes at least one of a screen collection range enlarging operation and an operation of controlling the second virtual object to move it toward the target direction; The screen display method according to claim 4.
8. A screen display method executed by a computer device, comprising: In response to a first virtual object marking a target marker point in the virtual environment, acquiring a location of the target marker point and a location of a second virtual object; determining a target direction in which the target marker point is located relative to the second virtual object based on the location of the target marker point and the location of the second virtual object; generating a direction hint for the target marker point based on the target direction; controlling the second virtual object, and in response to the first virtual object marking the target marker point in the virtual environment, displaying the direction hint information as a text message in a first presentation area of a terminal interface; or, in response to the first virtual object marking the target marker point in the virtual environment, performing a step of playing the direction hint information by an audio playback module, and before the step of displaying the direction hint information as a text message in the first presentation area of the terminal interface, further performing a step of performing screen identification on a virtual environment screen displayed on the terminal interface to obtain the first presentation area that meets an information display request, the first virtual object and the second virtual object are different, and the client is used to show the direction hint information; the information display request is used to limit virtual environment content displayed in the first presentation area. Screen display method.
9. the step of specifying a target direction in which the target marker point is located relative to the second virtual object based on the location of the target marker point and the location of the second virtual object, specifying a target included angle between a first connecting line that is a connecting line between the location of the second virtual object and the location of the target marker point, and a first ray that is a ray extending from the location of the second virtual object toward a reference direction; and setting the direction shifted from the reference direction by the target included angle as the target direction. The screen display method according to claim 8.
10. The step of specifying a target included angle between the first connecting line and the first radial line includes: determining corresponding coordinate values in a Cartesian coordinate system for the location of the target marker point; determining a target angle between the first connecting line and the first radial line based on the coordinate values; the orthogonal coordinate system has an origin at the location of the second virtual object and an axis that coincides with the first radial line as one of its coordinate axes; The screen display method according to claim 9.
11. the step of specifying a target direction in which the target marker point is located relative to the second virtual object based on the location of the target marker point and the location of the second virtual object, identifying degrees of deviation between each of a plurality of candidate radial lines and the first connecting line; determining, as the target direction, a candidate direction corresponding to a candidate ray having a minimum deviation from the first connecting line among the plurality of candidate ray; the plurality of candidate rays correspond to a plurality of candidate directions to which the second virtual object can be directed, one candidate ray is a ray extending from a location of the second virtual object toward the candidate direction corresponding to the one candidate ray, and the first connecting line is a connecting line between the location of the second virtual object and the location of the target marker point; The screen display method according to claim 8.
12. A screen display system including a client and a server, the client is used to display a virtual environment; the server is used to, in response to a first virtual object marking a target marker point in the virtual environment, acquire a location of the target marker point and a location of a second virtual object that is a virtual object controlled by the client, identify a target direction in which the target marker point is located relative to the second virtual object based on the location of the target marker point and the location of the second virtual object, generate direction hint information for the target marker point based on the target direction, and transmit the direction hint information to the client; the client further indicates, in response to the first virtual object marking the target marker point in the virtual environment, direction hint information for the target marker point, the direction hint information including the target direction; displaying the target marker point in the virtual environment in response to receiving an operation to turn the orientation of the second virtual object toward the target direction; when the first virtual object indicates, in response to marking a target marker point in the virtual environment, direction hint information for the target marker point; In response to the first virtual object marking the target marker point in the virtual environment, displaying the direction hint information as a text message in a first presentation area of a terminal interface; or playing the directional hint information with an audio playback module in response to the first virtual object marking the target marker point in the virtual environment; before displaying the direction hint information as a text message in the first presentation area of the terminal interface, further Perform screen identification on the virtual environment screen displayed on the terminal interface to obtain the first presentation area that meets the information display requirement; the information display request is used to limit virtual environment content displayed in the first presentation area. Screen display system.
13. a first display means for displaying a virtual environment including a first virtual object and a second virtual object, the second virtual object being a virtual object controlled by the terminal; second display means for displaying, in response to the first virtual object marking a target marker point in the virtual environment, direction hint information for the target marker point, the direction hint information including a target direction in which the target marker point is located, relative to the second virtual object; a third display means for displaying the target marker point in the virtual environment in response to receiving an operation to turn the orientation of the second virtual object toward the target direction; Including, the second display means for showing directional hint information of the target marker point in response to the first virtual object marking the target marker point in the virtual environment, a fourth display means for displaying the direction hint information as a text message in a first presentation area of a terminal interface in response to the first virtual object marking the target marker point in the virtual environment; or playback means for playing the direction hint information through an audio playback module in response to the first virtual object marking the target marker point in the virtual environment; Before displaying the direction hint information as a text message in the first presentation area of the terminal interface, the device further includes an acquisition means for performing screen identification on the virtual environment screen displayed on the terminal interface to obtain the first presentation area that meets the information display request; the information display request is used to limit virtual environment content displayed in the first presentation area. Screen display device.
14. an acquisition means for acquiring a location of the target marker point and a location of a second virtual object in response to a first virtual object marking the target marker point in the virtual environment; an identification means for identifying a target direction in which the target marker point exists relative to the second virtual object, based on the location of the target marker point and the location of the second virtual object; generating direction hint information for the target marker point based on the target direction, and controlling the second virtual object; and displaying the direction hint information as a text message in a first presentation area of a terminal interface in response to the first virtual object marking the target marker point in the virtual environment; or playing the direction hint information through an audio playback module in response to the first virtual object marking the target marker point in the virtual environment; and before displaying the direction hint information as a text message in the first presentation area of the terminal interface, further performing screen identification on a virtual environment screen displayed on the terminal interface to obtain the first presentation area that meets an information display request; the first virtual object and the second virtual object are different, and the client is used to show the direction hint information; the information display request is used to limit virtual environment content displayed in the first presentation area. Screen display device.
15. A computer device including a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to cause the computer device to realize the screen display method according to any one of claims 1 to 3 or any one of claims 8 to 11. Computer equipment.
16. A computer is caused to realize the screen display method according to any one of claims 1 to 3 or the screen display method according to any one of claims 8 to 11. Computer program.
Citation Information
Patent Citations
Virtual prop information sharing method, device and equipment in game
CN110124310A
Virtual object interaction method and related device
CN111672125A
Virtual object prompting method and device, storage medium and computer equipment
CN113082707A