Task guidance method and device, equipment and storage medium

By displaying task controls and adjusting the state of objects in the game scene on the game interface, the problem of insufficient player immersion in existing task guidance methods is solved, thereby improving the game's immersion and detailed experience.

CN115920381BActive Publication Date: 2026-07-31NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2022-11-24
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing game task guidance methods fail to immerse players, resulting in poor player engagement and an unrealistic and unnatural experience.

Method used

By displaying the game scene, target virtual character, and task controls on the graphical user interface, responding to the player's touch operations, using pathfinding algorithms to calculate the task route, and adjusting the state of adjustable objects in the game scene, such as the growth state of plant models, to guide the player to the task location.

Benefits of technology

It enhances the player's immersion, making them pay more attention to changes in the game scene and increasing the game's detailed experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115920381B_ABST
    Figure CN115920381B_ABST
Patent Text Reader

Abstract

This invention provides a task guidance method, apparatus, device, and storage medium. The method includes: responding to a touch operation on a task control, displaying a game task bar in a graphical user interface, the game task bar including game tasks for a target virtual character and tracking controls corresponding to the game tasks; responding to a selection operation on the tracking control corresponding to any game task in the game task bar, determining the target game task, and obtaining the task position of the target game task, the character position in the game scene where the target virtual character is currently located, and adjustable objects in the game scene; calculating the task route between the task position and the character position according to a preset pathfinding algorithm, and adjusting the adjustable objects in the game scene where the target virtual character is currently located according to the task route in a first state. This method increases the immersion of the game, allowing players to pay more attention to changes in the game scene and increasing their desire to discover details in the game.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of game interaction, and more particularly to a task guidance method, apparatus, device, and storage medium. Background Technology

[0002] In MMO (Massively Multiplayer Online) mobile games, players typically undertake various system-recommended quests in a vast world. The types of quests are numerous, and the interactive scenes and NPCs (Non-Player Characters) for each quest are often different. Usually, players need to open the map using the in-game map function, find the corresponding quest icon, and then navigate automatically or set a marker before following the in-game quest guide to the quest location. Currently, the common method for guiding quest objectives in existing games is to directly instruct the player-controlled virtual character on the route, such as generating guide lines along the path to the quest location or automatically controlling the virtual character to travel to the quest location. This saves players the trouble of running around searching for the quest. Most games directly immerse players in the quest scene, but this method fails to create a sense of immersion, resulting in a poor and unrealistic player experience. Summary of the Invention

[0003] The main objective of this invention is to solve the problem of poor player immersion in existing game task guidance methods.

[0004] The first aspect of this invention provides a task guidance method, which provides a graphical user interface through a terminal device. The content displayed on the graphical user interface includes a game scene, a target virtual character, and task controls. The task guidance method includes:

[0005] In response to a touch operation on the task control, a game task bar is displayed on the graphical user interface, the game task bar including at least one game task of the target virtual character and a tracking control corresponding to the game task;

[0006] In response to a click operation on the tracking control corresponding to any game task in the game task bar, the target game task is determined, and the task position of the target game task, the character position of the target virtual character in the game scene, and the adjustable objects in the game scene are obtained.

[0007] Based on a preset pathfinding algorithm, a task route between the task location and the character location is calculated, and the adjustable objects in the game scene where the target virtual character is currently located are adjusted in the first state according to the task route.

[0008] Optionally, in a first implementation of the first aspect of the present invention, the step of adjusting the first state of adjustable objects in the game scene where the target virtual character is currently located according to the task route includes:

[0009] Adjust the orientation of all adjustable objects in the game scene where the target virtual character is currently located to be the same as the direction of the mission route.

[0010] Optionally, in a second implementation of the first aspect of the present invention, the step of adjusting the first state of adjustable objects in the game scene where the target virtual character is currently located according to the task route further includes:

[0011] Based on the target virtual character's position, the current game scene area where the target virtual character is currently located is displayed in the graphical user interface.

[0012] Adjust the orientation of the adjustable objects in the current game scene area to be the same as the direction of the mission route.

[0013] Optionally, in a third implementation of the first aspect of the present invention, the adjustable object at least includes a plant model. When the adjustable object is a plant model, after adjusting the first state of the adjustable object in the game scene where the target virtual character is currently located according to the task route, the method further includes:

[0014] In response to a movement operation on the target virtual character, control the target virtual character to move within the current game scene;

[0015] Based on the movement position of the target virtual character in the current game scene and the task route, the plant model in the current game scene of the target virtual character is adjusted to a second state.

[0016] Optionally, in a fourth implementation of the first aspect of the present invention, the plant model is preset with multiple growth states.

[0017] Optionally, in a fifth implementation of the first aspect of the present invention, adjusting the plant model in the current game scene of the target virtual character to a second state based on the movement position of the target virtual character in the current game scene and the task route includes:

[0018] When determining the correct and incorrect directions of movement of the target virtual character in the current game scene based on the task route;

[0019] The growth status of the plant model in the game scene where the target virtual character is currently located is adjusted based on the distance value of the deviation from the correct direction and the incorrect direction when the target virtual character moves in the game scene.

[0020] Optionally, in a sixth implementation of the first aspect of the present invention, the step of adjusting the second state of the plant model in the game scene where the target virtual character is currently located based on the movement position of the target virtual character in the current game scene and the task route further includes:

[0021] The distance between the target virtual character's current position and the task route is calculated in real time.

[0022] Determine whether the distance between the moving position and the task route is within a preset distance;

[0023] If not, the growth status of the plant model in the game scene where the target virtual character is currently located is adjusted according to the distance between the moving position and the task route.

[0024] Optionally, in the seventh implementation of the first aspect of the present invention, the real-time calculation of the distance between the target virtual character's movement position and the task route in the current game scene includes:

[0025] Real-time acquisition of the target virtual character's movement position in the current game scene;

[0026] Calculate the distance between each point on the task route and the moving position;

[0027] The distance between the point on the task route that is closest to the moving position is taken as the distance value between the moving position and the task route.

[0028] Optionally, in an eighth implementation of the first aspect of the present invention, the growth state and the distance value are mapped to each other;

[0029] The step of adjusting the growth status of the plant model in the game scene where the target virtual character is currently located based on the distance between the moving position and the task route includes:

[0030] Based on the mapping relationship, determine the growth state corresponding to the distance value;

[0031] Adjust the current growth state of the plant model in the game scene where the target virtual character is currently located to the growth state corresponding to the distance value.

[0032] A second aspect of the present invention provides a task guidance device that provides a graphical user interface via a terminal device. The content displayed on the graphical user interface includes a game scene, a target virtual character, and task controls. The task guidance device comprises:

[0033] A taskbar display module is used to display a game taskbar in the graphical user interface in response to a touch operation on the task control. The game taskbar includes at least one game task of the target virtual character and a tracking control corresponding to the game task.

[0034] The tracking module is used to respond to the selection operation of the tracking control corresponding to any game task in the game task bar, determine the target game task, and obtain the task position of the target game task, the character position of the target virtual character in the game scene, and the adjustable objects in the game scene;

[0035] The first adjustment module is used to calculate the task route between the task location and the character location according to a preset pathfinding algorithm, and to adjust the adjustable objects in the game scene where the target virtual character is currently located according to the task route.

[0036] Optionally, in a first implementation of the second aspect of the present invention, the first state adjustment module is specifically used for:

[0037] Adjust the orientation of all adjustable objects in the game scene where the target virtual character is currently located to be the same as the direction of the mission route.

[0038] Optionally, in a second implementation of the second aspect of the present invention, the first state adjustment module is further configured to:

[0039] Based on the target virtual character's position, the current game scene area where the target virtual character is currently located is displayed in the graphical user interface.

[0040] Adjust the orientation of the adjustable objects in the current game scene area to be the same as the direction of the mission route.

[0041] Optionally, in a third implementation of the second aspect of the present invention, the task guidance device further includes a second adjustment module, wherein the adjustable object includes at least a plant model, and when the adjustable object is a plant model, the second adjustment module specifically includes:

[0042] A movement unit is configured to control the movement of the target virtual character within the current game scene in response to a movement operation on the target virtual character.

[0043] The model adjustment unit is used to adjust the plant model in the game scene where the target virtual character is currently located in the second state according to the movement position of the target virtual character in the current game scene and the task route.

[0044] Optionally, in a fourth implementation of the second aspect of the present invention, the plant model is preset with multiple growth states.

[0045] Optionally, in a fifth implementation of the second aspect of the present invention, the model adjustment unit is specifically used for:

[0046] When determining the correct and incorrect directions of movement of the target virtual character in the current game scene based on the task route;

[0047] The growth status of the plant model in the game scene where the target virtual character is currently located is adjusted based on the distance value of the deviation from the correct direction and the incorrect direction when the target virtual character moves in the game scene.

[0048] Optionally, in a sixth implementation of the second aspect of the present invention, the model adjustment unit further includes:

[0049] The distance calculation subunit is used to calculate in real time the distance between the target virtual character's position and the task route when the character moves in the current game scene.

[0050] The judgment subunit is used to determine whether the distance between the moving position and the task route is within a preset distance;

[0051] The state adjustment subunit is used to adjust the growth state of the plant model in the game scene where the target virtual character is currently located based on the distance between the moving position and the task route when the distance between the moving position and the task route is not within a preset distance.

[0052] Optionally, in a seventh implementation of the second aspect of the present invention, the distance calculation subunit is specifically used for:

[0053] Real-time acquisition of the target virtual character's movement position in the current game scene;

[0054] Calculate the distance between each point on the task route and the moving position;

[0055] The distance between the point on the task route that is closest to the moving position is taken as the distance value between the moving position and the task route.

[0056] Optionally, in an eighth implementation of the second aspect of the present invention, the growth state and the distance value are mapped; the state adjustment subunit is specifically used for:

[0057] Based on the mapping relationship, determine the growth state corresponding to the distance value;

[0058] Adjust the current growth state of the plant model in the game scene where the target virtual character is currently located to the growth state corresponding to the distance value.

[0059] A third aspect of the present invention provides a task guidance device, comprising: a memory and at least one processor, wherein the memory stores instructions, and the memory and the at least one processor are interconnected via a circuit; the at least one processor invokes the instructions in the memory to cause the task guidance device to perform the steps of the task guidance method described above.

[0060] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the steps of the task instruction method described above.

[0061] The aforementioned task guidance method, apparatus, device, and storage medium provide a graphical user interface (GUI) via a terminal device. The GUI displays a game scene, a target virtual character, and task controls. In response to a touch operation on the task controls, a game task bar is displayed on the GUI. The game task bar includes at least one game task for the target virtual character and a tracking control corresponding to that task. In response to a selection operation on the tracking control corresponding to any game task in the game task bar, a target game task is determined, and the task location of the target game task, the character's current position in the game scene, and adjustable objects in the game scene are obtained. A task route between the task location and the character's position is calculated according to a preset pathfinding algorithm, and the adjustable objects in the game scene where the target virtual character is currently located are adjusted to a first state based on the task route. In this method, players can directly know the direction of the task location and move their virtual character by observing the adjustment direction of adjustable objects in the game scene, increasing game immersion, encouraging players to pay more attention to changes in the game scene, and increasing their desire to discover details within the game.

[0062] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.

[0063] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0064] Figure 1 This is a schematic diagram of the first embodiment of the task guidance method in this invention;

[0065] Figure 2 This is a schematic diagram of one embodiment of the task guidance device in this invention;

[0066] Figure 3 This is a schematic diagram of another embodiment of the task guidance device in this invention;

[0067] Figure 4 This is a schematic diagram of one embodiment of the task guidance device in this invention;

[0068] Figure 5 A schematic diagram of a display interaction area provided in an embodiment of the present invention;

[0069] Figure 6 This is a schematic diagram illustrating the growth state of the plant model provided in an embodiment of the present invention.

[0070] Figure 7 This is a schematic diagram illustrating the first change in the relationship between the growth state of the plant model and the directional position of the target virtual character, provided in an embodiment of the present invention.

[0071] Figure 8 This is a second schematic diagram illustrating the relationship between the growth state of the plant model and the orientation and position of the target virtual character, as provided in an embodiment of the present invention. Detailed Implementation

[0072] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0073] The terms "comprising" and "having," and any variations thereof, used in the embodiments of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or devices.

[0074] In existing technologies, the common method for guiding game objectives is to directly instruct the virtual character controlled by the player. For example, directional lines are generated on the path of the virtual character to the mission location, or the virtual character is directly controlled to automatically go to the mission location. This saves the player the process of controlling the virtual character to run and find the game mission. Most games directly bring the player into the game mission scene. This method cannot make the player feel like they are there, the player's sense of immersion is poor, and the player experience is unrealistic and unnatural.

[0075] Based on the above, the present invention provides a task guidance method, apparatus and system, which can be applied to task guidance scenarios.

[0076] In one embodiment of this disclosure, the task guidance method can run on a local terminal device or a server. When the task guidance method runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0077] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution and the game screen presentation are separated. The storage and execution of task guidance methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses game screen data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.

[0078] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.

[0079] In one possible implementation, this invention provides a task guidance method that provides a graphical user interface (GUI) through a terminal device. The terminal device can be either a local terminal device (as mentioned above) or a client device in a cloud interaction system (as mentioned above). The GUI provides content that can be displayed according to the type of application being launched, such as game scene images, communication interaction windows, etc. The terminal device can be a touch-screen terminal device or a non-touch-screen terminal device. Touch-screen terminal devices can be smartphones and tablets, while non-touch-screen terminal devices can be PCs (personal computers) and video game consoles.

[0080] To facilitate understanding of this embodiment, a task guidance method disclosed in this invention will first be described in detail. In an optional implementation, preferably, taking a touch terminal device as an example, interactive operations such as touch operation and selection operation can be performed through the display device on the touch terminal device. Figure 1 As shown, the task guidance method provides a graphical user interface through a terminal device. The content displayed on the graphical user interface includes a game scene, a target virtual character, and task controls. The terminal device can be either the aforementioned local terminal device or the aforementioned client device. This method includes the following steps:

[0081] 101. In response to a touch operation on a task control, a game task bar is displayed in a graphical user interface, the game task bar including at least one game task of the target virtual character and a tracking control corresponding to the game task.

[0082] In one embodiment of the present invention, the target virtual object exists in the game scene displayed by the graphical user interface. The graphical user interface changes the game scene according to the operator's movement of the corresponding virtual object. A task control is provided in the graphical user interface, and the touch operation can be the player's click on the task control, such as: single click, double click, long press, etc. There are no specific limitations here, as long as it can enable the player to trigger the interaction of the task control.

[0083] Specifically, in the game scenario, the terminal device can launch the application in response to the player's launch operation. This application can be any application that provides a graphical user interface. Optionally, the launch operation can be the player touching the application icon on the terminal desktop, or the player inputting a launch command to a smart voice assistant. The launch command can include voice commands or text commands. This embodiment of the invention does not specifically limit the type of launch command.

[0084] Specifically, after a player launches the application and enters the game, upon receiving a task, a task control is triggered to display the game task bar. The task bar includes at least one game task for the target virtual character. Players can also view the task details by clicking on any task, allowing them to identify the target task requiring guidance. A tracking control is placed near each task. When a player identifies the target task, clicking on the corresponding tracking control allows the server to identify one of the target virtual character's multiple tasks as the target task. These tasks can include digging for underground equipment parts, money, and other useful items; collecting resources such as wood, stone, and ore to craft tools and build houses; or defeating powerful opponents, and so on.

[0085] 102. In response to a click operation on the tracking control corresponding to any game task in the game task bar, determine the target game task, and obtain the task position of the target game task, the character position of the target virtual character in the game scene, and the adjustable objects in the game scene;

[0086] In one embodiment of the present invention, during the game operation, the server can obtain the position of the target virtual character controlled by the player in the game scene in real time. When the player clicks on the tracking control corresponding to any game task in the game task bar, the server obtains the position of the target virtual character when the click operation is performed.

[0087] In one embodiment of the present invention, the task location of the target virtual character in the current game task can be obtained by retrieving a preset game configuration table. This means the target virtual character's location in the current game task is such as the location of a non-player character who needs to interact with the character or a specific location that triggers a plot event. By setting a game configuration table and retrieving the target virtual character's location in the target game task from the game configuration table, the accuracy and reliability of the target location are ensured, providing an accurate destination for guiding the game task.

[0088] In one embodiment of the present invention, the game scene is a game scene displayed (or provided) by the application when it runs on the terminal. The game scene can be a simulation environment of the real world, a semi-simulated / semi-fictional virtual environment, or a purely fictional virtual environment. The game scene can be any one of a two-dimensional game scene, a 2.5-dimensional game scene, or a three-dimensional game scene; this application embodiment does not limit the dimension of the game scene. For example, the game scene may include sky, land, ocean, etc. The land may include environmental elements such as deserts and cities. The user can control virtual objects within the game scene. Adjustable objects are placed in the game scene. Different types of adjustable objects can be set in different game scenes. For example, when the game scene is land, the adjustable objects can be plant models, animal models, or some non-user characters; when the game scene is ocean, the adjustable objects can be fish models, seaweed models, etc.; when the game scene is sky, the adjustable objects can be wind models. This application embodiment does not limit the timing or form of the appearance of the adjustable objects.

[0089] 103. Based on the preset pathfinding algorithm, calculate the task route between the task location and the character location, and adjust the first state of the adjustable objects in the game scene where the target virtual character is currently located according to the task route.

[0090] In one embodiment of the present invention, the first state adjustment of the adjustable objects in the game scene where the target virtual character is currently located according to the task route includes: adjusting the orientation of all adjustable objects in the game scene where the target virtual character is currently located to be the same as the orientation of the task route.

[0091] Specifically, regarding the direction of the mission route, the orientation of adjustable objects can be adjusted so that their direction aligns with the mission route. As the player controls the target virtual character to move, they can subtly guide themselves to the mission location based on the orientation of the adjustable objects. The specific effect is as follows: Figure 5 As shown, in Figure 5In this application, the adjustable objects surrounding the target virtual character are plant models, specifically flowers. By adjusting the orientation of the flowers in the game scene where the target virtual character is currently located, the orientation points in the direction of the task route to the desired location. In this embodiment, different directions can be adjusted depending on the adjustable objects in the game scene. For example, when the game scene is land, the adjustable objects can be plant or animal models, and their orientation can be adjusted. Alternatively, they can be non-user characters, and their orientation or posture can be adjusted, such as adjusting the direction of their fingers. When the game scene is ocean, the adjustable objects can be fish models, and their swimming direction can be adjusted. They can also be seaweed models, and the direction of the ocean currents can be adjusted so that the seaweed's orientation follows the current. When the game scene is sky, the adjustable objects can be wind models, and their direction can be adjusted.

[0092] In one embodiment of the present invention, the first state adjustment of the adjustable objects in the game scene where the target virtual character is currently located according to the task route further includes: determining the current game scene area displayed in the graphical user interface based on the character position of the target virtual character; and adjusting the direction of the adjustable objects in the current game scene area to be the same as the direction of the task route.

[0093] Specifically, players control the movement of a target virtual character within the game scene via a graphical user interface (GUI). Corresponding movement control commands are generated to move the virtual character within the game scene. The current game scene area displayed in the GUI is determined based on the virtual character's position and changes in real-time according to the virtual character's movement. The current game scene area can be the main game scene from the player's perspective, with the area occupied by the virtual character as the core focus. The server can adjust the orientation of adjustable objects based on the current game scene area. Adjustable objects outside the current game scene area do not require adjustment, saving server resources by reducing the number of adjustable objects that need to be adjusted.

[0094] In one embodiment of the present invention, the adjustable object includes at least a plant model. When the adjustable object is a plant model, after the first state adjustment of the adjustable object in the game scene where the target virtual character is currently located according to the task route, the method further includes: controlling the target virtual character to move in the game scene in response to a movement operation on the target virtual character; and adjusting the plant model in the game scene where the target virtual character is currently located according to the movement position of the target virtual character in the game scene and the task route, in response to a movement operation on the target virtual character.

[0095] Specifically, the target virtual character can determine the desired movement direction through a movement operation. In some possible embodiments, for example, a single click on any location in the game scene can be used to determine the movement operation, and the direction of the clicked location can be determined as the desired movement direction; alternatively, a double click on any location in the game scene can be used to determine the movement operation, and the direction of the double click can be determined as the desired movement direction; or for games with a virtual movement wheel in the graphical user interface, the control operation on the movement wheel can be used to determine the movement operation, and the direction corresponding to the control operation on the wheel can be determined as the desired movement direction. It should be understood that the above embodiments are only illustrative examples, and the specific methods of initiating movement operations and determining the desired movement direction can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments. The single click or double click operation can be initiated by the player through the display screen of a touch terminal device, or triggered by the player through an external device. The specific triggering method of the click operation can be flexibly adjusted according to the game attributes and is not limited to those given in the above embodiments.

[0096] Specifically, in this embodiment of the application, taking the adjustable object as a plant model as an example, the plant model used as a guide in the game scene can be a tree, flower, seedling, etc., as long as it has a growth and decay state. Different plants can be changed according to different theme activities. It can be flexibly adjusted according to the game scene and is not limited to the above embodiments.

[0097] In one embodiment of the present invention, the plant model is preset with multiple growth states.

[0098] Specifically, since changes in the growth state of plants are less abrupt compared to those of animals, this embodiment primarily adjusts the growth state of the plant model to indicate to the player whether the virtual character being controlled is moving along the correct path. In this embodiment, for example... Figure 6The main idea is to divide the plant growth state into four types: state 1 is the normal healthy plant state, state 4 is the final withered state, and states 2 and 3 are transitional states. It can be seen that from state 1 to state 4, the size of the plant model gradually decreases. Furthermore, the adjustment of the plant model's growth state can also be reflected in the change of the plant model's color. For example, the plant model in state 1 can be green, the plant model in state 2 can be yellow, the plant model in state 3 can be brown, and the plant model in state 4 can be black, reflecting the process of the plant model slowly withering. The specific growth state of the plant model can be flexibly adjusted according to different types of plant models and is not limited to the one given in the above embodiment.

[0099] In one embodiment of the present invention, adjusting the plant model in the game scene where the target virtual character is currently located according to the movement position of the target virtual character in the current game scene and the task route includes: determining the correct direction and the incorrect direction when the target virtual character moves to the current game scene according to the task route; and adjusting the growth state of the plant model in the game scene where the target virtual character is currently located according to the distance value of the deviation from the correct direction and the incorrect direction when the target virtual character moves in the current game scene.

[0100] Specifically, the server identifies the direction of the task route as the correct direction and the direction different from the server's as the wrong direction. The server adjusts the growth status of the plant model based on the distance value of the deviation of the target virtual character from the correct direction and the wrong direction when moving in the game scene. As the deviation value of the target virtual character from the correct direction increases, the growth status of the plant model gradually becomes withered, and as the deviation value of the target virtual character from the wrong direction increases, the growth status of the plant model gradually becomes healthy.

[0101] Specifically, such as Figure 7 When the character moves from the correct direction to the wrong direction, using the nearest plant (state 1) as the center point, if the character deviates from the correct direction within 5 coordinates, the plant model changes to state 1; if the character deviates from the correct direction more than 5 coordinates but less than 10 coordinates, the plant changes to state 2; if the character deviates from the correct direction more than 10 coordinates but less than 15 coordinates, the plant changes to state 3; and if the character deviates from the correct direction more than 15 coordinates, the plant changes to state 4. For example... Figure 8When the virtual character moves back to the correct direction from the wrong direction, the closest plant (state 4) is used as the center point. If the virtual character deviates from the wrong direction by 5 coordinates, the plant model changes to state 4; if the virtual character deviates from the wrong direction by more than 5 coordinates but less than 10 coordinates, the plant changes to state 3; if the virtual character deviates from the wrong direction by more than 10 coordinates but less than 15 coordinates, the plant changes to state 2; and if the virtual character deviates from the wrong direction by more than 15 coordinates, the plant changes to state 1.

[0102] In one embodiment of the present invention, the real-time calculation of the distance between the target virtual character's movement position and the task route when the target virtual character moves in the current game scene includes: real-time acquisition of the target virtual character's movement position when the target virtual character moves in the current game scene; calculation of the distance between each point on the task route and the movement position; and taking the distance between the point on the task route closest to the movement position as the distance between the movement position and the task route.

[0103] Specifically, after obtaining the coordinates of the target virtual character's position in the current game scene and the coordinates of any point on the task route, the distance can be calculated based on these two coordinates. Let the coordinates of the target virtual character's position in the current game scene be (a, b, c), and the coordinates of any point on the task route be (d, c). i e i f i If the distance is such that the distance is calculated as follows:

[0104]

[0105] Where D is the distance between the target virtual character's current position in the game scene and any point on the mission route.

[0106] In one embodiment of the present invention, the growth state is mapped to the distance value; adjusting the growth state of the plant model in the game scene where the target virtual character is currently located according to the distance value between the moving position and the task route includes: determining the growth state corresponding to the distance value according to the mapping relationship; and adjusting the current growth state of the plant model in the game scene where the target virtual character is currently located to the growth state corresponding to the distance value.

[0107] Specifically, there is a mapping relationship between the growth state of the plant model and the distance value. For example, when the distance value is within 5 coordinates, the plant model is in state 1; when the distance value is within 10 coordinates, the plant is in state 2; when the distance value is within 15 coordinates, the plant is in state 3; and when the distance value is within 15 coordinates, the plant is in state 4. The server determines the current growth state of the plant model to be displayed on the graphical user interface based on different distance values ​​and mapping relationships.

[0108] In this embodiment, a graphical user interface (GUI) is provided through a terminal device. The GUI displays a game scene, a target virtual character, and task controls. In response to a touch operation on the task controls, a game task bar is displayed on the GUI. The game task bar includes at least one game task for the target virtual character and a tracking control corresponding to that task. In response to a selection operation on the tracking control corresponding to any game task in the game task bar, a target game task is determined, and the task location of the target game task, the character's current position in the game scene, and adjustable objects in the game scene are obtained. A task route between the task location and the character's position is calculated according to a preset pathfinding algorithm, and the adjustable objects in the game scene where the target virtual character is currently located are adjusted to a first state based on the task route. In this method, players can directly know the direction of the task location and move the virtual character by observing the adjustment direction of adjustable objects in the game scene, increasing game immersion, encouraging players to pay more attention to changes in the game scene, and increasing their desire to discover details in the game.

[0109] The task guidance method in the embodiments of the present invention has been described above. The task guidance device in the embodiments of the present invention is described below. The task guidance device provides a graphical user interface through a terminal device. The content displayed on the graphical user interface includes a game scene, a target virtual character, and task controls. Please refer to [link to relevant documentation]. Figure 2 One embodiment of the task guidance device in this invention includes:

[0110] The taskbar display module 201 is used to display a game taskbar in the graphical user interface in response to a touch operation on the task control. The game taskbar includes at least one game task of the target virtual character and a tracking control corresponding to the game task.

[0111] The tracking module 202 is used to respond to the selection operation of the tracking control corresponding to any game task in the game task bar, determine the target game task, and obtain the task position of the target game task, the character position of the target virtual character in the game scene, and the adjustable objects in the game scene;

[0112] The first adjustment module 203 is used to calculate the task route between the task location and the character location according to a preset pathfinding algorithm, and to adjust the adjustable objects in the game scene where the target virtual character is currently located according to the task route.

[0113] In this embodiment of the invention, the task guidance device operates the aforementioned task guidance method. The task guidance device terminal device provides a graphical user interface (GUI) through the terminal device. The content displayed on the GUI includes a game scene, a target virtual character, and task controls. In response to a touch operation on the task controls, a game task bar is displayed on the GUI. The game task bar includes at least one game task for the target virtual character and a tracking control corresponding to the game task. In response to a selection operation on the tracking control corresponding to any game task in the game task bar, a target game task is determined, and the task location of the target game task, the character position in the game scene where the target virtual character is currently located, and adjustable objects in the game scene are obtained. According to a preset pathfinding algorithm, a task route between the task location and the character position is calculated, and the adjustable objects in the game scene where the target virtual character is currently located are adjusted to a first state according to the task route. In this method, players can directly know the direction of the task location and move the virtual character by observing the adjustment direction of adjustable objects in the game scene, increasing the immersion of the game, making players pay more attention to the changes in the game scene, and increasing the player's impulse to discover the details in the game.

[0114] Please see Figure 3 A second embodiment of the task guidance device in this invention includes:

[0115] The taskbar display module 201 is used to display a game taskbar in the graphical user interface in response to a touch operation on the task control. The game taskbar includes at least one game task of the target virtual character and a tracking control corresponding to the game task.

[0116] The tracking module 202 is used to respond to the selection operation of the tracking control corresponding to any game task in the game task bar, determine the target game task, and obtain the task position of the target game task, the character position of the target virtual character in the game scene, and the adjustable objects in the game scene;

[0117] The first adjustment module 203 is used to calculate the task route between the task location and the character location according to a preset pathfinding algorithm, and to adjust the adjustable objects in the game scene where the target virtual character is currently located according to the task route.

[0118] In one embodiment of the present invention, the first state adjustment module 203 is specifically used for:

[0119] Adjust the orientation of all adjustable objects in the game scene where the target virtual character is currently located to be the same as the direction of the mission route.

[0120] In one embodiment of the present invention, the first state adjustment module 203 is further configured to:

[0121] Based on the target virtual character's position, the current game scene area where the target virtual character is currently located is displayed in the graphical user interface.

[0122] Adjust the orientation of the adjustable objects in the current game scene area to be the same as the direction of the mission route.

[0123] In one embodiment of the present invention, the task guidance device further includes a second adjustment module 204, wherein the adjustable object includes at least a plant model, and when the adjustable object is a plant model, the second adjustment module 204 specifically includes:

[0124] The movement unit 2041 is configured to control the target virtual character to move within the current game scene in response to a movement operation on the target virtual character;

[0125] The model adjustment unit 2042 is used to adjust the plant model in the game scene where the target virtual character is currently located in a second state according to the movement position of the target virtual character in the current game scene and the task route.

[0126] In one embodiment of the present invention, the plant model is preset with multiple growth states.

[0127] In one embodiment of the present invention, the model adjustment unit 2042 is specifically used for:

[0128] When determining the correct and incorrect directions of movement of the target virtual character in the current game scene based on the task route;

[0129] The growth status of the plant model in the game scene where the target virtual character is currently located is adjusted based on the distance value of the deviation from the correct direction and the incorrect direction when the target virtual character moves in the game scene.

[0130] In one embodiment of the present invention, the model adjustment unit 2042 further includes:

[0131] The distance calculation subunit 20421 is used to calculate in real time the distance between the target virtual character's movement position and the task route when the character moves in the current game scene.

[0132] The judgment subunit 20422 is used to determine whether the distance between the moving position and the task route is within a preset distance;

[0133] The state adjustment subunit 20423 is used to adjust the growth state of the plant model in the game scene where the target virtual character is currently located based on the distance between the moving position and the task route when the distance between the moving position and the task route is not within a preset distance.

[0134] In one embodiment of the present invention, the distance calculation subunit 20421 is specifically used for:

[0135] Real-time acquisition of the target virtual character's movement position in the current game scene;

[0136] Calculate the distance between each point on the task route and the moving position;

[0137] The distance between the point on the task route that is closest to the moving position is taken as the distance value between the moving position and the task route.

[0138] In one embodiment of the present invention, the growth state and the distance value are mapped; the state adjustment subunit 20423 is specifically used for:

[0139] Based on the mapping relationship, determine the growth state corresponding to the distance value;

[0140] Adjust the current growth state of the plant model in the game scene where the target virtual character is currently located to the growth state corresponding to the distance value.

[0141] This embodiment, based on the previous embodiment, describes in detail the specific functions of each module and the unit composition of some modules. Through the above modules and the units in the modules, in this method, the orientation of adjustable objects in the game scene is adjusted in the first state. When the target virtual character controlled by the player moves, the growth state of the plant model in the adjustable objects in the scene is adjusted in the second state based on the deviation between the movement of the target virtual character and the pre-calculated task route. This increases the immersion of the game, makes players pay more attention to the changes in the game scene, and increases the players' impulse to discover the details in the game.

[0142] above Figure 2 and Figure 3 The task guidance device in the embodiments of the present invention will be described in detail from the perspective of modular functional entities. The task guidance device in the embodiments of the present invention will be described in detail from the perspective of hardware processing.

[0143] Figure 4 This is a schematic diagram of a task guidance device 400 provided in an embodiment of the present invention. The task guidance device 400 can vary significantly due to different configurations or performance characteristics. It may include one or more central processing units (CPUs) 410 (e.g., one or more processors) and a memory 420, and one or more storage media 430 (e.g., one or more mass storage devices) for storing application programs 433 or data 432. The memory 420 and storage media 430 can be temporary or persistent storage. The program stored in the storage media 430 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the task guidance device 400. Furthermore, the processor 410 may be configured to communicate with the storage media 430 and execute the series of instruction operations in the storage media 430 on the task guidance device 400 to implement the steps of the above-described task guidance method.

[0144] The task guidance device 400 may also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input / output interfaces 460, and / or one or more operating systems 431, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 4 The illustrated task guidance device structure does not constitute a limitation on the task guidance device provided by the present invention. It may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0145] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when the instructions are executed on a computer, cause the computer to perform the steps of the task instruction method.

[0146] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system, device, or unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0147] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0148] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A task guidance method, characterized by, A graphical user interface is provided through a terminal device, and the content displayed on the graphical user interface includes a game scene, a target virtual character, and task controls. The task guidance method includes: In response to a touch operation on the task control, a game task bar is displayed on the graphical user interface, the game task bar including at least one game task of the target virtual character and a tracking control corresponding to the game task; In response to a click operation on the tracking control corresponding to any game task in the game task bar, the target game task is determined, and the task position of the target game task, the character position of the target virtual character in the game scene, and the adjustable objects in the game scene are obtained. According to a preset pathfinding algorithm, a task route between the task location and the character location is calculated, and an adjustable object in the game scene where the target virtual character is currently located is adjusted to a first state according to the task route; the first state adjustment is used to indicate that the direction of the adjustable object is the same as the direction of the task route. The adjustable object includes at least a plant model. When the adjustable object is a plant model, after adjusting the first state of the adjustable object in the game scene where the target virtual character is currently located according to the task route, the method further includes: In response to a movement operation on the target virtual character, control the target virtual character to move within the current game scene; Based on the movement position of the target virtual character in the current game scene and the task route, the plant model in the current game scene of the target virtual character is adjusted to a second state. The plant model has multiple preset growth states. The step of adjusting the second state of the plant model in the current game scene of the target virtual character based on the movement position of the target virtual character in the current game scene and the task route includes: The distance between the target virtual character's current position and the task route is calculated in real time. Determine whether the distance between the moving position and the task route is within a preset distance; If not, the growth status of the plant model in the game scene where the target virtual character is currently located is adjusted according to the distance between the moving position and the task route; The real-time calculation of the distance between the target virtual character's position and the task route in the current game scene includes: Real-time acquisition of the target virtual character's movement position in the current game scene; Calculate the distance between each point on the task route and the moving position; The distance between the point on the task route that is closest to the moving position is taken as the distance value between the moving position and the task route.

2. The task guidance method of claim 1, wherein, The step of adjusting the first state of adjustable objects in the game scene where the target virtual character is currently located according to the task route includes: Adjust the orientation of all adjustable objects in the game scene where the target virtual character is currently located to be the same as the direction of the mission route.

3. The task guidance method of claim 1, wherein, The first state adjustment of adjustable objects in the game scene where the target virtual character is currently located according to the task route includes: Based on the target virtual character's position, the current game scene area where the target virtual character is currently located is displayed in the graphical user interface. Adjust the orientation of the adjustable objects in the current game scene area to be the same as the direction of the mission route.

4. The task guidance method of claim 1, wherein, There is a mapping relationship between the growth state and the distance value; The step of adjusting the growth status of the plant model in the game scene where the target virtual character is currently located based on the distance between the moving position and the task route includes: Based on the mapping relationship, determine the growth state corresponding to the distance value; Adjust the current growth state of the plant model in the game scene where the target virtual character is currently located to the growth state corresponding to the distance value.

5. A task guidance device characterized by comprising: A graphical user interface is provided through a terminal device, and the content displayed on the graphical user interface includes a game scene, a target virtual character, and task controls. The task guidance device includes: A taskbar display module is used to display a game taskbar in the graphical user interface in response to a touch operation on the task control. The game taskbar includes at least one game task of the target virtual character and a tracking control corresponding to the game task. The tracking module is used to respond to the selection operation of the tracking control corresponding to any game task in the game task bar, determine the target game task, and obtain the task position of the target game task, the character position of the target virtual character in the game scene, and the adjustable objects in the game scene; The first adjustment module is used to calculate the task route between the task location and the character location according to a preset pathfinding algorithm, and to adjust the first state of the adjustable objects in the game scene where the target virtual character is currently located according to the task route; the first state adjustment is used to indicate that the direction of the adjustable objects is the same as the direction of the task route. The task guidance device further includes a second adjustment module. The adjustable object includes at least a plant model. When the adjustable object is a plant model, the second adjustment module specifically includes: A movement unit is configured to control the movement of the target virtual character within the current game scene in response to a movement operation on the target virtual character. The model adjustment unit is used to adjust the plant model in the game scene where the target virtual character is currently located in a second state according to the movement position of the target virtual character in the current game scene and the task route. The plant model has multiple preset growth states. The model adjustment unit includes: The distance calculation subunit is used to calculate in real time the distance between the target virtual character's position and the task route when the character moves in the current game scene. The judgment subunit is used to determine whether the distance between the moving position and the task route is within a preset distance; The state adjustment subunit is used to adjust the growth state of the plant model in the game scene where the target virtual character is currently located, if not, based on the distance between the moving position and the task route. The distance calculation subunit is specifically used for: Real-time acquisition of the target virtual character's movement position in the current game scene; Calculate the distance between each point on the task route and the moving position; The distance between the point on the task route that is closest to the moving position is taken as the distance value between the moving position and the task route.

6. A task guidance device characterized by comprising: The task guidance device includes: a memory and at least one processor, wherein the memory stores instructions; The at least one processor invokes the instructions in the memory to cause the task guidance device to perform the steps of the task guidance method as described in any one of claims 1-4.

7. A computer-readable storage medium having stored thereon instructions, the computer-readable storage medium comprising: When the instruction is executed by the processor, it implements the steps of the task guidance method as described in any one of claims 1-4.