Method and device for processing information in game and electronic equipment
By matching sliding information and virtual route information in strategy games, and displaying the route end or starting point of the game scene map in advance, the problem of low convenience in operation of virtual route information is solved and the game experience is improved.
Patent Information
- Application Number
- CN202411111757.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-12
AI Technical Summary
In strategy games, due to the limited display range of the game scene map, long virtual routes cannot be fully displayed. Players need to frequently slide the map to see the end or starting point of the route, which makes the operation easier.
By displaying local routes in the graphical user interface and responding to the sliding information of the sliding operation, matching the sliding information and the route information of the virtual route is displayed in advance to reduce the number of sliding operations.
It improves the operation convenience of players to view virtual route information, reduces the number of times the map is repeatedly swiped, and improves the game experience.
Smart Images

Figure CN118925225A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular to an information processing method, device and electronic device in a game. Background Art
[0002] At present, in many games, players can view various virtual routes in the game scene map, such as marching routes, flight routes, attack routes, etc. In particular, in strategy games (SLG), various virtual routes can be displayed in the game scene map by connecting arrows, such as the route to be moved or the route that has been moved by a controlled unit.
[0003] Due to the limited display range of the graphical user interface, a longer virtual route cannot be fully displayed. If the player wants to view the information of the virtual route that has not been displayed in the graphical user interface, for example, the graphical user interface only displays a partial route in the middle section of a virtual route, but the player wants to view the end point of the virtual route, the player needs to drag the map by sliding repeatedly along the virtual route until the end point of the virtual route is displayed in the graphical user interface. Such frequent sliding operations result in low convenience in viewing the virtual route information. Summary of the invention
[0004] The purpose of the present disclosure is to provide an information processing method, device and electronic device in a game to alleviate the technical problem of low operational convenience in viewing virtual route information.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for processing information in a game, wherein a graphical user interface is provided through a terminal device, and the method comprises:
[0006] Displaying at least a portion of a game scene map through the graphical user interface, wherein the game scene map includes a partial route of at least one virtual route, wherein the virtual route is used to represent a travel route of a virtual unit;
[0007] In response to a sliding operation on the game scene map, determining sliding information of the sliding operation;
[0008] The game scene map is controlled to move according to the sliding information, and in response to the sliding information matching the route information of the first virtual route, prompt information of the first virtual route is displayed in the graphical user interface; wherein the first virtual route is one of the at least one virtual route.
[0009] In a second aspect, an information processing device for a game is provided, which provides a graphical user interface through a terminal device, and the device includes:
[0010] A first display module, configured to display at least a portion of a game scene map through the graphical user interface, wherein the game scene map includes a partial route of at least one virtual route, wherein the virtual route is used to represent a travel route of a virtual unit;
[0011] A determination module, configured to determine sliding information of the sliding operation in response to a sliding operation on the game scene map;
[0012] A second display module is used to control the movement of the game scene map according to the sliding information, and in response to the sliding information matching the route information of the first virtual route, display the prompt information of the first virtual route in the graphical user interface; wherein the first virtual route is one of the at least one virtual route.
[0013] In a third aspect, an embodiment of the present disclosure provides an electronic terminal, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method described in the first aspect when executing the computer program.
[0014] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute the method described in the first aspect.
[0015] The embodiments of the present disclosure bring the following beneficial effects:
[0016] An information processing method, device and electronic device in a game provided by the embodiments of the present disclosure can display at least a portion of a game scene map including a partial route of at least one virtual route, determine sliding information of the sliding operation in response to a sliding operation on the game scene map, control the game scene map to move according to the sliding information, and display prompt information of the first virtual route in a graphical user interface in response to matching the sliding information with route information of the first virtual route, wherein the first virtual route is one of the at least one virtual routes. In this solution, through the matching process between the sliding information of the player sliding the map and the route information of the virtual route in the map, the virtual route that the player actually wants to view can be determined, so as to display the prompt information of the route that the player wants to view but has not yet been displayed in the interface in advance, thereby reducing the player's repeated sliding map operations, improving the operational convenience of the player in viewing the virtual route information, and alleviating the technical problem of low operational convenience in viewing the virtual route information.
[0017] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present disclosure is shown;
[0020] Figure 2 A schematic diagram of the structure of a mobile phone provided by an embodiment of the present disclosure is shown;
[0021] Figure 3 A schematic diagram of a use scenario of a touch terminal provided by an embodiment of the present disclosure is shown;
[0022] Figure 4 A schematic diagram of a flow chart of an information processing method in a game provided by an embodiment of the present disclosure;
[0023] Figure 5 A schematic diagram showing content displayed by a graphical user interface provided by an embodiment of the present disclosure is shown;
[0024] Figure 6 A schematic diagram showing another graphical user interface display content provided by an embodiment of the present disclosure is shown;
[0025] Figure 7 A schematic diagram showing another graphical user interface display content provided by an embodiment of the present disclosure is shown;
[0026] Figure 8 A schematic diagram of the structure of an information processing device in a game provided by an embodiment of the present disclosure;
[0027] Fig. 9 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0029] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present disclosure are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0030] Currently, in SLG games, due to the limited display range of the game scene map, if a controlled unit is executing a command that requires a long distance, the team route of the controlled unit can be displayed in the game scene map through arrow lines. However, this method can only roughly display the team's route, cannot distinguish the actions performed by each team, and cannot indicate the detailed information of the team. When more actions are performed, the number of lines in the game scene map increases, and only partial routes can be displayed. Players may be confused when faced with more routes in the graphical user interface, and need to repeatedly slide the graphical user interface to move the game scene map for a long time to view the route end target or starting unit, resulting in low convenience in viewing virtual route information.
[0031] Based on this, the embodiments of the present disclosure provide a method, device, and electronic device for processing information in a game, through which the technical problem of low operational convenience in viewing virtual route information can be alleviated.
[0032] The information processing method in the game in one embodiment of the present disclosure can be run on a local terminal device or a server. When the information processing method in the game is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0033] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the information processing method in the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0034] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0035] In a possible implementation, an embodiment of the present disclosure provides an information processing method in a game, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or can be a client device in the cloud interaction system mentioned above.
[0036] For example, Figure 1 As shown, Figure 1 Schematic diagram of an application scenario provided by an embodiment of the present disclosure. The application scenario may include a touch terminal (e.g., a mobile phone 102) and a server 101, and the touch terminal may communicate with the server 101 via a wired network or a wireless network. The touch terminal is used to run a virtual desktop, through which the virtual desktop may interact with the server 101 to control the content in the server 101.
[0037] The touch terminal of this embodiment is described by taking a mobile phone 102 as an example. The mobile phone 102 includes components such as a radio frequency (RF) circuit 110, a memory 120, a touch screen 130, and a processor 140. Those skilled in the art can understand that Figure 2 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. Those skilled in the art will understand that the touch screen 130 belongs to the user interface (UI), and the mobile phone 102 may include more or fewer user interfaces than shown in the figure.
[0038] The RF circuit 110 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobilecommunication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0039] The memory 120 can be used to store software programs and modules. The processor 140 executes various functional applications and data processing of the mobile phone 102 by running the software programs and modules stored in the memory 120. The memory 120 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone 102, etc. In addition, the memory 120 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0040] The touch screen 130 can be used to display a graphical user interface and receive user operations on the graphical user interface. Specifically, the touch screen 130 may include a display panel and a touch panel. The display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can collect user contact or non-contact operations on or near it (for example, Figure 3As shown, the user uses any suitable object or accessory such as a finger 103, a stylus, etc. to operate on or near the touch panel), and generates a pre-set operation instruction. In addition, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation and posture, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into information that the processor can process, and then sends it to the processor 140, and can receive the command sent by the processor 140 and execute it. In addition, the touch panel can be implemented by various types such as resistive, capacitive, infrared and surface acoustic wave, and any technology developed in the future can be used to implement the touch panel. Further, the touch panel can cover the display panel, and the user can operate on or near the touch panel covered on the display panel according to the graphical user interface displayed on the display panel. After the touch panel detects the operation on or near it, it is transmitted to the processor 140 to determine the user input, and then the processor 140 provides corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be implemented as two independent components or integrated.
[0041] Processor 140 is the control center of mobile phone 102. It uses various interfaces and lines to connect various parts of the entire mobile phone. It executes various functions of mobile phone 102 and processes data by running or executing software programs and / or modules stored in memory 120, and calling data stored in memory 120, thereby monitoring the mobile phone as a whole.
[0042] The embodiments of the present disclosure are further described below in conjunction with the accompanying drawings.
[0043] Figure 4 A flowchart of an information processing method in a game provided by an embodiment of the present disclosure.
[0044] The method can be applied to an electronic terminal (e.g. Figure 2 The mobile phone 102 shown in the figure provides a graphical user interface through the terminal device. Figure 4 As shown, the method includes:
[0045] Step S410: display at least a portion of the game scene map through a graphical user interface.
[0046] The game scene map includes at least one partial route of a virtual route, wherein the virtual route is used to represent the travel route of the virtual unit.
[0047] As an optional implementation, the game scene map includes multiple local routes corresponding to multiple virtual routes, for example, Figure 5As shown, the player arranges three longer entire marching routes (three virtual routes), which are displayed in the graphical user interface as marching route A (partial route), marching route B (partial route), and marching route C (partial route).
[0048] Step S420, in response to a sliding operation on the game scene map, determining sliding information of the sliding operation.
[0049] In actual application, when players need to view game events occurring at the starting point or end point of a virtual route (such as a marching route) among multiple virtual routes, they can try to drag the game scene map by sliding it to achieve the effect of viewing the starting point or end point information of the marching route.
[0050] The sliding operation in the embodiment of the present disclosure may include operations that achieve multiple effects by sliding, for example, it may be an operation that achieves the effect of dragging or dragging a game scene map by sliding, or it may be an operation that achieves the effect of a game scene map following the movement of a touch point of a sliding operation by sliding.
[0051] In one possible implementation, when the player slides the game scene map, the sliding information of the sliding operation can be determined first. The sliding information can include various aspects of the sliding, such as sliding direction, sliding distance, sliding speed, number of sliding times, sliding pressure strength, sliding touch position, and so on.
[0052] Step S430, controlling the game scene map to move according to the sliding information, and displaying prompt information of the first virtual route in the graphical user interface in response to the sliding information matching the route information of the first virtual route.
[0053] The first virtual route is one of the at least one virtual route.
[0054] In actual application, if the route information of the first virtual route among the multiple virtual routes matches the above sliding information, the prompt information of the first virtual route is displayed in the graphical user interface. There are many ways to match the route information with the sliding information, such as matching based on the sliding direction close to the route direction or matching based on the sliding touch position close to the route position.
[0055] As an example, the virtual route touched by the sliding touch point in the sliding information can be determined as the first virtual route matching the sliding information, and the virtual route closest to the sliding touch point in the sliding information among multiple local routes can also be determined as the first virtual route matching the sliding information. The virtual route that the player wants to view can be accurately determined by the sliding position of the player's sliding interface, that is, by detecting the sliding touch position of the player sliding the game scene map, the player's real intention to select the route to be viewed can be determined.
[0056] As another example, the sliding directions (such as Figure 6 and Figure 7 The virtual route corresponding to the route direction that is close to the dragging direction in the sliding information to a certain extent is determined as the first virtual route matching the sliding information. The virtual route corresponding to the route direction that is closest to the sliding direction in the sliding information among multiple virtual routes can also be determined as the first virtual route matching the sliding information. The sliding direction of the player's sliding interface can accurately determine the virtual route that the player wants to view, that is, by detecting the sliding direction of the player sliding the game scene map, the player's real intention to select the route to be viewed can be determined.
[0057] For example, Figure 6 As shown, if the dragging direction (sliding direction) of the drag operation (sliding operation) satisfies route B, an icon and a pop-up window "The first character is attacking the second character" can be displayed at the edge of the map guided by route B, facing the end of the route, thereby directly describing to the player the events taking place at the end of route B.
[0058] If the drag direction changed by the player changes from meeting the trigger conditions of one virtual route to meeting the trigger conditions of another virtual route, it can be re-determined and displayed, for example, Figure 7 As shown, the dragging direction (sliding direction) of the drag operation (sliding operation) has changed, and the dragging direction no longer satisfies Route B, but satisfies Route C. At this time, at the edge of the map guided by Route C, an icon and a pop-up window "The third character is occupying XX land" are displayed in the area toward the end of the route, thereby directly describing to the player the events taking place at the end of Route C.
[0059] It should be noted that there may be multiple ways to determine the degree of proximity between the local route direction and the sliding direction. For example, if the angle between the vector of the sliding direction and the first virtual route is less than a certain angle (such as 15°), it is determined that the route direction of the first virtual route is close to the sliding direction to a certain extent.
[0060] The process of controlling the movement of the game scene map according to the sliding information can be achieved by controlling the movement of the virtual camera, so that the operation of controlling the movement of the game scene map is more convenient and the control accuracy is higher. Exemplarily, the above sliding operation can control the virtual camera of the game to move based on the sliding information, so that the game scene map displayed in the graphical user interface moves with the movement of the virtual camera, wherein the virtual camera is used to capture at least part of the game scene map.
[0061] In addition, the above prompt information may include information of various aspects related to the first virtual route, making the display content of the prompt information more comprehensive and flexible. Exemplarily, the prompt information includes any one or more of the following: thumbnail information of the first virtual route, information of game events occurring on the first virtual route, and route changes of the first virtual route. For example, the prompt information may be a small thumbnail (thumbnail information) of the route from the current position to the end point of the virtual route, the prompt information may also be the attack on the city at the end point of the virtual route (information of game events occurring), and so on.
[0062] In an optional embodiment, even if the sliding operation has not slid the game scene map to the end of the first virtual route, the prompt information of the end of the first virtual route can be displayed. This prompt information can help players to obtain the information of the end in advance before sliding to the end of the first virtual route, thereby optimizing the player's experience of viewing the game events occurring at the end of such a long virtual route on the map, and reducing the player's operating pressure. Exemplarily, in an SLG game, the method provided by the embodiment of the present disclosure can intelligently display the event information of the end of the route on the map, and when the player faces multiple long-distance virtual routes on the map, the action of the player sliding the map is judged, that is, the player's intention is predicted by the above method according to the player's sliding operation, and the information of different virtual routes is intelligently displayed, which helps the player quickly obtain the event information of each virtual route.
[0063] In the disclosed embodiment, through the matching process between the sliding information of the player sliding the map and the route information of the virtual route in the map, the virtual route that the player actually wants to view can be determined, so that the prompt information of the route that the player wants to view but has not yet been displayed in the interface is displayed in advance, thereby reducing the player's repeated sliding operations of the map, improving the convenience of the player in viewing the virtual route information, and alleviating the technical problem of low convenience in viewing the virtual route information.
[0064] The above steps are described in detail below.
[0065] In some embodiments, the sliding information of the sliding operation in terms of sliding speed, sliding distance, sliding times, sliding pressing strength, etc. meets the preset triggering conditions before determining that the player's intention to view a certain route prompt information reaches a certain level of demand, thereby avoiding unnecessary route matching processing. As an example, after controlling the game scene map to move according to the sliding information in step S420, the method may further include the following steps:
[0066] In response to the sliding information satisfying a preset trigger condition, a first virtual route matching the sliding information is obtained, wherein the trigger condition includes any one or more of the following: the sliding distance in the sliding information is greater than a specified distance, the sliding speed in the sliding information is greater than a specified speed, the number of sliding times in the sliding information is greater than a specified number, and the sliding pressing strength in the sliding information is greater than a specified strength.
[0067] As an optional implementation, when the sliding operation on the game scene map meets the following two conditions, it can be determined that the sliding information matches the route information of the first virtual route, confirming that the player wants to view the information of the first virtual route, such as the information of the game event occurring at the end of the route. Condition 1 is that the sliding information meets the preset trigger condition. If the sliding information meets the preset trigger condition, it means that the player's intention to view the prompt information of a certain virtual route has reached a certain level of demand, for example, the sliding distance in the sliding information reaches a certain distance threshold (specified distance) and is still sliding, the sliding speed in the sliding information reaches a certain speed threshold (specified speed), the number of sliding times in the sliding information reaches a certain number threshold (specified number), the sliding pressing strength in the sliding information reaches a certain strength threshold (specified strength), and so on; Condition 2 is that the sliding direction is close enough to the route direction of the first virtual route on the map, for example, the angle between the drag direction vector and the first virtual route is less than a certain angle such as 10°.
[0068] In the disclosed embodiment, by determining whether the player's sliding information such as the sliding speed, sliding distance, number of sliding, and sliding pressure strength of the game scene map meets the preset trigger conditions, it is possible to determine whether the player's intention to view a certain virtual route prompt information has reached a certain level of demand. The matching process of the sliding information and the local route is started only when the player's intention has reached a certain level of demand, thereby avoiding unnecessary route matching processes and improving information processing efficiency.
[0069] In some embodiments, by comparing the sliding direction in the sliding information with the angle between each local route, a first virtual route matching the sliding information is more accurately matched, so that the player's intention to view the route is more accurately determined. As an example, in response to the sliding information satisfying the preset trigger condition, obtaining the first virtual route matching the sliding information may specifically include the following steps:
[0070] In response to the sliding information satisfying a preset trigger condition, the sliding direction in the sliding information is compared with the angle between the local route of at least one virtual route to obtain a comparison result; and a first virtual route matching the sliding information is determined according to the comparison result.
[0071] As an optional implementation, when the sliding information meets a preset trigger condition, indicating that the player's intention to view a virtual route prompt information reaches a certain level of demand, the sliding direction in the sliding information is compared with the angle between the local routes of multiple virtual routes, and then the first virtual route matching the sliding information is determined from these virtual routes according to the size of the above angle corresponding to each virtual route. For example, the virtual route corresponding to the target angle in the comparison result that is less than a preset angle threshold (such as 10°) is determined as the first virtual route matching the sliding information.
[0072] In the disclosed embodiment, not only is it determined whether the sliding speed, sliding distance, etc. in the sliding information meet the preset trigger conditions, but also the sliding direction in the sliding information is compared with the angles between the local routes, so as to more accurately match the first virtual route that matches the sliding information, thereby making the determination result of the player's intention to view the route more accurate.
[0073] In some embodiments, based on the comparison result between the sliding direction and the angle between each local route, the first virtual route matching the sliding information can be determined in a variety of ways, making the route matching method more comprehensive and flexible.
[0074] As an example, the above-mentioned determining the first virtual route matching the sliding information based on the comparison result may specifically include the following steps: if in the comparison result, the angles corresponding to multiple local routes are smaller than a preset angle threshold, then the virtual route corresponding to the local route with the smallest angle is determined as the first virtual route matching the sliding information; if in the comparison result, the angle corresponding to a local route is smaller than the preset angle threshold, then the virtual route corresponding to the local route with an angle smaller than the preset angle threshold is determined as the first virtual route matching the sliding information.
[0075] Exemplarily, if the angles corresponding to multiple local routes are less than a preset angle threshold, for example, the angles corresponding to three local routes are all less than 10° (the preset angle threshold), the virtual route corresponding to the local route with the smallest angle among the three local routes can be selected as the first virtual route matching the sliding information.
[0076] In the disclosed embodiment, by confirming the virtual route corresponding to the smallest angle among multiple angles smaller than a preset angle threshold as the first virtual route matching the sliding information, the determination result of the player's only selection intention to view the route is made more accurate.
[0077] As another example, the above-mentioned determining the first virtual route that matches the sliding information based on the comparison result may specifically include the following steps: if the angles corresponding to all local routes in the comparison result are greater than or equal to a preset angle threshold, a message prompting that no route is matched is displayed in the graphical user interface, or the virtual route corresponding to the local route with the smallest angle is determined as the first virtual route that matches the sliding information.
[0078] For example, if there is no angle less than a preset angle threshold among all local routes, that is, the corresponding angles of all local routes are greater than or equal to the preset angle threshold (such as 10°), the virtual route corresponding to the local route with the smallest angle can be selected from these local routes as the first virtual route matching the sliding information.
[0079] In the disclosed embodiment, when all angles are not less than a preset angle threshold, the virtual route corresponding to the minimum angle is confirmed as the first virtual route matching the sliding information, so that the player's selection intention to view the route can be determined more accurately and efficiently, avoiding route matching failures due to player operation errors, and improving the route matching success rate and accuracy.
[0080] In some embodiments, the displayed content of the prompt information may be information related to a route that is close to the end point of the route corresponding to the sliding direction and has not yet been displayed, so as to prompt the information of the route that has not yet been displayed in advance according to the direction selected by the player's sliding, thereby improving the player's gaming experience. As an example, the prompt information of the first virtual route is displayed in the graphical user interface in the above step S420, which may specifically include the following steps:
[0081] The prompt information of a part of the route on the first virtual route is displayed in the graphical user interface; wherein the part of the route is other routes other than the above-mentioned local route and close to the route endpoint side corresponding to the sliding direction in the sliding information.
[0082] In practical applications, the route endpoint side corresponding to the sliding direction may be the route starting point side or the route end point side, for example, Figure 6 As shown, by sliding the game scene map to move toward the end of route indicated by the arrow of route B, the prompt information is displayed as the game event "the first character is attacking the second character" occurring at the end of the route.
[0083] In the disclosed embodiment, the prompt content of the prompt information may be information of a route that is close to the endpoint of the route corresponding to the sliding direction and has not yet been displayed, thereby realizing the prompting of information of the route that has not yet been displayed in advance according to the direction selected by the player's sliding, so as to improve the player's gaming experience.
[0084] In some embodiments, the display position of the prompt information can be a position in the graphical user interface close to the route endpoint side corresponding to the sliding direction, thereby more efficiently prompting the player with the location where the game event corresponding to the prompt information occurs, so as to improve the display efficiency of the prompt information. As an example, the above-mentioned prompt information of a portion of the route on the first virtual route is displayed in the graphical user interface, which can specifically include the following steps: displaying the prompt information of the portion of the route at one end of the first virtual route in the graphical user interface close to the route endpoint side corresponding to the sliding direction.
[0085] In actual applications, the prompt information can be displayed near the end of the virtual route or near the starting point of the virtual route, which may depend on the sliding direction of the sliding operation performed by the player. If the player drags the game scene map through the sliding operation to move the display direction toward the end of the route, the prompt information can be displayed in the graphical user interface near the end of the route; if the player drags the game scene map through the sliding operation to move the display direction toward the starting point of the route, the prompt information can be displayed in the graphical user interface near the starting point of the route.
[0086] For example, Figure 7 As shown, by sliding the game scene map to move toward the end of route C indicated by the arrow, the prompt information "The third character is occupying XX land" is also displayed at a position close to the end of route C.
[0087] In the disclosed embodiment, the display position of the prompt information can be a position in the graphical user interface close to the end point of the route corresponding to the sliding direction, thereby more efficiently prompting the player with the location where the game event corresponding to the prompt information occurs, thereby improving the display efficiency of the prompt information.
[0088] In some embodiments, when the player stops the sliding operation, the game scene map displayed in the graphical user interface can be restored to the position before the sliding operation. As an example, the method can also include the following steps: in response to the end of the sliding operation, controlling the game scene map to restore to the position before the movement.
[0089] For example, when a player performs a sliding operation on the game scene map, the game scene map is controlled to move according to the sliding information of the sliding operation. After that, if the player lifts his finger, that is, the finger performing the sliding operation no longer touches the graphical user interface, the game scene map is controlled to return to the position before the movement. In this way, the player can control the movement of the game scene map more flexibly and conveniently.
[0090] In some embodiments, when the player stops the sliding operation, the prompt information of the first virtual route may continue to be displayed, or the prompt information of the first virtual route may no longer be displayed, so that the display of the prompt information is more flexible.
[0091] As an example, when the player stops the sliding operation, the prompt information of the first virtual route can continue to be displayed, thereby preventing the player from missing the opportunity to observe the prompt information due to the movement of the game scene map. Exemplarily, when the game scene map is restored to the position before the movement, the prompt information is kept displayed in the graphical user interface.
[0092] For example, when the finger of the player performing the sliding operation no longer touches the graphical user interface, the game scene map can be restored to the position before the movement, and the prompt information of the first virtual route can continue to be displayed in the graphical user interface. In this way, it can be avoided that the player misses the long-term observation of the prompt information due to the movement of the game scene map.
[0093] As another example, when the player stops the sliding operation or the sliding direction deviates from the route direction, the prompt information of the first virtual route may no longer be displayed, thereby avoiding unnecessary obstruction of the game scene map by the prompt information.
[0094] Exemplarily, after displaying the prompt information of the first virtual route in the graphical user interface in response to the sliding information matching the route information of the first virtual route, the method may further include the following steps: in response to the end of the sliding operation, or the sliding information does not match the route information of the first virtual route, canceling the display of the prompt information of the first virtual route in the graphical user interface.
[0095] As an optional implementation, when the player stops the sliding operation, that is, when he is no longer dragging the game scene map, or when the sliding direction of the sliding operation deviates from the route direction of the first virtual route, the prompt information of the first virtual route may no longer be displayed in the graphical user interface to avoid unnecessary obstruction of the game scene map by the prompt information and affecting the player's observation of the game scene map.
[0096] Figure 8 A schematic diagram of the structure of an information processing device in a game is provided. A graphical user interface is provided through a terminal device. Figure 8 As shown, the information processing device 800 in the game includes:
[0097] A first display module 801 is used to display at least a portion of a game scene map through the graphical user interface, wherein the game scene map includes a partial route of at least one virtual route, wherein the virtual route is used to represent a travel route of a virtual unit;
[0098] A determination module 802, configured to determine sliding information of the sliding operation in response to the sliding operation on the game scene map;
[0099] The second display module 803 is used to control the movement of the game scene map according to the sliding information, and in response to the sliding information matching the route information of the first virtual route, display the prompt information of the first virtual route in the graphical user interface; wherein the first virtual route is one of the at least one virtual route.
[0100] Through the above method, through the matching process between the sliding information of the player sliding the map and the route information of the virtual route in the map, the virtual route that the player actually wants to view can be determined, so that the prompt information of the route that the player wants to view but has not yet been displayed in the interface is displayed in advance, thereby reducing the player's repeated sliding map operations, improving the convenience of players viewing virtual route information, and alleviating the technical problem of low convenience in viewing virtual route information.
[0101] In a feasible implementation manner, the device further includes: a control module, configured to control the game scene map to be restored to the position before the movement in response to the end of the sliding operation.
[0102] In a feasible implementation manner, during the process of restoring the game scene map to the position before the movement, the prompt information is kept displayed in the graphical user interface.
[0103] In a feasible embodiment, the device also includes: an acquisition module, which is used to acquire a first virtual route matching the sliding information in response to the sliding information satisfying a preset trigger condition after the game scene map is controlled to move according to the sliding information; wherein the trigger condition includes any one or more of the following: the sliding distance in the sliding information is greater than a specified distance, the sliding speed in the sliding information is greater than a specified speed, the number of sliding times in the sliding information is greater than a specified number, and the sliding pressing strength in the sliding information is greater than a specified strength.
[0104] In a feasible implementation scheme, the acquisition module is specifically used to: in response to the sliding information satisfying a preset trigger condition, compare the sliding direction in the sliding information with the angle between the local routes of the at least one virtual route to obtain a comparison result; and determine the first virtual route matching the sliding information based on the comparison result.
[0105] In a feasible implementation scheme, the acquisition module is also used for: if the angles corresponding to multiple local routes in the comparison results are smaller than a preset angle threshold, then the virtual route corresponding to the local route with the smallest angle is determined as the first virtual route matching the sliding information; if the angle corresponding to one local route in the comparison results is smaller than the preset angle threshold, then the virtual route corresponding to the local route with the angle smaller than the preset angle threshold is determined as the first virtual route matching the sliding information.
[0106] In a feasible implementation scheme, the acquisition module is also used for: if the angles corresponding to all the local routes in the comparison result are greater than or equal to the preset angle threshold, then displaying information in the graphical user interface indicating that no route is matched, or determining the virtual route corresponding to the local route with the smallest angle as the first virtual route that matches the sliding information.
[0107] In a feasible implementation manner, the prompt information includes any one or more of the following: thumbnail information of the first virtual route, information of game events, and route changes.
[0108] In a feasible implementation scheme, the display module is specifically used to: display prompt information of a portion of the route on the first virtual route in the graphical user interface; wherein the portion of the route is other routes other than the local route and close to the route endpoint side corresponding to the sliding direction in the sliding information.
[0109] In a feasible implementation manner, the display module is further used to: display prompt information of the partial route at one end of the first virtual route in the graphical user interface close to the route endpoint side corresponding to the sliding direction.
[0110] In a feasible embodiment, the display module is also used to: control the virtual camera of the game to move based on the sliding information, so that the game scene map displayed in the graphical user interface moves with the movement of the virtual camera; wherein the virtual camera is used to capture at least part of the game scene map.
[0111] In a feasible embodiment, the device also includes: a cancellation module, which is used to cancel the display of the prompt information of the first virtual route in the graphical user interface in response to the end of the sliding operation or the failure of the sliding information to match the route information of the first virtual route, after the prompt information of the first virtual route is displayed in the graphical user interface in response to the sliding information matching the route information of the first virtual route.
[0112] The information processing device in the game provided by the embodiment of the present disclosure has the same technical features as the information processing method in the game provided by the above-mentioned embodiment, so it can also solve the same technical problems and achieve the same technical effects.
[0113] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure is shown, including: a memory 901, a processor 902 and a bus 903, wherein the memory 901 stores machine-readable instructions executable by the processor 902, and when the electronic device runs an information processing method in a game in the embodiment, the processor 902 communicates with the memory 901 through the bus 903, and the processor 902 executes the machine-readable instructions, and the processor 902 executes the preamble of the method item to perform the following steps:
[0114] Displaying at least a portion of a game scene map through the graphical user interface, wherein the game scene map includes a partial route of at least one virtual route, wherein the virtual route is used to represent a travel route of a virtual unit;
[0115] In response to a sliding operation on the game scene map, determining sliding information of the sliding operation;
[0116] The game scene map is controlled to move according to the sliding information, and in response to the sliding information matching the route information of the first virtual route, prompt information of the first virtual route is displayed in the graphical user interface; wherein the first virtual route is one of the at least one virtual route.
[0117] In a feasible implementation manner, the processor is further used to: in response to the end of the sliding operation, control the game scene map to restore to the position before the movement.
[0118] In a feasible implementation manner, during the process of restoring the game scene map to the position before the movement, the prompt information is kept displayed in the graphical user interface.
[0119] In a feasible implementation manner, after controlling the game scene map to move according to the sliding information, the processor is further used to: in response to the sliding information satisfying a preset trigger condition, obtain a first virtual route matching the sliding information; wherein the trigger condition includes any one or more of the following: the sliding distance in the sliding information is greater than a specified distance, the sliding speed in the sliding information is greater than a specified speed, the number of sliding times in the sliding information is greater than a specified number, and the sliding pressing strength in the sliding information is greater than a specified strength.
[0120] In a feasible implementation scheme, when the processor executes the step of obtaining a first virtual route matching the sliding information in response to the sliding information satisfying a preset trigger condition, the processor is specifically used to: in response to the sliding information satisfying a preset trigger condition, compare the sliding direction in the sliding information with the angle between the local routes of the at least one virtual route to obtain a comparison result; and determine the first virtual route matching the sliding information based on the comparison result.
[0121] In a feasible implementation manner, when the processor determines the first virtual route matching the sliding information according to the comparison result, the processor is specifically configured to:
[0122] If the angles corresponding to multiple local routes in the comparison result are smaller than a preset angle threshold, determining the virtual route corresponding to the local route with the smallest angle as the first virtual route matching the sliding information;
[0123] If the angle corresponding to one of the local routes in the comparison result is smaller than the preset angle threshold, the virtual route corresponding to the local route having the angle smaller than the preset angle threshold is determined as the first virtual route matching the sliding information.
[0124] In a feasible implementation scheme, when the processor determines the first virtual route that matches the sliding information based on the comparison result, it is specifically used to: if the angles corresponding to all the local routes in the comparison result are greater than or equal to the preset angle threshold, then display a message in the graphical user interface indicating that no route is matched, or, determine the virtual route corresponding to the local route with the smallest angle as the first virtual route that matches the sliding information.
[0125] In a feasible implementation manner, the prompt information includes any one or more of the following: thumbnail information of the first virtual route, information of game events, and route changes.
[0126] In a feasible implementation, when the processor executes the operation of displaying the prompt information of the first virtual route in the graphical user interface, it is specifically used to: display the prompt information of a portion of the route on the first virtual route in the graphical user interface; wherein the portion of the route is other routes other than the local route and close to the route endpoint side corresponding to the sliding direction in the sliding information.
[0127] In a feasible implementation manner, when the processor is executing the process of displaying prompt information of a portion of the route on the first virtual route in the graphical user interface, the processor is specifically configured to:
[0128] The prompt information of the partial route is displayed at one end of the first virtual route close to the route endpoint corresponding to the sliding direction in the graphical user interface.
[0129] In a feasible implementation manner, when the processor controls the game scene map to move according to the sliding information, it is specifically used to:
[0130] The virtual camera of the game is controlled to move based on the sliding information, so that the game scene map displayed in the graphical user interface moves with the movement of the virtual camera; wherein the virtual camera is used to capture at least part of the game scene map.
[0131] In a feasible implementation manner, in response to the sliding information matching the route information of the first virtual route, after displaying the prompt information of the first virtual route in the graphical user interface, the processor is further configured to:
[0132] In response to the end of the sliding operation, or the sliding information does not match the route information of the first virtual route, the prompt information of the first virtual route is cancelled in the graphical user interface.
[0133] Through the above method, through the matching process between the sliding information of the player sliding the map and the route information of the virtual route in the map, the virtual route that the player actually wants to view can be determined, so that the prompt information of the route that the player wants to view but has not yet been displayed in the interface is displayed in advance, thereby reducing the player's repeated sliding map operations, improving the convenience of players viewing virtual route information, and alleviating the technical problem of low convenience in viewing virtual route information.
[0134] In practical applications, the memory 901 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 904 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0135] The bus 903 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0136] Among them, the memory 901 is used to store programs, and the processor 902 executes the program after receiving the execution instruction. The method executed by the device defined by the process disclosed in any embodiment of the present disclosure can be applied to the processor 902 or implemented by the processor 902.
[0137] The processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 902. The above processor 902 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 901, and the processor 902 reads the information in the memory 901 and completes the steps of the above method in combination with its hardware.
[0138] The present disclosure also provides a computer-readable storage medium, on which a computer program is stored. The computer program is executed when a processor is running, and the processor performs the following steps:
[0139] Displaying at least a portion of a game scene map through the graphical user interface, wherein the game scene map includes a partial route of at least one virtual route, wherein the virtual route is used to represent a travel route of a virtual unit;
[0140] In response to a sliding operation on the game scene map, determining sliding information of the sliding operation;
[0141] The game scene map is controlled to move according to the sliding information, and in response to the sliding information matching the route information of the first virtual route, prompt information of the first virtual route is displayed in the graphical user interface; wherein the first virtual route is one of the at least one virtual route.
[0142] In a feasible implementation manner, the processor is further used to: in response to the end of the sliding operation, control the game scene map to restore to the position before the movement.
[0143] In a feasible implementation manner, during the process of restoring the game scene map to the position before the movement, the prompt information is kept displayed in the graphical user interface.
[0144] In a feasible implementation manner, after controlling the game scene map to move according to the sliding information, the processor is further used to: in response to the sliding information satisfying a preset trigger condition, obtain a first virtual route matching the sliding information; wherein the trigger condition includes any one or more of the following: the sliding distance in the sliding information is greater than a specified distance, the sliding speed in the sliding information is greater than a specified speed, the number of sliding times in the sliding information is greater than a specified number, and the sliding pressing strength in the sliding information is greater than a specified strength.
[0145] In a feasible implementation scheme, when the processor executes the step of obtaining a first virtual route matching the sliding information in response to the sliding information satisfying a preset trigger condition, the processor is specifically used to: in response to the sliding information satisfying a preset trigger condition, compare the sliding direction in the sliding information with the angle between the local routes of the at least one virtual route to obtain a comparison result; and determine the first virtual route matching the sliding information based on the comparison result.
[0146] In a feasible implementation manner, when the processor determines the first virtual route matching the sliding information according to the comparison result, the processor is specifically configured to:
[0147] If the angles corresponding to multiple local routes in the comparison result are smaller than a preset angle threshold, determining the virtual route corresponding to the local route with the smallest angle as the first virtual route matching the sliding information;
[0148] If the angle corresponding to one of the local routes in the comparison result is smaller than the preset angle threshold, the virtual route corresponding to the local route having the angle smaller than the preset angle threshold is determined as the first virtual route matching the sliding information.
[0149] In a feasible implementation scheme, when the processor determines the first virtual route that matches the sliding information based on the comparison result, it is specifically used to: if the angles corresponding to all the local routes in the comparison result are greater than or equal to the preset angle threshold, then display a message in the graphical user interface indicating that no route is matched, or, determine the virtual route corresponding to the local route with the smallest angle as the first virtual route that matches the sliding information.
[0150] In a feasible implementation manner, the prompt information includes any one or more of the following: thumbnail information of the first virtual route, information of game events, and route changes.
[0151] In a feasible implementation, when the processor executes the operation of displaying the prompt information of the first virtual route in the graphical user interface, it is specifically used to: display the prompt information of a portion of the route on the first virtual route in the graphical user interface; wherein the portion of the route is other routes other than the local route and close to the route endpoint side corresponding to the sliding direction in the sliding information.
[0152] In a feasible implementation manner, when the processor is executing the process of displaying prompt information of a portion of the route on the first virtual route in the graphical user interface, the processor is specifically configured to:
[0153] The prompt information of the partial route is displayed at one end of the first virtual route close to the route endpoint corresponding to the sliding direction in the graphical user interface.
[0154] In a feasible implementation manner, when the processor controls the game scene map to move according to the sliding information, it is specifically used to:
[0155] The virtual camera of the game is controlled to move based on the sliding information, so that the game scene map displayed in the graphical user interface moves with the movement of the virtual camera; wherein the virtual camera is used to capture at least part of the game scene map.
[0156] In a feasible implementation manner, in response to the sliding information matching the route information of the first virtual route, after displaying the prompt information of the first virtual route in the graphical user interface, the processor is further configured to:
[0157] In response to the end of the sliding operation, or the sliding information does not match the route information of the first virtual route, the prompt information of the first virtual route is cancelled in the graphical user interface.
[0158] Through the above method, through the matching process between the sliding information of the player sliding the map and the route information of the virtual route in the map, the virtual route that the player actually wants to view can be determined, so that the prompt information of the route that the player wants to view but has not yet been displayed in the interface is displayed in advance, thereby reducing the player's repeated sliding map operations, improving the convenience of players viewing virtual route information, and alleviating the technical problem of low convenience in viewing virtual route information.
[0159] In the embodiments of the present disclosure, the computer program can also execute other machine-readable instructions when run by the processor to execute other methods described in the embodiments. For the specific execution method steps and principles, please refer to the description of the embodiments, which will not be repeated here.
[0160] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0161] For another example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0162] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0163] In addition, each functional unit in the embodiments provided in the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0164] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the information processing method in the game described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0165] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0166] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present disclosure. They should all be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be based on the protection scope of the claims.
Claims
1. A method for processing information in a game, It is characterized in that Providing a graphical user interface through a terminal device, the method comprising: Displaying at least a portion of a game scene map through the graphical user interface, wherein the game scene map includes a partial route of at least one virtual route, wherein the virtual route is used to represent a travel route of a virtual unit; In response to a sliding operation on the game scene map, determining sliding information of the sliding operation; The game scene map is controlled to move according to the sliding information, and in response to the sliding information matching the route information of the first virtual route, prompt information of the first virtual route is displayed in the graphical user interface; wherein the first virtual route is one of the at least one virtual route.
2. The method according to claim 1, It is characterized in that The method further comprises: In response to the end of the sliding operation, the game scene map is controlled to be restored to the position before the movement.
3. The method according to claim 2, It is characterized in that During the process of restoring the game scene map to the position before the movement, the prompt information is kept displayed in the graphical user interface.
4. The method according to claim 1, It is characterized in that After controlling the game scene map to move according to the sliding information, the method further includes: In response to the sliding information satisfying a preset trigger condition, a first virtual route matching the sliding information is obtained; wherein the trigger condition includes any one or more of the following: a sliding distance in the sliding information is greater than a specified distance, a sliding speed in the sliding information is greater than a specified speed, a sliding number in the sliding information is greater than a specified number, and a sliding pressing strength in the sliding information is greater than a specified strength.
5. The method according to claim 4, It is characterized in that In response to the sliding information satisfying a preset trigger condition, acquiring a first virtual route matching the sliding information includes: In response to the sliding information satisfying a preset trigger condition, comparing the sliding direction in the sliding information with an angle between the local route of the at least one virtual route to obtain a comparison result; A first virtual route matching the sliding information is determined according to the comparison result.
6. The method according to claim 5, It is characterized in that The determining, according to the comparison result, a first virtual route matching the sliding information comprises: If the angles corresponding to multiple local routes in the comparison result are smaller than a preset angle threshold, determining the virtual route corresponding to the local route with the smallest angle as the first virtual route matching the sliding information; If the angle corresponding to one of the local routes in the comparison result is smaller than the preset angle threshold, the virtual route corresponding to the local route having the angle smaller than the preset angle threshold is determined as the first virtual route matching the sliding information.
7. The method according to claim 6, It is characterized in that The determining, according to the comparison result, a first virtual route matching the sliding information comprises: If the angles corresponding to all the local routes in the comparison result are greater than or equal to the preset angle threshold, information indicating that no route is matched is displayed in the graphical user interface, or the virtual route corresponding to the local route with the smallest angle is determined as the first virtual route matching the sliding information.
8. The method according to claim 1, It is characterized in that The prompt information includes any one or more of the following: Thumbnail information of the first virtual route, information of game events, and route changes.
9. The method according to claim 1, It is characterized in that Displaying prompt information of the first virtual route in the graphical user interface includes: Displaying prompt information of a portion of the route on the first virtual route in the graphical user interface; wherein the portion of the route is other routes other than the local route and close to the route endpoint side corresponding to the sliding direction in the sliding information.
10. The method according to claim 9, It is characterized in that The displaying, in the graphical user interface, prompt information of a portion of the route on the first virtual route comprises: The prompt information of the partial route is displayed at one end of the first virtual route close to the route endpoint corresponding to the sliding direction in the graphical user interface.
11. The method according to claim 1, It is characterized in that Controlling the game scene map to move according to the sliding information includes: The virtual camera of the game is controlled to move based on the sliding information, so that the game scene map displayed in the graphical user interface moves with the movement of the virtual camera; wherein the virtual camera is used to capture at least part of the game scene map.
12. The method according to claim 1, It is characterized in that After displaying prompt information of the first virtual route in the graphical user interface in response to the sliding information matching the route information of the first virtual route, the method further includes: In response to the end of the sliding operation, or the sliding information does not match the route information of the first virtual route, the prompt information of the first virtual route is cancelled in the graphical user interface.
13. An information processing device in a game, It is characterized in that Providing a graphical user interface through a terminal device, the device comprises: A first display module, configured to display at least a portion of a game scene map through the graphical user interface, wherein the game scene map includes a partial route of at least one virtual route, wherein the virtual route is used to represent a travel route of a virtual unit; A determination module, configured to determine sliding information of the sliding operation in response to a sliding operation on the game scene map; A second display module is used to control the movement of the game scene map according to the sliding information, and in response to the sliding information matching the route information of the first virtual route, display the prompt information of the first virtual route in the graphical user interface; wherein the first virtual route is one of the at least one virtual route.
14. An electronic terminal comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 12 are implemented.
15. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method according to any one of claims 1 to 12.
