CN109806585B - Game display control method, device, equipment and storage medium - Google Patents

Game display control method, device, equipment and storage medium Download PDF

Info

Publication number
CN109806585B
CN109806585B CN201910121161.9A CN201910121161A CN109806585B CN 109806585 B CN109806585 B CN 109806585B CN 201910121161 A CN201910121161 A CN 201910121161A CN 109806585 B CN109806585 B CN 109806585B
Authority
CN
China
Prior art keywords
scene
route
game
map
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910121161.9A
Other languages
Chinese (zh)
Other versions
CN109806585A (en
Inventor
伍迪枫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910121161.9A priority Critical patent/CN109806585B/en
Publication of CN109806585A publication Critical patent/CN109806585A/en
Application granted granted Critical
Publication of CN109806585B publication Critical patent/CN109806585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Instructional Devices (AREA)

Abstract

The invention provides a display control method, a device, equipment and a storage medium for a game, wherein the method comprises the following steps: receiving a first marking operation acting on the map; determining a map route in the map according to the first marking operation; and generating and displaying a scene route in the game scene at least according to the map route. The game display control method, the game display control device, the game display control equipment and the storage medium can conveniently inform other players of scene routes, so that other players can quickly determine the correct advancing direction according to the scene routes.

Description

Game display control method, device, equipment and storage medium
Technical Field
The present invention relates to electronic competition technology, and in particular, to a method, apparatus, device and storage medium for controlling display of a game.
Background
With the rapid development of mobile communication technology, more and more game applications are presented on electronic devices, and there is often a requirement for team formation in shooting-type (FPS) games or racing games.
Fig. 1 is a schematic diagram of a graphical user interface of a prior art game display control method. As shown in fig. 1, in the prior art, when a player completes a task in a team, if the player wants to inform other players of the location of a target object, or needs other players to reach a certain position, a touch operation such as clicking is usually performed on a map to mark the position, such as a mark point 13 in fig. 1. Accordingly, the electronic device will also mark the location, such as mark point 12, in the game scene. After marking the location, in team mode, other players 11 will see the marked location point in the map control and operate according to the marked location point.
However, according to the above-described operation manner, the player can only inform other players of the position point information, but cannot inform other players of the tactical route, so that it is difficult for other players to determine the correct heading.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a game display control method, a game display control device, a game display control equipment and a game display control storage medium.
In a first aspect, an embodiment of the present invention provides a display control method for a game, including: a software application is executed on a processor of a terminal, and a graphical user interface is rendered on a display of the terminal, wherein the graphical user interface at least comprises a scene interface, the scene interface displays a game scene of the game and a map corresponding to the game scene, and the method comprises the following steps:
receiving a first marking operation acting on the map;
determining a map route in the map according to the first marking operation;
and generating and displaying a scene route in the game scene at least according to the map route.
In one possible implementation manner, the step of generating and displaying a scene route in the game scene at least according to the map route includes:
Acquiring the current position of a target object;
and generating and displaying the scene route in the game scene according to the current position and the map route.
In one possible implementation manner, the target object is a first game role corresponding to a terminal receiving a first marking operation or at least one second game role in the same camp with the game role;
the step of generating and displaying the scene route in the game scene according to the current position and the map route is as follows: and generating and displaying the scene route taking the current position as a starting point in the game scene according to the map route.
In a possible implementation manner, the step of generating and displaying the scene route with the current position as a starting point in the game scene according to the map route includes:
generating and displaying an initial scene route in the game scene according to the map route;
and determining that the current position and the initial scene route meet a first preset distance threshold, and displaying a connecting route between the initial scene route and the target object to form the scene route taking the current position as a starting point.
In one possible implementation manner, the scene route includes at least two scene sampling points, and the scene sampling points are sampling points determined according to the map route;
the step of generating and displaying a scene route in the game scene at least according to the map route comprises the following steps:
if at least one scene sampling point is positioned on an obstacle in the game scene, determining that the current position and the scene sampling point meet a second preset distance threshold, and correcting the position of the scene sampling point to other positions outside the obstacle;
and generating and displaying a scene route in the game scene according to the position of the corrected scene sampling point.
In one possible implementation manner, the scene route includes at least two scene sampling points, and the scene sampling points are sampling points determined according to the map route;
the step of generating and displaying a scene route in the game scene at least according to the map route comprises the following steps:
if at least one scene sampling point is positioned on an obstacle in the game scene, determining a neutral point according to the position of the obstacle;
and generating and displaying a scene route in the game scene according to the medium-point.
In one possible implementation manner, the step of generating and displaying a scene route in the game scene at least according to the map route includes:
determining scene sampling points according to the map route;
and generating and displaying a scene route in the game scene according to the scene sampling points.
In one possible implementation manner, the determining a map route in the map according to the first marking operation includes:
receiving the first marking operation, and sampling the first marking operation according to a preset sampling rule to obtain a plurality of map sampling points;
and determining the map route according to the map sampling points.
In one possible implementation manner, the step of generating and displaying a scene route in the game scene according to the scene sampling point includes:
step A: judging whether an obstacle exists between the first scene sampling point and the second scene sampling point; the first scene sampling point and the second scene sampling point are two adjacent scene sampling points;
and (B) step (B): if an obstacle exists between the first scene sampling point and the second scene sampling point, determining a middle point from the first scene sampling point to the second scene sampling point based on the relative position relation between the obstacle and the first scene sampling point and the second scene sampling point;
Step C: taking the middle point as a new first scene sampling point, taking the next scene sampling point of the second scene sampling point as a new second scene sampling point, and repeatedly executing the steps A-D until the second scene sampling point is an end point;
step D: and generating and displaying a scene route in the game scene according to the starting position, the neutral point and the end position.
In one possible implementation, the determining a neutral point from the first scene sampling point to the second scene sampling point based on a relative positional relationship between the obstacle and the first scene sampling point and the second scene sampling point includes:
detecting whether a position point without an obstacle exists between the preset direction of the origin point and the first scene sampling point or not by taking the first scene sampling point as the origin point and a preset distance as a radius;
if so, the location point is determined to be the neutral point.
In one possible implementation manner, the step of generating and displaying a scene route in the game scene at least according to the map route includes:
determining first coordinate information of each map sampling point in the map on the map route;
Respectively acquiring first size information of the map and second size information of the game scene;
determining second coordinate information of each scene sampling point corresponding to each map sampling point in the game scene according to the first coordinate information, the first size information and the second size information;
and generating and displaying a scene route in the game scene according to the second coordinate information.
In one possible implementation, the displaying the scene route includes:
acquiring the height information of each scene sampling point in the game scene;
and displaying the scene route in the game scene according to the second coordinate information of each scene sampling point in the game scene and the height information.
In a possible implementation manner, after the step of generating and displaying a scene route in the game scene at least according to the map route, the method further includes:
receiving a second marking operation acting on the scene interface;
and clearing the scene route according to the second marking operation.
In one possible implementation, the scene interface includes a preset control; the second marking operation is an operation of touching on the preset control.
In one possible implementation, the method further includes:
and displaying a map identifier on the map according to the map route.
In a second aspect, an embodiment of the present invention provides a display control apparatus for a game, including: a software application is executed on a processor of a terminal, and a graphical user interface is rendered on a display of the terminal, wherein the graphical user interface at least comprises a scene interface, the scene interface displays a game scene of the game and a map corresponding to the game scene, and the device comprises:
a receiving module for receiving a first marking operation acting on the map;
a processing module, configured to determine a map route in the map according to the first marking operation;
the processing module is further used for generating a scene route in the game scene at least according to the map route;
and the display module is used for displaying the scene route.
In a possible implementation manner, the processing module is specifically configured to:
acquiring the current position of a target object;
and generating and displaying the scene route in the game scene according to the current position and the map route.
In one possible implementation manner, the target object is a first game role corresponding to a terminal receiving a first marking operation or at least one second game role in the same camp with the game role;
the processing module is specifically configured to: and generating and displaying the scene route taking the current position as a starting point in the game scene according to the map route.
In a possible implementation manner, the processing module is specifically configured to:
generating and displaying an initial scene route in the game scene according to the map route;
and determining that the current position and the initial scene route meet a first preset distance threshold, and displaying a connecting route between the initial scene route and the target object to form the scene route taking the current position as a starting point.
In one possible implementation manner, the scene route includes at least two scene sampling points, and the scene sampling points are sampling points determined according to the map route;
the processing module is specifically configured to:
if at least one scene sampling point is positioned on an obstacle in the game scene, determining that the current position and the scene sampling point meet a second preset distance threshold, and correcting the position of the scene sampling point to other positions outside the obstacle;
And generating and displaying a scene route in the game scene according to the position of the corrected scene sampling point.
In one possible implementation manner, the scene route includes at least two scene sampling points, and the scene sampling points are sampling points determined according to the map route;
the processing module is specifically configured to:
if at least one scene sampling point is positioned on an obstacle in the game scene, determining a neutral point according to the position of the obstacle;
and generating and displaying a scene route in the game scene according to the medium-point.
In a possible implementation manner, the processing module is specifically configured to:
determining scene sampling points according to the map route;
and generating and displaying a scene route in the game scene according to the scene sampling points.
In a possible implementation manner, the processing module is specifically configured to:
receiving the first marking operation, and sampling the first marking operation according to a preset sampling rule to obtain a plurality of map sampling points;
and determining the map route according to the map sampling points.
In a possible implementation manner, the processing module is specifically configured to:
Step A: judging whether an obstacle exists between the first scene sampling point and the second scene sampling point; the first scene sampling point and the second scene sampling point are two adjacent scene sampling points;
and (B) step (B): if an obstacle exists between a first scene sampling point and the second scene sampling point, determining a middle point from the first scene sampling point to the second scene sampling point based on the relative position relation between the obstacle and the first scene sampling point and the second scene sampling point;
step C: taking the middle point as a new first scene sampling point, taking the next scene sampling point of the second scene sampling point as a new second scene sampling point, and repeatedly executing the steps A-D until the second scene sampling point is an end point;
step D: and generating and displaying a scene route in the game scene according to the starting position, the neutral point and the end position.
In a possible implementation manner, the processing module is specifically configured to:
detecting whether a position point without an obstacle exists between the preset direction of the origin point and the first scene sampling point or not by taking the first scene sampling point as the origin point and a preset distance as a radius;
If so, the location point is determined to be the neutral point.
In a possible implementation manner, the processing module is specifically configured to:
determining first coordinate information of each map sampling point in the map on the map route;
respectively acquiring first size information of the map and second size information of the game scene;
determining second coordinate information of each scene sampling point corresponding to each map sampling point in the game scene according to the first coordinate information, the first size information and the second size information;
and generating and displaying a scene route in the game scene according to the second coordinate information.
In one possible implementation manner, the display module is specifically configured to:
acquiring the height information of each scene sampling point in the game scene;
and displaying the scene route in the game scene according to the second coordinate information of each scene sampling point in the game scene and the height information.
In a possible implementation manner, the receiving module is further configured to receive a second marking operation acting on the scene interface;
the processing module is further configured to clear the scene route according to the second marking operation.
In one possible implementation, the scene interface includes a preset control; the second marking operation is an operation of touching on the preset control.
In a possible implementation manner, the display module is further configured to display a map identifier on the map according to the map route.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
a processor;
a memory; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method according to the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing a computer program that causes an electronic device to perform the method of the first aspect.
The invention provides a display control method, a device, equipment and a storage medium for a game, wherein a map route is determined in a map through a first marking operation acted on the map, and then a scene route is generated and displayed in a game scene at least according to the map route. Therefore, the function of displaying the scene route in the game scene can be realized, so that other players can be conveniently informed of the scene route, and the other players can quickly determine the correct advancing direction according to the scene route.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a graphical user interface diagram of a prior art game display control method;
FIG. 2 is a flow chart of a method for controlling a game according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for controlling a game according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for controlling a game according to another embodiment of the present invention;
FIG. 5 is a schematic illustration of determining a scene route;
FIG. 6 is another schematic illustration of determining a scene route;
FIG. 7 is a graphical user interface diagram of a method for controlling the display of a game provided by the present invention;
FIG. 8 is a diagram of another graphical user interface of a game display control method according to the present invention;
FIG. 9 is a diagram of a graphical user interface of a game display control method according to the present invention;
FIG. 10 is a schematic diagram of a graphical user interface of a game display control method according to the present invention;
FIG. 11 is a schematic diagram of a game display control device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the conventional shooting game application, when a team is formed to complete a task, if a player wants to inform other players of a target object or a location of the target object, or needs other players to reach a certain position, a touch operation such as clicking is usually performed on a map to mark the position. In addition, the position is marked correspondingly in the game scene. Thus, in team mode, other players may see the marked target location point in the map control and thus operate in accordance with the marked target location point. However, in the above manner, the player can only inform other players of the information of the target position point, but cannot inform other players of the tactical route, so that it is difficult for other players to determine the correct forward direction reaching the target position point.
In view of the above-described problems, embodiments of the present invention provide a display control method of a game, which can determine a map route in a map according to a first marking operation acting on the map, and then generate and display a scene route in a game scene at least according to the map route. Therefore, the function of displaying the scene route in the game scene can be realized, so that other players can be conveniently informed of the scene route, and the other players can quickly determine the correct advancing direction according to the scene route.
The scheme can be applied to various electronic devices capable of playing games, including terminals such as tablet computers, smart phones and intelligent game machines, which are provided with game clients, background servers of game software/clients and the like, and is not particularly limited.
The technical scheme of the invention is described in detail below by specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 2 is a schematic flow chart of a game display control method according to an embodiment of the present invention, in which a software application is executed on a processor of a terminal and a graphical user interface is rendered on a display of the terminal, where the graphical user interface at least includes a scene interface, and the scene interface displays a game scene of the game and a map corresponding to the game scene.
As shown in fig. 2, the display control method of the game specifically includes:
step 201: a first marking operation is received that acts on the map.
In this scenario, it should be understood that, when the game software is executed by the processor on the display of the execution subject, the scene image of the game is rendered, that is, the graphical user interface described above, and the graphical user interface in this example embodiment may be all displayable areas of the electronic device, that is, full screen display; but may also be part of a displayable area of the electronic device, i.e. a window display.
At least a scene interface is provided in the graphical user interface, and a game scene of a game and a map corresponding to the game scene are displayed in the scene interface. In a specific implementation of this aspect, the first marking operation refers to an operation performed by the player on the map, for example, by performing a sliding operation in the map, and the electronic device running the game will acquire the first marking operation. In addition, the first marking operation may be an operation performed by the player on the map in a hover manner, for example, the first marking operation may be acquired by the electronic device running the game by performing hover control in the map.
In this scenario, the map may typically present a pattern of widget display in the graphical user interface, such that the player's operation will not be affected. When the user wants to trigger the first marking operation, in order to improve accuracy, the map may be enlarged by any one or a combination of multiple ways, such as clicking, sliding or pressing, and then the first marking operation is triggered in the enlarged map.
Further, the graphical user interface also includes a control for drawing a route, and the user can click on the control and then slide in the map area to trigger the first marking operation.
Step 202: according to the first marking operation, a map route is determined in the map.
In this embodiment, after receiving a first marking operation triggered by a user, the electronic device samples the first marking operation according to a preset sampling rule to obtain a plurality of map sampling points, so as to determine a map route according to the plurality of map sampling points.
Specifically, the preset sampling rule may include sampling once every preset number of pixel points, so that the electronic device may sample to obtain a plurality of map sampling points according to the first marking operation, and then connect the plurality of map sampling points into a line, so that a map route may be determined in the map. The preset number may be selected according to actual situations or experience, for example, may be selected according to a length of a map route, if the map route is longer, a value of the preset number may be set to be larger, if the map route is shorter, a value of the preset number may be set to be smaller, etc., where the preset number may be set to be 70, for example, and the embodiment of the present invention is not limited to a specific value of the preset number.
If the first marking operation is a sliding operation, the starting position of the map route may be a position of the finger for starting to touch the gui, and the ending position of the map route may be a position of the finger for leaving the gui. Another example is: if the first marking operation is a continuous clicking operation, the position of the previous clicking graphical user interface is determined to be a starting position, and the position of the subsequent clicking graphical user interface is determined to be an end position.
In addition, optionally, the map route may be displayed in a map, and at this time, the player may conveniently learn route information according to the displayed map route. Of course, the map route may not be displayed on the map, and in this case, a map identifier for identifying the map route may be displayed on the map according to the map route. If there are multiple map routes in the map, the player can display the corresponding map route in the map by clicking on the map identification.
Step 203: scene routes are generated and displayed in the game scene based at least on the map routes.
In this embodiment, after determining the map route, the electronic device determines coordinate information of a scene sampling point corresponding to each map sampling point in the map route in the game scene according to the size of the map and the size of the game scene, so that a scene route corresponding to the map route can be generated in the game scene, and the scene route can be displayed in the game scene. Because the scene route can be displayed in the game scene, other players can be conveniently informed of tactical routes, and the other players can quickly determine the correct advancing direction according to the displayed scene route, so that the players can quickly move to the destination according to the scene route.
The embodiment of the invention provides a game display control method, which can determine a map route in a map according to a first marking operation after receiving the first marking operation acted on the map, and then generate and display a scene route in a game scene at least according to the map route. Therefore, the function of displaying the scene route in the game scene can be realized, so that other players can be conveniently informed of the scene route, and the other players can quickly determine the correct advancing direction according to the scene route in the game scene.
Fig. 3 is a flowchart of a game display control method according to another embodiment of the present invention, and details of how a specific implementation of a scene route is generated and displayed in a game scene according to a map route are described based on the embodiment shown in fig. 2. As shown in fig. 3, the display control method of the game specifically includes:
step 301: a first marking operation is received that acts on the map.
Step 302: according to the first marking operation, a map route is determined in the map.
Steps 301 to 302 are similar to steps 201 to 202 and are not described here.
Step 303: the current position of the target object is obtained.
In this embodiment, the target object may be a certain game character in the terminal that receives the first marking operation, for example, a certain game character in a game scene on an electronic device held by the user, or may be at least one second game character that is in the same camp with the game character, for example, a certain game character controlled by another user in a game scene on an electronic device held by another user (such as a teammate).
In addition, the current position of the acquisition target object may be a position where the acquisition target object is currently located in the game scene.
Step 304: scene routes are generated and displayed in the game scene based on the current location and the map route.
In this embodiment, when generating the scene route, the scene sampling point may be determined according to the map route, and the scene route may be generated and displayed in the game scene according to the scene sampling point.
The map route comprises at least two map sampling points, and the electronic equipment can determine scene sampling points in the game scene corresponding to the map sampling points according to the map sampling points. Specifically, after a map route is generated in a map, each map sampling point is projected into a game scene according to first coordinate information of each map sampling point on the map route in the map, first size information of the map and second size information of the game scene, and a plurality of corresponding scene sampling points are obtained. Specifically, assuming that the first size information of the acquired map includes a width W and a length H, the coordinate start point is (0, 0), and the second size information of the acquired game scene includes a width W and a length H, the coordinate start point is (X0, Y0). The coordinate starting point of the map may be a center point, or may be any one of an upper left corner, an upper right corner, a lower left corner, or a lower right corner, and similarly, the coordinate starting point of the game scene may be a center point, or may be any one of an upper left corner, an upper right corner, a lower left corner, or a lower right corner.
As will be appreciated by those skilled in the art, if a certain map sampling point on the map route is (xs, ys) in the first coordinate information in the map, after mapping the map sampling point into the game scene, the coordinates (Xbig, ybig) of the scene sampling point in the game scene can be calculated according to the following formula (1) and formula (2):
Xbig=xs*(W/w)-X0 (1)
Ybig=ys*(H/h)-Y0 (2)
thus, a plurality of scene sampling points can be obtained, and the scene sampling points are connected into a line, so that a scene route can be generated.
Further, since the map is two-dimensional and includes only plane information, and the game scene is three-dimensional, after determining the second coordinate information of each scene sampling point in the game scene, if the scene route is to be displayed in the three-dimensional game scene, it is also necessary to acquire the height information of each scene sampling point in the game scene on the scene route, and then display the target route in the game scene according to the second coordinate information and the height information of each scene sampling point in the game scene.
Specifically, the electronic device may read the height information of each sampling point on the target route from the map information of the game scene, and then determine, according to the determined plane information and the determined height information, the specific coordinates of each sampling point in the game scene, so that the target route may be displayed in the game scene.
In this embodiment, the height information of each scene sampling point on the scene route in the game scene is read, and then the scene route is displayed in the game scene through the second coordinate information and the height information, so that the displayed scene route can be attached to the ground.
Further, after the current position of the target object is obtained, a scene route may be generated in the game scene according to the above manner in combination with the current position of the target object and the map route, so as to display.
Specifically, the target object may be a first game role corresponding to the terminal that receives the first marking operation or at least one second game role that is in the same camp with the first game role, and when generating and displaying a scene route in the game scene according to the current position and the map route, a scene route with the current position as a starting point may be generated and displayed in the game scene according to the map route.
When the target object is a first game role corresponding to the terminal for receiving the first marking operation, the determined scene route is a route taking the current position of the first game role as a starting point, and when the target object is at least one second game role which is in the same battle as the game role, the determined scene route is a route taking the current position of the second game role as the starting point, so that the route taking the current position of the second game role controlled by each team friend as the starting point is displayed on a graphical user interface of the electronic equipment corresponding to each team friend, and a user can conveniently and quickly determine the correct advancing direction.
In one possible implementation, when generating and displaying a scene route with a current position as a starting point in a game scene according to a map route, an initial scene route may be generated and displayed in the game scene according to the map route, and it is determined that the current position and the initial scene route satisfy a first preset distance threshold, and a connection route is displayed between the initial scene route and a target object to form the scene route with the current position as the starting point.
Specifically, after a map route is generated in a map, according to first coordinate information of each map sampling point on the map route in the map, first size information of the map and second size information of a game scene, each map sampling point is projected into the game scene according to a formula (1) and a formula (2), a plurality of corresponding scene sampling points are obtained, and after the plurality of scene sampling points are connected into a line, an initial scene route can be obtained.
When the distance between the current position of the target object and the initial scene route is smaller than or equal to the first preset distance threshold, that is, when the target object moves to the vicinity of the initial scene route, a connection route is displayed between the initial scene route and the target object, so that a scene route taking the current position of the target object as a starting point can be formed. Therefore, the initial scene route can be generated in advance according to the map route, and when the player moves to the vicinity of the initial scene route, the scene route taking the current position of the target object as the starting point can be formed, so that the player can conveniently and quickly determine the correct advancing direction.
The first preset distance threshold may be selected according to practical situations, for example, may be set to 5cm or 3cm, and the specific value of the first preset distance threshold is not limited herein.
In another possible implementation manner, when determining the scene route, the electronic device may directly determine the scene route in the game scene according to the current position and the determined plurality of scene sampling points after determining the current position of the target object. The method for determining the scene sampling points is similar to the above determination method, and will not be repeated here.
On the basis of the above embodiments, the scene route includes at least two scene sampling points, where the scene sampling points are sampling points determined according to the map route, and when the scene route is generated and displayed in the game scene, if the scene sampling points touch an obstacle, the scene route may be generated in two ways as follows:
first kind: if at least one scene sampling point is positioned on an obstacle in the game scene, determining that the current position and the scene sampling point meet a second preset distance threshold, correcting the position of the scene sampling point to other positions outside the obstacle, and generating and displaying a scene route in the game scene according to the corrected position of the scene sampling point.
Specifically, according to the above formula (1) and formula (2), at least two scene sampling points in the game scene can be determined according to the map sampling points on the map route. If at least one scene sampling point exists in the determined scene sampling points and is positioned on an obstacle in the game scene, and the scene sampling points positioned on the obstacle are displayed in the game scene in a historical time period, at this time, after the target object moves to the vicinity of the scene sampling points, the positions of the scene sampling points are corrected to other positions outside the obstacle, so that the scene sampling points which are not positioned on the obstacle and the corrected scene sampling points can be connected into a line, namely, a scene route can be generated in the game scene and displayed in the game scene.
In the method, if scene sampling points positioned on the obstacles in the game scene exist, and the scene sampling points positioned on the obstacles are displayed in the game scene in a historical time period, after the target object moves to the vicinity of the scene sampling points, the positions of the scene sampling points are corrected, so that the generated scene route is displayed outside the obstacles, the accuracy of the determined scene route can be improved, and a player can move around the obstacles.
Second kind: if at least one scene sampling point is positioned on an obstacle in the game scene, determining a neutral point according to the position of the obstacle, and generating and displaying a scene route in the game scene according to the neutral point.
Specifically, according to the above formula (1) and formula (2), at least two scene sampling points in the game scene can be determined according to the map sampling points on the map route. If at least one scene sampling point exists in the determined scene sampling points and is located on an obstacle in the game scene, and the scene sampling points located on the obstacle are not displayed in the game scene, at the moment, at least one middle point can be selected around the obstacle, wherein the selected at least one middle point is not located on the obstacle, and therefore the scene sampling points which are not located on the obstacle and the selected middle point can be connected into a line, a scene route can be generated in the game scene and displayed in the game scene.
In the method, if scene sampling points on the obstacle in the game scene exist, and the scene sampling points on the obstacle are not displayed in the game scene, at least one neutral point which is not positioned on the obstacle is selected at the periphery of the obstacle, so that the generated scene route is displayed outside the obstacle, the accuracy of the determined scene route can be improved, and a player can move forward around the obstacle.
According to the game display control method provided by the embodiment of the invention, after the first marking operation acted on the map is received, the map route can be determined in the map according to the first marking operation, and then the scene route is generated and displayed in a game scene at least according to the map route. Therefore, the function of displaying the scene route in the game scene can be realized, so that other players can be conveniently informed of the scene route, and the other players can quickly determine the correct advancing direction according to the scene route in the game scene. In addition, after the current position of the target object is obtained, a scene route can be generated and displayed in the game scene according to the current position and the map route, so that the scene route can be generated according to the position of the target object, and the operation of a player is greatly facilitated.
Fig. 4 is a flow chart of a game display control method according to another embodiment of the present invention, and on the basis of the embodiment shown in fig. 2, a detailed description is given of how a scene route is generated according to a map route. As shown in fig. 4, the display control method of the game specifically includes:
Step 401: a first marking operation is received that acts on the map.
Step 402: according to the first marking operation, a map route is determined in the map.
Steps 401 to 402 are similar to steps 201 to 202 and are not described here.
Step 403: scene sampling points are determined according to the map route.
In this step, after a map route is generated in the map, the first coordinate information of each map sampling point in the map according to the map route, the first size information of the map and the second size information of the game scene are projected into the game scene according to the foregoing formula (1) and formula (2), so as to obtain a plurality of corresponding scene sampling points.
Step 404: and generating and displaying a scene route in the game scene according to the scene sampling points.
In this step, a scene route may be generated according to the obtained plurality of scene sampling points, and, for example, the plurality of scene sampling points may be directly connected into a line, so as to obtain the scene route.
Optionally, in the process of generating the scene route according to the scene sampling points, whether an obstacle exists between the scene sampling points can be further determined, and if the obstacle exists, the obstacle can be avoided when the scene route is generated, so that the player can smoothly arrive at the destination according to the generated scene route. Wherein the obstacle may be an island, a wall, a tree, or the like, but is not limited thereto.
In a specific implementation, it may be determined whether an obstacle exists between the first scene sampling point and the second scene sampling point, where the first scene sampling point and the second scene sampling point are two adjacent scene sampling points, and if no obstacle exists between the first scene sampling point and the second scene sampling point, it is indicated that the first scene sampling point and the second scene sampling point can pass through each two adjacent scene sampling points, and at this time, the first scene sampling point and the second scene sampling point may be connected, so that a plurality of sub-line segments may be obtained.
In one implementation manner, if the scene route is short and no obstacle exists between all adjacent scene sampling points, the obtained plurality of sub-line segments may be connected, that is, all the scene sampling points are connected, and the route after connection is determined as the scene route.
For example, fig. 5 is a schematic diagram of determining a scene route, as shown in fig. 5, where there are a plurality of scene sampling points A1, A2 … … A6 between a start position a of the scene route and an end position B of the scene route, and no obstacle exists between all adjacent scene sampling points, such as between a and A1, between A1 and A2, between A2 and A3, between A3 and A4, between A4 and A5, between A5 and A6, and between A6 and B, then a connection line between A, A, A2 … … A6 and B may be determined as the scene route.
In addition, if an obstacle exists between the first scene sampling point and the second scene sampling point, determining a middle point from the first scene sampling point to the second scene sampling point based on the relative position relation between the obstacle and the first scene sampling point and the second scene sampling point, taking the middle point as a new first scene sampling point, taking the next scene sampling point of the second scene sampling point as a new second scene sampling point, repeating the process until the second scene sampling point is the end point of the scene route, and then generating and displaying the scene route in the game scene according to the starting position of the scene route, the determined middle point and the end point position of the scene route.
Specifically, the first scene sampling point and the second scene sampling point are any two scene sampling points between the starting position of the scene route and the end position of the scene route, and the first scene sampling point and the second scene sampling point are adjacent scene sampling points.
In the scheme, one or more obstacles may exist between the first scene sampling point and the second scene sampling point, so that in a specific implementation process, each obstacle can be sequentially avoided to find the neutral point according to the actual situation of the obstacle.
Optionally, in one implementation manner, when determining the middle point, the first scene sampling point may be taken as an origin point, and the preset distance may be taken as a radius to detect whether a position point without an obstacle exists between the preset direction of the origin point and the first scene sampling point; if so, the location point is determined to be a neutral point.
Specifically, the preset distance can be flexibly set according to actual requirements, for example, 5 meters, 10 meters, and the like. The preset direction can be one or more of east, south, west, north, southeast, northwest, northeast, northwest and the like.
If there is a position point without an obstacle between the first scene sampling point and the preset direction of the origin, the position point may be determined as a neutral point. In addition, if no position point with no obstacle exists between the first scene sampling point and the preset direction of the origin, the preset distance is increased, the first scene sampling point is taken as the origin, the increased preset distance is taken as the radius, and whether the position point with no obstacle exists between the preset direction of the origin and the first scene sampling point is detected until the neutral point is found.
Fig. 6 is another schematic diagram of determining a scene route, as shown in fig. 6, in which a plurality of scene sampling points A1, A2 … … A6 exist between a start position a of the scene route and an end position B of the scene route, and if it is determined that an obstacle exists between a and A1, the point a is taken as an origin, a preset distance is taken as a radius, and whether a position point without the obstacle exists between the first scene sampling point and the preset direction of the origin is detected. For example, assuming that the preset direction includes an arbitrary direction, the preset distance is 3m, if no obstacle is detected between the B1 point and the a point, the B1 point is taken as the intermediate point, and the a and the intermediate point B1 are connected in a line.
At this time, it is continued to determine whether or not there is an obstacle between the middle point B1 and the next scene sampling point A2 of A1, and if there is an obstacle, the middle point B2 between the middle point B1 and the next scene sampling point A2 is determined in the manner described above, and the middle point B1 and the middle point B2 are connected in a line. It should be noted that if there is no obstacle between the middle point B1 and the next scene sampling point A2, the middle point B1 may be directly connected to the next scene sampling point A2 in a line. And so on until reaching the end position B, and thus, all the connecting lines are connected to form the scene route.
In this embodiment, since the scene route from the start position of the scene route to the end position of the scene route is found by the scene sampling point, the efficiency and accuracy of the scene route determination can be improved.
In addition, when the obstacle exists, the scene route can be corrected, so that the situation that the player encounters the obstacle in the passing process is avoided.
Further, in order to reduce the amount of calculation, in a specific implementation process, it is generally only necessary to detect an obstacle between every two scene sampling points in a path of 300 meters in the field of view. In addition, whether an obstacle exists between every two scene sampling points or not can be stored after detection, so that in practical application, detection is performed on newly added scene sampling points according to the detection mode, and detection results only need to be obtained from a cache for non-newly added scene sampling points, and the efficiency of determining a scene route can be greatly improved.
In addition, optionally, when detecting that an obstacle is detected to correct the scene route, scanning can be started from the starting position of the scene route, calculating the difference value between each other scene sampling point and the starting position, determining the scene sampling point with the smallest difference value as the point closest to the starting position, then clearing the scene sampling point determined before, and connecting the current scene sampling point and the subsequent scene sampling point into a new path.
The embodiment of the invention provides a game display control method, which can determine a map route in a map according to a first marking operation acted on the map, and then generate and display a scene route in a game scene at least according to the map route. Therefore, the function of displaying the scene route in the game scene can be realized, so that other players can be conveniently informed of the scene route, and the other players can quickly determine the correct advancing direction according to the displayed scene route.
Additionally, based on the above embodiments, it should be appreciated that after a scene route is displayed in a game scene, the scene route may be cleared if the player no longer needs the scene route. Specifically, the scene route may be cleared by receiving a second marking operation acting in the scene interface and then based on the second marking operation.
Specifically, the aforementioned scene interface includes a preset control, and the second marking operation may be an operation of touching on the preset control, where the second marking operation may be at least one of the following: click, touch, long press, and heavy press. Taking click operation as an example, after the player clicks the preset control, the electronic device clears the scene route displayed in the game scene before according to the preset control. In addition, if there are multiple scene routes, the multiple scene routes can be all cleared, the scene route with the longest display time can be cleared, and the scene route displayed last time can be cleared, and of course, prompt information can be sent out to enable the user to select the scene route to be deleted.
In this embodiment, when the player decides to clear the scene route, the displayed scene route can be cleared, which is convenient for the player to operate and improves the user experience.
On the basis of the above-described embodiments, a display control method of a game provided by the present invention will be described below by way of a specific example.
Fig. 7 is a schematic diagram of a graphical user interface in a game display control method provided by the invention. As shown in fig. 7, the graphical user interface of the electronic device includes at least a scene interface, where a game scene 21 of the game and a map 20 corresponding to the game scene are displayed, and a user's finger slides in the area of the map 20 to trigger the first marking operation, so that a map route is displayed in the area of the map 20.
FIG. 8 is a diagram of another graphical user interface for controlling the display of a game according to the present invention. As shown in fig. 8, in order to facilitate player operation, in response to player's demand, when generating a scene route, the map 20 is reduced to a small window display, and a scene route 24 is generated and displayed in the game scene 21 based on at least the map route 26 in the map area, wherein the scene route 24 is a route from the start position 23 to the end position 22. In this way, players can conduct tactical commands based on the scene route 24, and other players can effectively and accurately determine the correct heading.
The starting position 23 of the scene route 24 may be the starting position of the first game character 27 corresponding to the terminal that receives the first marking operation, or may be the starting position of the second game character 28 that is in the same camp with the first game character 27.
The map route 26 in the map 20 may be continuously displayed, or only the map identifier may be displayed.
Fig. 9 is a schematic diagram of a graphical user interface in a game display control method according to the present invention. As shown in fig. 9, when generating the scene route, the electronic device may further generate and display an initial scene route 29 in the game scene 21 according to the map route 26, and when the game character 28 moves to the vicinity of the initial scene route 29, that is, when the distance between the current position of the game character 28 and the initial scene route 29 is less than or equal to a first preset distance threshold, display a connection route 30 between the initial scene route 29 and the game character 28, so that the scene route with the game character 28 as a starting point may be formed.
Fig. 10 is a schematic diagram of a graphical user interface in a game display control method according to the present invention. As shown in fig. 10, when the player decides to clear the scene route, the scene path displayed in the game scene 21 can be cleared by a marking operation on the preset control 25.
The display control method of the game provided by the embodiment of the invention can determine the map route in the map according to the first marking operation acted on the map, and then generate and display the scene route in the game scene at least according to the map route. Therefore, the function of displaying the scene route in the game scene can be realized, so that other players can be conveniently informed of the scene route, and the other players can quickly determine the correct advancing direction according to the displayed scene route.
Fig. 11 is a schematic structural diagram of a display control device for a game according to an embodiment of the present invention, and as shown in fig. 11, the display control device 10 for a game includes: a receiving module 11, a processing module 12 and a display module 13.
The software application is executed on the processing module 12 of the display control device 10 of the game, and a graphical user interface is rendered on the display module 13 of the display control device 10 of the game, wherein the graphical user interface at least comprises a scene interface, and the scene interface displays a game scene of the game and a map corresponding to the game scene.
A receiving module 11 for receiving a first marking operation acting on the map;
a processing module 12 for determining a map route in the map according to the first marking operation;
the processing module 12 is further configured to generate a scene route in the game scene at least according to the map route;
and the display module 13 is used for displaying the scene route.
The display control device for the game provided by the embodiment of the invention can determine the map route in the map according to the first marking operation acted on the map, and then generate and display the scene route in the game scene at least according to the map route. Therefore, the function of displaying the scene route in the game scene can be realized, so that other players can be conveniently informed of the scene route, and the other players can quickly determine the correct advancing direction according to the displayed scene route.
Optionally, the processing module 12 is specifically configured to:
acquiring the current position of a target object;
and generating and displaying the scene route in the game scene according to the current position and the map route.
Optionally, the target object is a first game role corresponding to the terminal receiving the first marking operation or at least one second game role which is in the same camp with the game role;
The processing module 12 is specifically configured to: and generating and displaying the scene route taking the current position as a starting point in the game scene according to the map route.
Optionally, the processing module 12 is specifically configured to:
generating and displaying an initial scene route in the game scene according to the map route;
and determining that the current position and the initial scene route meet a first preset distance threshold, and displaying a connecting route between the initial scene route and the target object to form the scene route taking the current position as a starting point.
Optionally, the scene route includes at least two scene sampling points, and the scene sampling points are sampling points determined according to the map route;
the processing module 12 is specifically configured to:
if at least one scene sampling point is positioned on an obstacle in the game scene, determining that the current position and the scene sampling point meet a second preset distance threshold, and correcting the position of the scene sampling point to other positions outside the obstacle;
and generating and displaying a scene route in the game scene according to the position of the corrected scene sampling point.
Optionally, the scene route includes at least two scene sampling points, and the scene sampling points are sampling points determined according to the map route;
the processing module 12 is specifically configured to:
if at least one scene sampling point is positioned on an obstacle in the game scene, determining a neutral point according to the position of the obstacle;
and generating and displaying a scene route in the game scene according to the medium-point.
Optionally, the processing module 12 is specifically configured to:
determining scene sampling points according to the map route;
and generating and displaying a scene route in the game scene according to the scene sampling points.
Optionally, the processing module 12 is specifically configured to:
receiving the first marking operation, and sampling the first marking operation according to a preset sampling rule to obtain a plurality of map sampling points;
and determining the map route according to the map sampling points.
Optionally, the processing module 12 is specifically configured to:
step A: judging whether an obstacle exists between the first scene sampling point and the second scene sampling point; the first scene sampling point and the second scene sampling point are two adjacent scene sampling points;
And (B) step (B): if an obstacle exists between a first scene sampling point and the second scene sampling point, determining a middle point from the first scene sampling point to the second scene sampling point based on the relative position relation between the obstacle and the first scene sampling point and the second scene sampling point;
step C: taking the middle point as a new first scene sampling point, taking the next scene sampling point of the second scene sampling point as a new second scene sampling point, and repeatedly executing the steps A-D until the second scene sampling point is an end point;
step D: scene routes are generated and displayed in the game scene according to the starting position, the neutral point and the end position.
Optionally, the processing module 12 is specifically configured to:
detecting whether a position point without an obstacle exists between the preset direction of the origin point and the first scene sampling point or not by taking the first scene sampling point as the origin point and a preset distance as a radius;
if so, the location point is determined to be the neutral point.
Optionally, the processing module 12 is specifically configured to:
determining first coordinate information of each map sampling point in the map on the map route;
Respectively acquiring first size information of the map and second size information of the game scene;
determining second coordinate information of scene sampling points corresponding to each map sampling point in the game scene according to the first coordinate information, the first size information and the second size information;
and generating and displaying a scene route in the game scene according to the second coordinate information.
Optionally, the display module 13 is specifically configured to:
acquiring the height information of each scene sampling point in the game scene;
and displaying the scene route in the game scene according to the second coordinate information of each scene sampling point in the game scene and the height information.
Optionally, the receiving module 11 is further configured to receive a second marking operation acting on the scene interface;
the processing module 12 is further configured to clear the scene route according to the second marking operation.
In one possible implementation, the scene interface includes a preset control; the second marking operation is an operation of touching on the preset control.
In a possible implementation manner, the display module is further configured to display a map identifier on the map according to the map route.
The above device may be used to execute the method provided by the corresponding method embodiment, and the specific implementation manner and technical effects are similar, and are not repeated here.
The above processing modules may be configured as one or more integrated circuits implementing the above methods, for example: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more microprocessors (digital singnal processor, abbreviated as DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), or the like. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 12 is a schematic structural diagram of an electronic device according to another embodiment of the present invention, as shown in fig. 12, the electronic device at least includes:
a processor;
a memory for storing a computer program of the processor; the method comprises the steps of,
A display for displaying data and a graphical user interface according to control of the processor;
wherein the processor is configured to implement the display control method of the game provided by any one of the implementation manners of the foregoing method embodiments by executing the computer program.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a display control method for a game provided by any one of the foregoing method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the invention. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

Claims (16)

1. A display control method of a game, comprising: executing a software application on a processor of a terminal and rendering a graphical user interface on a display of the terminal, wherein the graphical user interface at least comprises a scene interface, the scene interface displays a game scene of the game and a map corresponding to the game scene, and the game scene is a three-dimensional game scene, and the method comprises the following steps:
receiving a first marking operation acting on the map;
determining a map route in the map according to the first marking operation; generating and displaying a scene route in the game scene at least according to the map route;
the generating and displaying a scene route in the game scene at least according to the map route comprises: acquiring a current position of a target object, wherein the current position is a position to which the target object moves in the game scene according to a movement control operation triggered by response through a graphical user interface;
generating and displaying an initial scene route in the game scene according to the map route; and when the current position and the initial scene route are determined to meet a first preset distance threshold, displaying a connecting route between the initial scene route and the target object to form a scene route taking the current position as a starting point.
2. The method of claim 1, wherein the target object is a first game character corresponding to a terminal receiving a first marking operation or at least a second game character that is in a same camp with the first game character.
3. The method of claim 1, wherein the scene route comprises at least two scene sampling points, the scene sampling points being sampling points determined from the map route;
the step of generating and displaying a scene route in the game scene at least according to the map route comprises the following steps:
if at least one scene sampling point is positioned on an obstacle in the game scene, determining that the current position and the scene sampling point meet a second preset distance threshold, and correcting the position of the scene sampling point to other positions outside the obstacle;
and generating and displaying a scene route in the game scene according to the position of the corrected scene sampling point.
4. The method of claim 1, wherein the scene route comprises at least two scene sampling points, the scene sampling points being sampling points determined from the map route;
The step of generating and displaying a scene route in the game scene at least according to the map route comprises the following steps:
if at least one scene sampling point is positioned on an obstacle in the game scene, determining a neutral point according to the position of the obstacle;
and generating and displaying a scene route in the game scene according to the medium-point.
5. The method of claim 1, wherein the step of generating and displaying an initial scene route in the game scene from the map route comprises:
determining scene sampling points according to the map route;
and generating and displaying an initial scene route in the game scene according to the scene sampling points.
6. The method of claim 1, wherein said determining a map route in the map according to the first marking operation comprises:
receiving the first marking operation, and sampling the first marking operation according to a preset sampling rule to obtain a plurality of map sampling points;
and determining the map route according to the map sampling points.
7. The method of claim 5, wherein the step of generating and displaying an initial scene route in the game scene from the scene sampling points comprises:
Step (a) a: judging whether an obstacle exists between the first scene sampling point and the second scene sampling point; the first scene sampling point and the second scene sampling point are two adjacent scene sampling points;
and (B) step (B): if an obstacle exists between the first scene sampling point and the second scene sampling point, determining a middle point from the first scene sampling point to the second scene sampling point based on the relative position relation between the obstacle and the first scene sampling point and the second scene sampling point;
step C: taking the middle point as a new first scene sampling point, taking the next scene sampling point of the second scene sampling point as a new second scene sampling point, and repeatedly executing the steps A-D until the second scene sampling point is an end point;
step D: and generating and displaying an initial scene route in the game scene according to the starting position, the middle point and the end position.
8. The method of claim 7, wherein the determining a midpoint from the first scene sampling point to the second scene sampling point based on the relative positional relationship between the obstacle and the first scene sampling point and the second scene sampling point comprises:
Detecting whether a position point without an obstacle exists between the preset direction of the origin point and the first scene sampling point or not by taking the first scene sampling point as the origin point and a preset distance as a radius;
if so, the location point is determined to be the neutral point.
9. The method of claim 6, wherein the step of generating and displaying a scene route in the game scene based at least on the map route comprises:
determining first coordinate information of each map sampling point in the map on the map route;
respectively acquiring first size information of the map and second size information of the game scene;
determining second coordinate information of each scene sampling point corresponding to each map sampling point in the game scene according to the first coordinate information, the first size information and the second size information;
and generating and displaying a scene route in the game scene according to the second coordinate information.
10. The method of claim 9, wherein displaying the scene route comprises:
acquiring the height information of each scene sampling point in the game scene;
And displaying the scene route in the game scene according to the second coordinate information of each scene sampling point in the game scene and the height information.
11. The method of claim 1, wherein after the step of generating and displaying a scene route in the game scene based at least on the map route, the method further comprises:
receiving a second marking operation acting on the scene interface;
and clearing the scene route according to the second marking operation.
12. The method of claim 11, wherein the scene interface includes a preset control therein; the second marking operation is an operation of touching on the preset control.
13. The method according to claim 1, wherein the method further comprises:
and displaying a map identifier on the map according to the map route.
14. A display control apparatus for a game, comprising: executing a software application on a processor of a terminal and rendering a graphical user interface on a display of the terminal, wherein the graphical user interface at least comprises a scene interface, the scene interface displays a game scene of the game and a map corresponding to the game scene, the game scene is a three-dimensional game scene, and the device comprises:
A receiving module for receiving a first marking operation acting on the map;
a processing module, configured to determine a map route in the map according to the first marking operation;
the processing module is further used for generating a scene route in the game scene at least according to the map route;
the display module is used for displaying the scene route;
the processing module is specifically used for acquiring the current position of the target object; generating and displaying an initial scene route in the game scene according to the map route; when the current position and the initial scene route are determined to meet a first preset distance threshold, a connecting route is displayed between the initial scene route and the target object so as to form a scene route taking the current position as a starting point; the current position is a position to which the target object moves in the game scene according to a movement control operation triggered by a response through a graphical user interface.
15. An electronic device, comprising:
a processor;
a memory for storing a computer program of the processor; the method comprises the steps of,
a display for displaying data and a graphical user interface according to control of the processor;
Wherein the processor is configured to implement the display control method of the game of any one of claims 1 to 13 by executing the computer program.
16. A computer-readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, implements the display control method of a game according to any one of claims 1 to 13.
CN201910121161.9A 2019-02-19 2019-02-19 Game display control method, device, equipment and storage medium Active CN109806585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910121161.9A CN109806585B (en) 2019-02-19 2019-02-19 Game display control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910121161.9A CN109806585B (en) 2019-02-19 2019-02-19 Game display control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109806585A CN109806585A (en) 2019-05-28
CN109806585B true CN109806585B (en) 2024-02-23

Family

ID=66606859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910121161.9A Active CN109806585B (en) 2019-02-19 2019-02-19 Game display control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109806585B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110115838B (en) * 2019-05-30 2021-10-29 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for generating mark information in virtual environment
CN111097167B (en) * 2019-11-28 2022-05-20 腾讯科技(深圳)有限公司 Movement control method, server, electronic device, and storage medium
CN112764621B (en) * 2021-01-25 2022-07-15 维沃移动通信有限公司 Screenshot method and device and electronic equipment
CN113827971A (en) * 2021-09-24 2021-12-24 网易(杭州)网络有限公司 Game map marking method and device, electronic equipment and storage medium
CN115487498A (en) * 2022-08-05 2022-12-20 网易(杭州)网络有限公司 Game display control method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003000940A (en) * 2001-06-20 2003-01-07 Enix Corp Video game device, recording medium and program
CN1975747A (en) * 2006-10-12 2007-06-06 中山大学 Automatic generating method and apparatus for RPG game scene path
CN107754305A (en) * 2017-10-13 2018-03-06 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN108176050A (en) * 2017-12-07 2018-06-19 北京像素软件科技股份有限公司 Method for searching and device
CN108245888A (en) * 2018-02-09 2018-07-06 腾讯科技(深圳)有限公司 Virtual object control method, device and computer equipment
CN108465240A (en) * 2018-03-22 2018-08-31 腾讯科技(深圳)有限公司 Mark point position display method, device, terminal and computer readable storage medium
CN109260709A (en) * 2018-09-11 2019-01-25 深圳市创梦天地科技有限公司 A kind of generation method and device of dynamic route

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003000940A (en) * 2001-06-20 2003-01-07 Enix Corp Video game device, recording medium and program
CN1975747A (en) * 2006-10-12 2007-06-06 中山大学 Automatic generating method and apparatus for RPG game scene path
CN107754305A (en) * 2017-10-13 2018-03-06 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN108176050A (en) * 2017-12-07 2018-06-19 北京像素软件科技股份有限公司 Method for searching and device
CN108245888A (en) * 2018-02-09 2018-07-06 腾讯科技(深圳)有限公司 Virtual object control method, device and computer equipment
CN108465240A (en) * 2018-03-22 2018-08-31 腾讯科技(深圳)有限公司 Mark point position display method, device, terminal and computer readable storage medium
CN109260709A (en) * 2018-09-11 2019-01-25 深圳市创梦天地科技有限公司 A kind of generation method and device of dynamic route

Also Published As

Publication number Publication date
CN109806585A (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN109806585B (en) Game display control method, device, equipment and storage medium
CN110124310B (en) Method, device and equipment for sharing virtual prop information in game
US11468648B2 (en) Image processing apparatus and image processing method
US9268410B2 (en) Image processing device, image processing method, and program
CN105335064A (en) Information processing method, terminal, and computer storage medium
CN109767447B (en) Template matching method, device, equipment and medium
CN112556685B (en) Navigation route display method and device, storage medium and electronic equipment
CN112179331B (en) AR navigation method, AR navigation device, electronic equipment and storage medium
CN110866497B (en) Robot positioning and mapping method and device based on dotted line feature fusion
US20230260216A1 (en) Point cloud annotation device, method, and program
CN112729327A (en) Navigation method, navigation device, computer equipment and storage medium
CN109983424B (en) Method and device for selecting object in virtual reality scene and virtual reality equipment
CN111126209B (en) Lane line detection method and related equipment
CN113158779B (en) Walking method, walking device and computer storage medium
CN113240656B (en) Visual positioning method and related device and equipment
JP2023503750A (en) ROBOT POSITIONING METHOD AND DEVICE, DEVICE, STORAGE MEDIUM
CN110456903B (en) Three-dimensional drawing method, device, storage medium, processor and terminal
CN114882115B (en) Vehicle pose prediction method and device, electronic equipment and storage medium
CN116966561A (en) Tactical command method and device in game and electronic equipment
CN115220636A (en) Virtual operation method and device, electronic equipment and readable storage medium
CN111784797A (en) Robot networking interaction method, device and medium based on AR
CN110580275A (en) Map display method and device
CN110856254B (en) Vision-based indoor positioning method, device, equipment and storage medium
CN112985372B (en) Path planning system and method thereof
WO2023124113A1 (en) Interaction method and apparatus in three-dimensional space, storage medium, and electronic apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant