Game display method and device, electronic equipment and storage medium
By displaying the switching logo in the game's graphical user interface and automatically moving the game map, the problem of inconvenient switching of map areas in the prior art is solved, and a more efficient user experience is achieved.
Patent Information
- Application Number
- CN202510397918.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2025-05-23
AI Technical Summary
It is difficult for existing gaming technology to quickly and easily switch to display different map areas, affecting the user experience.
By displaying the switching logo in the graphical user interface and responding to the triggering operation of the logo, the game map is automatically moved to make the specified map area fall into the interface, thereby achieving quick switching.
It improves the convenience of switching display between different map areas, reduces the cumbersomeness of user operations, and improves the user experience.
Smart Images

Figure CN120022599A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular to a game display method, device, electronic device and storage medium. Background Art
[0002] Under the wave of the Internet, the continuous development and evolution of hardware and software technologies have promoted the emergence of smart devices and software. At the same time, a large number of games of different themes have emerged to meet the needs of users. With the vigorous development of various technologies in the game industry, people pay more attention to the game experience.
[0003] At present, the virtual scenes provided by the game are relatively large, and only part of the map can be provided on the graphical user interface. If the user wants to view other map areas that are not displayed by the graphical user interface, it is necessary to perform cumbersome operations to control the movement of the map in the graphical user interface so as to display other areas of the map in the graphical user interface. As a result, the user experience is affected due to the low convenience of switching between different map areas. Summary of the invention
[0004] The embodiments of the present application provide a game display method, device, electronic device and storage medium, which can improve the convenience of switching displays between different map areas to enhance the user experience.
[0005] In a first aspect, an embodiment of the present application provides a method for displaying a game, providing a graphical user interface through a terminal device, the method comprising:
[0006] Displaying at least a portion of a game map through the graphical user interface, wherein the game map includes a plurality of map areas;
[0007] In response to a drag operation on the game map, controlling the game map to move so as to update a partial area displayed in the graphical user interface;
[0008] In response to the partial area currently displayed by the graphical user interface satisfying a preset map area switching condition, displaying a first switching mark corresponding to the first map area in the graphical user interface;
[0009] In response to a trigger operation for the first switching mark, the game map is controlled to move automatically so that the first designated position of the first map area falls into the graphical user interface.
[0010] In a second aspect, an embodiment of the present application provides a game display device, which provides a graphical user interface through a terminal device, and the above-mentioned device includes:
[0011] A map display module, used to display at least a part of the game map through the graphical user interface, wherein the game map includes a plurality of map areas;
[0012] An area update module, for controlling the game map to move in response to a drag operation on the game map, so as to update a partial area displayed in the graphical user interface;
[0013] an identification display module, configured to display a first switching identification corresponding to a first map area in the graphical user interface in response to a partial area currently displayed in the graphical user interface satisfying a preset map area switching condition;
[0014] The movement control module is used to respond to the trigger operation for the above-mentioned first switching mark, and control the above-mentioned game map to move automatically so that the first designated position of the above-mentioned first map area falls into the above-mentioned graphical user interface.
[0015] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory storing a plurality of instructions; a processor loads instructions from the memory to execute the steps of any game display method provided in the embodiment of the present application.
[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the steps of any game display method provided in the embodiment of the present application.
[0017] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps in the display method of any game provided in the embodiment of the present application.
[0018] By adopting the scheme of the embodiment of the present application, at least a partial area of a game map can be displayed through a graphical user interface, and the game map includes multiple map areas. In response to a drag operation on the above-mentioned game map, the above-mentioned game map is controlled to move to update the partial area displayed in the above-mentioned graphical user interface. In response to the partial area currently displayed by the above-mentioned graphical user interface satisfying the preset map area switching condition, a first switching mark corresponding to the first map area is displayed in the above-mentioned graphical user interface. In response to a triggering operation on the above-mentioned first switching mark, the above-mentioned game map is controlled to move automatically so that the first designated position of the above-mentioned first map area falls into the above-mentioned graphical user interface, thereby realizing automatic movement of the game map through the first switching mark, so as to quickly display the first map area, avoid the low convenience caused by cumbersome operations on the map to switch to display different map areas, improve the convenience of switching displays between different map areas, and thus improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 It is a schematic diagram of an embodiment of a method for displaying a game provided in an embodiment of the present application;
[0021] Figure 2 is a schematic diagram of a game map provided in an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of a first switching identifier provided in an embodiment of the present application;
[0023] Figure 4 It is a schematic diagram of a decision point provided in an embodiment of the present application;
[0024] Figure 5 is another decision point schematic diagram provided in the embodiment of the present application;
[0025] Figure 6 is another decision point schematic diagram provided in the embodiment of the present application;
[0026] Figure 7 is a schematic diagram of a list of identifiers provided in an embodiment of the present application;
[0027] Figure 8 is a schematic diagram of a second switching mark provided in an embodiment of the present application;
[0028] Fig. 9 is another schematic diagram of a second switching mark provided in an embodiment of the present application;
[0029] Fig.10 is a schematic diagram of a switching function control provided in an embodiment of the present application;
[0030] Fig.11 This is a schematic diagram of identification prompt information provided in an embodiment of the present application;
[0031] Fig.12 This is another schematic diagram of identification prompt information provided in an embodiment of the present application;
[0032] Fig.13 is a schematic diagram of the structure of a display device for a game provided in an embodiment of the present application;
[0033] Fig.14It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0035] Before explaining the embodiments of the present application in detail, some terms involved in the embodiments of the present application are first explained.
[0036] Among them, the graphical user interface is obtained by executing a software application on a processor of a mobile terminal or other terminal and rendering it on a display, which can be a display screen interface of a terminal device. The graphical user interface may include a UI interface and a game screen for players to interact with. The UI interface may include game controls (such as skill controls, mobile controls, function controls, etc.), indicator signs (such as direction indicator signs, role indicator signs, etc.), information display areas (such as the number of kills, game time, etc.), or game setting controls (such as system settings, stores, gold coins, etc.). In an optional embodiment, the game screen is a display screen corresponding to the virtual scene displayed by the terminal device. The game screen presents the entire virtual scene, or only presents a part of the virtual scene when the virtual scene is relatively large. The virtual scene includes multiple static virtual objects, specifically including ground, mountain, stone, vegetation, buildings, etc., and also includes multiple dynamic virtual objects, such as virtual characters, NPC characters, AI characters and other virtual objects that execute game logic in the virtual scene.
[0037] In an optional implementation, the game screen is a display screen corresponding to a virtual scene displayed by a terminal device, and the game screen may include virtual objects such as game characters, NPC characters, AI characters, etc. that execute game logic in the virtual scene.
[0038] Among them, the virtual character can refer to a dynamic object that can be controlled in a virtual scene, for example, the virtual character can be a virtual person, a virtual animal, a cartoon character, etc. For example, the virtual character can also be a virtual image in the virtual scene that is used to represent the user. It should be noted that the virtual scene can include at least one virtual character, each virtual character has its own shape and volume in the virtual scene, and occupies a part of the space in the virtual scene.
[0039] In one possible implementation, the user can control the virtual character to move in the virtual scene, for example, control the virtual character to run, jump, crawl, etc., and can also control the virtual character to fight with other virtual characters using skills, virtual props, etc. provided by the application.
[0040] In this embodiment, the virtual character may be a virtual character controlled by a user through operations on a client. In some embodiments, the virtual character may be a virtual person competing in a virtual scene. In some embodiments, the number of virtual characters participating in the interaction in the virtual scene may be preset or dynamically determined according to the number of clients joining the interaction.
[0041] Embodiments of the present application provide a game display method, device, electronic device, and computer-readable storage medium.
[0042] Specifically, this embodiment will be described from the perspective of a game display device, which can be integrated into an electronic device, that is, the game display method of the embodiment of the present application can be executed by an electronic device, and optionally, the electronic device can include: a terminal device. The terminal device can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a game console, or a personal computer (PC) and other devices.
[0043] The game display method provided in the embodiment of the present application can be applied to a game display system. The game display system may include a player terminal device and a server, and the terminal may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. The player terminal device and the server may perform two-way communication via a network.
[0044] Optionally, the server may be an independent server, or a server network or server cluster composed of servers, including but not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.
[0045] In one embodiment of the present disclosure, the game display method can be run on a local terminal device or a server. When the game interaction method 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.
[0046] 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 interactive methods 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.
[0047] 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.
[0048] The following is a detailed description in conjunction with the accompanying drawings. In this embodiment, the execution subject is a terminal device as an example. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings.
[0049] The game display method of this embodiment can improve the convenience of switching displays between different map areas to enhance the user experience.
[0050] Please refer to Figure 1Taking a terminal as an example, this embodiment provides a method for displaying a game. The method provides a graphical user interface through a terminal device. The specific process of the method for displaying the game may be as follows: Steps 101 to 104, wherein:
[0051] Step 101: display at least a partial area of a game map through the graphical user interface, wherein the game map includes a plurality of map areas.
[0052] It is understandable that at least part of the area of the game map displayed on the above-mentioned graphical user interface may be at least one complete map area or part of at least one map area, and in the game map, the area blocks corresponding to different map areas may be connected or not connected. For example, if there is water between two map areas, it is considered that the two map areas are not connected. For another example, in the big world online game, the game map is opened in stages, so it is often the case that the currently open map area and the historically opened map area are far apart, that is, the map area between the currently open map area and the historically opened map area has not been opened, and it is considered that the currently open map area and the historically opened map area are not connected. For another example, according to the game mechanism, each area in the game map requires the player to complete certain tasks before it can be unlocked. Therefore, if the map area before two unlocked map areas has not been unlocked by the player, it is considered that the two map areas are not connected.
[0053] For example, Figure 2 As shown, Figure 2 The game map provided includes three map areas, namely Area A, Area B and Area C. Figure 2 Range A is used to indicate the range of at least a portion of the area of the game map displayed through the graphical user interface, that is, the partial area displayed on the graphical user interface is the area within range A, that is, the maximum display range of the screen.
[0054] Step 102: In response to a dragging operation on the game map, control the game map to move so as to update a partial area displayed in the graphical user interface.
[0055] In this embodiment, the player can drag a partial area of the game map displayed on the graphical user interface, so that the terminal device can receive the dragging operation performed by the player and respond to the dragging operation, and based on the dragging parameters indicated by the dragging operation, such as dragging direction, dragging distance or dragging speed, control the game map to move based on the dragging parameters, so that the virtual camera that shoots the game map shoots the content that needs to be displayed on the graphical user interface during the movement of the game map, thereby updating the partial area of the game map displayed in the graphical user interface based on the content captured by the virtual camera.
[0056] Optionally, since some map areas in the game map may be relatively large in area, the content displayed on the graphical user interface may only be a partial area of the game map.
[0057] Optionally, due to the long distance between some adjacent map areas, the content displayed on the graphical user interface may be a large blank area, for example, the entire area or 2 / 3 of the area on the graphical user interface is a water area.
[0058] Optionally, since some map areas in the game map are relatively small in area, the content displayed on the graphical user interface may be a complete map area.
[0059] Step 103: In response to a partial area currently displayed in the graphical user interface satisfying a preset map area switching condition, a first switching mark corresponding to the first map area is displayed in the graphical user interface.
[0060] The map switching condition is used to indicate the conditions that need to be met to control the graphical user interface to switch and display other maps. When the map switching condition is met, the corresponding first map area is the map area that can be currently switched.
[0061] Among them, one or more switching marks can be displayed on the graphical user interface, that is, when the partial area currently displayed by the graphical user interface can simultaneously meet multiple map area switching conditions, the switching marks corresponding to the different map area switching conditions that are met can be displayed on the graphical user interface.
[0062] The switching mark includes but is not limited to at least one information such as text, picture, avatar, icon, bubble, etc., which can be set according to needs and is not limited here.
[0063] It should be noted that the first map area may not exist in the partial area currently displayed by the above-mentioned graphical user interface, or only a partial area of the first map area may be displayed, for example, only a partial area of the first map area is displayed at the edge of the graphical user interface.
[0064] In this embodiment, by displaying the first switching mark corresponding to the first map area in the graphical user interface, when the conditions for quickly switching to other map areas are currently met, the player is provided with the switching mark of the map area that the player currently wants to go to, so as to provide the player with a portable operation channel.
[0065] For example, based on Figure 2 The provided game map includes examples of area A, area B and area C. The game map can be displayed on a terminal device to obtain the following: Figure 3 Specifically, at least part of the game scene and the small map can be displayed through the graphical user interface, and when the small map is clicked, the large map corresponding to the small map (i.e. Figure 3 corresponding graphical user interface). Figure 3 The graphical user interface shown displays partial areas of area A and area B, and when the partial area currently displayed in the above graphical user interface meets the preset map area switching condition, area C is determined to be the first map area, so that the mark A corresponding to area C is displayed in the graphical user interface, and the mark A is the first switching mark corresponding to area C.
[0066] In some embodiments, the method further includes: in response to the partial area currently displayed by the graphical user interface satisfying the preset map area switching condition, before displaying the first switching mark corresponding to the first map area in the graphical user interface, it is necessary to determine whether the partial area currently displayed by the graphical user interface satisfies the preset map area switching condition, so as to determine the subsequent execution steps based on the determination result, that is, if the partial area currently displayed by the graphical user interface satisfies the preset map area switching condition, it means that the player currently wants to go to other map areas, and then the first switching mark corresponding to the first map area needs to be displayed in the graphical user interface; and if the partial area currently displayed by the graphical user interface does not satisfy the partial area currently displayed by the graphical user interface, it means that the player currently does not want to go to other map areas, and the player is still focused on the partial area currently displayed by the graphical user interface, then there is no need to display the first switching mark corresponding to the first map area in the graphical user interface.
[0067] Optionally, the above-mentioned determination of whether the partial area currently displayed by the above-mentioned graphical user interface satisfies the preset map area switching condition may include: determining a determination point in the above-mentioned game map based on the map area currently displayed by the above-mentioned graphical user interface; obtaining a determination area corresponding to the above-mentioned determination point, wherein the above-mentioned determination point is located in the above-mentioned determination area, and the above-mentioned determination point is the point in the above-mentioned determination area closest to the map area to be switched; if the center of the above-mentioned graphical user interface is located in the above-mentioned determination area, then determining that the partial area currently displayed by the above-mentioned graphical user interface does not satisfy the preset map area switching condition. If the center of the above-mentioned graphical user interface is not located in the above-mentioned determination area, then determining that the partial area currently displayed by the above-mentioned graphical user interface satisfies the preset map area switching condition.
[0068] The above-mentioned determination point being located on the determination area means that the determination point is located on the edge of the determination area.
[0069] The determination point is a point between the map area currently displayed by the graphical user interface and the map area to be switched.
[0070] The above-mentioned determination area may be a rectangular area, a circular area, or an area of a preset shape, etc., which may be set according to the requirements and is not limited here.
[0071] For example, a rectangular box (eg, a minimum rectangular box, a rectangular box at a certain distance from the edge of the map area) is constructed based on the map area currently displayed in the graphical user interface, so that the rectangular area framed by the rectangular box is used as the determination area.
[0072] For example, determine the center point of the map area currently displayed in the graphical user interface, construct a circular area with the center point as the center, and the radius of the circular area can be determined according to the distance between the center point and the edge of the map area. For example, the maximum distance between the center point and the edge of the map area is used as the radius of the circular area.
[0073] It can be understood that by determining the judgment point based on the map area currently displayed by the graphical user interface, it is possible to clarify whether the player is still paying attention to the map area currently displayed by the graphical user interface based on the determined judgment point. Therefore, it is necessary to introduce the judgment area corresponding to the judgment point to judge whether the player is still paying attention to the map area currently displayed by the graphical user interface.
[0074] Among them, when the player focuses on the map area currently displayed by the graphical user interface, the area the player focuses on will occupy the main area of the graphical user interface, such as the central area of the graphical user interface. Therefore, it is possible to determine whether the player is still focusing on the map area currently displayed by the graphical user interface based on the relative position between the center of the graphical user interface and the judgment area.
[0075] Specifically, if the center of the above-mentioned graphical user interface is within the above-mentioned judgment area, it means that the player is still paying attention to the map area currently displayed by the graphical user interface; if the center of the above-mentioned graphical user interface is not within the above-mentioned judgment area, it means that the player is no longer paying attention to the map area currently displayed by the graphical user interface. Therefore, when the center of the interface is outside the specified range, the player's attention is moved from the map area to the blank area, which triggers the display switching mark to avoid interfering with the player.
[0076] For example, based on Figure 2 In the example of the game map provided, which includes area A, area B, and area C, the decision point can be determined around area A and area B currently displayed on the graphical user interface, and the corresponding decision point can be determined as a whole for area A and area B (i.e., area A and area B are regarded as a map area), or, as Figure 4 As shown, the corresponding decision point can also be determined around the area B closest to the area C. Figure 4 A1 in is the decision point, Figure 4 The area selected by the black line in the figure is the determination area, and A1 is located at the upper left corner of the determination area. Among them, area C is used as the map area to be switched.
[0077] Since the center of the graphical user interface is located Figure 4 Therefore, the player is still focusing on area B, that is, the partial area currently displayed by the above graphical user interface does not meet the preset map area switching conditions.
[0078] For example, based on Figure 2 In the example of the game map provided, which includes area A, area B, and area C, a decision point can be determined around area C currently displayed in the graphical user interface, such as Figure 5 As shown, the decision points and the decision areas corresponding to the decision points are determined around the area C. Figure 5 B1 in is the decision point, Figure 5 The area selected by the black line is the determination area, and B1 is located at the lower right corner of the determination area. Region A and region B are respectively regarded as a map area to be switched, or region A and region B are regarded as a whole, corresponding to a map area to be switched.
[0079] Since the center of the graphical user interface is located Figure 5 Therefore, the player is still focusing on area C, that is, the partial area currently displayed by the above graphical user interface does not meet the preset map area switching condition.
[0080] Further, based on Figure 4 The determination area in Figure 5 The judgment area in Figure 6 As shown, Figure 6 The center of the graphical user interface shown is not Figure 4 The judgment area in Figure 5 Therefore, the first switching mark corresponding to area C can be displayed in the upper left corner of the graphical user interface.
[0081] In addition, due to Figure 6 The graphical user interface shown shows a partial area of area B, indicating that the center of the current interface is close to area B and area A. The first switching mark of area B and / or area A may not be displayed, or the first switching mark of area B and / or area A may be displayed. The specific setting can be based on demand and is not limited here.
[0082] Optionally, the above-mentioned determination of whether the partial area currently displayed by the above-mentioned graphical user interface meets the preset map area switching condition may include: judging the distance between the center of the above-mentioned graphical user interface and the map area to be switched (for example, the center of the area, the area position closest to the center of the graphical user interface); if the distance is less than or equal to a preset threshold, it means that the user is currently paying more attention to the map area to be switched, and it is determined that the partial area currently displayed by the above-mentioned graphical user interface does not meet the preset map area switching condition.
[0083] In some embodiments, the above map area switching condition may also include at least one of the following:
[0084] The current map zoom ratio of the above game map is within the preset ratio range;
[0085] The controlled virtual character controlled by the terminal device is not in the first map area;
[0086] There is no object tracked by the controlled virtual character in the first map area.
[0087] Among them, at least one controlled virtual character can be controlled by the terminal device. The controlled virtual character controlled by the terminal device can be in a partial area currently displayed by the graphical user interface, or the controlled virtual character can also be in a partial area not currently displayed by the graphical user interface. The specific setting can be made according to needs and is not limited here.
[0088] It should be noted that the current map zoom ratio of the above-mentioned game map is within the preset ratio range. Since the zoom ratio of the game map becomes smaller when the game map is dragged, it is helpful to drag the game map. Or, when a player zooms in to view a certain map area of the game map, that is, when the zoom ratio of the game map is larger, it means that the player is more concerned about the partial area currently displayed in the graphical user interface. Therefore, by limiting the current map zoom ratio of the above-mentioned game map to be within the preset ratio range, it can avoid interference to the player due to the appearance of the switching mark when the player is focusing on a certain map area.
[0089] It should be noted that when the controlled virtual character controlled by the above-mentioned terminal device is not in the above-mentioned first map area, since the controlled virtual character is in a certain map area and the map area where the user is located is not displayed in the graphical user interface, the graphical user interface can display controls, icons, etc. for jumping to the map area where the user is located with one click. Therefore, in order to avoid duplication of information of the same function in the graphical user interface, the map area switching condition can be set to be triggered when the controlled virtual character is not in the above-mentioned first map area.
[0090] It should be noted that, when the object tracked by the controlled virtual character does not exist in the first map area, since the object tracked by the controlled virtual character is not displayed in the graphical user interface, the graphical user interface may display controls, icons, etc. for jumping to the map area where the object tracked by the controlled virtual character is located with one click. Therefore, in order to avoid duplication of information with the same function in the graphical user interface, it can be set that the object tracked by the controlled virtual character does not exist in the first map area.
[0091] It is understandable that the first map area corresponding to the first switching mark needs to be in an unlocked state so that the player can go to the first map area to execute the corresponding game logic.
[0092] In some embodiments, the display parameters of the switching mark can be determined based on the position and / or area attributes of the first map area. The display parameters include but are not limited to the display position (for example, the coordinate position of the mark), the display style, etc., so that the position and / or area attributes of the first map area can be clarified through the display parameters of the switching mark.
[0093] Specifically, the method further includes: determining a display style of the first switching mark based on an area attribute of the first map area.
[0094] There is a preset mapping relationship between the above-mentioned regional attributes and the display style. For example, corresponding display elements are pre-set for different regional attributes to determine the display elements in the display style of the above-mentioned first switching mark based on the regional attributes of the above-mentioned first map area.
[0095] Among them, the above-mentioned display style includes but is not limited to at least one content such as elements, lines, colors, structures, styles, etc. contained in the switching logo, so that the display style of the switching logo changes due to changes in different contents. For example, different styles (such as gorgeous style, simple style, etc.) can be set for the display style of the logo.
[0096] It should be noted that the switching marks of different display styles are used to indicate the area attributes, location and other contents of the corresponding map area. For example, the above-mentioned switching mark is a mark with an arrow pointing, and the arrow is used to indicate the direction from the area currently displayed by the graphical user interface to the first map area, that is, the relative direction of the first map area.
[0097] The above-mentioned display position includes, but is not limited to, a specific position on the edge of the graphical user interface, a specific area in the graphical user interface, etc.
[0098] For example, Figure 3 As shown, Figure 3 The marker A is displayed in the form of a bubble, and the arrow of the marker A points to area C.
[0099] For example, it can be determined that there is sandstorm weather in the map area according to the area attribute of the map area, and therefore, the element included in the switching mark can be designed as a sandstorm element to make the switching mark personalized.
[0100] Optionally, the above display parameters include a display position, and the terminal can obtain the relative position between the above first map area and the center of the graphical user interface, and then determine the display position of the switch mark of the above first map area based on the above relative position, and display the above switch mark at the above display position.
[0101] In some embodiments, since there are multiple map areas in the game map, not all map areas need to be configured with corresponding switching identifiers, so that when the corresponding map area switching conditions are met, the switching identifier corresponding to the map area is displayed. Therefore, corresponding levels can be set in advance for different map areas, so that when the corresponding map switching conditions are met, it is also necessary to further determine the map areas that meet the corresponding levels in the map areas that meet the map switching conditions based on the levels of different map areas, so that the map areas that meet the corresponding levels can be used as the first map area.
[0102] Among them, the method of pre-setting corresponding levels for different map areas may include: setting the hierarchy based on the area location, and the higher-level map areas contain the lower-level map areas; or, setting the priority based on the area attributes, resource quantity, etc. of different map areas, and constructing a mapping relationship between the preset quantity, resource quantity and other information and the priority to determine the priority between different map areas.
[0103] In some embodiments, the first map area is an area of a target level in the game map. For example, among multiple map areas in the game map, an area with a target level is set to have a switching mark corresponding to it.
[0104] In some embodiments, the first map area is an area of one target level or an area of two or more target levels. That is, because there are two or more target level areas interconnected in the game map, sometimes in order to avoid displaying too many switching marks on the graphical user interface and causing a poor player experience, the two or more target level areas interconnected can be used as a first map area, for example, Figure 2 Region A and region B are set as target level regions, and the first region is set to include region A and region B.
[0105] In some embodiments, in response to a partial area currently displayed on the graphical user interface satisfying a preset map area switching condition, displaying a first switching mark corresponding to the first map area in the graphical user interface may include: in response to a partial area currently displayed on the graphical user interface satisfying a preset map area switching condition, displaying a folding mark in the graphical user interface; in response to a triggering operation on the folding mark, displaying a mark list, the mark list including at least two positioning marks, and the positioning mark including the first switching mark.
[0106] Among them, in addition to the first switching mark, the above-mentioned positioning mark also includes but is not limited to a mark used to indicate the position of the controlled virtual character (triggered display when the controlled virtual character is not in the graphical user interface), a mark indicating the object tracked by the controlled virtual character (triggered display when the object tracked by the controlled virtual character is not in the graphical user interface), etc.
[0107] Step 104, in response to a triggering operation on the first switching mark, controlling the game map to automatically move so that a first designated position of the first map area falls into the graphical user interface.
[0108] It is understandable that based on Figure 2 In the example shown, setting Figure 2 The game map provided is the content presented at the minimum map zoom ratio. Therefore, when the game map is at the minimum map zoom ratio, the complete game map still cannot be displayed in the graphical user interface, and the distance between area C and area A and area B currently displayed on the graphical user interface is far. If the player goes to area C by dragging, it is necessary to drag multiple times cumbersomely, which takes a lot of time and energy, thus affecting the user experience.
[0109] In this regard, in this embodiment, a first switching mark corresponding to the first map area is displayed in the graphical user interface, so that the first switching mark can be triggered to go to the first map area corresponding to the first switching mark, thereby avoiding the low convenience caused by cumbersome operations on the map to switch the display of different map areas, so as to improve the convenience of switching the display between different map areas, thereby improving the user experience.
[0110] Furthermore, by controlling the game map to move automatically, fast translation between two map areas that are far apart can be achieved, thereby improving the speed of switching and displaying map areas.
[0111] Specifically, the terminal can configure the area coordinates corresponding to the first map area for the first switching identifier, so that after triggering the first switching identifier, the game map can be controlled to move automatically based on the area coordinates corresponding to the first switching identifier, so that the first designated position of the first map area falls into the graphical user interface.
[0112] Among them, the above-mentioned area coordinates can be the above-mentioned first designated position, the area coordinates can be the center position of the first map area, or the position where at least two areas are connected when the first map area includes at least two areas, etc., which can be set specifically according to needs and is not limited here.
[0113] Among them, the triggering operation of the above-mentioned first switching identifier can be an operation directly performed on the above-mentioned first switching identifier, such as a click operation, a press operation, a sliding operation, etc., or it can be an operation without performing an operation on the above-mentioned first switching identifier, such as a shortcut gesture operation, an operation on a control associated with the first switching identifier, an operation on an external input device connected to a terminal device that provides a graphical user interface, etc. The specific setting can be made according to needs and is not limited here.
[0114] In some embodiments, the terminal device is connected to an external input device, and the response to the trigger operation of the first switching identifier controls the game map to move automatically so that the first designated position of the first map area falls into the graphical user interface, including: responding to the device control operation of the external input device, determining the triggered first switching identifier, and controlling the game map to move automatically so that the first designated position of the first map area falls into the graphical user interface.
[0115] Specifically, the terminal can respond to the trigger operation of the above-mentioned external input device, and when there is a first switching mark in the above-mentioned graphical user interface, control the above-mentioned game map to move automatically so that the first designated position of the above-mentioned first map area falls into the above-mentioned graphical user interface.
[0116] Specifically, in response to a trigger operation on the external input device, the terminal may display an identifier list in the graphical user interface, while displaying at least two positioning identifiers that cannot be triggered by the external input device. The identifier list includes at least two identifier indication information that can be triggered by the external input device, and the identifier indication information is used to indicate the positioning identifier, and the positioning identifier includes a first switching identifier. Then, in response to another trigger operation on the external input device, the switching identifier indicated by the selected identifier indication information is determined as the triggered first switching identifier, and the game map is controlled to move automatically so that the first designated position of the first map area corresponding to the triggered first switching identifier falls into the graphical user interface.
[0117] For example, Figure 7 As shown, Figure 7 The marks distributed around the graphical user interface are positioning marks that cannot be triggered by the above-mentioned external input devices, that is, the positioning marks cannot be directly triggered by the external input devices. Figure 7 A list of identifiers is provided in the central area of the image so that the player can select an identifier indication information in the list of identifiers by operating an external input device.
[0118] The above-mentioned external input devices include but are not limited to a handle, a mouse, a keyboard, etc.
[0119] Among them, the positioning identifiers in the identifier list can be sorted according to preset priorities, for example, the identifier of the position of the controlled virtual character, the identifier of the object tracked by the controlled virtual character, the first switching identifier and the temporary signpost indicator identifier (such as custom light punctuation), etc., wherein the number of different types of identifiers can be limited or unlimited, and can be set specifically according to needs, and is not limited here.
[0120] Exemplarily, in the case where the external input device is a handle, the trigger operation on the external input device may be a pressing operation on a multi-directional joystick of the handle (such as a positioning key on the left joystick of the handle), and the other trigger operation on the external input device may be a direction selection operation on the multi-directional joystick of the handle.
[0121] Specifically, in response to pressing the positioning key of the left joystick of the handle, an identification list is displayed, and then, in response to the up / down / left / right selection operation of the left joystick of the handle, the positioning identification in the identification list is selected, and finally, in response to the confirmation operation of the joystick or confirmation key of the handle, the switching identification indicated by the selected identification indication information is determined as the first switching identification to be triggered.
[0122] In some embodiments, the partial area currently displayed by the above-mentioned graphical user interface includes at least a partial area of the second map area; after the above-mentioned control of the above-mentioned game map to automatically translate so that the first designated position of the above-mentioned first map area falls into the above-mentioned graphical user interface, the above-mentioned method also includes: displaying a second switching mark in the above-mentioned graphical user interface; in response to the triggering operation of the above-mentioned second switching mark, controlling the above-mentioned game map to automatically move so that the second designated position of the above-mentioned second map area falls into the above-mentioned graphical user interface.
[0123] In this embodiment, after controlling the above-mentioned game map to automatically translate so that the first designated position of the above-mentioned first map area falls into the above-mentioned graphical user interface, the second switching mark corresponding to the second map area displayed on the graphical user interface before the game map is automatically translated is displayed, so that the player can return to the area before the movement.
[0124] For example, based on Figure 3 The player can trigger the provided logo A to display the following Figure 8 The graphical user interface shown, Figure 8 The graphical user interface shown in FIG. 1 shows an area C, in which: Figure 8 A mark B is displayed at the lower right corner of the graphical user interface, and the mark B is a second switching mark.
[0125] It should be noted that, after the game map is controlled to automatically translate so that the first designated position of the first map area falls into the graphical user interface, if the controlled virtual character is still in the area displayed by the graphical user interface before the game map is automatically translated, the second switching mark may be a mark indicating the position of the controlled virtual character, such as Figure 8 Alternatively, regardless of whether there is a controlled virtual character, the second switching mark is a switching mark corresponding to the area displayed by the graphical user interface before the game map is automatically translated, such as Fig. 9 Logo C shown.
[0126] In some embodiments, before displaying the second switching mark in the above-mentioned graphical user interface, it also includes: determining that the partial area currently displayed in the above-mentioned graphical user interface meets the preset map area switching condition, that is, the display of the second switching mark is also triggered based on the partial area currently displayed in the graphical user interface after the game map is automatically translated.
[0127] For example, based on Figure 2 The provided game map includes examples of area A, area B and area C, such as Fig. 9 As shown, Fig. 9 In the graphical user interface shown in FIG. 1 , area C meets the preset map area switching condition. Therefore, in Fig. 9 In the graphical user interface shown, a mark C is displayed at the lower right corner, and the mark C indicates area A and / or area B.
[0128] In some embodiments, the first switching mark is a mark with an arrow pointing; the method further includes: determining a relative direction of the first map area with respect to the second map area; and determining the arrow pointing of the first switching mark based on the relative direction.
[0129] In some embodiments, the first map area and the second map area are two non-connected areas in the game map.
[0130] In some embodiments, the method further includes: displaying a switching function control in the graphical user interface, the switching function control being used to turn on or off a switching function, the switching function being used to represent a function of displaying the first switching mark in the graphical user interface.
[0131] For example, based on Figures 3 to 9 In the example shown, the terminal can respond to the player's triggering operation on the setting control in the lower left corner of the graphical user interface to display the following Fig.10 The area side page shown has a key F displayed at the bottom area of the area side page. The key F is the above-mentioned switching function control. By triggering the key F, the switching function of turning off the display of the first switching mark can be set, or the switching function of turning on the display of the first switching mark can be set to control the visibility of the first switching mark.
[0132] In some embodiments, the above method also includes: if the above-mentioned first switching mark satisfies a preset mark prompt condition, then displaying mark prompt information for the above-mentioned first switching mark on the above-mentioned graphical user interface, and the above-mentioned mark prompt information is used to prompt the triggering of the above-mentioned first switching mark to switch the display of the corresponding map area.
[0133] Among them, the above-mentioned logo prompt conditions include at least one of the following: the first switching logo is displayed in the graphical user interface for the first time (for novice player teaching scenarios), the player drags the game map for a preset time after the first switching logo is displayed (for scenarios where players are not familiar with the use), the player views the game map for the first time (for novice player teaching scenarios), etc. The specific settings can be made according to needs and are not limited here.
[0134] For example, Fig.11 As shown, when the first switching mark is displayed in the graphical user interface for the first time, Fig.11 In the graphical user interface shown, the first switch logo in the lower right corner is selected, and the corresponding logo prompt information "Quickly travel between areas by switching the logo" is displayed. The corresponding prompt information is displayed through playback for teaching, prompting players to quickly travel to the map area corresponding to the switch logo by triggering the switch logo.
[0135] Furthermore, players can trigger functions by using different operation controls in the trigger identification prompt information, such as clicking Fig.11 Click the Confirm control to display the following Fig.12 As shown, for the setting control of the function of displaying the first switching mark, Fig.12The control in the lower left corner is the setting control. By displaying the corresponding logo prompt information "Switch logo to set visibility here", the corresponding prompt information is displayed through playback to teach, prompting the player to enter the following by triggering the setting control. Fig.10 The page shown is used to trigger the switching function control to turn the switching function on or off.
[0136] From the above content, it can be seen that at least a partial area of the game map is displayed through a graphical user interface, and the game map includes multiple map areas. In response to a drag operation on the above game map, the above game map is controlled to move to update the partial area displayed in the above graphical user interface. In response to the partial area currently displayed by the above graphical user interface satisfying the preset map area switching condition, a first switching mark corresponding to the first map area is displayed in the above graphical user interface. In response to a trigger operation on the above first switching mark, the above game map is controlled to move automatically so that the first designated position of the above first map area falls into the above graphical user interface, thereby realizing automatic movement of the game map through the first switching mark, thereby quickly displaying the first map area, avoiding the low convenience caused by cumbersome operations on the map to switch to display different map areas, improving the convenience of switching displays between different map areas, and thus improving user experience.
[0137] This embodiment also provides a game display device, which provides a graphical user interface through a terminal device. Fig.13 As shown, the display device of the game may include:
[0138] A map display module 1301, configured to display at least a portion of a game map through the graphical user interface, wherein the game map includes a plurality of map areas;
[0139] The area updating module 1302 is used for controlling the game map to move in response to a drag operation on the game map, so as to update a part of the area displayed in the graphical user interface;
[0140] The identification display module 1303 is used to display a first switching identification corresponding to the first map area in the above-mentioned graphical user interface in response to the partial area currently displayed in the above-mentioned graphical user interface satisfying the preset map area switching condition;
[0141] The movement control module 1304 is used to respond to the trigger operation for the above-mentioned first switching mark, and control the above-mentioned game map to move automatically so that the first designated position of the above-mentioned first map area falls into the above-mentioned graphical user interface.
[0142] In some embodiments, the partial area currently displayed by the graphical user interface includes at least a partial area of the second map area; the movement control module 1304 is further used to:
[0143] Displaying a second switching mark in the graphical user interface;
[0144] In response to a trigger operation for the second switching mark, the game map is controlled to move automatically so that the second designated position of the second map area falls into the graphical user interface.
[0145] In some embodiments, the first switching mark is a mark with an arrow pointing; the display device of the game further includes a direction determination module, and the direction determination module is specifically used to:
[0146] Determining a relative direction of the first map area with respect to the second map area;
[0147] The arrow direction of the first switching mark is determined based on the relative direction.
[0148] In some embodiments, the game display device further includes a condition determination module, and the condition determination module is specifically used to:
[0149] It is determined that the partial area currently displayed by the above graphical user interface meets the preset map area switching condition.
[0150] In some embodiments, the first map area and the second map area are two non-connected areas in the game map.
[0151] In some embodiments, the display device of the game further includes a region acquisition module, and the region acquisition module is specifically used to:
[0152] Determining a decision point in the game map based on the map area currently displayed by the graphical user interface;
[0153] Acquire a determination area corresponding to the determination point, wherein the determination point is located in the determination area, and the determination point is the point in the determination area that is closest to the map area to be switched;
[0154] If the center of the graphical user interface is located within the determination area, it is determined that the partial area currently displayed by the graphical user interface does not satisfy a preset map area switching condition.
[0155] In some embodiments, the determination point is a point between the map area currently displayed by the graphical user interface and the map area to be switched.
[0156] In some embodiments, the above-mentioned determination area is a rectangular area.
[0157] In some embodiments, the display device of the game further includes a style determination module, and the style determination module is specifically used to:
[0158] The display style of the first switching mark is determined based on the area attribute of the first map area.
[0159] In some embodiments, the first map area is an area of the target level in the above-mentioned game map.
[0160] In some embodiments, the first map area is an area of one target level or an area of two or more target levels.
[0161] In some embodiments, the display device of the game further includes a control display module, and the control display module is specifically used for:
[0162] A switching function control is displayed in the graphical user interface, the switching function control is used to turn on or off a switching function, and the switching function is used to represent a function of displaying the first switching mark in the graphical user interface.
[0163] In some embodiments, the map area switching condition includes at least one of the following:
[0164] The current map zoom ratio of the above game map is within the preset ratio range;
[0165] The controlled virtual character controlled by the terminal device is not in the first map area;
[0166] There is no object tracked by the controlled virtual character in the first map area.
[0167] In some embodiments, the terminal device is connected to an external input device, and the movement control module 1304 is specifically used to:
[0168] In response to a trigger operation on the external input device, when there is a first switching mark in the graphical user interface, the game map is controlled to move automatically so that the first designated position of the first map area falls into the graphical user interface.
[0169] In some embodiments, the identification display module 1303 is specifically used for:
[0170] In response to the partial area currently displayed in the above-mentioned graphical user interface satisfying a preset map area switching condition, displaying a folding mark in the above-mentioned graphical user interface;
[0171] In response to the triggering operation of the folding mark, a mark list is displayed, the mark list includes at least two positioning marks, and the positioning marks include a first switching mark.
[0172] From the above content, it can be seen that at least a partial area of the game map is displayed through a graphical user interface, and the game map includes multiple map areas. In response to a drag operation on the above game map, the above game map is controlled to move to update the partial area displayed in the above graphical user interface. In response to the partial area currently displayed by the above graphical user interface satisfying the preset map area switching condition, a first switching mark corresponding to the first map area is displayed in the above graphical user interface. In response to a trigger operation on the above first switching mark, the above game map is controlled to move automatically so that the first designated position of the above first map area falls into the above graphical user interface, thereby realizing automatic movement of the game map through the first switching mark, thereby quickly displaying the first map area, avoiding the low convenience caused by cumbersome operations on the map to switch to display different map areas, improving the convenience of switching displays between different map areas, and thus improving user experience.
[0173] Accordingly, an embodiment of the present application further provides an electronic device, which may be a terminal, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and other terminal devices. Alternatively, the electronic device may be a server.
[0174] like Fig.14 As shown, Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 1400 includes a processor 1401 having one or more processing cores, a memory 1402 having one or more computer-readable storage media, and a computer program stored in the memory 1402 and executable on the processor. The processor 1401 is electrically connected to the memory 1402. It will be understood by those skilled in the art that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0175] The processor 1401 is the control center of the electronic device 1400, and uses various interfaces and lines to connect various parts of the entire electronic device 1400. By running or loading software programs and / or units stored in the memory 1402, and calling data stored in the memory 1402, the processor 1401 executes various functions of the electronic device 1400 and processes data, thereby monitoring the electronic device 1400 as a whole. The processor 1401 can be a central processing unit CPU, a graphics processing unit GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.
[0176] In the embodiment of the present application, the processor 1401 in the electronic device 1400 will load instructions corresponding to the processes of one or more application programs into the memory 1402 according to the following steps, and the processor 1401 will run the application programs stored in the memory 1402 to implement various functions, such as:
[0177] Displaying at least a portion of a game map through the graphical user interface, wherein the game map includes a plurality of map areas;
[0178] In response to a drag operation on the game map, controlling the game map to move so as to update a partial area displayed in the graphical user interface;
[0179] In response to the partial area currently displayed by the graphical user interface satisfying a preset map area switching condition, displaying a first switching mark corresponding to the first map area in the graphical user interface;
[0180] In response to a trigger operation for the first switching mark, the game map is controlled to move automatically so that the first designated position of the first map area falls into the graphical user interface.
[0181] In some embodiments, the partial area currently displayed by the graphical user interface includes at least a partial area of the second map area;
[0182] After the game map is controlled to automatically translate so that the first designated position of the first map area falls into the graphical user interface, the method further includes:
[0183] Displaying a second switching mark in the graphical user interface;
[0184] In response to a trigger operation for the second switching mark, the game map is controlled to move automatically so that the second designated position of the second map area falls into the graphical user interface.
[0185] In some embodiments, the first switching mark is a mark with an arrow pointing to it; and the method further includes:
[0186] Determining a relative direction of the first map area with respect to the second map area;
[0187] The arrow direction of the first switching mark is determined based on the relative direction.
[0188] In some embodiments, before displaying the second switching mark in the graphical user interface, the method further includes:
[0189] It is determined that the partial area currently displayed by the above graphical user interface meets the preset map area switching condition.
[0190] In some embodiments, the first map area and the second map area are two non-connected areas in the game map.
[0191] In some embodiments, the above method further comprises:
[0192] Determining a decision point in the game map based on the map area currently displayed by the graphical user interface;
[0193] Acquire a determination area corresponding to the determination point, wherein the determination point is located in the determination area, and the determination point is the point in the determination area that is closest to the map area to be switched;
[0194] If the center of the graphical user interface is located within the determination area, it is determined that the partial area currently displayed by the graphical user interface does not satisfy a preset map area switching condition.
[0195] In some embodiments, the determination point is a point between the map area currently displayed by the graphical user interface and the map area to be switched.
[0196] In some embodiments, the above-mentioned determination area is a rectangular area.
[0197] In some embodiments, the above method further comprises:
[0198] The display style of the first switching mark is determined based on the area attribute of the first map area.
[0199] In some embodiments, the first map area is an area of the target level in the above-mentioned game map.
[0200] In some embodiments, the first map area is an area of one target level or an area of two or more target levels.
[0201] In some embodiments, the above method further comprises:
[0202] A switching function control is displayed in the graphical user interface, the switching function control is used to turn on or off a switching function, and the switching function is used to represent a function of displaying the first switching mark in the graphical user interface.
[0203] In some embodiments, the map area switching condition includes at least one of the following:
[0204] The current map zoom ratio of the above game map is within the preset ratio range;
[0205] The controlled virtual character controlled by the terminal device is not in the first map area;
[0206] There is no object tracked by the controlled virtual character in the first map area.
[0207] In some embodiments, the terminal device is connected to an external input device, and the response to the trigger operation of the first switching mark controls the game map to automatically move so that the first designated position of the first map area falls into the graphical user interface, including:
[0208] In response to a trigger operation on the external input device, when there is a first switching mark in the graphical user interface, the game map is controlled to move automatically so that the first designated position of the first map area falls into the graphical user interface.
[0209] In some embodiments, in response to a partial area currently displayed by the graphical user interface satisfying a preset map area switching condition, displaying a first switching mark corresponding to the first map area in the graphical user interface includes:
[0210] In response to the partial area currently displayed in the above-mentioned graphical user interface satisfying a preset map area switching condition, displaying a folding mark in the above-mentioned graphical user interface;
[0211] In response to the triggering operation of the folding mark, a mark list is displayed, the mark list includes at least two positioning marks, and the positioning marks include a first switching mark.
[0212] Therefore, the electronic device 1400 provided in this embodiment can bring the following technical effects: improving the convenience of switching displays between different map areas to enhance user experience.
[0213] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0214] Optional, such as Fig.14As shown, the electronic device 1400 further includes: a touch screen 1403, a radio frequency circuit 1404, an audio circuit 1405, an input unit 1406, and a power supply 1407. The processor 1401 is electrically connected to the touch screen 1403, the radio frequency circuit 1404, the audio circuit 1405, the input unit 1406, and the power supply 1407, respectively. Those skilled in the art can understand that Fig.14 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0215] The touch display screen 1403 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 1403 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light emitting diode (OLED, Organic Light-EmittingDiode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, 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, 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, converts it into the touch point coordinates, and then sends it to the processor 1401, and can receive the command sent by the processor 1401 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 1401 to determine the type of touch event, and then the processor 1401 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 1403 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 1403 can also be used as a part of the input unit 1406 to realize the input function.
[0216] The radio frequency circuit 1404 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals between the network device or other electronic devices.
[0217] The audio circuit 1405 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 1405 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 1405 and converted into audio data, and then the audio data is output to the processor 1401 for processing, and then sent to another electronic device through the radio frequency circuit 1404, or the audio data is output to the memory 1402 for further processing. The audio circuit 1405 may also include an earplug jack to provide communication between an external headset and an electronic device.
[0218] The input unit 1406 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0219] The power supply 1407 is used to supply power to various components of the electronic device 1400. Optionally, the power supply 1407 can be logically connected to the processor 1401 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 1407 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0220] although Fig.14 Not shown, the electronic device 1400 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0221] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0222] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0223] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute any game display method provided in the embodiment of the present application. The computer program can execute the following steps of the game display method:
[0224] Displaying at least a portion of a game map through the graphical user interface, wherein the game map includes a plurality of map areas;
[0225] In response to a drag operation on the game map, controlling the game map to move so as to update a partial area displayed in the graphical user interface;
[0226] In response to the partial area currently displayed by the graphical user interface satisfying a preset map area switching condition, displaying a first switching mark corresponding to the first map area in the graphical user interface;
[0227] In response to a trigger operation for the first switching mark, the game map is controlled to move automatically so that the first designated position of the first map area falls into the graphical user interface.
[0228] It can be seen that the computer program can be loaded by the processor to execute any game display method provided in the embodiments of the present application, thereby bringing the following technical effects: improving the convenience of switching displays between different map areas to enhance the user experience.
[0229] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0230] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0231] Since the computer program stored in the computer-readable storage medium can execute any game display method provided in the embodiments of the present application, the beneficial effects that can be achieved by any game display method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0232] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations of the above embodiments.
[0233] In the above-mentioned game display device, computer-readable storage medium, electronic device, and computer program product embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the above-described game display device, computer-readable storage medium, computer program product, electronic device and its corresponding units can refer to the description of the game display method in the above embodiment, and will not be repeated here.
[0234] The above is a detailed introduction to a game display method, device, electronic device, computer-readable storage medium and computer program product provided in an embodiment of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for displaying a game, characterized in that: Providing a graphical user interface through a terminal device, the method comprising: Displaying at least a portion of a game map through the graphical user interface, wherein the game map includes a plurality of map areas; In response to a drag operation on the game map, controlling the game map to move so as to update a partial area displayed in the graphical user interface; In response to a partial area currently displayed by the graphical user interface satisfying a preset map area switching condition, displaying a first switching mark corresponding to a first map area in the graphical user interface; In response to a triggering operation on the first switching mark, the game map is controlled to move automatically so that a first designated position of the first map area falls into the graphical user interface.
2. The method according to claim 1, characterized in that The partial area currently displayed by the graphical user interface includes at least a partial area of the second map area; After controlling the game map to automatically translate so that the first designated position of the first map area falls into the graphical user interface, the method further includes: Displaying a second switching indicator in the graphical user interface; In response to a triggering operation on the second switching mark, the game map is controlled to move automatically so that a second designated position of the second map area falls into the graphical user interface.
3. The method according to claim 2, characterized in that The first switching mark is a mark with an arrow pointing; the method further includes: determining a relative direction of the first map area with respect to the second map area; The arrow direction of the first switching mark is determined based on the relative direction.
4. The method according to claim 2, characterized in that Before displaying the second switching mark in the graphical user interface, the method further includes: It is determined that the partial area currently displayed by the graphical user interface meets a preset map area switching condition.
5. The method according to claim 2, characterized in that The first map area and the second map area are two non-connected areas in the game map.
6. The method according to claim 1, characterized in that The method further comprises: determining a decision point in the game map based on a map area currently displayed by the graphical user interface; Acquire a determination area corresponding to the determination point, wherein the determination point is located in the determination area, and the determination point is the point in the determination area that is closest to the map area to be switched; If the center of the graphical user interface is located within the determination area, it is determined that the partial area currently displayed by the graphical user interface does not meet the preset map area switching condition.
7. The method according to claim 6, characterized in that The determination point is a point between the map area currently displayed by the graphical user interface and the map area to be switched.
8. The method according to claim 6, characterized in that The determination area is a rectangular area.
9. The method according to claim 1, characterized in that The method further comprises: The display style of the first switching mark is determined based on the area attribute of the first map area.
10. The method according to claim 1, characterized in that The first map area is an area of the target level in the game map.
11. The method according to claim 1, characterized in that The first map area is an area of one target level or an area of two or more target levels.
12. The method according to claim 1, characterized in that The method further comprises: A switching function control is displayed in the graphical user interface, where the switching function control is used to turn on or off a switching function, and the switching function is used to represent a function of displaying the first switching mark in the graphical user interface.
13. The method according to claim 1, characterized in that The map area switching condition includes at least one of the following: The current map zoom ratio of the game map is within a preset ratio range; The controlled virtual character controlled by the terminal device is not in the first map area; There is no object tracked by the controlled virtual character in the first map area.
14. The method according to claim 1, wherein: In response to a partial area currently displayed by the graphical user interface satisfying a preset map area switching condition, displaying a first switching mark corresponding to the first map area in the graphical user interface includes: In response to a partial area currently displayed by the graphical user interface satisfying a preset map area switching condition, displaying a folding mark in the graphical user interface; In response to a triggering operation on the folding mark, a mark list is displayed, the mark list includes at least two positioning marks, and the positioning marks include a first switching mark.
15. A game display device, characterized in that: A graphical user interface is provided through a terminal device, the device comprising: A map display module, configured to display at least a portion of a game map through the graphical user interface, wherein the game map includes a plurality of map areas; An area update module, configured to control the game map to move in response to a drag operation on the game map, so as to update a partial area displayed in the graphical user interface; an identification display module, configured to display a first switching identification corresponding to a first map area in the graphical user interface in response to a partial area currently displayed by the graphical user interface satisfying a preset map area switching condition; A movement control module is used to respond to a trigger operation on the first switching mark and control the game map to automatically move so that a first designated position of the first map area falls into the graphical user interface.
16. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the game display method as claimed in any one of claims 1 to 14.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the game display method according to any one of claims 1 to 14.
Citation Information
Patent Citations
Game map marking method and device, storage medium and electronic device
CN119327108A