Information display method and apparatus for virtual object, device, medium, and program product

By displaying threat warning controls and threat object models in the virtual scene screen, the problem of cumbersome acquisition of virtual object information in large-scale multiplayer online role-playing games is solved, and information acquisition is simplified and efficiency improved.

WO2025148587A1PCT designated stage expired Publication Date: 2025-07-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/137678
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-11
Filing Date
2024-12-09
Publication Date
2025-07-17

AI Technical Summary

Technical Problem

In large-scale multiplayer online role-playing games, the process of users obtaining threatening virtual objects information is cumbersome, resulting in inefficient information acquisition.

Method used

Simplify the information acquisition process by displaying threat warning controls and threat object models in the virtual scene screen to indicate the location and attribute information of the threatening virtual object.

Benefits of technology

It improves the efficiency of obtaining virtual object information, and users can make strategic decisions in advance, effectively avoid risks and improve the efficiency of facing them.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024137678_17072025_PF_FP_ABST
    Figure CN2024137678_17072025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application relate to the technical field of human-computer interaction, and disclose an information display method and apparatus for a virtual object, a terminal, and a storage medium. The method comprises: displaying a virtual scene picture, wherein the virtual scene picture is a picture obtained by photographing a virtual scene from the perspective of a first virtual object; displaying a threat early-warning control in the virtual scene picture, wherein the threat early-warning control is used for indicating the location of a second virtual object within a threat early-warning range, the second virtual object and the first virtual object belong to different camps, and the thread early-warning range is greater than the visual range of the first virtual object and is smaller than the sensing range of the first virtual object; and in response to a trigger operation on the threat early-warning control, displaying a threat object model in the virtual scene picture, wherein the threat object model is used for representing the attribute information of the second virtual object. Use of the solution provided by the embodiments of the present application can simplify an information acquisition process and improve the information acquisition efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Virtual object information display method, device, equipment, medium and program product

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on January 11, 2024, with application number 2024100476774 and application name “Method, device, terminal and storage medium for displaying information of virtual objects”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present invention relates to the field of human-computer interaction technology, and more particularly to the display of information about virtual objects. Background Art

[0003] With the development of computer technology and the improvement of device performance, the human-computer interaction interface of electronic games has gradually received attention. In Massive Multiplayer Online Role-Playing Games (MMORPGs), users can manipulate virtual objects to move around in the virtual scene.

[0004] In related technologies, when facing a threatening virtual object, the user first needs to switch perspectives to find the virtual object within the visible range, and then, when the virtual object is found, learn about the virtual object through observation and attack attempts.

[0005] Obviously, the information acquisition process of virtual objects in related technologies is cumbersome and the information acquisition efficiency is low. Summary of the Invention

[0006] The embodiments of the present application provide a method, device, terminal, and storage medium for displaying virtual object information, which can simplify the information acquisition process and improve the efficiency of acquiring virtual object information. The technical solution is as follows:

[0007] In one aspect, an embodiment of the present application provides a method for displaying information of a virtual object, the method comprising:

[0008] Displaying a virtual scene picture, wherein the virtual scene picture is a picture obtained by shooting the virtual scene from the perspective of the first virtual object;

[0009] When a second virtual object enters the threat warning range of the first virtual object, a threat warning control is displayed in the virtual scene screen, wherein the threat warning control is used to indicate the position of the second virtual object within the threat warning range, the second virtual object and the first virtual object belong to different factions, and the threat warning range is larger than the visual range of the first virtual object and smaller than the perception range of the first virtual object;

[0010] In response to a triggering operation on the threat warning control, a threat object model is displayed in the virtual scene screen, where the threat object model is used to represent attribute information of the second virtual object.

[0011] On the other hand, an embodiment of the present application provides a device for displaying information of a virtual object, the device comprising:

[0012] A picture display module, configured to display a virtual scene picture, wherein the virtual scene picture is a picture obtained by shooting the virtual scene from the perspective of the first virtual object;

[0013] a control display module, configured to display a threat warning control in the virtual scene screen when a second virtual object enters a threat warning range of the first virtual object, the threat warning control being configured to indicate a position of the second virtual object within the threat warning range, the second virtual object and the first virtual object belonging to different factions, and the threat warning range being larger than the visual range of the first virtual object and smaller than the perception range of the first virtual object;

[0014] A model display module is used to display a threat object model in the virtual scene screen in response to a triggering operation on the threat warning control, wherein the threat object model is used to represent the attribute information of the second virtual object.

[0015] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the virtual object information display method as described in the above aspects.

[0016] On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program is used to be executed by a processor to implement the virtual object information display method as described in the above aspects.

[0017] In another aspect, an embodiment of the present application provides a computer program product, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to implement the virtual object information display method provided in the above aspects.

[0018] In an embodiment of the present application, when a second virtual object enters a threat warning range, the terminal displays a threat warning control to indicate the second virtual object's location within the threat warning range. Furthermore, when the threat warning control is triggered, the terminal displays a threat object model representing the attribute information of the second virtual object. This eliminates the need for the user to manipulate the first virtual object closer to the second virtual object to obtain the attribute information of the second virtual object within the field of view. This simplifies the process of acquiring virtual object information and improves information acquisition efficiency. Furthermore, based on the displayed information, the user can make strategic decisions in advance, effectively avoiding risks and, when preparing for a fight, improving the first virtual object's efficiency in engaging the enemy. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] FIG1 is a schematic diagram showing an implementation environment provided by an exemplary embodiment of the present application;

[0020] FIG2 shows a flowchart of a method for displaying information of a virtual object provided by an exemplary embodiment of the present application;

[0021] FIG3 is a schematic diagram showing a virtual scene image of a first virtual object moving process provided by an exemplary embodiment of the present application;

[0022] FIG4 shows a schematic diagram of a virtual scene screen of multiple threat warning controls provided by an exemplary embodiment of the present application;

[0023] FIG5 shows a schematic diagram of an implementation of a threat object model display process provided by an exemplary embodiment of the present application;

[0024] FIG6 shows a flowchart of a method for displaying information of a virtual object provided by another exemplary embodiment of the present application;

[0025] FIG7 shows a schematic diagram of color filling of a threat object model provided by an exemplary embodiment of the present application;

[0026] FIG8 is a schematic diagram showing threat levels shown in a threat object model provided by an exemplary embodiment of the present application;

[0027] FIG9 is a schematic diagram showing a target display position of a threat object model when a second virtual object is located within a scene range, provided by an exemplary embodiment of the present application;

[0028] FIG10 is a schematic diagram showing a target display position of a threat object model in a case where a second virtual object is outside a scene range, provided by an exemplary embodiment of the present application;

[0029] FIG11 is a schematic diagram of a virtual scene screen including an arrow mark in a case where a second virtual object is outside a scene range, provided by an exemplary embodiment of the present application;

[0030] FIG12 is a schematic diagram showing the edge position of a threat warning control provided by an exemplary embodiment of the present application;

[0031] FIG13 is a schematic diagram showing a virtual scene image in which a second virtual object enters the threat warning range again, according to an exemplary embodiment of the present application;

[0032] FIG14 shows a schematic diagram of an implementation of a viewing angle locking process provided by an exemplary embodiment of the present application;

[0033] FIG15 shows a schematic diagram of an implementation of a threat object model transparency process provided by an exemplary embodiment of the present application;

[0034] FIG16 shows a flowchart of a virtual object information display process provided by an exemplary embodiment of the present application;

[0035] FIG17 shows a structural block diagram of a device for displaying information of a virtual object provided by an exemplary embodiment of the present application;

[0036] FIG18 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0038] In this document, "plurality" refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.

[0039] Please refer to FIG1 , which shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application. The implementation environment may include: a first terminal 110 , a server 120 , and a second terminal 130 .

[0040] A first terminal 110 runs an application 111 that supports a virtual environment. Application 111 can be a multiplayer online battle program. When application 111 runs on the first terminal, the user interface of application 111 is displayed on the screen of the first terminal 110. Application 111 can be any of a Multiplayer Online Battle Arena (MOBA) game, a Simulation Game (SLG), a Massive Multiplayer Online Role-Playing Game (MMORPG), or a First-Person Shooter (FPS). In this embodiment, an MMORPG is used as an example. First terminal 110 is used by a first user 112. First user 112 uses first terminal 110 to control a first virtual object in the virtual environment. The first virtual object can be referred to as the first user's 112's primary virtual object. The first virtual object's activities include, but are not limited to, at least one of adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up items, shooting, attacking, throwing, and performing skills. Illustratively, the first virtual object is a first virtual character, such as a simulated character or a cartoon character.

[0041] An application 131 supporting a virtual environment runs on the second terminal 130. This application 131 can be a multiplayer online game program. When the second terminal 130 runs application 131, the user interface of application 131 is displayed on the screen of the second terminal 130. The client can be any of a MOBA, SLG, MMORPG, or FPS game. In this embodiment, an MMORPG is used as an example. The second terminal 130 is used by a second user 132. The second user 132 uses this second terminal 130 to control a second virtual object in the virtual environment. The second virtual object can be referred to as the second user's 132 primary virtual character. Illustratively, the second virtual object is a second virtual person, such as a simulated or animated character.

[0042] Optionally, the first virtual object and the second virtual object are in the same virtual world. Optionally, the first virtual object and the second virtual object may belong to the same camp, the same team, the same organization, have a friendship relationship, or have temporary communication permissions. Optionally, the first virtual object and the second virtual object may belong to different camps, different teams, different organizations, or have a hostile relationship.

[0043] Optionally, the applications installed on the first terminal 110 and the second terminal 130 are the same, or the applications installed on the two terminals are the same type of applications on different operating system platforms (Android or iOS). The first terminal 110 can generally refer to one of multiple terminals, and the second terminal 130 can generally refer to another of the multiple terminals. This embodiment only uses the first terminal 110 and the second terminal 130 as an example. The first terminal 110 and the second terminal 130 can be of the same or different device types, including at least one of a smartphone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop computer, and a desktop computer.

[0044] FIG1 shows only two terminals, but in different embodiments, multiple other terminals may be connected to the server 120. Optionally, one or more terminals may be developers' terminals, on which a development and editing platform for applications supporting a virtual environment is installed. Developers may edit and update applications on these terminals and transmit the updated application installation packages to the server 120 via a wired or wireless network. The first terminal 110 and the second terminal 130 may download the application installation packages from the server 120 to update the applications.

[0045] The first terminal 110 , the second terminal 130 and other terminals are connected to the server 120 via a wireless network or a wired network.

[0046] Server 120 includes at least one of a single server, a server cluster consisting of multiple servers, a cloud computing platform, and a virtualization center. Server 120 provides backend services for applications that support 3D virtual environments. Optionally, server 120 performs primary computing tasks, while terminals perform secondary computing tasks; alternatively, server 120 performs secondary computing tasks, while terminals perform primary computing tasks; alternatively, server 120 and terminals utilize a distributed computing architecture for collaborative computing.

[0047] In an illustrative example, the server 120 includes a memory 121, a processor 122, a user account database 123, a battle service module 124, and a user-oriented input / output interface (I / O interface) 125. The processor 122 is configured to load instructions stored in the server 120 and process data in the user account database 123 and the battle service module 124. The user account database 123 is configured to store user account data used by the first terminal 110, the second terminal 130, and other terminals, such as user account avatars, user account nicknames, user account combat power indexes, and the service areas where the user accounts are located. The battle service module 124 is configured to provide multiple battle rooms for users to engage in battles, such as 1v1 battles, 3v3 battles, 5v5 battles, 1v5 battles, etc. The user-oriented I / O interface 125 is configured to establish communication and exchange data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network.

[0048] In combination with the above introduction, the information display method of the virtual object provided by the present application is explained. In the embodiment of the present application, the method is explained by taking the execution of the method by the terminal device as an example.

[0049] Please refer to Figure 2, which shows a flowchart of a method for displaying virtual object information provided by an exemplary embodiment of the present application. This embodiment can be executed by a terminal device. The terminal device can be used as an example of the method being applied to the first terminal 110 or the second terminal 130 in the implementation environment shown in Figure 1, or other terminals in the implementation environment. The method includes the following steps:

[0050] Step 201 : Displaying a virtual scene image, where the virtual scene image is an image obtained by shooting the virtual scene from the perspective of a first virtual object.

[0051] Virtual objects are user-controllable objects in a virtual environment. These objects can include virtual chess pieces, virtual characters, virtual animals, and animated characters. For example, virtual objects can be displayed as people, animals, plants, oil drums, walls, and rocks. Alternatively, virtual objects can be three-dimensional models created using animation skeletal technology. Each virtual object has its own unique shape and volume within the virtual environment and occupies a portion of the virtual space.

[0052] A virtual scene refers to the virtual environment in which a virtual object resides within the virtual world while an application is running. A virtual scene image refers to the image displayed to the user when a virtual object is active within the virtual scene. This virtual scene image may include other virtual objects within the same virtual scene as the virtual object.

[0053] Optionally, the perspective of the first virtual object can be the first-person perspective of the first virtual object, or the third-person perspective of the first virtual object. The embodiment of the present application takes the third-person perspective as an example, and shoots the virtual scene through the camera model corresponding to the first virtual object to obtain the virtual scene image from the third-person perspective of the first virtual object.

[0054] A camera model refers to a three-dimensional model located around a virtual object in the virtual world (and not displayed in the virtual scene). When a first-person perspective is used, the camera model is located near or at the head of the virtual object. When a third-person perspective is used, the camera model can be located behind the virtual object and bound to the virtual object, or can be located at any position at a preset distance from the virtual object. The virtual object in the virtual world can be observed from different angles through the camera model. Optionally, when the third-person perspective is a first-person over-the-shoulder perspective, the camera model is located behind the virtual object (such as the head and shoulders of the virtual object). Optionally, in addition to the first-person perspective and the third-person perspective, the perspective also includes other perspectives, such as a bird's-eye view. When a bird's-eye view is used, the camera model can be located above the head of the virtual object. The bird's-eye view is a perspective of observing the virtual world from an aerial perspective. Optionally, the camera model will not be actually displayed in the virtual world, that is, the camera model will not be displayed in the virtual world displayed in the user interface.

[0055] Optionally, the camera model automatically follows the virtual character in the virtual world. Specifically, when the position of the virtual object in the virtual world changes, the camera model changes simultaneously with the position of the virtual object in the virtual world, and the camera model always remains within a preset distance range of the virtual object in the virtual world. Optionally, during the automatic following process, the relative position of the camera model and the virtual object does not change.

[0056] Exemplarily, as shown in FIG3 , the virtual scene image is centered on the first virtual object 301 , and the lens of the camera model automatically follows the movement of the first virtual object 301 .

[0057] In step 202, when the second virtual object enters the threat warning range of the first virtual object, a threat warning control is displayed in the virtual scene screen. The threat warning control is used to indicate the position of the second virtual object within the threat warning range. The second virtual object and the first virtual object belong to different camps. The threat warning range is larger than the visible range of the first virtual object and smaller than the perception range of the first virtual object.

[0058] Optionally, there may be multiple second virtual objects within the perception range of the first virtual object, or there may be only one second virtual object.

[0059] Among them, when there are multiple second virtual objects within the perception range of the first virtual object, the terminal uses multiple threat warning controls to indicate the relative directions of different second virtual objects, and in response to the triggering operation of the threat warning control, displays the threat object model of the second virtual object indicated by the threat warning control.

[0060] Exemplarily, as shown in Figure 4, there are three second virtual objects within the perception range of the first virtual object, wherein the threat warning control 411 indicates the relative direction of the second virtual object 401, the threat warning control 412 indicates the relative direction of the second virtual object 402, and the threat warning control 413 indicates the relative direction of the second virtual object 403.

[0061] The visual range of the first virtual object refers to the range of the virtual scene that can be captured by the camera model from the perspective of the first virtual object. The perception range of the first virtual object refers to the range in which the virtual object can perceive threats, and the perception range is larger than the visual range.

[0062] The visible range, perception range, and threat warning range are all virtual ranges used to simulate human perception. The visible range is used to simulate the range of human visual observation, the perception range is used to simulate the range that humans can perceive, and the threat warning range is between the visible range and the perception range. It is used to simulate the range in which other objects (such as humans, monsters, etc.) can pose a threat to humans.

[0063] The shapes of the visual range, perception range, and threat warning range may be related to the way the field of view of virtual objects is displayed in the virtual environment. For example, taking the first-person perspective and the third-person perspective as examples, the above ranges may be fan-shaped. Taking the God's perspective as an example, the above ranges may be circular.

[0064] Optionally, the visible range, perception range, and threat warning range are circular areas, representing a circular area centered on the first virtual object in a top-down view of the virtual scene. The threat warning range is the circular area between the visible range and the perception range. For example, if the visible range of the first virtual object is a circular area with a radius of 20m, and the perception range of the first virtual object is a circular area with a radius of 100m, then the threat warning range is the circular area with a radius between 20m and 100m.

[0065] Optionally, the visible range, perception range, and threat warning range are fan-shaped areas, representing fan-shaped areas in the same direction centered on the first virtual object in a top-down view of the virtual scene. The threat warning range is the fan-shaped area between the visible range and the perception range. The fan-shaped angles of the three ranges are theoretically the same, and can be similar to the human field of vision.

[0066] Since the threat warning range is larger than the visual range but smaller than the perception range, the timing of the threat warning is more reasonable, which better simulates the situation in actual scenarios where people can perceive possible threats.

[0067] A camp refers to a team of virtual objects that have a teammate relationship. A second virtual object may belong to a neutral camp, such as a neutral NPC (Non-player Character) or a wild monster in a virtual scene, or may belong to a hostile camp. Therefore, the second virtual object may attack the first virtual object and pose a threat. In this embodiment of the application, the threat warning control indicates the position of the second virtual object within the threat warning range.

[0068] In some embodiments, the terminal performs real-time detection on whether the second virtual object is within the threat warning range. If the second virtual object is within the threat warning range, the terminal displays the threat warning control. If the second virtual object is not within the threat warning range, the terminal does not display the threat warning control.

[0069] Optionally, the threat warning control may use a variety of forms to indicate the position of the second virtual object within the threat warning range.

[0070] In a possible implementation, the threat warning control is an arrow-shaped control, and the terminal uses the direction indicated by the arrow to indicate the relative direction of the second virtual object within the threat warning range (relative to the current position of the first virtual object).

[0071] In another possible implementation, the threat warning control is a line-shaped control, and the terminal indicates the relative direction of the second virtual object by displaying a line between the first virtual object and the second virtual object.

[0072] Step 203 : In response to the triggering operation on the threat warning control, a threat object model is displayed in the virtual scene screen, where the threat object model is used to represent the attribute information of the second virtual object.

[0073] Optionally, the attribute information may include status values ​​of the second virtual object, such as skill points, ammunition volume, health volume, physical strength value, etc. of the second virtual object, and may also include ability information of the second virtual object, such as character level, experience value, etc.

[0074] The terminal generates a threat object model based on the attribute information of the second virtual object. Since the second virtual object may have multiple attributes, the terminal displays different attributes in different ways to provide the user with an intuitive understanding of the second virtual object's attributes. For example, the terminal uses the color of the threat object model to indicate the second virtual object's health status, and the size of the threat object model to indicate the second virtual object's skill status.

[0075] In a possible implementation, the threat object model is displayed as a phantom of the second virtual object in the virtual scene image, having the contour features of the second virtual object.

[0076] It should be noted that the threat object model may display all attribute information of the second virtual object, or may display part of the attributes of the second virtual object, which is not limited in the embodiment of the present application.

[0077] Optionally, if it is difficult for the terminal to intuitively represent the attribute information of the second virtual object through the threat object model, the terminal may display the attribute information of the second virtual object in other ways, such as displaying the level of the second virtual object in text around the threat object model.

[0078] For example, as shown in Figure 5, when the second virtual object enters the threat perception warning range of the first virtual object 501, the terminal displays the threat warning control 502 in the virtual scene screen, and then in response to the triggering operation of the threat warning control 502, the terminal displays the threat object model 503 in the virtual scene screen, and the text above the threat object model shows that the level of the second virtual object is level 15.

[0079] In summary, in the embodiments of the present application, when a second virtual object enters the threat warning range, the terminal displays a threat warning control to indicate the second virtual object's location within the threat warning range. Furthermore, when the threat warning control is triggered, the terminal displays a threat object model representing the attribute information of the second virtual object. This eliminates the need for the user to manipulate the first virtual object closer to the second virtual object to obtain the attribute information of the second virtual object within the field of view. This simplifies the process of acquiring virtual object information and improves information acquisition efficiency. Furthermore, based on the displayed information, the user can make strategic decisions in advance, effectively avoiding risks and, when preparing for a fight, improving the efficiency of the first virtual object's engagement.

[0080] In some embodiments, the terminal first generates a threat object model, determines a target display position for the threat object model, and then displays the threat object model at the target display position.

[0081] Please refer to Figure 6, which shows a flowchart of a method for displaying information of a virtual object provided by another exemplary embodiment of the present application. The method includes the following steps:

[0082] Step 601 : Displaying a virtual scene image, where the virtual scene image is an image obtained by shooting the virtual scene from the perspective of a first virtual object.

[0083] Step 602: When the second virtual object enters the threat warning range of the first virtual object, a threat warning control is displayed in the virtual scene screen. The threat warning control is used to indicate the position of the second virtual object within the threat warning range. The second virtual object and the first virtual object belong to different camps. The threat warning range is larger than the visible range of the first virtual object and smaller than the perception range of the first virtual object.

[0084] The specific implementation of steps 601 to 602 may refer to steps 201 to 202, and this embodiment does not limit this.

[0085] Step 603: In response to the triggering operation of the threat warning control, a threat object model is generated based on the attribute information of the second virtual object.

[0086] In some embodiments, the threat object model is displayed as a silhouette of the second virtual object.

[0087] Optionally, the background color of the outline of the threat object model may be colorless, and then the attribute information of the second virtual object is displayed according to the fill ratio of the visible color.

[0088] In some embodiments, the terminal first determines the state completeness of the second virtual object based on the attribute information of the second virtual object, where the state completeness is used to characterize the completeness of the current state of the second attribute object. The terminal then determines the color filling ratio of the threat object model based on the state completeness, where the color filling ratio is positively correlated with the state completeness. Finally, the threat object model is filled with color according to the color filling ratio.

[0089] The state of the second virtual object is used to identify the dimension in which the second virtual object poses a threat to other virtual objects in the virtual scene. The more complete the state, the greater the threat it can pose to other virtual objects. The state of the second virtual object can be described by one or more attribute information of the second virtual object.

[0090] In a possible implementation, the terminal fills the threat object model with color from bottom to top in a vertical direction according to a color filling ratio.

[0091] Optionally, the current state of the second attribute object may include weapon state, skill state, life state, etc. The embodiment of the present application does not limit the state type of the second attribute object.

[0092] In a possible implementation, the terminal determines a color filling ratio of the threat object model according to a degree of completeness of one of the states.

[0093] In another possible implementation, the terminal determines the color fill ratio of the threat object model based on the completeness of the second attribute object's comprehensive status. For example, if the second attribute object has an ammunition balance of 80%, a skill charge of 60%, and a health of 100%, a weighted average of these three states yields a comprehensive status completeness of 80%, thus determining the color fill ratio to be 80%.

[0094] Exemplarily, a schematic diagram of color filling of the threat object model is shown in FIG7 . The terminal fills the threat object model 701 with color from bottom to top. When the state completeness is 80%, the outline of the threat object model is filled with 80%.

[0095] Furthermore, in addition to being used to characterize the completeness of the current state of the second attribute object, the threat object model can also be used to characterize the threat level of the second virtual object to the first virtual object.

[0096] In some embodiments, the terminal determines the threat level of the second virtual object to the first virtual object based on the attribute information of the first virtual object and the second virtual object, and then fills the threat object model with a color corresponding to the threat level according to the color filling ratio. For example, in a low-risk situation, the color is filled with green; in a medium-risk situation, the threat object model gradually changes from green to yellow; and in a high-risk situation, the threat object model gradually changes from yellow to red.

[0097] In one possible embodiment, the terminal calculates the threat level of the second virtual object to the first virtual object based on the difference in attribute information between the first virtual object and the second virtual object. When the attribute information of the second virtual object exceeds the attribute information of the first virtual object, and the difference between the attribute information of the second virtual object and the attribute information of the first virtual object exceeds the difference threshold, the threat level of the second virtual object is high; when the attribute information of the second virtual object does not exceed the attribute information of the first virtual object, and the difference between the attribute information of the second virtual object and the attribute information of the first virtual object exceeds the difference threshold, the threat level of the second virtual object is low; when the difference between the attribute information of the second virtual object and the attribute information of the first virtual object does not exceed the difference threshold, the threat level of the second virtual object is medium. The attribute information of the first virtual object and the second virtual object can be a separate data indicator, such as health, or a comprehensive data indicator, such as a comprehensive indicator of health and level.

[0098] For example, as shown in FIG8 , if threat object model 801 represents a first virtual object at level 12 and 100% health, and threat object model 802 represents a second virtual object at level 13 and 20% health, the terminal sets the health weight to 10, the level weight to 1, and the gap threshold to 5. Subsequently, through weighted calculation, it is determined that the attribute information of the first virtual object exceeds the attribute information of the second virtual object, and the difference between the attribute information of the second virtual object and the attribute information of the first virtual object exceeds the gap threshold. Therefore, the threat level of the second virtual object is low, and the terminal fills threat object model 802 with green. Similarly, if threat object model 801 represents the first virtual object at level 12 and 100% health, and threat object model 803 represents the second virtual object at level 100 and 50% health, the attribute information of the first virtual object does not exceed the attribute information of the second virtual object, and the difference between the attribute information of the second virtual object and the attribute information of the first virtual object exceeds the gap threshold. Therefore, the terminal determines that the threat level of the second virtual object is high, and fills the threat object model with red.

[0099] Step 604 : Determine a target display position of the threat object model based on the position of the second virtual object in the virtual scene and the scene range represented by the virtual scene image.

[0100] Because the virtual scene is captured from the perspective of the first virtual object, it can directly indicate the position of the first virtual object in the virtual scene. Therefore, based on this, combined with the position of the second virtual object in the virtual scene, the relative direction of the second virtual object relative to the first virtual object in the virtual scene can be accurately determined. Based on this relative direction, a target display position can be determined to indicate the direction of the second virtual object to the user controlling the first virtual object. Furthermore, when the second virtual object has entered the field of view of the first virtual object, the target display position not only indicates the relative direction of the second virtual object to the user, but also indicates the position of the second virtual object in the virtual scene.

[0101] The scene range represented by the virtual scene image is the scene range that the camera model can capture. Since the scene range that the camera model can capture is limited, the second virtual object may be in the virtual scene image or outside the virtual scene image.

[0102] In some embodiments, in order to optimize the rendering effect of the virtual scene image, the terminal can render only the virtual objects within the view cone according to the view cone clipping algorithm.

[0103] In some embodiments, the terminal determines whether the second virtual object is within the virtual scene according to the position of the second virtual object in the virtual scene.

[0104] In a possible implementation, the terminal calculates the spatial range determined by the six faces of the viewing cone in front of the camera model. When the position of the second virtual object in the virtual scene is within the viewing cone, the second virtual object is within the virtual scene screen. When the position of the second virtual object in the virtual scene is outside the viewing cone, the second virtual object is outside the virtual scene screen.

[0105] Optionally, this step may include the following two situations:

[0106] Case 1: When the position of the second virtual object in the virtual scene is within the scene range represented by the virtual scene picture, the projection position of the second virtual object in the virtual scene picture is determined as the target display position of the threat object model.

[0107] In a possible implementation, the terminal determines the target display position of the threat object model on the virtual scene screen based on the position of the second virtual object in the virtual scene and the mapping relationship between the positions inside the viewing cone and the points on the virtual scene screen.

[0108] Exemplarily, as shown in FIG9 , the position of the second virtual object 901 in the virtual scene is within the scene range represented by the virtual scene picture 903 , and the target display position of the threat object model 902 on the virtual scene picture 903 is determined by projecting the second virtual object 901 .

[0109] In case 2, when the position of the second virtual object in the virtual scene is outside the scene range represented by the virtual scene picture, the target screen edge of the virtual scene picture is determined, and the target screen edge is the screen edge of the virtual scene picture that is closest to the projection position of the second virtual object; the target screen edge is determined as the target display position of the threat object model.

[0110] In one possible implementation, the terminal first projects the second virtual object vertically onto the viewing cone plane (the plane where the virtual scene screen is located), then obtains the projection center point, calculates the vertical distance between the projection center point and the four screen edges of the virtual scene screen, and determines the screen edge with the shortest vertical distance to the projection center point as the target screen edge, and then displays the threat object model on the target screen edge.

[0111] For example, as shown in Figure 10, in the virtual scene, the projection center point 1002 of the second virtual object 1001 is 2m away from the left edge of the virtual scene screen 1003, 27m away from the right edge of the virtual scene screen 1003, 7m away from the upper edge of the virtual scene screen 1003, and 7m away from the lower edge of the virtual scene screen 1003. The terminal determines that the projection center point 1002 of the second virtual object 1001 is closest to the left edge of the virtual scene screen 1003, and displays the threat object model 1004 on the left edge of the virtual scene screen 1003.

[0112] In some embodiments, when the second virtual object is located outside the scene range represented by the virtual scene image, the terminal displays an arrow mark between the edge of the target image and the threat object model, indicating that the second virtual object is outside the virtual scene image. When the second virtual object moves within the scene range represented by the virtual scene image, the arrow mark stops being displayed.

[0113] For example, as shown in Figure 11, when the position of the second virtual object in the virtual scene is outside the scene range represented by the virtual scene picture, the terminal displays an arrow mark 1102 between the left edge of the virtual scene picture and the threat object model 1101, indicating that the second virtual object is located at the left position outside the virtual scene picture; when the second virtual object moves to within the scene range represented by the virtual scene picture, the terminal displays the threat object model 1101 inside the virtual scene picture, indicating that the second virtual object is located at the display position of the threat object model 1101 within the virtual scene picture.

[0114] Step 605: Display the threat object model at the target display position of the virtual scene image.

[0115] It can be seen that in addition to displaying the threat warning control in the virtual scene screen, the target display position can also be determined in the virtual scene screen based on the position of the second virtual object. Since the target display position can accurately indicate the relative direction of the second virtual object with respect to the first virtual object, the threat object model displayed at the target display position can play a more intuitive indication role, effectively reducing the user's operating costs.

[0116] In one possible implementation, when the position of the second virtual object in the virtual scene is within the scene range represented by the virtual scene picture, the threat object model is displayed in the virtual scene picture as a phantom of the second virtual object, having the contour features of the second virtual object; when the position of the second virtual object in the virtual scene is outside the scene range represented by the virtual scene picture, the threat object model is displayed in the virtual scene picture as an icon similar to the phantom of the second virtual object.

[0117] In the above embodiment, the threat object model visualizes the state integrity of the second virtual object through the color filling ratio. The user can understand the attribute information represented by the threat object model without approaching the second virtual object, thereby improving the efficiency of obtaining attribute information.

[0118] Furthermore, the threat object model represents the threat level of the second virtual object through the prompt color, eliminating the process of the user judging the threat level based on attribute information, so that the first virtual object can quickly respond when facing a threat.

[0119] In order to clearly distinguish the specific position of the second virtual object, the terminal adopts different display methods for the second virtual object within the virtual scene screen and the threat object model of the second virtual object outside the virtual scene screen, which simply and clearly displays the position of the second virtual object in the virtual scene, thereby improving the efficiency of obtaining the relative direction of the second virtual object.

[0120] In some embodiments, in order to enable the user to easily understand the position of the second virtual object indicated by the threat warning control within the threat warning range, the terminal first determines the relative direction between the second virtual object and the first virtual object, and then displays the threat warning control at the edge position of the target circular area corresponding to the relative direction in the virtual scene screen, where different edge positions on the target circular area correspond to different directions around the first virtual object.

[0121] Optionally, in some scenarios, in order to simplify the display content in the virtual scene picture, the target circular area is not visible in the virtual scene picture.

[0122] In one possible embodiment, the terminal determines the relative position of the second virtual object based on the coordinate positions of the second virtual object and the first virtual object in the virtual scene, and then determines the edge position of the threat warning control on the target circular area based on the relative position and the relative angle of the positive direction of the viewing angle of the first virtual object (that is, the relative direction of the second virtual object), and then displays the threat warning control.

[0123] For example, as shown in FIG12 , the positive viewing direction of the first virtual object 1201 is vertically upward in the virtual scene image, and the relative angle between the second virtual object 1202 and the positive viewing direction of the first virtual object 1201 is x, where x is between -180° and +180°. The edge position of the threat warning control 1203 on the target circular area 1204 can be determined based on the angle x. The target circular area 1204 shown in dashed lines is not visible in the virtual scene image.

[0124] Since the target circular area is in the virtual scene screen, the threat warning control displayed on it can be directly perceived by the user controlling the first virtual object, and the position where the threat warning control is displayed also provides directional guidance, which can serve as a better prompt and instruction.

[0125] In some embodiments, considering that the second virtual object may leave the perception range of the first virtual object during the movement of the first virtual object or the second virtual object, in order to avoid the threat warning control interfering with the display of other content in the virtual scene screen, when the second virtual object leaves the perception range of the first virtual object, the terminal stops displaying the threat object model and the threat warning control.

[0126] In addition, considering that the second virtual object may enter the perception range of the first virtual object again after leaving the perception range of the first virtual object, in order to ensure that the user can quickly understand the attribute information of the second virtual object while manipulating the movement of the first virtual object, the terminal retains the threat object model when the second virtual object enters the threat warning range again and the time it leaves the threat warning range does not reach the time threshold, that is, the terminal displays the threat warning control and the threat object model in the virtual scene screen, and the user does not need to trigger the threat warning control to display the threat object model again; when the second virtual object enters the threat warning range again and the time it leaves the threat warning range reaches the time threshold, the terminal displays the threat warning control in the virtual scene screen, and then displays the threat object model in the virtual scene screen in response to the triggering operation of the threat warning control.

[0127] For example, as shown in FIG13 , the duration threshold is 1 minute. If the second virtual object reenters the perception range after leaving the perception range for 80 seconds, the terminal displays virtual scene screen 1310, and displays threat warning control 1301 in virtual scene screen 1310. In response to a triggering operation on threat warning control 1301, the terminal changes from displaying virtual scene screen 1310 to displaying virtual scene screen 1320, and displays threat object model 1302 and threat warning control 1301 in virtual scene screen 1320. If the second virtual object reenters the perception range after leaving the perception range for 30 seconds, the terminal displays virtual scene screen 1320, and displays threat warning control 1301 and threat object model 1302 in virtual scene screen 1320.

[0128] In the above embodiment, the terminal determines the display position and indication direction of the threat warning control on the target circular area so that the user can quickly understand the relative position of the second virtual object. In addition, the terminal limits the display and stop display timing of the threat object model and the threat warning control. The threat object model and the threat warning control can be automatically displayed or automatically stopped, without the user having to repeatedly turn on or off the display in a short period of time, thereby simplifying the operation steps.

[0129] Considering that the user cannot determine the attack range or attack timing of the second virtual object, if the second virtual object actively attacks the first virtual object, the first virtual object may miss the opportunity to retreat or attack due to untimely response. Therefore, the terminal can also display an object lock control in the virtual scene screen, and quickly respond to the attack behavior of the second virtual object by locking the second virtual object.

[0130] In some embodiments, the terminal displays an object lock control in the virtual scene screen, and then, in response to a triggering operation on the object lock control, sets the second virtual object to a locked state. In the locked state, in response to the second virtual object initiating an attack, the terminal locks the perspective of the second virtual object, wherein, after the perspective is locked, the perspective of the first virtual object automatically adjusts to the position of the second virtual object.

[0131] Optionally, the object lock control may be displayed when the terminal displays a threat warning control, or may be displayed when the terminal displays a threat object model.

[0132] Regarding the implementation of perspective locking, in one possible implementation, the terminal obtains the position of the second virtual object in the virtual scene in real time, and then automatically adjusts the shooting perspective according to the position of the second virtual object relative to the first virtual object.

[0133] Optionally, after the second virtual object is set to the locked state, the first virtual object can automatically prepare for battle. For example, in the locked state, the first virtual object automatically reloads ammunition and switches to a defensive posture, thereby improving the first virtual object's counterattack efficiency.

[0134] For example, as shown in Figure 14, the terminal displays an object lock control 1401 in the virtual scene screen. After the user triggers the object lock control 1401, the terminal sets the second virtual object 1402 to a locked state. In response to the second virtual object 1402 launching an attack, the terminal automatically changes the perspective and displays the second virtual object 1402 as the center of the virtual scene screen.

[0135] Optionally, there may be multiple second virtual objects within the perception range of the first virtual object, or there may be only one second virtual object.

[0136] If multiple second virtual objects exist within the perception range of a first virtual object, in one possible implementation, the terminal displays multiple threat warning controls to indicate the relative positions of different second virtual objects. When a threat warning control is triggered, the terminal displays a threat object model of the second virtual object indicated by the threat warning control, and then, in response to the triggering operation of the object lock control, sets the second virtual object to a locked state. By repeating the above steps, multiple second virtual objects can be locked simultaneously. If a first virtual object is attacked, the terminal locks the view of the second virtual object that initiated the attack.

[0137] It should be noted that, when there is only one second virtual object within the perception range of the first virtual object and the second virtual object is not locked, in response to the second virtual object launching an attack, the terminal may also lock the perspective of the second virtual object.

[0138] In some embodiments, in the locked state, in response to a second virtual object initiating an attack, the terminal highlights the threat warning control corresponding to the second virtual object. For example, the terminal enlarges the threat warning control corresponding to the second virtual object, or changes the display color of the threat warning control corresponding to the second virtual object.

[0139] Optionally, when the second virtual object in the locked state does not attack the first virtual object, the first virtual object may actively attack the second virtual object.

[0140] In some embodiments, the attack skills of the first virtual object include skills with a specified release location and skills without a specified release location. Skills with a specified release location are released based on the release location selected by the user. For example, the user selects the skill release direction by controlling the joystick, and the skill is then released in the selected direction. Skills without a specified release location are automatically released towards the second virtual object based on its position.

[0141] In an embodiment of the present application, in a locked state, in response to a target skill release operation, the terminal controls the first virtual object to release the skill toward the position of the second virtual object. The target skill release operation refers to a skill release operation without specifying a release direction.

[0142] It should be noted that in the locked state, since the second virtual object may not initiate an attack, or the first virtual object may retreat in a defensive posture, in some embodiments, the first virtual object can move freely in the locked state. In addition, if the second virtual object is defeated, the terminal does not need to continue to lock on the second virtual object.

[0143] In some embodiments, when the second virtual object leaves the perception range of the first virtual object, or the second virtual object is defeated, the terminal releases the locked state.

[0144] In some embodiments, considering that the first virtual object may move towards the second virtual object in a locked state during free movement, that is, the second virtual object may enter the visible range from the perception range, the threat object model in the virtual scene screen needs to be switched to the specific image of the second virtual object after entering the visible range.

[0145] In a possible implementation, when the second virtual object enters the visual range of the first virtual object, the threat object model is gradually made transparent.

[0146] Exemplarily, as shown in FIG15 , when the second virtual object 1501 has not entered the visible range, the threat object model 1502 is a red-filled outline. After the second virtual object 1501 enters the visible range, the threat object model 1502 is covered on the upper layer of the second virtual object 1501 and changes with the movement of the second virtual object 1501. Within 3 seconds after the second virtual object 1501 enters the visible range, the threat object model 1502 gradually becomes transparent, displaying the second virtual object 1501 at the position of the threat object model 1502 within the visible range.

[0147] In the above embodiment, the terminal provides a locking function for the second virtual object by displaying an object locking control, so as to quickly respond to the attacking behavior of the second virtual object in the locked state, eliminating the user's frequent switching of perspectives and simplifying the user's operation steps on the first virtual object.

[0148] In some embodiments, after determining the threat level of the second virtual object to the first virtual object, the terminal can display a threat warning control with a prompt color corresponding to the threat level in the virtual scene screen, that is, when the second virtual object enters the threat warning range, the terminal displays a threat warning control with a corresponding prompt color according to the threat level of the second virtual object.

[0149] In the above embodiment, the user does not need to understand the threat level of the second virtual object by triggering the threat warning control to display the threat object model, which simplifies the operation steps and improves the efficiency of the user in obtaining virtual object information.

[0150] Please refer to FIG16 , which shows a flowchart of a virtual object information display process provided by an exemplary embodiment of the present application. The process includes the following steps:

[0151] Step 1601: Determine whether the second virtual object enters the perception range of the first virtual object.

[0152] Step 1602: Display a threat warning control when the second virtual object enters the perception range of the first virtual object.

[0153] Step 1603: Determine whether the user triggers the threat warning control.

[0154] Step 1604: When the user triggers the threat warning control, the threat object model is displayed.

[0155] Step 1605: Determine whether the user triggers the object lock control.

[0156] Step 1606: When the user triggers the object lock control, the second virtual object is set to a locked state.

[0157] Step 1607: Determine whether the second virtual object in the locked state initiates an attack.

[0158] In the case that the second virtual object in the locked state does not attack the first virtual object, step 1609 may be executed, or retreat may be selected.

[0159] When the second virtual object in the locked state attacks the first virtual object, step 1608 is executed.

[0160] Step 1608: When the second virtual object in the locked state attacks the first virtual object, the perspective of the second virtual object is locked.

[0161] Step 1609: The first virtual object attacks the second virtual object.

[0162] Please refer to FIG17 , which shows a block diagram of a virtual object information display device provided by an exemplary embodiment of the present application. The device includes:

[0163] The picture display module 1701 is used to display a virtual scene picture, where the virtual scene picture is a picture obtained by shooting the virtual scene from the perspective of the first virtual object;

[0164] a control display module 1702 configured to display a threat warning control in the virtual scene when a second virtual object enters the threat warning range of the first virtual object, the threat warning control being configured to indicate the second virtual object's position within the threat warning range, the second virtual object belonging to a different faction than the first virtual object, and the threat warning range being larger than the visual range of the first virtual object but smaller than the perception range of the first virtual object;

[0165] The model display module 1703 is configured to display a threat object model in the virtual scene in response to a triggering operation on the threat warning control, where the threat object model is used to represent attribute information of the second virtual object.

[0166] Optionally, the model display module 1703 is further configured to:

[0167] generating the threat object model based on the attribute information of the second virtual object;

[0168] Determining a target display position of the threat object model based on a position of the second virtual object in the virtual scene and a scene range represented by the virtual scene picture;

[0169] The threat object model is displayed at the target display position on the virtual screen.

[0170] Optionally, the model display module 1703 is further configured to:

[0171] Determining, based on the attribute information of the second virtual object, a state completeness of the second virtual object, where the state completeness is used to represent a degree of completeness of a current state of the second attribute object;

[0172] determining a color filling ratio of the threat object model based on the state completeness, wherein the color filling ratio is positively correlated with the state completeness;

[0173] The threat object model is filled with color according to the color filling ratio.

[0174] Optionally, the model display module 1703 is further configured to:

[0175] determining, based on attribute information of the first virtual object and the second virtual object, a threat level of the second virtual object to the first virtual object;

[0176] Filling the threat object model with color according to the color filling ratio includes:

[0177] The threat object model is filled with color using the prompt color corresponding to the threat level and according to the color filling ratio.

[0178] Optionally, the model display module 1703 is further configured to:

[0179] The threat warning control is displayed in the virtual scene screen using a prompt color corresponding to the threat level.

[0180] Optionally, the model display module 1703 is further configured to:

[0181] In a case where the position of the second virtual object in the virtual scene is within the scene range represented by the virtual scene picture, determining the target display position of the threat object model according to the projection position of the second virtual object in the virtual scene picture;

[0182] When the position of the second virtual object in the virtual scene is outside the scene range represented by the virtual scene picture, determine the target picture edge of the virtual scene picture, where the target picture edge is the picture edge of the virtual scene picture that is closest to the projection position of the second virtual object; and determine the target picture edge as the target display position of the threat object model.

[0183] Optionally, the model display module 1703 is further configured to:

[0184] When the position of the second virtual object in the virtual scene is outside the scene range represented by the virtual scene screen, an arrow mark is displayed between the edge of the target screen and the threat object model, and the arrow mark is used to indicate that the second virtual object is outside the virtual scene screen;

[0185] When the second virtual object moves into the scene range represented by the virtual scene image, the arrow mark stops being displayed.

[0186] Optionally, the control display module 1702 is further configured to:

[0187] determining a relative direction between the second virtual object and the first virtual object;

[0188] The threat warning control is displayed at an edge position of a target circular area corresponding to the relative direction in the virtual scene screen, and different edge positions on the target circular area correspond to different directions around the first virtual object.

[0189] Optionally, the device further includes a locking module, configured to:

[0190] Displaying an object locking control in the virtual scene screen;

[0191] In response to a triggering operation on the object lock control, setting the second virtual object to a locked state;

[0192] In the locked state, in response to the second virtual object launching an attack, the perspective of the second virtual object is locked, wherein after the perspective is locked, the perspective of the first virtual object is automatically adjusted to the position of the second virtual object.

[0193] Optionally, the locking module is further used to:

[0194] In the locked state, in response to a target skill release operation, the first virtual object is controlled to release a skill toward the position of the second virtual object, wherein the target skill release operation refers to a skill release operation without specifying a release direction.

[0195] Optionally, the locking module is further used to:

[0196] When the second virtual object leaves the perception range of the first virtual object, or the second virtual object is defeated, the locked state is released.

[0197] Optionally, the locking module is further used to:

[0198] In the locked state, in response to the second virtual object launching an attack, the threat warning control corresponding to the second virtual object is highlighted.

[0199] Optionally, the control display module 1702 and the model display module 1703 are further configured to:

[0200] When the second virtual object leaves the perception range of the first virtual object, stopping displaying the threat object model and the threat warning control;

[0201] When the second virtual object enters the threat warning range again and the time it has been away from the threat warning range reaches a time threshold, displaying the threat warning control in the virtual scene screen;

[0202] When the second virtual object enters the threat warning range again and the time duration of leaving the threat warning range does not reach a time duration threshold, the threat warning control and the threat object model are displayed in the virtual scene screen.

[0203] Optionally, the model display module 1703 is further configured to:

[0204] When the second virtual object enters the visual range of the first virtual object, the threat object model is gradually made transparent.

[0205] In summary, in the embodiments of the present application, when a second virtual object enters the threat warning range, the terminal displays a threat warning control to indicate the second virtual object's location within the threat warning range. Furthermore, when the threat warning control is triggered, the terminal displays a threat object model representing the attribute information of the second virtual object. This eliminates the need for the user to manipulate the first virtual object closer to the second virtual object to obtain the attribute information of the second virtual object within the field of view. This simplifies the process of acquiring virtual object information and improves information acquisition efficiency. Furthermore, based on the displayed information, the user can make strategic decisions in advance, effectively avoiding risks and, when preparing for a fight, improving the efficiency of the first virtual object's engagement.

[0206] It should be noted that the apparatus provided in the above embodiments is merely exemplified by the division of the above functional modules. In actual applications, the above functions can be distributed among different functional modules as needed, that is, the internal structure of the apparatus can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments are based on the same concept. The implementation process is detailed in the method embodiments and will not be repeated here.

[0207] Please refer to Figure 18, which shows a block diagram of a terminal 1800 provided in an exemplary embodiment of the present application. The terminal 1800 may be a portable mobile terminal, such as a smartphone or tablet computer. The terminal 1800 may also be referred to as a user equipment, a portable terminal, or other names.

[0208] Typically, the terminal 1800 includes a processor 1801 and a memory 1802 .

[0209] The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1801 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 1801 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1801 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1801 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0210] The memory 1802 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1802 is used to store at least one instruction, which is executed by the processor 1801 to implement the virtual object information display method provided in the embodiment of the present application.

[0211] In some embodiments, the terminal 1800 may optionally further include: a peripheral device interface 1803 and at least one peripheral device.

[0212] The peripheral device interface 1803 can be used to connect at least one peripheral device related to input / output (I / O) to the processor 1801 and the memory 1802. In some embodiments, the processor 1801, the memory 1802, and the peripheral device interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1801, the memory 1802, and the peripheral device interface 1803 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0213] Those skilled in the art will understand that the structure shown in FIG18 does not constitute a limitation on the terminal 1800 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0214] In addition, an embodiment of the present application further provides a storage medium, which is used to store a computer program, and the computer program is used to execute the method provided by the above embodiment.

[0215] An embodiment of the present application further provides a computer program product including a computer program, which, when executed on a computer, enables the computer to execute the method provided in the above embodiment.

[0216] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable storage medium or transmitted as one or more instructions or codes on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0217] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for displaying information of a virtual object, which is executed by a terminal device. The method includes: Displaying a virtual scene screen, where the virtual scene screen is a screen obtained by shooting a virtual scene from the perspective of a first virtual object; When a second virtual object enters the threat warning range of the first virtual object, displaying a threat warning control in the virtual scene screen, where the threat warning control is used to indicate the position of the second virtual object within the threat warning range. The second virtual object and the first virtual object belong to different camps. The threat warning range is larger than the visible range of the first virtual object and smaller than the perception range of the first virtual object; In response to a trigger operation on the threat warning control, displaying a threat object model in the virtual scene screen, where the threat object model is used to represent the attribute information of the second virtual object.

2. The method according to claim 1, where displaying the threat object model in the virtual scene screen includes: Generating the threat object model based on the attribute information of the second virtual object; Based on the position of the second virtual object in the virtual scene and the scene range represented by the virtual scene screen, determining the target display position of the threat object model; Displaying the threat object model at the target display position in the virtual scene screen.

3. The method according to claim 2, where generating the threat object model based on the attribute information of the second virtual object includes: Based on the attribute information of the second virtual object, determining the state integrity of the second virtual object, where the state integrity is used to represent the integrity of the current state of the second attribute object; Based on the state integrity, determining the color filling ratio of the threat object model, where the color filling ratio has a positive correlation with the state integrity; Filling the threat object model with color according to the color filling ratio.

4. The method according to claim 3, where the method further includes: Based on the attribute information of the first virtual object and the second virtual object, determining the threat level of the second virtual object to the first virtual object; The filling the threat object model with color according to the color filling ratio includes: Using the hint color corresponding to the threat level to fill the threat object model with color according to the color filling ratio.

5. The method according to claim 4, where displaying the threat warning control in the virtual scene screen includes: Displaying the threat warning control with the hint color corresponding to the threat level in the virtual scene screen.

6. The method according to claim 2, where based on the position of the second virtual object in the virtual scene and the scene range represented by the virtual scene screen, determining the target display position of the threat object model includes: In a case where the position of the second virtual object in the virtual scene is within the scene range represented by the virtual scene picture, determining the projection position of the second virtual object in the virtual scene picture as the target display position of the threat object model; When the position of the second virtual object in the virtual scene is outside the scene range represented by the virtual scene picture, determine the target picture edge of the virtual scene picture, where the target picture edge is the picture edge of the virtual scene picture that is closest to the projection position of the second virtual object; and determine the target picture edge as the target display position of the threat object model.

7. The method according to claim 6, further comprising: In a case where the position of the second virtual object in the virtual scene is outside the scene range represented by the virtual scene picture, an arrow mark is displayed between the edge of the target picture and the threat object model, and the arrow mark is used to indicate that the second virtual object is outside the virtual scene picture; When the second virtual object moves into the scene range represented by the virtual scene picture, the arrow mark stops being displayed.

8. The method according to any one of claims 1 to 7, wherein displaying a threat warning control in the virtual scene screen comprises: determining a relative direction between the second virtual object and the first virtual object; The threat warning control is displayed at an edge position of a target circular area corresponding to the relative direction in the virtual scene screen, and different edge positions on the target circular area correspond to different directions around the first virtual object.

9. The method according to any one of claims 1 to 7, further comprising: Displaying an object locking control in the virtual scene screen; In response to a triggering operation on the object lock control, setting the second virtual object to a locked state; In the locked state, in response to the second virtual object launching an attack, the perspective of the second virtual object is locked, wherein after the perspective is locked, the perspective of the first virtual object is automatically adjusted to the position of the second virtual object.

10. The method according to claim 9, further comprising: In the locked state, in response to a target skill release operation, the first virtual object is controlled to release a skill toward a position where the second virtual object is located, and the target skill release operation refers to a skill release operation without specifying a release direction.

11. The method according to claim 9, further comprising: When the second virtual object leaves the perception range of the first virtual object, or the second virtual object is defeated, the locked state is released.

12. The method according to claim 9, further comprising: In the locked state, in response to the second virtual object launching an attack, the threat warning control corresponding to the second virtual object is highlighted.

13. According to the method described in any one of claims 1 to 7, after displaying the threat object model in the virtual scene screen, the method further includes: When the second virtual object leaves the perception range of the first virtual object, stop displaying the threat object model and the threat warning control; When the second virtual object enters the threat warning range again and the duration of leaving the threat warning range reaches the duration threshold, display the threat warning control in the virtual scene screen; When the second virtual object enters the threat warning range again and the duration of leaving the threat warning range does not reach the duration threshold, display the threat warning control and the threat object model in the virtual scene screen.

14. According to the method described in any one of claims 1 to 7, after displaying the threat object model in the virtual scene screen, the method further includes: When the second virtual object enters the visible range of the first virtual object, gradually make the threat object model transparent.

15. An information display device for virtual objects, the device includes: A screen display module, configured to display a virtual scene screen, where the virtual scene screen is a screen obtained by shooting a virtual scene from the perspective of a first virtual object; A control display module, configured to display a threat warning control in the virtual scene screen when a second virtual object enters the threat warning range of the first virtual object, where the threat warning control is used to indicate the position of the second virtual object within the threat warning range, the second virtual object and the first virtual object belong to different camps, the threat warning range is greater than the visible range of the first virtual object and less than the perception range of the first virtual object; A model display module, configured to display a threat object model in the virtual scene screen in response to a trigger operation on the threat warning control, where the threat object model is used to represent the attribute information of the second virtual object.

16. A computer device, the computer device includes a processor and a memory, and at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the information display method for virtual objects described in any one of claims 1 to 14.

17. A computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the information display method for virtual objects described in any one of claims 1 to 14.

18. A computer program product, the computer program product includes computer instructions, the computer program is stored in a computer-readable storage medium; a processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the information display method for virtual objects described in any one of claims 1 to 14.

Citation Information

Patent Citations

  • Virtual object position display method and device, equipment and storage medium

    CN111414080A

  • Virtual object prompting and viewing method and device, computer equipment and storage medium

    CN112843716A

  • Exploration method and device in virtual world, equipment, medium and program product

    CN116920398A

  • Feedback for enhanced situational awareness

    US20160184703A1

  • Mitigating collisions in a physical space during gaming

    US20160243443A1