Guiding method, device, equipment, medium and program product in virtual scene

By displaying a compass indicator in the virtual scene and dynamically adjusting the display style of the guide icon information, the problem of the limited number and categories of exploration object icons in the virtual scene is solved, the utilization rate of graphics processing resources and the exploration ability of virtual objects are improved, and the gaming experience is enhanced.

CN116999824BActive Publication Date: 2025-11-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211000774.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-19
Publication Date
2025-11-21
Estimated Expiration
2042-08-19

AI Technical Summary

Technical Problem

In existing technologies, due to the limited display range of minimaps, the number and categories of icons for exploring objects in virtual scenes are limited, resulting in low utilization of graphics processing resources and affecting players' exploration capabilities and gaming experience in virtual scenes.

Method used

The system displays the target virtual object and compass indicator in the virtual scene. When the distance between the target exploration object and the target virtual object exceeds a certain distance, the system displays guide icon information on the compass indicator. The display style of the guide icon information is dynamically adjusted to match the relative position, thus enriching the display style of the guide icon information.

Benefits of technology

It improves the utilization rate of graphics processing resources, enhances the exploration capabilities of virtual objects in virtual scenes and the efficiency of human-computer interaction, and improves the gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116999824B_ABST
    Figure CN116999824B_ABST
Patent Text Reader

Abstract

The application provides a guiding method and device in a virtual scene, equipment, a computer readable storage medium and a computer program product; the method comprises the following steps: displaying a target virtual object and a compass indicator in a picture of the virtual scene; when there is a target exploration object in the virtual scene, and the distance between the target exploration object and the target virtual object exceeds a first distance, displaying target exploration object corresponding guiding icon information on the compass indicator, the guiding icon information is used for guiding the target virtual object to move in the virtual scene; in the process of moving the target virtual object, the display style of the guiding icon information is adjusted, so that the display style of the guiding icon information matches the relative position of the target exploration object and the target virtual object. Through the application, the display style of the guiding icon information corresponding to the exploration object can be enriched, and the utilization rate of the graphic processing resource is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to human-computer interaction technology, and in particular to a guiding method and device in a virtual scene, equipment, a medium and a program product. BACKGROUND

[0002] Human-computer interaction technology based on virtual scenes of graphic processing hardware can realize diversified interaction between virtual objects controlled by users or artificial intelligence according to actual application requirements, and has wide practical value. For example, in the virtual scene application of games, the real battle process between virtual objects can be simulated. Taking a shooting game as an example, virtual objects in different groups fight in the game.

[0003] In order to improve the exploration ability of players in a virtual scene, the related technology guides the players in the form of a small map, which usually displays an exploration object icon in a circular region with the current position of the player as the center and a certain distance as the radius. However, due to the limitations of the display range of the small map, the number and type of the displayed exploration object icons are limited, and the display style is single, which results in low utilization of graphic processing resources. SUMMARY

[0004] The embodiments of the present application provide a guiding method, device, equipment, computer readable storage medium and computer program product in a virtual scene, which can enrich the display style of the guiding icon information corresponding to the exploration object and improve the utilization of graphic processing resources.

[0005] The technical solutions of the embodiments of the present application are implemented as follows:

[0006] The embodiments of the present application provide a guiding method in a virtual scene, comprising:

[0007] displaying a target virtual object and a compass indicator in a picture of the virtual scene;

[0008] when there is a target exploration object in the virtual scene and the distance between the target exploration object and the target virtual object exceeds a first distance, displaying guiding icon information corresponding to the target exploration object on the compass indicator, the guiding icon information being used to guide the target virtual object to move in the virtual scene;

[0009] adjusting the display style of the guiding icon information during the movement of the target virtual object, so that the display style matches the relative position of the target exploration object and the target virtual object.

[0010] The embodiments of the present application provide a guiding device in a virtual scene, comprising:

[0011] The first display module is configured to display a target virtual object and a compass indicator in a picture of a virtual scene.

[0012] The second display module is configured to display guide icon information corresponding to a target exploration object on the compass indicator when the target exploration object exists in the virtual scene and a distance between the target exploration object and the target virtual object exceeds a first distance, the guide icon information being used to guide the target virtual object to move in the virtual scene.

[0013] The style adjustment module is configured to adjust a display style of the guide icon information during movement of the target virtual object, so that the display style matches a relative position between the target exploration object and the target virtual object.

[0014] In the above solution, before the guide icon information corresponding to the target exploration object is displayed on the compass indicator, the device further includes a distance determination module configured to perform category identification on the target exploration object to obtain a category corresponding to the target exploration object, and determine the first distance corresponding to the target exploration object based on the category of the target exploration object.

[0015] In the above solution, the second display module is further configured to display the guide icon on the compass indicator and display position indication information in an associated display area of the guide icon when the guide icon information includes the guide icon corresponding to the target exploration object and the position indication information, wherein the position indication information is used to indicate at least one of the following position information: a distance between the target exploration object and the target virtual object, and a height difference between the target exploration object and the target virtual object.

[0016] In the above solution, the style adjustment module is further configured to adjust a display size of the guide icon according to a change in the relative position between the target exploration object and the target virtual object, so that the display size of the guide icon matches the relative position, and update position information indicated by the position indication information, so that the position information indicated by the position indication information is consistent with the relative position.

[0017] In the above solution, the device further includes a third display module configured to display a special effect element corresponding to the guide icon in an associated display area of the guide icon during the corresponding adjustment of the display size of the guide icon, wherein the special effect element is used to indicate that the distance between the target exploration object and the target virtual object is less than a second distance, and the second distance is less than the first distance.

[0018] In the scheme, when the position information indicated by the position indication information comprises the height difference, the device further comprises a first determination module configured to acquire a first line connecting the target virtual object and the target exploration object, and acquire a first included angle between the first line and a horizontal line on which the target virtual object is located; and determine the height difference between the target exploration object and the target virtual object based on the first included angle.

[0019] In the scheme, when the guide icon information comprises a guide icon corresponding to the target exploration object, the second display module is further configured to display the guide icon corresponding to each target exploration object on the compass indicator when the number of target exploration objects is at least two and the distances between the target exploration objects and the target virtual object are different; wherein the display sizes of the guide icons corresponding to different target exploration objects are different, and the display sizes of the guide icons are negatively correlated with the distances.

[0020] In the scheme, when the guide icon information comprises a guide icon corresponding to the target exploration object, the second display module is further configured to determine a zooming scale corresponding to each target exploration object according to the distances between the target exploration objects and the target virtual object when the number of target exploration objects is at least two and the distances between the target exploration objects and the target virtual object are different; zoom the guide icon corresponding to each target exploration object based on the zooming scale, and display the zoomed guide icons on the compass indicator, so that the display sizes of the guide icons are consistent.

[0021] In the scheme, the second display module is further configured to display first guide icon information corresponding to an interest exploration object on the compass indicator when the target exploration object integrates the interest exploration object and a function exploration object; and the style adjustment module is further configured to update the first guide icon information displayed on the compass indicator to second guide icon information corresponding to the function exploration object when the target virtual object moves to the interest exploration object.

[0022] In the scheme, the second display module is further configured to acquire a first relative position between the target exploration object and the target virtual object, and acquire a second relative position between exploration objects and virtual objects in the virtual scene and a first mapping relationship between the second relative position and an indication scale on the compass indicator when the indication scale is distributed on the compass indicator; and determine a first target indication scale on the compass indicator corresponding to the first relative position based on the first mapping relationship, and display guide icon information corresponding to the target exploration object at the first target indication scale.

[0023] In the scheme, the second display module is further configured to obtain a target region with a center at a position of the target virtual object and a target angle as a second included angle, and take the target region as a display region of the compass indicator, wherein a straight line in the direction of the target virtual object is the angle bisector of the second included angle; and when a target exploration object exists in the display region in the virtual scene and a distance between the target exploration object and the target virtual object exceeds the first distance, display guide icon information corresponding to the target exploration object on the compass indicator.

[0024] In the scheme, the second display module is further configured to, when the compass indicator is provided with an indication scale, obtain a third included angle corresponding to the target exploration object and a second mapping relationship between a fourth included angle corresponding to an exploration object in the display region and the indication scale on the compass indicator; wherein the third included angle is an included angle between a second connecting line between the target exploration object and the target virtual object and the angle bisector of the second included angle, and the fourth included angle is an included angle between a third connecting line between an exploration object in the virtual scene and a virtual object and the angle bisector corresponding to the virtual object; based on the second mapping relationship, determine a second target indication scale on the compass indicator corresponding to the third included angle, and display the guide icon information corresponding to the target exploration object at the second target indication scale.

[0025] In the scheme, when other exploration objects exist on the second connecting line, the second display module is further configured to, at the second target indication scale, scroll to display the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects; or, display the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects side by side on a vertical line where the second target indication scale is located; or, at the second target indication scale, superimpose the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects in different display styles with different degrees of distinctness, wherein the degree of distinctness is positively correlated with exploration priorities of the target exploration object and the other exploration objects.

[0026] In the scheme, the device further includes a fourth display module configured to, when a target exploration object exists in a region other than the display region in the virtual scene and the target exploration object is a tracking exploration object, highlight guide icon information corresponding to the target exploration object at an end position on the compass indicator.

[0027] In the solution above, the device further includes a canceling display module configured to cancel display of the guide icon information corresponding to the target exploration object on the compass indicator when the target exploration object is an interest exploration object or a function exploration object and the target virtual object moves to the target exploration object.

[0028] In the solution above, the device further includes a fifth display module configured to display the guide icon information corresponding to the target exploration object in the virtual scene and display the target exploration object in a highlighted manner when the distance between the target exploration object and the target virtual object is not more than the first distance; and display the target exploration object in the virtual scene in the highlighted manner during display of the guide icon information on the compass indicator when the distance between the target exploration object and the target virtual object is more than the first distance and not more than a third distance; the third distance is greater than the first distance, and the highlighted manner includes at least one of the following display manners: target color display, superimposed mask display, highlight display, outline display, and special effect display.

[0029] Embodiments of the present application provide a terminal device, including:

[0030] a memory configured to store executable instructions;

[0031] a processor configured to execute the executable instructions stored in the memory to implement the guidance method in a virtual scene provided by embodiments of the present application.

[0032] Embodiments of the present application provide a computer readable storage medium storing computer executable instructions for causing a processor to execute the guidance method in a virtual scene provided by embodiments of the present application.

[0033] Embodiments of the present application provide a computer program product including a computer program or computer executable instructions, which, when executed by a processor, implement the guidance method in a virtual scene provided by embodiments of the present application.

[0034] Embodiments of the present application have the following beneficial effects:

[0035] With the embodiment of the present application, when the distance between the target exploration object and the target virtual object exceeds the first distance at which guidance can be displayed, the guidance icon information corresponding to the target exploration object is displayed on the compass indicator, so as to trigger a corresponding guidance instruction based on the guidance icon information, guide the target virtual object to move towards the target exploration object, and during the movement of the target virtual object towards the target exploration object, the display style of the guidance icon information is adjusted according to the change of the relative position between the target exploration object and the target virtual object, so that the display style matches the relative position, the display style of the guidance icon information is enriched, the utilization rate of the graphic processing resource is improved, and the adjusted display style can better guide the movement of the target virtual object, which is conducive to improving the exploration ability of the target virtual object in the virtual scene, and further improving the exploration melody or the human-computer interaction efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0036] Figure 1 A guidance gesture in a virtual scene provided by an embodiment of the present application;

[0037] Figure 2A An application mode schematic diagram of a guidance method in a virtual scene provided by an embodiment of the present application;

[0038] Figure 2B An application mode schematic diagram of a guidance method in a virtual scene provided by an embodiment of the present application;

[0039] Figure 3 A structural schematic diagram of a terminal device 400 provided by an embodiment of the present application;

[0040] Figure 4 A guidance method flowchart in a virtual scene provided by an embodiment of the present application;

[0041] Figure 5 A display schematic diagram of a compass indicator provided by an embodiment of the present application;

[0042] Figure 6 A display schematic diagram of guidance icon information provided by an embodiment of the present application;

[0043] Figure 7 A display schematic diagram of guidance icon information provided by an embodiment of the present application;

[0044] Figure 8 A display schematic diagram of guidance icon information provided by an embodiment of the present application;

[0045] Figure 9 A height difference schematic diagram provided by an embodiment of the present application;

[0046] Figure 10 A guidance method flowchart in a virtual scene provided by an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings, and the described embodiments should not be regarded as limiting the present application, and all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0048] In the following description, "some embodiments" are referred to, which describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subset of all possible embodiments, and can be combined with each other without conflict.

[0049] In the following description, the term "first\second" is only to distinguish similar objects, and does not represent the specific order of the objects, and it can be understood that "first\second" can be interchanged in the specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.

[0051] Before the embodiments of the present application are further described in detail, the terms and phrases involved in the embodiments of the present application are explained, and the terms and phrases involved in the embodiments of the present application are applicable to the following explanations.

[0052] 1) Client, an application program running in a terminal for providing various services, such as a video playing client, a game client, etc.

[0053] 2) In response to, used to indicate the condition or state on which the operation is performed, when the dependent condition or state is met, the performed one or more operations can be real-time or have a set delay; in the absence of special instructions, there is no limitation on the execution order of the multiple operations performed.

[0054] 3) virtual scene, a virtual scene displayed (or provided) by an application when running on a terminal, which can be a simulation environment of the real world, a semi-simulation semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene, and the embodiments of the present application do not limit the dimension of the virtual scene. For example, the virtual scene can include a sky, a land, an ocean, etc., the land can include desert, city, and other environmental elements, and the user can control the virtual object to move in the virtual scene.

[0055] 4) virtual object, an image of various people and things that can interact in the virtual scene, or a movable object in the virtual scene. The movable object can be a virtual character, a virtual animal, an animation character, etc., such as a character, an animal, etc. displayed in the virtual scene. The virtual object can be a virtual image in the virtual scene for representing a user, and the virtual scene can include multiple virtual objects, each virtual object having its own shape and volume in the virtual scene and occupying a part of the space in the virtual scene. The virtual object can be a game character controlled by the user (or player), i.e., the virtual object is controlled by the real user and will move in the virtual scene in response to the operation of the real user on the controller (including a touch screen, a voice control switch, a keyboard, a mouse, a joystick, etc.), for example, when the real user moves the joystick to the left, the virtual object will move to the left in the virtual scene, and can also remain stationary, jump, and use various functions (such as skills and props).

[0056] Referring to Figure 1 , Figure 1 The guide gesture in the virtual scene provided by the embodiments of the present application, in the related art, a small map is used to guide the player in the main interface of the virtual scene, such as displaying an exploration object icon in a circular region with a fixed length as the radius on the world map centered on the current position of the player, but in this way, due to the limitation of the display range of the small map, the number and type of the displayed exploration object icons are limited, and it is very likely that there is no exploration object icon displayed on the small map when the player is at a certain position, resulting in a low utilization rate of the graphic processing resources; and since the small map occupies part of the area of the world map (such as the four corners), the player needs to constantly switch the line of sight between the virtual object controlled from the center of the screen and the small map in the corner of the screen when navigating, which breaks the immersion of the player and affects the gaming experience.

[0057] Therefore, the embodiments of the present application provide a guide method, device, equipment, computer readable storage medium, and computer program product in a virtual scene to at least solve the above technical problems. In one implementation scenario, referring to Figure 2A , Figure 2AThe application mode schematic diagram of the guiding method in the virtual scene provided by the embodiments of the present application is applicable to an application mode that completely relies on the calculation capability of the terminal device 400 to complete the calculation of the related data of the virtual scene 100, for example, a single machine version / offline mode game, and the output of the virtual scene is completed by various different types of terminal devices 400 such as a smart phone, a tablet computer, and a virtual reality / augmented reality device. As an example, the types of the graphic processing hardware include a central processing unit (CPU) and a graphics processing unit (GPU).

[0058] When forming the visual perception of the virtual scene 100, the terminal device 400 calculates the required data by the graphic calculation hardware, and completes the loading, parsing, and rendering of the display data. The graphic output hardware outputs a video frame that can form the visual perception of the virtual scene, for example, a two-dimensional video frame is presented on the display screen of the smart phone, or a video frame that realizes a three-dimensional display effect is projected on the lens of the augmented reality / virtual reality glasses; in addition, in order to enrich the perception effect, the terminal device 400 can also form one or more of the auditory perception, the tactile perception, the motion perception, and the taste perception by means of different hardware.

[0059] As an example, the client 410 (for example, a single machine version game application) is running on the terminal device 400, and the virtual scene 100 including role playing is output in the running process of the client 410. The virtual scene 100 can be an environment for the interaction of game roles, for example, a plain, a street, a valley, and the like for the game roles to fight. Taking the terminal device 400 as an example, the virtual scene 100 can include a target virtual object 110 and a compass indicator 120, and the compass indicator 120 is used to guide the target virtual object 110 to move in the virtual scene.

[0060] As an example, the terminal device 400 displays a target virtual object and a compass indicator in a picture of a virtual scene; when there is a target exploration object in the virtual scene, and the distance between the target exploration object and the target virtual object exceeds a first distance, displays guiding icon information corresponding to the target exploration object on the compass indicator; in response to a guiding instruction triggered based on the guiding icon information, guides the target virtual object to move towards the target exploration object, and dynamically adjusts the display style of the guiding icon information during the movement of the target virtual object, so that the display style matches the relative position of the target exploration object and the target virtual object; in this way, the display style of the guiding icon information is enriched, the utilization rate of the graphic processing resource is improved, and the dynamically adjusted display style can better guide the movement of the target virtual object, which is conducive to improving the interaction ability (such as the exploration ability) of the target virtual object in the virtual scene, and further improving the human-computer interaction efficiency.

[0061] In another implementation scenario, referring to Figure 2B , Figure 2B The application mode schematic diagram of the guiding method in a virtual scene provided by the embodiments of the present application is applied to the terminal device 400 and the server 200, and is suitable for an application mode in which the calculation of a virtual scene is completed by relying on the computing capability of the server 200, and the virtual scene is output on the terminal device 400. Taking the formation of visual perception of the virtual scene 100 as an example, the server 200 performs calculation on virtual scene related display data (for example, scene data) and sends the display data to the terminal device 400 through the network 300, the terminal device 400 relies on graphic computing hardware to complete the loading, parsing and rendering of the calculation display data, and relies on graphic output hardware to output the virtual scene to form visual perception, for example, a two-dimensional video frame can be presented on the display screen of a smart phone, or a video frame achieving a three-dimensional display effect can be projected on the lens of augmented reality / virtual reality glasses; for the perception of the form of the virtual scene, it can be understood that the corresponding hardware output of the terminal device 400 can be used, for example, a microphone is used to form auditory perception, a vibrator is used to form tactile perception, and the like.

[0062] As an example, the terminal device 400 runs a client 410 (for example, a stand-alone game application), and outputs a virtual scene 100 including a role-playing during the running of the client 410. The virtual scene 100 can be an environment for interaction of a game character, for example, a plain, a street, a valley, and the like for a game character to fight. Taking the terminal device 400 as an example of a terminal corresponding to a target virtual object, the virtual scene 100 can include a target virtual object 110 and a compass indicator 120, and the compass indicator 120 is used to guide the target virtual object 110 to move in the virtual scene.

[0063] As an example, the terminal device 400 displays a target virtual object and a compass indicator in a picture of a virtual scene; when there is a target exploration object in the virtual scene, and the distance between the target exploration object and the target virtual object exceeds a first distance, displays guide icon information corresponding to the target exploration object on the compass indicator; in response to a guide instruction triggered based on the guide icon information, guides the target virtual object to move towards the target exploration object, and dynamically adjusts the display style of the guide icon information during the movement of the target virtual object, so that the display style matches the relative position of the target exploration object and the target virtual object; in this way, the display style of the guide icon information is enriched, the utilization rate of the graphic processing resource is improved, and the dynamically adjusted display style can better guide the movement of the target virtual object, which is conducive to improving the interaction ability (such as the exploration ability) of the target virtual object in the virtual scene, and further improving the human-computer interaction efficiency.

[0064] In some embodiments, the terminal device 400 can implement the guiding method in a virtual scene provided by the embodiments of the present application by running a computer program. For example, the computer program can be a native program or a software module in an operating system; it can be a native application program (APP), that is, a program that needs to be installed in an operating system to run, such as a shooting game APP (i.e., the client 410 described above); it can also be a mini program, that is, a program that only needs to be downloaded into a browser environment to run; it can also be a game mini program that can be embedded into any APP. In summary, the above computer program can be any form of application program, module or plug-in.

[0065] Taking the computer program as an application program as an example, in actual implementation, the terminal device 400 installs and runs an application program supporting a virtual scene. The application program can be any one of a first-person shooting game (FPS), a third-person shooting game, a virtual reality application program, a three-dimensional map program, a drill simulation program, or a multi-player gun battle type survival game. The user uses the terminal device 400 to operate a virtual object located in a virtual scene to carry out activities, which include but are not limited to at least one of adjusting a body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and building a virtual building. Illustratively, the virtual object can be a virtual person, such as a simulated character role or an animation character role, etc.

[0066] In other embodiments, the embodiments of this application can also be implemented using cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network (WAN) or local area network (LAN) to achieve data computation, storage, processing, and sharing. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology applied based on the cloud computing business model. It can form resource pools, be used on demand, and is flexible and convenient. Cloud computing technology will become an important support. The backend services of the technical network system require a large amount of computing and storage resources.

[0067] Example, Figure 2B The server 200 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device 400 can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The terminal device 400 and the server 200 can be directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.

[0068] The following is about Figure 2A The structure of the terminal device 400 shown in the diagram will be described. See also... Figure 3 , Figure 3 This is a schematic diagram of the structure of the terminal device 400 provided in the embodiments of this application. Figure 3 The terminal device 400 shown includes at least one processor 420, a memory 460, at least one network interface 430, and a user interface 440. The various components in the terminal device 400 are coupled together via a bus system 450. It is understood that the bus system 450 is used to implement communication between these components. In addition to a data bus, the bus system 450 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 3 The general labeled all buses as Bus System 450.

[0069] Processor 420 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0070] The user interface 440 includes one or more output devices 441 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 440 also includes one or more input devices 442 that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0071] The memory 460 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, and the like. The memory 460 optionally includes one or more storage devices remotely located from the processor 420.

[0072] The memory 460 includes volatile memory or nonvolatile memory, and can also include both volatile and nonvolatile memory. Nonvolatile memory can be read only memory (ROM), volatile memory can be random access memory (RAM). The memory 460 described in embodiments of the present application is intended to include any suitable type of memory.

[0073] In some embodiments, the memory 460 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or a subset or superset thereof, which are illustratively described below. An operating system 461, including a system program for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, and the like, is used to implement various basic services and handle hardware-based tasks; a network communication module 462 is used to reach other computing devices via one or more (wired or wireless) network interfaces 430, examples of which include Bluetooth, wireless compatibility certification (WiFi), and universal serial bus (USB), and the like; a presentation module 463 is used to enable presentation of information via one or more output devices 441 associated with the user interface 440 (e.g., display screens, speakers, and the like) (e.g., user interfaces for operating peripheral devices and displaying content and information); an input processing module 464 is used to detect and translate one or more user inputs or interactions from one or more input devices 442.

[0074] In some embodiments, the guiding device in the virtual scene provided by the embodiments of the present application can be realized in a software manner, Figure 3The guiding device in the virtual scene stored in the memory 460 is shown, which can be software in the form of programs and plug-ins, etc., including the following software modules: a first display module 4651, a second display module 4652, and a style adjustment module 4653, which are logical, and thus can be combined or further split according to the implemented functions, and the functions of the modules will be described below.

[0075] In some other embodiments, the guiding device in the virtual scene provided by the embodiments of the present application can be implemented in a hardware manner. As an example, the guiding device in the virtual scene provided by the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the guiding method in the virtual scene provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can use one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic elements.

[0076] The guiding method in the virtual scene provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings. The guiding method in the virtual scene provided by the embodiments of the present application can be executed by the terminal device 400 in the system 100 alone, or by the terminal device 400 in the system 100 and the server 200 cooperatively. Figure 2A Figure 2B The guiding method in the virtual scene provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings. The guiding method in the virtual scene provided by the embodiments of the present application can be executed by the terminal device 400 in the system 100 alone, or by the terminal device 400 in the system 100 and the server 200 cooperatively. Figure 2A Figure 4 Figure 4 The guiding method in the virtual scene provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings. The guiding method in the virtual scene provided by the embodiments of the present application can be executed by the terminal device 400 in the system 100 alone, or by the terminal device 400 in the system 100 and the server 200 cooperatively. Figure 4

[0077] It should be noted that the method shown in Figure 4 The method shown in

[0078] Step 101: The terminal device displays a target virtual object and a compass indicator in a picture of a virtual scene. ​​​​

[0079] The target virtual object is a virtual object corresponding to the current login account in the virtual scene, and the terminal device is a terminal corresponding to the current login account or the target virtual object. The terminal device is installed with a client supporting the virtual scene (for example, when the virtual scene is a game, the corresponding client can be a shooting game APP), and when the user opens the client installed on the terminal device and the terminal device runs the client, a picture of observing the virtual scene from the perspective of the target virtual object can be displayed in the client, and related information of the virtual scene can be displayed in the picture, for example, the target virtual object and a compass indicator for guiding the target virtual object to move in the virtual scene.

[0080] In actual application, the compass indicator can have a certain degree of transparency, and can be distributed with an indication scale to display corresponding guide information at the indication scale. The display position of the compass indicator in the picture of the virtual scene can be adjusted, for example, it can be displayed directly above the picture, and can also be displayed at any position in the picture that is beneficial for the player to view.

[0081] Step 102: When the target exploration object exists in the virtual scene and the distance between the target exploration object and the target virtual object exceeds the first distance, display the guide icon information corresponding to the target exploration object on the compass indicator.

[0082] The guide icon information is used to guide the target virtual object to move in the virtual scene, for example, to guide the target virtual object to move to a position close to the target exploration object, or to guide the target virtual object to move to a position away from the target exploration object.

[0083] In some embodiments, before the terminal device displays the guide icon information corresponding to the target exploration object on the compass indicator, the terminal device can perform category identification on the target exploration object to obtain a category corresponding to the target exploration object; and based on the category of the target exploration object, determine the first distance corresponding to the target exploration object.

[0084] In actual applications, various exploration objects can exist in the virtual scene, such as a mountain, a bridge, a forest, a virtual ore that can be excavated, a virtual prop that can be picked up, other virtual objects (virtual objects corresponding to other login accounts different from the current login account in the virtual scene), a non-player character (NPC), and the like. When the target exploration object is detected, a camera component bound to the target virtual object is used to emit a detection ray around the target virtual object, and whether the target exploration object exists in the virtual scene is determined based on the detection ray. When the detection ray intersects with a collider component (such as a collision box, a collision sphere, or the like) bound to the target exploration object, it is determined that the target exploration object exists in the virtual scene. When the detection ray does not intersect with the collider component bound to the exploration object, it is determined that the target exploration object does not exist in the virtual scene.

[0085] To improve the effectiveness of the guidance, the detection distances corresponding to different categories of exploration objects (distances used to trigger the display of the guidance icon information corresponding to the respective exploration objects on the compass indicator (the distance between the exploration object and the target virtual object), such as the first distance corresponding to the target exploration object) are different. For example, when the exploration object is a teleport point with a teleport function (such as teleporting the target virtual object from one side of the virtual scene to the other side), the player expects to be able to see the exploration object from a relatively far distance. Therefore, the corresponding detection distance is relatively large. For another example, when the exploration object is a virtual prop that can be picked up, the player only has the opportunity to pick up the exploration object when the exploration object is located near the target virtual object. Therefore, the corresponding detection distance is relatively small. Therefore, a corresponding relationship between the categories of exploration objects and the detection distances can be created.

[0086] After detecting that the target exploration object exists in the virtual scene, the target exploration object can be identified by category. For example, a category identification model based on machine learning is used to identify the category of the target exploration object, and the first distance (i.e., the detection distance) corresponding to the target exploration object is determined based on the identified category and the corresponding relationship between the category and the detection distance. When the distance between the target exploration object and the target virtual object exceeds (is greater than or equal to) the first distance, the guidance icon information corresponding to the target exploration object can be displayed on the compass indicator. The guidance icon information includes at least one of the following: a guidance icon corresponding to the target exploration object, a relative position (such as a distance or an orientation) between the target exploration object and the target virtual object. In addition, when the guidance icon information includes the guidance icon corresponding to the target exploration object, the guidance icon information can also include display position information of the guidance icon on the compass display (such as the orientation of the guidance icon on the compass indicator) to guide the movement of the target virtual object in the virtual scene.

[0087] By the above manner, since only the exploration object meeting the corresponding detection distance can display the corresponding guiding icon information on the compass indicator, by setting different detection distances for different categories of exploration objects, the number of guiding icon information displayed on the compass indicator (i.e., reducing the number and category of displayed exploration objects) can be effectively controlled, so that the guiding icon information displayed on the compass indicator is more reasonable, avoiding too much or too little guiding icon information displayed on the compass indicator, and the effectiveness of the guidance can be improved.

[0088] Step 103: During the movement of the target virtual object, the display style of the guiding icon information is adjusted so as to match the display style of the guiding icon information with the relative position between the target exploration object and the target virtual object.

[0089] Here, in actual application, the player can trigger the guiding instruction for guiding the movement of the target virtual object by checking the guiding icon information displayed on the compass indicator, such as based on the guiding icon information, in response to the triggering operation of the operation control (the control for controlling the movement of the target virtual object in the virtual scene, which can be a real key on the input device such as a mouse or a keyboard, or a virtual key presented in the picture of the virtual scene), the terminal device receives the guiding instruction for the target virtual object, and in response to the guiding instruction, guides (i.e., controls) the target virtual object to move to the location of the target exploration object.

[0090] During the movement of the terminal device in controlling or guiding the target virtual object in the virtual scene, the display style of the guiding icon information corresponding to the target exploration object can be adjusted in real time according to the change of the relative position between the target exploration object and the target virtual object, so as to match the display style with the relative position therebetween, thus not only enriching the display style of the guiding icon information and improving the utilization rate of the graphic processing resource, but also the adjusted display style can better guide the movement of the target virtual object, which is conducive to improving the exploration ability of the target virtual object in the virtual scene, and further improving the human-computer interaction efficiency.

[0091] Next, the display of the guiding icon information and the adjustment of the display style of the guiding icon information will be described in detail.

[0092] In some embodiments, the terminal device can display the guiding icon information corresponding to the target exploration object on the compass indicator in the following manner: when the compass indicator is provided with the indication scale, the first relative position between the target exploration object and the target virtual object is acquired, and the second relative position between the exploration object and the virtual object in the virtual scene and the first mapping relationship between the indication scale on the compass indicator are acquired; based on the first mapping relationship, the first target indication scale on the compass indicator corresponding to the first relative position is determined, and the guiding icon information corresponding to the target exploration object is displayed at the first target indication scale.

[0093] Referring to Figure 5 , Figure 5 The display schematic diagram of the compass indicator provided by the embodiments of the present application is shown in FIG. 1. The compass indicator can be an indication bar 501 with a certain degree of transparency (the proportion of the virtual scene in the picture is low). The indication bar is provided with a plurality of indication scales. The indication bar 501 can be divided into a plurality of left-right symmetrical indication scales according to the relative positions of the exploration objects and the target virtual object. The guiding icon information of the indication scale 502 in the middle of the indication bar represents that the corresponding exploration object is located in front of the target virtual object. The guiding icon information of the indication scale on the left side of the indication bar represents that the corresponding exploration object is located in the front left of the target virtual object. The guiding icon information of the indication scale on the right side of the indication bar represents that the corresponding exploration object is located in the front right of the target virtual object.

[0094] Before the terminal device displays the guiding icon information corresponding to the target exploration object on the compass indicator, the terminal device can first establish the first mapping relationship between the relative positions (i.e., the second relative positions) of the exploration objects and the virtual objects in the virtual scene and the indication scales of the compass indicator, such as the relative position 1 of the exploration object A and the virtual object 1 in the virtual scene, which corresponds to the indication scale 1 of the compass indicator. In this case, the exploration object A is displayed at the indication scale 1. For another example, the relative position 2 of the exploration object B and the virtual object 1 in the virtual scene corresponds to the indication scale 2 of the compass indicator. In this case, the exploration object B is displayed at the indication scale 2. Therefore, when the terminal device displays the guiding icon information corresponding to the target exploration object on the compass indicator, the terminal device needs to acquire the first relative position between the target exploration object and the target virtual object, acquire the first target indication scale on the compass indicator corresponding to the first relative position according to the first mapping relationship, and display the guiding icon information corresponding to the target exploration object in the first target indication scale.

[0095] In some embodiments, the terminal device can display the guide icon information corresponding to the target exploration object on the compass indicator in the following manner: when the target exploration object exists in the virtual scene and the distance between the target exploration object and the target virtual object exceeds the first distance, obtaining a target region with the position of the target virtual object as the center and the target angle as the second included angle, and taking the target region as the display region of the compass indicator, wherein the straight line where the orientation of the target virtual object is located is the angle bisector of the second included angle; and when the target exploration object exists in the display region in the virtual scene and the distance between the target exploration object and the target virtual object exceeds the first distance, displaying the guide icon information corresponding to the target exploration object on the compass indicator.

[0096] Referring to Figure 6 , Figure 6 The display schematic diagram of the guide icon information provided by the embodiments of the present application is as follows: in actual application, considering that the guide icon information corresponding to the exploration object located in front of the player has an effective guiding effect (since the player controls the game character to move forward in the game), the picture of the virtual scene displayed on the terminal device is usually the picture within the visual range of the target virtual object, and in the picture, the target region 602 (such as a fan-shaped region) with the position of the target virtual object 601 as the center and the target angle as the included angle (i.e. the second included angle, which can be set, such as 100 degrees) along the orientation of the target virtual object is taken as the display region of the compass indicator, and when the exploration object located in the display region and the distance between the exploration object and the target virtual object meet the detection distance, the guide icon information corresponding to the exploration object can be displayed on the compass indicator.

[0097] In some embodiments, the terminal device can display the guide icon information corresponding to the target exploration object on the compass indicator in the following manner: when the indication scale is distributed on the compass indicator, obtaining the third included angle corresponding to the target exploration object and the second mapping relationship between the fourth included angle corresponding to the exploration object in the display region and the indication scale on the compass indicator; wherein the third included angle is the included angle between the second connecting line between the target exploration object and the target virtual object and the angle bisector of the second included angle, and the fourth included angle is the included angle between the third connecting line between the exploration object in the virtual scene and the virtual object and the angle bisector corresponding to the virtual object; based on the second mapping relationship, determining the second target indication scale corresponding to the third included angle on the compass indicator, and displaying the guide icon information corresponding to the target exploration object at the second target indication scale.

[0098] Referring to Figure 7 , Figure 7The display schematic diagram of the guide icon information provided by the embodiment of the present application is as follows: for a target exploration object 704 located in the display area 701 of the compass indicator 700 (for example, a sector area with the target virtual object 702 as the center and the target angle as the included angle 703), the terminal device can obtain a second mapping relationship between the included angle (that is, the fourth included angle) of the exploration object in the virtual scene and the indication scale of the compass indicator before displaying the guide icon information corresponding to the target exploration object, wherein the fourth included angle of the exploration object is the included angle between the connecting line between the exploration object and the virtual object and the angle bisector (the angle bisector with the virtual object as the center and the target angle as the included angle) corresponding to the virtual object, for example, the fourth included angle of the exploration object A in the virtual scene is a degree, corresponding to the indication scale 1 of the compass indicator, in this case, the exploration object A is displayed at the indication scale 1; for example, the fourth included angle of the exploration object B in the virtual scene is b degrees, corresponding to the indication scale 2 of the compass indicator, in this case, the exploration object B is displayed at the indication scale 2. When the terminal device displays the guide icon information corresponding to the target exploration object 704 on the compass indicator 700, the terminal device needs to obtain the third included angle of the target exploration object 704, that is, the third included angle 707 between the second connecting line 705 between the target exploration object 704 and the target virtual object 702 and the angle bisector 706 of the included angle 703 of the display area 701, and obtain the second target indication scale 708 corresponding to the third included angle 707 on the compass indicator according to the second mapping relationship, so as to display the guide icon information 709 corresponding to the target exploration object 704 on the second target indication scale 708.

[0099] In some embodiments, when there are other exploration objects on the second connecting line, the terminal device can display the guide icon information corresponding to the target exploration object at the second target indication scale in the following ways: scrolling the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects at the second target indication scale; or displaying the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects side by side on the vertical line where the second target indication scale is located; or superimposedly displaying the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects at the second target indication scale by using display styles with different distinctness, wherein the distinctness is positively correlated with the exploration priority of the target exploration object and the other exploration objects.

[0100] Referring to Figure 8 , Figure 8The display schematic diagram of the guide icon information provided by the embodiment of the present application is as follows: for the target exploration object 802 located in the display area 801 of the compass indicator 800, if there are other exploration objects 805 on the second line 804 connecting the target exploration object 803 and the target virtual object 802, since the third included angle corresponding to the target exploration object 802 is the same as the third included angle corresponding to the other exploration objects 805, the indication scale on the compass indicator corresponding to the target exploration object 803 is the same indication scale (i.e., the second target indication scale 806) as the indication scale on the compass indicator corresponding to the other exploration objects 805. When displaying the guide icon information corresponding to multiple exploration objects at the same indication scale, a plurality of display modes can be used for display.

[0101] For example, the guide icon information corresponding to the target exploration object 803 and the guide icon information corresponding to the other exploration objects 805 can be displayed in turn by scrolling at the second target indication scale, wherein the frequency of the scrolling in turn can be set; the guide icon information corresponding to the target exploration object 802 and the guide icon information corresponding to the other exploration objects 805 can also be displayed side by side (up and down) on the vertical line where the second target indication scale is located; in addition, the terminal device can also acquire the exploration priorities of the target exploration object 803 and the other exploration objects 805, and display the guide icon information of the corresponding exploration objects in different display styles according to the different exploration priorities, especially highlight the guide icon information of the exploration object of the highest priority, or selectively display the guide icon information of the exploration object with a higher exploration priority. For example, assuming that the exploration priority of the target exploration object 803 is higher than the exploration priority of the other exploration objects 805, when superimposing the guide icon information of the target exploration object 803 and the other exploration objects 805, the guide icon information of the target exploration object 803 with a higher exploration priority is highlighted, such as superimposing the layer corresponding to the guide icon information of the target exploration object 803 on the layer corresponding to the guide icon information of the other exploration objects 805, so that the apparent degree of the guide icon information of the target exploration object 803 is higher than the apparent degree of the guide icon information of the other exploration objects 805. In this way, the target virtual object can be effectively guided to move to the exploration object with a higher apparent degree, so as to explore the most needed exploration object as soon as possible, and the exploration efficiency or the human-computer interaction efficiency can be improved.

[0102] In the acquisition of the exploration priority of the exploration object, the terminal device can first acquire exploration reference data (such as the relative position between the exploration object and the target virtual object, the type of the exploration object, the exploration progress of the target virtual object in the virtual scene, the importance of the exploration object, and the like), and based on the exploration reference data, call a machine learning model to predict the exploration priority of the exploration object, to obtain the exploration priority of the exploration object, which can make the prediction result more accurate. It should be noted that the machine learning model described above can be a neural network model (such as a convolutional neural network, a deep convolutional neural network, or a fully connected neural network), a decision tree model, a gradient boosting tree, a multi-layer perception, and a support vector machine, and the like, and the type of the machine learning model is not limited in the embodiments of the present application.

[0103] In some embodiments, when the target exploration object exists in the area other than the display area in the virtual scene, and the target exploration object is a tracking exploration object, the guide icon information corresponding to the target exploration object is highlighted at the end position on the compass indicator.

[0104] Here, if the target exploration object is located in the area other than the display area of the compass indicator, and the target exploration object is a tracking exploration object (an object tracked by the target virtual object), the relative position between the target exploration object and the target virtual object can be ignored, and the guide icon information of the target exploration object is controlled to be displayed at both ends of the compass indicator and highlighted (such as a flashing special effect); in this way, the target virtual object can be effectively guided to move towards the tracked exploration object to track the target exploration object as soon as possible, and the tracking efficiency or the human-computer interaction efficiency can be improved.

[0105] In some embodiments, the terminal device can display the guide icon information corresponding to the target exploration object on the compass indicator in the following manner: when the guide icon information includes the guide icon corresponding to the target exploration object and the position indication information, the guide icon is displayed on the compass indicator, and the position indication information is displayed in the associated display area of the guide icon; wherein the position indication information is used to indicate at least one of the following position information: the distance between the target exploration object and the target virtual object, and the height difference between the target exploration object and the target virtual object.

[0106] The guide icon corresponds to the target object to be explored. The guide icon can be any identifier used to indicate the target object (such as an image icon, text icon, etc.). For example, if the target object is a "mountain," its corresponding guide icon could be an image icon or a text icon indicating the shape of the mountain (such as "mountain" or "mountain"). Location information indicates the distance between the target object and the target virtual object, such as straight-line distance, horizontal distance, or vertical distance. It can also indicate the height difference between the target object and the target virtual object, which can be represented by height difference indicators, such as an upright triangle indicating that the target object is taller than the target virtual object, and an inverted triangle indicating that the target object is shorter than the target virtual object. It can also be represented by a specific height difference value, such as +10 meters indicating that the target object is taller than the target virtual object and the height difference is 10 meters. The associated display area of ​​the guide icon can be any associated area surrounding the guide icon.

[0107] like Figure 5 As shown, when the target object is a "mountain," a guide icon (a picture icon shaped like a mountain) corresponding to the target object is displayed on the compass indicator, and location information (such as an "upright triangle," indicating that the height of the target object, the mountain, is higher than the height of the target virtual object) is displayed in the associated display area of ​​the guide icon; similarly, when the target object is a "bridge," a guide icon (a picture icon shaped like a bridge) corresponding to the target object is displayed on the compass indicator, and location information (such as an "inverted triangle," indicating that the height of the target object, the bridge, is lower than the height of the target virtual object) is displayed in the associated display area of ​​the guide icon; and similarly, when the target object is a "small monster" (such as an NPC), a guide icon (a picture icon shaped like a small monster) corresponding to the target object is displayed on the compass indicator, and location information (such as "183 meters," indicating that the distance between the target object, the small monster, and the target virtual object is 183 meters) is displayed in the associated display area of ​​the guide icon.

[0108] In some embodiments, when the location information indicated by the location indication information includes a height difference, the terminal device can determine the height difference between the two by: obtaining a first line connecting the target virtual object and the target exploration object, and obtaining a first angle between the first line and the horizontal line where the target virtual object is located; and determining the height difference between the target exploration object and the target virtual object based on the first angle.

[0109] Here, when the target exploration object and the target virtual object are not located on the same horizontal line, i.e., when the first connecting line between the target virtual object and the target exploration object and the horizontal line on which the target exploration object is located are not 0 degrees or 180 degrees, the vertical height difference between the target exploration object and the target virtual object is the height difference between the two, and when the height difference is greater than 0, it represents that the height of the target exploration object is higher than the height of the target virtual object, and when the height difference is less than 0, it represents that the height of the target exploration object is lower than the height of the target virtual object.

[0110] In some embodiments, the terminal device can adjust the display style of the guide icon information by: accompanying the change of the relative position between the target exploration object and the target virtual object, adjusting the display size of the guide icon accordingly, so that the display size of the guide icon matches the relative position, and updating the position information indicated by the position indication information, so that the position information indicated by the position indication information is consistent with the relative position.

[0111] Here, accompanying the change of the relative position between the target exploration object and the target virtual object, the display style of the guide icon information corresponding to the target exploration object is adjusted accordingly, such as adjusting the display size and position indication information of the guide icon in the guide icon information, such as gradually increasing the display size of the guide icon of the target exploration object as the distance between the target exploration object and the target virtual object decreases, and updating the display position information, such as reducing the distance value or the height difference value between the two.

[0112] In some embodiments, in the process of adjusting the display size of the guide icon, the terminal device can also display a special effect element corresponding to the guide icon in the associated display area of the guide icon; wherein the special effect element is used to indicate that the distance between the target exploration object and the target virtual object is lower than the second distance, and the second distance is smaller than the first distance.

[0113] Here, in the process of adjusting the display size of the guide icon corresponding to the target exploration object, such as changing the guide icon corresponding to the target exploration object from small to large, the special effect element is displayed at the associated display area of the guide icon to connect, such as a star bouncing out of the guide icon and the star flashing, to prompt the target exploration object to be near the player, so as to facilitate the player to explore the target exploration object as soon as possible, and is conducive to improving the exploration efficiency or human-computer interaction efficiency.

[0114] It should be noted that, with the change of the distance between the target exploration object and the target virtual object, the special effect element corresponding to the displayed guide icon in the embodiment of the present application can be used not only to indicate the continuous change of the display size of the guide icon, but also to indicate the instantaneous change of the display size of the guide icon. For example, assuming that the distance between the target exploration object and the target virtual object is a first distance (which can be set, for example, to 120 meters), the display size of the guide icon corresponding to the target exploration object is a*a (a is a positive number), and the distance between the target exploration object and the target virtual object is a second distance (which is less than the first distance, for example, 100 meters), the display size of the guide icon corresponding to the target exploration object is b*b (b is a positive number greater than a), then during the process of controlling the target virtual object to move towards the target exploration object, with the decrease of the distance between the target exploration object and the target virtual object, for example, during the process of changing the distance between the target exploration object and the target virtual object from the first distance to the second distance, the special effect element displayed in the associated display area of the guide icon can be used to indicate the process of gradually increasing the display size of the guide icon, for example, during the process of gradually increasing the display size of the guide icon from a*a to c*c (c is a positive number greater than a and less than b), and then to b*b, by displaying the special effect element to link the change of the display size of the guide icon, a relatively smooth visual experience can be given to the player.

[0115] In addition, in the scenario where the special effect element is used to indicate the instantaneous change (i.e., mutation) of the display size of the guide icon, for example, when the distance between the target exploration object and the target virtual object is the first distance, the display size of the guide icon is a*a, and during the process of controlling the target virtual object to move towards the target exploration object, with the decrease of the distance between the target exploration object and the target virtual object, the display size of the guide icon is always a*a before the distance between the target exploration object and the target virtual object changes to the second distance, and the display size of the guide icon suddenly changes to b*b at the moment when the distance between the target exploration object and the target virtual object changes to the second distance, therefore, the special effect element displayed at this moment can indicate the mutation of the display size of the guide icon, and a relatively stimulating visual experience can be given to the player.

[0116] In some embodiments, when the guide icon information includes the guide icon corresponding to the target exploration object, the terminal device can display the guide icon information corresponding to the target exploration object on the compass indicator in the following manner: when the number of target exploration objects is at least two and the distances between the target exploration objects and the target virtual object are different, the guide icon corresponding to each target exploration object is displayed on the compass indicator; wherein the display size of the guide icon corresponding to different target exploration objects is different, and the display size of the guide icon is in a negative correlation with the corresponding distance (the distance between the target exploration object and the target virtual object).

[0117] Here, when the number of target exploration objects is at least two, the guide icons corresponding to the target exploration objects are displayed on the compass indicator according to the distances between the target exploration objects and the target virtual object, wherein the display sizes of the guide icons corresponding to the target exploration objects are different, and the display size of the guide icon of each target exploration object is negatively correlated with the distance between the target exploration object and the target virtual object, for example, the display size of the guide icon corresponding to the target exploration object farther from the target virtual object is relatively smaller, and the display size of the guide icon corresponding to the target exploration object closer to the target virtual object is relatively larger; in this way, the player can directly determine the distances between the corresponding target exploration objects and the player from the display sizes of the guide icons, so as to facilitate the player to select the most suitable target exploration object for exploration at present, and improve the exploration efficiency or the human-computer interaction efficiency.

[0118] In some embodiments, when the guide icon information includes the guide icons corresponding to the target exploration objects, the terminal device can display the guide icon information corresponding to the target exploration objects on the compass indicator in the following manner: when the number of target exploration objects is at least two and the distances between the target exploration objects and the target virtual object are different, the scaling ratios corresponding to the target exploration objects are determined according to the distances; the guide icons corresponding to the target exploration objects are scaled based on the scaling ratios, and the scaled guide icons are displayed on the compass indicator, so that the display sizes of the guide icons are consistent.

[0119] Here, when the number of target exploration objects is at least two and the distances between the target exploration objects and the target virtual object are different, the guide icons corresponding to the target exploration objects are displayed on the compass indicator, and the guide icons corresponding to the target exploration objects are scaled according to different scaling ratios according to the distances between the target exploration objects and the target virtual object, wherein the scaling ratio is negatively correlated with the distance between the target exploration object and the target virtual object, for example, the scaling ratio of the guide icon corresponding to the target exploration object farther from the target virtual object is relatively smaller, and the scaling ratio of the guide icon corresponding to the target exploration object closer to the target virtual object is relatively larger, so that the display sizes of the guide icons corresponding to the target exploration objects with different distances from the target virtual object are substantially consistent; in this way, the display sizes of the guide icons on the compass indicator are consistent, so that the display screen is more harmonious, and the relative positions of the target exploration objects and the target virtual object can be understood by the player according to the position indication information in the associated display area of the guide icon, and the player can select the most suitable target exploration object for exploration at present.

[0120] In some embodiments, the terminal device can display the guiding icon information corresponding to the target exploration object on the compass indicator in the following manner: when the target exploration object integrates an interest exploration object and a function exploration object, the first guiding icon information corresponding to the interest exploration object is displayed on the compass indicator; correspondingly, the terminal device can adjust the display style of the guiding icon information in the following manner: when the target virtual object moves to the interest exploration object, the first guiding icon information displayed on the compass indicator is updated to the second guiding icon information corresponding to the function exploration object.

[0121] In actual applications, different display styles can be adopted to display the corresponding guiding icon information on the compass indicator according to different categories of the target exploration object. For example, when the target exploration object is a one-time interest exploration object (i.e., an interest exploration object such as a road sign, a scenic spot, a moon bridge, etc.), since the exploration object of this category has no value for repeated exploration after being explored by the player, or the guiding icon information of the exploration object of this category can be displayed on the world map of the virtual scene, the guiding icon information of the exploration object of this category does not need to be displayed on the compass indicator. For another example, when the target exploration object is a function category exploration object (i.e., a function exploration object such as a virtual prop store), as long as the corresponding detection distance is met, the guiding icon information corresponding to the exploration object of this category can be displayed on the compass indicator. When the target exploration object is a combination of an interest exploration object and a function exploration object, i.e., both an interest exploration object and a function exploration object exist at the same exploration location, such as a monster (function exploration object) on a small hill (interest exploration object), since the function exploration object (e.g., the monster) will be fixed and refreshed after being killed, the first guiding icon information (e.g., an indication icon of the small hill) corresponding to the interest exploration object (e.g., the small hill) can be displayed on the compass indicator before the player explores the interest exploration object (e.g., the small hill), to indicate that there is an interest exploration object (e.g., the small hill) that can be explored near the player. After the player reaches the interest exploration object (e.g., the small hill), the second guiding icon information (e.g., an indication icon of the monster) corresponding to the function exploration object (e.g., the monster) is displayed on the compass indicator, to indicate that there is a function exploration object (e.g., the monster) that can be explored near the player. In this way, the player can be effectively guided to explore the function exploration object, and the exploration interest of the player can be aroused through the interest exploration object, thereby improving the game experience.

[0122] In the following, an exemplary application of the embodiments of the present application in an actual application scenario will be described. Taking a virtual scene as an example, the embodiments of the present application provide a guiding method in a virtual scene. In the game, different display styles are adopted to display the corresponding guiding icon information on the compass indicator according to different categories of the target exploration object, which will be described one by one.

[0123] I. Different detection distances for different types of exploration objects

[0124] Different detection distances (including horizontal and vertical detection distances) are set for different exploration objects according to the different roles played by the exploration locations (i.e., the locations of the exploration objects), so that the guidance is more explicit. For example, when the exploration object is a teleportation point with teleportation function (e.g., teleporting a target virtual object from one side of the game screen to the other side), the player expects to be able to see the exploration object from a distance, so the corresponding detection distance is relatively large. For another example, when the exploration object is a virtual prop that can be picked up, the player only has the opportunity to pick it up when the exploration object is near the target virtual object, so the corresponding detection distance is relatively small. Only exploration objects that meet the detection distance will have their corresponding guide icon information displayed on the compass indicator. By setting different detection distances for different types of exploration objects, the number of guide icon information displayed on the compass indicator (i.e., the number and types of exploration objects displayed) can be effectively controlled, making the guide icon information displayed on the compass indicator more reasonable, avoiding too much or too little guide icon information displayed on the compass indicator, and allowing appropriate exploration object guide icon information to be displayed on the compass indicator when the player is at an appropriate location, improving the effectiveness and flexibility of the guidance while avoiding waste of display resources.

[0125] II. Distance determination between exploration object and target virtual object

[0126] The distance between the exploration object and the target virtual object can be intuitively understood by the player according to the size of the guide icon displayed on the compass indicator, i.e., the smaller the guide icon, the farther the corresponding exploration object is from the target virtual object, and the larger the guide icon, the closer the corresponding exploration object is to the target virtual object. In actual implementation, the display size of the guide icon corresponding to the exploration object can be divided into several levels according to the actual needs and the distance between the exploration object and the target virtual object, so that the distance between the player and each exploration object on the compass indicator can be intuitively established according to the distance between the guide icon and the player, making it easier for the player to choose the most suitable target exploration object for exploration, thereby improving the efficiency of exploration.

[0127] In addition, in actual application, in order to avoid displaying various guide icons of different sizes on the compass indicator, causing the interface to be not beautiful, the distance between the exploration object and the target virtual object can be determined to determine the corresponding scaling ratio of the exploration object, the guide icon corresponding to the corresponding exploration object is scaled based on the scaling ratio, and the scaled guide icons are displayed on the compass indicator, so that the display sizes of the guide icons are roughly consistent; in addition, for different exploration objects at the same distance from the target virtual object, since the styles of the guide icons corresponding to different exploration objects are different, the display sizes of the guide icons corresponding to different exploration objects can be different, at this time, the scaling ratio corresponding to the corresponding exploration object can be determined according to the style of the guide icon of each exploration object, the guide icon corresponding to the corresponding exploration object is scaled based on the scaling ratio, and the scaled guide icons are displayed on the compass indicator, so that the display sizes of the guide icons of each exploration object within the same distance range from the target virtual object are roughly consistent; in this way, the guide icons of the same size are displayed on the compass indicator, so that the display screen is more harmonious, since the corresponding position indication information can be displayed in the associated display area of each guide icon, the player can understand the relative positions of each target exploration object and the target virtual object according to each position indication information, and the player is not affected in selecting the most suitable target exploration object for exploration at the moment.

[0128] III. Relationship between exploration object and target virtual object in vertical height

[0129] Referring to Figure 9 , Figure 9 The height difference schematic diagram provided by the embodiment of the present application is used to represent the vertical height difference between the target exploration object and the target virtual object when the target exploration object and the target virtual object are not located on the same horizontal line, that is, when the line connecting the target exploration object and the target virtual object and the horizontal line on which the target exploration object is located is not 0 degrees or 180 degrees. The height difference between the target exploration object and the target virtual object is the height difference of the two, and a corresponding height difference symbol is used to represent the height difference value. For example, when the height difference is greater than 0, it indicates that the height of the target exploration object is higher than the height of the target virtual object, and a right triangle is used to represent it at this time. When the height difference is less than 0, it indicates that the height of the target exploration object is lower than the height of the target virtual object, and an inverted triangle is used to represent it at this time.

[0130] IV. Specific application of different categories of exploration objects displayed on the compass indicator

[0131] Different display styles can be adopted to display the corresponding guide icon information of the target exploration object on the compass indicator according to different categories of the target exploration object. For example, when the target exploration object is a one-time interest exploration object (i.e., an interest exploration object such as a road sign, a scenic spot, a crescent bridge, etc.), since the player has explored the exploration object of this category, the exploration object of this category has no value for repeated exploration, or the guide icon information of the exploration object of this category can be displayed on the world map of the virtual scene, and thus the guide icon information of the exploration object of this category does not need to be displayed on the compass indicator.

[0132] For another example, when the target exploration object is a function exploration object (i.e., a function exploration object such as a virtual prop store), as long as the corresponding detection distance is met, the corresponding guide icon information of the exploration object of this category can be displayed on the compass indicator. When the target exploration object is a combination of an interest exploration object and a function exploration object, i.e., both an interest exploration object and a function exploration object exist at the same exploration site, such as a monster (function exploration object) on a small hill (interest exploration object), since the function exploration object (e.g., the monster) will be fixed and refreshed after being killed, the first guide icon information (e.g., an indicator icon of the small hill) corresponding to the interest exploration object (e.g., the small hill) can be displayed on the compass indicator before the player explores the interest exploration object (e.g., the small hill), to indicate that the interest exploration object (e.g., the small hill) exists near the player. After the player reaches the interest exploration object (e.g., the small hill), the second guide icon information (e.g., an indicator icon of the monster) corresponding to the function exploration object (e.g., the monster) can be displayed on the compass indicator, to indicate that the function exploration object (e.g., the monster) exists near the player. In this way, the player can be effectively guided to explore the function exploration object, and the interest exploration object can arouse the exploration interest of the player, thereby improving the game experience.

[0133] For another example, when the target exploration object is a tracking exploration object (an object tracked by a target virtual object), the relative position between the target exploration object and the target virtual object can be ignored, and the guide icon information of the target exploration object can be displayed at both ends of the compass indicator and highlighted (e.g., with a flashing special effect). In this way, the target virtual object can be effectively guided to move towards the tracking exploration object, so as to quickly track the target exploration object, thereby improving the tracking efficiency or the human-computer interaction efficiency.

[0134] For example, when the target exploration object is a tracking task object (a task to be executed), when the target exploration object is far away from the target virtual object, the guide icon of the target exploration object is displayed on the compass indicator, and the position indication information (such as the distance between the target exploration object and the target virtual object) is displayed in the associated display area (such as below the icon) of the guide icon. When the target exploration object is close to the target virtual object, the player can see the target exploration object, and the guide icon of the target exploration object can be directly displayed in the game scene, and the position indication information (such as the distance between the target exploration object and the target virtual object) is displayed in the associated display area (such as below the icon) of the guide icon in the game scene, and a special effect (such as a light column) is used to display the guide. For example, when the distance between the target virtual object and the target exploration object is greater than a first distance threshold (which can be set, such as 60 meters), the guide icon information corresponding to the target exploration object is displayed on the compass indicator, when the distance between the target virtual object and the target exploration object is less than a second distance threshold (which can be set, such as 70 meters), the corresponding guide icon information is displayed in the exploration location of the target exploration object in the game scene, and when the distance between the target virtual object and the target exploration object is greater than the first distance threshold and less than the second distance threshold (i.e. 60-70 meters), not only the guide icon information corresponding to the target exploration object is displayed on the compass indicator, but also the corresponding guide icon information (such as a light column reminder) is displayed in the exploration location of the target exploration object in the game scene, that is, the display reminder is performed on the compass indicator and the scene, making the transition more natural and reducing the jump feeling of the guide.

[0135] In addition to the tracking exploration object and the tracking task object, other categories of exploration objects, such as the functional category exploration object and the interest category detection object described above, are collectively referred to as general exploration objects. Next, refer to Figure 10 , Figure 10 The method for guiding in a virtual scene provided by the embodiments of the present application is described in detail.

[0136] Step 201: The terminal device detects a target exploration object.

[0137] Step 202: The target exploration object is classified to obtain the category corresponding to the target exploration object.

[0138] Step 203A: Based on the classification, it is determined that the target exploration object is a tracking task object.

[0139] Step 204A: Determine whether the distance between the target exploration object and the target virtual object exceeds a first distance threshold.

[0140] Here, when it is determined that the distance between the target exploration object and the target virtual object exceeds the first distance threshold, step 205A is performed, and when it is determined that the distance between the target exploration object and the target virtual object does not exceed the first distance threshold, step 206A is performed.

[0141] Step 205A: Determine whether the distance between the target exploration object and the target virtual object is below a second distance threshold.

[0142] Here, when it is determined that the distance between the target exploration object and the target virtual object is below the second distance threshold, step 207A is performed, and when it is determined that the distance between the target exploration object and the target virtual object is not below the second distance threshold, step 208A is performed.

[0143] Step 206A: Display the guide icon information corresponding to the target exploration object in the game scene.

[0144] Step 207A: Simultaneously display the guide icon information corresponding to the target exploration object in the game scene and on the compass indicator.

[0145] Step 208A: Display the guide icon information corresponding to the target exploration object on the compass indicator.

[0146] Step 203B: Determine that the target exploration object is a tracking exploration object based on the category.

[0147] Step 204B: Always display the guide icon information corresponding to the target exploration object on the compass indicator.

[0148] Step 203C: Determine that the target exploration object is a general exploration object based on the category.

[0149] Step 204C: Determine whether the target exploration object is located in the display area of the compass indicator.

[0150] Here, the target area (such as a fan-shaped area) in the game picture along the orientation of the target virtual object, with the position of the target virtual object as the center and the target angle (which can be set, such as 100 degrees) as the included angle can be used as the display area of the compass indicator. When an exploration object located in the display area and the distance between the exploration object and the target virtual object meets the detection distance, the guide icon information corresponding to the exploration object can be displayed on the compass indicator. Therefore, when the target exploration object is located in the display area of the compass indicator, step 205C is performed, otherwise, the process ends.

[0151] Step 205C: Determine whether the distance between the target exploration object and the target virtual object reaches the detection distance.

[0152] Here, when the distance between the target exploration object and the target virtual object reaches the detection distance, step 206C is performed, otherwise, the flow ends.

[0153] Step 206C: Display the guiding icon information corresponding to the target exploration object on the compass indicator.

[0154] The guiding icon information involved in the above steps can include at least one of a guiding icon corresponding to the target exploration object and position indication information. When the guiding icon and the position indication information are both included, the guiding icon in the guiding icon information is displayed, and the position indication information is also displayed in the associated display area of the guiding icon. The guiding icon is an identifier (such as a picture identifier or a text identifier) used to indicate the target exploration object. For example, when the target exploration object is a "mountain", the guiding icon corresponding to the target exploration object can be a picture identifier indicating the shape of the mountain or a text identifier (such as "mountain") of the mountain. The position indication information is used to indicate at least one of the following position information: the distance (such as the straight-line distance, the horizontal distance, or the vertical distance) between the target exploration object and the target virtual object, and the height difference between the target exploration object and the target virtual object (when the two are not on the same horizontal line, a height difference flag can be used to represent it, such as a right triangle indicating that the height of the target exploration object is higher than the height of the target virtual object, and an inverted triangle indicating that the height of the target exploration object is lower than the height of the target virtual object).

[0155] Subsequently, during the movement of the target virtual object to the target exploration object based on the guiding icon information, the display style of the guiding icon information is dynamically adjusted as the relative position of the target exploration object and the target virtual object changes, so that the display style matches the relative position of the two.

[0156] In the above manner, since the compass indicator can be an indicator bar with a certain degree of transparency, the proportion of the game screen is smaller than that of the mini-map. Therefore, when the compass indicator displays the guiding icon information of the target exploration object, the game screen can be more concise and beautiful. During the movement of the target virtual object to the target exploration object based on the guiding icon information, the display style of the guiding icon information is dynamically adjusted as the relative position of the target exploration object and the target virtual object changes, so that the display style matches the relative position of the two. This enriches the display style of the guiding icon information, improves the utilization rate of the graphic processing resources, and dynamically adjusts the display style to better guide the movement of the target virtual object, which is conducive to improving the exploration ability of the target virtual object in the virtual scene, and thus improving the exploration efficiency or the human-computer interaction efficiency.

[0157] The following continues to describe an exemplary structure of the implementation of the guiding device 465 in the virtual scene as a software module in some embodiments. In some embodiments, the software module is stored in the memory 410 and executed by the processor 420. Figure 3The software module in the guide device 465 in the virtual scene stored in the middle memory 460 can include: a first display module 4651, configured to display a target virtual object and a compass indicator in a picture of a virtual scene; a second display module 4652, configured to display, on the compass indicator, guide icon information corresponding to a target exploration object when the target exploration object exists in the virtual scene and a distance between the target exploration object and the target virtual object exceeds a first distance, the guide icon information being used to guide the target virtual object to move in the virtual scene; a style adjustment module 4653, configured to dynamically adjust a display style of the guide icon information during movement of the target virtual object, so that the display style matches a relative position between the target exploration object and the target virtual object.

[0158] In some embodiments, before the display, on the compass indicator, of the guide icon information corresponding to the target exploration object, the device further includes: a distance determination module, configured to perform category identification on the target exploration object to obtain a category corresponding to the target exploration object; and determine the first distance corresponding to the target exploration object based on the category of the target exploration object.

[0159] In some embodiments, the second display module is further configured to, when the guide icon information includes a guide icon corresponding to the target exploration object and position indication information, display the guide icon on the compass indicator and display the position indication information in an associated display area of the guide icon; and the position indication information is used to indicate at least one of the following position information: a distance between the target exploration object and the target virtual object, and a height difference between the target exploration object and the target virtual object.

[0160] In some embodiments, the style adjustment module is further configured to, along with a change in the relative position between the target exploration object and the target virtual object, adjust a display size of the guide icon accordingly, so that the display size of the guide icon matches the relative position, and update position information indicated by the position indication information, so that the position information indicated by the position indication information is consistent with the relative position.

[0161] In some embodiments, the device further includes: a third display module, configured to, during the corresponding adjustment of the display size of the guide icon, display a special effect element corresponding to the guide icon in an associated display area of the guide icon; and the special effect element is used to indicate that a distance between the target exploration object and the target virtual object is less than a second distance, the second distance being less than the first distance.

[0162] In some embodiments, when the position information indicated by the position indication information comprises the height difference, the apparatus further comprises a first determination module configured to acquire a first line connecting the target virtual object and the target exploration object, and acquire a first included angle between the first line and a horizontal line on which the target virtual object is located; and determine the height difference between the target exploration object and the target virtual object based on the first included angle.

[0163] In some embodiments, when the guide icon information comprises a guide icon corresponding to the target exploration object, the second display module is further configured to, when the number of the target exploration objects is at least two and distances between each of the target exploration objects and the target virtual object are different, display the guide icon corresponding to each of the target exploration objects on the compass indicator; wherein the display size of the guide icon corresponding to different target exploration objects is different, and the display size of the guide icon is in a negative correlation with the corresponding distance.

[0164] In some embodiments, when the guide icon information comprises a guide icon corresponding to the target exploration object, the second display module is further configured to, when the number of the target exploration objects is at least two and distances between each of the target exploration objects and the target virtual object are different, determine a zooming scale corresponding to each of the target exploration objects according to the distance; zoom the guide icon corresponding to each of the target exploration objects based on the zooming scale, and display the zoomed guide icon on the compass indicator, so that the display size of each of the guide icons is consistent.

[0165] In some embodiments, the second display module is further configured to, when the target exploration object integrates an interest exploration object and a function exploration object, display first guide icon information corresponding to the interest exploration object on the compass indicator; and the style adjustment module is further configured to, when the target virtual object moves to the interest exploration object, update the first guide icon information displayed on the compass indicator to second guide icon information corresponding to the function exploration object.

[0166] In some embodiments, the second display module is further configured to, when an indication scale is distributed on the compass indicator, acquire a first relative position between the target exploration object and the target virtual object, and acquire a second relative position between an exploration object and a virtual object in the virtual scene and a first mapping relationship between the indication scale on the compass indicator; determine a first target indication scale on the compass indicator corresponding to the first relative position based on the first mapping relationship, and display guide icon information corresponding to the target exploration object at the first target indication scale.

[0167] In some embodiments, the second display module is further configured to acquire a target region with a center at a position of the target virtual object and a target angle as a second included angle, and use the target region as a display region of the compass indicator, wherein a straight line in the direction of the target virtual object is the angle bisector of the second included angle; and when a target exploration object exists in the display region in the virtual scene and a distance between the target exploration object and the target virtual object exceeds the first distance, display guide icon information corresponding to the target exploration object on the compass indicator.

[0168] In some embodiments, the second display module is further configured to, when the compass indicator is provided with an indication scale, acquire a third included angle corresponding to the target exploration object and a second mapping relationship between a fourth included angle corresponding to an exploration object in the display region and the indication scale on the compass indicator; the third included angle is an included angle between a second connecting line between the target exploration object and the target virtual object and the angle bisector of the second included angle, and the fourth included angle is an included angle between a third connecting line between an exploration object in the virtual scene and a virtual object and the angle bisector corresponding to the virtual object; based on the second mapping relationship, determine a second target indication scale on the compass indicator corresponding to the third included angle, and display the guide icon information corresponding to the target exploration object at the second target indication scale.

[0169] In some embodiments, when there are other exploration objects on the second connecting line, the second display module is further configured to, at the second target indication scale, scroll to display the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects; or, display the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects side by side on a vertical line where the second target indication scale is located; or, at the second target indication scale, use different display styles with different degrees of prominence to superimpose the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects, wherein the degree of prominence is positively correlated with the exploration priority of the target exploration object and the other exploration objects.

[0170] In some embodiments, the apparatus further includes a fourth display module configured to, when a target exploration object exists in a region other than the display region in the virtual scene and the target exploration object is a tracking exploration object, highlight guide icon information corresponding to the target exploration object at an end position on the compass indicator.

[0171] In some embodiments, the apparatus further includes a canceling display module configured to cancel displaying the guide icon information corresponding to the target exploration object on the compass indicator when the target exploration object is an interest exploration object or a function exploration object and the target virtual object moves to the target exploration object.

[0172] In some embodiments, the apparatus further includes a fifth display module configured to display the guide icon information corresponding to the target exploration object in the virtual scene and display the target exploration object in a highlighted manner when the distance between the target exploration object and the target virtual object does not exceed the first distance, and display the target exploration object in the virtual scene in the highlighted manner during the process of displaying the guide icon information on the compass indicator when the distance between the target exploration object and the target virtual object exceeds the first distance and does not exceed a third distance, wherein the third distance is greater than the first distance, and the highlighted manner includes at least one of the following display manners: target color display, superimposed mask display, highlight display, outline display, and special effect display.

[0173] Embodiments of the present application provide a computer program product, which includes a computer program or computer executable instructions stored in a computer readable storage medium. A processor of an electronic device reads the computer executable instructions from the computer readable storage medium, and the processor executes the computer executable instructions to cause the electronic device to perform the guiding method in a virtual scene provided by embodiments of the present application.

[0174] Embodiments of the present application provide a computer readable storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a processor, cause the processor to perform the guiding method in a virtual scene provided by embodiments of the present application, for example, the method shown in Figure 4

[0175] In some embodiments, the computer readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disc, or CD-ROM, etc.; or can be various devices including one or any combination of the above memories.

[0176] In some embodiments, the computer executable instructions can be in the form of programs, software, software modules, scripts or codes, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and can be deployed in any form, including being deployed as independent programs or being deployed as modules, components, subroutines or other units suitable for use in a computing environment. ​

[0177] As an example, computer-executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files that store one or more modules, subroutines, or code sections).

[0178] As an example, computer-executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.

[0179] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A guidance method in a virtual scene, characterized in that, The method includes: The target virtual object and compass indicator are displayed in the virtual scene. When a target object exists in the virtual scene and the distance between the target object and the target virtual object exceeds a first distance, a guide icon information corresponding to the target object is displayed on the compass indicator. The guide icon information is used to guide the target virtual object to move in the virtual scene. The guide icon information includes a guide icon corresponding to the target object and location indication information. The location indication information includes at least a height difference marker indicating the height difference between the target object and the target virtual object. The first distance is different for different types of target objects. During the movement of the target virtual object, the display style of the guide icon information is adjusted so that the display style of the guide icon information matches the relative position of the target exploration object and the target virtual object; The display of guide icon information corresponding to the target exploration object on the compass indicator includes: when the target exploration object integrates an interest exploration object and a functional exploration object, displaying the first guide icon information corresponding to the interest exploration object on the compass indicator; The adjustment of the display style of the guide icon information includes: when the target virtual object moves to the interest exploration object, updating the first guide icon information displayed on the compass indicator to the second guide icon information corresponding to the function exploration object.

2. The method as described in claim 1, characterized in that, Before displaying the guide icon information corresponding to the target exploration object on the compass indicator, the method further includes: The target object to be explored is classified to obtain the category corresponding to the target object to be explored. Based on the category of the target exploration object, the first distance corresponding to the target exploration object is determined.

3. The method as described in claim 1, characterized in that, The step of displaying the guide icon information corresponding to the target exploration object on the compass indicator includes: The guide icon is displayed on the compass indicator, and the location indication information is displayed in the associated display area of ​​the guide icon; The location indication information is used to indicate at least one of the following location information: the distance between the target exploration object and the target virtual object, and the height difference between the target exploration object and the target virtual object.

4. The method as described in claim 3, characterized in that, Adjusting the display style of the guide icon information includes: As the relative position between the target exploration object and the target virtual object changes, the display size of the guide icon is adjusted accordingly to match the relative position. Update the location information indicated by the location indication information so that the location information indicated by the location indication information is consistent with the relative position.

5. The method as described in claim 4, characterized in that, The method further includes: During the process of adjusting the display size of the guide icon, the special effect element corresponding to the guide icon is displayed in the associated display area of ​​the guide icon; The special effects element is used to indicate that the distance between the target exploration object and the target virtual object is less than a second distance, and the second distance is less than the first distance.

6. The method as described in claim 3, characterized in that, When the location information indicated by the location indication information includes the height difference, the method further includes: Obtain the first line connecting the target virtual object and the target exploration object, and obtain the first angle between the first line and the horizontal line where the target virtual object is located; Based on the first included angle, the height difference between the target exploration object and the target virtual object is determined.

7. The method as described in claim 1, characterized in that, When the guide icon information includes a guide icon corresponding to the target object, displaying the guide icon information corresponding to the target object on the compass indicator includes: When the number of target exploration objects is at least two, and the distance between each target exploration object and the target virtual object is different, a guide icon corresponding to each target exploration object is displayed on the compass indicator; The display size of the guide icon varies depending on the target being explored, and the display size of the guide icon is negatively correlated with the corresponding distance.

8. The method as described in claim 1, characterized in that, When the guide icon information includes a guide icon corresponding to the target object, displaying the guide icon information corresponding to the target object on the compass indicator includes: When the number of target exploration objects is at least two, and the distance between each target exploration object and the target virtual object is different, the scaling ratio corresponding to the target exploration object is determined according to each distance; Based on the scaling ratios, the guide icons corresponding to the respective target exploration objects are scaled, and the scaled guide icons are displayed on the compass indicator so that the display size of each guide icon is consistent.

9. The method as described in claim 1, characterized in that, The step of displaying the guide icon information corresponding to the target exploration object on the compass indicator includes: When the compass indicator has markings, the first relative position between the target exploration object and the target virtual object is obtained, and the second relative position between the exploration object and the virtual object in the virtual scene and the first mapping relationship between them and the markings on the compass indicator are obtained. Based on the first mapping relationship, a first target indication scale corresponding to the first relative position is determined on the compass indicator, and the guide icon information corresponding to the target exploration object is displayed at the first target indication scale.

10. The method as described in claim 1, characterized in that, When a target exploration object exists in the virtual scene, and the distance between the target exploration object and the target virtual object exceeds a first distance, the guide icon information corresponding to the target exploration object is displayed on the compass indicator, including: Obtain a target area with the location of the target virtual object as the center and the target angle as the second included angle, and use the target area as the display area of ​​the compass indicator, wherein the straight line of the orientation of the target virtual object is the angle bisector of the second included angle; When a target exploration object exists within the display area of ​​the virtual scene, and the distance between the target exploration object and the target virtual object exceeds the first distance, the guide icon information corresponding to the target exploration object is displayed on the compass indicator.

11. The method as described in claim 10, characterized in that, The step of displaying the guide icon information corresponding to the target exploration object on the compass indicator includes: When the compass indicator has markings, the third included angle corresponding to the target object is obtained, and the second mapping relationship between the fourth included angle corresponding to the target object in the display area and the markings on the compass indicator is obtained. Wherein, the third included angle is the angle between the second line connecting the target exploration object and the target virtual object and the angle bisector of the second included angle; the fourth included angle is the angle between the third line connecting the exploration object and the virtual object in the virtual scene and the angle bisector of the corresponding virtual object. Based on the second mapping relationship, a second target indication scale corresponding to the third included angle is determined on the compass indicator, and the guide icon information corresponding to the target exploration object is displayed at the second target indication scale.

12. The method as described in claim 11, characterized in that, When there are other objects to be explored on the second line, displaying the guide icon information corresponding to the target object at the second target indicator scale includes: At the second target indicator scale, the guide icon information corresponding to the target exploration object and the guide icon information corresponding to other exploration objects are displayed in a scrolling manner; or... On the vertical line where the second target indicator scale is located, the guide icon information corresponding to the target exploration object and the guide icon information corresponding to the other exploration objects are displayed side by side; or... At the second target indicator scale, the guide icon information corresponding to the target exploration object and the guide icon information corresponding to other exploration objects are displayed in superimposed using display styles with different levels of visibility. The visibility is positively correlated with the exploration priority of the target exploration object and the other exploration objects.

13. The method as described in claim 10, characterized in that, The method further includes: When a target exploration object exists in an area other than the display area in the virtual scene, and the target exploration object is a tracking exploration object, the guide icon information corresponding to the target exploration object is highlighted at the end position of the compass indicator.

14. The method as described in claim 1, characterized in that, The method further includes: When the target exploration object is an interest exploration object or a function exploration object, and the target virtual object moves to the target exploration object, the guide icon information corresponding to the target exploration object is canceled from being displayed on the compass indicator.

15. The method as described in claim 1, characterized in that, The method further includes: When the distance between the target exploration object and the target virtual object does not exceed the first distance, the guide icon information corresponding to the target exploration object is displayed in the virtual scene, and the target exploration object is highlighted. When the distance between the target exploration object and the target virtual object exceeds the first distance but does not exceed the third distance, the target exploration object is highlighted in the virtual scene while the guide icon information is displayed on the compass indicator. Wherein, the third distance is greater than the first distance, and the highlighting method includes at least one of the following display methods: target color display, overlay mask display, highlight display, outline display, and special effects display.

16. A guidance device in a virtual scene, characterized in that, The device includes: The first display module is used to display the target virtual object and compass indicator in the virtual scene. The second display module is used to display guidance icon information corresponding to the target exploration object on the compass indicator when there is a target exploration object in the virtual scene and the distance between the target exploration object and the target virtual object exceeds a first distance. The guidance icon information is used to guide the target virtual object to move in the virtual scene. The guidance icon information includes a guidance icon corresponding to the target exploration object and position indication information. The position indication information includes at least a height difference marker for indicating the height difference between the target exploration object and the target virtual object. The first distance is different for different types of target exploration objects. The style adjustment module is used to adjust the display style of the guide icon information during the movement of the target virtual object, so that the display style matches the relative position of the target exploration object and the target virtual object; The second display module is further configured to display the first guide icon information corresponding to the interest exploration object on the compass indicator when the target exploration object integrates interest exploration objects and functional exploration objects; The style adjustment module is also used to update the first guide icon information displayed on the compass indicator to the second guide icon information corresponding to the function exploration object when the target virtual object moves to the interest exploration object.

17. The apparatus according to claim 16, characterized in that, The second display module is further configured to: The guide icon is displayed on the compass indicator, and the location indication information is displayed in the associated display area of ​​the guide icon; The location indication information is used to indicate at least one of the following location information: the distance between the target exploration object and the target virtual object, and the height difference between the target exploration object and the target virtual object.

18. The apparatus according to claim 17, characterized in that, The style adjustment module is also used for: As the relative position between the target exploration object and the target virtual object changes, the display size of the guide icon is adjusted accordingly to match the relative position. Update the location information indicated by the location indication information so that the location information indicated by the location indication information is consistent with the relative position.

19. The apparatus according to claim 16, characterized in that, When the guide icon information includes a guide icon corresponding to the target exploration object, the second display module is further configured to: When the number of target exploration objects is at least two, and the distance between each target exploration object and the target virtual object is different, a guide icon corresponding to each target exploration object is displayed on the compass indicator; The display size of the guide icon varies depending on the target being explored, and the display size of the guide icon is negatively correlated with the corresponding distance.

20. The apparatus according to claim 16, characterized in that, When the guide icon information includes a guide icon corresponding to the target exploration object, the second display module is further configured to: When the number of target exploration objects is at least two, and the distance between each target exploration object and the target virtual object is different, the scaling ratio corresponding to the target exploration object is determined according to each distance; Based on the scaling ratios, the guide icons corresponding to the respective target exploration objects are scaled, and the scaled guide icons are displayed on the compass indicator so that the display size of each guide icon is consistent.

21. The apparatus according to claim 16, characterized in that, The device further includes a fifth display module for: When the distance between the target exploration object and the target virtual object does not exceed the first distance, the guide icon information corresponding to the target exploration object is displayed in the virtual scene, and the target exploration object is highlighted. When the distance between the target exploration object and the target virtual object exceeds the first distance but does not exceed the third distance, the target exploration object is highlighted in the virtual scene while the guide icon information is displayed on the compass indicator. Wherein, the third distance is greater than the first distance, and the highlighting method includes at least one of the following display methods: target color display, overlay mask display, highlight display, outline display, and special effects display.

22. A terminal device, characterized in that, include: Memory is used to store executable instructions for a computer; A processor, when executing computer-executable instructions stored in the memory, implements the boot method in the virtual scene as described in any one of claims 1 to 15.

23. A computer-readable storage medium, characterized in that, The device stores computer-executable instructions, which, when executed by a processor, implement the bootstrapping method in the virtual scene as described in any one of claims 1 to 15.

24. A computer program product, comprising a computer program or computer-executable instructions, characterized in that, When the computer program or computer-executable instructions are executed by the processor, they implement the guidance method in the virtual scene as described in any one of claims 1 to 15.

Citation Information

Patent Citations

  • Method and device for displaying distance information in virtual scene and computer device

    CN108619721A

  • Azimuth prompting method and device in virtual scene, equipment and storage medium

    CN110917616A

  • Interface display method, device and equipment and storage medium

    CN112121422A