Method and device for displaying map view in game, and electronic equipment

By placing a view control on the game map and responding to touch operations, the problem of inconvenient view switching in existing technologies is solved, enabling quick switching of the map view using the view control, thus improving the player's gaming experience and enjoyment.

CN113908547BActive Publication Date: 2026-05-01NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2021-09-28
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The existing warding function makes it difficult to quickly move the current game vision to the ward's vision location, which reduces the player's gaming experience.

Method used

By placing vision controls on the game map, the system responds to touch operations to obtain the corresponding map view and displays the map view corresponding to the vision control in the graphical user interface. It supports floating window markers and vision control positions, allowing players to quickly switch to the default map view.

Benefits of technology

It enables quick switching of the map view corresponding to the view control, improving the player's gaming experience and increasing the game's fun and convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113908547B_ABST
    Figure CN113908547B_ABST
Patent Text Reader

Abstract

The application provides a display method and device of a map view in a game and electronic equipment, and relates to the technical field of game interaction. The method comprises the following steps: in response to a touch operation on a view control, obtaining a map view corresponding to the view control; displaying the map view corresponding to the view control in a graphical user interface; and in response to the end of the touch operation on the view control, switching the displayed map view in the graphical user interface to a default map view. The display method and device of the map view in the game and the electronic equipment can quickly switch the map view corresponding to the view control, so that the player can conveniently obtain the view at a preset position, and the game experience of the player is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of game interaction, and in particular to a method, device, and electronic device for displaying the map view in a game. Background Technology

[0002] In games, such as MOBA (Multiplayer Online Battle Arena) games, fog of war is often set up during gameplay. Players can often gain vision through the warding function. For example, players can place wards in a fog of war area to see if there are any enemies. This can help players to ambush, flank, and kill enemy characters, as well as use certain skill advantages to premeditatedly kill opponents and exert pressure.

[0003] While the aforementioned warding function can bring certain advantages and convenience to players, the existing warding function is difficult to quickly move the current game vision to the vision of the ward stone, which reduces the player's game experience. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide a method, apparatus and electronic device for displaying map view in a game, so as to alleviate the above-mentioned technical problems.

[0005] In a first aspect, embodiments of the present invention provide a method for displaying map view in a game, displaying a game scene through a graphical user interface, the game scene including a portion of a game map, the method comprising: responding to a touch operation applied to a view control, acquiring the map view corresponding to the view control; wherein, the view control is a control pre-placed in the game map for acquiring the view at a preset location, and the map view corresponding to the view control is the view within a preset distance range from the view control in the game map; displaying the map view corresponding to the view control in the graphical user interface; and switching the map view displayed in the graphical user interface to a default map view upon the end of the touch operation applied to the view control.

[0006] Preferably, in one possible implementation, the game scene displayed in the graphical user interface is further provided with a floating window, which is used to display a scene map corresponding to the game scene; the method further includes: responding to a view control placement operation performed on a preset position in the game map, placing the view control at the position corresponding to the view control placement operation; and marking the position of the view control in the scene map displayed in the floating window, and displaying the identifier of the view control at the position corresponding to the floating window.

[0007] Preferably, in one possible implementation, the step of responding to a touch operation applied to a view control and obtaining the map view corresponding to the view control includes: responding to a touch operation applied to an identifier of the view control displayed at a location corresponding to the floating window; and obtaining the map view of the view control corresponding to the identifier.

[0008] Preferably, in one possible implementation, the step of displaying the map view corresponding to the view control in the graphical user interface includes: switching the game scene currently presented by the graphical user interface to the map view corresponding to the view control; or, displaying the map view corresponding to the view control in the floating window.

[0009] Preferably, in one possible implementation, the step of displaying the map view corresponding to the view control in the floating window includes: enlarging the display area of ​​the floating window according to a preset ratio; and displaying the map view corresponding to the view control in the enlarged display area of ​​the floating window.

[0010] Preferably, in one possible implementation, the step of displaying the identifier of the view control at the position corresponding to the floating window includes: if there are multiple view controls, generating the identifiers of the view controls sequentially according to the placement order of the view controls, and displaying the identifiers of the view controls at the position corresponding to the floating window in a preset order.

[0011] Preferably, in one possible implementation, the method further includes: responding to a drag operation on the identifiers of the view control, changing the order of the identifiers of the plurality of view controls based on the drag operation.

[0012] Preferably, in one possible implementation, the touch operation is a click operation; the step of obtaining the map view corresponding to the view control in response to a touch operation applied to the view control includes: obtaining the map view corresponding to the view control corresponding to the first click operation in response to a first click operation applied to the view control; the step of switching the map view displayed in the graphical user interface to the default map view in response to the end of the touch operation applied to the view control includes: switching the map view displayed in the graphical user interface to the default map view in response to a second click operation applied to the view control.

[0013] Preferably, in one possible implementation, the touch operation described above is a long press operation; the step of obtaining the map view corresponding to the view control in response to the touch operation applied to the view control includes: obtaining the map view corresponding to the view control corresponding to the long press operation in response to the long press operation; the step of switching the map view displayed in the graphical user interface to the default map view in response to the end of the touch operation applied to the view control includes: switching the map view displayed in the graphical user interface to the default map view in response to the end of the long press operation.

[0014] Secondly, embodiments of the present invention also provide a display device for map view in a game, displaying a game scene through a graphical user interface. The game scene includes a portion of a game map. The device includes: a first response module, configured to respond to a touch operation applied to a view control and obtain the map view corresponding to the view control; wherein the view control is a control pre-placed in the game map to obtain the view at a preset position, and the map view corresponding to the view control is the view within a preset distance range from the view control in the game map; a display module, configured to display the map view corresponding to the view control in the graphical user interface; and a second response module, configured to switch the map view displayed in the graphical user interface to a default map view upon the end of the touch operation applied to the view control.

[0015] Thirdly, embodiments of the present invention also provide an electronic device, including a processor and a memory, wherein the memory stores computer-executable instructions executable by the processor, and the processor executes the computer-executable instructions to implement the method described in the first aspect.

[0016] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the method described in the first aspect.

[0017] The embodiments of the present invention bring the following beneficial effects:

[0018] The method, apparatus, and electronic device for displaying map view in a game provided by this invention can respond to touch operations applied to a view control, obtain the map view corresponding to the view control, and display the map view corresponding to the view control in a graphical user interface; and further, in response to the end of the touch operation applied to the view control, switch the map view displayed in the graphical user interface to the default map view. Since the view control is a control pre-placed in the game map to obtain the view of a preset location, and the map view corresponding to the view control is the view within a preset distance range from the view control in the game map, the process of displaying the map view corresponding to the view control when responding to a touch operation applied to the view control can realize the rapid switching of the map view corresponding to the view control, allowing players to conveniently obtain the view of the preset location and improving the player's gaming experience.

[0019] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.

[0020] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0021] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0022] Figure 1 A flowchart illustrating a method for displaying map view in a game, provided as an embodiment of the present invention;

[0023] Figure 2 A schematic diagram of a game scene provided in an embodiment of the present invention;

[0024] Figure 3 A flowchart illustrating another method for displaying map view in a game, provided as an embodiment of the present invention;

[0025] Figure 4 A schematic diagram of the structure of a display device for displaying the map view in a game, provided in an embodiment of the present invention;

[0026] Figure 5 A schematic diagram of another display device for game map view provided in an embodiment of the present invention;

[0027] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0029] Currently, while placing wards in the game allows players to gain vision of the corresponding location, players often need to manually locate the wards on the game map, which is not quick enough. Furthermore, it is difficult to lock onto and display the vision of the ward's location, thus reducing the player's gaming experience.

[0030] Based on this, the present invention provides a method, apparatus, and electronic device for displaying map view in a game, which can effectively alleviate the above-mentioned technical problems.

[0031] To facilitate understanding of this embodiment, a method for displaying the map view in a game, as disclosed in this embodiment of the invention, will first be described in detail.

[0032] In one possible implementation, this invention provides a method for displaying the map view in a game. The method displays a game scene, including a portion of the game map, through a graphical user interface. Specifically, this method can run on a terminal device or a server. For example, the terminal device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; and the aforementioned terminal device can be a local terminal device or a network terminal device. Taking a game as an example, the local terminal device stores the game program and is used to present the game screen. The local terminal device is used to interact with the player through the graphical user interface, i.e., conventionally downloading, installing, and running the game program via an electronic device. The local terminal device can provide the graphical user interface to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player through holographic projection. For example, the local terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, which includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen, etc. Furthermore, when the map view display method in the game according to the embodiments of the present invention is running on the server, the map view display method in the game can be implemented and executed based on the cloud interaction system. The cloud interaction system includes the aforementioned server and client device. When playing the game, the player can operate the client device to send operation instructions to the server. The server runs the game according to the operation instructions, encodes and compresses the game screen and other data, returns it to the client device through the network, and finally decodes and outputs the game screen through the client device.

[0033] Specifically, such as Figure 1 The flowchart shown illustrates a method for displaying map view in a game, which includes the following steps:

[0034] Step S102: Respond to the touch operation applied to the view control and obtain the map view corresponding to the view control;

[0035] In this embodiment of the invention, the field of view control is a control that is pre-placed in the game map to obtain the field of view of a preset position, and the map field of view corresponding to the field of view control is the field of view within a preset distance range from the field of view control in the game map;

[0036] In practical use, the aforementioned vision controls are typically placed by players at a pre-defined location on the game map to obtain vision within a preset range around that location. Examples include wards in MOBA games. In some MOBA games, there are fog-of-war scenarios; in these cases, players can pre-place one or more vision controls at locations within the fog to gain vision of that area. Specifically, these vision controls can be used as in-game items; players can earn these items during the game or purchase them using in-game virtual currency.

[0037] Step S104: Display the map view corresponding to the view control in the graphical user interface;

[0038] Step S106: In response to the end of the touch operation on the view control, switch the map view displayed in the graphical user interface to the default map view.

[0039] In practical use, the aforementioned default map view usually refers to the regular game screen displayed by the graphical user interface, such as the view of the virtual character controlled by the player. For game scenes with a minimap, the default map view of the minimap usually refers to a preview of the entire game map, i.e., a panoramic view. This minimap can also be used to display the map view corresponding to the view control. When the touch operation applied to the view control ends, the minimap can be switched back to displaying the panoramic view of the game map. Specifically, the default map view can be set according to the actual usage, and this embodiment of the invention does not impose any restrictions on it.

[0040] The method for displaying the map view in a game provided by this invention can respond to touch operations applied to the view control, obtain the map view corresponding to the view control, and display the map view corresponding to the view control in the graphical user interface; and further, in response to the end of the touch operation applied to the view control, switch the map view displayed in the graphical user interface to the default map view. Since the view control is a control pre-placed in the game map to obtain the view of a preset location, and the map view corresponding to the view control is the view within a preset distance range from the view control in the game map, the process of displaying the map view corresponding to the view control when responding to touch operations applied to the view control can realize the rapid switching of the map view corresponding to the view control, allowing players to conveniently obtain the view of the preset location and improving the player's gaming experience.

[0041] In actual use, the game scene displayed in the above graphical user interface can usually also have a floating window. Specifically, the floating window is used to display the scene map corresponding to the game scene; that is, a small map is further displayed on the game scene to display a preview scene of the entire game map, that is, to display the panoramic view of the game map.

[0042] In actual use, the graphical user interface usually displays the view of the virtual character controlled by the player, that is, the regular game scene screen. The minimap is set on top of the game scene screen and usually obscures part of the game scene screen. It is used for the panoramic view of the game map for the player to preview.

[0043] In the aforementioned implementation with a small map, i.e., a floating window, players can preview the position of the view control within the panoramic view through the floating window when placing it. Therefore, the method for displaying the map view in a game provided by this embodiment of the invention further includes the following process:

[0044] In response to a view control placement operation performed at a preset location on the game map, the view control is placed at the location corresponding to the view control placement operation; and the location of the view control is marked on the scene map displayed in the floating window, and the view control's identifier is displayed at the corresponding location in the floating window.

[0045] In practical use, the aforementioned placement of vision controls typically refers to locations on the game map that are not directly observable by the player, such as foggy scenes, rivers, forests, or locations where enemy characters can easily conceal themselves. Additionally, it can include locations the player wants to observe. Players can place a certain number of vision controls in these locations to gain visibility.

[0046] Furthermore, considering the limited field of view displayed by the graphical user interface, players can set up a floating window to display a scene map corresponding to the game scene, allowing them to preview the entire game map. Therefore, after a player places a view control at a preset location, the scene map displayed in the floating window can mark the placed view control and display corresponding icons, making it convenient for the player to view.

[0047] For ease of understanding, Figure 2 A schematic diagram of a game scene is shown, such as Figure 2 As shown, taking the example of a player placing three vision controls in the river, the player can set the currently displayed game scene in the graphical user interface to the corresponding position in the river for easy viewing and placement of vision controls. Players can place the vision controls in the river by dragging or clicking. Correspondingly, a preview of the panoramic view can be displayed in the floating window. Therefore, the three vision controls placed by the player can be seen in the floating window. Figure 1 The floating window in the upper left corner displays three view controls in the river channel, and the icons for the three view controls are displayed below the floating window. Additionally, in Figure 2The game scene shown also includes a virtual character controlled by the player, and multiple controls for controlling that virtual character, such as... Figure 2 Control 1, Control 2, and Control 3, etc.

[0048] Furthermore, in implementations where players place multiple vision controls, the identifiers of these controls are typically displayed in the order they were placed in the floating window. That is, if there are multiple vision controls, their identifiers are generated sequentially according to their placement order and displayed in the floating window in a preset order. For example, for... Figure 2 In the game, the ①, ②, and ③ displayed below the floating window are usually generated according to the player's placement order, that is, the player placed 1, 2, and 3 vision controls in the river in sequence.

[0049] Furthermore, regarding the implementation of the aforementioned multiple view controls, the method provided in this embodiment of the invention can further respond to drag operations acting on the identifiers of the view controls, changing the order of the identifiers of the multiple view controls based on the drag operation. For example, similarly... Figure 2 Taking the game scenario shown as an example, let's assume that players are used to observing both ends of the river more often, that is... Figure 2 The positions corresponding to ① and ③ are such that, according to player habits, they can be... Figure 2 Based on the shown view controls, the positions of ② and ③ can be swapped by dragging. Therefore, when the player touches ①, they can obtain the view of one end of the river corresponding to view control ①. When the player touches ②, they can obtain the view of the other end of the river. That is, for the implementation of multiple view controls, the order of the view control labels can be set according to the actual usage, and this embodiment of the invention does not limit this.

[0050] Furthermore, in the above-described implementation including a floating window, players can directly touch the icon of the view control to obtain the map view. For ease of explanation, in... Figure 1 On this basis, Figure 3 A flowchart illustrating another method for displaying map view in a game is shown, such as... Figure 3 As shown, an implementation method including a floating window will be described.

[0051] Step S302: Respond to the touch operation of the icon of the view control displayed at the position corresponding to the floating window; obtain the map view of the view control corresponding to the icon;

[0052] For example, for Figure 2In the game scenario shown, if a player wants to view the map view of the location of the view control ①, the player can directly touch the icon ① below the floating window of the view control ①. At this time, the game client or the backend server can respond to the player's touch operation, and then directly obtain the map view corresponding to the view control ①, and then continue to perform the following steps.

[0053] Step S304: Switch the game scene currently displayed in the graphical user interface to the map view corresponding to the view control; or, display the map view corresponding to the view control in a floating window.

[0054] Specifically, the map view obtained from the view control can be displayed on the main screen of the graphical user interface. For example, the view of the virtual character controlled by the player can be switched to the map view corresponding to the view control. In implementations with a floating window, the map view corresponding to the view control can be displayed directly in the floating window. The specific display method can be preset by the player. For example, before the game starts, the player can set the map view display method of the view control, etc.

[0055] Furthermore, considering that the floating window is generally small in scale relative to the entire graphical display interface, when displaying the map view corresponding to the view control in the floating window, the display area of ​​the floating window can be enlarged according to a preset ratio; then, the map view corresponding to the view control can be displayed in the enlarged display area of ​​the floating window. For example, when the floating window displays the default panoramic view, it can be displayed at a ratio of 500x300, and when displaying the map view corresponding to the view control, it can be enlarged to 800x500 for easier viewing by the player.

[0056] In addition, players can also freely zoom in and out of the floating window by using two-finger touch, and the specific settings can be adjusted according to actual usage. This embodiment of the invention does not impose any restrictions on this.

[0057] Step S306: In response to the end of the touch operation on the view control, switch the map view displayed in the graphical user interface to the default map view.

[0058] In practical use, the above-mentioned touch operation can be a simple click operation, or a long press operation for clients that support touch screens. Specifically, when the touch operation is a click operation, such as a single click, when responding to the touch operation applied to the view control and obtaining the map view corresponding to the view control, the system can respond to the first click operation applied to the view control and obtain the map view corresponding to the view control corresponding to the first click operation. Furthermore, when executing step S304 and displaying the screen of the map view corresponding to the view control, it is equivalent to locking the screen of the map view corresponding to the view control on the graphical user interface, making it convenient for the player to view. When the player no longer views the screen of the map view corresponding to the view control, the system can respond to the end of the touch operation applied to the view control. Corresponding to the first click operation, when the system responds to the end of the touch operation applied to the view control, the system can respond to the second click operation applied to the view control and switch the map view displayed in the graphical user interface to the default map view.

[0059] Specifically, taking the floating window display of the map view corresponding to the view control as an example, players can preview the placed view control in the panoramic map during the game. Figure 2 The game scene illustration shown allows you to mark the positions of the view control in a floating window, and display the view control's icon at the corresponding location in the floating window, such as below the floating window. When a player needs to view the map view corresponding to the view control, they can click the corresponding view control's icon. At this time, the floating window will display the map view corresponding to the view control, and will remain locked on the map view corresponding to the view control until the click operation ends. When the player finishes viewing the map view corresponding to the view control, they can click the view control's icon again to unlock the map view corresponding to the view control in the floating window, and the floating window will redisplay the preview scene of the entire game map.

[0060] Furthermore, the aforementioned touch operation can also be a long press operation; when responding to a touch operation applied to the view control and obtaining the map view corresponding to the view control, it can also respond to a long press operation applied to the view control and obtain the map view corresponding to the view control corresponding to the long press operation; when the response to the touch operation applied to the view control ends, the map view displayed in the graphical user interface can be switched to the default map view.

[0061] The specific touch operation method can be set according to the actual usage situation, and the embodiments of the present invention do not limit it.

[0062] In summary, the map view display method provided by this invention allows players to place view controls at preset locations on the game map. The view control icon then appears at the corresponding location, allowing for further player actions. Players can also swap the order of view controls by dragging and drop, and access the map view through touch operations such as clicking or long-pressing. Furthermore, the floating window or the entire game's main interface can be locked to the map view corresponding to the view control for player viewing. This allows players to easily access and display the map view of the view control, increasing the game's fun and further enhancing the player's gaming experience.

[0063] Furthermore, based on the above embodiments, this invention also provides a display device for the map view in a game, displaying a game scene through a graphical user interface. The game scene includes a portion of the game map, such as... Figure 4 The diagram shows a structural schematic of a map view display device in a game. The device includes:

[0064] The first response module 40 is used to respond to a touch operation applied to the view control and obtain the map view corresponding to the view control; wherein, the view control is a control pre-placed in the game map to obtain the view at a preset position, and the map view corresponding to the view control is the view within a preset distance range from the view control in the game map;

[0065] Display module 42 is used to display the map view corresponding to the view control in the graphical user interface;

[0066] The second response module 44 is used to switch the map view displayed in the graphical user interface to the default map view in response to the end of the touch operation applied to the view control.

[0067] Furthermore, the game scene displayed in the aforementioned graphical user interface also includes a floating window, which is used to display the scene map corresponding to the game scene. Therefore, in Figure 4 On this basis, Figure 5 It also further illustrates a structural schematic diagram of another type of display device for map view in games, such as... Figure 5 As shown, except Figure 4 In addition to the structure shown, the above-mentioned device also includes:

[0068] The placement module 46 is used to respond to a view control placement operation performed on a preset position in the game map, place the view control at the position corresponding to the view control placement operation; and mark the position of the view control in the scene map displayed in the floating window, and display the identifier of the view control at the corresponding position in the floating window.

[0069] Furthermore, the first response module 40 is also used to: respond to a touch operation on the identifier of the view control displayed at the position corresponding to the floating window; and obtain the map view of the view control corresponding to the identifier.

[0070] Furthermore, the display module 42 is also used to: switch the game scene currently presented by the graphical user interface to the map view corresponding to the view control; or, display the map view corresponding to the view control in the floating window.

[0071] Furthermore, the display module 42 is also used to: enlarge the display area of ​​the floating window according to a preset ratio; and display the map view corresponding to the view control in the enlarged display area of ​​the floating window.

[0072] Furthermore, the placement module 46 is also used to: if there are multiple view controls, generate the identifiers of the view controls sequentially according to the placement order of the view controls, and display the identifiers of the view controls in a preset order at the corresponding position of the floating window; and, in response to a drag operation applied to the identifiers of the view controls, change the order of the identifiers of the multiple view controls based on the drag operation.

[0073] Furthermore, the aforementioned touch operation is a click operation; the aforementioned first response module 40 is used to: respond to the first click operation acting on the view control and obtain the map view corresponding to the view control corresponding to the first click operation; the aforementioned second response module 44 is used to: respond to the second click operation acting on the view control and switch the map view displayed in the graphical user interface to the default map view.

[0074] Furthermore, the aforementioned touch operation is a long press operation; the aforementioned first response module 40 is used to: respond to the long press operation applied to the view control and obtain the map view corresponding to the view control corresponding to the long press operation; the aforementioned second response module 44 is used to: respond to the end of the long press operation and switch the map view displayed in the graphical user interface to the default map view.

[0075] The game map view display device provided in this embodiment of the invention has the same technical features as the game map view display method provided in the above embodiment, so it can also solve the same technical problems and achieve the same technical effects.

[0076] Furthermore, embodiments of the present invention also provide an electronic device, including a processor and a memory, wherein the memory stores computer-executable instructions executable by the processor, and the processor executes the computer-executable instructions to implement... Figure 1 or Figure 3 The method shown.

[0077] Furthermore, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are invoked and executed by a processor, they cause the processor to implement… Figure 1 or Figure 3 The method shown.

[0078] Furthermore, embodiments of the present invention also provide a schematic diagram of the structure of an electronic device, such as... Figure 6 The diagram shows the structure of the electronic device, which includes a processor 61 and a memory 60. The memory 60 stores computer-executable instructions that can be executed by the processor 61. The processor 61 executes the computer-executable instructions to implement the map view display method in the game described above.

[0079] exist Figure 6 In the illustrated embodiment, the electronic device further includes a bus 62 and a communication interface 63, wherein the processor 61, the communication interface 63, and the memory 60 are connected via the bus 62.

[0080] The memory 60 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 63 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 62 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 62 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0081] Processor 61 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 61 or by instructions in software form. Processor 61 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 gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this invention can be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in the memory. The processor 61 reads the information in the memory and combines it with its hardware to complete the game map view display method of the aforementioned embodiment.

[0082] The computer program product of the method, apparatus and electronic device for displaying the map view in the game provided by the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.

[0083] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0084] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.

[0085] If the aforementioned functions are implemented as 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 this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0086] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0087] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for displaying map view in a game, characterized in that, Displaying a game scene via a graphical user interface, the game scene including a portion of the game map, the method includes: In response to a touch operation applied to the view control, the player acquires the map view corresponding to the view control; wherein, the view control is a control that the player pre-places in the game map to acquire the view of a preset location, and the map view corresponding to the view control is the view within a preset distance range from the view control in the game map; the view control is used as a game item, and the game item is won by the player during the game or purchased using virtual currency in the game; The map view corresponding to the view control is displayed in the graphical user interface. When the touch operation applied to the view control ends, the map view displayed in the graphical user interface is switched to the default map view; The graphical user interface displays a game scene with a floating window, which is used to display a scene map corresponding to the game scene; the method further includes: In response to a view control placement operation performed at a preset location in the game map, the view control is placed at the location corresponding to the view control placement operation; and... The location of the view control is marked in the scene map displayed in the floating window, and the identifier of the view control is displayed at the corresponding location in the floating window; The step of obtaining the map view corresponding to the view control in response to a touch operation applied to the view control includes: Responding to a touch operation that applies to the identifier of the view control displayed at the location corresponding to the floating window; Obtain the map view of the view control corresponding to the identifier; The step of displaying the identifier of the view control at the position corresponding to the floating window includes: If there are multiple view controls, then the identifiers of the view controls are generated sequentially according to the placement order of the view controls, and the identifiers of the view controls are displayed in a preset order at the corresponding positions of the floating window; In response to a drag operation applied to the identifier of the view control, the order of the identifiers of multiple view controls is changed based on the drag operation.

2. The method according to claim 1, characterized in that, The step of displaying the map view corresponding to the view control in the graphical user interface includes: Switch the game scene currently displayed in the graphical user interface to the map view corresponding to the view control; or... The floating window displays the map view corresponding to the view control.

3. The method according to claim 2, characterized in that, The step of displaying the map view corresponding to the view control in the floating window includes: The display area of ​​the floating window is enlarged according to a preset ratio; The view of the map corresponding to the view control is displayed in the display area of ​​the zoomed-in floating window.

4. The method according to claim 1, characterized in that, The touch operation is a click operation; The step of obtaining the map view corresponding to the view control in response to a touch operation applied to the view control includes: In response to a first click operation applied to the view control, the map view corresponding to the view control corresponding to the first click operation is obtained; The step of switching the map view displayed in the graphical user interface to the default map view after the touch operation applied to the view control ends includes: In response to a second click operation applied to the view control, the map view displayed in the graphical user interface is switched to the default map view.

5. The method according to claim 1, characterized in that, The touch operation is a long press operation; The step of obtaining the map view corresponding to the view control in response to a touch operation applied to the view control includes: In response to a long press operation applied to the view control, the map view corresponding to the view control corresponding to the long press operation is obtained; The step of switching the map view displayed in the graphical user interface to the default map view after the touch operation applied to the view control ends includes: When the long press operation ends, the map view displayed in the graphical user interface is switched to the default map view.

6. A display device for map view in a game, characterized in that, The device displays a game scene via a graphical user interface, the game scene including a portion of the game map, and includes: The first response module is used to respond to touch operations applied to the view control and obtain the map view corresponding to the view control; wherein, the view control is a control that the player pre-places in the game map to obtain the view of a preset position, and the map view corresponding to the view control is the view within a preset distance range from the view control in the game map; the view control is used as a game item, and the game item is won by the player during the game or purchased with virtual coins in the game; The display module is used to display the map view corresponding to the view control in the graphical user interface; The second response module is used to respond to the end of the touch operation applied to the view control and switch the map view displayed in the graphical user interface to the default map view. The device further includes: The placement module is used to respond to a view control placement operation performed on a preset position in the game map, place the view control at the position corresponding to the view control placement operation; and mark the position of the view control in the scene map displayed in the floating window, and display the identifier of the view control at the corresponding position in the floating window. The first response module is further configured to respond to a touch operation on the identifier of the view control displayed at the position corresponding to the floating window; and to obtain the map view of the view control corresponding to the identifier; The placement module is further configured to, if there are multiple view controls, generate identifiers for the view controls sequentially according to their placement order, and display the identifiers of the view controls in a preset order at the corresponding positions of the floating window; and, in response to a drag operation applied to the identifiers of the view controls, change the order of the identifiers of the multiple view controls based on the drag operation.

7. An electronic device, characterized in that, The method includes a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when invoked and executed by a processor, cause the processor to perform the method described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Visual field area display method and device, storage medium and computer equipment

    CN112473134A

  • Game view field control method, mobile terminal and computer readable storage medium

    CN112604281A

  • Game scene jumping method and device, electronic equipment and storage medium

    CN112774192A