CN109833624B - Display method and device for marching line information on virtual map - Google Patents
Display method and device for marching line information on virtual map Download PDFInfo
- Publication number
- CN109833624B CN109833624B CN201711224655.7A CN201711224655A CN109833624B CN 109833624 B CN109833624 B CN 109833624B CN 201711224655 A CN201711224655 A CN 201711224655A CN 109833624 B CN109833624 B CN 109833624B
- Authority
- CN
- China
- Prior art keywords
- marching
- line
- virtual
- target
- trigger operation
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000009471 action Effects 0.000 claims description 75
- 238000011835 investigation Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 6
- 230000009191 jumping Effects 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000002452 interceptive effect Effects 0.000 description 21
- 230000001960 triggered effect Effects 0.000 description 21
- 230000003993 interaction Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 230000002093 peripheral effect Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 210000005155 neural progenitor cell Anatomy 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 241000282693 Cercopithecidae Species 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000012447 hatching Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
- A63F13/56—Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/822—Strategy games; Role-playing games
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Instructional Devices (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a display method and device for marching line information on a virtual map, and belongs to the field of computers. The method comprises the following steps: receiving a first trigger operation acting on a marching line in a virtual map; displaying a positioning control according to the first trigger operation, wherein the positioning control is used for positioning the position of a target marching line on the marching line; receiving a second trigger operation acting on the positioning control; displaying a target map area corresponding to the target marching line position according to the second trigger operation; the method and the device can solve the problem that the efficiency of positioning the position of the target marching line is low in the related technology; when the target marching line position is located by the client, the client can directly jump to the target marching line position corresponding to the location control to display according to the triggering operation of the location control, and the target marching line position is displayed without receiving the dragging operation acting on the virtual map for multiple times, so that the efficiency of displaying the target marching line position can be improved.
Description
Technical Field
The embodiment of the application relates to the field of computers, in particular to a method and a device for displaying route information on a virtual map.
Background
The war strategy type game is a game in which a marching state of at least one virtual character can be displayed on a virtual map through a marching line. Wherein, the marching line is determined according to related action events, the related action events include but are not limited to: a start point (corresponding to a marching line start point) at which the action is executed, and an end point (corresponding to a marching line end point) at which the action is executed.
When the distance between the marching line starting point and the marching line ending point on the virtual map is relatively long, the length of the corresponding marching line is generally long. In this case, the entire route may not be displayed on the currently displayed local virtual map. When the length of the marching line is long, taking the fact that a player needs to check the map image corresponding to the marching line starting point of the marching line as an example, the player can perform dragging operation along the direction of the marching line starting point of the marching line on the screen until the current picture is dragged to display the map image corresponding to the marching line starting point, and the dragging operation is stopped.
As the length of the marching line increases, the number of times the user performs the dragging operation also increases, and the efficiency of displaying a specific position of the marching line on the terminal is low. Such as: the efficiency of displaying the marching line starting point and the marching line ending point by the terminal is low.
Disclosure of Invention
The embodiment of the application provides a display method and device for route information on a virtual map, and the problem that the efficiency of positioning the route position is low can be solved. The technical scheme is as follows:
in one aspect, a display method for line information on a virtual map is provided, the method comprising:
receiving a first trigger operation acting on a marching line in a virtual map, wherein the marching line is used for indicating a marching route of a virtual queue consisting of at least one virtual character;
displaying a positioning control according to the first trigger operation, wherein the positioning control is used for positioning the position of a target marching line on the marching line;
receiving a second trigger operation acting on the positioning control;
and displaying a target map area corresponding to the target marching line position according to the second trigger operation, wherein the target map area is a local map image taking the target marching line position as a reference in the virtual map.
In another aspect, there is provided a display apparatus for line information on a virtual map, the apparatus including:
the system comprises a first receiving module, a first triggering module and a second receiving module, wherein the first triggering module is used for receiving a first triggering operation acting on a marching line in a virtual map, and the marching line is used for indicating a marching route of a virtual queue consisting of at least one virtual role;
the control display module is used for displaying a positioning control according to the first trigger operation, and the positioning control is used for positioning the position of a target marching line on the marching line;
the second receiving module is used for receiving a second trigger operation acting on the positioning control;
and the marching line position positioning module is used for displaying a target map area corresponding to the target marching line position according to the second trigger operation, and the target map area is a local map image which takes the target marching line position as a reference in the virtual map.
In another aspect, a terminal is provided, where the terminal includes a processor and a memory, where the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the display method for the route information on the virtual map provided in the first aspect.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the display method for virtual map camp line information provided in the first aspect.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
displaying a positioning control when a first trigger operation acting on a marching line in the virtual map is received; when a second trigger operation acting on the positioning control is received, displaying a target map area corresponding to the target route position indicated by the positioning control; the problem that when the length of the marching line is long, the efficiency of displaying the target map area corresponding to the position of the target marching line is low can be solved; when the target marching line position is located by the client, the client can directly jump to the target marching line position corresponding to the location control to display according to the triggering operation of the location control, and the target marching line position is displayed without receiving the dragging operation acting on the virtual map for multiple times, so that the efficiency of displaying the target marching line position can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of a marching line provided in an exemplary embodiment of the present application;
FIG. 2 is a schematic illustration of a marching line provided in accordance with another exemplary embodiment of the present application;
FIG. 3 is a flowchart of a method for displaying route information on a virtual map according to an embodiment of the present application;
FIG. 4A is a schematic diagram illustrating a position of a marching line provided by one embodiment of the present application;
FIG. 4B is a schematic diagram illustrating a position of a marching line provided in accordance with another embodiment of the present application;
FIG. 5 is a flow diagram of a display positioning control provided by one embodiment of the present application;
FIG. 6 is a flow diagram of displaying a prompt message provided by one embodiment of the present application;
FIG. 7 is a flow chart of displaying a prompt message provided by another embodiment of the present application;
fig. 8 is a flowchart of a display method for route information on a virtual map according to another embodiment of the present application;
fig. 9 is a schematic diagram illustrating a correspondence relationship between a marching object and a display manner according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a display device for displaying route information on a virtual map according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
For convenience of understanding, several terms appearing in the embodiments of the present invention are explained below.
War strategy type games: the method is a client for supporting players to build virtual buildings in a virtual world according to development strategies and take other virtual buildings according to war strategies.
The functions provided by the war strategy type game include, but are not limited to, the following: displaying a virtual map, creating a virtual queue, creating a game league, displaying a camp line, etc.
These functions are described below:
1. virtual map: in the war strategy type game, symbols, colors, character labels and the like are used according to a certain proportion to describe images of natural geography, administrative regions, social and economic conditions in the virtual world. Such as: displaying a virtual building in the virtual world in a virtual map, the virtual building being created according to an operation of a player; or, default settings in the game.
Alternatively, the virtual map may be a 2D map image generated based on a two-dimensional (2D) approach; or, a 2.5D map image generated based on a 2.5D (or pseudo-3D) approach; or a 3D map image generated based on 3D means.
Alternatively, the virtual map may also be referred to as a large map, a virtual large map, a game large map, or the like, and the name of the virtual map is not limited in this embodiment.
2. Virtual queue: is comprised of at least one virtual character in a war strategy type game. The virtual queues are used for marching purposes.
Alternatively, military purposes include, but are not limited to: a signature (including attack complete and return), an attack (including attack complete and return), a reconnaissance (including reconnaissance complete and return), an aid (including aid complete and return), a tag (including tag complete and return), and the like.
Optionally, the at least one virtual role in the virtual queue comprises: a virtual character controlled by a player; and/or virtual characters provided by a war strategy type game, such as: Non-Player controlled characters (Non Player Character, NPC).
3. And (3) game league: a league of virtual characters controlled by at least one player in a war strategy type game.
Optionally, a game league is used to assist the player in completing tasks in the game, such as: the player is assisted to achieve the marching purpose, and the player is assisted to create a virtual building and the like.
4. Marching line: for representing a marching route of a virtual queue composed of at least one virtual character. The marching line consists of a marching line starting point, a marching line terminal point and a marching path.
Alternatively, the marching line may be a straight line connecting the starting point and the ending point of the marching line; alternatively, the line may be a curve connecting the starting point and the ending point of the marching line, and the type of the marching line is not limited in this embodiment.
Alternatively, the marching lines may be displayed in different display manners according to different marching purposes. Such as: in different colors, in different line thicknesses, in different types of lines (broken lines, solid lines, etc.), and the like.
Illustratively, the marching line can be displayed in the following display manner according to the marching purpose:
when the marching aims at the return of the token or the token, the marching line is displayed in red;
when the marching aims at investigation or investigation return, the marching line is displayed to be orange;
when the marching purpose is marking or the mark returns, the marching line is displayed to be yellow;
the marching line is displayed in blue when the marching object is attack, attack return, assistance or assistance return.
Optionally, the marching line is automatically generated by the war strategy game when the player starts marching; alternatively, the marching line is generated by a player selection.
Taking as an example that a marching line is automatically generated by a war strategy game when a player performs a marching purpose, referring to a display interface of a war strategy type game shown in fig. 1, the display interface includes a partial virtual map 101, and assuming that the marching purpose of the player is featured, a marching line 102 is displayed on the partial virtual map 101, and the marching line 102 includes a marching line starting point 1021, a marching line ending point 1022, and a marching line path (indicated by a dotted line). The virtual queue (the queue represented by the triangular graph in the figure) accomplishes the marching purpose according to the marching route indicated by the marching line 102.
In fig. 1, the distance between the marching line starting point 1021 and the marching line ending point 1022 is short, and at this time, all the marching lines 102 can be displayed on the current display interface. However, when the length of the marching line is long, such as: in fig. 2, the length of the marching line 200 exceeds the maximum length that can be displayed on the display interface, and at this time, if the user needs to view the marching line starting point of the marching line 200, a dragging operation may need to be performed on the display interface, such as: in fig. 2, 2 times of dragging operations are performed, so as to control the display interface to display the starting point of the marching line, and at this time, it is inefficient to view a certain position of the marching line on the marching line.
In order to solve the technical problem, the following technical scheme is provided in the application.
Optionally, the present application takes the execution subject of each embodiment as an example of a client, and the client has a function of displaying a marching line in a virtual map. The client can be a game client, and the game client can be a war strategy type game or other types of games; the client may also be other types of clients, which is not limited in this embodiment.
Alternatively, the client operates in a terminal, and the terminal may be a mobile phone, a tablet computer, a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a smart home device, a laptop portable computer, a desktop computer, and the like, and the implementation does not limit the type of the terminal.
Referring to fig. 3, a flowchart of a display method for route information on a virtual map according to an embodiment of the present application is shown, where the method includes:
The marching line is a marching line of a virtual queue consisting of at least one virtual character. The marching line consists of a marching line starting point, a marching line terminal point and a marching path.
Alternatively, the first trigger operation acting on the marching line may be that the acting position of the first trigger operation is on the marching line; alternatively, the action position of the first trigger operation may be directed to a marching line, such as: and displaying the marching line and a trigger control corresponding to the marching line in a display interface, wherein when a first trigger operation of an action position on the trigger control is received, the first trigger operation is the first trigger operation of the marching line acting on the virtual map.
Alternatively, the first trigger operation may be an operation triggered by touching the display screen; alternatively, it may be an operation triggered by controlling an external input device, such as: controlling the triggering operation of a mouse, a VR handle and the like.
Optionally, the first trigger operation may be a single-click operation, a continuous-click operation, a long-press operation, a sliding operation, and the like, and the type of the first trigger operation is not limited in this embodiment.
Optionally, in this embodiment, when the client receives the first trigger operation, the camp line acted by the first trigger operation may be highlighted. The method for highlighting the marching lines can be that lines of the marching lines are thickened; and/or, highlighting the marching line. Of course, the manner of highlighting the marching line may be other manners, and this embodiment does not limit this.
And 302, displaying a positioning control according to the first trigger operation.
The positioning control is used for positioning the position of the target marching line on the marching line.
Optionally, the number of positioning controls is at least one. Illustratively, the positioning control includes: the positioning device comprises at least one of a first positioning control, a second positioning control and a third positioning control, wherein the first positioning control is used for positioning a marching line starting point on a marching line, the second positioning control is used for positioning a marching line terminal point on the marching line, and the third positioning control is used for positioning a virtual queue position of a virtual queue. That is, the target position of the marching line is at least one of a starting point of the marching line, an ending point of the marching line, and a position of the virtual queue. It should be added that the position of the target camp line located by the locating control is only exemplary, and in actual implementation, other camp line positions on the camp line may also be located.
Optionally, the second trigger action has an action position acting on the positioning control.
Optionally, the second trigger operation may be an operation triggered by touching the display screen; alternatively, it may be an operation triggered by controlling an external input device, such as: controlling the triggering operation of a mouse, a VR handle and the like.
Optionally, the second trigger operation may be a single-click operation, a continuous-click operation, a long-press operation, a sliding operation, and the like, and the embodiment does not limit the type of the second trigger operation.
And 304, displaying a target map area corresponding to the target marching line position according to the second trigger operation.
The target map area is a local map image which takes the position of a target marching line as a reference in the virtual map.
Optionally, the local map image with the target route position as a reference is: and displaying the position of the target marching line at a preset position of the display interface, and displaying a local map image of the position of the target marching line included in the virtual map at a preset scale.
Alternatively, the predetermined position may be a center position of the display interface; alternatively, the predetermined position may be another position deviated from the center position, which is not limited in this embodiment.
Alternatively, the predetermined scale may be the same as the scale of the current map area displayed when (or before) the second trigger operation is received; or on a different scale than the current map region.
Referring to the positioning process of the target camp line position shown in fig. 4A, a camp line 400 is displayed in the virtual map. After receiving a first trigger operation acting on the marching line 400, the client displays positioning controls 401, 402 and 403, wherein the positioning control 401 is used for positioning a marching line starting point, the positioning control 402 is used for positioning a marching line ending point, and the positioning control 403 is used for positioning a virtual queue position. If a second trigger operation acting on the positioning control 401 is received, the client displays a target map area 404 corresponding to the starting point of the marching line; if a second trigger operation acting on the positioning control 402 is received, the client displays a target map area 405 corresponding to the marching line terminal; if a second trigger operation acting on the positioning control 403 is received, the client displays a target map area 406 corresponding to the virtual queue position.
Optionally, in this embodiment, when the target route position is the virtual queue position, after the target map area corresponding to the target route position is displayed according to the second trigger operation, the client updates and displays the target map area in real time to obtain an updated map image, where the updated map image is used to indicate a change of the position of the virtual queue position in the virtual map. By updating the map image corresponding to the position of the virtual queue in real time, a user can conveniently pay attention to the position change of the virtual queue in real time, and the effect of displaying the position of the virtual queue by the client is improved. Such as: in fig. 4A, after the client displays the target map area 406 corresponding to the virtual queue position, the target map area 406 is updated in real time, and the updated target map area 406 is generated based on the updated virtual queue position.
In summary, according to the display method for the marching line information on the virtual map provided by the embodiment, when the first trigger operation acting on the marching line in the virtual map is received, the positioning control is displayed; when a second trigger operation acting on the positioning control is received, displaying a target map area corresponding to the target route position indicated by the positioning control; the problem that when the length of the marching line is long, the efficiency of displaying the target map area corresponding to the position of the target marching line is low can be solved; when the target marching line position is located by the client, the client can directly jump to the target marching line position corresponding to the location control to display according to the triggering operation of the location control, and the target marching line position is displayed without receiving the dragging operation acting on the virtual map for multiple times, so that the efficiency of displaying the target marching line position can be improved.
Optionally, after receiving the first trigger operation acting on the marching line in the virtual map, the client may also display the marching purpose indicated by the marching line.
Optionally, the client may display a marching purpose when displaying the positioning control; alternatively, the marching purpose may be displayed before the positioning control is displayed; alternatively, the marching purpose may be displayed after the positioning control is displayed, and the display timing of the marching purpose is not limited in this embodiment.
Wherein, the marching purpose is used for showing the current purpose through the marching line marching of virtual queue, and the marching purpose includes: one of a sign, attack, investigation, assistance, sign and return.
Optionally, the client displays a marching purpose, including: acquiring a marching purpose; determining a display mode corresponding to the marching purpose according to the corresponding relation between the marching purpose and the display mode; the marching purpose is displayed on the marching line in the display mode.
Alternatively, the marching purpose may be server-transmitted; alternatively, it may be client-side stored.
Optionally, the display mode includes but is not limited to one of the following: displayed in a predetermined background pattern, displayed in a predetermined background pattern with a predetermined background color, etc. Such as: in fig. 4A, after receiving the first trigger operation acting on the marching line 400, the client displays "token" for marching purpose on the marching line 400 with red arrow (arrow with left hatching as background).
Optionally, the marching object may also be displayed at a first predetermined location in the display interface. The specific position of the first predetermined position in the display interface is not limited in this embodiment, and the first predetermined position is located below the positioning control, for example. Such as: in fig. 4A, after the client receives the first trigger operation acting on the marching line 400, marching-purpose "notations" are displayed below the positioning controls 401, 402 and 403.
Optionally, after the client receives a first trigger operation acting on a marching line in the virtual map, the marching state indicated by the marching line can also be displayed.
Optionally, the marching states include: at least one of a position of the virtual queue in the virtual map, a distance travelled, a time remaining travelled, and a speed of travelled.
Optionally, the marching status is displayed at a second predetermined location in the display interface. The specific position of the second predetermined position in the display interface is not limited in this embodiment, and the second predetermined position is located below the positioning control, for example.
Alternatively, the second predetermined location may be the same as the first predetermined location or may be different from the first predetermined location.
Such as: in fig. 4A, after the client receives the first trigger operation acting on the marching line 400, the remaining marching time "2: 33".
Optionally, after the client receives a first trigger operation acting on a marching line in the virtual map, the character identification of the virtual character triggering the marching line can also be displayed.
Alternatively, the character identification may be at least one of a character name of the virtual character, a character icon of the virtual character, and an identity of the virtual character.
Optionally, the character identifier is displayed at a third predetermined location in the display interface. The specific position of the second predetermined position in the display interface is not limited in this embodiment, and the second predetermined position is located below the positioning control, for example.
Alternatively, the third predetermined position may be the same as the first predetermined position and the second predetermined position; alternatively, the first predetermined position and the second predetermined position may be different.
Such as: in fig. 4A, after receiving the first trigger operation acting on the marching line 400, the client displays a character name "Monkey" at the first predetermined position.
In this embodiment, after receiving the first trigger operation, at least one of a marching purpose, a marching state, and a character identifier is displayed, so that the player can know the relevant information of the marching line, and the efficiency of the player acquiring the relevant information can be improved.
Optionally, after the client displays the positioning control, the client may stop displaying at least one of the positioning control, the travel purpose, the marching status, and the character identification when receiving the second trigger operation or receiving other trigger operations not acting on the positioning control.
The display interface shown in fig. 4A is only illustrative, and in actual implementation, the display interface may also be displayed with the virtual map (407), the positioning control (408), the marching line (409), the marching status (410) and the character name (411) in fig. 4B.
Optionally, if the length of the marching line is long, that is, the distance between the starting point of the marching line and the ending point of the marching line is long, the current map area displayed when the client receives the first trigger operation may not include the position of the target marching line, at this time, in step 304, the client displays the target map area corresponding to the position of the target marching line according to the second trigger operation, including: acquiring a virtual coordinate of a target marching line position; and when the current map area does not comprise the virtual coordinates, jumping to the target map area from the current map area for display.
The virtual coordinate is the coordinate of the position of the target marching line in the virtual map.
The current map area is a local map image taking other positions as references in the virtual map, and the other positions are different from the positions of the target marching lines. Optionally, the other position is a central position of the current map area.
Optionally, the mode of jumping from the current map area to the target map area for display may be a gradual jump; alternatively, a direct jump is also possible. The gradual skip mode is a skip mode that the display interface is gradually updated from the current map area to the target map area along the direction of the target map area; the direct skip refers to a skip mode in which the next frame image of the current map area is the target map area.
Optionally, the manner in which the client obtains the virtual coordinates of the target position of the marching line includes, but is not limited to, the following:
the first method comprises the following steps: after receiving the second trigger operation, the client generates a coordinate acquisition request, wherein the coordinate acquisition request is used for requesting to acquire the virtual coordinate of the position of the target marching line; the client sends the coordinate acquisition request to the server; the server sends the virtual coordinate to the client according to the coordinate acquisition request; the client receives the virtual coordinates.
Optionally, the coordinate obtaining request includes a marching line identifier of the marching line and a position identifier of the target marching line position. The marching line identifier may be the name of the player or game league triggering the marching line, the number of the marching line, and the like, and the location identifier may be the location of the target marching line location on the marching line, such as: a marching line starting point, a marching line ending point, a virtual queue position, etc., and the present embodiment does not limit the expression form of the marching line identifier and the position identifier.
Optionally, the server stores therein a correspondence between the camp line identifier, the location identifier, and each virtual coordinate. After receiving the coordinate acquisition request, the server can determine the virtual coordinate of the position of the target marching line according to the marching line identifier and the position identifier in the coordinate acquisition request.
And the second method comprises the following steps: and after receiving the second trigger operation, the client determines the virtual coordinate of the position of the target marching line according to the stored marching line identifier, the position identifier and the corresponding relation between each virtual coordinate.
Optionally, the correspondence between the camp line identifier, the location identifier, and each virtual coordinate is sent to the client by the server.
In this embodiment, when the length of the marching line is long and the current map area does not include the virtual coordinate of the target marching line position, the target image corresponding to the target marching line position is directly jumped to from the current map area according to the second trigger operation, and the dragging operation acting on the virtual map does not need to be received for many times to display the target marching line position, so that the efficiency of displaying the target marching line position can be improved.
Optionally, if the length of the marching line is short, that is, the distance between the starting point of the marching line and the ending point of the marching line is short, the current map area displayed when the client receives the first trigger operation may already include the target marching line position, at this time, in step 304, the client displays the target map area corresponding to the target marching line position according to the second trigger operation, including: amplifying the scale to obtain an amplified scale; and displaying the target map area on the enlarged scale.
In this embodiment, when the current map area already includes the target route position, the target route position is displayed on a larger scale, which is helpful for a user to more clearly view the situation of the target route position, and improves the effect of displaying the target route position by the client.
Optionally, if the length of the marching lines is short, when all the marching lines can be displayed in the current display interface, the client may further output an on-screen prompt when receiving the second trigger operation, where the on-screen prompt is used to prompt that the marching lines are located in the same display interface.
Optionally, the client does not change the currently displayed local map image when displaying the on-screen prompt.
Alternatively, since the marching line may be independent of the player; or, a part of the marching lines may overlap with the NPC, the virtual building, or other marching lines, and at this time, the client needs to determine whether to display the positioning control or the other control (for example, the virtual building interaction control) according to the action position of the first trigger operation. In step 302, displaying a positioning control according to a first trigger operation, including: determining whether the first trigger operation meets the trigger condition for triggering the display positioning control or not according to the action position of the first trigger operation on the marching line; and when the first trigger operation meets the trigger condition, displaying the positioning control.
Wherein the trigger condition is indicative of a condition that needs to be satisfied by the action position of the first trigger operation before the positioning button is displayed.
Optionally, the first trigger condition includes, but is not limited to, any one of the following two:
the action positions of the first trigger operation and the first trigger operation are positioned on the effective marching line.
And the effective marching line is a marching line supporting response to the first trigger operation.
Optionally, when determining that the action position of the first trigger operation acts on the marching line, the client determines whether the marching line is a valid marching line; and when the marching line is the effective marching line, displaying the positioning control.
Optionally, the manner of determining whether the marching line is a valid marching line by the client includes, but is not limited to, at least one of the following determination manners:
1. determining whether the marching line is a white list type marching line; when the marching lines are white list type marching lines, determining the marching lines as effective marching lines; when the marching line is not the white list type marching line, it is determined that the marching line is not the valid marching line.
Optionally, a white list type of camp line refers to a camp line triggered by a player currently logged into the client and/or, triggered by a coalition of players. Where a league player refers to other players that belong to the same game league as the player.
Illustratively, white list type marching lines include, but are not limited to, the following: the marching lines triggered by the players when the marching purposes are realized (such as the marching lines triggered when the earning purposes are realized, the marching lines triggered when the attacking purposes are realized, the marching lines triggered when the assisting purposes are realized, and the like), and the marching lines triggered by the alliance players when the marching purposes are realized (such as the marching lines triggered when the league players realize the earning purposes, the marching lines triggered when the investigation purposes are realized, and the like).
2. Determining whether the marching line is a blacklist type marching line; when the marching lines are not blacklist type marching lines, determining the marching lines as effective marching lines; when the marching line is the blacklist type marching line, it is determined that the marching line is not the valid marching line.
Alternatively, the blacklist type marching line refers to a marching line unrelated to a player currently logged in to the client.
Illustratively, blacklist type marching lines include, but are not limited to, the following: the marching lines triggered by players in other game alliances and the marching lines triggered by NPCs in the client when the marching purpose is achieved.
Wherein, the other game alliances refer to game alliances which are not joined by players currently logged in the client.
Alternatively, when the action position of the first trigger operation does not act on the marching line triggered by the player currently logged in to the client or the league player, the client may output an irrelevant prompt for prompting that the first trigger operation acts on the invalid marching line.
3. Whether the distance between the marching line starting point and the marching line terminal point on the marching line is smaller than a distance threshold value or not.
Wherein the distance threshold is determined according to at least one of the length, the width and the diagonal length of the current display interface.
Optionally, when the distance between the marching line starting point and the marching line ending point on the marching line is smaller than the distance threshold, the current display interface may display all the marching lines.
Optionally, when the current display interface can display all the marching lines, the client may further output the on-screen prompt when receiving the second trigger operation.
Secondly, the triggering conditions comprise: the action position of the first trigger operation is located at the effective position of the effective marching line.
And the effective position is a position of the marching line supporting response to the first trigger operation on the effective marching line.
Because the second trigger condition includes the content in the first trigger condition, the client must satisfy the first trigger condition when satisfying the second trigger condition, and at this time, the client only needs to be set to satisfy one of the first trigger condition and the second trigger condition.
Optionally, when determining that the action position of the first trigger operation acts on the marching line, the client determines whether the marching line is a valid marching line; when the marching line is determined to be the effective marching line, whether the action position is the effective position on the effective marching line is also determined; and when the action position is an effective position on the effective marching line, displaying the positioning control.
The manner for determining whether the marching line is the valid marching line is described in the above embodiments, and this embodiment is not described herein again.
Optionally, the manner in which the client determines whether the action location is a valid location on the active marching line includes, but is not limited to, at least one of the following two:
1. determining whether the action position is located on both the active marching line and the virtual building or the virtual character; when the action position is located on the effective marching line and the virtual building or the virtual role, determining that the action position is not the effective position on the effective marching line; and when the action position is positioned on the effective marching line but not positioned on the virtual building or the virtual character, determining that the action position is the effective position on the effective marching line.
Optionally, when the action position of the first trigger operation is located on both the active marching line and the virtual building, the client may output a building interaction control interacting with the virtual building.
Wherein, the interactive content indicated by the building interactive control includes but is not limited to: seizing a virtual building, assisting resources for a virtual building, camping on a virtual building, exploring a virtual building, attacking a virtual building, and the like.
Optionally, when the action position of the first trigger operation is located on both the active marching line and the virtual character, the client may output a character interaction control interacting with the virtual character.
Wherein the virtual character includes at least one of an NPC and a player-controlled virtual character.
The interactive content indicated by the character interaction control includes but is not limited to: attacking the virtual character, and viewing the detailed information of the virtual character, such as: role name, level, capabilities, etc. of the virtual role.
Optionally, when the action position is located on both the active marching line and the virtual building or the virtual character, the client may output an interactive prompt for prompting the first trigger operation to act on the virtual building or the virtual character.
2. Determining whether the action position is simultaneously positioned on at least two effective marching lines; when the action position is simultaneously positioned on at least two effective marching lines, determining that the action position is not an effective position on the effective marching lines; when the action position is only located on one effective marching line, the action position is determined to be an effective position on the effective marching line.
The action positions are simultaneously positioned on at least two effective marching lines, which means that: there are at least two active marching lines intersecting at an intersection point and the action position is located at the intersection point.
Optionally, when the action position is located on at least two active marching lines at the same time, the client may output a plurality of line prompts, and the plurality of line prompts are used to prompt the first trigger operation to act on the at least two active marching lines.
Of course, the trigger condition may also be other conditions, such as: the action position of the first trigger operation is located at the effective position, and the embodiment does not limit the specific content of the trigger condition.
Referring to fig. 5, the flow of displaying the positioning control provided in the present embodiment is described as an example.
For the related description of this step, refer to step 301, and this embodiment is not described herein again.
And 505, outputting an interaction prompt, and ending the process.
And step 507, outputting a plurality of line prompts, and ending the process.
Since the active marching line is triggered by the player or the league player, and the player is not required to locate the position of the marching line on the inactive marching line (non-active marching line), the first trigger operation on the inactive marching line may be a malfunction. In the embodiment, when the first trigger operation acted on the marching line is received, whether the marching line acted on by the first trigger operation is the effective marching line is determined; the positioning control is displayed when the marching line is the effective marching line, so that the problem that resources of the terminal are wasted due to the fact that the positioning control is displayed by the client in response to misoperation acting on the ineffective marching line can be solved; the accuracy of the client for displaying the positioning control in response to the first trigger operation can be improved.
In addition, when the action position of the first trigger operation is located on both the marching line and the virtual character or the virtual building, the probability that the player actually needs to interact with the virtual character or the virtual building is high, and therefore in this embodiment, by displaying the interaction control (building interaction control or character interaction control) instead of the positioning control when the action position of the first trigger operation is located on both the marching line and the virtual character or the virtual building, the accuracy of the type of the control output by the client can be improved.
In addition, because the action position of the first trigger operation is located on at least two effective marching lines, the client cannot determine the marching line actually required to be operated by the player, and if a positioning control corresponding to a certain effective marching line is randomly displayed, the problem that the position of the positioned marching line is not consistent with the position actually required to be checked by the player may be caused. In this embodiment, when the action position of the first trigger operation is located on at least two effective marching lines, the player can be prompted to input the action position of the first trigger operation more accurately by outputting a plurality of line prompts, and the accuracy of the client side in positioning the marching line position according to the positioning control can be improved.
Optionally, if the client outputs the prompt information when the first trigger operation does not satisfy the trigger condition for triggering the display of the positioning control, the client further needs to determine the display priority of the prompt information corresponding to each trigger condition when the trigger condition that the first trigger operation does not satisfy is at least one, and display the prompt information according to the display priority.
Optionally, the prompt information is used to prompt that the first trigger operation does not satisfy the trigger condition, and the prompt information includes, but is not limited to, at least one of the following: on-screen prompt, irrelevant prompt, interactive prompt, multi-line prompt.
Illustratively, the trigger condition includes a first condition and a second condition, and the first prompt information output when the first condition is not satisfied is different from the second prompt information output when the second condition is not satisfied; when the first trigger operation does not meet the trigger condition, outputting prompt information, including: when the first trigger operation does not meet the first condition and the second condition, acquiring the display priority of the first prompt message and the display priority of the second prompt message; and displaying the first prompt message or the second prompt message according to the display priority.
Optionally, the first condition is: 1) the action position of the first trigger operation is located on a marching line triggered by the player or the alliance player, 2) the action position of the first trigger operation is located on a marching line with the distance between the starting point of the marching line and the ending point of the marching line larger than a distance threshold, 3) the action position of the first trigger operation is located on an effective marching line and is not located on a virtual building, 4) the action position of the first trigger operation is located on an effective marching line and is not located on a virtual character, and 5) the action position of the first trigger operation is only located on one effective marching line. The second condition is a trigger condition different from the first condition among the above conditions.
Optionally, when the triggering condition that "1) the action position of the first triggering operation is located on a marching line triggered by the player or the league player" is not met, the corresponding prompt information is an irrelevant prompt; when the triggering condition that the action position of the first triggering operation is not on the marching line of which the distance between the starting point and the ending point of the marching line is greater than the distance threshold is not met, the corresponding prompt information is on-screen prompt; the corresponding prompt information is an interactive prompt when the triggering condition that '3) the action position of the first triggering operation is located on the effective marching line and is not located on the virtual building' and '4) the action position of the first triggering operation is located on the effective marching line and is not located on the virtual role' is not met; and when the triggering condition of '5) that the action position of the first triggering operation is only positioned on one effective marching line' is not met, the corresponding prompt information is a plurality of line prompts.
In one example, the client displays the first prompt message or the second prompt message according to the display priority, including: when the first trigger operation is determined not to meet at least two trigger conditions, generating prompt information corresponding to each of the at least two trigger conditions; and determining the prompt information with the highest display priority from the prompt information corresponding to each trigger condition for display.
Referring to fig. 6, schematically, the flow of displaying the prompt message provided in this embodiment will be described as an example. In this example, the action position of the first trigger operation does not satisfy the above 5 kinds of trigger conditions at the same time, and the display priority of the prompt information is: the description will be given by taking as an example that the display priority of the interactive prompt is higher than that of the irrelevant prompt, and the display priority of the line prompts is higher than that of the on-screen prompt.
For the related description of this step, refer to step 301, and this embodiment is not described herein again.
Step 602, determining that the action position of the first trigger operation is not located on a marching line triggered by a player or a coalition player, and generating an irrelevant prompt; determining that the action position of the first trigger operation is located on a marching line of which the distance between the starting point and the ending point of the marching line is smaller than a distance threshold value, and generating a same-screen prompt; determining that the action position of the first trigger operation is positioned on the effective marching line and the virtual building, and generating an interaction prompt; and determining that the action position of the first trigger operation is positioned on at least two effective marching lines to generate a plurality of line prompts.
It should be noted that the display priority of the guidance information in the present embodiment is merely illustrative, and the guidance information may not be displayed at the display priority in actual implementation.
In another example, the client displays the first prompt message or the second prompt message according to the display priority, including: and detecting whether the first trigger operation meets the corresponding trigger condition according to the display priority sequence of the prompt information, and displaying the corresponding prompt information when the corresponding trigger condition is not met.
Referring to fig. 7, schematically, the flow of displaying the prompt message provided in the present embodiment is described as an example. In this example, the display priority of the prompt message is: the description will be given by taking as an example that the display priority of the interactive prompt is higher than that of the irrelevant prompt, and the display priority of the line prompts is higher than that of the on-screen prompt.
For the related description of this step, refer to step 301, and this embodiment is not described herein again.
Optionally, since the display priority of the interactive prompt is the highest, it is preferentially detected whether the first trigger operation meets the trigger condition corresponding to the interactive prompt.
Optionally, the triggering condition corresponding to the interactive prompt is that the action position of the first triggering operation is located on the effective marching line and the virtual building; or the action position of the first trigger operation is positioned on the effective marching line and the virtual character.
And 703, generating an interaction prompt, displaying the interaction prompt, and ending the process.
Optionally, since the irrelevant prompt is prompt information with the highest priority displayed in the prompt information except the interactive prompt, after detecting whether the first trigger operation satisfies the trigger condition corresponding to the interactive prompt, it is detected whether the first trigger operation satisfies the trigger condition corresponding to the irrelevant prompt.
Optionally, the trigger condition corresponding to the irrelevant prompt is that the action position of the first trigger operation is not located on the marching line triggered by the player or the league player.
Optionally, since the multiple line prompts are prompt messages with the highest priority displayed in the prompt messages except the interactive prompt and the irrelevant prompt, after detecting whether the first trigger operation satisfies the trigger condition corresponding to the interactive prompt and whether the first trigger operation satisfies the trigger condition corresponding to the irrelevant prompt, it is detected whether the first trigger operation satisfies the trigger condition corresponding to the multiple line prompts.
Optionally, the trigger condition corresponding to the multiple line prompts is that the action position of the first trigger operation is located on at least two effective marching lines.
Optionally, since the on-screen prompt is the prompt information with the lowest display priority, it is finally detected whether the first trigger operation satisfies the trigger condition corresponding to the on-screen prompt.
Optionally, the trigger condition corresponding to the on-screen prompt is that the acting position of the first trigger operation is located on a marching line, where a distance between the starting point of the marching line and the ending point of the marching line is smaller than a distance threshold.
And step 709, displaying the on-screen prompt and displaying the on-screen prompt.
In this embodiment, when the first trigger operation does not satisfy at least two trigger conditions, the prompt information corresponding to the trigger conditions is displayed according to the display priority, so that the problem that the prompt information generated by the client is too much and which prompt information can not be displayed can be avoided; the client can select one prompt message from the plurality of prompt messages and display the prompt message.
In order to more clearly understand the display method for the route information on the virtual map provided by the present application, an example is described below.
Referring to fig. 8, a flowchart of a display method for route information on a virtual map according to another embodiment of the present application is shown, where the method includes:
The related description of this step is shown in step 301, and this embodiment is not described herein again.
Optionally, the triggering condition is: the action position of the first trigger operation is positioned on the effective marching line; alternatively, the action position of the first trigger operation is located at the effective position of the effective marching line.
And step 803, outputting the prompt information, and ending the process.
The prompt message is used for prompting that the first trigger operation does not meet the trigger condition.
The first control is used for positioning a marching line starting point on a marching line; the second control is used for positioning a marching line terminal on the marching line; the third control is used for positioning the position of the virtual queue on the marching line.
Optionally, the client receives a marching purpose sent by the server.
The marching states include: one of a sign, attack, investigation, assistance, sign and return.
And 806, displaying the marching purpose in a display mode corresponding to the marching purpose.
Optionally, the client determines the display mode corresponding to the marching purpose according to the corresponding relationship between the marching purpose and the display mode.
Schematically, the correspondence between the marching purpose and the display manner shown in fig. 9 is referred to. When the marching aims at the token or attack, the corresponding display mode is that the background color is red to display the token on a marching line; when the marching aims at assistance, the corresponding display mode is that the background color is green to display the assistance on the marching line; when the marching aims at investigation, the corresponding display mode is to display investigation on a marching line by taking the background color as orange; when the marching purpose is marking, the corresponding display mode is that the background color is yellow to display the marking on the marching line; when the marching object is a return, the return is displayed on the marching line in a corresponding display mode with a background color corresponding to the purpose of the marching.
Optionally, steps 805 and 806 may be performed after step 804; alternatively, it may be performed before step 804; alternatively, the step 804 may be executed at the same time, which is not limited in this embodiment.
In step 807, if the received second trigger operation acting on the first control is received, the virtual coordinate of the starting point of the marching line is obtained, a map image with the virtual coordinate as a reference is displayed, and the process is ended.
Step 808, if a second trigger operation acting on the second control is received, acquiring a virtual coordinate of the marching line terminal point, displaying a map image with the virtual coordinate as a reference, and ending the process.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 10, a schematic structural diagram of a display device for route information on a virtual map according to an embodiment of the present application is shown. The display device for the marching line information on the virtual map can be realized to be all or part of refreshing equipment through a special hardware circuit or the combination of software and hardware, and comprises: a first receiving module 1010, a control display module 1020, a second receiving module 1030, and a camp line position location module 1040.
A first receiving module 1010, configured to receive a first trigger operation that acts on a marching line in a virtual map, where the marching line is a marching route of a virtual queue formed by at least one virtual character;
a control display module 1020, configured to display a positioning control according to the first trigger operation, where the positioning control is used to position a target camp line position on the camp line;
a second receiving module 1030, configured to receive a second trigger operation acting on the positioning control;
a marching line position positioning module 1040, configured to display, according to the second trigger operation, a target map area corresponding to the target marching line position, where the target map area is a local map image in the virtual map with the target marching line position as a reference.
Optionally, the marching line position location module 1040 includes: a position acquisition unit and a jump unit.
A position acquisition unit, configured to acquire a virtual coordinate of the target position of the route, where the virtual coordinate is used to indicate a coordinate of the target position of the route in the virtual map;
and the skipping unit is used for skipping from the current map area to the target map area for display when the current map area does not comprise the virtual coordinate, wherein the current map area is a local map image which takes other positions as the reference in the virtual map, and the other positions are different from the target marching line position.
Optionally, the target marching line position comprises: at least one of a marching line starting point, a marching line ending point and a virtual queue position, wherein the virtual queue position refers to the position of the virtual queue on the marching line;
the device further comprises: and an image updating module.
And the image updating module is used for updating and displaying the target map area in real time after the target map area corresponding to the target route position is displayed according to the second trigger operation when the target route position is the virtual queue position, so as to obtain an updated map image, and the updated map image is used for indicating the position change of the virtual queue position in the virtual map.
Optionally, the control display module 1020 is configured to:
determining whether the first trigger operation meets the trigger condition for triggering and displaying the positioning control according to the action position of the first trigger operation on the marching line;
and when the first trigger operation meets the trigger condition, displaying the positioning control.
Optionally, the trigger condition includes: the action position is located on a valid marching line, and the valid marching line is a marching line supporting response to the first trigger operation; or, the trigger condition includes: the action position is located on an effective position of an effective marching line, and the effective position is a position of the effective marching line supporting response to the first trigger operation.
Optionally, the apparatus further comprises: and a destination display module.
The purpose display module is used for displaying a marching purpose after receiving a first trigger operation acted on a marching line in a virtual map, wherein the marching purpose is used for representing the purpose that the virtual queue currently marches through the marching line, and the marching purpose comprises the following steps: any one of a sign, attack, investigation, assistance, sign and return.
Optionally, the destination display module is configured to:
acquiring the marching purpose;
determining the display mode corresponding to the marching purpose according to the corresponding relation between the marching purpose and the display mode;
and displaying the marching purpose on the marching line in the display mode.
Optionally, the apparatus further comprises: and a state display module.
The state display module is used for displaying the marching state after receiving a first trigger operation acted on a marching line in the virtual map, and the marching state comprises: at least one of a position of the virtual queue in the virtual map, a distance travelled, a time remaining travelled, and a speed of travelled.
Reference may be made in connection with the above-described method embodiments.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
The application provides a computer-readable storage medium, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by the processor to implement the display method for the route information on the virtual map provided by the method embodiments.
The present application also provides a computer program product, which when run on a computer, causes the computer to execute the display method for the route information on the virtual map provided by the above method embodiments.
The application also provides a terminal, which comprises a processor and a memory, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to realize the display method for the route information on the virtual map provided by the method embodiments.
It should be noted that the terminal may be a terminal as provided in fig. 11 below.
Fig. 11 shows a block diagram of a terminal 1100 according to an exemplary embodiment of the present invention. The terminal 1100 may be a portable mobile terminal such as: smart phone, tablet computer, wearable device, VR device, AR device, smart home device, MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts compression standard Audio Layer 3), MP4 player (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts compression standard Audio Layer 4). The terminal 1100 may also be referred to by other names such as user equipment, portable terminal, etc.
In general, terminal 1100 includes: a processor 1101 and a memory 1102.
In some embodiments, the terminal 1100 may further include: a peripheral interface 1103 and at least one peripheral. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, touch screen display 1105, camera assembly 1106, audio circuitry 1107, positioning assembly 1108, and power supply 1109.
The peripheral interface 1103 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102 and the peripheral device interface 1103 may be implemented on separate chips or circuit boards, which is not limited by this embodiment.
The Radio Frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1104 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The touch display screen 1105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch display screen 1105 also has the ability to capture touch signals on or over the surface of the touch display screen 1105. The touch signal may be input to the processor 1101 as a control signal for processing. Touch display 1105 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the touch display screen 1105 can be one, providing the front panel of the terminal 1100; in other embodiments, the touch display screens 1105 can be at least two, respectively disposed on different surfaces of the terminal 1100 or in a folded design; in still other embodiments, touch display 1105 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1100. Even more, the touch display screen 1105 can be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The touch Display screen 1105 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The audio circuit 1107 is used to provide an audio interface between the user and the terminal 1100. The audio circuitry 1107 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1101 for processing or inputting the electric signals to the radio frequency circuit 1104 to achieve voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1100. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1107 may also include a headphone jack.
In some embodiments, terminal 1100 can also include one or more sensors 1110. The one or more sensors 1110 include, but are not limited to: acceleration sensor 1111, gyro sensor 1112, pressure sensor 1113, fingerprint sensor 1114, optical sensor 1115, and proximity sensor 1116.
Acceleration sensor 1111 may detect acceleration levels in three coordinate axes of a coordinate system established with terminal 1100. For example, the acceleration sensor 1111 may be configured to detect components of the gravitational acceleration in three coordinate axes. The processor 1101 may control the touch display screen 1105 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1112 may detect a body direction and a rotation angle of the terminal 1100, and the gyro sensor 1112 may cooperate with the acceleration sensor 1111 to acquire a 3D motion of the user with respect to the terminal 1100. From the data collected by gyroscope sensor 1112, processor 1101 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1113 may be disposed on a side bezel of terminal 1100 and/or on an underlying layer of touch display screen 1105. When the pressure sensor 1113 is disposed on the side frame of the terminal 1100, a holding signal of the terminal 1100 by the user can be detected, and left-right hand recognition or shortcut operation can be performed according to the holding signal. When the pressure sensor 1113 is disposed at the lower layer of the touch display screen 1105, the operability control on the UI interface can be controlled according to the pressure operation of the user on the touch display screen 1105. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1114 is used for collecting a fingerprint of a user to identify the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 1101 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 1114 may be disposed on the front, back, or side of terminal 1100. When a physical button or vendor Logo is provided on the terminal 1100, the fingerprint sensor 1114 may be integrated with the physical button or vendor Logo.
Optical sensor 1115 is used to collect ambient light intensity. In one embodiment, the processor 1101 may control the display brightness of the touch display screen 1105 based on the ambient light intensity collected by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1105 is turned down. In another embodiment, processor 1101 may also dynamically adjust the shooting parameters of camera assembly 1106 based on the ambient light intensity collected by optical sensor 1115.
Those skilled in the art will appreciate that the configuration shown in fig. 11 does not constitute a limitation of terminal 1100, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps in the display method for displaying route information on a virtual map, which implements the above embodiments, may be implemented by hardware, or may be implemented by a program instructing associated hardware, where the program may be stored in a computer-readable storage medium, where the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like. In other words, the storage medium has at least one instruction, at least one program, code set, or instruction set stored therein, which is loaded and executed by a processor to implement the display method for the route information on the virtual map as described in the above respective method embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (15)
1. A display method for line information on a virtual map, the method comprising:
receiving a first trigger operation acting on a marching line in a virtual map, wherein the marching line is a marching route of a virtual queue consisting of at least one virtual role;
displaying a positioning control according to the first trigger operation, wherein the positioning control is used for positioning the position of a target marching line on the marching line;
receiving a second trigger operation acting on the positioning control;
and displaying a target map area corresponding to the target marching line position according to the second trigger operation, wherein the target map area is a local map image taking the target marching line position as a reference in the virtual map.
2. The method of claim 1, wherein displaying the target map area corresponding to the target route position according to the second trigger operation comprises:
acquiring a virtual coordinate of the position of the target marching line, wherein the virtual coordinate is the coordinate of the position of the target marching line in the virtual map;
and when the current map area does not comprise the virtual coordinates, jumping from the current map area to the target map area for display.
3. The method of claim 1, wherein the target marching positions comprise: at least one of a marching line starting point, a marching line ending point and a virtual queue position, wherein the virtual queue position refers to the position of the virtual queue on the marching line;
when the target route position is the virtual queue position, after displaying a target map area corresponding to the target route position according to the second trigger operation, the method further includes:
and updating and displaying the target map area in real time to obtain an updated map image, wherein the updated map image is used for indicating the position change of the virtual queue position in the virtual map.
4. The method of claim 1, wherein displaying a positioning control according to the first trigger operation comprises:
determining whether the first trigger operation meets the trigger condition for triggering and displaying the positioning control according to the action position of the first trigger operation on the marching line;
and when the first trigger operation meets the trigger condition, displaying the positioning control.
5. The method of claim 4,
the trigger conditions include: the action position is located on a valid marching line, and the valid marching line is a marching line supporting responding to the first trigger operation; or,
the trigger conditions include: the action position is located at an effective position of an effective marching line, and the effective position is a position of the effective marching line supporting response to the first trigger operation.
6. The method according to any one of claims 1 to 5, wherein after receiving the first trigger operation acting on the marching line in the virtual map, the method further comprises:
displaying a marching objective for representing an objective that the virtual queue is currently marching through the marching line, the marching objective comprising: any one of a sign, attack, investigation, assistance, sign and return.
7. The method of claim 6, wherein displaying a marching objective comprises:
acquiring the marching purpose;
determining the display mode corresponding to the marching purpose according to the corresponding relation between the marching purpose and the display mode;
and displaying the marching purpose on the marching line in the display mode.
8. The method according to any one of claims 1 to 5, wherein after receiving the first trigger operation acting on the marching line in the virtual map, the method further comprises:
displaying a marching state, wherein the marching state comprises: at least one of a position of the virtual queue in the virtual map, a distance travelled, a time remaining travelled, and a speed of travelled.
9. A display device for line information on a virtual map, the device comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a first trigger operation acting on a marching line in a virtual map, and the marching line is a marching route of a virtual queue consisting of at least one virtual role;
the control display module is used for displaying a positioning control according to the first trigger operation, and the positioning control is used for positioning the position of a target marching line on the marching line;
the second receiving module is used for receiving a second trigger operation acting on the positioning control;
and the marching line position positioning module is used for displaying a target map area corresponding to the target marching line position according to the second trigger operation, and the target map area is a local map image which takes the target marching line position as a reference in the virtual map.
10. The apparatus of claim 9, wherein the line position location module comprises: a position acquisition unit and a jump unit;
a position obtaining unit, configured to obtain a virtual coordinate of the position of the target route, where the virtual coordinate is a coordinate of the position of the target route in the virtual map;
and the skipping unit is used for skipping from the current map area to the target map area for display when the current map area does not comprise the virtual coordinates.
11. The apparatus of claim 9, wherein the target line position comprises: at least one of a marching line starting point, a marching line ending point and a virtual queue position, wherein the virtual queue position refers to the position of the virtual queue on the marching line;
the device further comprises: an image update module;
and the image updating module is used for updating and displaying the target map area in real time after the target map area corresponding to the target route position is displayed according to the second trigger operation when the target route position is the virtual queue position, so as to obtain an updated map image, and the updated map image is used for indicating the position change of the virtual queue position in the virtual map.
12. The apparatus of claim 9, wherein the control display module is configured to:
determining whether the first trigger operation meets the trigger condition for triggering and displaying the positioning control according to the action position of the first trigger operation on the marching line;
and when the first trigger operation meets the trigger condition, displaying the positioning control.
13. The apparatus of claim 12,
the trigger conditions include: the action position is located on a valid marching line, and the valid marching line is a marching line supporting responding to the first trigger operation; or,
the trigger conditions include: the action position is located at an effective position of an effective marching line, and the effective position is a position of the effective marching line supporting response to the first trigger operation.
14. A terminal, characterized in that the terminal comprises a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to realize the display method for the route information on the virtual map according to any one of claims 1 to 8.
15. A computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by a processor, to implement the method for displaying line information on a virtual map according to any one of claims 1 to 8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711224655.7A CN109833624B (en) | 2017-11-29 | 2017-11-29 | Display method and device for marching line information on virtual map |
PCT/CN2018/114636 WO2019105196A1 (en) | 2017-11-29 | 2018-11-08 | Display method and apparatus for information of traveling line on virtual map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711224655.7A CN109833624B (en) | 2017-11-29 | 2017-11-29 | Display method and device for marching line information on virtual map |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109833624A CN109833624A (en) | 2019-06-04 |
CN109833624B true CN109833624B (en) | 2021-05-14 |
Family
ID=66664688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711224655.7A Active CN109833624B (en) | 2017-11-29 | 2017-11-29 | Display method and device for marching line information on virtual map |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109833624B (en) |
WO (1) | WO2019105196A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110368691B (en) * | 2019-07-19 | 2023-09-19 | 腾讯科技(深圳)有限公司 | Reminding information sending method, device and terminal in multi-user online fight program |
CN113082700B (en) * | 2021-04-15 | 2024-08-20 | 网易(杭州)网络有限公司 | Information interaction method and device and electronic equipment |
CN113262489B (en) * | 2021-04-28 | 2024-06-25 | 网易(杭州)网络有限公司 | Game route generation method and device, nonvolatile storage medium and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09239154A (en) * | 1996-03-05 | 1997-09-16 | Sega Enterp Ltd | Rally game device and memory medium therefor |
CN101903747A (en) * | 2007-12-20 | 2010-12-01 | 通腾科技股份有限公司 | Navigation device & method |
CN102749087A (en) * | 2012-07-13 | 2012-10-24 | 北京畅易行科技有限公司 | Navigation information prompting method and device based on line |
CN103383262A (en) * | 2013-07-11 | 2013-11-06 | 北京奇虎科技有限公司 | Electronic map route guiding method and system |
CN104713547A (en) * | 2015-03-16 | 2015-06-17 | 酷派软件技术(深圳)有限公司 | Method and terminal for generating position information |
CN105740291A (en) * | 2014-12-12 | 2016-07-06 | 深圳市腾讯计算机系统有限公司 | Map interface display method and device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4697210B2 (en) * | 2007-10-02 | 2011-06-08 | ソニー株式会社 | Map display device and map display method |
US8803920B2 (en) * | 2011-12-12 | 2014-08-12 | Google Inc. | Pre-fetching map tile data along a route |
CN106422330B (en) * | 2016-10-14 | 2019-10-29 | 网易(杭州)网络有限公司 | The method for searching and device of unit |
CN106964156B (en) * | 2017-03-24 | 2020-10-27 | 腾讯科技(深圳)有限公司 | Path finding method and device |
CN108905212B (en) * | 2017-03-27 | 2019-12-31 | 网易(杭州)网络有限公司 | Game screen display control method and device, storage medium and electronic equipment |
-
2017
- 2017-11-29 CN CN201711224655.7A patent/CN109833624B/en active Active
-
2018
- 2018-11-08 WO PCT/CN2018/114636 patent/WO2019105196A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09239154A (en) * | 1996-03-05 | 1997-09-16 | Sega Enterp Ltd | Rally game device and memory medium therefor |
CN101903747A (en) * | 2007-12-20 | 2010-12-01 | 通腾科技股份有限公司 | Navigation device & method |
CN102749087A (en) * | 2012-07-13 | 2012-10-24 | 北京畅易行科技有限公司 | Navigation information prompting method and device based on line |
CN103383262A (en) * | 2013-07-11 | 2013-11-06 | 北京奇虎科技有限公司 | Electronic map route guiding method and system |
CN105740291A (en) * | 2014-12-12 | 2016-07-06 | 深圳市腾讯计算机系统有限公司 | Map interface display method and device |
CN104713547A (en) * | 2015-03-16 | 2015-06-17 | 酷派软件技术(深圳)有限公司 | Method and terminal for generating position information |
Non-Patent Citations (2)
Title |
---|
乾坤霸业新玩法行军线上线 千军万马一"线"生机;宁儿;《http://www.fpwap.com/news/yxxw/313122.html》;20170413;全文 * |
全新大地图"截击"作战初露锋芒;shanshan;《https://www.119you.com/ezfy/yxgl/507738.shtml》;20170128;全文 * |
Also Published As
Publication number | Publication date |
---|---|
WO2019105196A1 (en) | 2019-06-06 |
CN109833624A (en) | 2019-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108619721B (en) | Distance information display method and device in virtual scene and computer equipment | |
CN108710525B (en) | Map display method, device, equipment and storage medium in virtual scene | |
CN112181572B (en) | Interactive special effect display method, device, terminal and storage medium | |
CN110141859B (en) | Virtual object control method, device, terminal and storage medium | |
CN111589125B (en) | Virtual object control method and device, computer equipment and storage medium | |
WO2019149028A1 (en) | Application download method and terminal | |
CN113127130B (en) | Page jump method, device and storage medium | |
CN107803030B (en) | Refreshing method and device for resource site on virtual map | |
CN110288689B (en) | Method and device for rendering electronic map | |
CN110321126B (en) | Method and device for generating page code | |
CN112328091B (en) | Barrage display method and device, terminal and storage medium | |
CN110496392B (en) | Virtual object control method, device, terminal and storage medium | |
CN113041620B (en) | Method, device, equipment and storage medium for displaying position mark | |
CN113613028B (en) | Live broadcast data processing method, device, terminal, server and storage medium | |
CN109806583B (en) | User interface display method, device, equipment and system | |
CN109833624B (en) | Display method and device for marching line information on virtual map | |
US12061773B2 (en) | Method and apparatus for determining selected target, device, and storage medium | |
CN112367533B (en) | Interactive service processing method, device, equipment and computer readable storage medium | |
CN110841288B (en) | Prompt identifier eliminating method, device, terminal and storage medium | |
CN111061369B (en) | Interaction method, device, equipment and storage medium | |
CN112023403A (en) | Battle process display method and device based on image-text information | |
CN111369434B (en) | Method, device, equipment and storage medium for generating spliced video covers | |
CN114140105A (en) | Resource transfer method, device, equipment and computer readable storage medium | |
CN110134393B (en) | Method and device for processing operation signal | |
CN108310767B (en) | Information display method, device, equipment and computer readable storage medium |
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 |