WO2019105196A1 - Display method and apparatus for information of traveling line on virtual map - Google Patents
Display method and apparatus for information of traveling line on virtual map Download PDFInfo
- Publication number
- WO2019105196A1 WO2019105196A1 PCT/CN2018/114636 CN2018114636W WO2019105196A1 WO 2019105196 A1 WO2019105196 A1 WO 2019105196A1 CN 2018114636 W CN2018114636 W CN 2018114636W WO 2019105196 A1 WO2019105196 A1 WO 2019105196A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- line
- virtual
- travel
- traveling
- traveling line
- Prior art date
Links
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
Definitions
- the embodiments of the present application relate to the field of virtual environments, and in particular, to a method and an apparatus for displaying travel line information on a virtual map.
- a war strategy 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.
- the marching line is determined according to relevant behavioral events, including but not limited to: the starting point of the behavior execution (corresponding to the starting line of the marching line) and the ending point of the behavior execution (corresponding to the end of the marching line).
- the length of the corresponding marching line is usually longer.
- all the march lines may not be displayed.
- the player needs to view the map image corresponding to the starting line of the marching line of the marching line.
- the player can drag the screen along the starting line of the marching line on the screen until it is dragged to the current
- the screen stops when the map image corresponding to the starting point of the march line is displayed.
- the terminal displays the efficiency of a particular march line position on the marching line is less efficient. For example, the terminal shows that the starting point of the marching line and the end of the marching line are less efficient.
- the embodiment of the present application provides a display method and device for traveling line information on a virtual map, which can solve the problem of low efficiency of positioning a target traveling line position.
- the technical solution is as follows:
- a method for displaying travel line information on a virtual map comprising:
- the positioning control is configured to locate a target traveling line position on the traveling line;
- a display apparatus for traveling line information on a virtual map comprising:
- a first receiving module configured to receive a first triggering operation on a traveling line in the virtual map, where the traveling line is used to indicate a traveling route of the virtual team composed of the at least one virtual character
- control display module configured to display a positioning control according to the first triggering operation, where the positioning control is used to locate a target traveling line position on the traveling line;
- a second receiving module configured to receive a second triggering operation that is applied to the positioning control
- a traveling line position locating module configured to display, according to the second triggering operation, a target map area corresponding to the target traveling line position, where the target map area is a part of the virtual map with the target traveling line position as a reference Map image.
- a terminal comprising a processor and a memory, the memory storing at least one instruction, the at least one instruction being loaded and executed by the processor to implement the A method of displaying line information on a virtual map.
- a computer readable storage medium having stored therein at least one instruction loaded by the processor and executed to implement the A method of displaying the travel line information on the virtual map.
- a computer program product storing at least one instruction, the at least one instruction being loaded and executed by the processor to implement the first aspect provided for use on a virtual map The method of displaying the travel line information.
- the map area can solve the problem that the target map area corresponding to the target travel line position is less efficient when the length of the travel line is long; since the client locates the target travel line position, the trigger can be triggered according to the positioning control
- the operation directly jumps to the target traveling line position display corresponding to the positioning control, and does not need to receive the drag operation on the virtual map multiple times to display the target traveling line position, and therefore, the efficiency of displaying the target traveling line position can be improved.
- FIG. 1 is a schematic diagram of a travel line provided by an exemplary embodiment of the present application.
- FIG. 2 is a schematic diagram of a travel line provided by another exemplary embodiment of the present application.
- FIG. 3 is a flowchart of a method for displaying travel line information on a virtual map according to an embodiment of the present application
- FIG. 4 is a schematic diagram showing a position of a traveling line provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram showing the position of a traveling line provided by another embodiment of the present application.
- FIG. 6 is a flowchart of a display positioning control provided by an embodiment of the present application.
- FIG. 7 is a flowchart of displaying prompt information provided by an embodiment of the present application.
- FIG. 8 is a flowchart of displaying prompt information according to another embodiment of the present application.
- FIG. 9 is a flowchart of a method for displaying travel line information on a virtual map according to another embodiment of the present application.
- FIG. 10 is a schematic diagram of a correspondence between a traveling destination and a display mode according to an embodiment of the present application.
- FIG. 11 is a schematic structural diagram of a display apparatus for traveling line information on a virtual map according to an embodiment of the present application.
- FIG. 12 is a schematic structural diagram of a terminal according to an embodiment of the present application.
- War strategy game refers to the client that supports the player to build his own virtual building in the virtual world and adopts the war strategy to occupy the enemy's other virtual buildings.
- War strategy games provide features such as, but not limited to, the following: displaying virtual maps, creating virtual teams, creating game leagues, displaying travel lines, and more.
- Virtual map Use images, colors, and text labels to describe images of natural geography, administrative regions, and socioeconomic conditions in the virtual world in a certain proportion. For example, a virtual building in a virtual world is displayed in a virtual map, which may be created according to a player's operation; or, is set by default in the game.
- the virtual map may be a 2D map image generated based on two dimension (2D) means; or a 2.5D map image generated based on 2.5D (or pseudo 3D) means; or, based on 3D Means generated 3D map image.
- the virtual map may also be referred to as a large map, a virtual big map, a game large map, etc., and the name of the virtual map is not limited in this embodiment.
- Virtual team consists of at least one virtual character in a war strategy game.
- the virtual team is used to achieve the purpose of travel.
- the virtual team can also be called a virtual queue, a virtual team, a virtual character set, etc., and the name of the virtual team is not limited in this embodiment.
- the purpose of travel includes but is not limited to: levy (including completion and return of the attack), attack (including completion and return of the attack), investigation (including completion and return of the investigation), assistance (including assistance completion and return), marking (including Mark the completion and return) and so on.
- At least one of the virtual characters in the virtual team includes: a virtual character controlled by the player; and/or a virtual character provided by the war strategy game, such as a non-player character (NPC).
- NPC non-player character
- Game Alliance A coalition of virtual characters controlled by at least one player in a war strategy game.
- the game alliance is used to assist the player to complete tasks in the game, such as: assisting the player to achieve the purpose of travel, assisting the player to create a virtual building, and the like.
- Traveling line used to indicate the travel route of a virtual team composed of at least one virtual character.
- the travel line is composed of a travel line start point, a travel line end point, and a travel path.
- the line of travel can also be called a marching line.
- the traveling line may be a straight line connecting the starting point of the traveling line and the end point of the traveling line; or it may be a curve connecting the starting point of the traveling line and the end point of the traveling line, and the embodiment does not limit the type of the traveling line.
- the travel lines may be displayed in different display manners depending on the purpose of travel. For example: display in different colors, display with different line thickness, and display at least one of different types of lines (dashed lines, solid lines, etc.).
- the travel line can be displayed by the following display:
- the line of travel is shown in blue when the purpose of the trip is for attack, attack return, assistance, or aid return.
- the line of travel is automatically generated by the war strategy game as the player begins to travel; or the line of travel is generated by the player's selection.
- the travel line is automatically generated by the war strategy game when the player is traveling.
- the display interface includes a partial virtual map 101, and the player's travel destination is assumed to be an exit.
- the traveling line 102 is displayed in the partial virtual map 101, and the traveling line 102 includes a traveling line starting point 1021, a traveling line ending point 1022, and a traveling line path (indicated by a broken line).
- the virtual team (the queue represented by the triangular graph in the figure) completes the travel purpose in accordance with the travel route indicated by the travel line 102.
- the distance between the starting point 1021 of the traveling line and the ending point 1022 of the traveling line is short, and at this time, all the traveling lines 102 can be displayed in the current display interface.
- the length of the traveling line is long, for example, in FIG. 2, the length of the traveling line 200 exceeds the maximum length that the display interface can display.
- the user needs to view the starting point of the traveling line 200, it may be necessary to The drag operation is performed on the display interface.
- the drag operation is performed twice in FIG. 2, thereby controlling the display interface to display the starting point of the travel line. At this time, the efficiency of viewing a certain travel line position on the travel line is low.
- the present application provides the following technical solutions, which can solve the above technical problems.
- the present application is described by taking an execution body of each embodiment as a client, and the client has a function of displaying a travel line in a virtual map.
- the client can be a game client, and the game client can be a war strategy game or other types of games; the client can also be other types of clients, which is not limited in this embodiment.
- the client is the client of the virtual military exercise, the client of the outdoor travel simulation plan, the navigation client, the client of the Multiplayer Online Battle Arena Games (MOBA), etc., not limited to the war strategy.
- Game client Embodiments of the present application may be applicable to various clients that provide a virtual world and that have virtual characters in the virtual world.
- the client runs in the terminal, where the terminal can be a mobile phone, a tablet, a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a smart home device, a knee
- the terminal can be a mobile phone, a tablet, a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a smart home device, a knee
- VR virtual reality
- AR augmented reality
- this embodiment does not limit the type of the terminal.
- FIG. 3 is a flowchart of a method for displaying travel line information on a virtual map provided by an embodiment of the present application.
- the method may be performed by a terminal, and the method includes:
- Step 301 Receive a first triggering operation that acts on a traveling line in the virtual map.
- the travel line is a travel route of a virtual team composed of at least one virtual character.
- the travel line is composed of a travel line start point, a travel line end point, and a travel path.
- the first triggering operation on the traveling line may be that the acting position of the first triggering operation is on the traveling line; or, the acting position of the first triggering operation may be directed to the traveling line, for example, displaying in the display interface.
- the triggering control corresponding to the traveling line and the traveling line receives the first triggering operation of the action position on the triggering control, that is, receives the first triggering operation acting on the traveling line in the virtual map.
- the first triggering operation may be an operation triggered by touching the display screen; or may be an operation triggered by controlling an external input device, such as controlling a mouse, a VR handle, or the like.
- the first triggering operation may be a type of a click operation, a combo operation, a long press operation, a sliding operation, and the like.
- the embodiment does not limit the type of the first trigger operation.
- the traveling line affected by the first triggering operation may be highlighted.
- the way of highlighting the line of travel may be to thicken the line of the line of travel; and/or highlight the line of travel; and/or increase the line of sight to the background display.
- the manner of highlighting the travel line may also be other manners, which is not limited in this embodiment.
- Step 302 Display a positioning control according to the first triggering operation.
- the positioning control is used to locate the target traveling line position on the traveling line.
- the number of positioning controls is at least one.
- the positioning control includes at least one of a first positioning control, a second positioning control, and a third positioning control, wherein the first positioning control is used to locate a starting point of the traveling line on the traveling line, and the second positioning control is used to The end point of the travel line on the travel line is located, and the third positioning control is used to locate the virtual team position of the virtual team. That is, the target travel line position is at least one of a travel line start point, a travel line end point, and a virtual team position.
- target travel line position of the positioning control is only schematic, and in actual implementation, other travel line positions on the travel line can also be located.
- Other target travel line locations include at least one of the location of the enemy team, the location of the neutral team, the location where the resource exists, and the location where the designated building exists.
- the resource may be at least one of a water source, a gold mine, a gas mine, a wood mine, an iron ore, a grain, and a gem.
- the designated building may be at least one of a castle, a warehouse, an altar, an embassy, a point, a school yard, a market, a hospital, a dock, and a store.
- the display position of the at least one positioning control is superimposed on the traveling line in the current map area, and/or the display position of the at least one positioning control is superimposed on the traveling line in the current map area. Week side.
- the display position of the at least one positioning control is superimposed on the operation position of the first triggering operation in the current map area, and/or the display position of the at least one positioning control is in the current map area. Superimposed on the circumferential side of the operating position of the first triggering operation.
- Positioning controls can be round buttons, square buttons, or buttons of other shapes. At least one of a start point, an end point, a team name, a resource name, and a building name may be displayed on the positioning control.
- Step 303 Receive a second triggering operation that is applied to the positioning control.
- the action position of the second triggering operation acts on the positioning control.
- the second triggering operation may be an operation triggered by touching the display screen; or may be an operation triggered by controlling an external input device, such as controlling a mouse, a VR handle, or the like.
- the second triggering operation may be a type of a click operation, a combo operation, a long press operation, a sliding operation, and the like.
- the embodiment does not limit the type of the second trigger operation.
- Step 304 Display a target map area corresponding to the target traveling line position according to the second triggering operation.
- the target map area is a partial map image based on the target traveling line position in the virtual map.
- the partial map image based on the target traveling line position refers to: displaying the target traveling line position at a predetermined position of the display interface, and displaying the partial map image of the target traveling line position included in the virtual map at a predetermined scale.
- the predetermined position may be the center position of the display interface; or the predetermined position may be other positions from the center position, which is not limited in this embodiment.
- the iconic object around the target traveling line position is displayed as the center position, and the target traveling line position is displayed at a predetermined scale with respect to the target traveling line position.
- the predetermined scale may be the same as the scale of the current map area displayed when (or before) the second triggering operation is received; or different from the scale of the current map area.
- the traveling line 400 is displayed in the virtual map.
- the client After receiving the first triggering operation on the traveling line 400, the client displays the positioning controls 401, 402, and 403, wherein the positioning control 401 is used to locate the starting point of the traveling line, the positioning control 402 is used to locate the end point of the traveling line, and the positioning control 403 Used to locate virtual team locations. If the second triggering operation is performed on the positioning control 401, the client displays the target map area 404 corresponding to the starting point of the traveling line; if the second triggering operation is performed on the positioning control 402, the client displays the end of the traveling line. The target map area 405; if receiving the second triggering operation acting on the positioning control 403, the client displays the target map area 406 corresponding to the virtual team position.
- the client when the target traveling line position is the virtual team position, after displaying the target map area corresponding to the target traveling line position according to the second triggering operation, the client updates the display target map area in real time to obtain an update.
- the subsequent map image is used to indicate a change in the position of the virtual team position in the virtual map.
- the user can conveniently pay attention to the position change of the virtual team in real time, and improve the effect of the client displaying the virtual team position. For example, in FIG. 4, after the client displays the target map area 406 corresponding to the virtual team 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 team position.
- the display method for the travel line information on the virtual map displays the positioning control by receiving the first triggering operation on the traveling line in the virtual map;
- the target map area corresponding to the target traveling line position indicated by the positioning control is displayed; it can be solved that when the length of the traveling line is long, the target map area corresponding to the target traveling line position is displayed with low efficiency.
- the problem is that the client can directly jump to the target travel line position corresponding to the positioning control according to the trigger operation of the positioning control, instead of receiving the drag and drop on the virtual map.
- the operation is to display the target travel line position, and therefore, the efficiency of displaying the target travel line position can be improved.
- the traveling destination indicated by the traveling line may also be displayed.
- the client may display the traveling purpose when the positioning control is displayed; or, the traveling destination may be displayed before the positioning control is displayed; or, the traveling destination may be displayed after the positioning control is displayed, and the embodiment does not display the driving purpose of the traveling purpose. limited.
- the purpose of travel is used to indicate that the virtual team is currently traveling through the travel line, and the purpose of travel includes one of levy, attack, detection, assistance, marking, and return.
- the client displays the purpose of the traveling, including: obtaining a traveling destination; determining a display manner corresponding to the traveling destination according to the correspondence between the traveling destination and the display manner; and displaying the traveling destination on the traveling line in the display manner.
- the destination may be sent by the server; or it may be stored by the client.
- the display manner includes, but is not limited to, one of the following: displaying in a predetermined background pattern, displaying in a predetermined background pattern with a predetermined background color, and the like.
- the client after receiving the first triggering operation on the traveling line 400, the client displays the traveling destination "exit" on the traveling line 400 with a red arrow (an arrow with a background of the left oblique line).
- the travel purpose may also be displayed at a first predetermined location in the display interface.
- This embodiment does not define a specific position of the first predetermined position in the display interface.
- the first predetermined position is located below the positioning control. For example, in FIG. 4, after the client receives the first triggering operation on the traveling line 400, the destination "exit" is displayed below the positioning controls 401, 402, and 403.
- the traveling state indicated by the traveling line may also be displayed.
- the traveling state includes at least one of a position of the virtual team in the virtual map, a traveled distance, a remaining travel time, and a travel speed.
- the travel status is displayed at a second predetermined location in the display interface.
- This embodiment does not define a specific position of the second predetermined position in the display interface.
- the second predetermined position is located below the positioning control.
- the second predetermined position may be the same as the first predetermined position or may be different from the first predetermined position.
- the client after receiving the first triggering operation on the traveling line 400, the client displays the remaining traveling time "2:33" at the first predetermined position.
- the role identifier of the virtual character that triggers the traveling line may also be displayed.
- the role identifier may be at least one of a role name of the virtual character, a role icon of the virtual character, and an identity of the virtual character.
- the character identification is displayed at a third predetermined location in the display interface.
- This embodiment does not define a specific position of the second predetermined position in the display interface.
- the second predetermined position is located below the positioning control.
- the third predetermined position may be the same as the first predetermined position and the second predetermined position; or may be different from the first predetermined position and the second predetermined position.
- the client after receiving the first triggering operation on the traveling line 400, the client displays the role name "Monkey" at the first predetermined position.
- the efficiency of the player to acquire the related information can be improved.
- the client may stop displaying the positioning control, the traveling purpose, the traveling state, and the character when receiving the second triggering operation or receiving other triggering operations that are not acting on the positioning control. At least one of the logos.
- the display interface shown in FIG. 4 is only schematic. In actual implementation, the display interface may also be a virtual map (407), a positioning control (408), a traveling line (409), and a traveling state (410) in FIG. 5. ) and the role name (411) to display.
- the current map area displayed when the client receives the first triggering operation may not include the target traveling line position.
- the client displays the target map area corresponding to the target traveling line position according to the second triggering operation, including: acquiring virtual coordinates of the target traveling line position according to the second triggering operation; and not including the virtual in the current map area. When the coordinates are displayed, jump from the current map area to the target map area display.
- the virtual coordinate is the coordinate of the target traveling line position in the virtual map.
- the current map area is a partial map image based on other positions in the virtual map, and the other positions are different from the target traveling line position.
- the other location is the central location of the current map area.
- the manner of jumping from the current map area to the target map area may be a gradient jump; or it may be a direct jump.
- the gradient jump refers to a jump mode in which the display interface is gradually updated from the current map region to the target map region along the direction of the target map region, and the gradual update may be according to a preset speed; the direct jump refers to the current map.
- the next frame image of the region is the jump mode of the target map region.
- the manner in which the client obtains the virtual coordinates of the target travel line location includes but is not limited to the following:
- the first type after receiving the second triggering operation, the client generates a coordinate acquiring request for requesting obtaining virtual coordinates of the target traveling line position; the client sends the coordinate obtaining request to the server; the server obtains the coordinate according to the coordinate The request sends the virtual coordinate to the client; the client receives the virtual coordinate.
- the coordinate acquisition request includes a travel line identifier of the travel line and a location identifier of the target travel line location.
- the travel line identifier may be the name of the player or the game alliance that triggers the travel line, the number of the travel line, etc.
- the position identifier may be the position of the target travel line position on the travel line, such as: the start line of the travel line, the end of the travel line, the virtual team For the position and the like, the embodiment does not limit the representation of the line identification and the position identification.
- a correspondence between the route identifier, the location identifier, and each virtual coordinate is stored in the server.
- the server may determine the virtual coordinates of the target travel line position according to the travel line identifier and the location identifier in the coordinate acquisition request.
- the second type after receiving the second triggering operation, the client determines the virtual coordinates of the target traveling line position according to the stored relationship between the traveling line identifier, the position identifier, and each virtual coordinate.
- the correspondence between the line identification, the location identifier, and each virtual coordinate is sent by the server to the client.
- the second triggering operation directly jumps from the current map area to the target image corresponding to the target traveling line position.
- the efficiency of displaying the target travel line position can be improved without receiving the drag operation on the virtual map multiple times to display the target travel line position.
- the current map area displayed when the client receives the first triggering operation may already include the target traveling line position.
- the client displays the target map area corresponding to the target traveling line position according to the second triggering operation, including: enlarging the scale to obtain the enlarged scale; and displaying the target map area on the enlarged scale.
- the target travel line position is displayed on a larger scale, which helps the user to more clearly view the position of the target travel line, and improves the client display target travel. The effect of the line position.
- the client may also output an on-screen prompt when receiving the second trigger operation, and the same screen prompt is used to prompt the travel.
- the lines are in the same display interface.
- the client does not change the currently displayed partial map image when displaying the on-screen prompt.
- displaying the positioning control according to the first triggering operation includes: determining, according to the action position of the first triggering operation on the traveling line, whether the first triggering operation satisfies the triggering condition of the triggering display positioning control; When the condition is met, the positioning control is displayed.
- the trigger condition is used to indicate a condition that the action position of the first trigger operation needs to be satisfied before the positioning button is displayed.
- the first trigger condition includes but is not limited to any one of the following two types:
- the action position of the first, first triggering operation is on the effective travel line.
- the effective travel line is a travel line that supports the response to the first trigger operation. That is, when there are a plurality of traveling lines, some of the traveling lines support the first triggering operation, and some of the traveling lines do not support the first triggering operation.
- the client determines whether the travel line is a valid travel line when determining that the action position of the first trigger operation acts on the travel line; and displays the positioning control when the travel line is a valid travel line.
- the manner in which the client determines whether the travel line is a valid travel line includes, but is not limited to, at least one of the following determination manners:
- the whitelist type of travel line is triggered by the player currently logged into the client, and/or the travel line triggered by the affiliate player.
- the alliance player refers to other players who belong to the same game alliance as the player.
- an affiliate player is another player who belongs to the same interest group as the player.
- the whitelist type of travel line includes, but is not limited to, the following: a travel line triggered by the player when achieving the travel purpose (eg, a travel line triggered when the purpose of the bid is achieved, and a travel line triggered when the attack purpose is achieved). , the line of travel triggered when the purpose of the aid is achieved, etc.), the line of travel triggered by the Alliance player when achieving the purpose of the trip (for example, the line of travel triggered by the Alliance player when achieving the goal, the line of travel triggered when the purpose of the investigation is achieved, etc.) .
- a travel line triggered by the player when achieving the travel purpose eg, a travel line triggered when the purpose of the bid is achieved, and a travel line triggered when the attack purpose is achieved.
- the line of travel triggered when the purpose of the aid is achieved, etc.
- the line of travel triggered by the Alliance player when achieving the purpose of the trip for example, the line of travel triggered by the Alliance player when achieving the goal, the line
- the blacklist type of travel line refers to a travel line that is unrelated to the player currently logged into the client.
- the blacklist type of travel line includes, but is not limited to, the following: the travel line triggered by the player in other game leagues, the travel line triggered by the NPC in the client when achieving the travel purpose.
- game alliances refer to game alliances that are not joined by players currently logged into the client.
- other affiliate players refer to other players who belong to different interest groups with the player.
- the client may output an irrelevant prompt for prompting the first triggering operation to be invalid.
- the line of travel may be expired.
- the distance threshold is determined according to at least one of a length, a width, and a diagonal length of the current display interface.
- the current display interface may display all of the travel lines when the distance between the start of the travel line on the travel line and the end of the travel line is less than the distance threshold.
- the client when the current display interface can display all the travel lines, the client can also output the same screen prompt when receiving the second trigger operation.
- the triggering condition includes: the acting position of the first triggering operation is at an effective position of the effective traveling line.
- the effective position is a position of the travel line that supports the first triggering operation on the effective traveling line.
- the client Since the second trigger condition includes the capacity in the first trigger condition, the client must satisfy the first trigger condition when the second trigger condition is met. At this point, it is only necessary to set the client to satisfy one of the first trigger condition and the second trigger condition.
- the client determines whether the traveling line is a valid traveling line; and when determining that the traveling line is an effective traveling line, determining the role Whether the position is a valid position on the effective travel line; when the action position is a valid position on the effective travel line, the positioning control is displayed.
- the manner in which the client determines whether the active location is a valid location on the valid travel line includes, but is not limited to, at least one of the following two types:
- the client may output a building interaction control that interacts with the virtual building when the action location of the first triggering operation is both on the active travel line and on the virtual building.
- the interactive content indicated by the building interaction control includes but is not limited to: occupying virtual buildings, assisting resources for virtual buildings, camping in virtual buildings, exploring virtual buildings, attacking virtual buildings, and the like.
- the client may output a role interaction control that interacts with the virtual character.
- the virtual character includes at least one of an NPC and a player-controlled virtual character.
- the interactive content indicated by the role interaction control includes but is not limited to: attacking the virtual character, and viewing the detailed information of the virtual character, such as the role name, level, capability, and the like of the virtual character.
- the client may output an interactive prompt for prompting the first triggering operation to act on the virtual building or the virtual character.
- the fact that the action position is located on at least two effective travel lines means that there are at least two effective travel lines intersecting at the intersection point, and the action position is at the intersection point.
- the client may output a plurality of line prompts for prompting the first trigger operation to act on the at least two effective travel lines.
- the triggering condition may also be other conditions, for example, the working position of the first triggering operation is located at the effective position, and the specific content of the triggering condition is not limited in this embodiment.
- Step 501 Receive a first triggering operation that acts on a traveling line in the virtual map.
- step 301 For the description of this step, refer to step 301, which is not described herein.
- Step 502 Determine whether the travel line of the first trigger operation is a valid travel line; when the travel line is not a valid travel line, perform step 503; and when the travel line is a valid travel line, perform step 504.
- step 503 the irrelevant prompt is output, and the process ends.
- Step 504 Determine whether the action position of the first triggering operation is located on the effective traveling line and on the virtual building or the virtual character; when the traveling line is located on the effective traveling line and on the virtual building or the virtual character, the steps are performed. 505; Step 506 is performed when the travel line is on an active travel line but not on the virtual building or virtual character.
- step 505 an interactive prompt is output, and the process ends.
- Step 506 it is determined whether the action position of the first trigger operation is located on at least two effective travel lines; when the action position of the first trigger operation is located on at least two effective travel lines, step 507 is performed; When the location is only on one valid travel line, step 508 is performed.
- step 507 a plurality of line prompts are output, and the process ends.
- Step 508 displaying the positioning control, and performing step 303.
- the first trigger operation acting on the invalid travel line may be a misoperation.
- the traveling line affected by the first triggering operation is an effective traveling line; and the positioning control is displayed when the traveling line is an effective traveling line, The problem that the client responds to the misoperation of the invalid travel line to display the positioning control can be avoided, resulting in wasting the resource of the terminal; and the accuracy of the client displaying the positioning control in response to the first trigger operation can be improved.
- the player actually needs to interact with the virtual character or the virtual building when the action position of the first triggering operation is both on the traveling line and on the virtual character or the virtual building
- the client By displaying the interactive control (building interaction control or role interaction control) by not displaying the positioning control when the action position of the first triggering operation is located on the traveling line or on the virtual character or the virtual building, the client can be improved.
- the accuracy of the output control type since the player actually needs to interact with the virtual character or the virtual building when the action position of the first triggering operation is both on the traveling line and on the virtual character or the virtual building, in this embodiment, By displaying the interactive control (building interaction control or role interaction control) by not displaying the positioning control when the action position of the first triggering operation is located on the traveling line or on the virtual character or the virtual building, the client can be improved. The accuracy of the output control type.
- the client since the working position of the first triggering operation is located on at least two effective traveling lines, the client cannot determine the traveling line that the player actually needs to operate, and if the positioning control corresponding to a certain effective traveling line is randomly displayed, the positioning may be caused.
- the problem that the position of the line of travel does not match the position that the player actually needs to view.
- by outputting a plurality of line prompts when the active position of the first triggering operation is on at least two effective traveling lines the player may be prompted to input the working position of the first triggering operation more accurately, and the client may be improved according to the position of the first triggering operation.
- the positioning control locates the accuracy of the position of the line of travel.
- the client if the client outputs the prompt information when the triggering condition of the trigger display positioning control is not met by the first triggering operation, the client further needs to determine, when the triggering condition that the first triggering operation is not satisfied is at least one type The display priority of the prompt information corresponding to the trigger condition is displayed, and the prompt information is displayed according to the display priority.
- the prompt information is used to prompt that the first triggering operation does not satisfy the triggering condition
- the prompting information includes, but is not limited to, at least one of the following: a screen prompt, an irrelevant prompt, an interactive prompt, and multiple line prompts.
- the triggering condition includes a first condition and a second condition, and the first prompt information outputted when the first condition is not satisfied is different from the second prompt information outputted when the second condition is not satisfied; Outputting the prompt information when the trigger condition is met, including: when the first triggering operation does not satisfy the first condition and the second condition, obtaining the display priority of the first prompt information and the display priority of the second prompt information; displaying according to the display priority The first prompt information or the second prompt information.
- the first condition is: 1) the action position of the first trigger operation is located on the travel line triggered by the player or the alliance player, and 2) the action position of the first trigger operation is located between the start point of the travel line and the end point of the travel line a line of travel greater than the distance threshold, 3) the active position of the first triggering operation is on the active travel line, and is not located on the virtual building, 4) the active position of the first triggering operation is on the active travel line, and is not located on the virtual character and 5) The action position of the first triggering operation is only at least one of an effective travel line.
- the second condition is a trigger condition different from the first condition in the above condition.
- the prompt information corresponding to the trigger condition that “1) the action position of the first trigger operation is located on the travel line triggered by the player or the alliance player is an irrelevant prompt; and the “2” first trigger operation is not satisfied.
- the prompt information corresponding to the trigger condition when the distance between the start point of the travel line and the end point of the travel line is greater than the distance threshold is the same screen prompt; the action position where the first trigger operation is not satisfied is not satisfied.
- the prompt information that is not located on the virtual building "and "4) the action position of the first triggering operation is located on the effective traveling line and is not located on the virtual character" is an interactive prompt; the first is not satisfied "5)
- the triggering operation of the triggering operation is only on a valid traveling line, the corresponding prompt information is a multiple line prompt.
- the displaying, by the client, the first prompt information or the second prompt information according to the display priority including: generating each of the at least two trigger conditions when determining that the first trigger operation does not satisfy the at least two trigger conditions
- the prompt information corresponding to the trigger condition is determined; and the prompt information with the highest priority is displayed from the prompt information corresponding to each trigger condition for display.
- the flow of displaying prompt information provided by this embodiment is introduced as an example.
- the action position of the first trigger operation does not satisfy the above five trigger conditions at the same time
- the display priority of the prompt information is: the display priority of the interactive prompt is higher than the display priority of the irrelevant prompt is higher than the multi-line prompt
- the display priority is higher than the display priority of the same screen prompt as an example.
- Step 601 Receive a first triggering operation on the traveling line.
- step 301 For the description of this step, refer to step 301, which is not described herein.
- Step 602 determining that the action position of the first trigger operation is not located on the travel line triggered by the player or the alliance player, generating an irrelevant prompt; determining that the action position of the first trigger operation is located between the start point of the travel line and the end point of the travel line is less than the distance threshold On the traveling line, generating the same screen prompt; determining that the action position of the first triggering operation is located on the effective traveling line and the virtual building, generating an interactive prompt; determining that the acting position of the first triggering operation is located on at least two effective traveling lines, generating more Line reminder.
- Step 603 Determine, from the irrelevant prompt, the on-screen prompt, the interactive prompt, and the multiple line prompts, the prompt information with the highest priority is an interactive prompt, and display the interactive prompt.
- the display priority of the prompt information in this embodiment is only schematic. In actual implementation, the prompt information may not be displayed by the display priority.
- the displaying, by the client, the first prompt information or the second prompt information according to the display priority including: detecting, according to the display priority order of the prompt information, whether the first trigger operation satisfies the corresponding trigger condition, and not satisfying When the corresponding trigger condition is met, the corresponding prompt information is displayed.
- the flow of displaying prompt information provided by this embodiment is introduced as an example.
- the display priority of the prompt information is as follows: the display priority of the interactive prompt is higher than the display priority of the irrelevant prompt is higher than the display priority of the multi-line prompt is higher than the display priority of the same screen as an example. .
- Step 701 Receive a first triggering operation of a traveling line acting on the virtual map.
- step 301 For the description of this step, refer to step 301, which is not described herein.
- step 702 it is detected whether the first triggering operation meets the triggering condition corresponding to the interactive prompt; when the triggering condition corresponding to the interactive prompt is met, step 703 is performed; when the triggering condition corresponding to the interactive prompt is not met, step 704 is performed.
- 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.
- the triggering condition corresponding to the interaction prompt is that the working position of the first triggering operation is on the effective traveling line and the virtual building; or the acting position of the first triggering operation is located on the valid traveling line and the virtual character.
- step 703 an interactive prompt is generated, and the interactive prompt is displayed, and the process ends.
- step 704 it is detected whether the first triggering operation meets the triggering condition corresponding to the irrelevant prompt; when the triggering condition corresponding to the irrelevant prompt is met, step 705 is performed; when the triggering condition corresponding to the irrelevant prompt is not met, step 706 is performed.
- the unrelated prompt is to display the prompt information with the highest priority in the prompt information except the interactive prompt. Therefore, after detecting whether the first trigger operation meets the trigger condition corresponding to the interactive prompt, the first trigger is detected. Whether the operation meets the trigger condition corresponding to the irrelevant prompt.
- the trigger condition corresponding to the irrelevant prompt is that the action position of the first trigger operation is not located on the travel line triggered by the player or the alliance player.
- step 705 an irrelevant prompt is generated, and the irrelevant prompt is displayed, and the process ends.
- step 706 it is detected whether the first triggering operation meets the triggering condition corresponding to the multiple line prompts.
- step 707 is performed; when the triggering condition corresponding to the multiple line prompts is not met, the step is performed. 708.
- the multiple line prompts display the prompt information with the highest priority in the prompt information except the interactive prompt and the irrelevant prompt. Therefore, when detecting whether the first trigger operation meets the trigger condition corresponding to the interactive prompt, After a triggering operation satisfies the triggering condition corresponding to the irrelevant prompt, it is detected whether the first triggering operation satisfies the triggering condition corresponding to the multiple line prompts.
- the triggering condition corresponding to the multiple line prompts is that the acting position of the first triggering operation is located on at least two valid traveling lines.
- step 707 a plurality of line prompts are generated, and the multiple line prompts are displayed, and the process ends.
- Step 708 Detect whether the first triggering operation meets the triggering condition corresponding to the on-screen prompt; when the triggering condition corresponding to the on-screen prompt is met, step 709 is performed; when the triggering condition corresponding to the on-screen prompt is not met, step 302 is performed.
- the on-screen prompt is to display the prompt information with the lowest priority, it is finally detected whether the first trigger operation satisfies the trigger condition corresponding to the on-screen prompt.
- the trigger condition corresponding to the on-screen prompt is that the action position of the first trigger operation is located on a travel line where the distance between the start point of the travel line and the end point of the travel line is less than the distance threshold.
- step 709 the same screen prompt is displayed, and the same screen prompt is displayed.
- the prompt information corresponding to the triggering condition is displayed according to the display priority, so that the prompt information generated by the client is avoided, and it is impossible to determine which prompt information is displayed.
- the problem can be ensured that the client selects a prompt message from multiple pieces of prompt information and displays it.
- FIG. 9 it is a flowchart of a method for displaying travel line information on a virtual map provided by another embodiment of the present application, where the method includes:
- Step 801 Receive a first triggering operation that acts on a traveling line in the virtual map.
- step 301 For details about this step, refer to step 301. This embodiment is not described here.
- Step 802 Determine whether the first trigger operation meets the trigger condition; if the trigger operation does not satisfy the trigger condition, perform step 803; if the trigger meets the trigger condition, perform step 804.
- the triggering condition is: the acting position of the first triggering operation is on the effective traveling line; or the acting position of the first triggering operation is located at the effective position of the effective traveling line.
- step 803 the prompt information is output, and the process ends.
- the prompt information is used to indicate that the first trigger operation does not satisfy the trigger condition.
- Step 804 Display a positioning control, where the positioning control includes a first control, a second control, and a third control.
- the first control is used to locate the starting point of the traveling line on the traveling line; the second control is used to locate the end point of the traveling line on the traveling line; and the third control is used to locate the virtual position on the traveling line.
- step 805 the ⁇ reach purpose is obtained.
- the client receives the travel destination sent by the server.
- the state of travel includes one of exit, attack, investigation, assistance, marking, and return.
- step 806 the traveling destination is displayed in a display manner corresponding to the traveling destination.
- the client determines a display manner corresponding to the traveling destination according to the correspondence between the traveling purpose and the display mode.
- the corresponding display mode when the purpose of the march is for an attack or an attack, the corresponding display mode is to display the sign on the travel line with the background color as red; when the purpose of the travel is assistance, the corresponding display mode is to display the aid on the travel line with the background color as green; When the purpose of the travel is scouting, the corresponding display mode is to display the detection on the travel line with the background color as orange; when the travel destination is the mark, the corresponding display mode is to display the mark on the travel line with the background color as yellow; The corresponding display mode is to display the return on the travel line with the background color corresponding to the purpose of the departure.
- the steps 805 and 806 may be performed after the step 804; or may be performed before the step 804; or may be performed simultaneously with the step 804, which is not limited in this embodiment.
- Step 807 If the received second triggering operation on the first control is performed, the virtual coordinates of the starting point of the traveling line are acquired, and the map image based on the virtual coordinate is displayed, and the process ends.
- Step 808 If the received second trigger operation is applied to the second control, the virtual coordinates of the end point of the travel line are acquired, and the map image based on the virtual coordinate is displayed, and the process ends.
- Step 809 If the received second triggering operation is performed on the third control, the virtual coordinates of the virtual team position are acquired, and the map image based on the virtual coordinates is displayed, and the map image is updated in real time.
- FIG. 11 is a structural diagram of a display device for traveling line information on a virtual map provided by an embodiment of the present application.
- the display device for the travel line information on the virtual map may be implemented as a whole or a part of the terminal by a dedicated hardware circuit or a combination of software and hardware.
- the display device for traveling line information on the virtual map includes: a first receiving module 1010.
- the control display module 1020, the second receiving module 1030, and the traveling line position positioning module 1040 includes: a first receiving module 1010.
- the control display module 1020, the second receiving module 1030, and the traveling line position positioning module 1040 is a structural diagram of a display device for traveling line information on a virtual map provided by an embodiment of the present application.
- the display device for the travel line information on the virtual map may be implemented as a whole or a part of the terminal by a dedicated hardware circuit or a combination of software and hardware.
- the display device for traveling line information on the virtual map includes: a first receiving module 1010.
- a first receiving module 1010 configured to receive a first triggering operation of a traveling line in a virtual map, where the traveling line is a traveling route of a virtual team composed of at least one virtual character;
- control display module 1020 configured to display a positioning control according to the first triggering operation, where the positioning control is used to locate a target traveling line position on the traveling line;
- the second receiving module 1030 is configured to receive a second triggering operation that is applied to the positioning control.
- a traveling line position locating module 1040 configured to display, according to the second triggering operation, a target map area corresponding to the target traveling line position, where the target map area is based on the target traveling line position in the virtual map. Partial map image.
- the travel line position location module 1040 includes: a location acquisition unit and a jump unit.
- a position obtaining unit configured to acquire virtual coordinates of the target traveling line position according to the second triggering operation, where the virtual coordinates are used to indicate coordinates of the target traveling line position in the virtual map;
- a jump unit For jumping from the current map area to the target map area display when the current map area does not include the virtual coordinate, the current map area being a partial map image based on other positions in the virtual map The other location is different from the target travel line location.
- the target traveling line position includes at least one of a starting point of a traveling line, an ending point of a traveling line, and a virtual team position, where the virtual team position refers to a position of the virtual team on the traveling line;
- the apparatus also includes an image update module. And an image updating module, configured to: when the target traveling line position is the virtual team position, display the target in real time after displaying the target map area corresponding to the target traveling line position according to the second triggering operation The map area is obtained with an updated map image for indicating a change in the position of the virtual team position in the virtual map.
- control display module 1020 is configured to determine, according to the action position of the first triggering operation on the traveling line, whether the first triggering operation satisfies a trigger condition for triggering display of the positioning control; The positioning control is displayed when the first triggering operation satisfies the triggering condition.
- the triggering condition includes: the working position is on an effective traveling line, the effective traveling line is a traveling line supporting the first triggering operation; or the triggering condition includes: the working position Located at an active position of the active travel line, the active position is a travel line position that supports the first triggering operation on the active travel line.
- the device further includes: a destination display module.
- a destination display module configured to display a travel destination after receiving a first triggering operation on a travel line in the virtual map, the travel destination being used to indicate that the virtual team is currently traveling through the travel line,
- the purpose of the trip includes: any of the expedition, attack, investigation, assistance, marking, and return.
- the destination display module is configured to acquire the travel destination; determine the display manner corresponding to the travel destination according to a correspondence between the travel destination and a display manner; The travel destination is displayed on the travel line.
- the device further includes: a status display module.
- a status display module configured to display a traveling status after receiving a first triggering operation on a traveling line in the virtual map, where the traveling status includes: a position of the virtual team in the virtual map, and a traveled distance At least one of remaining travel time and travel speed.
- the present application provides a computer readable storage medium having at least one instruction stored therein, the at least one instruction being loaded and executed by the processor to implement the virtual map provided by the various method embodiments described above.
- the method of displaying the travel line information is not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to implement the virtual map provided by the various method embodiments described above. The method of displaying the travel line information.
- the present application also provides a computer program product that, when run on a computer, causes the computer to perform the display method for the travel line information provided on the virtual map provided by the various method embodiments.
- the present application further provides a terminal, the terminal includes a processor and a memory, wherein the memory stores at least one instruction, and at least one instruction is loaded and executed by the processor to implement the line for the virtual map provided by the foregoing method embodiments. How to display information.
- the terminal may be the terminal provided in FIG. 12 as follows.
- FIG. 12 is a structural block diagram of a terminal 1100 provided by an exemplary embodiment of the present application.
- the terminal 1100 can be a portable mobile terminal, such as: a smart phone, a tablet computer, a wearable device, a VR device, an AR device, a smart home device, an MP3 player (Moving Picture Experts Group Audio Layer III), and a motion picture expert compresses standard audio. Level 3), MP4 (Moving Picture Experts Group Audio Layer IV, Motion Picture Experts Compress Standard Audio Level 4) player.
- the terminal 1100 may also be referred to as a user device, a portable terminal, or the like.
- the terminal 1100 includes a processor 1101 and a memory 1102.
- the processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
- the processor 1101 may be configured by at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). achieve.
- the processor 1101 may also include a main processor and a coprocessor.
- the main processor is a processor for processing data in an awake state, which is also called a CPU (Central Processing Unit); the coprocessor is A low-power processor for processing data in standby.
- the processor 1101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and rendering of content that needs to be displayed on the display screen.
- the processor 1101 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
- AI Artificial Intelligence
- Memory 1102 can include one or more computer readable storage media that can be tangible and non-transitory. Memory 1102 can also include high speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer readable storage medium in memory 1102 is for storing at least one instruction for execution by processor 1101 to implement the virtual map provided in the present application. The method of displaying the travel line information.
- the terminal 1100 further optionally includes: a peripheral device interface 1103 and at least one peripheral device.
- the peripheral device includes at least one of a radio frequency circuit 1104, a touch display screen 1105, a camera assembly 1106, an audio circuit 1107, a positioning component 1108, and a power source 1109.
- the peripheral device interface 1103 can be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 1101 and the memory 1102.
- processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any of processor 1101, memory 1102, and peripheral interface 1103 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
- the RF circuit 1104 is configured to receive and transmit an RF (Radio Frequency) signal, also called an electromagnetic signal.
- the RF circuit 1104 communicates with the communication network and other communication devices via electromagnetic signals.
- the radio frequency circuit 1104 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal.
- 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 the like.
- the radio frequency circuit 1104 can 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, a metropolitan area network, an intranet, generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity) networks.
- the radio frequency circuit 1104 may further include an NFC (Near Field Communication) related circuit, which is not limited in this application.
- the touch display screen 1105 is used to display a UI (User Interface).
- the UI can include graphics, text, icons, video, and any combination thereof.
- Touch display 1105 also has the ability to capture touch signals over the surface or surface of touch display 1105.
- the touch signal can be input to the processor 1101 as a control signal for processing.
- Touch display 1105 is used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards.
- the touch display screen 1105 may be one, and the front panel of the terminal 1100 is set; in other embodiments, the touch display screen 1105 may be at least two, respectively disposed on different surfaces of the terminal 1100 or in a folded design.
- the touch display 1105 can be a flexible display disposed on a curved surface or a folded surface of the terminal 1100. Even the touch display screen 1105 can be set to a non-rectangular irregular pattern, that is, a profiled screen.
- the touch display screen 1105 can be prepared by using a material such as an LCD (Liquid Crystal Display) or an OLED (Organic Light-Emitting Diode).
- Camera component 1106 is used to capture images or video.
- camera assembly 1106 includes a front camera and a rear camera.
- the front camera is used for video calls or self-timer
- the rear camera is used for photo or video capture.
- the rear camera is at least two, which are respectively a main camera, a depth of field camera, and a wide-angle camera, so that the main camera and the depth of field camera are combined to realize the background blur function, and the main camera and the wide-angle camera are integrated.
- Panoramic shooting and VR (Virtual Reality) shooting can also include a flash.
- the flash can be a monochrome temperature flash or a two-color temperature flash.
- the two-color temperature flash is a combination of a warm flash and a cool flash that can be used for light compensation at different color temperatures.
- the audio circuit 1107 is for providing an audio interface between the user and the terminal 1100.
- the audio circuit 1107 can include a microphone and a speaker.
- the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 1101 for processing, or to the RF circuit 1104 for voice communication.
- the microphones may be multiple, and are respectively disposed at different parts of the terminal 1100.
- the microphone can also be an array microphone or an omnidirectional acquisition microphone.
- the speaker is then used to convert electrical signals from the processor 1101 or the RF circuit 1104 into sound waves.
- the speaker can be a conventional film speaker or a piezoelectric ceramic speaker.
- the audio circuit 1107 can also include a headphone jack.
- the positioning component 1108 is configured to locate the current geographic location of the terminal 1100 to implement navigation or LBS (Location Based Service).
- the positioning component 1108 can be a positioning component based on a US-based GPS (Global Positioning System), a Chinese Beidou system, or a Russian Galileo system.
- a power supply 1109 is used to power various components in the terminal 1100.
- the power source 1109 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery.
- the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery.
- a wired rechargeable battery is a battery that is charged by a wired line
- a wireless rechargeable battery is a battery that is charged by a wireless coil.
- the rechargeable battery can also be used to support fast charging technology.
- terminal 1100 also includes one or more sensors 1110.
- the one or more sensors 1110 include, but are not limited to, an acceleration sensor 1111, a gyro sensor 1112, a pressure sensor 1113, a fingerprint sensor 1114, an optical sensor 1115, and a proximity sensor 1116.
- the acceleration sensor 1111 can detect the magnitude of the acceleration on the three coordinate axes of the coordinate system established by the terminal 1100.
- the acceleration sensor 1111 can be used to detect components of gravity acceleration on three coordinate axes.
- the processor 1101 can control the touch display screen 1105 to display the user interface in a landscape view or a portrait view according to the gravity acceleration signal collected by the acceleration sensor 1111.
- the acceleration sensor 1111 can also be used for the acquisition of game or user motion data.
- the gyro sensor 1112 can detect the body direction and the rotation angle of the terminal 1100, and the gyro sensor 1112 can cooperate with the acceleration sensor 1111 to collect the 3D motion of the user to the terminal 1100. Based on the data collected by the gyro sensor 1112, the processor 1101 can implement functions such as motion sensing (such as changing the UI according to the user's tilting operation), image stabilization at the time of shooting, game control, and inertial navigation.
- functions such as motion sensing (such as changing the UI according to the user's tilting operation), image stabilization at the time of shooting, game control, and inertial navigation.
- the pressure sensor 1113 may be disposed at a side border of the terminal 1100 and/or a lower layer of the touch display screen 1105.
- the pressure sensor 1113 When the pressure sensor 1113 is disposed at the side frame of the terminal 1100, the user's holding signal to the terminal 1100 can be detected, and the left and right hand recognition or shortcut operation can be performed according to the holding signal.
- the operability control on the UI interface can be controlled according to the user's pressure operation on the touch display screen 1105.
- the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
- the fingerprint sensor 1114 is configured to collect a fingerprint of the user to identify the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1101 authorizes the user to perform related sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying and changing settings, and the like.
- the fingerprint sensor 1114 can be provided with the front, back or side of the terminal 1100. When the physical button or vendor logo is set on the terminal 1100, the fingerprint sensor 1114 can be integrated with the physical button or the manufacturer logo.
- Optical sensor 1115 is used to collect ambient light intensity.
- the processor 1101 can control the display brightness of the touch display 1105 based on the ambient light intensity acquired by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1105 is raised; when the ambient light intensity is low, the display brightness of the touch display screen 1105 is lowered.
- the processor 1101 can also dynamically adjust the shooting parameters of the camera assembly 1106 according to the ambient light intensity acquired by the optical sensor 1115.
- Proximity sensor 1116 also referred to as a distance sensor, is typically disposed on the front side of terminal 1100. Proximity sensor 1116 is used to collect the distance between the user and the front side of terminal 1100. In one embodiment, when the proximity sensor 1116 detects that the distance between the user and the front side of the terminal 1100 is gradually decreasing, the processor 1101 controls the touch display screen 1105 to switch from the bright screen state to the interest screen state; when the proximity sensor 1116 detects When the distance between the user and the front side of the terminal 1100 gradually becomes larger, the processor 1101 controls the touch display screen 1105 to switch from the state of the screen to the bright state.
- terminal 1100 does not constitute a limitation to terminal 1100, may include more or fewer components than illustrated, or may combine certain components, or employ different component arrangements.
- the steps of the display method for implementing the travel line information on the virtual map in the foregoing embodiment may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be Stored in a computer readable storage medium, the storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like. Alternatively, the storage medium stores at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the processor to implement the methods as described above.
- a computer readable storage medium having stored therein a computer program loaded by the processor and executed to implement the virtual map provided by the above aspect The display method of the upper line information.
- a computer program product storing at least one instruction loaded by the processor and executed to implement travel on a virtual map as provided in the above aspect How to display line information.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
- Instructional Devices (AREA)
Abstract
A display method and apparatus for information of a traveling line (400) on a virtual map. The method comprises: receiving a first trigger operation acting on the traveling line (400) in the virtual map; displaying a positioning control (401, 402, 403) according to the first trigger operation, the positioning control (401, 402, 403) being used to position the location of a target traveling line on the traveling line (400); receiving a second trigger operation acting on the positioning control (401, 402, 403); and displaying, according to the second trigger operation, a target map area (404, 405, 406) corresponding to the location of the target traveling line.
Description
本申请要求于2017年11月29日提交的申请号为201711224655.7、发明名称为“用于虚拟地图上行军线信息的显示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201711224655.7, entitled "Display Method and Apparatus for Virtual Map Upstream Line Information", filed on November 29, 2017, the entire contents of In this application.
本申请实施例涉及虚拟环境领域,特别涉及一种用于虚拟地图上行进线信息的显示方法及装置。The embodiments of the present application relate to the field of virtual environments, and in particular, to a method and an apparatus for displaying travel line information on a virtual map.
战争策略型游戏是一种可以在虚拟地图上通过行军线显示至少一个虚拟角色的行军状态的游戏。其中,行军线是根据相关行为事件确定的,该相关行为事件包括但不限于:行为执行时的起始点(对应行军线起点)和行为执行时的终点(对应行军线终点)。A war strategy 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. Among them, the marching line is determined according to relevant behavioral events, including but not limited to: the starting point of the behavior execution (corresponding to the starting line of the marching line) and the ending point of the behavior execution (corresponding to the end of the marching line).
当行军线起点与行军线终点在虚拟地图上的距离较远时,对应的行军线的长度通常较长。此时,在当前显示的局部虚拟地图中,可能无法显示全部的行军线。当行军线的长度较长时,以玩家需要查看行军线的行军线起点对应的地图图像为例,该玩家可以在屏幕上沿行军线的行军线起点方向进行拖动操作,直至拖动至当前画面显示该行军线起点对应的地图图像时停止。When the starting point of the marching line is farther from the end of the marching line on the virtual map, the length of the corresponding marching line is usually longer. At this time, in the currently displayed partial virtual map, all the march lines may not be displayed. For example, when the length of the marching line is long, the player needs to view the map image corresponding to the starting line of the marching line of the marching line. The player can drag the screen along the starting line of the marching line on the screen until it is dragged to the current The screen stops when the map image corresponding to the starting point of the march line is displayed.
由于随着行军线长度的增加,用户执行拖动操作的次数也会增加,终端显示行军线上某一特定的行军线位置的效率较低。比如:终端显示行军线起点和行军线终点的效率较低。As the length of the marching line increases, the number of times the user performs the drag operation increases, and the terminal displays the efficiency of a particular march line position on the marching line is less efficient. For example, the terminal shows that the starting point of the marching line and the end of the marching line are less efficient.
发明内容Summary of the invention
本申请实施例提供了一种用于虚拟地图上行进线信息的显示方法及装置,可以解决定位目标行进线位置的效率较低的问题。所述技术方案如下:The embodiment of the present application provides a display method and device for traveling line information on a virtual map, which can solve the problem of low efficiency of positioning a target traveling line position. The technical solution is as follows:
一个方面,提供了一种用于虚拟地图上行进线信息的显示方法,所述方法由终端来执行,所述方法包括:In one aspect, a method for displaying travel line information on a virtual map is provided, the method being performed by a terminal, the method comprising:
接收作用于虚拟地图中的行进线的第一触发操作,所述行进线用于指示由 至少一个虚拟角色组成的虚拟队伍的行进路线;Receiving a first triggering operation acting on a travel line in the virtual map, the travel line being used to indicate a travel route of the virtual team composed of the at least one virtual character;
根据所述第一触发操作显示定位控件,所述定位控件用于定位所述行进线上的目标行进线位置;Displaying a positioning control according to the first triggering operation, the positioning control is configured to locate a target traveling line position on the traveling line;
接收作用于所述定位控件的第二触发操作;Receiving a second triggering operation acting on the positioning control;
根据所述第二触发操作显示所述目标行进线位置对应的目标地图区域,所述目标地图区域为所述虚拟地图中以所述目标行进线位置为基准的局部地图图像。And displaying, according to the second triggering operation, a target map area corresponding to the target traveling line position, where the target map area is a partial map image in the virtual map with the target traveling line position as a reference.
另一个方面,提供了一种用于虚拟地图上行进线信息的显示装置,所述装置包括:In another aspect, a display apparatus for traveling line information on a virtual map is provided, the apparatus comprising:
第一接收模块,用于接收作用于虚拟地图中的行进线的第一触发操作,所述行进线用于指示由至少一个虚拟角色组成的虚拟队伍的行进路线;a first receiving module, configured to receive a first triggering operation on a traveling line in the virtual map, where the traveling line is used to indicate a traveling route of the virtual team composed of the at least one virtual character;
控件显示模块,用于根据所述第一触发操作显示定位控件,所述定位控件用于定位所述行进线上的目标行进线位置;a control display module, configured to display a positioning control according to the first triggering operation, where the positioning control is used to locate a target traveling line position on the traveling line;
第二接收模块,用于接收作用于所述定位控件的第二触发操作;a second receiving module, configured to receive a second triggering operation that is applied to the positioning control;
行进线位置定位模块,用于根据所述第二触发操作显示所述目标行进线位置对应的目标地图区域,所述目标地图区域为所述虚拟地图中以所述目标行进线位置为基准的局部地图图像。a traveling line position locating module, configured to display, according to the second triggering operation, a target map area corresponding to the target traveling line position, where the target map area is a part of the virtual map with the target traveling line position as a reference Map image.
另一个方面,提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上方面所提供的用于虚拟地图上行进线信息的显示方法。In another aspect, a terminal is provided, the terminal comprising a processor and a memory, the memory storing at least one instruction, the at least one instruction being loaded and executed by the processor to implement the A method of displaying line information on a virtual map.
另一个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上方面所提供的用于虚拟地图上行进线信息的显示方法。In another aspect, a computer readable storage medium is provided having stored therein at least one instruction loaded by the processor and executed to implement the A method of displaying the travel line information on the virtual map.
另一个方面,提供了一种计算机程序产品,所述计算机程序产品中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现第一方面所提供的用于虚拟地图上行进线信息的显示方法。In another aspect, a computer program product is provided, the computer program product storing at least one instruction, the at least one instruction being loaded and executed by the processor to implement the first aspect provided for use on a virtual map The method of displaying the travel line information.
本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by the embodiments of the present application include at least:
通过在接收到作用于虚拟地图中的行进线上的第一触发操作时,显示定位控件;接收到作用于该定位控件的第二触发操作时,显示定位控件指示的目标行进线位置对应的目标地图区域;可以解决在行进线的长度较长时,显示目标行进线位置对应的目标地图区域的效率较低的问题;由于客户端在定位该目标 行进线位置时,可以根据对定位控件的触发操作直接跳转至该定位控件对应的目标行进线位置显示,而无需多次接收作用于虚拟地图上的拖拽操作来显示该目标行进线位置,因此,可以提高显示目标行进线位置的效率。Displaying the positioning control when receiving the first triggering operation on the traveling line in the virtual map; and receiving the second triggering operation acting on the positioning control, displaying the target corresponding to the target traveling line position indicated by the positioning control The map area can solve the problem that the target map area corresponding to the target travel line position is less efficient when the length of the travel line is long; since the client locates the target travel line position, the trigger can be triggered according to the positioning control The operation directly jumps to the target traveling line position display corresponding to the positioning control, and does not need to receive the drag operation on the virtual map multiple times to display the target traveling line position, and therefore, the efficiency of displaying the target traveling line position can be improved.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本申请一个示例性实施例提供的行进线的示意图;1 is a schematic diagram of a travel line provided by an exemplary embodiment of the present application;
图2是本申请另一个示例性实施例提供的行进线的示意图;2 is a schematic diagram of a travel line provided by another exemplary embodiment of the present application;
图3是本申请一个实施例提供的用于虚拟地图上行进线信息的显示方法的流程图;3 is a flowchart of a method for displaying travel line information on a virtual map according to an embodiment of the present application;
图4是本申请一个实施例提供的显示行进线位置的示意图;4 is a schematic diagram showing a position of a traveling line provided by an embodiment of the present application;
图5是本申请另一个实施例提供的显示行进线位置的示意图;FIG. 5 is a schematic diagram showing the position of a traveling line provided by another embodiment of the present application; FIG.
图6是本申请一个实施例提供的显示定位控件的流程图;6 is a flowchart of a display positioning control provided by an embodiment of the present application;
图7是本申请一个实施例提供的显示提示信息的流程图;FIG. 7 is a flowchart of displaying prompt information provided by an embodiment of the present application;
图8是本申请另一个实施例提供的显示提示信息的流程图;FIG. 8 is a flowchart of displaying prompt information according to another embodiment of the present application; FIG.
图9是本申请另一个实施例提供的用于虚拟地图上行进线信息的显示方法的流程图;9 is a flowchart of a method for displaying travel line information on a virtual map according to another embodiment of the present application;
图10是本申请一个实施例提供的行进目的与显示方式之间的对应关系的示意图;FIG. 10 is a schematic diagram of a correspondence between a traveling destination and a display mode according to an embodiment of the present application; FIG.
图11是本申请一个实施例提供的用于虚拟地图上行进线信息的显示装置的结构示意图;11 is a schematic structural diagram of a display apparatus for traveling line information on a virtual map according to an embodiment of the present application;
图12是本申请一个实施例提供的终端的结构示意图。FIG. 12 is a schematic structural diagram of a terminal according to an embodiment of the present application.
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
为了方便理解,下面对本申请实施例中出现的若干名词进行解释。For ease of understanding, a number of nouns appearing in the embodiments of the present application are explained below.
战争策略型游戏:是指支持玩家在虚拟世界中以发展策略建设本方的虚拟建筑,并以战争策略占领敌方的其它虚拟建筑的客户端。War strategy game: refers to the client that supports the player to build his own virtual building in the virtual world and adopts the war strategy to occupy the enemy's other virtual buildings.
战争策略型游戏提供的功能包括但不限于以下几种:显示虚拟地图、创建虚拟队伍、创建游戏联盟、显示行进线等。War strategy games provide features such as, but not limited to, the following: displaying virtual maps, creating virtual teams, creating game leagues, displaying travel lines, and more.
下面分别对这几种功能进行介绍:The following describes each of these features:
1、虚拟地图:按照一定的比例运用符号、颜色、文字标注等描述虚拟世界中自然地理、行政区域、社会经济状况的图像。比如:在虚拟地图中显示虚拟世界中的虚拟建筑,该虚拟建筑可以是根据玩家的操作创建的;或者,是游戏中默认设置的。1. Virtual map: Use images, colors, and text labels to describe images of natural geography, administrative regions, and socioeconomic conditions in the virtual world in a certain proportion. For example, a virtual building in a virtual world is displayed in a virtual map, which may be created according to a player's operation; or, is set by default in the game.
可选地,虚拟地图可以是基于二维(two dimension,2D)手段生成的2D地图图像;或者,是基于2.5D(或称,伪3D)手段生成的2.5D地图图像;或者,是基于3D手段生成的3D地图图像。Alternatively, the virtual map may be a 2D map image generated based on two dimension (2D) means; or a 2.5D map image generated based on 2.5D (or pseudo 3D) means; or, based on 3D Means generated 3D map image.
可选地,虚拟地图也可以称为大地图、虚拟大地图、游戏大地图等,本实施例不对虚拟地图的名称作限定。Optionally, the virtual map may also be referred to as a large map, a virtual big map, a game large map, etc., and the name of the virtual map is not limited in this embodiment.
2、虚拟队伍:由战争策略型游戏中的至少一个虚拟角色构成。虚拟队伍用于达成行进目的。虚拟队伍也可以称为:虚拟队列、虚拟团队、虚拟角色集合等,本实施例不对虚拟队伍的名称做限定。2. Virtual team: consists of at least one virtual character in a war strategy game. The virtual team is used to achieve the purpose of travel. The virtual team can also be called a virtual queue, a virtual team, a virtual character set, etc., and the name of the virtual team is not limited in this embodiment.
可选地,行进目的包括但不限于:出征(包括攻击完成并返回)、攻击(包括攻击完成并返回)、侦查(包括侦查完成并返回)、援助(包括援助完成并返回)、标记(包括标记完成并返回)等。Optionally, the purpose of travel includes but is not limited to: levy (including completion and return of the attack), attack (including completion and return of the attack), investigation (including completion and return of the investigation), assistance (including assistance completion and return), marking (including Mark the completion and return) and so on.
可选地,虚拟队伍中的至少一个虚拟角色包括:由玩家控制的虚拟角色;和/或,战争策略型游戏提供的虚拟角色,比如:非玩家控制角色(Non Player Character,NPC)。Optionally, at least one of the virtual characters in the virtual team includes: a virtual character controlled by the player; and/or a virtual character provided by the war strategy game, such as a non-player character (NPC).
3、游戏联盟:由至少一个玩家控制的虚拟角色在战争策略型游戏中组成的联盟。3. Game Alliance: A coalition of virtual characters controlled by at least one player in a war strategy game.
可选地,游戏联盟用于辅助玩家完成游戏中的任务,比如:辅助玩家达成行进目的,辅助玩家创建虚拟建筑等。Optionally, the game alliance is used to assist the player to complete tasks in the game, such as: assisting the player to achieve the purpose of travel, assisting the player to create a virtual building, and the like.
4、行进线:用于表示由至少一个虚拟角色组成的虚拟队伍的行进路线。行进线由行进线起点、行进线终点和行进路径构成。对于战争策略型游戏类的军事题材程序,该行进线也可称为行军线。4. Traveling line: used to indicate the travel route of a virtual team composed of at least one virtual character. The travel line is composed of a travel line start point, a travel line end point, and a travel path. For military-themed programs of war strategy-based games, the line of travel can also be called a marching line.
可选地,行进线可以是连接行进线起点和行进线终点的直线;或者,也可 以是连接行进线起点和行进线终点的曲线,本实施例不对行进线的类型作限定。Alternatively, the traveling line may be a straight line connecting the starting point of the traveling line and the end point of the traveling line; or it may be a curve connecting the starting point of the traveling line and the end point of the traveling line, and the embodiment does not limit the type of the traveling line.
可选地,行进线可以根据行进目的不同,以不同的显示方式显示。比如:以不同的颜色显示,以不同的线条粗细显示,以不同类型的线条(虚线、实线等)显示中的至少一种。Alternatively, the travel lines may be displayed in different display manners depending on the purpose of travel. For example: display in different colors, display with different line thickness, and display at least one of different types of lines (dashed lines, solid lines, etc.).
示意性地,根据行进目的的不同,行进线可以通过如下显示方式显示:Illustratively, depending on the purpose of travel, the travel line can be displayed by the following display:
行进目的为出征或者出征返回时,行进线显示为红色;When the purpose of the march is for the expedition or the return of the expedition, the travel line is displayed in red;
行进目的为侦查或者侦查返回时,行进线显示为橙色;When the purpose of the march is for investigation or when the investigation returns, the travel line is displayed in orange;
行进目的为标记或者标记返回时,行进线显示为黄色;When the purpose of travel is a mark or the mark returns, the travel line is displayed in yellow;
行进目的为攻击、攻击返回、援助或者援助返回时,行进线显示为蓝色。The line of travel is shown in blue when the purpose of the trip is for attack, attack return, assistance, or aid return.
可选地,行进线是在玩家开始行进时由战争策略游戏自动生成的;或者,行进线是由玩家选择生成的。Optionally, the line of travel is automatically generated by the war strategy game as the player begins to travel; or the line of travel is generated by the player's selection.
以行进线是在玩家进行行进目的时由战争策略游戏自动生成的为例,参考图1所示的战争策略型游戏的显示界面,该显示界面包括局部虚拟地图101,假设玩家的行进目的为出征,此时,局部虚拟地图101中显示行进线102,该行进线102包括行进线起点1021、行进线终点1022和行进线路径(虚线表示)。虚拟队伍(图中三角图形表示的队列)按照行进线102指示的行进路线完成行进目的。For example, the travel line is automatically generated by the war strategy game when the player is traveling. Referring to the display interface of the war strategy game shown in FIG. 1, the display interface includes a partial virtual map 101, and the player's travel destination is assumed to be an exit. At this time, the traveling line 102 is displayed in the partial virtual map 101, and the traveling line 102 includes a traveling line starting point 1021, a traveling line ending point 1022, and a traveling line path (indicated by a broken line). The virtual team (the queue represented by the triangular graph in the figure) completes the travel purpose in accordance with the travel route indicated by the travel line 102.
在图1中,行进线起点1021与行进线终点1022之间的距离较短,此时,当前显示界面中可以显示出全部的行进线102。然而,当行进线的长度较长时,比如:在图2中,行进线200的长度超过显示界面所能显示的最大长度,此时,若用户需要查看行进线200的行进线起点可能需要在显示界面上执行拖拽操作,比如:在图2中执行2次拖拽操作,从而控制显示界面显示行进线起点,此时,查看该行进线上的某一个行进线位置的效率较低。In FIG. 1, the distance between the starting point 1021 of the traveling line and the ending point 1022 of the traveling line is short, and at this time, all the traveling lines 102 can be displayed in the current display interface. However, when the length of the traveling line is long, for example, in FIG. 2, the length of the traveling line 200 exceeds the maximum length that the display interface can display. At this time, if the user needs to view the starting point of the traveling line 200, it may be necessary to The drag operation is performed on the display interface. For example, the drag operation is performed twice in FIG. 2, thereby controlling the display interface to display the starting point of the travel line. At this time, the efficiency of viewing a certain travel line position on the travel line is low.
本申请提供如下技术方案,可以解决上述技术问题,。The present application provides the following technical solutions, which can solve the above technical problems.
可选地,本申请以各个实施例的执行主体为客户端为例进行说明,该客户端具有在虚拟地图中显示行进线的功能。客户端可以是游戏客户端,该游戏客户端可以是战争策略型游戏,也可以是其它类型的游戏;客户端也可以是其它类型的客户端,本实施例对此不作限定。比如,客户端是虚拟军事演习的客户端、户外旅游模拟规划的客户端、导航客户端、多人在线战术竞技游戏(Multiplayer Online Battle Arena Games,MOBA)的客户端等,并不局限于战 争策略型游戏客户端。本申请实施例可以适用于提供有虚拟世界,且虚拟角色在虚拟世界中存在行进需求的各种客户端。Optionally, the present application is described by taking an execution body of each embodiment as a client, and the client has a function of displaying a travel line in a virtual map. The client can be a game client, and the game client can be a war strategy game or other types of games; the client can also be other types of clients, which is not limited in this embodiment. For example, the client is the client of the virtual military exercise, the client of the outdoor travel simulation plan, the navigation client, the client of the Multiplayer Online Battle Arena Games (MOBA), etc., not limited to the war strategy. Game client. Embodiments of the present application may be applicable to various clients that provide a virtual world and that have virtual characters in the virtual world.
可选地,客户端运行于终端中,该终端可以是手机、平板电脑、可穿戴式设备、虚拟现实(Virtual Reality,VR)设备、增强现实(Augmented Reality,AR)设备、智能家居设备、膝上型便携计算机和台式计算机等,本实施例不对终端的类型作限定。Optionally, the client runs in the terminal, where the terminal can be a mobile phone, a tablet, a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a smart home device, a knee For the upper type portable computer, the desktop computer, etc., this embodiment does not limit the type of the terminal.
请参考图3,其示出了本申请一个实施例提供的用于虚拟地图上行进线信息的显示方法的流程图,所述方法可以由终端来执行,该方法包括:Please refer to FIG. 3, which is a flowchart of a method for displaying travel line information on a virtual map provided by an embodiment of the present application. The method may be performed by a terminal, and the method includes:
步骤301,接收作用于虚拟地图中的行进线的第一触发操作。Step 301: Receive a first triggering operation that acts on a traveling line in the virtual map.
行进线为由至少一个虚拟角色组成的虚拟队伍的行进路线。行进线由行进线起点、行进线终点和行进路径构成。The travel line is a travel route of a virtual team composed of at least one virtual character. The travel line is composed of a travel line start point, a travel line end point, and a travel path.
可选地,作用于行进线的第一触发操作可以是第一触发操作的作用位置在行进线上;或者,也可以是第一触发操作的作用位置指向行进线,比如:在显示界面中显示行进线和该行进线对应的触发控件,在接收到作用位置在该触发控件上的第一触发操作时,即为接收到作用于虚拟地图中的行进线的第一触发操作。Optionally, the first triggering operation on the traveling line may be that the acting position of the first triggering operation is on the traveling line; or, the acting position of the first triggering operation may be directed to the traveling line, for example, displaying in the display interface. The triggering control corresponding to the traveling line and the traveling line receives the first triggering operation of the action position on the triggering control, that is, receives the first triggering operation acting on the traveling line in the virtual map.
可选地,第一触发操作可以是通过触摸显示屏触发的操作;或者,也可以是通过控制外部输入设备触发的操作,比如:控制鼠标、VR手柄等触发的操作。Optionally, the first triggering operation may be an operation triggered by touching the display screen; or may be an operation triggered by controlling an external input device, such as controlling a mouse, a VR handle, or the like.
可选地,第一触发操作可以是单击操作、连击操作、长按操作、滑动操作等类型,本实施例不对第一触发操作的类型作限定。Optionally, the first triggering operation may be a type of a click operation, a combo operation, a long press operation, a sliding operation, and the like. The embodiment does not limit the type of the first trigger operation.
可选地,在本实施例中,客户端接收到第一触发操作时,可以突出显示该第一触发操作所作用的行进线。其中,突出显示行进线的方式可以是将行进线的线条加粗;和/或,将行进线高亮显示;和/或,将行进线增加背景显示。当然,突出显示行进线的方式也可以是其它方式,本实施例对此不作限定。Optionally, in this embodiment, when the client receives the first triggering operation, the traveling line affected by the first triggering operation may be highlighted. Wherein, the way of highlighting the line of travel may be to thicken the line of the line of travel; and/or highlight the line of travel; and/or increase the line of sight to the background display. Of course, the manner of highlighting the travel line may also be other manners, which is not limited in this embodiment.
步骤302,根据第一触发操作显示定位控件。Step 302: Display a positioning control according to the first triggering operation.
其中,定位控件用于定位行进线上的目标行进线位置。Wherein, the positioning control is used to locate the target traveling line position on the traveling line.
可选地,定位控件的数量为至少一个。示意性地,定位控件包括:第一定位控件、第二定位控件和第三定位控件中的至少一个,其中,第一定位控件用于定位行进线上的行进线起点、第二定位控件用于定位行进线上的行进线终 点、第三定位控件用于定位虚拟队伍的虚拟队伍位置。也即,目标行进线位置为行进线起点、行进线终点和虚拟队伍位置中的至少一种。Optionally, the number of positioning controls is at least one. Illustratively, the positioning control includes at least one of a first positioning control, a second positioning control, and a third positioning control, wherein the first positioning control is used to locate a starting point of the traveling line on the traveling line, and the second positioning control is used to The end point of the travel line on the travel line is located, and the third positioning control is used to locate the virtual team position of the virtual team. That is, the target travel line position is at least one of a travel line start point, a travel line end point, and a virtual team position.
需要补充说明的是,上述定位控件定位的目标行进线位置仅是示意性地,在实际实现时,也可以定位行进线上的其它行进线位置。其它目标行进线位置包括:存在敌方队伍的位置、存在中立队伍的位置、存在资源的位置、存在指定建筑的位置中的至少一种。资源可以是水源、金矿、气矿、木矿、铁矿、粮草、宝石中的至少一种。指定建筑可以是城堡、仓库、祭坛、使馆、点将台、校场、集市、医院、码头、商店中的至少一种。It should be noted that the target travel line position of the positioning control is only schematic, and in actual implementation, other travel line positions on the travel line can also be located. Other target travel line locations include at least one of the location of the enemy team, the location of the neutral team, the location where the resource exists, and the location where the designated building exists. The resource may be at least one of a water source, a gold mine, a gas mine, a wood mine, an iron ore, a grain, and a gem. The designated building may be at least one of a castle, a warehouse, an altar, an embassy, a point, a school yard, a market, a hospital, a dock, and a store.
在一种可能的实现方式中,存在至少一个定位控件的显示位置在当前地图区域中叠加于行进线上,和/或,存在至少一个定位控件的显示位置在当前地图区域中叠加于行进线的周侧。In a possible implementation, the display position of the at least one positioning control is superimposed on the traveling line in the current map area, and/or the display position of the at least one positioning control is superimposed on the traveling line in the current map area. Week side.
在一种可能的实现方式中,存在至少一个定位控件的显示位置在当前地图区域中叠加于第一触发操作的操作位置上,和/或,存在至少一个定位控件的显示位置在当前地图区域中叠加于第一触发操作的操作位置的周侧。In a possible implementation, the display position of the at least one positioning control is superimposed on the operation position of the first triggering operation in the current map area, and/or the display position of the at least one positioning control is in the current map area. Superimposed on the circumferential side of the operating position of the first triggering operation.
定位控件可以是圆形按钮、方形按钮或其他形状的按钮。定位控件上可以显示有起点、终点、队伍名、资源名和建筑名中的至少一种。Positioning controls can be round buttons, square buttons, or buttons of other shapes. At least one of a start point, an end point, a team name, a resource name, and a building name may be displayed on the positioning control.
步骤303,接收作用于定位控件的第二触发操作。Step 303: Receive a second triggering operation that is applied to the positioning control.
可选地,第二触发操作的作用位置作用于定位控件上。Optionally, the action position of the second triggering operation acts on the positioning control.
可选地,第二触发操作可以是通过触摸显示屏触发的操作;或者,也可以是通过控制外部输入设备触发的操作,比如:控制鼠标、VR手柄等触发的操作。Optionally, the second triggering operation may be an operation triggered by touching the display screen; or may be an operation triggered by controlling an external input device, such as controlling a mouse, a VR handle, or the like.
可选地,第二触发操作可以是单击操作、连击操作、长按操作、滑动操作等类型,本实施例不对第二触发操作的类型作限定。Optionally, the second triggering operation may be a type of a click operation, a combo operation, a long press operation, a sliding operation, and the like. The embodiment does not limit the type of the second trigger operation.
步骤304,根据第二触发操作显示目标行进线位置对应的目标地图区域。Step 304: Display a target map area corresponding to the target traveling line position according to the second triggering operation.
其中,目标地图区域为虚拟地图中以目标行进线位置为基准的局部地图图像。The target map area is a partial map image based on the target traveling line position in the virtual map.
可选地,以目标行进线位置为基准的局部地图图像是指:将目标行进线位置显示在显示界面的预定位置,以预定比例尺显示虚拟地图中包括的该目标行进线位置的局部地图图像。Optionally, the partial map image based on the target traveling line position refers to: displaying the target traveling line position at a predetermined position of the display interface, and displaying the partial map image of the target traveling line position included in the virtual map at a predetermined scale.
可选地,预定位置可以是显示界面的中心位置;或者,预定位置也可以是偏离中心位置的其它位置,本实施例对此不作限定。比如,以目标行进线位置 周围的标志性物体作为中心位置显示,且将目标行进线位置按照预定比例尺相对于目标行进线位置进行显示。Alternatively, the predetermined position may be the center position of the display interface; or the predetermined position may be other positions from the center position, which is not limited in this embodiment. For example, the iconic object around the target traveling line position is displayed as the center position, and the target traveling line position is displayed at a predetermined scale with respect to the target traveling line position.
可选地,预定比例尺可以与在接收到第二触发操作时(或者之前)显示的当前地图区域的比例尺相同;或者,与该当前地图区域的比例尺不同。Alternatively, the predetermined scale may be the same as the scale of the current map area displayed when (or before) the second triggering operation is received; or different from the scale of the current map area.
参考图4所示的目标行进线位置的定位过程,在虚拟地图中显示有行进线400。客户端接收到作用于行进线400的第一触发操作后,显示定位控件401、402和403,其中,定位控件401用于定位行进线起点、定位控件402用于定位行进线终点、定位控件403用于定位虚拟队伍位置。若接收到作用于定位控件401的第二触发操作,则客户端显示行进线起点对应的目标地图区域404;若接收到作用于定位控件402的第二触发操作,则客户端显示行进线终点对应的目标地图区域405;若接收到作用于定位控件403的第二触发操作,则客户端显示虚拟队伍位置对应的目标地图区域406。Referring to the positioning process of the target traveling line position shown in FIG. 4, the traveling line 400 is displayed in the virtual map. After receiving the first triggering operation on the traveling line 400, the client displays the positioning controls 401, 402, and 403, wherein the positioning control 401 is used to locate the starting point of the traveling line, the positioning control 402 is used to locate the end point of the traveling line, and the positioning control 403 Used to locate virtual team locations. If the second triggering operation is performed on the positioning control 401, the client displays the target map area 404 corresponding to the starting point of the traveling line; if the second triggering operation is performed on the positioning control 402, the client displays the end of the traveling line. The target map area 405; if receiving the second triggering operation acting on the positioning control 403, the client displays the target map area 406 corresponding to the virtual team position.
可选地,本实施例中,当目标行进线位置为虚拟队伍位置时,在根据第二触发操作显示目标行进线位置对应的目标地图区域之后,客户端实时地更新显示目标地图区域,得到更新后的地图图像,该更新后的地图图像用于指示虚拟队伍位置在虚拟地图中位置的变化。通过实时地更新虚拟队伍位置对应的地图图像,可以方便用户实时关注虚拟队伍的位置变化,提高客户端显示虚拟队伍位置的效果。比如:在图4中,客户端显示虚拟队伍位置对应的目标地图区域406之后,实时地更新该目标地图区域406,更新后的目标地图区域406是以更新后的虚拟队伍位置为基准生成的。Optionally, in this embodiment, when the target traveling line position is the virtual team position, after displaying the target map area corresponding to the target traveling line position according to the second triggering operation, the client updates the display target map area in real time to obtain an update. The subsequent map image is used to indicate a change in the position of the virtual team position in the virtual map. By updating the map image corresponding to the virtual team position in real time, the user can conveniently pay attention to the position change of the virtual team in real time, and improve the effect of the client displaying the virtual team position. For example, in FIG. 4, after the client displays the target map area 406 corresponding to the virtual team 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 team position.
综上所述,本实施例提供的用于虚拟地图上行进线信息的显示方法,通过在接收到作用于虚拟地图中的行进线的第一触发操作时,显示定位控件;接收到作用于该定位控件的第二触发操作时,显示定位控件指示的目标行进线位置对应的目标地图区域;可以解决在行进线的长度较长时,显示目标行进线位置对应的目标地图区域的效率较低的问题;由于客户端在定位该目标行进线位置时,可以根据对定位控件的触发操作直接跳转至该定位控件对应的目标行进线位置显示,而无需多次接收作用于虚拟地图上的拖拽操作来显示该目标行进线位置,因此,可以提高显示目标行进线位置的效率。In summary, the display method for the travel line information on the virtual map provided by the embodiment displays the positioning control by receiving the first triggering operation on the traveling line in the virtual map; When the second triggering operation of the positioning control is performed, the target map area corresponding to the target traveling line position indicated by the positioning control is displayed; it can be solved that when the length of the traveling line is long, the target map area corresponding to the target traveling line position is displayed with low efficiency. The problem is that the client can directly jump to the target travel line position corresponding to the positioning control according to the trigger operation of the positioning control, instead of receiving the drag and drop on the virtual map. The operation is to display the target travel line position, and therefore, the efficiency of displaying the target travel line position can be improved.
可选地,客户端接收到作用于虚拟地图中的行进线的第一触发操作之后,还可以显示行进线指示的行进目的。Optionally, after the client receives the first triggering operation on the traveling line in the virtual map, the traveling destination indicated by the traveling line may also be displayed.
可选地,客户端可以在显示定位控件时显示行进目的;或者,可以在显示定位控件之前显示行进目的;或者,可以在显示定位控件之后显示行进目的,本实施例不对行进目的的显示时机作限定。Optionally, the client may display the traveling purpose when the positioning control is displayed; or, the traveling destination may be displayed before the positioning control is displayed; or, the traveling destination may be displayed after the positioning control is displayed, and the embodiment does not display the driving purpose of the traveling purpose. limited.
其中,行进目的用于表示虚拟队伍当前通过行进线行进的目的,行进目的包括:出征、攻击、侦查、援助、标记和返回中的一种。Wherein, the purpose of travel is used to indicate that the virtual team is currently traveling through the travel line, and the purpose of travel includes one of levy, attack, detection, assistance, marking, and return.
可选地,客户端显示行进目的,包括:获取行进目的;根据行进目的与显示方式之间的对应关系,确定行进目的对应的显示方式;以该显示方式在行进线上显示行进目的。Optionally, the client displays the purpose of the traveling, including: obtaining a traveling destination; determining a display manner corresponding to the traveling destination according to the correspondence between the traveling destination and the display manner; and displaying the traveling destination on the traveling line in the display manner.
可选地,行进目的可以是服务器发送的;或者,也可以是客户端存储的。Alternatively, the destination may be sent by the server; or it may be stored by the client.
可选地,显示方式包括但不限于以下几种中的一种:以预定背景图案显示、以带有预定背景色的预定背景图案显示等。比如:在图4中,客户端接收到作用于行进线400上的第一触发操作后,在行进线400上以红色箭头(以左斜线阴影为背景的箭头)显示行进目的“出征”。Optionally, the display manner includes, but is not limited to, one of the following: displaying in a predetermined background pattern, displaying in a predetermined background pattern with a predetermined background color, and the like. For example, in FIG. 4, after receiving the first triggering operation on the traveling line 400, the client displays the traveling destination "exit" on the traveling line 400 with a red arrow (an arrow with a background of the left oblique line).
可选地,行进目的还可以显示在显示界面中的第一预定位置。本实施例不对第一预定位置在显示界面中的具体位置作限定,示意性地,第一预定位置位于定位控件下方。比如:在图4中,客户端接收到作用于行进线400上的第一触发操作后,在定位控件401、402和403的下方显示有行进目的“出征”。Alternatively, the travel purpose may also be displayed at a first predetermined location in the display interface. This embodiment does not define a specific position of the first predetermined position in the display interface. Illustratively, the first predetermined position is located below the positioning control. For example, in FIG. 4, after the client receives the first triggering operation on the traveling line 400, the destination "exit" is displayed below the positioning controls 401, 402, and 403.
可选地,在客户端接收到作用于虚拟地图中的行进线上的第一触发操作之后,还可以显示行进线指示的行进状态。Optionally, after the client receives the first triggering operation on the traveling line in the virtual map, the traveling state indicated by the traveling line may also be displayed.
可选地,行进状态包括:虚拟队伍在虚拟地图中的位置、已行进距离、剩余行进时间和行进速度中的至少一种。Optionally, the traveling state includes at least one of a position of the virtual team in the virtual map, a traveled distance, a remaining travel time, and a travel speed.
可选地,行进状态显示在显示界面中的第二预定位置。本实施例不对第二预定位置在显示界面中的具体位置作限定,示意性地,第二预定位置位于定位控件下方。Optionally, the travel status is displayed at a second predetermined location in the display interface. This embodiment does not define a specific position of the second predetermined position in the display interface. Illustratively, the second predetermined position is located below the positioning control.
可选地,第二预定位置可以与第一预定位置相同,也可以与第一预定位置不同。Alternatively, the second predetermined position may be the same as the first predetermined position or may be different from the first predetermined position.
比如:在图4中,客户端接收到作用于行进线400上的第一触发操作后,在第一预定位置上显示有剩余行进时间“2:33”。For example, in FIG. 4, after receiving the first triggering operation on the traveling line 400, the client displays the remaining traveling time "2:33" at the first predetermined position.
可选地,在客户端接收到作用于虚拟地图中的行进线上的第一触发操作之后,还可以显示触发行进线的虚拟角色的角色标识。Optionally, after the client receives the first triggering operation on the traveling line in the virtual map, the role identifier of the virtual character that triggers the traveling line may also be displayed.
可选地,角色标识可以是虚拟角色的角色名称、虚拟角色的角色图标和虚 拟角色的身份中的至少一种。Optionally, the role identifier may be at least one of a role name of the virtual character, a role icon of the virtual character, and an identity of the virtual character.
可选地,角色标识显示在显示界面中的第三预定位置。本实施例不对第二预定位置在显示界面中的具体位置作限定,示意性地,第二预定位置位于定位控件下方。Optionally, the character identification is displayed at a third predetermined location in the display interface. This embodiment does not define a specific position of the second predetermined position in the display interface. Illustratively, the second predetermined position is located below the positioning control.
可选地,第三预定位置可以与第一预定位置和第二预定位置相同;或者,也可以与第一预定位置和第二预定位置不同。Alternatively, the third predetermined position may be the same as the first predetermined position and the second predetermined position; or may be different from the first predetermined position and the second predetermined position.
比如:在图4中,客户端接收到作用于行进线400上的第一触发操作后,在第一预定位置上显示有角色名称“Monkey”。For example, in FIG. 4, after receiving the first triggering operation on the traveling line 400, the client displays the role name "Monkey" at the first predetermined position.
本实施例中,通过在接收到第一触发操作之后,显示行进目的、行进状态和角色标识中的至少一种,使得玩家可以了解行进线的相关信息,可以提高玩家获取该相关信息的效率。In this embodiment, by displaying at least one of the traveling purpose, the traveling state, and the character identification after receiving the first triggering operation, so that the player can understand the related information of the traveling line, the efficiency of the player to acquire the related information can be improved.
可选地,在客户端显示定位控件之后,该客户端可以在接收到第二触发操作或者接收到未作用于定位控件上的其它触发操作时,停止显示定位控件、行进目的、行进状态和角色标识中的至少一种。Optionally, after the client displays the positioning control, the client may stop displaying the positioning control, the traveling purpose, the traveling state, and the character when receiving the second triggering operation or receiving other triggering operations that are not acting on the positioning control. At least one of the logos.
图4所示的显示界面仅是示意性的,在实际实现时,该显示界面还可以以图5中的虚拟地图(407)、定位控件(408)、行进线(409)、行进状态(410)和角色名称(411)来显示。The display interface shown in FIG. 4 is only schematic. In actual implementation, the display interface may also be a virtual map (407), a positioning control (408), a traveling line (409), and a traveling state (410) in FIG. 5. ) and the role name (411) to display.
可选地,若行进线的长度较长,即,行进线起点与行进线终点之间的距离较远,则客户端接收到第一触发操作时显示的当前地图区域可能不包括目标行进线位置,此时,在步骤304中,客户端根据第二触发操作显示目标行进线位置对应的目标地图区域,包括:根据第二触发操作获取目标行进线位置的虚拟坐标;在当前地图区域不包括虚拟坐标时,从当前地图区域跳转至目标地图区域显示。Optionally, if the length of the traveling line is long, that is, the distance between the starting point of the traveling line and the end point of the traveling line is long, the current map area displayed when the client receives the first triggering operation may not include the target traveling line position. At this time, in step 304, the client displays the target map area corresponding to the target traveling line position according to the second triggering operation, including: acquiring virtual coordinates of the target traveling line position according to the second triggering operation; and not including the virtual in the current map area. When the coordinates are displayed, jump from the current map area to the target map area display.
其中,虚拟坐标为目标行进线位置在虚拟地图中的坐标。The virtual coordinate is the coordinate of the target traveling line position in the virtual map.
当前地图区域为虚拟地图中以其它位置为基准的局部地图图像,其它位置与目标行进线位置不同。可选地,其它位置为当前地图区域的中心位置。The current map area is a partial map image based on other positions in the virtual map, and the other positions are different from the target traveling line position. Optionally, the other location is the central location of the current map area.
可选地,从当前地图区域跳转至目标地图区域显示的方式可以是渐变跳转;或者,也可以是直接跳转。其中,渐变跳转是指显示界面沿着目标地图区域的方向,从当前地图区域逐渐更新至目标地图区域的跳转方式,该逐渐更新可以是按照预设速度的;直接跳转是指当前地图区域的下一帧图像为目标地图 区域的跳转方式。Optionally, the manner of jumping from the current map area to the target map area may be a gradient jump; or it may be a direct jump. The gradient jump refers to a jump mode in which the display interface is gradually updated from the current map region to the target map region along the direction of the target map region, and the gradual update may be according to a preset speed; the direct jump refers to the current map. The next frame image of the region is the jump mode of the target map region.
可选地,客户端获取目标行进线位置的虚拟坐标的方式包括但不限于以下几种:Optionally, the manner in which the client obtains the virtual coordinates of the target travel line location includes but is not limited to the following:
第一种:客户端接收到第二触发操作后,生成坐标获取请求,该坐标获取请求用于请求获取目标行进线位置的虚拟坐标;客户端将坐标获取请求发送至服务器;服务器根据该坐标获取请求向客户端发送该虚拟坐标;客户端接收该虚拟坐标。The first type: after receiving the second triggering operation, the client generates a coordinate acquiring request for requesting obtaining virtual coordinates of the target traveling line position; the client sends the coordinate obtaining request to the server; the server obtains the coordinate according to the coordinate The request sends the virtual coordinate to the client; the client receives the virtual coordinate.
可选地,坐标获取请求包括行进线的行进线标识和目标行进线位置的位置标识。行进线标识可以是触发该行进线的玩家或者游戏联盟的名称、行进线的编号等,位置标识可以是目标行进线位置在行进线上的位置,比如:行进线起点、行进线终点、虚拟队伍位置等,本实施例不对行进线标识和位置标识的表示形式作限定。Optionally, the coordinate acquisition request includes a travel line identifier of the travel line and a location identifier of the target travel line location. The travel line identifier may be the name of the player or the game alliance that triggers the travel line, the number of the travel line, etc., and the position identifier may be the position of the target travel line position on the travel line, such as: the start line of the travel line, the end of the travel line, the virtual team For the position and the like, the embodiment does not limit the representation of the line identification and the position identification.
可选地,服务器中存储有行进线标识、位置标识和每个虚拟坐标之间的对应关系。服务器接收到坐标获取请求之后,根据该坐标获取请求中的行进线标识和位置标识可以确定出目标行进线位置的虚拟坐标。Optionally, a correspondence between the route identifier, the location identifier, and each virtual coordinate is stored in the server. After receiving the coordinate acquisition request, the server may determine the virtual coordinates of the target travel line position according to the travel line identifier and the location identifier in the coordinate acquisition request.
第二种:客户端接收到第二触发操作后,根据已存储的行进线标识、位置标识和每个虚拟坐标之间的对应关系,确定目标行进线位置的虚拟坐标。The second type: after receiving the second triggering operation, the client determines the virtual coordinates of the target traveling line position according to the stored relationship between the traveling line identifier, the position identifier, and each virtual coordinate.
可选地,行进线标识、位置标识和每个虚拟坐标之间的对应关系由服务器发送至客户端。Optionally, the correspondence between the line identification, the location identifier, and each virtual coordinate is sent by the server to the client.
本实施例中,通过在行进线的长度较长,且当前地图区域不包括目标行进线位置的虚拟坐标时,根据第二触发操作从当前地图区域直接跳转至目标行进线位置对应的目标图像,无需多次接收作用于虚拟地图上的拖拽操作来显示该目标行进线位置,可以提高显示目标行进线位置的效率。In this embodiment, when the length of the traveling line is long, and the current map area does not include the virtual coordinates of the target traveling line position, the second triggering operation directly jumps from the current map area to the target image corresponding to the target traveling line position. The efficiency of displaying the target travel line position can be improved without receiving the drag operation on the virtual map multiple times to display the target travel line position.
可选地,若行进线的长度较短,即,行进线起点与行进线终点之间的距离较近,则客户端接收到第一触发操作时显示的当前地图区域可能已经包括目标行进线位置,此时,在步骤304中,客户端根据第二触发操作显示目标行进线位置对应的目标地图区域,包括:放大比例尺,得到放大后的比例尺;以放大后的比例尺显示目标地图区域。Optionally, if the length of the traveling line is short, that is, the distance between the starting point of the traveling line and the end point of the traveling line is relatively close, the current map area displayed when the client receives the first triggering operation may already include the target traveling line position. At this time, in step 304, the client displays the target map area corresponding to the target traveling line position according to the second triggering operation, including: enlarging the scale to obtain the enlarged scale; and displaying the target map area on the enlarged scale.
本实施例中,通过在当前地图区域已经包括目标行进线位置时,以较大的比例尺显示目标行进线位置,有助于用户更清楚地查看目标行进线位置的情 况,提高客户端显示目标行进线位置的效果。In this embodiment, when the target map line position is already included in the current map area, the target travel line position is displayed on a larger scale, which helps the user to more clearly view the position of the target travel line, and improves the client display target travel. The effect of the line position.
可选地,若行进线的长度较短,在当前显示界面中可以显示所有的行进线时,客户端还可以在接收到第二触发操作时输出同屏提示,该同屏提示用于提示行进线位于同一显示界面中。Optionally, if the length of the travel line is short, when all the travel lines can be displayed in the current display interface, the client may also output an on-screen prompt when receiving the second trigger operation, and the same screen prompt is used to prompt the travel. The lines are in the same display interface.
可选地,客户端在显示同屏提示时,不改变当前显示的局部地图图像。Optionally, the client does not change the currently displayed partial map image when displaying the on-screen prompt.
可选地,由于行进线可能与玩家无关;或者,行进线中的一部分可能与NPC、虚拟建筑或者其它行进线重叠,此时,客户端需要根据第一触发操作的作用位置确定是显示定位控件还是显示其它控件(比如:虚拟建筑交互控件)。在步骤302中,根据第一触发操作显示定位控件,包括:根据第一触发操作对行进线的作用位置,确定第一触发操作是否满足触发显示定位控件的触发条件;在第一触发操作满足触发条件时,显示定位控件。Alternatively, since the travel line may be unrelated to the player; or a part of the travel line may overlap with the NPC, the virtual building, or other travel lines, at this time, the client needs to determine the display position control according to the action position of the first trigger operation. Still show other controls (such as: virtual building interactive controls). In step 302, displaying the positioning control according to the first triggering operation includes: determining, according to the action position of the first triggering operation on the traveling line, whether the first triggering operation satisfies the triggering condition of the triggering display positioning control; When the condition is met, the positioning control is displayed.
其中,触发条件用于指示在显示定位按钮之前,第一触发操作的作用位置所需满足的条件。The trigger condition is used to indicate a condition that the action position of the first trigger operation needs to be satisfied before the positioning button is displayed.
可选地,第一触发条件包括但不限于以下两种中任意一种:Optionally, the first trigger condition includes but is not limited to any one of the following two types:
第一、第一触发操作的作用位置位于有效行进线。The action position of the first, first triggering operation is on the effective travel line.
其中,有效行进线是支持响应第一触发操作的行进线。也即,当存在多条行进线时,一些行进线是支持第一触发操作的,另一些行进线时不支持第一触发操作的。Wherein, the effective travel line is a travel line that supports the response to the first trigger operation. That is, when there are a plurality of traveling lines, some of the traveling lines support the first triggering operation, and some of the traveling lines do not support the first triggering operation.
可选地,客户端在确定出第一触发操作的作用位置作用于行进线时,会确定该行进线是否是有效行进线;在行进线是有效行进线时,显示定位控件。Optionally, the client determines whether the travel line is a valid travel line when determining that the action position of the first trigger operation acts on the travel line; and displays the positioning control when the travel line is a valid travel line.
可选地,客户端确定行进线是否是有效行进线的方式包括但不限于以下几种确定方式中的至少一种:Optionally, the manner in which the client determines whether the travel line is a valid travel line includes, but is not limited to, at least one of the following determination manners:
1、确定行进线是否是白名单类型的行进线;在行进线是白名单类型的行进线时,确定行进线为有效行进线;在行进线不是白名单类型的行进线时,确定行进线不是有效行进线。1. Determine whether the travel line is a white line type travel line; when the travel line is a white list type travel line, determine that the travel line is a valid travel line; when the travel line is not a white list type travel line, determine that the travel line is not Effective travel line.
可选地,白名单类型的行进线是指由当前登录客户端的玩家触发的,和/或,由联盟玩家触发的行进线。其中,联盟玩家是指与玩家属于同一游戏联盟的其它玩家。或者,联盟玩家是指与玩家属于同一利益团体的其它玩家。Optionally, the whitelist type of travel line is triggered by the player currently logged into the client, and/or the travel line triggered by the affiliate player. Among them, the alliance player refers to other players who belong to the same game alliance as the player. Alternatively, an affiliate player is another player who belongs to the same interest group as the player.
示意性地,白名单类型的行进线包括但不限于以下几种:玩家在实现行进目的时触发的行进线(比如:在实现出征目的时触发的行进线、在实现攻击目的时触发的行进线、在实现援助目的时触发的行进线等)、联盟玩家在实现行 进目的时触发的行进线(比如:联盟玩家在实现出征目的时触发的行进线、在实现侦查目的时触发的行进线等)。Illustratively, the whitelist type of travel line includes, but is not limited to, the following: a travel line triggered by the player when achieving the travel purpose (eg, a travel line triggered when the purpose of the bid is achieved, and a travel line triggered when the attack purpose is achieved). , the line of travel triggered when the purpose of the aid is achieved, etc.), the line of travel triggered by the Alliance player when achieving the purpose of the trip (for example, the line of travel triggered by the Alliance player when achieving the goal, the line of travel triggered when the purpose of the investigation is achieved, etc.) .
2、确定行进线是否是黑名单类型的行进线;在行进线不是黑名单类型的行进线时,确定行进线为有效行进线;在行进线是黑名单类型的行进线时,确定行进线不是有效行进线。2. Determine whether the travel line is a black line type travel line; when the travel line is not a black list type travel line, determine that the travel line is a valid travel line; when the travel line is a blacklist type travel line, determine that the travel line is not Effective travel line.
可选地,黑名单类型的行进线是指与当前登录客户端的玩家无关的行进线。Optionally, the blacklist type of travel line refers to a travel line that is unrelated to the player currently logged into the client.
示意性地,黑名单类型的行进线包括但不限于以下几种:其它游戏联盟中的玩家触发的行进线、客户端中的NPC在实现行进目的时触发的行进线。Illustratively, the blacklist type of travel line includes, but is not limited to, the following: the travel line triggered by the player in other game leagues, the travel line triggered by the NPC in the client when achieving the travel purpose.
其中,其它游戏联盟是指当前登录客户端的玩家未加入的游戏联盟。或者,其它联盟玩家是指与玩家属于不同利益团体的其它玩家。Among them, other game alliances refer to game alliances that are not joined by players currently logged into the client. Alternatively, other affiliate players refer to other players who belong to different interest groups with the player.
可选地,在第一触发操作的作用位置未作用于由当前登录客户端的玩家或者联盟玩家触发的行进线时,客户端可以输出无关提示,该无关提示用于提示第一触发操作作用于无效的行进线。Optionally, when the action position of the first triggering operation does not act on the travel line triggered by the player currently logged in to the client or the federated player, the client may output an irrelevant prompt for prompting the first triggering operation to be invalid. The line of travel.
3、行进线上的行进线起点与行进线终点之间的距离是否小于距离阈值。3. Whether the distance between the starting point of the traveling line on the traveling line and the end point of the traveling line is less than the distance threshold.
其中,距离阈值是根据当前显示界面的长度、宽度和对角线长度中的至少一种确定的。The distance threshold is determined according to at least one of a length, a width, and a diagonal length of the current display interface.
可选地,行进线上的行进线起点与行进线终点之间的距离小于距离阈值时,当前的显示界面可以显示全部的行进线。Alternatively, the current display interface may display all of the travel lines when the distance between the start of the travel line on the travel line and the end of the travel line is less than the distance threshold.
可选地,在当前的显示界面可以显示全部的行进线时,客户端还可以在接收到第二触发操作时输出同屏提示。Optionally, when the current display interface can display all the travel lines, the client can also output the same screen prompt when receiving the second trigger operation.
第二、触发条件包括:第一触发操作的作用位置位于有效行进线的有效位置。Second, the triggering condition includes: the acting position of the first triggering operation is at an effective position of the effective traveling line.
其中,有效位置为有效行进线上支持响应第一触发操作的行进线位置。Wherein, the effective position is a position of the travel line that supports the first triggering operation on the effective traveling line.
由于第二种触发条件包括了第一种触发条件中的内容,因此,客户端在满足第二种触发条件时,必定会满足第一种触发条件。此时,只需要设置客户端满足第一种触发条件和第二种触发条件中的一种即可。Since the second trigger condition includes the capacity in the first trigger condition, the client must satisfy the first trigger condition when the second trigger condition is met. At this point, it is only necessary to set the client to satisfy one of the first trigger condition and the second trigger condition.
可选地,客户端在确定出第一触发操作的作用位置作用于行进线上时,会确定该行进线是否是有效行进线;在确定出该行进线是有效行进线时,还会确定作用位置是否为有效行进线上的有效位置;在作用位置为有效行进线上的有效位置时,显示定位控件。Optionally, when the client determines that the action position of the first triggering operation acts on the traveling line, it determines whether the traveling line is a valid traveling line; and when determining that the traveling line is an effective traveling line, determining the role Whether the position is a valid position on the effective travel line; when the action position is a valid position on the effective travel line, the positioning control is displayed.
其中,确定行进线是否是有效行进线的方式参见上述实施例,本实施例在此不作赘述。For the manner of determining whether the traveling line is a valid traveling line, refer to the above embodiment, and the embodiment is not described herein.
可选地,客户端确定作用位置是否是有效行进线上的有效位置的方式包括但不限于以下两种中的至少一种:Optionally, the manner in which the client determines whether the active location is a valid location on the valid travel line includes, but is not limited to, at least one of the following two types:
1、确定作用位置是否既位于有效行进线上,又位于虚拟建筑或者虚拟角色上;在作用位置既位于有效行进线上,又位于虚拟建筑或者虚拟角色上时,确定作用位置不是有效行进线上的有效位置;在作用位置位于有效行进线上,而未位于虚拟建筑或者虚拟角色上时,确定作用位置是有效行进线上的有效位置。1. Determine whether the action position is located on both the effective travel line and the virtual building or virtual character; when the action position is on both the effective travel line and the virtual building or virtual character, the determined action position is not an effective travel line. The effective position; when the action position is on the effective travel line, and not on the virtual building or virtual character, the determined action position is a valid position on the effective travel line.
可选地,在第一触发操作的作用位置既位于有效行进线上,又位于虚拟建筑上时,客户端可以输出与虚拟建筑交互的建筑交互控件。Optionally, the client may output a building interaction control that interacts with the virtual building when the action location of the first triggering operation is both on the active travel line and on the virtual building.
其中,建筑交互控件指示的交互内容包括但不限于:占领虚拟建筑、为虚拟建筑援助资源、在虚拟建筑中驻扎、探索虚拟建筑、攻击虚拟建筑等。Among them, the interactive content indicated by the building interaction control includes but is not limited to: occupying virtual buildings, assisting resources for virtual buildings, camping in virtual buildings, exploring virtual buildings, attacking virtual buildings, and the like.
可选地,在第一触发操作的作用位置既位于有效行进线上,又位于虚拟角色上时,客户端可以输出与虚拟角色交互的角色交互控件。Optionally, when the action location of the first triggering operation is both on the valid travel line and on the virtual character, the client may output a role interaction control that interacts with the virtual character.
其中,虚拟角色包括NPC和玩家控制的虚拟角色中的至少一种。The virtual character includes at least one of an NPC and a player-controlled virtual character.
其中,角色交互控件指示的交互内容包括但不限于:攻击虚拟角色、查看虚拟角色的详细信息,比如:虚拟角色的角色名称、等级、能力等。The interactive content indicated by the role interaction control includes but is not limited to: attacking the virtual character, and viewing the detailed information of the virtual character, such as the role name, level, capability, and the like of the virtual character.
可选地,在作用位置既位于有效行进线上,又位于虚拟建筑或者虚拟角色上时,客户端可以输出互动提示,该互动提示用于提示第一触发操作作用于虚拟建筑或者虚拟角色上。Optionally, when the active location is on the active travel line or on the virtual building or the virtual character, the client may output an interactive prompt for prompting the first triggering operation to act on the virtual building or the virtual character.
2、确定作用位置是否同时位于至少两条有效行进线上;在作用位置同时位于至少两条有效行进线上时,确定作用位置不是有效行进线上的有效位置;在作用位置仅位于一条有效行进线上时,确定作用位置是有效行进线上的有效位置。2. Determining whether the action position is located on at least two effective travel lines at the same time; when the action position is located on at least two effective travel lines at the same time, determining that the action position is not a valid position on the effective travel line; When online, it is determined that the active position is a valid position on the effective travel line.
作用位置同时位于至少两条有效行进线上是指:存在至少两条有效行进线相交于相交点,且作用位置位于该相交点。The fact that the action position is located on at least two effective travel lines means that there are at least two effective travel lines intersecting at the intersection point, and the action position is at the intersection point.
可选地,在作用位置同时位于至少两条有效行进线上时,客户端可以输出多条线提示,该多条线提示用于提示第一触发操作作用于至少两条有效行进线上。Optionally, when the active position is on at least two effective travel lines, the client may output a plurality of line prompts for prompting the first trigger operation to act on the at least two effective travel lines.
当然,触发条件也可以是其它条件,比如:第一触发操作的作用位置位于 有效位置上,本实施例不对触发条件的具体内容作限定。Of course, the triggering condition may also be other conditions, for example, the working position of the first triggering operation is located at the effective position, and the specific content of the triggering condition is not limited in this embodiment.
示意性地,参考图6,下面将本实施例提供的显示定位控件的流程以一个示意性的例子进行介绍。Illustratively, with reference to FIG. 6, the flow of the display positioning control provided by the embodiment is described below by way of an illustrative example.
步骤501,接收作用于虚拟地图中的行进线的第一触发操作。Step 501: Receive a first triggering operation that acts on a traveling line in the virtual map.
本步骤的相关描述参见步骤301,本实施例在此不作赘述。For the description of this step, refer to step 301, which is not described herein.
步骤502,确定第一触发操作作用的行进线是否是有效行进线;在行进线不是有效行进线时,执行步骤503;在行进线是有效行进线时,执行步骤504。Step 502: Determine whether the travel line of the first trigger operation is a valid travel line; when the travel line is not a valid travel line, perform step 503; and when the travel line is a valid travel line, perform step 504.
步骤503,输出无关提示,流程结束。In step 503, the irrelevant prompt is output, and the process ends.
步骤504,确定第一触发操作的作用位置是否既位于有效行进线上,又位于虚拟建筑或虚拟角色上;在行进线既位于有效行进线上,又位于虚拟建筑或虚拟角色上时,执行步骤505;在行进线位于有效行进线上,但未位于虚拟建筑或虚拟角色上时,执行步骤506。Step 504: Determine whether the action position of the first triggering operation is located on the effective traveling line and on the virtual building or the virtual character; when the traveling line is located on the effective traveling line and on the virtual building or the virtual character, the steps are performed. 505; Step 506 is performed when the travel line is on an active travel line but not on the virtual building or virtual character.
步骤505,输出互动提示,流程结束。In step 505, an interactive prompt is output, and the process ends.
步骤506,确定第一触发操作的作用位置是否位于至少两条有效行进线上;在第一触发操作的作用位置位于至少两条有效行进线上时,执行步骤507;在第一触发操作的作用位置仅位于一条有效行进线上时,执行步骤508。 Step 506, it is determined whether the action position of the first trigger operation is located on at least two effective travel lines; when the action position of the first trigger operation is located on at least two effective travel lines, step 507 is performed; When the location is only on one valid travel line, step 508 is performed.
步骤507,输出多条线提示,流程结束。In step 507, a plurality of line prompts are output, and the process ends.
步骤508,显示定位控件,执行步骤303。 Step 508, displaying the positioning control, and performing step 303.
由于有效行进线是玩家或者联盟玩家触发的,而玩家通常无需定位无效行进线(非有效行进线)上的行进线位置,因此,作用于无效行进线上的第一触发操作可能为误操作。本实施例中,通过在接收到作用于行进线上的第一触发操作时,确定第一触发操作所作用的行进线是否是有效行进线;在行进线是有效行进线时才显示定位控件,可以避免客户端响应作用于无效行进线上的误操作来显示定位控件,导致浪费终端的资源的问题;可以提高客户端响应第一触发操作显示定位控件的准确性。Since the effective travel line is triggered by the player or the affiliate player, and the player usually does not need to locate the travel line position on the invalid travel line (non-effective travel line), the first trigger operation acting on the invalid travel line may be a misoperation. In this embodiment, when the first triggering operation acting on the traveling line is received, it is determined whether the traveling line affected by the first triggering operation is an effective traveling line; and the positioning control is displayed when the traveling line is an effective traveling line, The problem that the client responds to the misoperation of the invalid travel line to display the positioning control can be avoided, resulting in wasting the resource of the terminal; and the accuracy of the client displaying the positioning control in response to the first trigger operation can be improved.
另外,由于在第一触发操作的作用位置既位于行进线上,又位于虚拟角色或虚拟建筑上时,玩家实际上需要与虚拟角色或虚拟建筑进行交互的概率较大,因此,本实施例中,通过在第一触发操作的作用位置既位于行进线上,又位于虚拟角色或虚拟建筑上时,不显示定位控件,而是显示交互控件(建筑交互控件或者角色交互控件),可以提高客户端输出的控件类型的准确性。In addition, since the player actually needs to interact with the virtual character or the virtual building when the action position of the first triggering operation is both on the traveling line and on the virtual character or the virtual building, in this embodiment, By displaying the interactive control (building interaction control or role interaction control) by not displaying the positioning control when the action position of the first triggering operation is located on the traveling line or on the virtual character or the virtual building, the client can be improved. The accuracy of the output control type.
另外,由于在第一触发操作的作用位置位于至少两条有效行进线上,客户 端无法确定出玩家实际需要操作的行进线,如果随机显示某一条有效行进线对应的定位控件,可能会导致定位出的行进线位置与玩家实际需要查看的位置不符的问题。本实施例中,通过在第一触发操作的作用位置位于至少两条有效行进线上时,输出多条线提示,可以提示玩家更精确地输入第一触发操作的作用位置,可以提高客户端根据定位控件定位行进线位置的准确性。In addition, since the working position of the first triggering operation is located on at least two effective traveling lines, the client cannot determine the traveling line that the player actually needs to operate, and if the positioning control corresponding to a certain effective traveling line is randomly displayed, the positioning may be caused. The problem that the position of the line of travel does not match the position that the player actually needs to view. In this embodiment, by outputting a plurality of line prompts when the active position of the first triggering operation is on at least two effective traveling lines, the player may be prompted to input the working position of the first triggering operation more accurately, and the client may be improved according to the position of the first triggering operation. The positioning control locates the accuracy of the position of the line of travel.
可选地,若客户端在第一触发操作不满足触发显示定位控件的触发条件时,输出提示信息,则客户端还需要在第一触发操作不满足的触发条件为至少一种时,确定每种触发条件对应的提示信息的显示优先级,根据显示优先级显示提示信息。Optionally, if the client outputs the prompt information when the triggering condition of the trigger display positioning control is not met by the first triggering operation, the client further needs to determine, when the triggering condition that the first triggering operation is not satisfied is at least one type The display priority of the prompt information corresponding to the trigger condition is displayed, and the prompt information is displayed according to the display priority.
可选地,提示信息用于提示第一触发操作不满足触发条件,提示信息包括但不限于以下几种中的至少一种:同屏提示、无关提示、互动提示、多条线提示。Optionally, the prompt information is used to prompt that the first triggering operation does not satisfy the triggering condition, and the prompting information includes, but is not limited to, at least one of the following: a screen prompt, an irrelevant prompt, an interactive prompt, and multiple line prompts.
示意性地,触发条件包括第一条件和第二条件,在不满足第一条件时输出的第一提示信息与在不满足第二条件时输出的第二提示信息不同;在第一触发操作不满足触发条件时输出提示信息,包括:在第一触发操作不满足第一条件和第二条件时,获取第一提示信息的显示优先级和第二提示信息的显示优先级;根据显示优先级显示第一提示信息或第二提示信息。Illustratively, the triggering condition includes a first condition and a second condition, and the first prompt information outputted when the first condition is not satisfied is different from the second prompt information outputted when the second condition is not satisfied; Outputting the prompt information when the trigger condition is met, including: when the first triggering operation does not satisfy the first condition and the second condition, obtaining the display priority of the first prompt information and the display priority of the second prompt information; displaying according to the display priority The first prompt information or the second prompt information.
可选地,第一条件为:1)第一触发操作的作用位置位于玩家或者联盟玩家触发的行进线上、2)第一触发操作的作用位置位于行进线起点与行进线终点之间的距离大于距离阈值的行进线上、3)第一触发操作的作用位置位于有效行进线,且未位于虚拟建筑上、4)第一触发操作的作用位置位于有效行进线,且未位于虚拟角色上和5)第一触发操作的作用位置仅位于一条有效行进线上中的至少一种。第二条件为上述条件中与第一条件不同的触发条件。Optionally, the first condition is: 1) the action position of the first trigger operation is located on the travel line triggered by the player or the alliance player, and 2) the action position of the first trigger operation is located between the start point of the travel line and the end point of the travel line a line of travel greater than the distance threshold, 3) the active position of the first triggering operation is on the active travel line, and is not located on the virtual building, 4) the active position of the first triggering operation is on the active travel line, and is not located on the virtual character and 5) The action position of the first triggering operation is only at least one of an effective travel line. The second condition is a trigger condition different from the first condition in the above condition.
可选地,不满足“1)第一触发操作的作用位置位于玩家或者联盟玩家触发的行进线上”的触发条件时对应的提示信息为无关提示;不满足“2)第一触发操作的作用位置位于行进线起点与行进线终点之间的距离大于距离阈值的行进线上”的触发条件时对应的提示信息为同屏提示;不满足“3)第一触发操作的作用位置位于有效行进线,且未位于虚拟建筑上”和“4)第一触发操作的作用位置位于有效行进线,且未位于虚拟角色上”的触发条件时对应的提示信息为互动提示;不满足“5)第一触发操作的作用位置仅位于一条有效行进线上”的触发条件时对应的提示信息为多条线提示。Optionally, the prompt information corresponding to the trigger condition that “1) the action position of the first trigger operation is located on the travel line triggered by the player or the alliance player is an irrelevant prompt; and the “2” first trigger operation is not satisfied. The prompt information corresponding to the trigger condition when the distance between the start point of the travel line and the end point of the travel line is greater than the distance threshold is the same screen prompt; the action position where the first trigger operation is not satisfied is not satisfied. And the prompt information that is not located on the virtual building "and "4) the action position of the first triggering operation is located on the effective traveling line and is not located on the virtual character" is an interactive prompt; the first is not satisfied "5) When the triggering operation of the triggering operation is only on a valid traveling line, the corresponding prompt information is a multiple line prompt.
在一个示例中,客户端根据显示优先级显示第一提示信息或第二提示信息,包括:在确定出第一触发操作不满足至少两种触发条件时,生成该至少两种触发条件中每种触发条件对应的提示信息;从每种触发条件对应的提示信息中确定显示优先级最高的提示信息进行显示。In an example, the displaying, by the client, the first prompt information or the second prompt information according to the display priority, including: generating each of the at least two trigger conditions when determining that the first trigger operation does not satisfy the at least two trigger conditions The prompt information corresponding to the trigger condition is determined; and the prompt information with the highest priority is displayed from the prompt information corresponding to each trigger condition for display.
示意性地,参考图7,下面将本实施例提供的显示提示信息的流程以一个实例进行介绍。本实例中,以第一触发操作的作用位置同时不满足上述5种触发条件、且提示信息的显示优先级为:互动提示的显示优先级高于无关提示的显示优先级高于多条线提示的显示优先级高于同屏提示的显示优先级为例进行说明。Illustratively, referring to FIG. 7, the flow of displaying prompt information provided by this embodiment is introduced as an example. In this example, the action position of the first trigger operation does not satisfy the above five trigger conditions at the same time, and the display priority of the prompt information is: the display priority of the interactive prompt is higher than the display priority of the irrelevant prompt is higher than the multi-line prompt The display priority is higher than the display priority of the same screen prompt as an example.
步骤601,接收作用于行进线的第一触发操作。Step 601: Receive a first triggering operation on the traveling line.
本步骤的相关描述参见步骤301,本实施例在此不作赘述。For the description of this step, refer to step 301, which is not described herein.
步骤602,确定第一触发操作的作用位置未位于玩家或者联盟玩家触发的行进线上,生成无关提示;确定第一触发操作的作用位置位于行进线起点与行进线终点之间的距离小于距离阈值的行进线上,生成同屏提示;确定第一触发操作的作用位置位于有效行进线和虚拟建筑上,生成互动提示;确定第一触发操作的作用位置位于至少两条有效行进线上,生成多条线提示。Step 602, determining that the action position of the first trigger operation is not located on the travel line triggered by the player or the alliance player, generating an irrelevant prompt; determining that the action position of the first trigger operation is located between the start point of the travel line and the end point of the travel line is less than the distance threshold On the traveling line, generating the same screen prompt; determining that the action position of the first triggering operation is located on the effective traveling line and the virtual building, generating an interactive prompt; determining that the acting position of the first triggering operation is located on at least two effective traveling lines, generating more Line reminder.
步骤603,从无关提示、同屏提示、互动提示和多条线提示中确定显示优先级最高的提示信息为互动提示,显示互动提示。Step 603: Determine, from the irrelevant prompt, the on-screen prompt, the interactive prompt, and the multiple line prompts, the prompt information with the highest priority is an interactive prompt, and display the interactive prompt.
需要补充说明的是,本实施例中提示信息的显示优先级仅是示意性地,在实际实现时,可以不以该显示优先级来显示提示信息。It should be noted that the display priority of the prompt information in this embodiment is only schematic. In actual implementation, the prompt information may not be displayed by the display priority.
在另一个示例中,客户端根据显示优先级显示第一提示信息或第二提示信息,包括:按照提示信息的显示优先级的顺序,检测第一触发操作是否满足对应的触发条件,在不满足对应的触发条件时,显示对应的提示信息。In another example, the displaying, by the client, the first prompt information or the second prompt information according to the display priority, including: detecting, according to the display priority order of the prompt information, whether the first trigger operation satisfies the corresponding trigger condition, and not satisfying When the corresponding trigger condition is met, the corresponding prompt information is displayed.
示意性地,参考图8,下面将本实施例提供的显示提示信息的流程以一个实例进行介绍。本实例中,以提示信息的显示优先级为:互动提示的显示优先级高于无关提示的显示优先级高于多条线提示的显示优先级高于同屏提示的显示优先级为例进行说明。Illustratively, referring to FIG. 8, the flow of displaying prompt information provided by this embodiment is introduced as an example. In this example, the display priority of the prompt information is as follows: the display priority of the interactive prompt is higher than the display priority of the irrelevant prompt is higher than the display priority of the multi-line prompt is higher than the display priority of the same screen as an example. .
步骤701,接收作用于虚拟地图的行进线的第一触发操作。Step 701: Receive a first triggering operation of a traveling line acting on the virtual map.
本步骤的相关描述参见步骤301,本实施例在此不作赘述。For the description of this step, refer to step 301, which is not described herein.
步骤702,检测第一触发操作是否满足互动提示对应的触发条件;在满足互动提示对应的触发条件时,执行步骤703;在不满足互动提示对应的触发条 件时,执行步骤704。In step 702, it is detected whether the first triggering operation meets the triggering condition corresponding to the interactive prompt; when the triggering condition corresponding to the interactive prompt is met, step 703 is performed; when the triggering condition corresponding to the interactive prompt is not met, step 704 is performed.
可选地,由于互动提示的显示优先级最高,因此,优先检测第一触发操作是否满足互动提示对应的触发条件。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 interaction prompt is that the working position of the first triggering operation is on the effective traveling line and the virtual building; or the acting position of the first triggering operation is located on the valid traveling line and the virtual character.
步骤703,生成互动提示,并显示该互动提示,流程结束。In step 703, an interactive prompt is generated, and the interactive prompt is displayed, and the process ends.
步骤704,检测第一触发操作是否满足无关提示对应的触发条件;在满足无关提示对应的触发条件时,执行步骤705;在不满足无关提示对应的触发条件时,执行步骤706。In step 704, it is detected whether the first triggering operation meets the triggering condition corresponding to the irrelevant prompt; when the triggering condition corresponding to the irrelevant prompt is met, step 705 is performed; when the triggering condition corresponding to the irrelevant prompt is not met, step 706 is performed.
可选地,由于无关提示是在除互动提示之外的提示信息中,显示优先级最高的提示信息,因此,在检测第一触发操作是否满足互动提示对应的触发条件之后,再检测第一触发操作是否满足无关提示对应的触发条件。Optionally, the unrelated prompt is to display the prompt information with the highest priority in the prompt information except the interactive prompt. Therefore, after detecting whether the first trigger operation meets the trigger condition corresponding to the interactive prompt, the first trigger is detected. Whether the operation meets 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 travel line triggered by the player or the alliance player.
步骤705,生成无关提示,并显示该无关提示,流程结束。In step 705, an irrelevant prompt is generated, and the irrelevant prompt is displayed, and the process ends.
步骤706,检测第一触发操作是否满足多条线提示对应的触发条件;在满足多条线提示对应的触发条件时,执行步骤707;在不满足多条线提示对应的触发条件时,执行步骤708。In step 706, it is detected whether the first triggering operation meets the triggering condition corresponding to the multiple line prompts. When the triggering condition corresponding to the multiple line prompts is met, step 707 is performed; when the triggering condition corresponding to the multiple line prompts is not met, the step is performed. 708.
可选地,由于多条线提示是在除互动提示和无关提示之外的提示信息中,显示优先级最高的提示信息,因此,在检测第一触发操作是否满足互动提示对应的触发条件、第一触发操作是否满足无关提示对应的触发条件之后,再检测第一触发操作是否满足多条线提示对应的触发条件。Optionally, the multiple line prompts display the prompt information with the highest priority in the prompt information except the interactive prompt and the irrelevant prompt. Therefore, when detecting whether the first trigger operation meets the trigger condition corresponding to the interactive prompt, After a triggering operation satisfies the triggering condition corresponding to the irrelevant prompt, it is detected whether the first triggering operation satisfies the triggering condition corresponding to the multiple line prompts.
可选地,多条线提示对应的触发条件为第一触发操作的作用位置位于至少两条有效行进线上。Optionally, the triggering condition corresponding to the multiple line prompts is that the acting position of the first triggering operation is located on at least two valid traveling lines.
步骤707,生成多条线提示,并显示该多条线提示,流程结束。In step 707, a plurality of line prompts are generated, and the multiple line prompts are displayed, and the process ends.
步骤708,检测第一触发操作是否满足同屏提示对应的触发条件;在满足同屏提示对应的触发条件时,执行步骤709;在不满足同屏提示对应的触发条件时,执行步骤302。Step 708: Detect whether the first triggering operation meets the triggering condition corresponding to the on-screen prompt; when the triggering condition corresponding to the on-screen prompt is met, step 709 is performed; when the triggering condition corresponding to the on-screen prompt is not met, step 302 is performed.
可选地,由于同屏提示是在显示优先级最低的提示信息,因此,最后检测第一触发操作是否满足同屏提示对应的触发条件。Optionally, since the on-screen prompt is to display the prompt information with the lowest 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 action position of the first trigger operation is located on a travel line where the distance between the start point of the travel line and the end point of the travel line is less than the distance threshold.
步骤709,显示同屏提示,并显示该同屏提示。In step 709, the same screen prompt is displayed, and the same screen prompt is displayed.
本实施例中,通过在第一触发操作不满足至少两种触发条件时,根据显示优先级显示触发条件对应的提示信息,可以避免客户端生成的提示信息过多,无法确定显示哪一条提示信息的问题;可以保证客户端从多条提示信息中选择出一条提示信息并进行显示。In this embodiment, when the first triggering operation does not satisfy the at least two triggering conditions, the prompt information corresponding to the triggering condition is displayed according to the display priority, so that the prompt information generated by the client is avoided, and it is impossible to determine which prompt information is displayed. The problem can be ensured that the client selects a prompt message from multiple pieces of prompt information and displays it.
为了更清楚地理解本申请提供的用于虚拟地图上行进线信息的显示方法,下面举一个示意性的例子进行说明。In order to more clearly understand the display method for the travel line information provided on the virtual map provided by the present application, a schematic example will be described below.
参考图9,其示出了本申请另一个实施例提供的用于虚拟地图上行进线信息的显示方法的流程图,该方法包括:Referring to FIG. 9 , it is a flowchart of a method for displaying travel line information on a virtual map provided by another embodiment of the present application, where the method includes:
步骤801,接收作用于虚拟地图中的行进线的第一触发操作。Step 801: Receive a first triggering operation that acts on a traveling line in the virtual map.
本步骤的相关说明详见步骤301,本实施例在此不作赘述。For details about this step, refer to step 301. This embodiment is not described here.
步骤802,确定第一触发操作是否满足触发条件;如果触发操作不满足触发条件,则执行步骤803;如果触发满足触发条件,则执行步骤804。Step 802: Determine whether the first trigger operation meets the trigger condition; if the trigger operation does not satisfy the trigger condition, perform step 803; if the trigger meets the trigger condition, perform step 804.
可选地,触发条件为:第一触发操作的作用位置位于有效行进线上;或者,第一触发操作的作用位置位于有效行进线的有效位置上。Optionally, the triggering condition is: the acting position of the first triggering operation is on the effective traveling line; or the acting position of the first triggering operation is located at the effective position of the effective traveling line.
步骤803,输出提示信息,流程结束。In step 803, the prompt information is output, and the process ends.
提示信息用于提示第一触发操作不满足触发条件。The prompt information is used to indicate that the first trigger operation does not satisfy the trigger condition.
步骤804,显示定位控件,该定位控件包括第一控件、第二控件和第三控件。Step 804: Display a positioning control, where the positioning control includes a first control, a second control, and a third control.
其中,第一控件用于定位行进线上的行进线起点;第二控件用于定位行进线上的行进线终点;第三控件用于定位行进线上的虚拟队伍位置。The first control is used to locate the starting point of the traveling line on the traveling line; the second control is used to locate the end point of the traveling line on the traveling line; and the third control is used to locate the virtual position on the traveling line.
步骤805,获取行进目的。In step 805, the ¡reach purpose is obtained.
可选地,客户端接收服务器发送的行进目的。Optionally, the client receives the travel destination sent by the server.
行进状态包括:出征、攻击、侦查、援助、标记和返回中的一种。The state of travel includes one of exit, attack, investigation, assistance, marking, and return.
步骤806,以行进目的对应的显示方式显示该行进目的。In step 806, the traveling destination is displayed in a display manner corresponding to the traveling destination.
可选地,客户端根据行进目的与显示方式之间的对应关系确定行进目的对应的显示方式。Optionally, the client determines a display manner corresponding to the traveling destination according to the correspondence between the traveling purpose and the display mode.
示意性地,参考图10所示的行进目的与显示方式之间的对应关系。其中, 行进目的为出征或攻击时,对应的显示方式为以背景色为红色在行进线上显示出征;行进目的为援助时,对应的显示方式为以背景色为绿色在行进线上显示援助;行进目的为侦查时,对应的显示方式为以背景色为橙色在行进线上显示侦查;行进目的为标记时,对应的显示方式为以背景色为黄色在行进线上显示标记;行进目的为返回时,对应的显示方式为以与去时的目的对应的背景色在行进线上显示返回。Illustratively, reference is made to the correspondence between the traveling purpose and the display mode shown in FIG. Wherein, when the purpose of the march is for an attack or an attack, the corresponding display mode is to display the sign on the travel line with the background color as red; when the purpose of the travel is assistance, the corresponding display mode is to display the aid on the travel line with the background color as green; When the purpose of the travel is scouting, the corresponding display mode is to display the detection on the travel line with the background color as orange; when the travel destination is the mark, the corresponding display mode is to display the mark on the travel line with the background color as yellow; The corresponding display mode is to display the return on the travel line with the background color corresponding to the purpose of the departure.
可选地,步骤805和806可以在步骤804之后执行;或者,也可以在步骤804之前执行;或者,还可以与步骤804同时执行,本实施例对此不作限定。Optionally, the steps 805 and 806 may be performed after the step 804; or may be performed before the step 804; or may be performed simultaneously with the step 804, which is not limited in this embodiment.
步骤807,若接收到的作用于第一控件的第二触发操作,则获取行进线起点的虚拟坐标,显示以该虚拟坐标为基准的地图图像,流程结束。Step 807: If the received second triggering operation on the first control is performed, the virtual coordinates of the starting point of the traveling line are acquired, and the map image based on the virtual coordinate is displayed, and the process ends.
步骤808,若接收到的作用于第二控件的第二触发操作,则获取行进线终点的虚拟坐标,显示以该虚拟坐标为基准的地图图像,流程结束。Step 808: If the received second trigger operation is applied to the second control, the virtual coordinates of the end point of the travel line are acquired, and the map image based on the virtual coordinate is displayed, and the process ends.
步骤809,若接收到的作用于第三控件的第二触发操作,则获取虚拟队伍位置的虚拟坐标,显示以该虚拟坐标为基准的地图图像,实时更新该地图图像。Step 809: If the received second triggering operation is performed on the third control, the virtual coordinates of the virtual team position are acquired, and the map image based on the virtual coordinates is displayed, and the map image is updated in real time.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following is an embodiment of the apparatus of the present application, which may be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参考图11,其示出了本申请一个实施例提供的用于虚拟地图上行进线信息的显示装置的结构示意图。该用于虚拟地图上行进线信息的显示装置可以通过专用硬件电路,或者,软硬件的结合实现成为终端的全部或一部分,该用于虚拟地图上行进线信息的显示装置包括:第一接收模块1010、控件显示模块1020、第二接收模块1030和行进线位置定位模块1040。Please refer to FIG. 11 , which is a structural diagram of a display device for traveling line information on a virtual map provided by an embodiment of the present application. The display device for the travel line information on the virtual map may be implemented as a whole or a part of the terminal by a dedicated hardware circuit or a combination of software and hardware. The display device for traveling line information on the virtual map includes: a first receiving module 1010. The control display module 1020, the second receiving module 1030, and the traveling line position positioning module 1040.
第一接收模块1010,用于接收作用于虚拟地图中的行进线的第一触发操作,所述行进线为由至少一个虚拟角色组成的虚拟队伍的行进路线;a first receiving module 1010, configured to receive a first triggering operation of a traveling line in a virtual map, where the traveling line is a traveling route of a virtual team composed of at least one virtual character;
控件显示模块1020,用于根据所述第一触发操作显示定位控件,所述定位控件用于定位所述行进线上的目标行进线位置;a control display module 1020, configured to display a positioning control according to the first triggering operation, where the positioning control is used to locate a target traveling line position on the traveling line;
第二接收模块1030,用于接收作用于所述定位控件的第二触发操作;The second receiving module 1030 is configured to receive a second triggering operation that is applied to the positioning control.
行进线位置定位模块1040,用于根据所述第二触发操作显示所述目标行进线位置对应的目标地图区域,所述目标地图区域为所述虚拟地图中以所述目标行进线位置为基准的局部地图图像。a traveling line position locating module 1040, configured to display, according to the second triggering operation, a target map area corresponding to the target traveling line position, where the target map area is based on the target traveling line position in the virtual map. Partial map image.
可选地,所述行进线位置定位模块1040,包括:位置获取单元和跳转单元。Optionally, the travel line position location module 1040 includes: a location acquisition unit and a jump unit.
位置获取单元,用于根据所述第二触发操作获取所述目标行进线位置的虚 拟坐标,所述虚拟坐标用于指示所述目标行进线位置在所述虚拟地图中的坐标;跳转单元,用于在当前地图区域不包括所述虚拟坐标时,从所述当前地图区域跳转至所述目标地图区域显示,所述当前地图区域为所述虚拟地图中以其它位置为基准的局部地图图像,所述其它位置与所述目标行进线位置不同。a position obtaining unit, configured to acquire virtual coordinates of the target traveling line position according to the second triggering operation, where the virtual coordinates are used to indicate coordinates of the target traveling line position in the virtual map; a jump unit, For jumping from the current map area to the target map area display when the current map area does not include the virtual coordinate, the current map area being a partial map image based on other positions in the virtual map The other location is different from the target travel line location.
可选地,所述目标行进线位置包括:行进线起点、行进线终点和虚拟队伍位置中的至少一种,所述虚拟队伍位置是指所述虚拟队伍在所述行进线上的位置;Optionally, the target traveling line position includes at least one of a starting point of a traveling line, an ending point of a traveling line, and a virtual team position, where the virtual team position refers to a position of the virtual team on the traveling line;
所述装置还包括:图像更新模块。图像更新模块,用于当所述目标行进线位置为所述虚拟队伍位置时,在根据所述第二触发操作显示所述目标行进线位置对应的目标地图区域之后,实时地更新显示所述目标地图区域,得到更新后的地图图像,所述更新后的地图图像用于指示所述虚拟队伍位置在所述虚拟地图中位置的变化。The apparatus also includes an image update module. And an image updating module, configured to: when the target traveling line position is the virtual team position, display the target in real time after displaying the target map area corresponding to the target traveling line position according to the second triggering operation The map area is obtained with an updated map image for indicating a change in the position of the virtual team position in the virtual map.
可选地,所述控件显示模块1020,用于根据所述第一触发操作对所述行进线的作用位置,确定所述第一触发操作是否满足触发显示所述定位控件的触发条件;在所述第一触发操作满足所述触发条件时,显示所述定位控件。Optionally, the control display module 1020 is configured to determine, according to the action position of the first triggering operation on the traveling line, whether the first triggering operation satisfies a trigger condition for triggering display of the positioning control; The positioning control is displayed when the first triggering operation satisfies the triggering condition.
可选地,所述触发条件包括:所述作用位置位于有效行进线上,所述有效行进线是支持响应所述第一触发操作的行进线;或者,所述触发条件包括:所述作用位置位于有效行进线的有效位置上,所述有效位置为所述有效行进线上支持响应所述第一触发操作的行进线位置。Optionally, the triggering condition includes: the working position is on an effective traveling line, the effective traveling line is a traveling line supporting the first triggering operation; or the triggering condition includes: the working position Located at an active position of the active travel line, the active position is a travel line position that supports the first triggering operation on the active travel line.
可选地,所述装置还包括:目的显示模块。目的显示模块,用于在接收作用于虚拟地图中的行进线上的第一触发操作之后,显示行进目的,所述行进目的用于表示所述虚拟队伍当前通过所述行进线行进的目的,所述行进目的包括:出征、攻击、侦查、援助、标记和返回中的任意一种。Optionally, the device further includes: a destination display module. a destination display module, configured to display a travel destination after receiving a first triggering operation on a travel line in the virtual map, the travel destination being used to indicate that the virtual team is currently traveling through the travel line, The purpose of the trip includes: any of the expedition, attack, investigation, assistance, marking, and return.
可选地,所述目的显示模块,用于获取所述行进目的;根据所述行进目的与显示方式之间的对应关系,确定所述行进目的对应的所述显示方式;以所述显示方式在所述行进线上显示所述行进目的。Optionally, the destination display module is configured to acquire the travel destination; determine the display manner corresponding to the travel destination according to a correspondence between the travel destination and a display manner; The travel destination is displayed on the travel line.
可选地,所述装置还包括:状态显示模块。状态显示模块,用于在接收作用于虚拟地图中的行进线上的第一触发操作之后,显示行进状态,所述行进状态包括:所述虚拟队伍在所述虚拟地图中的位置、已行进距离、剩余行进时间和行进速度中的至少一种。Optionally, the device further includes: a status display module. a status display module, configured to display a traveling status after receiving a first triggering operation on a traveling line in the virtual map, where the traveling status includes: a position of the virtual team in the virtual map, and a traveled distance At least one of remaining travel time and travel speed.
相关细节可结合参考上述方法实施例。Related details can be combined with reference to the above method embodiments.
需要说明的是,上述实施例提供的装置,在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the device provided by the foregoing embodiment implements its function, only the division of each functional module described above is illustrated. In actual applications, the function distribution may be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. In addition, the apparatus and method embodiments provided in the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
本申请提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现上述各个方法实施例提供的用于虚拟地图上行进线信息的显示方法。The present application provides a computer readable storage medium having at least one instruction stored therein, the at least one instruction being loaded and executed by the processor to implement the virtual map provided by the various method embodiments described above. The method of displaying the travel line information.
本申请还提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述各个方法实施例提供的用于虚拟地图上行进线信息的显示方法。The present application also provides a computer program product that, when run on a computer, causes the computer to perform the display method for the travel line information provided on the virtual map provided by the various method embodiments.
本申请还提供了一种终端,该终端包括处理器和存储器,存储器中存储有至少一条指令,至少一条指令由处理器加载并执行以实现上述各个方法实施例提供的用于虚拟地图上行进线信息的显示方法。The present application further provides a terminal, the terminal includes a processor and a memory, wherein the memory stores at least one instruction, and at least one instruction is loaded and executed by the processor to implement the line for the virtual map provided by the foregoing method embodiments. How to display information.
需要说明的是,该终端可以是如下图12所提供的终端。It should be noted that the terminal may be the terminal provided in FIG. 12 as follows.
图12示出了本申请一个示例性实施例提供的终端1100的结构框图。该终端1100可以是便携式移动终端,比如:智能手机、平板电脑、可穿戴式设备、VR设备、AR设备、智能家居设备、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器。终端1100还可能被称为用户设备、便携式终端等其他名称。FIG. 12 is a structural block diagram of a terminal 1100 provided by an exemplary embodiment of the present application. The terminal 1100 can be a portable mobile terminal, such as: a smart phone, a tablet computer, a wearable device, a VR device, an AR device, a smart home device, an MP3 player (Moving Picture Experts Group Audio Layer III), and a motion picture expert compresses standard audio. Level 3), MP4 (Moving Picture Experts Group Audio Layer IV, Motion Picture Experts Compress Standard Audio Level 4) player. The terminal 1100 may also be referred to as a user device, a portable terminal, or the like.
通常,终端1100包括有:处理器1101和存储器1102。Generally, the terminal 1100 includes a processor 1101 and a memory 1102.
处理器1101可以包括一个或多个处理核心,比如:4核心处理器、8核心处理器等。处理器1101可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1101也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1101可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器 1101还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1101 may be configured by at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). achieve. The processor 1101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, which is also called a CPU (Central Processing Unit); the coprocessor is A low-power processor for processing data in standby. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and rendering of content that needs to be displayed on the display screen. In some embodiments, the processor 1101 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
存储器1102可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是有形的和非暂态的。存储器1102还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1102中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1101所执行以实现本申请中提供的用于虚拟地图上行进线信息的显示方法。 Memory 1102 can include one or more computer readable storage media that can be tangible and non-transitory. Memory 1102 can also include high speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer readable storage medium in memory 1102 is for storing at least one instruction for execution by processor 1101 to implement the virtual map provided in the present application. The method of displaying the travel line information.
在一些实施例中,终端1100还可选包括有:外围设备接口1103和至少一个外围设备。具体地,外围设备包括:射频电路1104、触摸显示屏1105、摄像头组件1106、音频电路1107、定位组件1108和电源1109中的至少一种。In some embodiments, the terminal 1100 further optionally includes: a peripheral device interface 1103 and at least one peripheral device. Specifically, the peripheral device includes at least one of a radio frequency circuit 1104, a touch display screen 1105, a camera assembly 1106, an audio circuit 1107, a positioning component 1108, and a power source 1109.
外围设备接口1103可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1101和存储器1102。在一些实施例中,处理器1101、存储器1102和外围设备接口1103被集成在同一芯片或电路板上;在一些其他实施例中,处理器1101、存储器1102和外围设备接口1103中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 1103 can be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 1101 and the memory 1102. In some embodiments, processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any of processor 1101, memory 1102, and peripheral interface 1103 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
射频电路1104用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1104通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1104将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1104包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1104可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路1104还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The RF circuit 1104 is configured to receive and transmit an RF (Radio Frequency) signal, also called an electromagnetic signal. The RF circuit 1104 communicates with the communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical 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 the like. The radio frequency circuit 1104 can 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, a metropolitan area network, an intranet, generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1104 may further include an NFC (Near Field Communication) related circuit, which is not limited in this application.
触摸显示屏1105用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。触摸显示屏1105还具有采集在触摸显示屏1105的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1101进行处理。触摸显示屏1105用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,触摸显示屏1105 可以为一个,设置终端1100的前面板;在另一些实施例中,触摸显示屏1105可以为至少两个,分别设置在终端1100的不同表面或呈折叠设计;在再一些实施例中,触摸显示屏1105可以是柔性显示屏,设置在终端1100的弯曲表面上或折叠面上。甚至,触摸显示屏1105还可以设置成非矩形的不规则图形,也即异形屏。触摸显示屏1105可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The touch display screen 1105 is used to display a UI (User Interface). The UI can include graphics, text, icons, video, and any combination thereof. Touch display 1105 also has the ability to capture touch signals over the surface or surface of touch display 1105. The touch signal can be input to the processor 1101 as a control signal for processing. Touch display 1105 is used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the touch display screen 1105 may be one, and the front panel of the terminal 1100 is set; in other embodiments, the touch display screen 1105 may be at least two, respectively disposed on different surfaces of the terminal 1100 or in a folded design. In still other embodiments, the touch display 1105 can be a flexible display disposed on a curved surface or a folded surface of the terminal 1100. Even the touch display screen 1105 can be set to a non-rectangular irregular pattern, that is, a profiled screen. The touch display screen 1105 can be prepared by using a material such as an LCD (Liquid Crystal Display) or an OLED (Organic Light-Emitting Diode).
摄像头组件1106用于采集图像或视频。可选地,摄像头组件1106包括前置摄像头和后置摄像头。通常,前置摄像头用于实现视频通话或自拍,后置摄像头用于实现照片或视频的拍摄。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能,主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能。在一些实施例中,摄像头组件1106还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。 Camera component 1106 is used to capture images or video. Optionally, camera assembly 1106 includes a front camera and a rear camera. Typically, the front camera is used for video calls or self-timer, and the rear camera is used for photo or video capture. In some embodiments, the rear camera is at least two, which are respectively a main camera, a depth of field camera, and a wide-angle camera, so that the main camera and the depth of field camera are combined to realize the background blur function, and the main camera and the wide-angle camera are integrated. Panoramic shooting and VR (Virtual Reality) shooting. In some embodiments, the camera assembly 1106 can also include a flash. The flash can be a monochrome temperature flash or a two-color temperature flash. The two-color temperature flash is a combination of a warm flash and a cool flash that can be used for light compensation at different color temperatures.
音频电路1107用于提供用户和终端1100之间的音频接口。音频电路1107可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1101进行处理,或者输入至射频电路1104以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端1100的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1101或射频电路1104的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1107还可以包括耳机插孔。The audio circuit 1107 is for providing an audio interface between the user and the terminal 1100. The audio circuit 1107 can include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 1101 for processing, or to the RF circuit 1104 for voice communication. For the purpose of stereo acquisition or noise reduction, the microphones may be multiple, and are respectively disposed at different parts of the terminal 1100. The microphone can also be an array microphone or an omnidirectional acquisition microphone. The speaker is then used to convert electrical signals from the processor 1101 or the RF circuit 1104 into sound waves. The speaker can be a conventional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only can the electrical signal be converted into human audible sound waves, but also the electrical signal can be converted into sound waves that are inaudible to humans for ranging and the like. In some embodiments, the audio circuit 1107 can also include a headphone jack.
定位组件1108用于定位终端1100的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件1108可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统或俄罗斯的伽利略系统的定位组件。The positioning component 1108 is configured to locate the current geographic location of the terminal 1100 to implement navigation or LBS (Location Based Service). The positioning component 1108 can be a positioning component based on a US-based GPS (Global Positioning System), a Chinese Beidou system, or a Russian Galileo system.
电源1109用于为终端1100中的各个组件进行供电。电源1109可以是交流电、直流电、一次性电池或可充电电池。当电源1109包括可充电电池时, 该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。A power supply 1109 is used to power various components in the terminal 1100. The power source 1109 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power source 1109 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged by a wired line, and a wireless rechargeable battery is a battery that is charged by a wireless coil. The rechargeable battery can also be used to support fast charging technology.
在一些实施例中,终端1100还包括有一个或多个传感器1110。该一个或多个传感器1110包括但不限于:加速度传感器1111、陀螺仪传感器1112、压力传感器1113、指纹传感器1114、光学传感器1115以及接近传感器1116。In some embodiments, terminal 1100 also includes one or more sensors 1110. The one or more sensors 1110 include, but are not limited to, an acceleration sensor 1111, a gyro sensor 1112, a pressure sensor 1113, a fingerprint sensor 1114, an optical sensor 1115, and a proximity sensor 1116.
加速度传感器1111可以检测以终端1100建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1111可以用于检测重力加速度在三个坐标轴上的分量。处理器1101可以根据加速度传感器1111采集的重力加速度信号,控制触摸显示屏1105以横向视图或纵向视图进行用户界面的显示。加速度传感器1111还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 1111 can detect the magnitude of the acceleration on the three coordinate axes of the coordinate system established by the terminal 1100. For example, the acceleration sensor 1111 can be used to detect components of gravity acceleration on three coordinate axes. The processor 1101 can control the touch display screen 1105 to display the user interface in a landscape view or a portrait view according to the gravity acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 can also be used for the acquisition of game or user motion data.
陀螺仪传感器1112可以检测终端1100的机体方向及转动角度,陀螺仪传感器1112可以与加速度传感器1111协同采集用户对终端1100的3D动作。处理器1101根据陀螺仪传感器1112采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyro sensor 1112 can detect the body direction and the rotation angle of the terminal 1100, and the gyro sensor 1112 can cooperate with the acceleration sensor 1111 to collect the 3D motion of the user to the terminal 1100. Based on the data collected by the gyro sensor 1112, the processor 1101 can implement functions such as motion sensing (such as changing the UI according to the user's tilting operation), image stabilization at the time of shooting, game control, and inertial navigation.
压力传感器1113可以设置在终端1100的侧边框和/或触摸显示屏1105的下层。当压力传感器1113设置在终端1100的侧边框时,可以检测用户对终端1100的握持信号,根据该握持信号进行左右手识别或快捷操作。当压力传感器1113设置在触摸显示屏1105的下层时,可以根据用户对触摸显示屏1105的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 1113 may be disposed at a side border of the terminal 1100 and/or a lower layer of the touch display screen 1105. When the pressure sensor 1113 is disposed at the side frame of the terminal 1100, the user's holding signal to the terminal 1100 can be detected, and the left and right hand recognition or shortcut operation can be performed according to the holding signal. When the pressure sensor 1113 is disposed on the lower layer of the touch display screen 1105, the operability control on the UI interface can be controlled according to the user's pressure operation on the touch display screen 1105. The operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
指纹传感器1114用于采集用户的指纹,以根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器1101授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器1114可以被设置终端1100的正面、背面或侧面。当终端1100上设置有物理按键或厂商Logo时,指纹传感器1114可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 1114 is configured to collect a fingerprint of the user to identify the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1101 authorizes the user to perform related sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying and changing settings, and the like. The fingerprint sensor 1114 can be provided with the front, back or side of the terminal 1100. When the physical button or vendor logo is set on the terminal 1100, the fingerprint sensor 1114 can be integrated with the physical button or the manufacturer logo.
光学传感器1115用于采集环境光强度。在一个实施例中,处理器1101可以根据光学传感器1115采集的环境光强度,控制触摸显示屏1105的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏1105的显示亮度;当环境光 强度较低时,调低触摸显示屏1105的显示亮度。在另一个实施例中,处理器1101还可以根据光学传感器1115采集的环境光强度,动态调整摄像头组件1106的拍摄参数。Optical sensor 1115 is used to collect ambient light intensity. In one embodiment, the processor 1101 can control the display brightness of the touch display 1105 based on the ambient light intensity acquired by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1105 is raised; when the ambient light intensity is low, the display brightness of the touch display screen 1105 is lowered. In another embodiment, the processor 1101 can also dynamically adjust the shooting parameters of the camera assembly 1106 according to the ambient light intensity acquired by the optical sensor 1115.
接近传感器1116,也称距离传感器,通常设置在终端1100的正面。接近传感器1116用于采集用户与终端1100的正面之间的距离。在一个实施例中,当接近传感器1116检测到用户与终端1100的正面之间的距离逐渐变小时,由处理器1101控制触摸显示屏1105从亮屏状态切换为息屏状态;当接近传感器1116检测到用户与终端1100的正面之间的距离逐渐变大时,由处理器1101控制触摸显示屏1105从息屏状态切换为亮屏状态。 Proximity sensor 1116, also referred to as a distance sensor, is typically disposed on the front side of terminal 1100. Proximity sensor 1116 is used to collect the distance between the user and the front side of terminal 1100. In one embodiment, when the proximity sensor 1116 detects that the distance between the user and the front side of the terminal 1100 is gradually decreasing, the processor 1101 controls the touch display screen 1105 to switch from the bright screen state to the interest screen state; when the proximity sensor 1116 detects When the distance between the user and the front side of the terminal 1100 gradually becomes larger, the processor 1101 controls the touch display screen 1105 to switch from the state of the screen to the bright state.
本领域技术人员可以理解,图12中示出的结构并不构成对终端1100的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art will appreciate that the structure illustrated in FIG. 12 does not constitute a limitation to terminal 1100, may include more or fewer components than illustrated, or may combine certain components, or employ different component arrangements.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的用于虚拟地图上行进线信息的显示方法中全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。或者说,该存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,该至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现如上述各个方法实施例中所述的用于虚拟地图上行进线信息的显示方法。A person skilled in the art may understand that all or part of the steps of the display method for implementing the travel line information on the virtual map in the foregoing embodiment may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be Stored in a computer readable storage medium, the storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like. Alternatively, the storage medium stores at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the processor to implement the methods as described above. A display method for traveling line information on a virtual map as described in the example.
另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现如上方面所提供的用于虚拟地图上行进线信息的显示方法。In another aspect, a computer readable storage medium is provided having stored therein a computer program loaded by the processor and executed to implement the virtual map provided by the above aspect The display method of the upper line information.
另一方面,提供了一种计算机程序产品,所述计算机程序产品中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上方面所提供的用于虚拟地图上行进线信息的显示方法。In another aspect, a computer program product is provided, the computer program product storing at least one instruction loaded by the processor and executed to implement travel on a virtual map as provided in the above aspect How to display line information.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application are included in the protection of the present application. Within the scope.
Claims (18)
- 一种用于虚拟地图上行进线信息的显示方法,其特征在于,所述方法应用于终端中,所述方法包括:A method for displaying travel line information on a virtual map, wherein the method is applied to a terminal, the method comprising:接收作用于虚拟地图中的行进线的第一触发操作,所述行进线为由至少一个虚拟角色组成的虚拟队伍的行进路线;Receiving a first triggering operation on a travel line in the virtual map, the travel line being a travel route of a virtual team composed of at least one virtual character;根据所述第一触发操作显示定位控件,所述定位控件用于定位所述行进线上的目标行进线位置;Displaying a positioning control according to the first triggering operation, the positioning control is configured to locate a target traveling line position on the traveling line;接收作用于所述定位控件的第二触发操作;Receiving a second triggering operation acting on the positioning control;根据所述第二触发操作显示所述目标行进线位置对应的目标地图区域,所述目标地图区域为所述虚拟地图中以所述目标行进线位置为基准的局部地图图像。And displaying, according to the second triggering operation, a target map area corresponding to the target traveling line position, where the target map area is a partial map image in the virtual map with the target traveling line position as a reference.
- 根据权利要求1所述的方法,其特征在于,所述根据所述第二触发操作显示所述目标行进线位置对应的目标地图区域,包括:The method according to claim 1, wherein the displaying the target map area corresponding to the target traveling line position according to the second triggering operation comprises:根据所述第二触发操作获取所述目标行进线位置的虚拟坐标,所述虚拟坐标为所述目标行进线位置在所述虚拟地图中的坐标;Acquiring, according to the second triggering operation, virtual coordinates of the target traveling line position, where the virtual coordinates are coordinates of the target traveling line position in the virtual map;在当前地图区域不包括所述虚拟坐标时,从所述当前地图区域跳转至所述目标地图区域显示。When the current map area does not include the virtual coordinates, jump from the current map area to the target map area display.
- 根据权利要求1所述的方法,其特征在于,所述目标行进线位置包括:行进线起点、行进线终点和虚拟队伍位置中的至少一种,所述虚拟队伍位置是指所述虚拟队伍在所述行进线上的位置;The method according to claim 1, wherein the target traveling line position comprises at least one of a starting point of a traveling line, an ending point of a traveling line, and a virtual team position, wherein the virtual team position means that the virtual team is The position on the line of travel;当所述目标行进线位置为所述虚拟队伍位置时,所述根据所述第二触发操作显示所述目标行进线位置对应的目标地图区域之后,还包括:After the target traveling line position is the virtual team position, after the displaying the target map area corresponding to the target traveling line position according to the second triggering operation, the method further includes:实时地更新显示所述目标地图区域,得到更新后的地图图像,所述更新后的地图图像用于指示所述虚拟队伍位置在所述虚拟地图中位置的变化。Updating the target map area in real time to obtain an updated map image, the updated map image being used to indicate a change in the position of the virtual team position in the virtual map.
- 根据权利要求1所述的方法,其特征在于,所述根据所述第一触发操作显示定位控件,包括:The method according to claim 1, wherein the displaying the positioning control according to the first triggering operation comprises:根据所述第一触发操作对所述行进线的作用位置,确定所述第一触发操作 是否满足触发显示所述定位控件的触发条件;Determining, according to the action position of the first triggering operation on the traveling line, whether the first triggering operation satisfies a triggering condition for triggering display of the positioning control;在所述第一触发操作满足所述触发条件时,显示所述定位控件。The positioning control is displayed when the first triggering operation satisfies the triggering condition.
- 根据权利要求4所述的方法,其特征在于,The method of claim 4 wherein:所述触发条件包括:所述作用位置位于有效行进线,所述有效行进线是支持响应所述第一触发操作的行进线;或者,The triggering condition includes: the active position is located on an effective traveling line, and the effective traveling line is a traveling line supporting the first triggering operation; or所述触发条件包括:所述作用位置位于有效行进线的有效位置,所述有效位置为所述有效行进线上支持响应所述第一触发操作的行进线位置。The triggering condition includes the active position being at an effective position of an effective travel line, the valid position being a travel line position supporting the first triggering operation on the valid travel line.
- 根据权利要求1至5任意一项所述的方法,其特征在于,所述接收作用于虚拟地图中的行进线的第一触发操作之后,还包括:The method according to any one of claims 1 to 5, further comprising: after receiving the first triggering operation of the traveling line in the virtual map, further comprising:显示行进目的,所述行进目的用于表示所述虚拟队伍通过所述行进线行进的目的,所述行进目的包括:出征、攻击、侦查、援助、标记和返回中的任意一种。A purpose of travel is displayed, the purpose of the travel being used to indicate the purpose of the virtual team traveling through the travel line, the travel purpose including: any one of levy, attack, detection, assistance, marking, and return.
- 根据权利要求6所述的方法,其特征在于,所述显示行进目的,包括:The method of claim 6 wherein said displaying the purpose of travel comprises:获取所述行进目的;Obtaining the purpose of travel;根据所述行进目的与显示方式之间的对应关系,确定所述行进目的对应的所述显示方式;Determining, according to the correspondence between the traveling purpose and the display mode, the display manner corresponding to the traveling destination;以所述显示方式在所述行进线上显示所述行进目的。The traveling purpose is displayed on the travel line in the display manner.
- 根据权利要求1至5任意一项所述的方法,其特征在于,所述接收作用于虚拟地图中的行进线的第一触发操作之后,还包括:The method according to any one of claims 1 to 5, further comprising: after receiving the first triggering operation of the traveling line in the virtual map, further comprising:显示行进状态,所述行进状态包括:所述虚拟队伍在所述虚拟地图中的位置、已行进距离、剩余行进时间和行进速度中的至少一种。A traveling state is displayed, the traveling state including at least one of a position of the virtual team in the virtual map, a traveled distance, a remaining travel time, and a travel speed.
- 一种用于虚拟地图上行进线信息的显示装置,其特征在于,所述装置包括:A display device for traveling line information on a virtual map, wherein the device comprises:第一接收模块,用于接收作用于虚拟地图中的行进线的第一触发操作,所述行进线为由至少一个虚拟角色组成的虚拟队伍的行进路线;a first receiving module, configured to receive a first triggering operation on a traveling line in the virtual map, where the traveling line is a traveling route of the virtual team composed of the at least one virtual character;控件显示模块,用于根据所述第一触发操作显示定位控件,所述定位控件 用于定位所述行进线上的目标行进线位置;a control display module, configured to display a positioning control according to the first triggering operation, where the positioning control is used to locate a target traveling line position on the traveling line;第二接收模块,用于接收作用于所述定位控件的第二触发操作;a second receiving module, configured to receive a second triggering operation that is applied to the positioning control;行进线位置定位模块,用于根据所述第二触发操作显示所述目标行进线位置对应的目标地图区域,所述目标地图区域为所述虚拟地图中以所述目标行进线位置为基准的局部地图图像。a traveling line position locating module, configured to display, according to the second triggering operation, a target map area corresponding to the target traveling line position, where the target map area is a part of the virtual map with the target traveling line position as a reference Map image.
- 根据权利要求9所述的装置,其特征在于,所述行进线位置定位模块,包括:位置获取单元和跳转单元;The device according to claim 9, wherein the traveling line position positioning module comprises: a position obtaining unit and a jump unit;所述位置获取单元,用于根据所述第二触发操作获取所述目标行进线位置的虚拟坐标,所述虚拟坐标为所述目标行进线位置在所述虚拟地图中的坐标;The position obtaining unit is configured to acquire virtual coordinates of the target traveling line position according to the second triggering operation, where the virtual coordinates are coordinates of the target traveling line position in the virtual map;所述跳转单元,用于在当前地图区域不包括所述虚拟坐标时,从所述当前地图区域跳转至所述目标地图区域显示。The jump unit is configured to jump from the current map area to the target map area display when the current map area does not include the virtual coordinates.
- 根据权利要求9所述的装置,其特征在于,所述目标行进线位置包括:行进线起点、行进线终点和虚拟队伍位置中的至少一种,所述虚拟队伍位置是指所述虚拟队伍在所述行进线上的位置;The apparatus according to claim 9, wherein the target traveling line position comprises at least one of a starting point of a traveling line, an ending point of a traveling line, and a virtual team position, wherein the virtual team position means that the virtual team is The position on the line of travel;所述装置还包括:图像更新模块;The device further includes: an image update module;所述图像更新模块,用于当所述目标行进线位置为所述虚拟队伍位置时,在根据所述第二触发操作显示所述目标行进线位置对应的目标地图区域之后,实时地更新显示所述目标地图区域,得到更新后的地图图像,所述更新后的地图图像用于指示所述虚拟队伍位置在所述虚拟地图中位置的变化。The image updating module is configured to: when the target traveling line position is the virtual team position, update the display station in real time after displaying the target map area corresponding to the target traveling line position according to the second triggering operation The target map area is obtained, and an updated map image is obtained, and the updated map image is used to indicate a change of the position of the virtual team position in the virtual map.
- 根据权利要求9所述的装置,其特征在于,The device of claim 9 wherein:所述控件显示模块,用于根据所述第一触发操作对所述行进线的作用位置,确定所述第一触发操作是否满足触发显示所述定位控件的触发条件;在所述第一触发操作满足所述触发条件时,显示所述定位控件。The control display module is configured to determine, according to the action position of the first triggering operation on the traveling line, whether the first triggering operation satisfies a trigger condition for triggering display of the positioning control; and the first triggering operation When the trigger condition is met, the positioning control is displayed.
- 根据权利要求12所述的装置,其特征在于,The device according to claim 12, characterized in that所述触发条件包括:所述作用位置位于有效行进线,所述有效行进线是支持响应所述第一触发操作的行进线;或者,The triggering condition includes: the active position is located on an effective traveling line, and the effective traveling line is a traveling line supporting the first triggering operation; or所述触发条件包括:所述作用位置位于有效行进线的有效位置,所述有效 位置为所述有效行进线上支持响应所述第一触发操作的行进线位置。The triggering condition includes the active position being at an active position of an active travel line, the active position being a travel line position that supports the first triggering operation on the active travel line.
- 根据权利要求9至13任意一项所述的装置,其特征在于,所述装置还包括:目的显示模块;The device according to any one of claims 9 to 13, wherein the device further comprises: a destination display module;所述目的显示模块,用于接收作用于虚拟地图中的行进线的第一触发操作之后,显示行进目的,所述行进目的用于表示所述虚拟队伍通过所述行进线行进的目的,所述行进目的包括:出征、攻击、侦查、援助、标记和返回中的任意一种。The destination display module is configured to display a travel destination after receiving a first triggering operation on a travel line in the virtual map, where the travel destination is used to indicate that the virtual team travels through the travel line, The purpose of the trip includes: any of the expedition, attack, detection, assistance, marking, and return.
- 根据权利要求14所述的装置,其特征在于,The device of claim 14 wherein:所述目的显示模块,用于获取所述行进目的;根据所述行进目的与显示方式之间的对应关系,确定所述行进目的对应的所述显示方式;以所述显示方式在所述行进线上显示所述行进目的。The destination display module is configured to acquire the traveling destination; determine the display manner corresponding to the traveling destination according to a correspondence between the traveling destination and the display manner; and display the traveling line in the display manner The purpose of travel is shown above.
- 根据权利要求9至13任意一项所述的装置,其特征在于,所述装置还包括:状态显示模块;The device according to any one of claims 9 to 13, wherein the device further comprises: a status display module;所述状态显示模块,用于显示所述虚拟队伍的行进状态,所述行进状态包括:所述虚拟队伍在所述虚拟地图中的位置、已行进距离、剩余行进时间和行进速度中的至少一种。The status display module is configured to display a traveling state of the virtual team, where the traveling state includes: at least one of a position, a traveled distance, a remaining travel time, and a travel speed of the virtual team in the virtual map. Kind.
- 一种终端,其特征在于,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如权利要求1至8任意一项所述的用于虚拟地图上行进线信息的显示方法。A terminal, comprising: a processor and a memory, wherein the memory stores at least one instruction loaded by the processor and executed to implement any one of claims 1 to 8. A method for displaying travel line information on a virtual map as described in the section.
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如权利要求1至8任意一项所述的用于虚拟地图上行进线信息的显示方法。A computer readable storage medium, wherein the storage medium stores at least one instruction, the at least one instruction being loaded and executed by the processor to implement the method of any one of claims 1 to 8. A display method for traveling line information on a virtual map.
Applications Claiming Priority (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 |
CN201711224655.7 | 2017-11-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019105196A1 true WO2019105196A1 (en) | 2019-06-06 |
Family
ID=66664688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/114636 WO2019105196A1 (en) | 2017-11-29 | 2018-11-08 | Display method and apparatus for information of traveling line 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 |
---|---|---|---|---|
CN117482507A (en) | 2019-07-19 | 2024-02-02 | 腾讯科技(深圳)有限公司 | 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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408431A (en) * | 2007-10-02 | 2009-04-15 | 索尼株式会社 | Map display apparatus and map display method |
US20130147846A1 (en) * | 2011-12-12 | 2013-06-13 | Google Inc. | Pre-fetching map tile data along a route |
CN106422330A (en) * | 2016-10-14 | 2017-02-22 | 网易(杭州)网络有限公司 | Method and device for pathfinding of unit |
CN106964156A (en) * | 2017-03-24 | 2017-07-21 | 腾讯科技(深圳)有限公司 | A kind of method for searching and device |
CN106975219A (en) * | 2017-03-27 | 2017-07-25 | 网易(杭州)网络有限公司 | Display control method and device, storage medium, the electronic equipment of game picture |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3684651B2 (en) * | 1996-03-05 | 2005-08-17 | 株式会社セガ | Rally game device and storage medium thereof |
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 |
CN105740291B (en) * | 2014-12-12 | 2020-07-07 | 深圳市腾讯计算机系统有限公司 | Map interface display method and device |
CN104713547A (en) * | 2015-03-16 | 2015-06-17 | 酷派软件技术(深圳)有限公司 | Method and terminal for generating position information |
-
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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408431A (en) * | 2007-10-02 | 2009-04-15 | 索尼株式会社 | Map display apparatus and map display method |
US20130147846A1 (en) * | 2011-12-12 | 2013-06-13 | Google Inc. | Pre-fetching map tile data along a route |
CN106422330A (en) * | 2016-10-14 | 2017-02-22 | 网易(杭州)网络有限公司 | Method and device for pathfinding of unit |
CN106964156A (en) * | 2017-03-24 | 2017-07-21 | 腾讯科技(深圳)有限公司 | A kind of method for searching and device |
CN106975219A (en) * | 2017-03-27 | 2017-07-25 | 网易(杭州)网络有限公司 | Display control method and device, storage medium, the electronic equipment of game picture |
Also Published As
Publication number | Publication date |
---|---|
CN109833624A (en) | 2019-06-04 |
CN109833624B (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108619721B (en) | Distance information display method and device in virtual scene and computer equipment | |
WO2019179314A1 (en) | Method for displaying marker point position, electronic device, and computer readable storage medium | |
CN108710525B (en) | Map display method, device, equipment and storage medium in virtual scene | |
CN110141859B (en) | Virtual object control method, device, terminal and storage medium | |
CN111414080B (en) | Method, device and equipment for displaying position of virtual object and storage medium | |
WO2022062788A1 (en) | Interactive special effect display method and terminal | |
WO2019205881A1 (en) | Method and apparatus for displaying information in virtual environment, device, and storage medium | |
CN111589136B (en) | Virtual object control method and device, computer equipment and storage medium | |
TWI802978B (en) | Method and apparatus for adjusting position of widget in application, device, and storage medium | |
CN110496392B (en) | Virtual object control method, device, terminal and storage medium | |
CN111921197A (en) | Method, device, terminal and storage medium for displaying game playback picture | |
WO2022227915A1 (en) | Method and apparatus for displaying position marks, and device and storage medium | |
CN111589125A (en) | Virtual object control method and device, computer equipment and storage medium | |
US11865449B2 (en) | Virtual object control method, apparatus, device, and computer-readable storage medium | |
CN112915529A (en) | Method, device, terminal and storage medium for acquiring chessman role | |
CN113198178A (en) | Virtual object position prompting method, device, terminal and storage medium | |
WO2019105196A1 (en) | Display method and apparatus for information of traveling line on virtual map | |
CN113559495A (en) | Method, device, equipment and storage medium for releasing skill of virtual object | |
US12061773B2 (en) | Method and apparatus for determining selected target, device, and storage medium | |
CN112007362A (en) | Display control method, device, storage medium and equipment in virtual world | |
CN111530075A (en) | Method, device, equipment and medium for displaying picture of virtual environment | |
WO2022237076A1 (en) | Method and apparatus for controlling avatar, and device and computer-readable storage medium | |
CN113599819A (en) | Prompt message display method, device, equipment and storage medium | |
CN110841288B (en) | Prompt identifier eliminating method, device, terminal and storage medium | |
CN112755517A (en) | Virtual object control method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18884710 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18884710 Country of ref document: EP Kind code of ref document: A1 |