Coordinate axis display method, device, terminal and computer program applied to virtual environment

By displaying separate coordinate axes for different virtual environments and updating them as the user moves, the method resolves the issue of overlapping mark points, enabling efficient quest completion in adventure games.

JP7772311B2Active Publication Date: 2025-11-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
JP2023573581
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-12-30
Filing Date
2022-10-09
Publication Date
2025-11-18
Estimated Expiration
2042-10-09

AI Technical Summary

Technical Problem

In adventure games, the overlapping of mark points on coordinate axes in different virtual environments hinders the user's ability to determine their specific locations and select the correct path, leading to inefficient quest completion.

Method used

The method involves displaying a first coordinate axis for the current virtual environment and a second coordinate axis for a different virtual environment, updating these axes as the virtual object moves between environments, ensuring that mark points are distinct and avoid overlap, allowing users to accurately determine their locations and plan optimal routes.

Benefits of technology

This approach enhances the user's ability to strategically navigate and complete quests efficiently by clearly distinguishing mark points across different virtual environments, improving engagement and reducing search time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007772311000001
    Figure 0007772311000001
  • Figure 0007772311000002
    Figure 0007772311000002
  • Figure 0007772311000003
    Figure 0007772311000003
Patent Text Reader

Abstract

A method, device, terminal and medium for displaying a coordinate axis applied to a virtual environment, which belongs to the field of man-machine interaction, includes a step (310) of displaying a virtual environment screen, a step (320) of displaying a first coordinate axis at a first position on the virtual environment screen and a second coordinate axis at a second position on the virtual environment screen, the first position being used to display a coordinate axis corresponding to a first virtual environment in which a virtual object is located, the second position being used to display a coordinate axis corresponding to a second virtual environment, the second virtual environment being a virtual environment other than the first virtual environment, and the coordinate axis being for displaying a mark point in the virtual environment, and a step (330) of updating the first coordinate axis and the second coordinate axis during the process in which the virtual object moves from the first virtual environment to the second virtual environment. The method distinguishes the coordinate axes and mark points of different virtual environments, thereby avoiding overlapping due to too many mark points on the coordinate axes, which affects the judgment of the mark points.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This application claims priority to a Chinese patent application filed on October 26, 2021, bearing application number 202111248536.1 and entitled "Coordinate axis display method, device, terminal and medium applied to virtual environment", and a Chinese patent application filed on December 30, 2021, bearing application number 202111652782.3 and entitled "Coordinate axis display method, device, terminal and medium applied to virtual environment", the entire contents of which are incorporated herein by reference.

[0002] The embodiments of the present application relate to the field of man-machine interaction, and in particular to a coordinate axis display method, device, terminal, and medium applied to a virtual environment. [Background technology]

[0003] Adventure games are games in which a user controls a virtual object to explore different virtual environments. Different virtual environments of the game have different landmarks, and the user can control the virtual object to move between different virtual environments and reach the landmarks. By completing quests corresponding to the landmarks, the user can obtain corresponding rewards, such as leveling up the virtual object or obtaining virtual tools.

[0004] To indicate the position of the mark point, the virtual environment screen displays a coordinate axis and marks the relative direction between the mark point and the current location of the virtual object on the coordinate axis. The virtual environment screen displays the mark point on the coordinate axis, and when the user moves the cursor to the mark point, the distance the virtual object is away from the mark point is displayed. Thus, the user can control the virtual object to move to the mark point and complete the corresponding quest according to the mark point displayed on the coordinate axis.

[0005] In related technologies, mark points in different virtual environments are all displayed on coordinate axes, and because there are too many mark points, the display of the mark points on the coordinate axes overlaps, resulting in the occlusion of some mark points, and the user is unable to determine whether there is a mark point in the direction of the current location of the virtual object. On the other hand, when the user moves the cursor to a mark point, the distance the virtual object is away from the mark point is displayed, but it is not possible to determine whether the mark point is in the virtual environment where the virtual object is located, and the specific location of the mark point still cannot be determined. Summary of the Invention [Problem to be solved by the invention]

[0006] The embodiments of the present application provide a coordinate axis display method, device, terminal and medium applicable to a virtual environment, and by distinguishing the coordinate axes and marking points corresponding to different virtual environments, it is possible to avoid overlapping of too many marking points on the coordinate axes, which would affect the selection of the marking points, and at the same time, it is convenient for the user to determine the specific position of the marking point. The technical solution is as follows: [Means for solving the problem]

[0007] According to one aspect, an embodiment of the present application provides a coordinate axis display method applied to a virtual environment, executed by a terminal, the method comprising: displaying a virtual environment screen; a step of displaying a first coordinate axis at a first position on the virtual environment screen and a second coordinate axis at a second position on the virtual environment screen, the first position being used to display a coordinate axis corresponding to a first virtual environment in which a virtual object is located, the second position being used to display a coordinate axis corresponding to a second virtual environment, the second virtual environment being a virtual environment other than the first virtual environment, and the coordinate axis being used to display a mark point in the virtual environment; updating the first coordinate axis and the second coordinate axis during the process of the virtual object moving from the first virtual environment to the second virtual environment.

[0008] According to another aspect, an embodiment of the present application provides a coordinate axis display device for application in a virtual environment, the device comprising: a display module for displaying a virtual environment screen; the display module displays a first coordinate axis at a first position on the virtual environment screen and a second coordinate axis at a second position on the virtual environment screen, the first position being used to display a coordinate axis corresponding to a first virtual environment in which a virtual object is located, the second position being used to display a coordinate axis corresponding to a second virtual environment, the second virtual environment being a virtual environment other than the first virtual environment, and the coordinate axis being used to display a mark point in the virtual environment; An update module is included for updating the first coordinate axis and the second coordinate axis during the process of the virtual object moving from the first virtual environment to the second virtual environment.

[0009] According to another aspect, an embodiment of the present application provides a terminal, the terminal including a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to realize the coordinate axis display method applied to a virtual environment described in the above aspect.

[0010] According to another aspect, an embodiment of the present application provides a computer-readable storage medium having stored therein at least one instruction, the at least one instruction being loaded and executed by a processor to realize the coordinate axis display method applied to a virtual environment described in the above aspect.

[0011] According to another aspect, an embodiment of the present application provides a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium, wherein a processor of a terminal reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the terminal to perform a coordinate axis display method applied to a virtual environment, provided by various selectable implementation methods of the above aspect.

[0012] In an embodiment of the present application, a coordinate axis (first coordinate axis) corresponding to a first virtual environment where a virtual object is located and a mark on the coordinate axis are displayed at a first position on a virtual environment screen, and a coordinate axis (second coordinate axis) corresponding to a second virtual environment (a virtual environment other than the first virtual environment) are displayed at a second position. As the virtual object moves from the first virtual environment to the second virtual environment, the coordinate axes of the first and second positions are updated accordingly. The coordinate axes and mark on the first and second positions are displayed for different virtual environments, respectively, so that the mark on each virtual environment is displayed on a single coordinate axis, avoiding overlapping of the mark on each virtual environment and hindering the user's judgment of the mark. Furthermore, the user may determine the specific location of the mark on the coordinate axis of the first position and the mark on the coordinate axis of the second position, and then control the virtual object with rational tactics to move to the mark on each virtual environment and complete the quest.

[0013] Coordinate axes corresponding to different virtual environments and mark points in different virtual environments are distinguished, making it convenient for the user to determine the specific positions of the mark points as the game progresses, and further to control the virtual objects with reasonable tactics so as to move towards the mark points to complete the quest, thereby enriching the user's experience and improving the efficiency with which the user completes the quest. [Brief explanation of the drawings]

[0014] [Figure 1]1 shows a schematic diagram of a virtual environment according to one exemplary embodiment of the present application; [Figure 2] 1 shows a schematic diagram of an implementation environment provided by one exemplary embodiment of the present application. [Figure 3] 1 shows a flowchart of a coordinate axis display method applied to a virtual environment provided by one exemplary embodiment of the present application; [Figure 4] 1 illustrates an interface schematic diagram of a virtual environment screen provided by one exemplary embodiment of the present application; [Figure 5] 1 shows a schematic diagram of a first coordinate axis and a second coordinate axis shown in one exemplary embodiment of the present application. [Figure 6] 1 illustrates a flowchart of a coordinate axis display method applied to a virtual environment provided by another exemplary embodiment of the present application. [Figure 7] 1 shows an interface schematic diagram of a coordinate axis display method applied to a virtual environment provided by one exemplary embodiment of the present application; [Figure 8] 1 illustrates a flowchart of a coordinate axis display method applied to a virtual environment provided by another exemplary embodiment of the present application. [Figure 9] FIG. 10 shows an interface schematic diagram of a coordinate axis display method applied to a virtual environment provided by another exemplary embodiment of the present application; [Figure 10] 1 illustrates a flowchart of a coordinate axis display method applied to a virtual environment provided by another exemplary embodiment of the present application. [Figure 11] 1 illustrates a flowchart of a coordinate axis display method applied to a virtual environment provided by another exemplary embodiment of the present application. [Figure 12] 1 shows a structural block diagram of a coordinate axis display device applied to a virtual environment provided by one exemplary embodiment of the present application; [Figure 13] 1 illustrates a structural block diagram of a terminal provided by one exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION

[0015] In order to make the objectives, technical solutions and advantages of the present application clearer, the following describes the embodiments of the present application in more detail in conjunction with the drawings.

[0016] First, the nouns related to the embodiments of the present application will be introduced.

[0017] Virtual environment: A virtual environment displayed (or provided) when an application program is executed on a terminal. The virtual environment may be a simulation environment of the real world, a semi-simulated or semi-fictional environment, or a purely fictional environment. The virtual environment may be any one of a 2D virtual environment, a 2.5D virtual environment, and a 3D virtual environment, and the present application is not limited thereto. In the following embodiment, the virtual environment is described as a 3D virtual environment.

[0018] In addition, in the embodiment of the present application, there are multiple virtual environments, and the virtual environments can be selectively divided into entity-type virtual environments and spatial-type virtual environments. An entity-type virtual environment refers to a virtual environment that exists in an entity format, such as a planet, a space station, a building, etc., but the embodiment of the present application is not limited thereto. A spatial-type virtual environment refers to a virtual environment that exists in a non-entity format, and is typically located between entity-type virtual environments, such as space located between planets and space stations, or roads and vacant lots located between buildings, etc. The embodiment of the present application does not limit the specific types of entity-type virtual environments and spatial-type virtual environments.

[0019] In one possible embodiment, a user can control a virtual object to move within the same virtual environment, and when the virtual object moves within the same virtual environment, it does not need to use a virtual vehicle but can move directly, for example, by walking, running, jumping, etc. In another possible embodiment, the virtual object can move within different virtual environments, and when the virtual object moves within a different virtual environment, it needs to use a virtual vehicle. Optionally, the virtual object can move from an entity-type virtual environment to a spatial-type virtual environment, or from a spatial-type virtual environment to an entity-type virtual environment.

[0020] Of course, in other possible embodiments, the virtual vehicle employed when traveling within the same virtual environment is different from the virtual vehicle employed when traveling between virtual environments, for example, the virtual vehicle employed when traveling within the same virtual environment is a virtual automobile and the virtual vehicle employed when traveling between virtual environments is a virtual spaceship.

[0021] In a possible embodiment, when a virtual object moves from a current entity-type virtual environment to another entity-type virtual environment, it must pass through a space-type virtual environment. For example, FIG. 1 shows a schematic diagram of a virtual environment illustrated in an embodiment of the present application. The virtual environment includes a planet 120, a space base 130 (an entity-type virtual environment), and a space 110 (a space-type virtual environment). While there is only one space 110, there may be multiple planets 120 and space bases 130. Optionally, the planet 120 may be Mars, Saturn, Jupiter, or another virtual planet, and the embodiment of the present application is not limited thereto. In a game, a user may optionally control a virtual object to move between entity-type virtual environments, and the virtual object must pass through a space-type virtual environment in the process of moving from the entity-type virtual environment where it is currently located to another entity-type virtual environment. For example, if a virtual object is currently located on the planet 120, and the user controls the virtual object to move from the planet 120 to the space base 130, the user must pass through the space 110. Optionally, a user may control a virtual object to move between the entity-based virtual environment and the space-based virtual environment. Illustratively, the virtual object may currently be located in space 110 and the user may control the virtual object to move from space 110 to planet 120 or space base 130, or the virtual object may currently be located on planet 120 or space base 130 and the user may control the virtual object to move from planet 120 or space base 130 to space 110.

[0022] In addition, both the entity-type and spatial-type virtual environments include a markpoint, which indicates a quest at a certain location in the virtual environment, and the user can control a virtual object to complete the quest by moving toward the markpoint. Optionally, the quest may be an item collection quest, a battle quest, a construction quest (building a base), etc. The markpoint may be automatically generated during the game process, or may be marked by the user on the virtual map before entering the game.

[0023] Virtual object: refers to a movable object in a virtual environment. The movable object may be a virtual person, a virtual animal, an animated character, etc., such as a person or an animal displayed in a 3D virtual environment. Optionally, the virtual object is a 3D solid model created based on skeletal animation techniques. Each virtual object has its own shape and volume in the 3D virtual environment and occupies a portion of the space in the 3D virtual environment.

[0024] Adventure games: In the games, users can control virtual objects to explore different virtual environments and obtain rewards by completing corresponding quests, such as leveling up virtual objects, obtaining virtual tools, leveling up virtual tools, etc. Optionally, to complete corresponding quests, users can control virtual objects to move with virtual tools from the current virtual environment to another virtual environment depending on the location of the quest.

[0025] Virtual tool: refers to a tool that a virtual object can use in a virtual environment. Optionally, the virtual tool may be a virtual vehicle that helps the virtual object move between different virtual environments, such as a spaceship, an airplane, a yacht, etc. Optionally, the virtual tool may be something that helps the virtual object complete a quest or resist attacks, such as an attack-type virtual tool, a drop-type virtual tool, a defense-type virtual tool, etc.

[0026] The method provided herein can be applied to virtual reality application programs, 3D map programs, first / third-person shooter games, multiplayer online battle arena games (MOBA), massive multiplayer online games (MMOG), massive multiplayer online role-playing games (MMORPG), etc., and the following embodiments will be described taking the application to games as an example.

[0027] Games based on virtual environments often consist of one or more game world maps, where the virtual environments in the games simulate scenes from the real world, and users can control virtual objects in the games to perform various actions in the virtual environments, such as purchasing items such as tools and interacting with other virtual characters, which are virtual characters controlled by other users. The games of the present embodiment have multiple virtual environments, and users can control virtual objects to move and explore different virtual environments, mainly by finding markers and completing corresponding quests.

[0028] During the game process, the virtual environment screen displays a coordinate axis for displaying a markpoint, which represents a quest in the virtual environment. Because there are multiple virtual environments and the markpoints in all virtual environments are displayed on the coordinate axis, the markpoints on the coordinate axis overlap, hindering the user's selection of the markpoint. The virtual environment screen also displays corresponding markpoints, each corresponding to a markpoint on the coordinate axis. The closer the virtual object is to the markpoint, the larger the icon of the markpoint in the virtual environment; and the farther the virtual object is from the markpoint, the smaller the icon of the markpoint in the virtual environment. The user can determine the distance between the virtual object and the markpoint based on the size of the icon of the markpoint in the virtual environment. Furthermore, when the user moves the cursor to a markpoint, the virtual environment screen displays the distance between the virtual object and the markpoint, but it is impossible to determine whether the markpoint is located in the virtual environment where the virtual object currently resides or in another virtual environment. As a result, the user is unable to select a rational strategy to control the virtual object to move to the markpoint. For example, a user moves a cursor to a certain mark point and checks that the virtual object is 1030 km (kilometers) away from the mark point, but cannot determine whether the mark point is in the virtual environment where the virtual object currently resides. Therefore, the user first controls the virtual object to move to the mark point by running. However, if the virtual object still does not reach the mark point after a certain time has passed, the user controls the virtual object to turn back and search for a spaceship and head towards the mark point by the spaceship, which increases the time the user spends searching for the mark point.

[0029] In order to avoid overlapping of markpoints in all virtual environments, which would interfere with the user's judgment of the markpoints, and to accurately determine the specific locations of the markpoints and improve the player's engagement in the game, the embodiment of the present application distinguishes between the coordinate axes of different virtual environments and the markpoints in different virtual environments. At a first position on the virtual environment screen, a coordinate axis (first coordinate axis) corresponding to a first virtual environment in which a virtual object is located and the markpoints on that coordinate axis are displayed. At a second position, a coordinate axis (second coordinate axis) corresponding to a virtual environment other than the first virtual environment and the markpoints on that coordinate axis are displayed. Furthermore, as the virtual object moves between the first and second virtual environments, the coordinate axes of the first and second positions also change. Compared to related art, displaying all markpoints on a single coordinate axis prevents overlapping of markpoints, which would interfere with the user's judgment of the markpoints. Furthermore, the user may determine the specific locations of the markpoints and then use rational tactics to control the virtual object to move toward the markpoint and complete the corresponding quest.

[0030] 2, a schematic diagram of an implementation environment provided by one embodiment of the present application is shown. The implementation environment may include a first terminal 210, a server 220, and a second terminal 230.

[0031] An application program 211 supporting a virtual environment is installed and executed on the first terminal 210, and the application program 211 may be a multiplayer online program. When the application program 211 is executed on the first terminal 210, a user interface of the application program 211 is displayed on the screen of the first terminal 210. The application program 211 may be any one of an MOBA game, a shooting game, a simulation strategy game (SLG), and an adventure game. In this embodiment, the application program 211 is an adventure game. The first terminal 210 is used by a first user 212, and the first user 212 uses the first terminal 210 to control a first virtual object located in the virtual environment so that it moves. The first virtual object may be referred to as the first user's 212 master virtual object. The movement of the first virtual object includes at least one of, but is not limited to, adjusting a body posture, creeping, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and skill activation. Illustratively, the first virtual object is a first virtual person, such as, for example, a simulated or animated person.

[0032] An application program 231 supporting a virtual environment is installed and executed on the second terminal 230, and the application program 231 may be a multiplayer online program. When the application program 231 is executed on the second terminal 230, a user interface of the application program 231 is displayed on the screen of the second terminal 230. The client may be any one of an MOBA game, a shooting game, a SLG game, and an adventure game. In this embodiment, the application program 231 is an adventure game. The second terminal 230 is used by a second user 232. The second user 232 uses the second terminal 230 to control a second virtual object located in the virtual environment so that it moves. The second virtual object may be referred to as the second user's 232 master virtual character. Typically, the second virtual object is a second virtual character, such as a simulation character or an animated character.

[0033] The first virtual object and the second virtual object may optionally be located in the same virtual world or in different virtual worlds, and may optionally explore and complete corresponding quests in the virtual environment independently, or may optionally team up to explore and complete corresponding quests in the virtual environment collaboratively.

[0034] Alternatively, the application programs installed on the first terminal 210 and the second terminal 230 may be the same, or the application programs installed on the two terminals may be the same type of application programs on different operating system platforms (Windows or IOS). The first terminal 210 may refer to one of multiple terminals, and the second terminal 230 may refer to another of the multiple terminals. This embodiment will be described using only the first terminal 210 and the second terminal 230 as an example. The device types of the first terminal 210 and the second terminal 230 may be the same or different, and the device types may include at least one of a smartphone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop computer, and a desktop computer.

[0035] 2 shows only two terminals, in different embodiments, there may be multiple other terminals that can access server 220. Optionally, there may be one or more terminals corresponding to developers, which have installed thereon an application program development and editing platform that supports a virtual environment, allowing the developer to edit and update the application program on the terminal and transmit the updated application program installation package to server 220 via a wired or wireless network, and first terminal 210 and second terminal 230 may download the application program installation package from server 220 to implement updates to the application program.

[0036] The first terminal 210, the second terminal 230, and other terminals are connected to the server 220 via a wireless network or a wired network.

[0037] The server 220 may include at least one of a single server, a server cluster consisting of multiple servers, a cloud computing platform, and a virtualization center. The server 220 provides back-end services for application programs supporting a 3D virtual environment. Optionally, the server 220 performs the main computational tasks, and the terminal performs the secondary computational tasks. Alternatively, the server 220 performs the secondary computational tasks and the terminal performs the main computational tasks. Alternatively, a distributed computing architecture is used between the server 220 and the terminal to perform collaborative computing.

[0038] In one schematic example, the server 220 includes a memory 221, a processor 222, a user account database 223, a quest service module 224, and a user-facing input / output interface (I / O interface) 225. The processor 222 loads instructions stored in the server 220 and processes data in the user account database 223 and the quest service module 224. The user account database 223 stores user account data used by the first terminal 210, the second terminal 230, and other terminals, such as the user account avatar, the user account nickname, the user account level, and the service area in which the user account is located. The quest service module 224 provides multiple quests for users to explore. The user-facing I / O interface 225 establishes communication and exchanges data with the first terminal 210 and / or the second terminal 230 via a wireless network or a wired network. In the following embodiments, the control of a virtual object may be completed independently by a terminal, independently by a server, or in cooperation with a terminal and a server, and the embodiments of the present application are not limited thereto. For convenience of description, the following embodiments will be described taking the example of a terminal controlling a virtual object.

[0039] 3, a flowchart of a coordinate axis display method applied to a virtual environment provided by an exemplary embodiment of the present application is shown. In this embodiment, the method is applied to the first terminal 210 or the second terminal 230 in the implementation environment shown in FIG. 2, or to other terminals in the implementation environment, and the method includes the following steps: Step 310: Display the virtual environment screen.

[0040] An application program supporting a virtual environment is executed on a terminal used by a user. When the user executes the application program, a corresponding screen is displayed on the display screen of the terminal when using the application program, which screen is a virtual environment screen. Optionally, the virtual environment screen is a screen for observing the virtual environment from the viewpoint of a virtual object. The viewpoint refers to an observation angle when observing the virtual environment from a first-person viewpoint or a third-person viewpoint of the virtual object. Optionally, in the present embodiment, the viewpoint refers to an angle when observing a virtual object using a camera model in the virtual environment.

[0041] Optionally, the camera model automatically tracks the virtual object in the virtual environment, i.e., when the position of the virtual object in the virtual environment changes, the camera model tracks and changes simultaneously with the position of the virtual object in the virtual environment, and the camera model is always within a preset distance range of the virtual object in the virtual environment. Optionally, during the automatic tracking process, the relative position of the camera head model and the virtual object does not change.

[0042] A camera model refers to a three-dimensional model positioned around a virtual object in a virtual environment. When a first-person perspective is used, the camera model is positioned near or at the head of the virtual object. When a third-person perspective is used, the camera model may be positioned behind the virtual object and bound to the virtual object, or may be positioned at any position within a predetermined distance from the virtual object. This camera model allows the virtual object in the virtual environment to be observed from different angles. Optionally, when the third-person perspective is a first-person over-the-shoulder perspective, the camera model is positioned behind the virtual object (e.g., the head and shoulders of a virtual character). Optionally, in addition to the first-person and third-person perspectives, other perspectives may also be used, such as a bird's-eye view. When a bird's-eye view is used, the camera model may be positioned above the head of the virtual object, which is a perspective from which the virtual environment is observed from above. Optionally, the camera model is not actually displayed in the virtual environment, i.e., the camera model is not displayed in the virtual environment displayed in the user interface.

[0043] In an embodiment of the present application, the virtual environment views corresponding to different virtual environments are different, for example, a virtual environment view in which the virtual environment is a planet is different from a virtual environment view in which the virtual environment is a space station.

[0044] The virtual environment screen includes virtual objects and non-player characters (NPCs). NPCs help the user-controlled virtual object complete quests. Optionally, the NPCs may be at least one of human figures, animal figures, plant figures, monster figures, etc. Optionally, the NPCs may also be landscape figures such as mountains, lakes, etc. Optionally, the user can control the virtual object to complete the corresponding quest by fighting or attacking the NPC. Optionally, the user-controlled virtual character can also communicate with the NPC, and the NPC can distribute quests, provide suggested information, sell items, etc. to the user-controlled virtual character.

[0045] Step 320: displaying a first coordinate axis at a first position on the virtual environment screen, and a second coordinate axis at a second position on the virtual environment screen, where the first position is used to display a coordinate axis corresponding to a first virtual environment in which a virtual object is located, and the second position is used to display a coordinate axis corresponding to a second virtual environment, which is a virtual environment other than the first virtual environment, and the coordinate axis is for displaying a mark point in the virtual environment.

[0046] In an embodiment of the present application, the virtual environment screen further includes coordinate axes and markings on the coordinate axes, the coordinate axes can be displayed on the upper layer of the virtual environment screen, the markings are for displaying quests in the virtual environment, and the user can control the virtual object to complete the corresponding quest toward the markings. Since there are multiple virtual environments in this embodiment, if markings in multiple virtual environments are displayed on one coordinate axis, the markings on the coordinate axes will overlap and some of the markings will be blocked, which will affect the user's selection of the markings.

[0047] To avoid the above situation, a first position and a second position are set on the virtual environment screen, the first position displays a coordinate axis corresponding to a first virtual environment where the virtual object currently exists and is used to display mark points on the coordinate axis corresponding to mark points in the first virtual environment, and the second position displays a coordinate axis corresponding to a second virtual environment and is used to display mark points on the coordinate axis corresponding to mark points in the second virtual environment, the second virtual environment being a virtual environment other than the first virtual environment. In addition, the virtual environment screen also displays mark points in the first virtual environment and the second virtual environment, which respectively correspond to the mark points on the coordinate axes.

[0048] The markpoint may be a mark made by the user on the virtual map before entering the game, or a hidden markpoint may be triggered by the user after completing a quest during the game. The markpoint is intended to notify the user that a quest exists at a certain location in the virtual environment, and the type of quest may be, for example, an item collection quest to collect an element such as carbon or potassium, or a combat quest to attack an NPC such as a monster, but the embodiment of the present application is not limited thereto.

[0049] Optionally, each quest corresponds to a mark point on the coordinate axis, i.e., as the quest increases, the mark point on the coordinate axis also increases, and as the quest decreases, the mark point also decreases. Different quests are indicated by different mark points, and the same quests are indicated by the same mark point, and whether the quests are the same or not depends on the content of the quest.

[0050] A mark point is selectively displayed on the virtual environment screen, and the size of the mark point is positively correlated with the distance between the virtual object and the mark point. For example, the larger the distance between the virtual object and the mark point, the larger the mark point displayed on the virtual environment screen, and the smaller the distance between the virtual object and the mark point, the smaller the mark point displayed on the virtual environment screen.

[0051] Optionally, the markpoints may be indicated by at least one of a color, a shape, or a combination of color and shape.

[0052] In some embodiments, a coordinate range corresponding to a coordinate axis may be determined based on the orientation of a virtual object and the size of the viewpoint, and a mark point located within the coordinate range is displayed on the coordinate axis accordingly. For example, if the orientation of a virtual object is due north and the size of the viewpoint is 120°, the coordinate range corresponding to the coordinate axis is from 60° west of north to 60° east of north.

[0053] When the orientation of the virtual object changes, the coordinate ranges corresponding to the coordinate axes and the mark points on the coordinate axes change accordingly.

[0054] Regarding the first position and the second position, in a possible embodiment, the first position and the second position display coordinate axes corresponding to a particular virtual environment, the first position is used to display coordinate axes corresponding to the virtual environment in which the virtual object is currently located, and the second position is used to display coordinate axes corresponding to other virtual environments other than the virtual environment in which the virtual object is currently located.

[0055] In possible embodiments, the first and second locations may be fixed or dynamic in the virtual environment screen, and the relative positions of the first and second locations may change.

[0056] The first and second locations are selectively fixed at the top, bottom, left, or right of the virtual environment screen, and the user can set the fixed display locations for the first and second locations before entering the game.

[0057] Optionally, the first and second positions may be dynamically displayed at either the top, bottom, left, or right side of the virtual environment screen.

[0058] Optionally, the relative positions of the first and second locations can be changed, for example, the first location can be displayed at the top of the virtual environment screen and the second location can be displayed at the bottom of the virtual environment screen.

[0059] Regarding the first virtual environment and the second virtual environment, the first virtual environment and the second virtual environment are relative and refer to the location of the virtual object. The virtual environment in which the virtual object currently resides is the first virtual environment, and any other virtual environment other than the virtual environment in which the virtual object currently resides is the second virtual environment. Illustratively, as shown in FIG. 1 , the virtual environment in which the virtual object currently resides is planet 120, where planet 120 is the first virtual environment, and space 110, any other planets 120, and any space base 130 are the second virtual environments. Alternatively, the virtual environment in which the virtual object currently resides is space base 130, where space base 130 is the first virtual environment, and space 110, any other space base, and any planets 120 are the second virtual environments. Alternatively, the first virtual environment is space 110, and any planets 120 and any space base 130 are the second virtual environments.

[0060] 4, a first position on the virtual environment screen displays a first coordinate axis 410 and is used to indicate a first virtual environment 415 in which a virtual object 414 currently resides. A first marked point 412 is displayed on the first coordinate axis 410 to indicate a marked point present in the first virtual environment 415. A second position on the virtual environment screen displays a second coordinate axis 411 and is used to indicate a second virtual environment (not shown) other than the first virtual environment. A second marked point 413 is displayed on the second coordinate axis 411 to indicate a marked point present in the second virtual environment. Marked points in the first and second virtual environments are also displayed on the virtual environment screen, each corresponding to a marked point displayed on the coordinate axis. The size of the marked point indicates the distance from the virtual object to the marked point. This will be described using the first marked point 412 and the second marked point 413 as examples. As can be seen from the first coordinate axis of the first position, the first marked point 412 is located in a first virtual environment 415 where the virtual object 414 currently resides, and as can be seen from the second coordinate axis of the second position, the second marked point 413 is located in a second virtual environment other than the first virtual environment where the virtual object 414 currently resides, and the distance between the virtual object and the first marked point 412 is smaller than the distance between the virtual object and the second marked point 413, so that the first marked point 412 is greater than the second marked point 413. The user can control the virtual object 414 with a reasonable tactic to complete a quest toward the first marked point 412 and the second marked point 413. For example, the user can control the virtual object 414 to run to the first marked point 412 to complete the quest, or the user can control the virtual object 414 to drive a spaceship toward the second marked point 413 to complete the quest.

[0061] Step 330: updating the first coordinate axis and the second coordinate axis during the process of the virtual object moving from the first virtual environment to the second virtual environment.

[0062] In an embodiment of the present application, a user controls a virtual object to move between a first virtual environment and a second virtual environment according to coordinate axes displayed at a first location and a second location and mark points on the coordinate axes, and to reach corresponding mark points and complete corresponding quests. In this case, as the virtual environment in which the virtual object is located changes, the first coordinate axis displayed at the first location and the second coordinate axis displayed at the second location also change accordingly, thereby updating the first coordinate axis and the second coordinate axis. In addition, the mark points on the coordinate axes are also updated according to changes in the virtual environment in which the virtual object is located.

[0063] In a possible embodiment, the display state of the first and second coordinate axes is updated.

[0064] Optionally, the display state may be at least one of transparency, size, etc. of the coordinate axes and at least one of transparency, size, etc. of mark points on the coordinate axes.

[0065] In another possible embodiment, the display positions of the first and second coordinate axes are updated.

[0066] Optionally, when the virtual environment in which the virtual object is located changes, the first coordinate axis displayed at the first position is switched to the second position, and the second coordinate axis displayed at the second position is switched to the first position.

[0067] As described above, in the embodiment of the present application, a coordinate axis (first coordinate axis) corresponding to a first virtual environment where a virtual object is located and a mark on the coordinate axis are displayed at a first position on the virtual environment screen, and a coordinate axis (second coordinate axis) corresponding to a second virtual environment (a virtual environment other than the first virtual environment) are displayed at a second position. As the virtual object moves from the first virtual environment to the second virtual environment, the coordinate axes of the first and second positions are updated accordingly. The coordinate axes and mark on the first and second positions are displayed for different virtual environments, respectively, so that the mark on each virtual environment is displayed on a single coordinate axis, avoiding overlapping of the mark on each virtual environment and hindering the user's judgment of the mark. Furthermore, the user may determine the specific location of the mark on the coordinate axis of the first position and the mark on the coordinate axis of the second position, and then control the virtual object with rational tactics to move to the mark on each virtual environment and complete the quest.

[0068] In the present embodiment, the number of mark points on the coordinate axes corresponds to the number of mark points in the virtual environment. In a possible embodiment, if there are no mark points in the second virtual environment, there are no mark points on the second coordinate axis located at the second position, and therefore, the second coordinate axis is hidden to reduce the processing load of the terminal. In another possible embodiment, if there are many mark points in the second virtual environment and there are overlapping mark points on the second coordinate axis located at the second position, the second coordinate axis is hidden to avoid interfering with the user's judgment of the mark points on the first coordinate axis located at the first position.

[0069] Optionally, when the number of mark points in the second virtual environment is greater than a first number threshold and less than a second number threshold, the terminal displays a second coordinate axis at a second position on the virtual environment screen.

[0070] In an embodiment of the present application, the terminal displays a first coordinate axis at a first position on the virtual environment screen, and the coordinate axis represents the virtual environment in which the virtual object currently resides, i.e., the first virtual environment. Whether to display a second coordinate axis located at a second position depends on the number of mark points in another virtual environment other than the virtual environment in which the virtual object currently resides, i.e., the second virtual environment. In a possible embodiment, when the number of mark points in the second virtual environment is greater than the first number threshold and less than the second number threshold, the second coordinate axis and the mark points on the coordinate axis are displayed at a second position on the virtual environment screen, i.e., the user can see the second coordinate axis located at the second position and the mark points on the coordinate axis on the virtual environment screen.

[0071] Optionally, the first number threshold may be 0, 1, etc., and the embodiments of the present application are not limited thereto.

[0072] Optionally, the second number threshold may be 10, 11, 12, etc., and the embodiments of the present application are not limited thereto.

[0073] In addition, when the viewpoint of the virtual object moves, the center points of the first and second coordinate axes are aligned to ensure that the relative positions of the mark points in the first and second virtual environments can be accurately determined.

[0074] Regarding the aspects of the first and second coordinate axes, in a possible embodiment, the aspects of the first and second coordinate axes are the same. Optionally, the first and second coordinate axes may both be linear coordinate axes, or the first and second coordinate axes may both be curvilinear coordinate axes.

[0075] Regarding the lengths of the first and second coordinate axes, in possible embodiments, the length of the first coordinate axis is the first dimension, and the length of the second coordinate axis is the second dimension, and the first dimension of the first coordinate axis and the second dimension of the second coordinate axis may be the same or different. When the first dimension of the first coordinate axis and the second dimension of the second coordinate axis are different, the first dimension of the first coordinate axis is larger than the second dimension of the second coordinate axis.

[0076] Optionally, the first and second coordinate axes are symmetrical.

[0077] 5, the first coordinate axis 501 and the second coordinate axis 502 are assumed to be linear or curvilinear. The center points of the first coordinate axis 501 and the second coordinate axis 502 are aligned. The scales on the first coordinate axis 501 and the second coordinate axis 502 indicate the directions. When the first coordinate axis 501 and the second coordinate axis 502 are linear, the first dimension of the first coordinate axis 501 and the second dimension of the second coordinate axis 502 are the same. When the first coordinate axis 501 and the second coordinate axis 502 are curvilinear, the first dimension of the first coordinate axis 501 is greater than the second dimension of the second coordinate axis 502.

[0078] Optionally, the second coordinate axis is hidden if the number of mark points in the second virtual environment is less than a first number threshold or greater than a second number threshold.

[0079] In a possible embodiment, the second coordinate axis is hidden if the number of mark points in the second virtual environment is less than a first number threshold, i.e., if there are no mark points in the second virtual environment, i.e., no mark points on the second coordinate axis, the second coordinate axis is hidden.

[0080] In another possible embodiment, the second coordinate axis is hidden when the number of mark points in the second virtual environment is greater than a second number threshold. That is, when the number of mark points in the second virtual environment is too large and the mark points on the second coordinate axis may overlap, the second coordinate axis is hidden to avoid interfering with the user's judgment of the mark points on the first coordinate axis. Hiding the coordinate axis indicates to the user that the second coordinate axis is not visible on the virtual environment screen.

[0081] Regarding the method of hiding the second coordinate axis, in one possible embodiment, the terminal adjusts the transparency of the second coordinate axis to zero. In another possible embodiment, the terminal covers a layer on the second coordinate axis to hide the second coordinate axis.

[0082] It should be noted that the first coordinate axis of the first position is not hidden regardless of whether there is a mark point in the first virtual environment, because during the game process, the user may mark a mark point in the first virtual environment where the virtual object is currently located at any time, and the first coordinate axis of the first position also represents the current location of the virtual object.

[0083] As described above, determining whether to display or hide the second coordinate axis and the mark points on the coordinate axis at the second position based on the number of mark points in the second virtual environment reduces the processing load on the terminal while avoiding the user's judgment regarding the mark points on the first coordinate axis being hindered by too many overlapping mark points on the second coordinate axis.

[0084] In an embodiment of the present application, the virtual environment may be an entity-type virtual environment or a spatial-type virtual environment. When a virtual object moves from an entity-type virtual environment to a spatial-type virtual environment or from a spatial-type virtual environment to an entity-type virtual environment, the methods for updating the first and second coordinate axes are different. In a possible embodiment, when a virtual object moves from its current entity-type virtual environment (first virtual environment) to a spatial-type virtual environment (second virtual environment), the display state of the first coordinate axis is updated first, and after the virtual object enters the second virtual environment, the display positions of the first and second coordinate axes are updated. The above-mentioned coordinate axis display method will be introduced below. Referring to FIG. 6, a flowchart of a coordinate axis display method applied to a virtual environment provided by another exemplary embodiment of the present application is shown.

[0085] Step 610 displays the virtual environment screen.

[0086] Step 610 is the same as step 310, and the embodiment of the present application does not dwell on it.

[0087] Step 620 displays a first coordinate axis at a first position in the virtual environment screen, and a second coordinate axis at a second position in the virtual environment screen.

[0088] Step 620 is the same as step 320, and the embodiment of the present application does not dwell on it.

[0089] Step 630: obtain a first distance between the virtual object and the first virtual environment during the process of the virtual object leaving the first virtual environment.

[0090] In this embodiment, the first virtual environment is a virtual environment where the virtual object currently resides. The virtual environment is an entity-type virtual environment, such as a planet or a space station. The user can control the virtual object to leave the first virtual environment by driving a virtual vehicle. Optionally, the virtual vehicle may be a spaceship, an airplane, or the like; this embodiment is not limited thereto. In a possible embodiment, during the process of the virtual object leaving the first virtual environment, the terminal acquires a distance between the virtual object and a reference point in the first virtual environment, i.e., a first distance. The reference point may be the center of the first virtual environment or a projection point of the virtual object on the surface of the first virtual environment; this embodiment does not limit the specific location of the reference point.

[0091] In a possible embodiment, in the process of the user driving the virtual vehicle to control the virtual object to move away from the first virtual environment, the terminal acquires the distance between the virtual object and the first virtual environment in real time.

[0092] In another possible embodiment, in the process of the user driving the virtual vehicle to control the virtual object to move away from the first virtual environment, the terminal periodically acquires the distance between the virtual object and the first virtual environment.

[0093] Alternatively, the cycle time may be 10s, 20s, 30s, etc., and the embodiments of the present application are not limited thereto.

[0094] Step 640: Update the transparency of the first coordinate axis based on the first distance, where the transparency and the first distance are negatively correlated.

[0095] In the present embodiment, as a virtual object moves from a first virtual environment to a second virtual environment, the virtual environment in which the virtual object currently resides gradually changes, and the display state of the first coordinate axis at the first position on the virtual environment screen also changes accordingly. The transparency of the first coordinate axis and the first distance are negatively correlated, i.e., the farther the first distance, the less transparent the first coordinate axis becomes, and the closer the virtual object is to the first virtual environment, the more transparent the first coordinate axis becomes. When the transparency is 0, the first coordinate axis is hidden, i.e., the first coordinate axis is invisible to the user on the virtual environment screen. When the transparency is 1, the first coordinate axis is visible, i.e., the first coordinate axis is visible to the user on the virtual environment screen.

[0096] Step 650: if the mark point is on the first coordinate axis, update the transparency of the mark point based on the first distance, and the transparency and the first distance have a negative correlation.

[0097] The coordinate axes are used to display the marking points in the virtual environment. Therefore, when the virtual environment in which the virtual object is located changes, the display state of the marking point on the first coordinate axis changes synchronously with the display state of the first coordinate axis. That is, the transparency of the marking point and the first distance are negatively correlated. That is, the farther the virtual object is from the first virtual environment, the less transparent the marking point on the first coordinate axis becomes, and the closer the virtual object is from the first virtual environment, the more transparent the marking point on the first coordinate axis becomes. When the transparency is 0, the marking point on the first coordinate axis is hidden, that is, the marking point on the first coordinate axis is invisible to the user on the virtual environment screen. When the transparency is 1, the marking point on the first coordinate axis is visible, that is, the marking point on the first coordinate axis is visible to the user on the virtual environment screen.

[0098] In some embodiments, the transparency of the mark point on the first coordinate axis matches the transparency of the first coordinate axis.

[0099] Step 660: determine that the virtual object has entered the second virtual environment from the first virtual environment if the first distance reaches a first distance threshold.

[0100] During the process of the virtual object moving from the first virtual environment to the second virtual environment, the terminal acquires the distance by which the virtual object has moved away from the first virtual environment, i.e., the first distance, and determines whether the distance reaches a first distance threshold. In one possible embodiment, the terminal determines that the virtual object has entered the second virtual environment from the first virtual environment when the first distance reaches the first distance threshold. In another possible embodiment, the terminal determines that the virtual object is still located in the first virtual environment when the first distance does not reach the first distance threshold.

[0101] Alternatively, the first distance threshold may be 1300 km, 1400 km, or 1600 km, and the embodiment of the present application is not limited thereto.

[0102] Step 670 displays the second coordinate axis at the first location and the first coordinate axis at the second location.

[0103] In an embodiment of the present application, the first position is used to display the coordinate axes of the virtual environment in which the virtual object currently resides, and as the virtual environment in which the virtual object currently resides changes from the first virtual environment to the second virtual environment, the second coordinate axes and a mark point on the coordinate axes (the mark point in the second virtual environment) are displayed at the first position. The second position is used to display another virtual environment other than the virtual environment in which the virtual object currently resides, and as the other virtual environment other than the virtual environment in which the virtual object currently resides changes from the second virtual environment to the first virtual environment, the first coordinate axes and a mark point on the coordinate axes (the mark point in the first virtual environment) are displayed at the second position.

[0104] 7, a coordinate axis display method applied to the above virtual environment will be described using an example in which a first virtual environment is a planet and a second virtual environment is space. A virtual object 706 is currently located on planet 701, and moves from planet 701 to space 707 by driving a spaceship 708. A first coordinate axis 702 and a first marked point 704 on the first coordinate axis (a marked point on planet 701) are displayed at a first position on the virtual environment screen, and a second coordinate axis 703 and a second marked point 705 on the second coordinate axis (a marked point in space 707) are displayed at a second position. When the virtual object 706 moves away from planet 701 by driving the spaceship 708, the transparency of the first coordinate axis 702 and the first marked point 704 decreases as the distance between the virtual object 706 and planet 701 increases. When the virtual object 706 enters space 707, the display positions of the first coordinate axis 702 and the second coordinate axis 703 change, and the second coordinate axis 703 and the second mark point 705 are displayed at a first position, and the first coordinate axis 702 and the first mark point 704 are displayed at a second position.

[0105] As described above, in the process of a virtual object moving from a first virtual environment (entity-type virtual environment) to a second virtual environment (spatial-type virtual environment), the transparency of the first coordinate axis decreases as the distance between the virtual object and the first virtual environment increases, and when the virtual object enters the second virtual environment, the display positions of the first coordinate axis and the second coordinate axis change. When the virtual environment in which the virtual object is located changes, the coordinate axes located at the first position and the second position and the mark points on the coordinate axes also change accordingly, without affecting the user's judgment of the mark points.

[0106] In another possible embodiment, when a virtual object moves from a spatial-type virtual environment (first virtual environment) in which it currently resides to an entity-type virtual environment (second virtual environment), if the virtual object does not enter the second virtual environment, the display states of the first and second coordinate axes are maintained, and if the virtual object enters the second virtual environment, the display positions of the first and second coordinate axes are updated, and the display state of the second coordinate axis is updated. The above-mentioned coordinate axis display method will be introduced below. Referring to FIG. 8, a flowchart of a coordinate axis display method applied to a virtual environment provided by another exemplary embodiment of the present application is shown.

[0107] Step 810 displays the virtual environment screen.

[0108] Step 810 is the same as step 310, and the embodiment of the present application does not dwell on it.

[0109] Step 820 displays a first coordinate axis at a first position in the virtual environment screen, and a second coordinate axis at a second position in the virtual environment screen.

[0110] Step 820 is the same as step 320, and the embodiment of the present application does not mention it in detail.

[0111] Step 830: Obtain a second distance between the virtual object and the second virtual environment while the virtual object is moving away from the first virtual environment.

[0112] In an embodiment of the present application, the first virtual environment is a spatial virtual environment, and the second virtual environment is an entity-based virtual environment. In a possible design, in a spatial virtual environment, a virtual object does not have a reference point, so the terminal cannot obtain the distance between the virtual object and the first virtual environment. In an entity-based virtual environment, such as a planet or a space station, a reference point is provided. Therefore, when the virtual object leaves the first virtual environment, the terminal obtains the distance between the virtual object and its reference point in the second virtual environment, i.e., the second distance.

[0113] In a possible embodiment, when the user drives the virtual vehicle to control the virtual object to move away from the first virtual environment, the terminal acquires a second distance between the virtual object and the second virtual environment in real time. The second distance may be a distance between the virtual object and a reference point in the second virtual environment. The reference point may be a center point of the second virtual environment or a projection point of the virtual object on the surface of the second virtual environment. The embodiment of the present application does not limit the specific location of the reference point.

[0114] In another possible embodiment, while the user is driving the virtual vehicle to control the virtual object to move away from the first virtual environment, the terminal periodically acquires the distance between the virtual object and the second virtual environment.

[0115] Alternatively, the cycle time may be 10s, 20s, 30s, etc., and the embodiments of the present application are not limited thereto.

[0116] Step 840: if the second distance is greater than the second distance threshold, maintain the display state of the first coordinate axis and the second coordinate axis.

[0117] In the present embodiment, the second distance being greater than the second distance threshold indicates that the virtual object has not yet moved away from the first virtual environment, and therefore, in a possible embodiment, the positions of the first coordinate axis and the second coordinate axis are kept unchanged, i.e., the first coordinate axis is located at a first position on the virtual environment screen and is used to display the first virtual environment in which the virtual object is currently located, and the second coordinate axis is located at a second position on the virtual environment screen and is used to display the second virtual environment.

[0118] Optionally, the terminal keeps the transparency of the first coordinate axis and the second coordinate axis unchanged until the terminal moves away from the first virtual environment.

[0119] The display state of the mark points on the first and second coordinate axes does not change, that is, the transparency does not change.

[0120] Step 850: determine that the virtual object has entered the second virtual environment from the first virtual environment if the second distance reaches a second distance threshold.

[0121] During the process of the virtual object moving from the first virtual environment to the second virtual environment, the terminal acquires the distance by which the virtual object has moved away from the second virtual environment, i.e., the second distance, and determines whether the distance reaches a second distance threshold. In one possible embodiment, when the second distance reaches (is less than or equal to) the second distance threshold, the terminal determines that the virtual object has entered the second virtual environment from the first virtual environment. In another possible embodiment, when the second distance does not reach the second distance threshold, the terminal determines that the virtual object is still in the first virtual environment.

[0122] Alternatively, the second distance threshold may be 1300 km, 1400 km, or 1600 km, and the embodiment of the present application is not limited thereto.

[0123] Step 860 displays the second coordinate axis at the first position, and the first coordinate axis at the second position, where the transparency of the second coordinate axis is less than 1.

[0124] In an embodiment of the present application, the first position is used to display the coordinate axes of the virtual environment in which the virtual object currently resides, and as the virtual environment in which the virtual object currently resides changes from the first virtual environment to the second virtual environment, the second coordinate axes and a mark point on the coordinate axes (the mark point in the second virtual environment) are displayed at the first position. The second position is used to display another virtual environment other than the virtual environment in which the virtual object currently resides, and as the other virtual environment other than the virtual environment in which the virtual object currently resides changes from the second virtual environment to the first virtual environment, the first coordinate axes and a mark point on the coordinate axes (the mark point in the first virtual environment) are displayed at the second position.

[0125] In addition, in the embodiment of the present application, when the virtual object enters the second virtual environment from the first virtual environment, the transparency of the second coordinate axis changes according to the change in the second distance. Because the second virtual environment is an entity-based virtual environment, when the virtual object has not yet reached its landing point in the second virtual environment, the transparency of the second coordinate axis is less than 1, that is, the second coordinate axis seen by the user on the virtual environment screen is not fully displayed but remains semi-transparent.

[0126] Step 870: during the process of the virtual object entering the second virtual environment, update the transparency of the second coordinate axis according to the second distance, where the transparency and the second distance have a negative correlation.

[0127] In the present embodiment, from the time the virtual object enters the second virtual environment until the virtual object reaches its landing point in the second virtual environment, the distance between the virtual object and the second virtual environment gradually decreases, and the display state of the second coordinate axis also changes according to the change in the second distance. The transparency of the second coordinate axis and the second distance are negatively correlated. That is, the farther the virtual object is from the second virtual environment, the less transparent the second coordinate axis becomes, and the closer the virtual object is from the second virtual environment, the more transparent the second coordinate axis becomes. When the transparency is 0, the second coordinate axis is hidden, that is, the second coordinate axis is invisible to the user on the virtual environment screen. When the transparency is 1, the second coordinate axis is visible, that is, the second coordinate axis is visible to the user on the virtual environment screen.

[0128] When the distance between the virtual object and the second virtual environment is 0, i.e., the second distance is 0, that is, when the virtual object is located at the landing point of the second virtual environment, the transparency of the second coordinate axis is 1 and the second coordinate axis is in a visible state.

[0129] Step 880: if the mark point is on the second coordinate axis, update the transparency of the mark point based on the second distance, where the transparency and the second distance are negatively correlated.

[0130] The coordinate axis is used to display a marking point in the virtual environment, and the display state of the marking point on the second coordinate axis changes synchronously with the display state of the second coordinate axis. That is, the transparency of the marking point and the second distance are negatively correlated. That is, the farther the virtual object is from the second virtual environment, the smaller the transparency of the marking point on the second coordinate axis. Conversely, the closer the virtual object is from the second virtual environment, the larger the transparency of the marking point on the second coordinate axis. When the transparency is 0, the marking point on the second coordinate axis is hidden, that is, the marking point on the second coordinate axis is invisible to the user on the virtual environment screen. When the transparency is 1, the marking point on the second coordinate axis is visible, that is, the marking point on the second coordinate axis is visible to the user on the virtual environment screen.

[0131] When the distance between the virtual object and the second virtual environment is 0, i.e., the second distance is 0, that is, when the virtual object is located at the landing point of the second virtual environment, the transparency of the mark point on the second coordinate axis is 1, and the mark point on the second coordinate axis is in a visible state.

[0132] In some embodiments, the transparency of the mark point on the second coordinate axis matches the transparency of the second coordinate axis.

[0133] 9, a coordinate axis display method applied to the above virtual environment will be described using an example in which a first virtual environment is space and a second virtual environment is a planet. A virtual object 907 is currently in space 901, and the virtual object 907 drives a spaceship 908 to move from space 901 to planet 902. A first coordinate axis 903 and a first marked point 905 on the coordinate axis (a marked point in space 901) are displayed at a first position on the virtual environment screen, and a second coordinate axis 904 and a second marked point 906 on the coordinate axis (a marked point on planet 902) are displayed at a second position. When the virtual object 907 has not moved away from space 901, the display states of the first coordinate axis 903 and the first marked point 905 on the first coordinate axis, and the second coordinate axis 904 and the second marked point 906 on the second coordinate axis are maintained unchanged. When the virtual object 907 leaves space 901 and enters planet 902, the display positions of the first coordinate axis 903 and the second coordinate axis 904 change, with the second coordinate axis 904 and second marked point 906 displayed at a first position and the first coordinate axis 903 and first marked point 905 displayed at a second position. The transparency of the second coordinate axis 904 and the second marked point 906 increases as the distance between the virtual object 907 and planet 902 decreases. When the virtual object 907 reaches a landing point on planet 902, the transparency of the second coordinate axis 904 and the second marked point 906 is 1.

[0134] As described above, in the embodiment of the present application, in the process of a virtual object moving from a first virtual environment (spatial virtual environment) to a second virtual environment (entity virtual environment), the virtual object does not move away from the first virtual environment and maintains the display state of the first coordinate axis and the second coordinate axis, the virtual object enters the second virtual environment, the display positions of the first coordinate axis and the second coordinate axis change, and the transparency of the second coordinate axis increases as the distance between the virtual object and the second coordinate axis decreases. When the virtual environment in which the virtual object is located changes, the coordinate axis located at the first position, the coordinate axis located at the second position, and the mark point on the coordinate axis also change accordingly, without affecting the user's judgment of the mark point.

[0135] Combining the above embodiments, in a schematic example, the first virtual environment is a planet and the second virtual environment is space, and the flowchart of the coordinate axis display method applied to the virtual environment is as shown in Figure 10. Step 1001: A user controls a virtual object to move away from a first virtual environment. Step 1002: Determine whether the distance between the virtual object and the first virtual environment is equal to the first distance threshold; if not, execute step 1003; if yes, execute step 1004; Step 1003: The transparency of the first coordinate axis is decreased. Step 1004: Update the display positions of the first and second coordinate axes, and set the transparency of the first coordinate axis to 0.

[0136] Combining the above embodiments, another schematic example is described in which the first virtual environment is the universe and the second virtual environment is a planet, and the flowchart of the coordinate axis display method applied to the virtual environment is as shown in Figure 11. Step 1101: A user controls a virtual object away from a first virtual environment. Step 1102: Whether the distance between the virtual object and the second virtual environment is equal to the second distance threshold; if not, execute step 1103; if yes, execute step 1104; Step 1103: The first coordinate axis and the second coordinate axis are retained. Step 1104: The display positions of the first and second coordinate axes are updated. Step 1105: Determine whether the distance between the virtual object and the second virtual environment is 0; if not, execute step 1106; if yes, execute step 1107. Step 1106: The transparency of the second coordinate axis is updated. Step 1107: The transparency of the second coordinate axis is updated to 1.

[0137] FIG. 12 is a structural block diagram of a coordinate axis display device applied to a virtual environment provided by one exemplary embodiment of the present application, the device including: a display module 1201 for displaying a virtual environment screen; the display module 1201 is used to display a first coordinate axis at a first position on the virtual environment screen and a second coordinate axis at a second position on the virtual environment screen, the first position being used to display a coordinate axis corresponding to a first virtual environment in which a virtual object is located, the second position being used to display a coordinate axis corresponding to a second virtual environment, the second virtual environment being a virtual environment other than the first virtual environment, and the coordinate axis being used to display a mark point in the virtual environment; The virtual object includes an update module 1202 for updating the first coordinate axis and the second coordinate axis during the process of the virtual object moving from the first virtual environment to the second virtual environment.

[0138] Optionally, the first virtual environment is an entity-based virtual environment and the second virtual environment is a spatial-based virtual environment, and the update module 1202: a first update unit for updating a display state of the first coordinate axis during a process in which the virtual object leaves the first virtual environment; and a second update unit for updating the display positions of the first coordinate axis and the second coordinate axis when the virtual object enters the second virtual environment from the first virtual environment.

[0139] Optionally, the first update unit: acquiring a first distance between the virtual object and the first virtual environment while the virtual object is moving away from the first virtual environment; The transparency of the first coordinate axis is updated based on the first distance, and the transparency and the first distance have a negative correlation.

[0140] Optionally, the update module 1202 further comprises: If the mark point is on the first coordinate axis, the transparency of the mark point is updated based on the first distance, and the transparency and the first distance have a negative correlation. Includes the 3rd updated unit.

[0141] Optionally, the second update unit: determining that the virtual object has entered the second virtual environment from the first virtual environment when a first distance between the virtual object and the first virtual environment reaches a first distance threshold; The second coordinate axis is displayed at the first position, and the first coordinate axis is displayed at the second position.

[0142] Optionally, the first virtual environment is a spatial-based virtual environment and the second virtual environment is an entity-based virtual environment, and the update module 1202: a retention unit for retaining a display state of the first coordinate axis and the second coordinate axis while the virtual object is moving away from the first virtual environment; a fourth update unit for updating a display position of the first coordinate axis and the second coordinate axis when the virtual object enters the second virtual environment from the first virtual environment; and a fifth update unit for updating the display state of the second coordinate axis during the process of the virtual object entering the second virtual environment.

[0143] Optionally, the holding unit comprises: acquiring a second distance between the virtual object and the second virtual environment while the virtual object is moving away from the first virtual environment; If the second distance is greater than a second distance threshold, the display state of the first coordinate axis and the second coordinate axis is maintained.

[0144] Optionally, the fourth update unit: determining that the virtual object has entered the second virtual environment from the first virtual environment if the second distance reaches the second distance threshold; The second coordinate axis is displayed at the first position, and the first coordinate axis is displayed at the second position.

[0145] Optionally, the fifth update unit: During the process of the virtual object entering the second virtual environment, the transparency of the second coordinate axis is updated based on a second distance between the virtual object and the second virtual environment, and the transparency and the second distance are negatively correlated.

[0146] Optionally, the fifth update unit: If the mark point is on the second coordinate axis, the transparency of the mark point is updated based on the second distance, and the transparency and the second distance have a negative correlation.

[0147] Optionally, the display module 1201: If the number of mark points in the second virtual environment is greater than a first number threshold and less than a second number threshold, the second coordinate axis is displayed at the second position on the virtual environment screen.

[0148] Optionally, the device further comprises: and a hiding module for hiding the second coordinate axis when the number of mark points in the second virtual environment is less than the number threshold or greater than the second number threshold.

[0149] Selectably, the coordinate axis displayed at the first position is a first dimension, the coordinate axis displayed at the second position is a second dimension, and the center points of the coordinate axes displayed at the first position and the second position are aligned; When the coordinate axes displayed at the first position and the second position are linear coordinate axes, the first dimension is equal to the second dimension, When the coordinate axes displayed at the first position and the second position are curvilinear coordinate axes, the first dimension is greater than the second dimension.

[0150] 13, a structural block diagram of a terminal 1300 provided by an exemplary embodiment of the present application is shown. The terminal 1300 may be a portable mobile terminal, such as a smartphone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, or a Moving Picture Experts Group Audio Layer IV (MP4) player. The terminal 1300 may also be referred to as a user device, a portable terminal, or other names.

[0151] Typically, the terminal 1300 includes a processor 1301 and a memory 1302 .

[0152] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented using at least one hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1301 may include a main processor and a coprocessor. The main processor is a processor for processing data in a wake state and is also called a central processing unit (CPU). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1301 may integrate a graphics processing unit (GPU), which is responsible for rendering and drawing content that needs to be displayed on a display screen. In some embodiments, the processor 1301 may further include an artificial intelligence (AI) processor, which is responsible for processing computational operations related to machine learning.

[0153] The memory 1302 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1302 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices or flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1302 are adapted to store at least one instruction, which is executed by the processor 1301 to implement a method provided by an embodiment of the present application.

[0154] In some embodiments, the terminal 1300 further optionally includes a peripheral interface 1303 and at least one peripheral, such as a radio frequency circuit, a touch display, and a power supply.

[0155] The peripheral interface 1303 may be used to connect at least one peripheral device related to input / output (I / O) to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral interface 1303 are integrated on the same chip or circuit board. In some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral interface 1303 may be implemented on separate chips or circuit boards, and this embodiment is not limited thereto.

[0156] As will be appreciated by those skilled in the art, the configuration shown in FIG. 13 is not intended to limit the terminal 1300, and the terminal 1300 may include more or fewer components than those shown, may combine some components, or may employ a different arrangement of components.

[0157] An embodiment of the present application further provides a computer-readable storage medium having at least one instruction stored therein, the at least one instruction being loaded and executed by the processor to realize the coordinate axis display method applied to a virtual environment described in each of the above embodiments.

[0158] According to one aspect of the present application, there is provided a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium, wherein a processor of a terminal reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the terminal to perform a coordinate axis display method applied to a virtual environment, provided by various selectable implementation methods of the above aspect.

[0159] As will be appreciated by those skilled in the art, the functions described in the above one or more examples of the embodiments of the present application can be implemented by hardware, software, firmware, or any combination thereof. If implemented in software, these functions can be stored on or transmitted as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, and communication media include any medium that facilitates the transmission of a computer program from one place to another. Storage media may be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0160] The above description is merely a selectable embodiment of the present application, and is not intended to limit the present application. Any amendments, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included within the protection scope of the present application.

Claims

1. A coordinate axis display method applied to a virtual environment, executed by a terminal, comprising: displaying a virtual environment screen; a step of displaying a first coordinate axis at a first position on the virtual environment screen and a second coordinate axis at a second position on the virtual environment screen, wherein the first position is used to display a coordinate axis corresponding to a first virtual environment in which a virtual object is located and the second position is used to display a coordinate axis corresponding to a second virtual environment, the second virtual environment being a virtual environment other than the first virtual environment, the first coordinate axis being used to display a first marked point in the first virtual environment on the first coordinate axis, and the second coordinate axis being used to display a second marked point in the second virtual environment on the second coordinate axis; updating the first coordinate axis and the second coordinate axis as the virtual object moves from the first virtual environment to the second virtual environment.

2. The first virtual environment is an entity-based virtual environment, and the second virtual environment is a spatial-based virtual environment; In the process of the virtual object moving from the first virtual environment to the second virtual environment, the step of updating the first coordinate axis and the second coordinate axis includes: updating a display state of the first coordinate axis while the virtual object is leaving the first virtual environment; and updating the display positions of the first coordinate axis and the second coordinate axis when the virtual object enters the second virtual environment from the first virtual environment.

3. the step of updating the display state of the first coordinate axis while the virtual object is leaving the first virtual environment includes: acquiring a first distance between the virtual object and the first virtual environment while the virtual object is moving away from the first virtual environment; 3. The method of claim 2, further comprising: updating a transparency of the first coordinate axis based on the first distance, wherein the transparency and the first distance are negatively correlated.

4. In the process of the virtual object leaving the first virtual environment, the step of updating the display state of the first coordinate axis further comprises:

4. The method of claim 3, further comprising: if the first mark point is on the first coordinate axis, updating a transparency of the first mark point based on the first distance, wherein the transparency and the first distance are negatively correlated.

5. the step of updating the display positions of the first coordinate axis and the second coordinate axis when the virtual object enters the second virtual environment from the first virtual environment, determining that the virtual object has entered the second virtual environment from the first virtual environment when a first distance between the virtual object and the first virtual environment reaches a first distance threshold; and displaying the second coordinate axis at the first location and the first coordinate axis at the second location.

6. The first virtual environment is a spatial virtual environment and the second virtual environment is an entity-based virtual environment; In the process of the virtual object moving from the first virtual environment to the second virtual environment, the step of updating the first coordinate axis and the second coordinate axis includes: maintaining a display state of the first coordinate axis and the second coordinate axis while the virtual object is leaving the first virtual environment; updating display positions of the first coordinate axis and the second coordinate axis when the virtual object enters the second virtual environment from the first virtual environment; The method of claim 1 , further comprising: updating a display state of the second coordinate axis during the process of the virtual object entering the second virtual environment.

7. the step of maintaining the display states of the first coordinate axis and the second coordinate axis while the virtual object is leaving the first virtual environment includes: acquiring a second distance between the virtual object and the second virtual environment while the virtual object is moving away from the first virtual environment; The method of claim 6 , further comprising: if the second distance is greater than a second distance threshold, maintaining the display state of the first coordinate axis and the second coordinate axis.

8. the step of updating the display positions of the first coordinate axis and the second coordinate axis when the virtual object enters the second virtual environment from the first virtual environment, determining that the virtual object has entered the second virtual environment from the first virtual environment when the second distance reaches the second distance threshold; and displaying the second coordinate axis at the first location and the first coordinate axis at the second location.

9. In the process of the virtual object entering the second virtual environment, the step of updating the display state of the second coordinate axis includes:

7. The method of claim 6, further comprising: updating the transparency of the second coordinate axis based on a second distance between the virtual object and the second virtual environment during the process of the virtual object entering the second virtual environment, wherein the transparency and the second distance are negatively correlated.

10. In the process of the virtual object entering the second virtual environment, the step of updating the display state of the second coordinate axis further comprises:

10. The method of claim 9, further comprising updating a transparency of the second mark point based on the second distance in response to the second mark point being on the second coordinate axis, wherein the transparency and the second distance are negatively correlated.

11. The step of displaying a second coordinate axis at a second position on the virtual environment screen includes:

11. The method of claim 1, further comprising: displaying the second coordinate axis at the second position on the virtual environment screen when the number of the second mark points in the second virtual environment is greater than a first number threshold and less than a second number threshold.

12. The method further comprises:

11. The method of claim 1, further comprising hiding the second coordinate axis if the number of the second mark points in the second virtual environment is less than a first number threshold or greater than a second number threshold.

13. the coordinate axis displayed at the first position is a first dimension, the coordinate axis displayed at the second position is a second dimension, and the center points of the coordinate axes displayed at the first position and the second position are aligned; When the coordinate axes displayed at the first position and the second position are linear coordinate axes, the first dimension is equal to the second dimension, The method according to any one of claims 1 to 10, wherein when the coordinate axes displayed at the first position and the second position are curvilinear coordinate axes, the first dimension is greater than the second dimension.

14. 11. The method of claim 1, wherein an icon for the first mark point is displayed in the virtual environment screen in addition to displaying the first mark point on the first coordinate axis, and an icon for the second mark point is displayed in the virtual environment screen in addition to displaying the second mark point on the second coordinate axis.

15. The method of any one of claims 1 to 10, wherein the relative position of the first location and the second location is variable.

16. A coordinate axis display device applied to a virtual environment, a display module for displaying a virtual environment screen; the display module displays a first coordinate axis at a first position on the virtual environment screen and a second coordinate axis at a second position on the virtual environment screen, the first position being used to display a coordinate axis corresponding to a first virtual environment in which a virtual object is located, the second position being used to display a coordinate axis corresponding to a second virtual environment, the second virtual environment being a virtual environment other than the first virtual environment, the first coordinate axis being used to display a first mark point in the first virtual environment on the first coordinate axis, and the second coordinate axis being used to display a second mark point in the second virtual environment on the second coordinate axis; an update module for updating the first coordinate axis and the second coordinate axis during the process of the virtual object moving from the first virtual environment to the second virtual environment.

17. A terminal including a processor and a memory, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to realize the coordinate axis display method applied to a virtual environment according to any one of claims 1 to 10.

18. A computer program comprising computer instructions, the computer instructions being executed by a processor to implement the coordinate axis display method applied to a virtual environment according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Sighting telescope display method and equipment in virtual environment and storage medium

    CN108786110A

  • Control method and device for front sight display in shooting games

    CN109701280A

  • Information prompting method and device in virtual scene, electronic device and storage medium

    CN112090069A

  • Mark display method and device, terminal and storage medium

    CN112717392A

  • Picture information browsing device

    JP2001051766A