Virtual scene display method and apparatus, computer device and storage medium

By enabling object detection in the game, target objects are detected and displayed in a special way, solving the problem of poor interactive effects of virtual objects. This enables rapid detection and information viewing, improving interaction efficiency and user experience.

WO2025241757A1PCT designated stage Publication Date: 2025-11-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/087795
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-05-22
Filing Date
2025-04-08
Publication Date
2025-11-27

AI Technical Summary

Technical Problem

In existing games, the interaction between virtual objects is poor and inefficient. Users need to get close to the target object to view its associated information, which increases the detection and interaction time.

Method used

By enabling the object detection function, target type objects around the virtual object are detected and displayed in a special display state, allowing users to aim at the detected object and view its associated information, thus achieving rapid detection and information display.

Benefits of technology

It improves the efficiency of interaction between virtual objects, saves the time of detecting and approaching the target object, and enhances human-computer interaction efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025087795_27112025_PF_FP_ABST
    Figure CN2025087795_27112025_PF_FP_ABST
Patent Text Reader

Abstract

A virtual scene display method and apparatus, a computer device and a storage medium, belonging to the technical field of computers. The method comprises: when an object detection function has been started, displaying in a virtual scene a first virtual object of a target type in a first display state; and, when the first virtual object has been aimed at, displaying in the virtual scene information associated with the first virtual object.
Need to check novelty before this filing date? Find Prior Art

Description

Virtual scene display method and device, computer device, and storage medium

[0001] The present application claims priority to the Chinese patent application No. 202410643681.7, filed on May 22, 2024, and entitled "Virtual scene display method and device, computer device, and storage medium", the entire content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] Embodiments of the present application relate to the field of computer technology, in particular to a virtual scene display method and device, computer device, and storage medium. BACKGROUND

[0003] With the development of computer technology, games are becoming more and more popular. In the current games, users can control virtual objects to move in a virtual scene, so as to talk with other virtual objects in the virtual scene or view other virtual objects, etc. SUMMARY

[0004] Embodiments of the present application provide a virtual scene display method and device, computer device, and storage medium, which can improve the interaction effect and thus improve the interaction efficiency. The technical solution is as follows:

[0005] In one aspect, a virtual scene display method is provided, the method comprising:

[0006] In a case where an object detection function is turned on, displaying a first virtual object belonging to a target type in a virtual scene in a first display state, the object detection function being used to detect virtual objects belonging to the target type around a second virtual object, the first display state indicating that the first virtual object is detected;

[0007] In a case where the first virtual object is aimed, displaying information associated with the first virtual object in the virtual scene.

[0008] In another aspect, a virtual scene display device is provided, the device comprising:

[0009] The display module is further configured to, in a case where an object detection function is turned on, display a first virtual object belonging to a target type in a virtual scene in a first display state, the object detection function being used to detect virtual objects belonging to the target type around a second virtual object, the first display state indicating that the first virtual object is detected;

[0010] The display module is further configured to, in a case where the first virtual object is aimed, display information associated with the first virtual object in the virtual scene.

[0011] In another aspect, a computer device is provided, which includes a processor and a memory, and the memory has stored therein at least one computer program, which is loaded and executed by the processor to implement the operations performed by the virtual scene display method according to the above aspect.

[0012] In another aspect, a computer readable storage medium is provided, which has stored therein at least one computer program, which is loaded and executed by a processor to implement the operations performed by the virtual scene display method according to the above aspect.

[0013] In another aspect, a computer program product is provided, which includes a computer program, which, when executed by a processor, implements the operations performed by the virtual scene display method according to the above aspect.

[0014] The scheme provided by the embodiments of the present application can detect the virtual objects of the target type around the virtual object controlled by the local end by starting the object detection function, and display the virtual objects in a special display state to remind which virtual objects are detected, view the information associated with the first virtual object that has been detected in a manner of aiming, and directly display the information in the virtual scene, thereby realizing a new interaction manner between virtual objects, quickly detecting the virtual objects of the target type, and saving the time for searching the virtual objects of the target type in the virtual scene by the human, improving the detection efficiency, viewing the information associated with the first virtual object by only aiming at the first virtual object that has been detected, saving the time for controlling the second virtual object to approach the first virtual object, guaranteeing the interaction effect, improving the interaction efficiency between virtual objects, and further improving the human-computer interaction efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0015] FIG. 1 is a structural schematic diagram of an implementation environment provided by the embodiments of the present application;

[0016] FIG. 2 is a flowchart of a virtual scene display method provided by the embodiments of the present application;

[0017] FIG. 3 is a flowchart of another virtual scene display method provided by the embodiments of the present application;

[0018] FIG. 4 is a flowchart of still another virtual scene display method provided by the embodiments of the present application;

[0019] FIG. 5 is a flowchart of still another virtual scene display method provided by the embodiments of the present application;

[0020] FIG. 6 is a flowchart of still another virtual scene display method provided by the embodiments of the present application;

[0021] FIG. 7 is a schematic diagram of a virtual scene according to an embodiment of the present application;

[0022] FIG. 8 is a schematic diagram of another virtual scene according to an embodiment of the present application;

[0023] FIG. 9 is a schematic diagram of still another virtual scene according to an embodiment of the present application;

[0024] FIG. 10 is a schematic diagram of still another virtual scene according to an embodiment of the present application;

[0025] FIG. 11 is a schematic diagram of still another virtual scene according to an embodiment of the present application;

[0026] FIG. 12 is a schematic diagram of still another virtual scene according to an embodiment of the present application;

[0027] FIG. 13 is a schematic diagram of still another virtual scene according to an embodiment of the present application;

[0028] FIG. 14 is a schematic diagram of still another virtual scene according to an embodiment of the present application;

[0029] FIG. 15 is a flowchart of a virtual scene display method according to an embodiment of the present application;

[0030] FIG. 16 is a schematic diagram of a virtual scene display apparatus according to an embodiment of the present application;

[0031] FIG. 17 is a schematic diagram of a terminal according to an embodiment of the present application;

[0032] FIG. 18 is a schematic diagram of a server according to an embodiment of the present application. DETAILED DESCRIPTION

[0033] The terms "first", "second", "third", "fourth", "fifth", "sixth" and the like in the description and in the claims, if any, are used for distinguishing between similar elements and not necessarily described in chronological order. Each of the terms "first", "second", "third", "fourth", "fifth", "sixth" and the like can denote the same or different

[0034] As used herein, the terms "at least one", "multiple", "each", "any", include one, two, or more, multiple includes two or more, and each refers to each of a corresponding plurality, and any refers to any of a plurality. For example, a plurality of virtual objects includes 3 virtual objects, and each refers to each of the 3 virtual objects, and any refers to any of the 3 virtual objects, which can be the first virtual object, or the second virtual object, or the third virtual object.

[0035] In the current game, a virtual object can only talk to or view other virtual objects when it is close to the other virtual objects, and the interaction effect of this interaction mode is poor and the interaction efficiency is low.

[0036] In order to facilitate understanding of the embodiments of the present application, some terms related to the embodiments of the present application are explained first:

[0037] Virtual scene: is a virtual scene displayed (or provided) when running on a terminal, that is, a scene displayed when the terminal runs a game, also known as a large world scene. The virtual scene is a simulated environment of the real world, or a virtual environment that is half simulated and half fictional, or a purely fictional virtual environment. The virtual scene is any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene, which is not limited by the present application. For example, the virtual scene includes sky, land, ocean, etc., the land includes desert, city, etc. environment elements, and the user can control the virtual object to move in the virtual scene. Of course, the virtual scene also includes virtual items, such as virtual throwing objects, virtual buildings, virtual vehicles, etc. virtual props, and the virtual scene can also be used to simulate real environments under different weather conditions, such as sunny, rainy, foggy, or night, etc. Various scene elements enhance the diversity and reality of the virtual scene.

[0038] Virtual object: refers to a virtual character that can move in a virtual scene. The movable object is a virtual person, a virtual animal, an animation character, etc. The virtual object is a virtual image in the virtual scene that represents a user. The virtual scene includes a plurality of virtual objects, each virtual object has its own shape and volume in the virtual scene, and occupies a part of the space in the virtual scene. Optionally, the virtual object is a character controlled by operating on the client, or an artificial intelligence (AI) set in the virtual environment through training, or a non-player character (NPC) set in the virtual scene. Optionally, the virtual object is a virtual person competing in the virtual scene.

[0039] Virtual props: refer to props that can be used with virtual objects in a virtual scene. For example, virtual props are virtual weapons, virtual cars, or other virtual objects.

[0040] It should be noted that the 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 involved in the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions. For example, the information involved in the present application is obtained under full authorization.

[0041] The virtual scene display method provided by the embodiments of the present application is executed by a computer device. Optionally, the computer device is a terminal or a server. Optionally, the server is an independent physical server, or a server cluster composed of multiple physical servers. Optionally, the terminal is a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart voice interaction device, a smart home appliance, and a vehicle-mounted terminal, but is not limited thereto.

[0042] In some embodiments, the computer device is provided as a terminal. FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Referring to FIG. 1, the implementation environment includes a terminal 101 and a server 102, and the terminal 101 and the server 102 are connected through a wireless or wired network. The server 102 is configured to provide data of a virtual scene for the terminal 101, and the terminal 101 is configured to display the virtual scene based on the data provided by the server 102.

[0043] In some embodiments, the terminal 101 is installed with an application provided by the server 102, and the terminal 101 can realize functions such as data transmission and game through the application. Optionally, the application is an application in the operating system of the terminal 101, or an application provided by a third party. For example, the application is a game application, which has the function of a game, and of course, the game application can also have other functions, such as a comment function, a shopping function, a navigation function, etc. The terminal 101 is configured to log in the application based on an account, display a virtual scene through the application, and in the process of displaying the virtual scene, the terminal 101 responds to an operation in the virtual scene, interacts with the server 102 through the application, so as to respond to the operation in the displayed virtual scene.

[0044] FIG. 2 is a flowchart of a virtual scene display method provided by an embodiment of the present application, which is executed by a terminal. As shown in FIG. 2, the method includes:

[0045] 201、in a case that the object detection function is turned on, the terminal displays a first virtual object belonging to the target type in the virtual scene in a first display state, the object detection function is used to detect virtual objects belonging to the target type around a second virtual object, and the first display state indicates that the first virtual object is detected.

[0046] In the embodiment of the present application, the terminal displays the virtual scene, displays the second virtual object in the virtual scene, so that the terminal controls the second virtual object to move or perform other operations in the virtual scene, and then interacts with other virtual objects in the virtual scene, for example, the user controls the second virtual object to talk with other virtual objects, view information associated with other virtual objects, or fight with other virtual objects, etc.

[0047] The second virtual object can be a virtual object controlled by the terminal, or can be another virtual object in the virtual scene. The second virtual object is an arbitrary type of virtual object, for example, the second virtual object is a virtual person, a virtual animal, or another type of virtual object, etc.

[0048] In the embodiment of the present application, the terminal can display the virtual scene in a first-person perspective or a third-person perspective when displaying the virtual scene. When the virtual scene is displayed in the first-person perspective, only part of the second virtual object is displayed in the virtual scene, and when the virtual scene is displayed in the third-person perspective, the complete second virtual object can be displayed in the virtual scene. For example, when the virtual scene is displayed in the first-person perspective, only the arm of the virtual object is displayed in the virtual scene. For another example, when the virtual scene is displayed in the third-person perspective, the entire virtual object is displayed in the virtual scene.

[0049] In the embodiment of the present application, the object detection function is used to detect virtual objects belonging to a special type around the second virtual object. In a case that the object detection function is turned on, the terminal can automatically detect virtual objects belonging to the target type around the second virtual object controlled by the terminal, and display the detected virtual objects in the virtual scene in a special display state, to prompt which virtual objects are detected, so as to control the second virtual object to interact with the detected virtual objects in the future.

[0050] In the embodiments of the present application, the virtual object of the target type can not be displayed in the virtual scene in the case that the object detection function is not started, and can be displayed in the virtual scene in the case that the object detection function is started. Alternatively, the virtual object of the target type can be displayed in the virtual scene in the case that the object detection function is not started, and can be displayed in the special display state, i.e., the first display state, in the case that the object detection function is started, while the virtual objects of other types are not displayed in the first display state, so that the user can know which virtual objects are the detected virtual objects of the target type by viewing the displayed virtual objects.

[0051] The first display state is different from the display state of the virtual object that is not detected. The first display state is an arbitrary display state, for example, the first display state refers to displaying a red special effect around the virtual object, or the virtual object is displayed in an enlarged manner. The first virtual object is an arbitrary type of virtual object, for example, the first virtual object is a virtual person, a virtual article, a virtual animal, a virtual building, etc. In the embodiments of the present application, the second virtual object can be represented by the same type of virtual object as the first virtual object, or can be represented by a different type of virtual object, for example, the second virtual object and the first virtual object are both virtual persons, or the second virtual object is a virtual person and the first virtual object is a virtual article.

[0052] The target type is an arbitrary type, for example, the target type is an invisible type, a task type or other types, etc. For example, the virtual object of the invisible type refers to the virtual object that cannot be displayed in the virtual scene in the case that the object detection function is not started, and the virtual object of the task type refers to the virtual object associated with the task of the second virtual object. For example, the virtual object of the task type cannot be displayed in the virtual scene in the case that the object detection function is not started, or the virtual object of the task type can be displayed in the virtual scene in the case that the object detection function is not started, and has the same display state as the other virtual objects in the virtual scene, so that the user cannot know which virtual objects are related to the task. The task refers to the task undertaken by the second virtual object, such as a task of searching for a virtual object or a task of searching for an article.

[0053] 202. In the case that the terminal has aimed at the first virtual object, the terminal displays the information associated with the first virtual object in the virtual scene.

[0054] In the embodiment of the present application, in the case that the target type virtual object is detected, the information associated with the detected virtual object belonging to the target type can be viewed in the manner of aiming, so as to be directly displayed in the virtual scene. In this way, even if the second virtual object is not close to the first virtual object, the information associated with the first virtual object can be viewed, the time required for controlling the second virtual object to be close to the first virtual object is saved, and the interaction efficiency can be improved.

[0055] The information associated with the first virtual object is used to describe the first virtual object, for example, the information associated with the first virtual object is used to describe the name of the first virtual object, the active area of the first virtual object, the way to obtain the first virtual object, and the like. The information associated with the first virtual object can be represented in any form, for example, the information associated with the first virtual object is text, image or video.

[0056] The scheme provided by the embodiment of the present application can detect the virtual objects belonging to the target type around the virtual object controlled by the local end by starting the object detection function, and display in a special display state to remind which virtual objects are detected. The information associated with the detected first virtual object is viewed in the manner of aiming and directly displayed in the virtual scene, a new interaction mode between virtual objects is realized, the target type virtual object can be quickly detected, the time required for searching the target type virtual object in the virtual scene by the artificial is saved, the detection efficiency is improved, the information associated with the first virtual object can be viewed only by aiming at the detected first virtual object, the second virtual object controlled by the local end does not need to be close to the first virtual object, the time required for controlling the second virtual object to be close to the first virtual object is saved, the interaction effect is guaranteed, the interaction efficiency between virtual objects is improved, and the human-computer interaction efficiency is further improved.

[0057] On the basis of the embodiment shown in FIG. 2, in the embodiment of the present application, the object detection function is started through the function entrance of the object detection function in the scene interface. The function entrance can be displayed in different display states to indicate whether there is a virtual object belonging to the target type around the second virtual object. The specific process is described in the following embodiments.

[0058] FIG. 3 is a flow chart of a virtual scene display method provided by an embodiment of the present application. The method is executed by a terminal, as shown in FIG. 3, and the method comprises the following steps.

[0059] 301. The terminal displays a virtual scene, and the virtual scene displays a second virtual object.

[0060] In a possible implementation manner, the virtual scene further displays a first virtual object and other virtual objects, and the first virtual object and the other virtual objects are displayed in a default display state.

[0061] The other virtual object is a virtual person, a virtual animal, or a virtual object, etc. The first virtual object is a virtual object of a target type, and the other virtual object is not a virtual object of the target type, i.e., the other virtual object is a virtual object of a type other than the target type. The default display state is any display state different from the first display state. For example, when the virtual object is displayed in the default display state, the shape and color of the virtual object itself can be displayed without additional special effects; when the virtual object is displayed in the first display state, in addition to the shape and color of the virtual object itself, additional special effects can be displayed around the virtual object.

[0062] In the embodiments of the present application, when the object detection function is not turned on, even if a virtual object of a target type is displayed in the virtual scene, the display state of the virtual object of the target type is the same as that of a virtual object of another type, so that the virtual object of the target type cannot be distinguished from the virtual object of another type when the object detection function is not turned on, which improves the interest of the game and further improves the user experience.

[0063] In a possible implementation, when the terminal displays the virtual scene, the displayed picture can be adjusted through a view angle adjustment operation or a movement operation on the virtual object, i.e., the method further includes: in response to a view angle adjustment operation on the virtual object, displaying an adjusted virtual scene, the adjusted virtual scene being obtained by a virtual camera in the virtual scene according to an adjusted view angle; and in response to a movement operation on the second virtual object, displaying a moved virtual scene and the movement of the second virtual object, the moved virtual scene being obtained by the virtual camera according to a moved position.

[0064] In the embodiments of the present application, the virtual camera in the virtual scene can capture the virtual scene according to any view angle, so that the terminal displays the virtual scene captured by the virtual camera. The view angle adjustment operation is used to adjust the view angle of the virtual camera, and the view angle of the virtual camera is adjusted through the view angle adjustment operation, so that the virtual scene captured by the virtual camera changes. The virtual camera and the second virtual object have a preset relative position relationship, and the relative position relationship between the virtual camera and the second virtual object remains unchanged regardless of how the first object moves in the virtual scene. During the movement of the second virtual object, the position of the virtual camera in the virtual scene changes with the movement of the second virtual object. When the position of the virtual camera in the virtual scene changes, the virtual scene captured by the virtual camera also changes. Therefore, the virtual scene displayed by the terminal is adjusted through the view angle adjustment operation or the movement operation on the second virtual object, so as to adjust the content displayed in the virtual scene.

[0065] For example, initially, the virtual scene displays a second virtual object but no other virtual objects. By adjusting the view or moving the second virtual object, the virtual scene can be adjusted so that the adjusted virtual scene displays both the second and first virtual objects.

[0066] 302. When there are virtual objects of the target type around the second virtual object, the display state of the display function entry in the virtual scene is switched to the third display state. The function entry is the entry of the object detection function. The third display state indicates that there are virtual objects of the target type around the second virtual object.

[0067] In this embodiment, a function entry point for object detection is displayed in the virtual scene. This function entry point is used to enable the object detection function, which detects virtual objects of the target type surrounding the second virtual object. If no virtual objects of the target type exist around the second virtual object, even if the object detection function is enabled through the function entry point, the target type virtual objects will not be displayed in a special way in the virtual scene. Therefore, once virtual objects of the target type exist around the second virtual object, the display state of the function entry point is switched in the virtual scene to indicate the presence of virtual objects of the target type around the second virtual object. At this time, enabling the object detection function through the function entry point can detect virtual objects of the target type in the surrounding area. This method of switching the display state of the function entry point achieves a strong reminder effect, eliminating the need for the user to manually search for virtual objects of the target type. It realizes an automatic detection and reminder method, helping users view virtual objects of the target type, improving operational convenience, thereby improving human-computer interaction efficiency and ultimately enhancing the user experience.

[0068] The function entry point can be represented in any form, for example, as a button. The third display state differs from the display state of other entry points or controls in the virtual scene; for example, the third display state may be a highlighted state or a blinking state.

[0069] For example, if there are no virtual objects of the target type around the second virtual object, the function entry is dimmed; if there are virtual objects of the target type around the second virtual object, the function entry is highlighted.

[0070] In the embodiment of the present application, in the case that the object detection function is not started, the display state of the function entry of the object detection function is different based on whether there is a virtual object of the target type around the second virtual object. As shown in FIG. 4, in the case that the virtual scene is displayed, it is detected in real time whether there is a virtual object of the target type around the second virtual object, and in the case that there is no virtual object of the target type around the second virtual object, the terminal displays the function entry in the fifth display state in the virtual scene, the fifth display state is a normal display state, at this time, the function entry is only a normal button, and once it is detected that there is a virtual object of the target type around the second virtual object, the terminal switches the display state of the function entry to the third display state in the virtual scene to display the display special effect corresponding to the function entry to prompt that there is a virtual object of the target type around the second virtual object.

[0071] In a possible implementation, in the case that there is no virtual object of the target type around the second virtual object, the display state of the function entry of the object detection function is the same as that of other entries or controls.

[0072] For example, the function entry of the object detection model and other function buttons are displayed in the virtual scene, at this time, the function entry and the other function buttons are only displayed in the default state, and in the case that there is a virtual object of the target type around the second virtual object, the display state of the function entry is switched from the default state to the flashing display state, and the display state of the other function buttons is still the default state.

[0073] In a possible implementation, in the case that there is no virtual object of the target type around the second virtual object, the function entry of the object detection function is displayed in the inactivated state, and in the case that there is a virtual object of the target type around the second virtual object, the function entry of the object detection function is displayed in the activated state.

[0074] In the embodiment of the present application, when the function entry is displayed in the inactivated state, the function entry cannot be triggered, and when the function entry is displayed in the activated state, the function entry can be triggered, so that the case that the function entry is mistakenly triggered when there is no virtual object of the target type around the second virtual object can be avoided, the case that the virtual object of the target type cannot be displayed after the function entry is mistakenly triggered can be avoided, and as long as the object detection function can be started, the virtual object of the target type can be detected, the success rate of starting the object detection function can be ensured, and the success rate of detecting the virtual object of the target type can be ensured.

[0075] In a possible implementation, the step 302 includes: in the case that there is a virtual object of the target type in the detection range, the display state of the function entry is switched to the third display state in the virtual scene, and the detection range is a range with the position of the second virtual object as the center and with the first distance as the radius.

[0076] In the embodiment of the present application, when the object detection function is not turned on, whether there is a virtual object of the target type around the second virtual object can be detected according to a detection range centered on the position of the second virtual object controlled by the local terminal. If there is a virtual object of the target type in the detection range, it is equivalent to detecting that there is a virtual object of the target type around the second virtual object. Once it is detected that there is a virtual object of the target type around the second virtual object, the display state of the function entry is switched to prompt that there is a virtual object of the target type around the second virtual object. In this way, detection is performed based on the detection range, rather than detecting virtual objects in an arbitrary range, so as to promote the user to control the second virtual object to move in the virtual scene to change the detection range, and then detect virtual objects in different ranges, thereby improving the interactivity of the game.

[0077] The detection range is a circular range, and the first distance is an arbitrary distance, for example, 10 or 20 meters. In the embodiment of the present application, the detection range is also equivalent to a warning range. When it is detected that there is a virtual object of the target type in the warning range, the display state of the function entry is switched to prompt.

[0078] Optionally, the detection range is a detection range corresponding to the object detection function.

[0079] In the embodiment of the present application, the detection can be performed in advance according to the detection range when the object detection function is not turned on, so as to prewarn the presence of a virtual object of the target type around the second virtual object, thereby improving the display effect.

[0080] Optionally, the first distance is a detection distance corresponding to the second virtual object.

[0081] In the embodiment of the present application, the detection distances corresponding to different virtual objects can be different, so as to enrich the multiple possibilities of the game and improve the interest of the game.

[0082] For example, the detection distance (i.e., the first distance) corresponding to the second virtual object controlled by the local terminal is 10 meters, and the detection distances corresponding to virtual objects controlled by other terminals are 15 meters.

[0083] Optionally, the process of determining the first distance includes: determining a detection distance corresponding to a detection auxiliary prop, and determining the sum of the detection distance corresponding to the detection auxiliary prop and a default distance of the second virtual object as the first distance, wherein the detection auxiliary prop is a detection auxiliary prop equipped by the second virtual object.

[0084] In the embodiments of the present application, the virtual object in the virtual scene corresponds to a default detection distance, the default detection distances corresponding to different virtual objects can be the same or different, and there is a detection auxiliary prop in the virtual scene. The detection auxiliary prop can improve the detection distance of the virtual object. The sum of the default detection distance of the virtual object and the detection distance corresponding to the equipped detection auxiliary prop is taken as the detection distance corresponding to the second virtual object, which can encourage the user to control the virtual object to search for the detection auxiliary prop in the virtual scene to improve the detection distance, thereby improving the interactivity and interest of the game.

[0085] Optionally, different detection auxiliary props correspond to different detection distances. For example, the detection auxiliary prop includes virtual radars of different levels, and the higher the level, the greater the detection distance corresponding to the virtual radar.

[0086] Optionally, the default detection distance corresponding to the virtual object is related to the object information of the virtual object. For example, the object information indicates the professional type or the camp to which the virtual object belongs. Different professional types correspond to different unit detection distances, and different camps correspond to different unit detection distances. Based on the object information of the second virtual object, the sum of the unit detection distance corresponding to the professional type and the unit detection distance corresponding to the camp is determined as the default detection distance corresponding to the virtual object. For example, the camp includes an attacking camp, a defending camp, etc., and the detection distance of the attacking camp is greater than that of the defending camp, or the detection distance of the attacking camp is less than that of the defending camp. In the embodiments of the present application, the detection distance is given to the camp to which the virtual object belongs, so that the detection distance becomes the core parameter of the camp, which can encourage the player to combine the camp to which the virtual object belongs to formulate the strategy of moving the virtual object in the virtual scene, thereby enriching the strategy of the game and the diversity of the detection distance of the virtual object, and further improving the user experience.

[0087] For example, the professional type includes a melee type, a long-range type, etc., and the melee type is, for example, a warrior, a swordsman, etc., and the long-range type is, for example, an archer, a mage, etc. For example, the detection distance corresponding to the melee type is less than that of the long-range type.

[0088] In the embodiments of the present application, because the professional characteristics of virtual objects of different professional types are different, the detection distance is given to the professional type of the virtual object, so that the professional characteristics are materialized and the existence value of the professional type of the virtual object is strengthened. This differentiated design of the detection distance according to the professional type can encourage the player to combine the professional type of the virtual object to formulate the strategy of moving the virtual object in the virtual scene, thereby enriching the strategy of the game and the diversity of the detection distance of the virtual object, and further improving the user experience.

[0089] Optionally, the virtual object can be equipped with multiple detection auxiliary props at the same time. In the embodiment of the application, the detection distances corresponding to different detection auxiliary props can be the same or different, and the virtual object can be equipped with multiple detection auxiliary props at the same time, so as to encourage the user to equip the second virtual object with as many detection auxiliary props as possible, so as to improve the detection distance of the virtual object, improve the interest of the game, and further improve the user experience.

[0090] Optionally, the second virtual object is equipped with a detection auxiliary prop, and the first distance is a detection distance corresponding to the detection auxiliary prop.

[0091] In the embodiment of the application, the virtual object can be equipped with a detection auxiliary prop, and the detection auxiliary prop can be used to detect virtual objects of a target type around the virtual object, and the detection distance of the detection auxiliary prop is the detection distance corresponding to the virtual object, so that the virtual objects of the target type around the virtual object can be detected according to the detection distance corresponding to the equipped detection auxiliary prop.

[0092] In a possible implementation, the process of switching the display state of the function entry includes: in the case that there is a third virtual object in the detection range, determining the distance between the second virtual object and the third virtual object, the third virtual object belonging to the target type; in the case that the distance is less than the second distance, switching the display state of the function entry in the virtual scene to the third display state, the second distance being a distance at which the third virtual object can be detected.

[0093] The first distance corresponds to the detection distance corresponding to the second virtual object, and the second distance corresponds to the detected distance of the third virtual object. The third virtual object is any virtual object of the target type in the detection range, and the third virtual object can be the same as or different from the first virtual object.

[0094] In the embodiment of the application, the second virtual object controlled by the terminal corresponds to a detection distance, and the terminal can detect virtual objects of the target type around the second virtual object according to the detection distance corresponding to the second virtual object; and the virtual object in the virtual scene corresponds to a detected distance, and the virtual object can be detected by the second virtual object only when the distance between the virtual object and the second virtual object is less than the detected distance. Therefore, in the case that the object detection function is not started, not only the virtual objects of the target type around the second virtual object are detected according to the detection distance corresponding to the second virtual object, but also in the case that the third virtual object is detected, whether the third virtual object can be detected by the second virtual object is determined according to the detected distance corresponding to the third virtual object, so as to increase the difficulty of detecting the virtual objects of the target type, avoid the detection of the virtual objects of the target type being too simple, and improve the interest of the game.

[0095] For example, the first distance is 10 meters, and the second distance is 5 meters; if the distance between the second virtual object and the third virtual object is 8 meters, which is smaller than the first distance but larger than the second distance, the third virtual object cannot be detected by the second virtual object, and the display state of the function entry remains the default display state; if the distance between the second virtual object and the third virtual object is 4 meters, which is smaller than the first distance and smaller than the second distance, the third virtual object can be detected by the second virtual object, and the display state of the function entry is the third display state.

[0096] It should be noted that, in the embodiment of the present application, the virtual objects of the target type around the second virtual object are detected according to the detection range, and in another embodiment, the detection range is not considered, and whether the virtual objects of the target type around the second virtual object exist is determined according to the detected distances corresponding to the virtual objects, that is, the process of determining whether the virtual objects of the target type around the second virtual object exist includes: for each virtual object of the target type in the virtual scene, based on the position of the second virtual object and the position of the virtual object of the target type in the virtual scene, the distance between the second virtual object and the virtual object of the target type is determined, and in the case that the distance between the second virtual object and the virtual object of the target type is smaller than the detected distance corresponding to the virtual object of the target type, it is determined that the virtual object of the target type around the second virtual object exists.

[0097] In the embodiment of the present application, there is one or more virtual objects of the target type in the virtual scene, and the terminal display may or may not display the virtual object of the target type in the virtual scene. Whether the virtual object of the target type is displayed in the current virtual scene or not, based on the position of the second virtual object and the positions of the virtual objects of the target type, the distance between the second virtual object and each virtual object of the target type can be determined, so that it can be determined which virtual object of the target type is around the second virtual object, and the display state of the function entry of the object detection function can be updated in real time, which can ensure that whether the virtual object of the target type around the second virtual object exists is accurate enough, and the accuracy of the game data can also be ensured.

[0098] 303、In the case that the terminal displays the function entry in the third display state, in response to the triggering operation on the function entry, the terminal displays a display special effect in the virtual scene, and the display special effect indicates that the object detection function has been started.

[0099] In the embodiment of the present application, the function entry is displayed in the third display state, indicating that there is a virtual object of the target type around the second virtual object, therefore, the object detection function is started through the function entry, so as to display a display special effect in the virtual scene, to prompt that the object detection function has been started through the display of the display special effect, to achieve the reminding effect, to improve the display effect, and in the case that the function entry is displayed in the third display state, the user can be reminded to start the object detection function in time, so as to view the virtual object of the target type around the second virtual object, avoiding the case that the object detection function is started but the virtual object of the target type cannot be detected, to ensure the accuracy and effectiveness of the object detection. Moreover, the object detection function is started through the function entry, to facilitate the user operation and improve the human-computer interaction efficiency.

[0100] The display special effect is any form of special effect, for example, the display special effect is a light curtain special effect, and in the case that the object detection function has been started, the virtual scene is presented under the light curtain special effect. For example, the display special effect is a green light curtain special effect or a special effect of other colors. In the case that the object detection function is started, the displayed virtual scene is green.

[0101] In the embodiment of the present application, in the case that the object detection function is started, a special field of view is equivalent to being started, and the terminal displays the virtual scene under the special field of view, and the virtual scene displays the display special effect, so as to distinguish the virtual scene under the special field of view from the virtual scene under the normal mode. The virtual object of the target type around the second virtual object is called a special virtual object, and in the virtual scene under the special field of view, the special virtual object can be displayed in the first display state.

[0102] In a possible implementation manner, the display of the display special effect comprises: in response to the starting operation of the object detection function, the display special effect is displayed in the virtual scene and spreads around the second virtual object as the center.

[0103] In the embodiment of the present application, the triggering operation of the function entry is equivalent to the starting operation of the object detection function. In response to the starting operation of the object detection function, the display special effect is displayed in the virtual scene and spreads around the second virtual object as the center controlled by the terminal, to present a dynamic picture of the object detection around the second virtual object as the center, to improve the display effect and further improve the user experience.

[0104] Optionally, the coverage range of the display special effect is equal to the detection range.

[0105] In the embodiment of the present application, the coverage of the display special effect is equal to the detection range, that is, the display special effect is displayed in the detection range centered on the second virtual object, and the detection range is the detection range corresponding to the second virtual object, so that the display special effect can reflect the detection range of the object detection function, so that the user can know the detection range by viewing the display special effect, achieve the effect of reminding the detection range, so that the user can adjust the position of the second virtual object through the displayed display special effect, and then can detect virtual objects in different ranges, and improve the human-computer interaction efficiency.

[0106] It should be noted that the embodiment of the present application takes the function entry of the object detection function displayed in the virtual scene as an example, and the object detection function is started through the function entry and the display special effect is displayed, and in another embodiment, the steps 302-303 are not performed, but other ways are adopted to display the display special effect in the virtual scene in response to the starting operation of the object detection function.

[0107] It should be noted that the embodiment of the present application takes the display of the display special effect when the object detection function is started as an example for description, and in another implementation, the object detection function is started without performing the steps 302-303.

[0108] 304、In the case where the object detection function has been started, the terminal displays a first virtual object belonging to the target type in a first display state in the virtual scene, and the object detection function is used to detect virtual objects belonging to the target type around a second virtual object, and the first display state indicates that the first virtual object is detected.

[0109] In a possible implementation manner, the step 304 includes: in the case where the object detection function has been started, the display state of the first virtual object is switched to the first display state in the virtual scene.

[0110] In the embodiment of the present application, the display state of the first virtual object in the virtual scene changes before and after the object detection function is started, so that the first virtual object belonging to the target type and being detected can be reflected, so that the user can view the first virtual object belonging to the target type and being detected in time, achieve the effect of reminding, so as to control the second virtual object and the first virtual object to interact subsequently, without manually searching for virtual objects belonging to the target type around the second virtual object, guarantee the interaction effect, improve the interaction efficiency, and further improve the user experience.

[0111] In a case where the object detection function is not enabled, the display state of the first virtual object is an arbitrary display state, for example, in a case where the object detection function is not enabled, the display state of the first virtual object is an invisible state. For another example, in a case where the object detection function is not enabled, the display state of the first virtual object is the same as the display state of the virtual object of another type, and the first display state is different from the display state of the virtual object of another type.

[0112] For example, in a case where the object detection function is not enabled, the first virtual object is displayed in an invisible state, and in a case where the object detection function is not enabled, even if the first virtual object is located in the field of view corresponding to the terminal, the first virtual object cannot be displayed in the virtual scene; and in a case where the object detection function is enabled, not only the original picture in the virtual scene can be displayed, but also the first virtual object can be displayed in a special display state, that is, the virtual object in the invisible state is displayed, so that the user can interact with the virtual object in the invisible state.

[0113] For another example, in a case where the object detection function is not enabled, in addition to the second virtual object, the first virtual object and the virtual object of another type are also displayed in the virtual scene, and the display state of the first virtual object is the same as that of the virtual object of another type, at this time, the user views the displayed virtual scene through the terminal, and can only know that the first virtual object is currently displayed, but cannot know that the first virtual object belongs to the target type; and in a case where the object detection function is enabled, the first virtual object is displayed in a special display state in the virtual scene, and the user views the displayed virtual scene through the terminal, and can know that the first virtual object belongs to the target type, so as to control the second virtual object to interact with the first virtual object subsequently.

[0114] Optionally, the process of displaying the first virtual object comprises: in a case where the object detection function is enabled and the first virtual object is located in the detection range, the display state of the first virtual object is switched to the first display state in the virtual scene, and the detection range is a range with the position of the second virtual object as the center and with the first distance as the radius.

[0115] In the embodiment of the application, in a case where the object detection function is enabled, whether there is a virtual object of the target type around the second virtual object can be detected according to the detection range with the position of the second virtual object controlled by the terminal as the center, so that the virtual object of the target type detected can be displayed in the virtual scene in time, and thus the detection is performed based on the detection range, so as to promote the second virtual object to move in the virtual scene to change the detection range, and then the virtual objects in different ranges are detected, and the interactivity of the game is improved.

[0116] It should be noted that the process of determining the first distance is the same as the process of determining the first distance in step 302 described above, and will not be repeated here.

[0117] Optionally, the process of determining the first virtual object includes: in a case where the object detection function is turned on, the first virtual object is located in the detection range, and the distance between the second virtual object and the first virtual object is less than the third distance, the display state of the first virtual object in the virtual scene is switched to the first display state in the virtual scene. The third distance is the distance at which the first virtual object can be detected.

[0118] The first distance corresponds to the detection distance of the second virtual object, and the third distance corresponds to the detected distance of the first virtual object.

[0119] In the embodiments of the present application, the second virtual object controlled by the terminal corresponds to a detection distance, and the terminal can detect virtual objects belonging to the target type around the terminal according to the detection distance corresponding to the second virtual object. In addition, the virtual objects in the virtual scene correspond to a detected distance, and the virtual object can be detected by the second virtual object only when the distance between the virtual object and the second virtual object is less than the detected distance. Therefore, in the case of turning on the object detection function, not only the virtual objects belonging to the target type around the terminal are detected according to the detection distance corresponding to the second virtual object, but also in the case of detecting the first virtual object, whether the first virtual object can be detected by the second virtual object is determined according to the detected distance corresponding to the first virtual object, thereby improving the interest of the game.

[0120] It should be noted that the embodiments of the present application detect the virtual objects belonging to the target type around the second virtual object according to the detection range, while in another embodiment, the detection range is not considered, and whether there is a virtual object belonging to the target type around the second virtual object is determined according to the detected distance corresponding to each virtual object. Then, in a case where there is a virtual object belonging to the target type around the second virtual object and the virtual object belonging to the target type is located in the field of view range, the display state of the virtual object in the virtual scene is switched to the first display state.

[0121] It should be noted that the process of determining whether there is a virtual object belonging to the target type around the second virtual object is the same as the process of determining whether there is a virtual object belonging to the target type around the second virtual object in step 302 described above, and will not be repeated here.

[0122] 305、In a case where the first virtual object has been aimed at, the terminal displays information associated with the first virtual object in the virtual scene.

[0123] In a possible implementation, the step 305 comprises: in the case that the aiming point aims at the first virtual object in the virtual scene, displaying information associated with the first virtual object in the virtual scene.

[0124] The aiming point can be in any form, for example, a dot or a cross. In the embodiment of the present application, the display position of the aiming point overlaps with the display position of the first virtual object in the displayed virtual scene, indicating that the aiming point aims at the first virtual object.

[0125] In the embodiment of the present application, the aiming point is displayed in the virtual scene, and the information associated with the virtual object belonging to the target type and detected can be directly displayed in the virtual scene by aiming at the virtual object through the aiming point. In this way, the user can control the position of the aiming point to aim at any virtual object, which facilitates the user operation and improves the human-computer interaction efficiency.

[0126] Optionally, the aiming point is always displayed at the center of the virtual scene.

[0127] In the embodiment of the present application, the aiming point also serves as the display center of the virtual scene. In the process of displaying the virtual scene, the virtual scene displayed by the terminal changes in response to the view angle adjustment operation, but the aiming point is always displayed at the center of the virtual scene, so that the user can view the position of the aiming point in time to perform the corresponding operation, avoiding the situation that the position of the aiming point cannot be known due to the influence of the virtual scene picture, ensuring the display effect and improving the human-computer operation efficiency.

[0128] Optionally, the aiming point is a virtual aiming point in the virtual scene, and the aiming point is an aiming point of a virtual prop held by the second virtual object.

[0129] The virtual prop can be any type of prop, for example, a virtual weapon or a virtual throwing object.

[0130] In the embodiment of the present application, the second virtual object can hold the virtual prop in the virtual scene, and the virtual prop corresponds to the aiming point, so that the second virtual object interacts with the position aimed at by the virtual prop and the aiming point.

[0131] Optionally, the process of displaying the information comprises: in the case that the aiming point aims at the first virtual object in the virtual scene, displaying the display state of the aiming point as a second display state in the virtual scene, and displaying the information associated with the first virtual object, the second display state indicating that the aiming point has aimed at the detected virtual object.

[0132] In the embodiment of the present application, when the aiming point aims at the virtual object belonging to the target type and detected, the display state of the aiming point in the virtual scene also changes, so as to remind that the aiming point has aimed at the detected virtual object, and the user can check the displayed information in time, and the strong reminding effect is achieved, the display effect is improved, and the user experience is improved.

[0133] The second display state is any display state, which is different from the display state when the aiming point does not aim at the virtual object belonging to the target type and detected. For example, when the aiming point does not aim at the virtual object belonging to the target type and detected, the display state of the aiming point is a static state or a default color display state; and when the aiming point aims at the virtual object belonging to the target type and detected, the first display state of the aiming point is a flickering state, a magnified display state or a red display state, etc.

[0134] It should be noted that the embodiment of the present application takes the aiming point to aim at the first virtual object as an example for description, and in another embodiment, the terminal can also take other ways to aim at the first virtual object in the case of displaying the virtual scene.

[0135] In a possible implementation manner, the virtual scene further displays a aiming frame, and the way of aiming at the first virtual object includes: in the case that the first virtual object is located in the aiming frame, displaying the information associated with the first virtual object in the virtual scene.

[0136] In the embodiment of the present application, the aiming frame is used to aim at the virtual object, and the first virtual object located in the aiming frame indicates that the first virtual object has been aimed at. The aiming frame can be displayed at any position of the display screen of the terminal.

[0137] In a possible implementation manner, the way of aiming at the first virtual object includes: in the case that the first virtual object is located at a target display position, displaying the information associated with the first virtual object in the virtual scene.

[0138] In the embodiment of the present application, in the displayed virtual scene, the first virtual object can be displayed at any display position, and only in the case that the first virtual object is located at the target display position, it indicates that the first virtual object has been aimed at, and then the information associated with the first virtual object is displayed in the virtual scene.

[0139] The target display position is any position of the display screen of the terminal, for example, the target display position is a center position or a top-left corner position.

[0140] In a possible implementation, the displayed information is also matched with the behavior information of the second virtual object, that is, the process of displaying the information comprises: displaying target information in the virtual scene in the case that the first virtual object has been aimed at, the target information being associated with the first virtual object and matched with the behavior information of the second virtual object.

[0141] In the embodiment of the present application, in the case that the first virtual object has been aimed at, the target information is displayed in the virtual scene, so that the displayed information is matched with the historical behavior of the second virtual object, the information required to be viewed by the current second virtual object is predicted, the accuracy of information display is ensured, and the user does not need to trigger a selection operation through the terminal to select information, the time required to view information is saved, and the information acquisition efficiency is ensured.

[0142] The behavior information of the second virtual object indicates the historical behavior of the second virtual object, for example, the behavior information of the second virtual object indicates a task currently performed by the second virtual object, or indicates that the second virtual object has fought and the life value has decreased before. Alternatively, the behavior information of the second virtual object indicates the historical behavior of the second virtual object in a certain time length in the past, for example, the behavior information indicates the historical behavior of the second virtual object in the past 10 minutes.

[0143] The first virtual object is associated with a plurality of information, and different information contains different contents. For example, the first virtual object is a virtual object in the virtual scene for providing information guidance, and any information of the plurality of information associated with the first virtual object indicates a position where a virtual object can be supplemented to improve the life value of the virtual object; another information indicates a position where a virtual object can be obtained.

[0144] For example, the behavior information of the second virtual object indicates a task currently performed by the second virtual object, and the target information indicates how to complete the task or indicates a position where the task can be completed.

[0145] For another example, the behavior information of the second virtual object indicates that the second virtual object has fought and the life value has decreased before, and the target information indicates a position where the virtual object can be supplemented to improve the life value of the virtual object.

[0146] Alternatively, during the process of the virtual game, the terminal or the server stores the behavior information of the second virtual object controlled by the terminal, so as to subsequently display the target information according to the behavior information.

[0147] In a possible implementation, the step 305 comprises: displaying the information associated with the first virtual object in the virtual scene in the case that the first virtual object has been aimed at and the distance between the second virtual object and the first virtual object is within the distance range.

[0148] In the embodiments of the present application, the first virtual object also corresponds to a distance range in which information is viewed, that is, the terminal displays the information associated with the first virtual object when the distance between the second virtual object and the first virtual object is within the distance range, so as to simulate the effect that the second virtual object views the information associated with the first virtual object. In this way, certain conditions are added for viewing the information associated with the virtual object, and the interest of the game is improved.

[0149] The distance range is an arbitrary range, for example, the minimum distance in the distance range is 10 meters, and the maximum distance in the distance range is 20 meters, that is, the terminal displays the information associated with the first virtual object only when the distance between the second virtual object and the first virtual object is not less than 10 meters and not greater than 20 meters.

[0150] Optionally, the method further includes: displaying distance prompt information in the virtual scene when the first virtual object has been aimed at and the distance between the second virtual object and the first virtual object is outside the distance range, the distance prompt information being used to prompt that the distance between the second virtual object and the first virtual object is outside the distance range.

[0151] In the embodiments of the present application, the first virtual object has been aimed at, which means that the user wants to view the information associated with the first virtual object, and the distance between the second virtual object and the first virtual object is outside the distance range, which means that the current position of the second virtual object cannot view the information associated with the first virtual object. Therefore, the distance prompt information is displayed in the virtual scene to prompt that the distance between the second virtual object and the first virtual object does not meet the distance range, so as to prompt the user to control the second virtual object to move through the terminal to change the distance between the second virtual object and the first virtual object, thereby achieving the effect of strong prompting and improving the user experience.

[0152] Optionally, the distance prompt information includes first prompt information or second prompt information, the first prompt information being used to prompt that the second virtual object is too close to the first virtual object, and the second prompt information being used to prompt that the second virtual object is too far away from the first virtual object; and the process of displaying the distance prompt information includes: displaying the first prompt information in the virtual scene when the distance between the second virtual object and the first virtual object is less than the minimum value in the distance range, and displaying the second prompt information in the virtual scene when the distance between the second virtual object and the first virtual object is greater than the maximum value in the distance range, when the first virtual object has been aimed at.

[0153] In the embodiment of the present application, in the case that the distance between the second virtual object and the first virtual object is out of the distance range, different prompt information is displayed according to different distances between the second virtual object and the first virtual object, so as to guide the user to adjust in time, so that the user can know how to adjust the position of the second virtual object to view the information associated with the first virtual object, and the efficiency of viewing information can be ensured, thereby ensuring the interactive efficiency.

[0154] The scheme provided by the embodiment of the present application can detect the virtual objects of the target type around the virtual object controlled by the local end by starting the object detection function, and display them in a special display state to remind which virtual objects are detected, view the information associated with the first virtual object that has been detected in the way of aiming, and display the information directly in the virtual scene, thereby realizing a new interactive way between virtual objects, quickly detecting the virtual objects of the target type, saving the time for searching the virtual objects of the target type in the virtual scene by the user, improving the detection efficiency, viewing the information associated with the first virtual object by aiming at the first virtual object that has been detected only, saving the time for controlling the second virtual object to approach the first virtual object, ensuring the interactive effect, improving the interactive efficiency between virtual objects, and further improving the human-computer interaction efficiency.

[0155] It should be noted that the embodiment shown in FIG. 3 is described by taking starting the object detection function through the function entry of the object detection function as an example, and in another embodiment, the object detection function can also be started in other ways. In a possible implementation manner, there is an object detection prop in the virtual scene, the object detection prop has the object detection function, and in the case that the second virtual object has equipped the object detection prop, the object detection function is started, so as to subsequently detect the virtual objects of the target type according to the above embodiment.

[0156] In the embodiment of the present application, there is an object detection prop with the object detection function in the virtual scene, and in the case that the virtual object has equipped the object detection prop, whether there is a virtual object of the target type around the virtual object can be detected, thereby facilitating the process of detecting the virtual object, and promoting the user to control the virtual object to obtain the object detection prop in the virtual scene, thereby improving the interactivity of the game.

[0157] Optionally, there are multiple object detection props in the virtual scene, and different object detection props are used to detect different types of virtual objects. In the case that the second virtual object has equipped any object detection prop, whether there is a virtual object of the target type around the second virtual object is detected according to the target type corresponding to the object detection prop.

[0158] The target type corresponding to the object detection prop is the type of the virtual object that can be detected by the object detection prop. The target types corresponding to different object detection props can be the same or different. For example, the target type corresponding to any object detection prop is the invisible type, and the target type corresponding to another object detection prop is the task type.

[0159] In the embodiment of the present application, there are multiple object detection props in the virtual scene for detecting virtual objects of different types, which can meet different needs of users and improve the convenience of detecting virtual objects of different types.

[0160] It should be noted that the embodiment shown in FIG. 3 is an example of starting the object detection function through the function entry of the object detection function. In another embodiment, the object detection function can only be started in a special area. That is, the process of starting the object detection function includes: in the case that the second virtual object is located in the first area, in response to the starting operation of the object detection function, displaying a display special effect in the virtual scene.

[0161] In the embodiment of the present application, the object detection function can only be started in the case that the second virtual object is located in the first area, so as to limit the object detection function and avoid the situation that the object detection function is excessively used and causes the game to be unbalanced, thereby ensuring the fairness of the game.

[0162] The first area is any area in the virtual scene. For example, the first area is a detection area corresponding to a task, the task is a task accepted by the second virtual object, and the task indicates that the virtual object belonging to the target type in the first area is detected. Therefore, the user can control the second virtual object to enter the first area through the terminal, and then start the object detection function to detect the virtual object indicated by the task.

[0163] It should be noted that, based on the embodiment shown in FIG. 3, there can be an obstacle between the second virtual object and the first virtual object. In the case that it is detected that the first virtual object exists around the second virtual object, the first virtual object can still be displayed, that is, the process of displaying the first virtual object includes the following three ways.

[0164] The first way: in the case that the object detection function has been started and there is an obstacle between the first virtual object and the second virtual object, the display state of the second area is switched to a transparent state in the virtual scene, and the first virtual object is displayed in the first display state. The second area is an area in which the obstacle contains and shields the first virtual object.

[0165] The obstacle is any type of virtual obstacle, such as a wall of a virtual building or a virtual car. The second region is a partial region in the obstacle, which can be represented in any shape, for example, a square, a circle or an irregular shape. For example, the obstacle is a wall of a virtual building, and the first virtual object is in the virtual building, and the second region is a partial region on the wall.

[0166] In the embodiment of the present application, in the case where the first virtual object belonging to the target type is detected, even if there is an obstacle between the second virtual object and the first virtual object, the display state of the second region can be switched to the transparent state, so that the first virtual object can be displayed, avoiding the case where the first virtual object is blocked and cannot be displayed, so that the subsequent information associated with the first virtual object can be directly aimed at the first virtual object to view, and there is no need to control the second virtual object to avoid the obstacle to view the first virtual object, which facilitates subsequent viewing of information associated with the first virtual object and improves interaction efficiency.

[0167] The second way is: in the case where the object detection function is turned on and there is an obstacle between the first virtual object and the second virtual object, the transparency of the obstacle is increased in the virtual scene, and the first virtual object is displayed in the first display state.

[0168] In the embodiment of the present application, in the case where the transparency of the obstacle is increased, the virtual object blocked by the obstacle can be displayed, and the more the transparency of the obstacle is increased, the clearer the virtual object blocked by the obstacle is displayed. For example, in the case where the transparency of the obstacle is increased, the obstacle can only display the outline.

[0169] In the embodiment of the present application, in the case where the first virtual object belonging to the target type is detected, even if there is an obstacle between the second virtual object and the first virtual object, the transparency of the obstacle can be increased to display the blocked first virtual object, avoiding the case where the first virtual object is blocked and cannot be displayed, so that the subsequent information associated with the first virtual object can be directly aimed at the first virtual object to view, and there is no need to control the second virtual object to avoid the obstacle to view the first virtual object, which facilitates subsequent viewing of information associated with the first virtual object and improves interaction efficiency.

[0170] The third way is: in the case where the object detection function is turned on and there is an obstacle between the first virtual object and the second virtual object, the outline of the first virtual object is displayed in the second region, and the first display state is the outline display state.

[0171] In the embodiment of the present application, the first display state is a contour display state, in the case where the first virtual object belonging to the target type is detected, even if there is an obstacle between the second virtual object and the first virtual object, the contour of the occluded first virtual object is displayed in the second region, so that the user can view the occluded first virtual object, avoiding the case where the first virtual object is occluded and cannot be displayed, so as to be able to directly aim at the first virtual object for viewing associated information in the subsequent process, and there is no need to control the second virtual object to avoid the obstacle to view the first virtual object, facilitating subsequent viewing of information associated with the first virtual object, and improving the interaction efficiency.

[0172] It should be noted that the embodiment shown in FIG. 3 is described by taking that the first virtual object is displayed in the virtual scene as an example, and in another embodiment, when the object detection function is enabled, the virtual scene displayed by the terminal does not display the first virtual object, and the user triggers the view angle adjustment operation or the movement operation of the virtual object through the terminal, so that the terminal updates the displayed virtual scene. In this way, the displayed virtual scene is constantly adjusted, so as to display the first virtual object in the first display state in the virtual scene. The process of updating the displayed virtual scene by the terminal is the same as adjusting the displayed virtual scene in step 301, and will not be described here.

[0173] On the basis of the embodiment shown in FIG. 2, the embodiment of the present application can also view the detailed information of the first virtual object in the case where the information associated with the first virtual object is displayed, and the specific process is described in the following embodiment.

[0174] FIG. 5 is a flowchart of a virtual scene display method provided by an embodiment of the present application, which is taken as an example that the method is executed by a terminal, as shown in FIG. 5, the method comprises:

[0175] 501, the terminal displays a virtual scene, and the virtual scene displays a second virtual object.

[0176] This step 501 is the same as step 301 described above, and will not be described here.

[0177] 502, in the case where the object detection function has been enabled, the terminal displays a first virtual object belonging to a target type in a first display state in the virtual scene, the object detection function is used to detect virtual objects belonging to the target type around the second virtual object, and the first display state indicates that the first virtual object is detected.

[0178] This step 502 is the same as step 304 described above, and will not be described here.

[0179] 503、the terminal displays prompt information associated with the first virtual object in the virtual scene, the prompt information being used to prompt that the detail information of the first virtual object has not been displayed, in a case that the first virtual object has been aimed at and the detail information of the first virtual object has not been displayed.

[0180] In the embodiment of the present application, the user can view the detail information associated with the virtual object through the terminal, and when the virtual object belonging to the target type and being detected has been aimed at, different information can be displayed to remind whether the terminal has displayed the detail information associated with the virtual object, so that the user can know whether the detail information of the virtual object has been viewed before, and the effect of strong reminding is achieved, so that the user can perform different operations based on whether the detail information has been viewed, the flexibility and interest of the game are improved, and the user experience is improved.

[0181] The detail information is used to describe the detailed situation of the first virtual object, for example, the first virtual object is a virtual item, and the detail information is used to describe the name, size, item type, item parameter and item acquisition method of the virtual item. For another example, the first virtual object is a virtual character, and the detail information is used to describe the name of the virtual character, the state of the virtual character, the reason for causing the state, the belonging camp and the like. The prompt information is any information, for example, the prompt information is “???”, or the prompt information is “position”. Optionally, the prompt information is highlighted in the virtual scene. In the embodiment of the present application, the prompt information is highlighted to achieve the effect of reminding.

[0182] In the embodiment of the present application, whether the detail information of the first virtual object has been displayed is equivalent to whether the second virtual object has viewed the detail information of the first virtual object, so as to simulate the case that the second virtual object detects the first virtual object.

[0183] Optionally, whether the detail information of the first virtual object has been displayed is determined through the display record corresponding to the terminal, that is, the process of determining whether the detail information of the first virtual object has been displayed includes: obtaining the display record of the terminal, the display record containing an object identifier, the object identifier indicating a virtual object whose detail information has been displayed, in a case that the object identifier of the first virtual object is contained in the display record, it is determined that the detail information of the first virtual object has been displayed, and in a case that the object identifier of the first virtual object is not contained in the display record, it is determined that the detail information of the first virtual object has not been displayed.

[0184] The object identifier in the display record indicates a virtual object whose detail information has been displayed, that is, the object identifier in the display record indicates a virtual object whose detail information has been viewed by the second virtual object. Optionally, the display record further contains a corresponding display time.

[0185] Optionally, the process of maintaining the display record comprises: in response to the detail viewing operation on the virtual object, the terminal records the object identifier of the virtual object in the display record.

[0186] In the embodiments of the present application, the detail viewing operation indicates viewing the detail information of the virtual object, and once the detail viewing operation on the virtual object is detected, it indicates that the user wants to view the detail information of the virtual object, and the detail information of the virtual object will be displayed subsequently. Therefore, the object identifier of the virtual object is recorded in the display record to ensure the accuracy of the display record.

[0187] Optionally, when the object identifier is recorded in the display record, it is checked whether the object identifier is contained in the display record, and in the case that the object identifier is not contained in the display record, the object identifier is recorded in the display record.

[0188] It should be noted that the display record corresponding to the terminal can be stored in the terminal or in the server. In the case that the display record is stored in the terminal, the terminal determines whether the detail information of the first virtual object has been displayed according to the above manner; in the case that the display record is stored in the server, the terminal sends a detail query request to the server when the first virtual object is aimed at, the detail query request carries the object identifier of the first virtual object, the detail query request is used to request to query whether the terminal has displayed the detail information associated with the object identifier, the server responds to the detail query request, queries according to the display record corresponding to the terminal according to the above manner, and returns a query result to the terminal, the query result indicates whether the terminal has displayed the detail information of the first virtual object, and the terminal displays the prompt information or the brief introduction information based on the query result. For example, the prompt information or the brief introduction information associated with the first virtual object is stored in the terminal, the server returns the query result to the terminal, and the query result only indicates whether the terminal has displayed the detail information of the first virtual object, and the terminal displays based on the query result. For another example, the prompt information or the brief introduction information associated with the first virtual object is stored in the server, the server returns the query result to the terminal after querying, and the query result includes the prompt information or the brief introduction information, and the terminal only displays the information contained in the query result.

[0189] In the embodiments of the present application, the terminal or the server stores the display record corresponding to the terminal, so as to record whether the terminal displays the detail information of the first virtual object, that is, whether the detail viewing of the first virtual object is performed. For the first virtual object on which the detail viewing is performed, the terminal displays the brief information of the first virtual object in the case that the first virtual object detected is aimed at, so as to indicate that the detail viewing of the first virtual object is performed. For the first virtual object on which the detail viewing is not performed, the terminal displays the prompt information of the first virtual object in the case that the first virtual object detected is aimed at, so as to indicate that the first virtual object is viewed for the first time and the detail information of the first virtual object is not viewed.

[0190] 504、The terminal displays the detail information of the first virtual object in the case that the first virtual object detected is aimed at, so as to indicate that the detail viewing of the first virtual object is performed. For the first virtual object on which the detail viewing is not performed, the terminal displays the prompt information of the first virtual object in the case that the first virtual object detected is aimed at, so as to indicate that the first virtual object is viewed for the first time and the detail information of the first virtual object is not viewed.

[0191] In the embodiments of the present application, in the case that the prompt information of the first virtual object is displayed, the detail information of the first virtual object can be viewed according to the prompt information, so as to display the first virtual object and the detail information of the first virtual object in the virtual scene, so as to ensure the display effect.

[0192] In a possible implementation manner, the process of displaying the detail information comprises: only displaying the first virtual object and the detail information in the virtual scene, and the first virtual object is displayed in an enlarged manner.

[0193] In the embodiments of the present application, in the case that the detail information of the first virtual object is viewed, only the first virtual object and the detail information are displayed in the virtual scene, and the first virtual object is displayed in an enlarged manner, so that the user can view the first virtual object and the detail information, and the interference of other contents is avoided, a strong reminding effect is achieved, and the display effect is ensured.

[0194] Optionally, in the case that the crosshair aims at the first virtual object, the detail viewing option is displayed in the virtual scene in addition to the prompt information of the first virtual object. In response to the trigger operation on the detail viewing option, the first virtual object is displayed in a highlighted manner in the virtual scene, and the detail information of the first virtual object is displayed.

[0195] Optionally, in the case that the first virtual object is displayed in a highlighted manner and the detail information is displayed, the click operation on any position in the virtual scene is a closing operation on the detail information; or, the closing option is further displayed in the virtual scene, and in response to the trigger operation on the closing option, the closing operation on the detail information is performed.

[0196] In a possible implementation, in response to the detail detection operation on the prompt information, the terminal controls the virtual camera to capture the virtual scene according to the camera position and the shooting angle corresponding to the first virtual object, displays the virtual scene captured by the virtual camera, in which the first virtual object is highlighted, and displays the detail information of the first virtual object.

[0197] In the embodiments of the present application, the virtual object of the target type corresponds to a camera position and a shooting angle, when viewing the detail information of any virtual object of the target type, the virtual camera can be controlled to capture the virtual scene according to the camera position and the shooting angle corresponding to the virtual object, and then the captured virtual scene is displayed, so as to ensure the display effect of the detail information of the first virtual object.

[0198] 505、The terminal displays the brief information associated with the first virtual object in the virtual scene in response to the closing operation on the detail information.

[0199] The brief information contains part of the content in the detail information, for example, the brief information only contains the name of the second virtual object.

[0200] In the embodiments of the present application, when the prompt information of the first virtual object is displayed, the detail information of the first virtual object can be viewed according to the prompt information, and after the detail information is viewed, in response to the operation of closing the detail information, the original virtual scene is returned, that is, the virtual camera is aimed at the first virtual object in the virtual scene, but the displayed prompt information is switched to the brief information, which can reflect the process of viewing the detail information and indicate whether the detail information of the first virtual object has been viewed, thereby achieving the reminding effect, facilitating the user to watch and improving the user experience.

[0201] It should be noted that the embodiments of the present application are described by taking the first virtual object whose detail information has not been viewed as an example, and in another embodiment, in the case where the detail information of the first virtual object has been viewed, the brief information associated with the first virtual object is directly displayed, that is, in the case where the first virtual object has been aimed at and the detail information of the first virtual object has been displayed, the brief information associated with the first virtual object is displayed in the virtual scene. And subsequently, the detail information can be viewed according to the brief information according to the steps 504-505.

[0202] In the embodiments of the present application, in the case where the first virtual object belonging to the target type and detected is aimed at, different information is displayed according to whether the detail information of the first virtual object has been displayed, so as to achieve the reminding effect, which can enable the user to know whether the detail information associated with the first virtual object has been viewed, thereby avoiding the case where the detail information has been viewed and does not need to be viewed again, reducing unnecessary operations, and improving the interactive effect.

[0203] The scheme provided in the embodiments of the present application can detect virtual objects of a target type around a virtual object controlled by the local end by starting the object detection function, and display the virtual objects in a special display state to remind which virtual objects are detected, view information associated with the detected first virtual object in a manner of aiming, and directly display the information in the virtual scene, thereby realizing a new interaction manner between virtual objects, quickly detecting virtual objects of the target type, without the need for searching for virtual objects of the target type in the virtual scene by a person, saving time for detecting virtual objects of the target type, improving detection efficiency, viewing information associated with the first virtual object by only aiming at the detected first virtual object, without the need for the second virtual object controlled by the local end to approach the first virtual object, saving time required for controlling the second virtual object to approach the first virtual object, guaranteeing interaction effect, improving interaction efficiency between virtual objects, and further improving human-computer interaction efficiency.

[0204] It should be noted that, on the basis of the embodiments shown in FIGS. 2 to 5, the object detection function can also be closed in the case where the object detection function is started. After the object detection function is closed, the displayed virtual objects change. In a possible implementation manner, the method further includes: in response to a closing operation of the object detection function, canceling display of the first virtual object in the virtual scene; or in response to the closing operation of the object detection function, displaying the first virtual object in the virtual scene in a fourth display state.

[0205] In the embodiments of the present application, in response to the closing operation of the object detection function, the first virtual object is canceled from display in the virtual scene or the display state of the first virtual object changes, to indicate that the object detection function is currently closed, achieve the reminding effect, improve the display effect of the virtual scene, and further improve the user experience.

[0206] For example, the first virtual object is a virtual object that is invisible in the case where the object detection function is not started. For example, the first virtual object is displayed in an invisible state in the case where the object detection function is not started. In the case where the object detection function is closed, the first virtual object is canceled from display, so that the user can know that the object detection function is closed by viewing the change in the displayed first virtual object.

[0207] The fourth display state is an arbitrary display state. For example, in the virtual scene, virtual objects that do not belong to the target type are displayed in the fourth display state.

[0208] For example, the first virtual object is displayed in the fourth display state when the object detection function is not enabled, and the first virtual object is displayed in the first display state when the object detection function is enabled. When the object detection function is disabled, the display state of the first virtual object is restored to the fourth display state, i.e., the first virtual object is displayed in the fourth display state.

[0209] Optionally, the manner of triggering the disabling operation of the object detection function includes the following three manners.

[0210] The first manner: when the object detection function is enabled, a closing option of the object detection function is displayed in the virtual scene. In response to a triggering operation on the closing option, it is equivalent to detecting a disabling operation on the object detection function.

[0211] The closing option can be any type of option for disabling the object detection function.

[0212] Optionally, the process of displaying the closing option includes: in response to a triggering operation on the function entry of the object detection function, the terminal switches the function entry to display as the closing option.

[0213] For example, a function entry of the object detection function is displayed in the virtual scene, and the function entry is used to enable the object detection function. The user clicks the function entry through the terminal. The terminal detects the clicking operation on the function entry, which is equivalent to detecting the enabling operation on the object detection function. Then, the object detection function is enabled, and the function entry is removed. The closing option is displayed at the original display position of the function entry, which can also remind that the object detection function is currently enabled.

[0214] The second manner: the object detection function is enabled by keeping pressing the function entry of the object detection function. The process includes: in response to detecting a release operation on the function entry of the object detection function, it is equivalent to detecting a disabling operation on the object detection function. The release operation refers to the stopping of the pressing operation on the function entry, i.e., the terminal detects the pressing operation on the function entry, which is equivalent to detecting the enabling operation on the object detection function. The terminal detects the stopping of the pressing operation, which is equivalent to detecting the disabling operation on the object detection function.

[0215] In the embodiments of the present application, a function entry of the object detection function is displayed in the virtual scene, and the function entry is used to enable the object detection function. The user presses and keeps pressing the function entry. The terminal detects the enabling operation on the object detection function. Then, the object detection function is enabled. Once the user releases the function entry without keeping pressing, it is equivalent to that the terminal detects the release operation on the function entry, and it is also equivalent to that the terminal detects the disabling operation on the object detection function.

[0216] The third mode: when the duration of the object detection function being turned on reaches the target duration, it is equivalent to detecting the closing operation of the object detection function.

[0217] The target duration is an arbitrary duration, for example, the target duration is 10 minutes. The duration of the object detection function being turned on is used to represent how long the object detection function has been turned on.

[0218] In the embodiments of the present application, the object detection function can only be turned on for a target duration at a time. Therefore, when the object detection function is turned on, the terminal or the server counts the time, so that when the duration of the object detection function being turned on reaches the target duration, the object detection function can be closed in time to avoid the object detection function being turned on for a long time and affecting the balance of the game, thereby improving the interest of the game.

[0219] It should be noted that the above three modes of triggering the closing operation can be combined arbitrarily. Taking the case of not displaying the detail information of the first virtual object as an example, as shown in FIG. 6, the virtual scene display method includes the following steps:

[0220] Step 1: The terminal displays the second virtual object and the function entry of the object detection function in the virtual scene.

[0221] In the embodiments of the present application, after step 1, different operations on the function entry will perform different steps. Based on the click operation on the function entry, the following steps 2-4 will be performed, and based on the long press operation on the function entry, the following steps 5-9 will be performed.

[0222] Step 2: In response to the click operation on the function entry, the function entry of the object detection function is switched to display the closing option of the object detection function, and a display effect is displayed to indicate that the object detection function is currently turned on.

[0223] The click operation refers to the pressing time of the function entry being less than a first duration, and the first duration is an arbitrary duration, for example, the first duration is 0.2 seconds.

[0224] Step 3: In the case where the object detection function is turned on, the terminal displays the first virtual object belonging to the target type in the virtual scene in a first display state, displays the prompt information associated with the first virtual object and the detail viewing option in the virtual scene in the case where the crosshair in the virtual scene aims at the first virtual object, and displays the detail viewing interface in response to the trigger operation on the detail viewing option. In the detail viewing interface, the first virtual object is displayed in an enlarged manner, and the detail information of the first virtual object is displayed. In response to the trigger operation on the detail closing option in the detail viewing interface, or in response to the click operation on any position in the detail viewing interface, the detail viewing interface is closed, the virtual scene is displayed, and the crosshair aiming at the first virtual object and the brief introduction information of the first virtual object are displayed in the virtual scene.

[0225] Step 4, in the case that the object detection function has been turned on, in the case that the duration of turning on the object detection function reaches the target duration, or, in response to the triggering operation of the closing option of the object detection function, cancel displaying the display special effect to represent closing the object detection function.

[0226] It should be noted that the present application embodiment is only described by taking the case of performing step 3 first and then performing step 4 as an example, and in another embodiment, after step 2, once the duration of turning on the object detection function reaches the target duration, or, once the triggering operation of the closing option of the object detection function is detected, the object detection function is closed.

[0227] Step 5, in response to the long-press operation on the function entry, display the display special effect to represent that the object detection function is currently turned on, and keep turning on the object detection function in the case of keeping pressing the function entry.

[0228] The long-press operation refers to that the pressing duration on the function entry is not less than a first duration, and the first duration is an arbitrary duration, for example, the first duration is 0.2 seconds.

[0229] Step 6, in the case that the object detection function has been turned on, the terminal displays a first virtual object belonging to a target type in a first display state in a virtual scene, displays prompt information and a detail viewing option associated with the first virtual object in the virtual scene in the case that the virtual scene is aimed at the first virtual object, and displays a detail viewing interface in response to the triggering operation of the detail viewing option, wherein the first virtual object is displayed in an enlarged manner in the detail viewing interface, and the detail information of the first virtual object is displayed.

[0230] In the present application embodiment, after step 6, step 7 or step 8 can be performed.

[0231] Step 7, in the case of keeping pressing the function entry, in response to the triggering operation of a detail closing option in the detail viewing interface, or in response to the click operation on any position in the detail viewing interface, the detail viewing interface is closed, the virtual scene is displayed, and the virtual scene is displayed in the case that the virtual scene is aimed at the first virtual object and the first virtual object is displayed in the form of brief introduction.

[0232] Step 8, in the case of displaying the detail viewing interface, in response to detecting the release operation on the function entry of the object detection function, the detail viewing interface is kept displayed; in response to the triggering operation on the detail closing option in the detail viewing interface, or, in response to the click operation on any position in the detail viewing interface, the detail viewing interface is closed, the virtual scene is displayed, the crosshair is aimed at the first virtual object, the brief introduction information of the first virtual object and the closing option of the object detection function are displayed in the virtual scene; in response to the triggering operation on the closing option of the object detection function, the display special effect is cancelled, indicating that the object detection function is closed.

[0233] The release operation refers to the operation of no longer pressing the function entry.

[0234] In the embodiments of the present application, in the case of displaying the detail viewing interface, the release operation on the function entry of the object detection function is detected, which indicates that the current is switched to the scheme similar to step 3, which is equivalent to displaying the detail viewing interface based on the click operation on the function entry, without closing the object detection function.

[0235] Step 9, in the case that the object detection function has been opened, in the case that the duration of opening the object detection function reaches the target duration, or, in response to the release operation on the function entry of the object detection function, the display special effect is cancelled, indicating that the object detection function is closed.

[0236] It should be noted that the embodiments of the present application are only described by executing step 8 first and then executing step 9, and in another embodiment, after step 5, once the duration of opening the object detection function reaches the target duration, or, once the release operation on the function entry of the object detection function is detected, the object detection function is closed.

[0237] It should be noted that the above embodiments are described by taking the function entry of the object detection function displayed in the virtual scene as an example, and in another embodiment, the function entry of the object detection function is not displayed in the virtual scene, but a certain key on the input device is used as the function entry of the object detection function, for example, the middle key of the mouse is used as the function entry of the object detection function, and the user clicks the middle key of the mouse, which is equivalent to the click operation on the function entry in step 2; the user long-presses the middle key of the mouse, which is equivalent to the long-press operation on the function entry in step 5.

[0238] In the embodiments of the present application, the first virtual object is an object associated with a task of the second virtual object, and after the details of the first virtual object are viewed, the progress of the task can be promoted so as to prompt how to perform the operation subsequently. In a possible implementation, in the case that the information associated with the first virtual object is viewed and the object detection function is closed, the game prompt information can also be displayed, that is, the method further comprises: displaying the game prompt information in the virtual scene, and the game prompt is used to prompt that the task of detecting the first virtual object has been completed.

[0239] The game prompt information is any type of information, for example, the game prompt information indicates that the task of detecting the first virtual object has been completed, and also indicates the next task to be performed.

[0240] For another example, the game prompt information also indicates a game progress prompt, so that after the user views the game prompt information, it can be known how to perform the operation subsequently.

[0241] In the embodiments of the present application, in the case that the information associated with the first virtual object is viewed and the object detection function is closed, the game prompt information can also be displayed, so as to achieve the effect of game prompting.

[0242] It should be noted that the above embodiments are described by taking the display of the virtual object of the target type in the case that the object detection function is opened as an example, and in another embodiment, in the case that the object detection function is opened, the current virtual scene can be switched to another virtual scene, and the second virtual object can be controlled to move in the other virtual scene, so as to detect the virtual object of the target type around the second virtual object in the other virtual scene. In a possible implementation, the virtual scene in the above embodiments is referred to as a first virtual scene, and the virtual scene display method comprises: the terminal displays the first virtual scene, the first virtual scene displays the second virtual object and a function entry of the object detection function, in the case that there is a virtual object of the target type around the second virtual object, the display state of the function entry is switched to a third display state, in response to the trigger operation on the function entry, the first virtual scene is switched to display a second virtual scene, the second virtual scene displays the second virtual object, displays special effects and a crosshair, the first virtual object of the target type is displayed in the first display state in the second virtual scene, and in the case that the crosshair aims at the first virtual object, the information associated with the first virtual object is displayed in the second virtual scene; in response to the closing operation of the object detection function, the second virtual scene is switched to display the first virtual scene.

[0243] The second virtual scene contains different content from the first virtual scene. For example, the first virtual scene is a street type virtual scene, and when the first virtual scene is displayed, the second virtual object can be represented as being located in the street. The second virtual scene is a cave type virtual scene, and when the second virtual scene is displayed, the second virtual object can be represented as being located in the cave, that is, the second virtual object remains in the same position, and the virtual scene switching can be realized by only opening the object detection function. In the second virtual scene after switching, virtual objects of a target type around the second virtual object can be detected.

[0244] On the basis of the above-mentioned embodiments, in the game development process, for example, an open world action RPG (Role-playing game) game. The target configuration information is configured by the developer, and the target configuration information indicates the type of the virtual object in the virtual scene and the position of the virtual object in the virtual scene. Then, during the game process, the terminal or the server can determine whether there is a virtual object of a target type around the second virtual object according to the target configuration information.

[0245] For example, the target configuration information is shown in Table 1. The target configuration information includes the object identifier of the virtual object, the position, and the type identifier of the type to which the virtual object belongs. The position is represented in the form of coordinates. In the embodiments of the present application, in addition to the virtual objects of the target type, there are virtual objects of other types in the virtual scene. For example, the virtual object 2 in the virtual scene is of a first type different from the target type. When the object detection function is opened, that is, when the virtual scene in the special field of view is displayed, the virtual object 2 will also be displayed in a display state different from the first display state in the virtual scene, so as to enrich the content displayed in the virtual scene in the special field of view. When the virtual object 2 is aimed at by the crosshair, the display state of the crosshair does not change, and the display state of the virtual object 2 also does not change. For another example, the type to which the virtual object 3 in the virtual scene belongs is not specified in the target configuration information. Therefore, when the virtual scene in the special field of view is displayed, the virtual object 3 will not be displayed in a special display state.

[0246] Table 1

[0247] In addition, for the target type virtual object in the virtual scene, object information of the target type virtual object is also configured, and the object information includes object identification of the virtual object, position, type identification of the type to which the virtual object belongs, detected distance, distance range, detail information, camera position and shooting angle of a virtual camera when the detail information is displayed, game prompt information after the detail information is displayed, and task identification. The detected distance can be any distance, such as 10 meters. The distance range is a range in which information associated with the virtual object can be viewed, for example, the distance range is 5 meters to 7 meters. The detail information is used to describe detailed conditions of the virtual object, for example, the detail information is “television, size of the television, and where the television can be obtained”. The position and the shooting angle of the virtual camera when the detail information is displayed are that when the detail information of the virtual object is displayed, the virtual camera shoots according to the position and the shooting angle of the virtual camera, and then displays a picture shot by the virtual camera, so as to ensure display effect of the detail information. The game prompt information after the detail information is displayed is how to perform an operation or which task to perform after the detail information is displayed, so as to realize guidance. The task identification indicates a task associated with the detail information, that is, the task indicated by the task identification is to view the detail information of the virtual object. In the embodiment of the application, when the detail information of the target type virtual object is displayed, the virtual camera shoots according to the position and the shooting angle of the virtual camera in the object information, and then displays a picture shot by the virtual camera, so as to highlight the target type virtual object. The game prompt information can prompt a task completion progress, so as to prompt how to perform an operation subsequently. The task identification indicates a task associated with the target type virtual object.

[0248] Based on the above-mentioned embodiments, the embodiment of the application further provides a schematic diagram of a virtual scene, as shown in FIGS. 7 to 14.

[0249] When the terminal does not exist the target type virtual object around the second virtual object, the displayed virtual scene is as shown in FIG. 7, the virtual scene displays the second virtual object 701, the function entry 702 of the object detection function, other controls, a thumbnail map, and the like, the display state of the function entry 702 and the other controls is the same, and the function entry 702 and the other controls are not highlighted, at this time, the object detection function is not started. The virtual scene also displays task prompt information 703 of the second virtual object, the task prompt information 703 prompts “go to the commercial island to find a clue”, so as to prompt how to complete the task.

[0250] When the terminal detects a virtual object of the target type within the detection range centered on the second virtual object, as shown in FIG. 8, the display state of the function entry 801 of the object detection function in the virtual scene changes, and a first virtual object 802 of the target type is also displayed in the virtual scene. At this time, the first virtual object 802 has the same display state as other virtual objects in the virtual scene, and the user cannot learn that the first virtual object 802 is a virtual object of the target type by viewing the virtual scene.

[0251] The user clicks or long-presses the function entry of the object detection function through the terminal to start the object detection function, as shown in FIG. 9, a close option 901 is displayed in the virtual scene, and a display special effect is displayed to spread around the second virtual object. The display special effect is equivalent to a detection special effect, to embody a dynamic picture of detecting virtual objects of the target type around. The terminal controls the shooting angle of the virtual camera, and displays the virtual scene shot by the adjusted virtual camera. The second virtual object is displayed to the left in the virtual scene, and a reticle is displayed in the center, to avoid the case that the second virtual object in the virtual scene blocks other virtual objects, and facilitate the user to view the displayed virtual objects. When the first virtual object of the target type can be currently shot by the virtual camera, the first virtual object 902 is displayed in the virtual scene in a first display state, and a fourth virtual object 903 is also displayed in the virtual scene in another display state. The fourth virtual object does not belong to the target type. When the reticle aims at the fourth virtual object 903, the display state of the reticle 904 does not change.

[0252] The user adjusts the shooting angle of the virtual camera through the terminal to adjust the virtual scene displayed by the terminal. When the reticle aims at the first virtual object, as shown in FIG. 10, the display state of the reticle 1001 changes in the virtual scene. When the distance between the second virtual object 1002 and the first virtual object 1003 is out of the distance range corresponding to the first virtual object 1003, the second virtual object 1002 cannot view the information associated with the first virtual object 1003, and distance prompt information 1004 is displayed around the first virtual object 1003, to prompt that the distance between the second virtual object 1002 and the first virtual object 1003 is too far or too close.

[0253] When the distance between the second virtual object and the first virtual object is within the distance range corresponding to the second virtual object, and the detail information of the first virtual object has not been displayed, as shown in FIG. 11, prompt information 1102 and a detail viewing option 1103 are displayed around the first virtual object 1101. The prompt information 1102 is “????”, to indicate that the detail information of the first virtual object 1101 has not been displayed.

[0254] When the distance between the terminal and the second virtual object is within the distance range of the second virtual object and the terminal has displayed the detail information of the first virtual object, the terminal displays the brief introduction information 1202, which is "TV", and the detail viewing option 1203 around the first virtual object 1201, as shown in FIG. 12, to indicate that the terminal has displayed the detail information of the first virtual object 1201.

[0255] When the user clicks the detail viewing option through the terminal, the terminal switches to display a detail display interface, and the virtual scene in the detail display interface is obtained by the virtual camera shooting the virtual scene according to the camera position and the shooting angle in the object information of the first virtual object, as shown in FIG. 13. In the virtual scene, the first virtual object 1301 is highlighted, and the detail information 1302 of the first virtual object 1301 is displayed, to focus on the first virtual object 1301 and hide the controls and other virtual objects in the virtual scene. In addition, when the terminal has displayed the detail information 1302 of the first virtual object 1301, the server updates the display record corresponding to the terminal, to record that the terminal has displayed the detail information 1302 of the first virtual object 1301.

[0256] When the terminal displays the detail information, the user clicks any position through the terminal, and the terminal switches the detail display interface to display a virtual scene, as shown in FIG. 14. In the virtual scene, the first virtual object 1402 is aimed at by the crosshair 1401, and the brief introduction information 1403 and the detail viewing option 1404 are displayed around the first virtual object 1402. In addition, the virtual scene displays the game prompt information 1405, such as "the task has been completed, please complete the next task at xx place".

[0257] Based on the scheme provided in the embodiments of the present application, the second virtual object can view the information associated with the first virtual object without approaching the first virtual object. For special virtual objects in the virtual scene, the second virtual object cannot approach these special virtual objects by moving. By adopting the scheme provided in the embodiments of the present application, the second virtual object can view the information associated with these special virtual objects. For example, there are virtual objects flying in the virtual scene, and the user cannot control the second virtual object to move to the vicinity of the flying virtual objects in the air through the terminal. By adopting the scheme provided in the embodiments of the present application, the second virtual object can view the information associated with the flying virtual objects in the air.

[0258] Based on the above-mentioned embodiments, the embodiments of the present application further provide a flowchart of a virtual scene display method, as shown in FIG. 15. The method comprises the following steps:

[0259] In step 1, the terminal displays the second virtual object and the function entrance of the object detection function in the virtual scene, and the user can click or long-press the function entrance through the terminal.

[0260] Step 2, the terminal detects a pressing operation on the function entry, and detects whether the pressing duration is greater than a first duration.

[0261] In the embodiments of the present application, after step 2, step 3-13 is performed, or step 14-26 is performed.

[0262] Step 3, the terminal detects a release operation on the function entry in the case where the pressing duration is less than the first duration, determines that this is a click operation on the function entry, adjusts the shooting angle of the virtual camera, displays the virtual scene shot by the adjusted virtual camera, which is equivalent to opening a special field of view, displays the virtual scene under the special field of view, displays the second virtual object to the left in the virtual scene, displays a reticle at the center, and displays a special effect in the virtual scene to represent that the object detection function is opened. The first duration is 0.2 seconds.

[0263] Step 4, the terminal detects whether the reticle aims at a virtual object that is detected and belongs to a target type.

[0264] Step 5, the terminal detects whether the distance between the second virtual object and the first virtual object satisfies a distance range corresponding to the first virtual object in the case where the reticle aims at the first virtual object. The distance range corresponding to the first virtual object is the detail viewing distance range of the first virtual object.

[0265] Step 6, the terminal displays distance prompt information in the case where the distance between the second virtual object and the first virtual object is outside the distance range corresponding to the first virtual object, and the distance prompt information prompts that the current distance is too close or too far.

[0266] Step 7, the terminal determines whether the detail information of the first virtual object has been displayed in the case where the distance between the second virtual object and the first virtual object is within the distance range corresponding to the first virtual object.

[0267] Step 8, the terminal displays prompt information and a detail viewing option in the virtual scene in the case where the detail information of the first virtual object has not been displayed, and the prompt information is “????” to prompt that the detail information of the first virtual object has not been displayed.

[0268] Step 9, the terminal displays introduction information and a detail viewing option in the virtual scene in the case where the detail information of the first virtual object has been displayed, to prompt that the detail information of the first virtual object has been displayed.

[0269] Step 10, the terminal detects whether the detail viewing option is clicked after step 8 or step 9.

[0270] Step 11, the terminal displays a detail display interface in response to the click operation on the detail viewing option, the detail display interface displays the first virtual object in an enlarged manner and displays the detail information.

[0271] Step 12, the terminal displays a virtual scene in response to the click operation on any position in the detail display interface, the virtual scene displays the display special effect and the aiming dot aiming at the first virtual object, and further displays the brief information of the first virtual object.

[0272] Step 13, the terminal cancels the display of the display special effect and the aiming dot in response to the re-click operation on the function entry, to indicate that the object detection function is closed.

[0273] Step 14, the terminal determines that the current operation is a long press operation on the function entry in a case where the press duration is not less than a first duration, adjusts the shooting angle of the virtual camera, displays the virtual scene shot by the adjusted virtual camera, displays the second virtual object on the left in the virtual scene, displays the aiming dot in the center, displays the display special effect in the virtual scene, to indicate that the object detection function is opened.

[0274] Step 15, the terminal detects whether the function entry is kept pressed.

[0275] Step 16, the terminal cancels the display of the display special effect and the aiming dot in a case where the release operation on the function entry is detected, to indicate that the object detection function is closed.

[0276] Step 17, the terminal detects whether the aiming dot aims at the virtual object that is detected and belongs to the target type in a case where the function entry is kept pressed.

[0277] Step 18, the terminal detects whether the distance between the second virtual object and the first virtual object satisfies the distance range corresponding to the first virtual object in a case where the aiming dot aims at the first virtual object.

[0278] Step 19, the terminal displays distance prompt information in a case where the distance between the second virtual object and the first virtual object is outside the distance range corresponding to the first virtual object, the distance prompt information prompts that the current distance is too close or too far.

[0279] Step 20, the terminal determines whether the detail information of the first virtual object has been displayed in a case where the distance between the second virtual object and the first virtual object is within the distance range corresponding to the first virtual object.

[0280] Step 21, the terminal displays prompt information and a detail viewing option in the virtual scene in a case where the detail information of the first virtual object has not been displayed, the prompt information is “???”, to prompt that the detail information of the first virtual object has not been displayed.

[0281] Step 22, in the case that the terminal has displayed the detail information of the first virtual object, the terminal displays the brief introduction information and a detail viewing option in the virtual scene to prompt that the detail information of the first virtual object has been displayed.

[0282] Step 23, after step 21 or step 22, the terminal detects whether the detail viewing option is clicked.

[0283] Step 24, the terminal displays a detail display interface in response to the clicking operation on the detail viewing option, the detail display interface displays the first virtual object in an enlarged manner and displays the detail information.

[0284] Step 25, the terminal displays the virtual scene in response to the clicking operation on any position in the detail display interface, the virtual scene displays a display effect, a crosshair aiming at the first virtual object, and further displays the brief introduction information of the first virtual object.

[0285] Step 26, the terminal cancels the display of the display effect and the crosshair in response to the releasing operation on the function entry to indicate that the object detection function is closed.

[0286] The scheme provided by the embodiment of the present application can quickly obtain information through aiming and detail viewing in the virtual scene, can improve the convenience of viewing information associated with the virtual object, and further improves the interactive efficiency. After aiming, the virtual object and the detail information can be displayed in an enlarged manner, so that the user can immerse in the experience of the virtual object to be viewed, avoids the interference caused by other displayed contents, and improves the immersion of the user. This way of viewing information can be applied to virtual objects in different scenes, avoids the situation that the virtual object cannot approach the virtual object to be viewed and cannot view information, can meet different interactive needs of the user, and improves the user experience.

[0287] On the basis of the above-mentioned embodiment, the virtual scene display method provided by the embodiment of the present application further includes the following steps:

[0288] Step 1, the terminal displays a virtual scene, the virtual scene displays a second virtual object, a function entry of an object detection function, and a configuration entry of the object detection function.

[0289] Step 2, the terminal displays a type configuration interface in response to the triggering operation on the configuration entry, the type configuration interface is used to configure the type of the virtual object detected by the object detection function.

[0290] Step 3, the terminal determines the target type input in response to the input operation in the type configuration interface, and displays the virtual scene in response to the closing operation on the type configuration interface.

[0291] In the embodiment of the present application, the user can input any type in the type configuration interface through the terminal, for example, inputting virtual weapon type, virtual car type, virtual armor type, etc. in the type configuration interface.

[0292] Step 4, the terminal displays the virtual objects around the second virtual object and belonging to the configured target type in the first display state in the virtual scene in response to the triggering operation of the function entry in the virtual scene.

[0293] In the embodiment of the present application, in the case that there is an obstacle between the virtual objects around the second virtual object and belonging to the configured target type and the second virtual object, the virtual objects that are blocked can be displayed in the manner provided in the above embodiment.

[0294] Step 5, the terminal can display the brief information of the virtual object and the detail viewing option in the case that the virtual object is detected and belongs to the target type, and display the detail information of the virtual object and the pickup option in response to the triggering operation of the detail viewing option.

[0295] Step 6, the terminal acquires the virtual object in response to the triggering operation of the pickup option.

[0296] In the embodiment of the present application, the type of the virtual object detected by the object detection function can be configured, so that in the case that the object detection function is turned on, the virtual object of the configured type is detected, and in the case that the virtual object of the configured type is detected, the information associated with the virtual object can be viewed without the second virtual object approaching the detected virtual object, and the virtual object can be acquired, thereby improving the efficiency of searching for the virtual object in the virtual scene, improving the interest of the game, and further improving the user experience.

[0297] For example, according to the scheme provided in the embodiment of the present application, the user configures the prop type detected by the object detection function through the terminal, then the terminal detects the virtual weapon around the second virtual object according to the configured prop type in the case that the object detection function is turned on, and the virtual prop around the second virtual object can be displayed regardless of whether there is an obstacle between the virtual prop around the second virtual object and the second virtual object, so that the user does not need to control the second virtual object to enter each building to search for the virtual prop, and in the case that the virtual prop around the second virtual object is detected, the user can control the crosshair to aim at the virtual prop through the terminal, and the information of the virtual prop can be viewed, such as the model, attack value, and magazine of the virtual prop, and when the user wants to control the second virtual object to pick up the virtual prop, the virtual prop can be picked up through the displayed pickup option, without controlling the first virtual object to approach the virtual prop to pick up it, thereby providing convenience for the user to control the second virtual object to search for the virtual prop in the virtual scene.

[0298] FIG. 16 is a structural schematic diagram of a virtual scene display device provided by an embodiment of the present application. As shown in FIG. 16, the device includes:

[0299] The display module 1601 is configured to, in a case where the object detection function is turned on, display a first virtual object belonging to the target type in the virtual scene in a first display state, the object detection function being configured to detect virtual objects belonging to the target type around a second virtual object, and the first display state indicating that the first virtual object is detected.

[0300] The display module 1601 is further configured to, in a case where the first virtual object is aimed at, display information associated with the first virtual object in the virtual scene.

[0301] In a possible implementation, the display module 1601 is configured to, in a case where the object detection function is turned on, switch the display state of the first virtual object to the first display state in the virtual scene.

[0302] In another possible implementation, the display module 1601 is configured to, in a case where the object detection function is turned on and the first virtual object is located in a detection range, switch the display state of the first virtual object to the first display state in the virtual scene, the detection range being a range centered at the position of the second virtual object and having a first distance as a radius.

[0303] In another possible implementation, the display module 1601 is configured to, in a case where the crosshair aims at the first virtual object in the virtual scene, display information associated with the first virtual object in the virtual scene.

[0304] In another possible implementation, the display module 1601 is configured to, in a case where the crosshair aims at the first virtual object, switch the display state of the crosshair to a second display state in the virtual scene, display the information associated with the first virtual object, and the second display state indicating that the crosshair aims at the detected virtual object.

[0305] In another possible implementation, the display module 1601 is configured to, in a case where the first virtual object is aimed at and the detail information of the first virtual object is not displayed, display prompt information associated with the first virtual object in the virtual scene, the prompt information being configured to prompt that the detail information of the first virtual object is not displayed; or, in a case where the first virtual object is aimed at and the detail information of the first virtual object is displayed, display introduction information associated with the first virtual object in the virtual scene.

[0306] In a possible implementation, the display module 1601 is further configured to, in response to the detail detection operation on the prompt information, highlight the first virtual object in the virtual scene, and display the detail information of the first virtual object; and in response to a closing operation on the detail information, display the brief information associated with the first virtual object in the virtual scene.

[0307] In a possible implementation, the display module 1601 is further configured to, in response to the opening operation of the object detection function, display a display special effect in the virtual scene, and the display special effect indicates that the object detection function is opened.

[0308] In a possible implementation, the display module 1601 is configured to, in response to the opening operation, display a display special effect in the virtual scene, and the display special effect spreads from the second virtual object to the surrounding.

[0309] In a possible implementation, the display module 1601 is further configured to, in a case where there is a virtual object of the target type around the second virtual object, switch the display state of the function entry to a third display state in the virtual scene, the function entry is an entry of the object detection function, and the third display state indicates that there is a virtual object of the target type around the second virtual object.

[0310] The display module 1601 is configured to, in a case where the function entry is displayed in the third display state, display a display special effect in the virtual scene in response to a triggering operation on the function entry.

[0311] In a possible implementation, the display module 1601 is configured to, in a case where the first virtual object is aimed, display information associated with the first virtual object and matching the behavior information of the second virtual object in the virtual scene.

[0312] In a possible implementation, the display module 1601 is configured to, in a case where there is a virtual object of the target type in a detection range, switch the display state of the function entry to a third display state in the virtual scene, and the detection range is a range with the position of the second virtual object as the center and with a first distance as the radius.

[0313] In a possible implementation, the display module 1601 is configured to, in a case where there is a third virtual object in the detection range, determine a distance between the second virtual object and the third virtual object, and the third virtual object belongs to the target type; and in a case where the distance is less than a second distance, switch the display state of the function entry to a third display state in the virtual scene, and the second distance is a distance at which the third virtual object can be detected.

[0314] In a possible implementation, the display module 1601 is configured to, in response to the opening operation, display the display special effect in the virtual scene when the second virtual object is located in the first region.

[0315] In a possible implementation, the display module 1601 is configured to, in response to the opening operation, display the display special effect in the virtual scene when the second virtual object is located in the first region.

[0316] In a possible implementation, the display module 1601 is configured to, in response to the opening operation, display the display special effect in the virtual scene when the second virtual object is located in the first region.

[0317] In a possible implementation, the display module 1601 is configured to, in response to the opening operation, display the display special effect in the virtual scene when the second virtual object is located in the first region.

[0318] In a possible implementation, the display module 1601 is configured to, in response to the opening operation, display the display special effect in the virtual scene when the second virtual object is located in the first region.

[0319] In a possible implementation, the display module 1601 is configured to, in response to the opening operation, display the display special effect in the virtual scene when the second virtual object is located in the first region.

[0320] It should be noted that the virtual scene display apparatus provided in the above embodiments is only exemplified by the division of the above functional modules, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the virtual scene display apparatus and the virtual scene display method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.

[0321] The computer device provided in the embodiments of the present application includes a processor and a memory, and the memory stores at least one computer program, which is loaded and executed by the processor to implement the operations performed by the virtual scene display method of the above embodiments.

[0322] Optionally, the computer device is provided as a terminal. FIG. 17 shows a structural block diagram of a terminal 1700 provided in an example embodiment of the present application. The terminal 1700 includes a processor 1701 and a memory 1702.

[0323] The processor 1701 can include one or more processing cores. The processor 1701 can also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1701 can be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1701 can also include an AI (Artificial Intelligence) processor for processing machine learning-related computing operations. The memory 1702 can include one or more computer-readable storage media, which can be non-transitory.

[0324] In some embodiments, the terminal 1700 can also optionally include a peripheral device interface 1703 and at least one peripheral device. The processor 1701, the memory 1702, and the peripheral device interface 1703 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 1703 through a bus, a signal line, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1704, a display screen 1705, a camera assembly 1706, an audio circuit 1707, and a power supply 1708.

[0325] The peripheral interface 1703 can be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1701 and the memory 1702. The radio frequency circuit 1704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1704 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. The display screen 1705 is used to display a UI (User Interface). The UI can include graphics, text, icons, videos, and any combination thereof. When the display screen 1705 is a touch display screen, the display screen 1705 also has the ability to collect touch signals on or above the surface of the display screen 1705. The touch signals can be input to the processor 1701 as control signals for processing. At this time, the display screen 1705 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. The camera assembly 1706 is used to capture images or videos. Optionally, the camera assembly 1706 includes a front-facing camera and a rear-facing camera. The front-facing camera is arranged on the front panel of the terminal, and the rear-facing camera is arranged on the back of the terminal. The audio circuit 1707 can include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals input to the processor 1701 for processing, or input to the radio frequency circuit 1704 to realize voice communication. The speaker is used to convert electrical signals from the processor 1701 or the radio frequency circuit 1704 into sound waves. The speaker can be a conventional film speaker, or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves that humans can hear, but also convert electrical signals into sound waves that humans cannot hear for ranging purposes. The power supply 1708 is used to supply power to each component in the terminal 1700.

[0326] Those skilled in the art can understand that the structure shown in FIG. 17 does not constitute a limitation on the terminal 1700, and can include more or fewer components than illustrated, or combine certain components, or use different component arrangements.

[0327] Optionally, the computer device is provided as a server. FIG. 18 is a structural schematic diagram of a server provided by an embodiment of the present application. The server 1800 can be quite different in configuration or performance, and can include one or more processors (Central Processing Units, CPU) 1801 and one or more memories 1802. The memory 1802 stores at least one computer program, which is loaded and executed by the processor 1801 to implement the method provided by each of the above-mentioned method embodiments. Of course, the server can also have a wired or wireless network interface, a keyboard, an input and output interface, and other components for implementing the functions of the device, and will not be described here.

[0328] The embodiment of the present application further provides a computer readable storage medium, which stores at least one computer program. The at least one computer program is loaded and executed by a processor to implement the operations performed by the virtual scene display method of the above-mentioned embodiments.

[0329] The embodiment of the present application further provides a computer program product, which includes a computer program. The computer program is executed by a processor to implement the operations performed by the virtual scene display method of the above-mentioned embodiments.

[0330] Those skilled in the art can understand that all or part of the above-mentioned steps of the embodiments can be completed by hardware, or by a program instructing relevant hardware to complete, and the program can be stored in a computer readable storage medium, such as a read-only memory, a magnetic disk or an optical disk.

[0331] The above-mentioned is only an optional embodiment of the present application, and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A virtual scene display method, executed by a computer device, comprising: displaying, in a virtual scene, a first virtual object belonging to a target type in a first display state, in a case where an object detection function is turned on, the object detection function being configured to detect a virtual object belonging to the target type around a second virtual object, the first display state indicating that the first virtual object is detected; displaying, in the virtual scene, information associated with the first virtual object, in a case where the first virtual object is aimed at.

2. The method of claim 1, wherein, The displaying, in a virtual scene, a first virtual object belonging to a target type in a first display state, in a case where an object detection function is turned on, comprises: displaying, in the virtual scene, a display state of the first virtual object being switched to the first display state, in the case where the object detection function is turned on.

3. The method of claim 2, wherein, The displaying, in the virtual scene, a display state of the first virtual object being switched to the first display state, in the case where the object detection function is turned on, comprises: displaying, in the virtual scene, a display state of the first virtual object being switched to the first display state, in the case where the object detection function is turned on and the first virtual object is located within a detection range, the detection range being a range centered at a position of the second virtual object and having a first distance as a radius.

4. The method according to any one of claims 1 to 3, wherein, The displaying, in the virtual scene, information associated with the first virtual object, in a case where a crosshair aims at the first virtual object, comprises: displaying, in the virtual scene, a display state of the crosshair being switched to a second display state, displaying the information associated with the first virtual object, in the case where the crosshair aims at the first virtual object in the virtual scene, the second display state indicating that the crosshair aims at a detected virtual object.

5. The method according to any one of claims 1 to 3, wherein, The displaying, in the virtual scene, information associated with the first virtual object, in a case where a crosshair aims at the first virtual object, comprises: displaying, in the virtual scene, prompt information associated with the first virtual object, in the case where the crosshair aims at the first virtual object and the detail information of the first virtual object has not been displayed, the prompt information being configured to prompt that the detail information of the first virtual object has not been displayed; or displaying, in the virtual scene, brief introduction information associated with the first virtual object, in the case where the crosshair aims at the first virtual object and the detail information of the first virtual object has been displayed.

6. The method of claim 5, wherein, The method further comprises: in response to a detail detection operation on the prompt information, highlighting the first virtual object in the virtual scene and displaying the detail information of the first virtual object; in response to a close operation on the detail information, displaying the brief introduction information associated with the first virtual object in the virtual scene.

7. The method according to any one of claims 1 to 3, wherein, The method further includes, before displaying the information associated with the first virtual object in the virtual scene in the case that the first virtual object is aimed at: In response to an opening operation of the object detection function, displaying a display special effect in the virtual scene, the display special effect indicating that the object detection function has been opened.

8. The method of claim 7, wherein, The method further includes, before displaying the display special effect in the virtual scene in response to the opening operation of the object detection function: In the case that there is a virtual object of the target type around the second virtual object, the display state of a function entry is switched to a third display state in the virtual scene, the function entry being an entry of the object detection function, and the third display state indicating that there is a virtual object of the target type around the second virtual object. The method further includes, before displaying the display special effect in the virtual scene in response to the opening operation of the object detection function: In the case that the function entry is displayed in the third display state, in response to a triggering operation on the function entry, the display special effect is displayed in the virtual scene.

9. The method of claim 8, wherein, The method further includes, before displaying the display state of the function entry is switched to the third display state in the virtual scene in the case that there is a virtual object of the target type around the second virtual object: In the case that there is a virtual object of the target type in a detection range, the display state of the function entry is switched to the third display state in the virtual scene, the detection range being a range with a first distance as a radius and with the position of the second virtual object as a center.

10. The method of claim 9, wherein, The method further includes, before displaying the display state of the function entry is switched to the third display state in the virtual scene in the case that there is a virtual object of the target type in the detection range: In the case that there is a third virtual object in the detection range, the third virtual object belonging to the target type, a distance between the second virtual object and the third virtual object is determined; In the case that the distance is less than a second distance, the second distance being a distance at which the third virtual object can be detected, the display state of the function entry is switched to the third display state in the virtual scene.

11. The method of claim 7, wherein, The method further includes, before displaying the display special effect in the virtual scene in response to the opening operation of the object detection function: In the case that the second virtual object is located in a first area, the display special effect is displayed in the virtual scene in response to the opening operation.

12. The method according to any one of claims 1 to 3, wherein, The method further includes, before displaying the information associated with the first virtual object in the virtual scene in the case that the first virtual object is aimed at: In the case that the first virtual object is aimed at, the information associated with the first virtual object and matching the behavior information of the second virtual object is displayed in the virtual scene.

13. The method according to any one of claims 1 to 3, wherein, The method further includes, before displaying the information associated with the first virtual object in the virtual scene in the case that the first virtual object is aimed at: In a case where the first virtual object is aimed at and a distance between the second virtual object and the first virtual object is within a distance range, display information associated with the first virtual object in the virtual scene.

14. The method of claim 13, wherein, The method further includes: In a case where the first virtual object is aimed at and the distance between the second virtual object and the first virtual object is outside the distance range, display distance prompt information in the virtual scene, the distance prompt information being used to prompt that the distance between the second virtual object and the first virtual object is outside the distance range.

15. The method according to any one of claims 1 to 3, wherein, After the information associated with the first virtual object is displayed in the virtual scene in the case where the first virtual object is aimed at, the method further includes: In response to a closing operation of the object detection function, the display of the first virtual object in the virtual scene is cancelled; or, In response to the closing operation of the object detection function, the display state of the first virtual object in the virtual scene is switched to a fourth display state.

16. The method of any one of claims 1 to 3, wherein, The first virtual object belonging to a target type is displayed in a first display state in the virtual scene in a case where the object detection function is turned on, the object detection function being used to detect virtual objects belonging to the target type around a second virtual object. In a case where the object detection function is turned on and there is an obstacle between the first virtual object and the second virtual object, the display state of a second region is switched to a transparent state, the first virtual object is displayed in the first display state, and the second region is a region containing and shielding the first virtual object of the obstacle; or, In a case where the object detection function is turned on and there is an obstacle between the first virtual object and the second virtual object, the transparency of the obstacle is increased, and the first virtual object is displayed in the first display state; or, In a case where the object detection function is turned on and there is an obstacle between the first virtual object and the second virtual object, the contour of the first virtual object is displayed in the second region, and the first display state is a contour display state.

17. A virtual scene display apparatus, the apparatus comprising: a display module configured to display a first virtual object belonging to a target type in a first display state in a virtual scene in a case where an object detection function is turned on, the object detection function being used to detect virtual objects belonging to the target type around a second virtual object, and the first display state indicating that the first virtual object is detected. The display module is further configured to display information associated with the first virtual object in the virtual scene in a case where the first virtual object is aimed at.

18. A computer device, the computer device comprising a processor and a memory, and the memory stores at least one computer program, the at least one computer program is loaded and executed by the processor to implement operations performed by the virtual scene display method according to any one of claims 1 to 16.

19. A computer readable storage medium having stored therein at least one computer program, the at least one computer program being loadable into a processing unit and adapted to cause a processor to implement the operations as performed by the virtual scene display method according to any one of claims 1 to 16.

20. A computer program product comprising a computer program which, when executed by a processor, implements the operations as performed by the virtual scene display method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Virtual object marking method and device

    CN113209617A

  • Information prompting method and device, storage medium and electronic equipment

    CN113457150A

  • Game display control method and device, computer equipment and storage medium

    CN115193035A

  • Game view control method and device, storage medium and electronic equipment

    CN116196618A

  • Virtual item control method and device, equipment, storage medium and program product

    CN117815662A