Game control method and device, electronic equipment and computer readable storage medium
By using scene abbreviation floating windows and real-time update technology in the game, the problem of game scenes being blocked is solved, and the player's gaming experience and strategy formulation capabilities are improved.
Patent Information
- Application Number
- CN202410961564.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-15
AI Technical Summary
In the game, when the player opens the backpack interface or other interfaces that occupy a large space, the game scene will be blocked, making it difficult for players to pay attention to whether there are enemies in the blocked area, affecting the game experience.
By displaying the scene thumbnail floating window in the graphical user interface, monitoring the game progress and updating the thumbnail game scene in real time, ensuring that players can pay attention to changes in the game scene in real time even when the interface is blocked.
It effectively reduces the negative impact of the game scene being blocked, and improves players' gaming experience and strategy formulation capabilities.
Smart Images

Figure CN118949419A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to a game control method, device, electronic device, and computer-readable storage medium. Background Art
[0002] In some games, when players open the backpack interface or other interfaces that occupy a large amount of space on the game interface, the originally displayed game scene will be blocked. Players cannot see whether there are enemies in the blocked game scene and are easily attacked by the enemy.
[0003] In the related art, a small map can be displayed in the game interface, and the scene layout around the player can be displayed on the small map. When the enemy approaches, the enemy's location can be prompted by displaying footprints on the small map. However, in some games, when the backpack interface is opened, the small map and the game scene are blocked at the same time, making it impossible for the player to always pay attention to whether there are enemies in the blocked area. Alternatively, in some related technologies, the transparency of the backpack interface can be adjusted when it is displayed to reduce the occlusion of the game scene by the backpack interface, but this method makes it easy for the display of game props and the display of elements in the game scene to overlap, resulting in poor visual effects and inconvenient operation for players.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] In view of this, the present application provides an interactive control method, device, electronic device and computer-readable storage medium in the game, which can assist players in browsing the global game scene when the game scene is blocked by a large area, reduce the negative impact of the blocked game scene, and enhance the player's gaming experience.
[0006] In a first aspect, an embodiment of the present application provides a method for controlling a game, wherein a graphical user interface is provided through a terminal device; the method comprises:
[0007] Displaying a game scene through the graphical user interface, wherein the game scene includes a first virtual character controlled by the terminal device;
[0008] In response to a viewing instruction for a first element, determining an interface size of a first interface for displaying the first element;
[0009] If the interface size of the first interface accounts for an area of the graphical user interface that is equal to or greater than a first preset ratio, the first interface is displayed in the graphical user interface and a scene thumbnail floating window is generated; the display level of the first interface is higher than the display level of the game scene; the scene thumbnail floating window displays a thumbnail game scene obtained by shrinking the game scene according to a second preset ratio;
[0010] The running progress of the virtual game is monitored, and the thumbnail game scene displayed in the scene thumbnail floating window is updated and displayed according to the monitoring result.
[0011] In a second aspect, an embodiment of the present application provides a game control device, which provides a graphical user interface through a terminal device; the device includes: a display unit, a determination unit, and an update unit;
[0012] The display unit is used to display a game scene through the graphical user interface, wherein the game scene includes a first virtual character controlled by the terminal device;
[0013] The determining unit is used to determine the interface size of the first interface for displaying the first element in response to the viewing instruction for the first element;
[0014] The display unit is further configured to display the first interface in the graphical user interface and generate a scene thumbnail floating window if the interface size of the first interface accounts for an area of the graphical user interface that is equal to or greater than a first preset ratio; the display level of the first interface is higher than the display level of the game scene; and the scene thumbnail floating window displays a thumbnail game scene obtained by reducing the game scene according to a second preset ratio;
[0015] The updating unit is used to monitor the running progress of the virtual game and update the thumbnail game scene displayed in the scene thumbnail floating window according to the monitoring result.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0017] Processor; and
[0018] The memory is used to store a data processing program. After the electronic device is powered on and the program is run by the processor, the method of the first aspect is executed.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a data processing program, which is executed by a processor to perform the method of the first aspect.
[0020] The game control method provided by the present application provides a graphical user interface through a terminal device; the graphical user interface of the virtual game is displayed through the graphical user interface, and the graphical user interface at least includes a game scene, which is a currently visible part of the game map of the virtual game. The game scene includes a first virtual character controlled by a terminal device; in response to a viewing instruction for a first element, determining an interface size of a first interface for displaying the first element, that is, determining the size of the space occupied by the first interface in a graphical user interface; wherein the display level of the first interface is higher than the display level of the game scene; it can be understood that the first element refers to some visual elements of the virtual game, elements used to help players advance the game process, such as prop elements, map elements, animation special effect elements, control elements, character identification elements, etc.; after determining the interface size of the first interface, judging whether the area ratio of the interface size of the first interface in the graphical user interface is equal to or greater than a first preset ratio, if it is equal to or greater than the first preset ratio, it indicates that the first interface occupies a large space in the graphical user interface and covers a wide area of the game scene. In this case, the first interface is displayed in the graphical user interface and a scene thumbnail floating window is generated, and the thumbnail game scene obtained by shrinking the game scene according to a second preset ratio is displayed in the scene thumbnail floating window; monitoring the background running progress of the virtual game, and updating the thumbnail game scene displayed in the scene thumbnail floating window according to the monitoring result.
[0021] It can be seen that when the first interface, which occupies a relatively large display area in the graphical user interface, is displayed, a scene thumbnail floating window is displayed, and the scene thumbnail floating window is configured to display a thumbnail game scene after the game scene is limited, and to monitor the background running progress of the virtual game in real time, especially the changes in the game scene, and to update the thumbnail game scene in the scene thumbnail floating window in real time based on the monitoring results; in this way, even if the game scene is blocked by the first interface, the player can also pay attention to and control the changes in the game scene in real time through the scene thumbnail floating window, reduce the negative impact of the blocked game scene, enhance the player's gaming experience, and thus formulate appropriate gaming strategies to improve the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0023] Figure 1 This is a schematic diagram of an interface display in the related art;
[0024] Figure 2It is another example of an interface display schematic diagram in the related art;
[0025] Figure 3 A schematic diagram of a game system for implementing a game control method provided in an embodiment of the present application;
[0026] Figure 4 A flowchart of an example of a method for controlling a game provided in an embodiment of the present application;
[0027] Figure 5 A schematic diagram of an interface display example of a scene thumbnail floating window provided in an embodiment of the present application;
[0028] Figure 6 A schematic diagram of an example interface display of prompt information provided in an embodiment of the present application;
[0029] Figure 7 A schematic diagram of an interface display example of closing the first interface and deleting the scene thumbnail floating window provided in an embodiment of the present application;
[0030] Figure 8 A schematic diagram of another example of an interface display for closing the first interface and deleting the scene thumbnail floating window provided in an embodiment of the present application;
[0031] Fig. 9 A schematic diagram of an interface display example of a deletion scene thumbnail floating window provided in an embodiment of the present application;
[0032] Fig.10 A schematic diagram of another example of an interface display of a deletion scene thumbnail floating window provided in an embodiment of the present application;
[0033] Fig.11 A schematic diagram of an interface display example of a global deletion scene thumbnail floating window provided in an embodiment of the present application;
[0034] Fig.12 A schematic diagram of an example of an interface display in which a scene thumbnail floating window provided in an embodiment of the present application is completely overlapped with the first interface;
[0035] Fig.13 A schematic diagram of an example of an interface display in which a scene thumbnail floating window provided in an embodiment of the present application is partially overlapped with a first interface;
[0036] Fig.14 A schematic diagram of an interface display example of a mobile scene thumbnail floating window provided in an embodiment of the present application;
[0037] Fig.15 A schematic diagram of an interface display example of the display size of the zoomed-in scene thumbnail floating window provided in an embodiment of the present application;
[0038] Fig.16A schematic diagram of the structure of a game control device provided in an embodiment of the present application;
[0039] Fig.17 A structural block diagram of an electronic device for implementing a game control method is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0040] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0041] It should be noted that the terms "first", "second", "third", etc. in the claims, description and drawings of the present application are used to distinguish similar objects and are not used to describe a specific order or sequence. The data used in this way are interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including", "having" and their variants are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0042] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" is merely a way to describe the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "Including A, B and / or C" means including any one, any two, or any three of A, B, and C.
[0043] It should be understood that in the embodiments of the present application, "B corresponding to A", "B corresponding to A", "A corresponds to B", or "B corresponds to A" means that B is associated with A, and B can be determined according to A. Determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0044] Before describing the implementation methods of the present application in detail, the related technologies are first further introduced.
[0045] In related technologies, such as Figure 1 As shown, Figure 1A graphical user interface 100 is provided, in which a game scene A photographed by a virtual camera at a current viewing angle and a thumbnail map panel 11 are displayed, and a virtual character 10 is displayed in the game scene A. The thumbnail map panel 11 displays a zoomed-in bird's-eye view of the game scene near the virtual character 10. Through the thumbnail map panel 11, the player can quickly view the layout of the game scene near the virtual character 10 and the current position and direction of the virtual character 10. In addition, when the virtual character of the enemy camp approaches the virtual character 10, the position of the virtual character of the enemy camp can be marked by displaying a footprint mark in the thumbnail map panel 11.
[0046] Based on the graphical user interface 100, when the player opens the backpack interface, the backpack interface will block the originally displayed game scene, that is, the graphical user interface 100 is switched to the graphical user interface 101, and the backpack interface 12 is displayed in the graphical user interface 101. The backpack interface 12 blocks most of the game scene A, and the backpack interface 12 also blocks the thumbnail map panel 11. In this way, the player cannot see whether there are enemies in the blocked game scene, nor can he check whether there are enemies in the surrounding game scenes through the thumbnail map panel 11. That is, when the backpack interface 12 blocks the game scene, the player's field of vision is blocked and it is easy to misjudge information, resulting in easy sneak attacks by the enemy. In addition, excessive interface blocking will interrupt the player's immersion and reduce the player's gaming experience.
[0047] Alternatively, in some related technologies, the transparency of the backpack interface can be adjusted to reduce the occlusion of the game scene by the backpack interface. However, this method makes it easy for the display of game props and the display of elements in the game scene to overlap, resulting in poor visual effects and inconvenient operation for players. Figure 2 As shown, in the graphical user interface 102, the backpack interface 12 can be set to be semi-transparent to keep the game scene visible, so that the player can view the changes in the game scene through the backpack interface 12. However, this method easily causes the elements in the backpack interface 12 and the elements in the game scene to overlap, which easily causes visual interference to the player, has low readability, and reduces the player's visual experience.
[0048] Based on the above-mentioned problems, the embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for interactive control in a game.
[0049] The control method of the game provided in the embodiment of the present application can be performed by an electronic device, which can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, or a laptop computer. The server can be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (such as software or software modules for providing distributed services), or it can be implemented as a single software or software module. The embodiment of the present application does not specifically limit this.
[0050] In an optional specific embodiment, when the game control method is run on a terminal device, the terminal device stores a game application and a game virtual scene. The terminal device interacts with the player through a graphical user interface. The 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 device, or the graphical user interface may be presented through holographic projection.
[0051] In an optional specific embodiment, when the control method of the game runs on the server, the method can be implemented and executed based on the cloud game system. The cloud game system refers to a game method based on cloud computing. The cloud game system includes a server and a client device. The running body of the game application and the game screen presentation body are separated, and the storage and operation of the game control method are completed on the server. The game screen presentation is completed on the client, and the client is mainly used for receiving and sending game data and presenting the game screen. For example, the client can be a display device with data transmission function close to the player side, such as a mobile terminal, a TV, a computer, a handheld computer, a personal digital assistant, a head-mounted display device, etc., but the terminal device for processing game data is a server in the cloud. When playing the game, the player operates the client to send instructions to the server, and the server controls the running of the game according to the instructions, encodes and compresses the game screen and other data, and returns it to the client through the network. Finally, the client decodes and outputs the game screen.
[0052] It should be noted that in the embodiments of the present application, the execution subject of the game control method can be a terminal device or a server, wherein the terminal device can be a local terminal device or a client device in the aforementioned cloud game. The embodiments of the present application do not limit the type of the execution subject.
[0053] For example, in combination with the above introduction, Figure 3 A game system 1000 for implementing a game control method provided by an embodiment of the present application is shown. The game system 1000 may include at least one terminal 1001, at least one server 1002, at least one database 1003, and a network. The terminal 1001 held by the player can be connected to the servers of different games through the network. The terminal is any device with computing hardware that can support and execute software application tools corresponding to the game.
[0054] In the above-mentioned game system 1000, the terminal 1001 is used to install and run the game application. In some cases, the game application may not be installed in advance in the terminal 1001, and the player can directly access the game through a client such as a browser. The player uses the registered game account to log in to the game application, and can control the virtual character corresponding to the game account to participate in the game. When the player logs in to the game application, the terminal 1001 will send a login request to the server 1002, and the server 1002 will verify the game account used by the player. At the same time, the server 1002 determines the game mechanism corresponding to the game account according to the login request, and the verification will return a login success notification to the terminal 1001. In the process of the player participating in the game through the game application, the terminal 1001 and the server 1002 interact with each other, and the terminal 1001 sends various information to the server 1002. The server 1002 determines the display data of the terminal 1001 according to the stored game mechanism (such as the control method of the game provided in this application) and the received information, and sends the display data to the terminal 1001, so as to display the display data sent by the server 1002 to the player through the terminal 1001.
[0055] In possible application scenarios, different terminals 1001 may be served by different servers 1002. Therefore, in order to distinguish the servers 1002 corresponding to different game terminals 1001, the first and second methods will be used for description when involved in the embodiments of the present application. In fact, the servers 1002 corresponding to different game terminals 1001 may be the same server 1002. Therefore, without distinguishing between the first and the second, it can be understood that the terminals 1001 corresponding to the virtual characters in the same game scene are served by the same server 1002.
[0056] In addition, when the game system 1000 includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals can also use their own Bluetooth network or hotspot network to connect to other terminals or to servers, etc. In addition, the game system 1000 may include multiple databases, multiple databases are coupled to different servers, and game-related information can be continuously stored in the database when different players play multi-player games online.
[0057] It should be noted that Figure 3 The game system diagram shown is only an example. The game system 1000 described in the embodiment of the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can know that with the evolution of the game system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
[0058] It should be noted that the operations that appear in the subsequent detailed introduction of the game control method provided in the embodiment of the present application can all be regarded as operations performed by the player through fingers or controlling a medium such as a mouse, keyboard, or stylus. The specific medium to be used can be determined according to the type of electronic device. For example, when the electronic device is a touch screen device such as a mobile phone, a tablet computer, or a game console, the player can operate on the touch screen through any suitable object or accessory such as a finger or stylus. When the terminal device is a non-touch screen terminal device such as a desktop computer or a laptop computer, the player can operate through an external device such as a mouse or keyboard.
[0059] The technical solution of the present application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0060] like Figure 4 As shown, Figure 4 This is a flowchart of an example of a method for controlling a game provided in an embodiment of the present application. It should be noted that the steps shown may be performed in a logical order different from that shown in the flowchart of the method. The method may include the following steps S210 to S240.
[0061] Step S210: Displaying a game scene through a graphical user interface, where the game scene includes a first virtual character controlled by a terminal device.
[0062] In an embodiment of the present application, a graphical user interface is provided through a terminal device. The graphical user interface is a visual representation and operation interface for players to interact with virtual games, which includes game scenes of the virtual game as well as control components, social elements, etc. for displaying the style of the game world and information for guiding user operations.
[0063] In a graphical user interface, multiple interface contents to be displayed are usually presented in layers. Layers refer to a layered display method in a graphical user interface. Different interface contents can be placed on different layers to better control the display and hiding of each interface content. For example, the game scene can be placed on the scene layer, that is, the scene layer is mainly used to render the game world and the objects therein, including characters, environments, dynamic elements, etc. The display of various UI (User Interface) elements is placed on the UI layer. For example, UI elements can include but are not limited to various operation controls, information panels for displaying various game information (such as chat interfaces, character status panels, etc.), game thumbnail maps, and other elements. Since UI elements are interface elements for players to interact with games, generally, the display level of the UI layer where UI elements are placed is higher than the scene layer of the game scene. That is, the display level of each UI element is higher than the display level of the scene screen.
[0064] Among them, the game scene can be understood as a scene in which the player controls the virtual character to complete the game logic. It can be a simulation environment of the real world in the game, a semi-simulation and semi-fictional virtual environment, or a purely fictional virtual environment. The game scene can be any of a two-dimensional game scene, a 2.5-dimensional game scene, and a three-dimensional game scene. A game scene can usually include multiple scene elements, and a scene element refers to each element required to constitute the game scene. For example, it can include but is not limited to at least one of the following: a virtual character element, a virtual item element, a virtual building element, a virtual terrain element, a virtual vegetation element, etc. Among them, virtual terrain elements can include but are not limited to natural landform elements such as land, oceans, lakes, and rivers.
[0065] In this embodiment, the game scene displayed in the above-mentioned graphical user interface is a part or all of the virtual scene of the virtual game, and the game scene displayed in the graphical user interface is the virtual scene within the field of vision of the first virtual character.
[0066] Generally speaking, in a first-person game, the virtual camera that shoots the game scene can be set at a certain position of the virtual character controlled by the player (such as the head of the virtual character), and the virtual camera moves with the movement of the virtual character, and the direction of the virtual camera rotates with the rotation of the virtual character, that is, the shooting angle of the virtual camera is consistent with the direction of the virtual character, so the game scene is a part of the game scene within a preset range in front of the virtual character. In a third-person game, the virtual camera can be set directly above or above the back of the virtual character controlled by the player, so the game scene is a part of the game scene including the virtual character.
[0067] It should be noted that, in the embodiment of the present application, the virtual game is a third-person game, and the game scene displayed through the graphical user interface may be a game scene captured by a virtual camera when shooting a virtual character controlled by a player, and the entire virtual character controlled by the player is displayed in the game scene.
[0068] That is, in this embodiment, the first virtual character is a model in the game that represents the image of the player controlling the terminal device providing the graphical user interface in the game, and the model can be a three-dimensional virtual model or a two-dimensional virtual model, which is not specifically limited in this embodiment. The first virtual character includes but is not limited to at least one of a virtual person, a virtual animal, a virtual machine, a virtual building, and a virtual plant.
[0069] It should be noted that in the embodiments of the present application, there is no restriction on whether the terminal device providing the graphical user interface is placed horizontally or vertically, that is, there is no specific restriction on whether the virtual game is a horizontal screen game or a vertical screen game. In this embodiment, the virtual game is a horizontal screen game, and the terminal device is placed horizontally as an example to introduce the solution. However, it does not mean that the game control method provided in this application is not applicable to vertical screen games. The game control method provided in this application can be applied to horizontal screen games and vertical screen games, that is, the operation mode set in the virtual game and the corresponding game logic are consistent in horizontal screen games and vertical screen games, and there are only slight differences in the layout of the interface elements in the graphical user interface.
[0070] It is understandable that the above virtual game can be any type of game, for example, it can be a first-person shooting (First-person shooting, FPS) game, a multiplayer online tactical competitive (Multiplayer Online Battle Arena, MOBA) game, etc.
[0071] Step S220: In response to the viewing instruction for the first element, determine the interface size of the first interface for displaying the first element.
[0072] The first element refers to some visual elements of the virtual game, which are used to help players advance the game process, such as prop elements, map elements, animation special effect elements, control elements, character identification elements, etc. Usually, the visual elements in the game can be displayed as a set on the graphical user interface, and different element sets correspond to different display interfaces, such as: prop elements can be displayed in the backpack interface, and map elements can be displayed in the map display interface. In this embodiment, the above-mentioned first interface is the UI interface for displaying the first element.
[0073] It is understandable that, in general, the size of the first interface used to display the first element in the game is a preset size, and the interface size of the first interface can be smaller than or equal to the interface size of the graphical user interface. When the interface size of the first interface is smaller than the interface size of the graphical user interface, it means that the first interface occupies part of the space in the graphical user interface; if the interface size of the first interface is equal to or larger than the interface size of the graphical user interface, it means that the first interface is displayed in full screen in the graphical user interface. This embodiment does not specifically limit the display size relationship between the first interface and the graphical user interface.
[0074] The viewing instruction for the first element is a processing instruction for displaying the first element in the graphical user interface. In this embodiment, the viewing instruction can be generated in the following exemplary manner. It should be noted that the following methods are only examples and do not constitute a limitation on the generation of the viewing instruction in the embodiments of the present application.
[0075] Example 1: In response to a viewing operation on the first element, a viewing instruction for the first element is generated.
[0076] Example 2: In response to the current game progress reaching a preset game progress, a viewing instruction for the first element is generated.
[0077] The following is a detailed description of Example 1 and Example 2.
[0078] For the above example 1, a viewing control may be displayed in the graphical user interface, and the viewing operation on the first element is a triggering operation on the viewing control. The viewing operation may include, but is not limited to, contact operations such as a click operation, a press operation, and a slide operation on the viewing control. For example, a backpack control is displayed in the graphical user interface, and in response to a click operation on the backpack control, a viewing instruction for a prop element may be generated.
[0079] Alternatively, when no viewing control is displayed in the graphical user interface, the preset trigger operation can be determined as a viewing operation for the first element, such as: non-contact operations such as air gesture operations and voice command operations; shortcut key operations; contact operations for specific areas, etc. This embodiment does not specifically limit the viewing operation.
[0080] For the above example 2, the example 2 is that the viewing instruction of the first element can be automatically generated when the game progress reaches the preset progress without the player performing the corresponding trigger operation. For example, when the player passes a certain level in the game, the viewing instruction of the first element is generated.
[0081] Step S230: If the interface size of the first interface accounts for an area ratio in the graphical user interface that is equal to or greater than a first preset ratio, the first interface is displayed in the graphical user interface and a scene thumbnail floating window is generated; the display level of the first interface is higher than the display level of the game scene; and the scene thumbnail floating window displays a thumbnail game scene obtained by shrinking the game scene according to a second preset ratio.
[0082] In this embodiment, after the interface size of the first interface is determined, the area ratio of the interface size of the first interface in the graphical user interface is determined through step S230, that is, the space occupied by the first interface in the graphical user interface is determined. Specifically, the area ratio is the ratio of the interface size of the first interface to the interface size of the graphical user interface, and the ratio can include any value between 0 and 1. When the ratio is 1, it indicates that the interface size of the first interface is the same as the interface size of the graphical user interface, that is, the first interface is displayed in full screen in the graphical user interface; when the ratio is 0, it indicates that the first interface does not exist.
[0083] The above-mentioned first preset ratio can be a preset threshold value of the area ratio. If the area ratio is equal to or greater than the first preset ratio, it indicates that the first interface occupies a larger space in the graphical user interface and covers a wider area of the game scene. In this case, the first interface is displayed in the graphical user interface and a scene thumbnail floating window is generated, that is, the first interface and the scene thumbnail floating window are displayed in the graphical user interface at the same time.
[0084] If the area ratio is less than the first preset ratio, it indicates that the first interface occupies a small space in the graphical user interface and covers a small area of the game scene. In this case, only the first interface is displayed in the graphical user interface without displaying the scene thumbnail floating window.
[0085] For example, the first preset ratio can be set to 1 / 3, that is, when the area of the first interface in the graphical user interface is less than 1 / 3, it indicates that the first interface blocks a smaller area of the game scene; when the area of the first interface in the graphical user interface is equal to or greater than 1 / 3, it indicates that the first interface blocks a larger area of the game scene.
[0086] The scene thumbnail floating window is a UI window for displaying a thumbnail game scene that is reduced in size according to a second preset ratio. After the game scene is blocked by the first interface, the player can follow the changes of the game scene by displaying the thumbnail game scene in the scene thumbnail floating window.
[0087] The second preset ratio is a reduction coefficient for reducing the game scene, and the second preset ratio can be calculated according to the size of the scene thumbnail floating window and the size of the graphical user interface. Alternatively, the game scene is reduced according to the preset ratio, and a scene thumbnail floating window matching the size of the reduced game scene is displayed.
[0088] The specific value of the second preset ratio is not specifically limited in this embodiment. The above-mentioned generation of a scene thumbnail floating window in a graphical user interface can be understood as a process of generating a scene thumbnail floating window in a layer of the graphical user interface and making it visual.
[0089] Optionally, when displaying the thumbnail game scene in the scene thumbnail floating window, at least some of the specified UI controls can also be displayed. For example, all or part of the UI controls originally displayed in the graphical user interface can be displayed in the scene thumbnail floating window. It is understandable that when only the thumbnail game scene is displayed in the scene thumbnail floating window, the player's focus can be kept on the changes in the game scene, reducing the impact of each UI control on the changes in the game scene.
[0090] The above display level is the display priority of each layer in the graphical user interface, and a layer with a higher display level can block a layer with a lower display level. In this embodiment, the display level of the first interface is higher than the display level of the game scene, that is, the first interface is displayed over the game scene. In other words, the first interface blocks the game scene.
[0091] Optionally, the display position between the scene thumbnail floating window and the first interface may include one or more of the following: the display level of the scene thumbnail floating window is higher than the display level of the first interface; the scene thumbnail floating window and the first interface at least partially overlap or do not overlap; when the scene thumbnail floating window and the first interface do not overlap, the display level of the scene thumbnail floating window and the first interface is the same.
[0092] That is, regardless of whether the scene thumbnail floating window overlaps with the first interface, the scene thumbnail floating window can cover the first interface and block the first interface; and when the scene thumbnail floating window does not overlap with the first interface, the display levels of the two can be the same.
[0093] Step S240: monitor the running progress of the virtual game, and update the thumbnail game scene displayed in the scene thumbnail floating window according to the monitoring result.
[0094] The purpose of step S240 is to update the thumbnail game scene displayed in the thumbnail floating window according to the running progress of the virtual game. That is, the thumbnail floating window can monitor the entire background interface of the virtual game, for example, monitor the position information of the enemy character belonging to a different camp from the first virtual character in the game scene.
[0095] In a specific embodiment, step S240 can be implemented through the following step S241.
[0096] Step S241: In response to monitoring that the second virtual character enters the game scene, the second virtual character is displayed in the scene thumbnail floating window.
[0097] That is, when it is monitored that the position information of the second virtual character is within the scope of the above-mentioned game scene, that is, when the second virtual character enters the field of vision of the first virtual character, the thumbnail game scene displayed in the scene thumbnail floating window is updated, that is, the second virtual character is displayed in the thumbnail game scene. In this way, even if the first interface and the scene thumbnail floating window block the original game scene, the local character that enters the field of vision of the first virtual character can be displayed in the thumbnail game scene displayed in the scene thumbnail floating window, thereby ensuring that the player is in control of the situation in real time and reducing the negative impact caused by the blocking of the game scene.
[0098] In this specific embodiment, the first and second virtual characters are used to distinguish different virtual characters, but the relationship between the first virtual character and the second virtual character is not limited. The first virtual character and the second virtual character can belong to the same camp or different camps. It can be understood that the second virtual character can be a player character controlled by a player or a non-player character. This embodiment is not specifically limited.
[0099] It can be seen that when the first interface occupies a relatively large area in the graphical user interface, a scene thumbnail floating window is displayed. The scene thumbnail floating window is configured to display a thumbnail game scene after the game scene is limited, and to monitor the running progress of the virtual game in real time, especially the changes in the game scene, and to update the thumbnail game scene in the scene thumbnail floating window in real time based on the monitoring results; in this way, even if the game scene is blocked by the first interface, the player can also pay attention to and control the changes in the game scene in real time through the scene thumbnail floating window, so as to formulate appropriate game strategies and improve the player's gaming experience.
[0100] Next, combine Figure 5 And a specific example is given to describe the above steps S210 to S240 in detail.
[0101] It should be noted that the game props described in this specific example are an example of the first element described above; the backpack interface is an example of the first interface described above; the click operation on the backpack control is an example of the viewing operation on the first element described above;
[0102] like Figure 5 As shown, in the graphical user interface 300, a game scene A shot by a virtual camera at the current viewing angle and a backpack control 11 are displayed, and a first virtual character 10 is displayed in the game scene A. When the player applies a click operation to the backpack control 11, in response to the click operation, a viewing instruction for the game props currently owned by the first virtual character 10 is generated, and in response to the viewing instruction, the interface size of the backpack interface for displaying the game props is determined. Assume that the area of the backpack interface in the graphical user interface provided by the terminal device accounts for 2 / 3, and the first preset ratio is 1 / 3, that is, the area of the backpack interface in the graphical user interface provided by the terminal device accounts for more than the first preset ratio. Then the graphical user interface 300 can be switched to display as a graphical user interface 301, and the backpack interface 12 is displayed in the graphical user interface 301, and a scene thumbnail floating window 13 is generated.
[0103] The scene thumbnail floating window 13 displays a thumbnail game scene that is reduced according to a second preset ratio for the game scene A shot by the virtual camera at the current viewing angle. Comparing the thumbnail game scene displayed in the scene thumbnail floating window 13 with the graphical user interface 300, it can be seen that the backpack control 11 displayed in the graphical user interface 300 can be hidden in the scene thumbnail floating window 13, so that the player can intuitively follow the changes in the game scene A.
[0104] Assuming that the second virtual character outside the game scene A enters the game scene A, in response to the game event, the graphical user interface 301 can be switched to the graphical user interface 302. That is, when the second virtual character 14 enters the game scene A, in addition to displaying the second virtual character 14 in the game scene A, the second virtual character 14 also needs to be displayed in the thumbnail game scene displayed in the scene thumbnail floating window 13, that is, when the elements in the game scene A change, the thumbnail game scene is updated in real time to reduce the negative impact caused by the backpack interface 12 blocking the game scene A.
[0105] Below, the game control method provided by the present application is further described in combination with some optional embodiments and specific embodiments.
[0106] In some optional embodiments, the game control method provided in the present application also includes the following step S250.
[0107] Step S250: responding to the closing instruction for the first interface, closing the first interface and deleting the scene thumbnail floating window.
[0108] The above-mentioned closing instruction for the first interface refers to a processing instruction for making the first interface invisible in the graphical user interface. That is, in response to the closing instruction, the first interface can be closed to make the first interface invisible.
[0109] The above-mentioned deleting the scene thumbnail floating window refers to removing the scene thumbnail floating window from the graphical user interface, so that the scene thumbnail floating window is invisible and does not occupy system resources and no longer affects the layout of the graphical user interface.
[0110] In this embodiment, in response to a close instruction for the first interface, the first interface and the scene thumbnail floating window are simultaneously made invisible.
[0111] In an optional specific embodiment, the above-mentioned closing instruction for the first interface can be generated by a trigger of the player, or can be automatically generated in response to a certain game event.
[0112] In the embodiment of the present application, the above step S250 can be implemented specifically in the following exemplary manner.
[0113] The first type: in response to a closing operation on the first interface, a closing instruction for the first interface is generated; in response to the closing instruction for the first interface, the first interface is closed and the scene thumbnail floating window is deleted.
[0114] The second type: when certain conditions are met, in response to a delete operation on the scene thumbnail floating window, a close instruction for the first interface is generated.
[0115] The third method: in response to the second virtual character entering the game scene covered by the first interface from the boundary area where the first boundary and the second boundary overlap, a closing instruction for the first interface is generated; the second virtual character and the first virtual character belong to different camps. In response to the closing instruction for the first interface, the first interface is closed and the scene thumbnail floating window is deleted.
[0116] The following describes in detail the above-mentioned methods of generating the close instruction.
[0117] In some optional specific embodiments, the above step S250 can be specifically implemented through the following steps S251 to S252, that is, the first method mentioned above.
[0118] Step S251: In response to a closing operation on the first interface, a closing instruction for the first interface is generated.
[0119] Step S252: responding to the close instruction for the first interface, closing the first interface and deleting the scene thumbnail floating window.
[0120] That is, in this embodiment, the player needs to perform a corresponding trigger operation to close the first interface. Specifically, the closing operation for the first interface may include but is not limited to: a trigger operation for closing controls, a shortcut key operation, a voice command operation, an air gesture operation, a click operation in a blank area of a graphical user interface, etc.
[0121] Among them, a close control for closing the first interface is displayed in the first interface, and the triggering operation for the close control may include but is not limited to a click operation, a press operation, a slide operation, etc. on the close control.
[0122] In this specific embodiment, the player can independently choose whether to apply a closing operation to close the first interface, which can enhance the player's sense of ownership.
[0123] In some optional embodiments, the game control method provided by the present application may further include the following step 260.
[0124] Step S260: In response to the distance between the second virtual character and the scene boundary of the game scene displayed in the graphical user interface being less than or equal to a preset distance, a prompt message is displayed in the scene thumbnail floating window, where the prompt message is used to indicate the position information of the second virtual character in the game scene; the second virtual character and the first virtual character belong to different camps.
[0125] That is, the purpose of step S260 is to display a prompt message in advance in the scene thumbnail floating window when the second virtual character belonging to a different camp from the first virtual character approaches the game scene and has not entered the game scene. The prompt message is used to prompt the location information of the second virtual character. For example, the player can be prompted with information such as the location of the second virtual character and the distance to the game scene. The player can formulate relevant game strategies in advance based on the prompt message. It should be noted that in a preferred embodiment, when the prompt message is displayed, only the prompt message of the location information of the second virtual character belonging to a different camp from the first virtual character is displayed.
[0126] The scene boundary of the game scene is the scene boundary of the game scene currently displayed on the graphical user interface. It should be noted that no matter from which direction the second virtual character approaches the boundary of the game scene, as long as the distance between the second virtual character and the boundary of the game scene is less than or equal to the preset distance, a prompt message can be displayed in the scene thumbnail floating window.
[0127] The above-mentioned preset distance is a distance value preset for triggering the display of prompt information, and the specific value is not specifically limited in this embodiment.
[0128] The above prompt information may include but is not limited to: displaying a prompt mark at the corresponding position of the scene thumbnail floating window, that is, the position of the second virtual character can be determined by the prompt mark and the display position; coordinate description information of the position of the second virtual character; distance information between the position of the second virtual character and the position of the first virtual character, etc. In a specific embodiment, the above prompt mark may be a footprint mark.
[0129] Next, combine Figure 6 And a specific example, a specific example of the game control method provided by the present application is described in detail. Figure 6 The display of the footprint mark on the left side of the scene thumbnail floating window involved in the above is a specific example of displaying the prompt information in the scene thumbnail floating window described above.
[0130] like Figure 6 As shown, based on the graphical user interface 301, when the second virtual character 14 approaches the game scene from the left, the distance between the second virtual character 14 and the scene boundary of the game scene A is detected in real time. When the distance is less than or equal to the preset distance (not entering the game scene A), a prompt message is displayed in the scene thumbnail floating window, that is, the graphical user interface 301 is switched to the graphical user interface 303, and a footprint mark is displayed on the left side of the scene thumbnail floating window 13 displayed in the graphical user interface 303. When the footprint mark is displayed on the left side of the scene thumbnail floating window 13, it indicates that the second virtual character 14 is approaching the game scene A from the left side of the first virtual character 10.
[0131] In some optional embodiments, the above step S250 can also be specifically implemented through the following step T251, that is, the above second method.
[0132] Step T251: When the prompt information is displayed, in response to a delete operation on the scene thumbnail floating window, a close instruction for the first interface is generated.
[0133] That is, in this embodiment, generating a close instruction for the first interface requires satisfying two conditions: 1. displaying the prompt information; 2. the player performs a delete operation on the scene thumbnail floating window. In other words, if the prompt information described above is not displayed in the scene thumbnail floating window, even if it is detected that the player performs a delete operation on the scene thumbnail floating window, a close instruction for the first interface will not be generated.
[0134] It can be understood that the step S251 described above can generate a closing instruction for the first interface by performing a closing operation on the first interface; and in this step T251, when displaying the prompt information, a closing instruction for the first interface can also be generated by deleting the scene thumbnail floating window.
[0135] That is, in this embodiment, a generation method different from the method of generating a close instruction described above is provided to the player. The player can choose to perform a close operation or a delete operation according to the game situation, so that the player can quickly clear the overlay interface above the game scene in different ways to improve the field of vision.
[0136] Among them, the above-mentioned deletion operation on the scene thumbnail floating window can be understood as an operation to make the scene thumbnail floating window displayed in the graphical user interface invisible, and the deletion object of the deletion operation only includes the scene thumbnail floating window, and does not include the first interface; in this embodiment, only under the premise that the prompt information is displayed in the scene thumbnail floating window, when the player applies the deletion operation on the scene thumbnail floating window, the scene thumbnail floating window and the first interface can be made invisible at the same time.
[0137] In this embodiment, the deletion operation for the scene thumbnail floating window may include but is not limited to: clicking, pressing, and sliding operations on the display area of the scene thumbnail floating window; clicking, pressing, and sliding operations on the close control displayed in the scene thumbnail floating window; adjusting the thumbnail window control displayed in the first interface that is in an open state to a closed state, etc. The specific deletion operation is not specifically limited in this embodiment.
[0138] It should be noted that the click operation, press operation, and slide operation on the display area of the scene thumbnail floating window, as well as the click operation, press operation, and slide operation on the close control displayed in the scene thumbnail floating window can be regarded as temporary deletion operations. If the first interface or the second interface with a larger obstruction area is opened again, the scene thumbnail floating window can be displayed at the same time as the first interface or the second interface is displayed; in other words, the above two deletion operations are only temporary settings, limited to the current single deletion of the scene thumbnail floating window, and do not affect the global settings of the game.
[0139] The operation of adjusting the thumbnail window control displayed in the first interface, which is in the open state, to the closed state can be regarded as a global deletion operation, that is, the deletion operation is used to set the game globally. When the thumbnail window control is adjusted to the closed state, no matter whether the first interface or the second interface is opened, the scene thumbnail floating window will not be displayed even if the blocked area is large.
[0140] Next, combine Figure 7 A specific example is described in detail for a specific example of the game control method provided by the present application. In this specific example, the double-click operation on the scene thumbnail floating window is a specific example of the deletion operation on the scene thumbnail floating window described above.
[0141] like Figure 7As shown, based on the graphical user interface 301 (for related introduction, please refer to Figure 6 Description), when the second virtual character 14 approaches the game scene A from the left side of the graphical user interface but does not enter the game scene A, a prompt message can be displayed; that is, the graphical user interface 301 is switched to the graphical user interface 303, and the footprint mark is displayed on the left side of the scene thumbnail floating window 13 displayed in the graphical user interface 303. If at this time, the player wants to better control the first virtual character 10 and the second virtual character 14 to fight, then a double-click operation can be applied to the scene thumbnail floating window 13 displayed in the graphical user interface 303. In response to the double-click operation, the scene thumbnail floating window 13 displayed in the graphical user interface 303 can be deleted and the backpack interface 12 can be closed, that is, the graphical user interface 303 is switched to the graphical user interface 304. If the second virtual character 14 enters the game scene A during the double-click operation, the second virtual character 14 can be displayed in the graphical user interface 304.
[0142] In some optional specific embodiments, the display position of the first interface in the graphical user interface satisfies the following condition: a first boundary among the boundaries of the first interface at least partially overlaps with a second boundary among the boundaries of the graphical user interface.
[0143] Among them, the first boundary is any one of the boundaries of the first interface; the second boundary is any one of the boundaries of the graphical user interface; the first boundary and the second boundary at least partially overlap, which means that the first boundary and the second boundary completely overlap in at least part of the space, that is, the first boundary and the second boundary share the same line segment in the overlapping area.
[0144] It should be noted that the number of the first boundaries is not specifically limited, that is, the first interface may have one boundary that at least partially overlaps with one boundary of the graphical user interface, or two boundaries that at least partially overlap with two boundaries of the graphical user interface, or all boundaries that completely overlap with the boundaries of the graphical user interface (that is, the first interface is displayed in full screen in the graphical user interface). That is, the first boundary is the boundary among the boundaries of the first interface that overlaps with the boundary of the graphical user interface; the second boundary is the boundary among the boundaries of the graphical user interface that overlaps with the boundary of the first interface.
[0145] like Figure 5 As shown, in the graphical user interface 302 , the upper, right, and lower borders of the backpack interface 12 partially overlap with the upper, right, and lower borders of the graphical user interface 302 , respectively.
[0146] When the first boundary of the first interface at least partially overlaps with the second boundary of the graphical user interface, the above step S250 can be specifically implemented through the following steps R251 to R252, that is, the above third method.
[0147] Step R251: In response to the second virtual character entering the game scene covered by the first interface from the boundary area where the first boundary and the second boundary overlap, generating a closing instruction for the first interface; the second virtual character and the first virtual character belong to different camps.
[0148] Step R252: In response to the close instruction for the first interface, close the first interface and delete the scene thumbnail floating window.
[0149] The second virtual character and the first virtual character belong to different camps, which means that the first virtual character and the second virtual character are enemies of each other.
[0150] The boundary area where the first boundary and the second boundary overlap refers to the area range of the overlapping portion of the boundary between the first interface and the graphical user interface. Figure 5 As shown, in the graphical user interface 302 , the right side border of the backpack interface 12 overlaps with the right side border of the graphical user interface 302 , and the overlapping border area is the right side border of the graphical user interface 302 .
[0151] It is understandable that, usually, when the second virtual character enters the game scene displayed in the graphical user interface, it enters from the edge of the graphical user interface. When the boundary of the first interface coincides with the boundary of the graphical user interface, the first interface can be regarded as being displayed at the edge of the graphical user interface, and the first interface can block the edge of the game scene; if the second virtual character enters the game scene from the boundary area where the first boundary and the second boundary coincide, it enters the game scene covered by the first interface.
[0152] Therefore, when the second virtual character is an enemy virtual character, when the second virtual character enters the game scene covered by the first interface from the edge of the graphical user interface, a closing instruction for the first interface can be automatically generated, and then in response to the closing instruction, the first interface is closed and the scene thumbnail floating window is deleted to improve the player's field of vision and prevent the first virtual character from being attacked by the second virtual character.
[0153] It should be noted that, in this embodiment, regardless of whether the first interface and the scene thumbnail floating window overlap, as long as it is detected that the second virtual character enters the game scene covered by the first interface from the boundary area where the first boundary and the second boundary overlap, a closing instruction for the first interface can be generated. If the boundary area where the first boundary and the second boundary overlap happens to include the boundary of the scene thumbnail floating window, it is also determined that the second virtual character enters the game scene covered by the first interface.
[0154] Next, combine Figure 8A specific example is provided to describe a specific example of the control method of the game provided by the present application. The right side border of the graphical user interface described later is a specific example of the second border described above; the right side border of the backpack interface is a specific example of the first border described above.
[0155] like Figure 8 As shown, based on the graphical user interface 305, the right side border of the backpack interface 12 partially overlaps with the right side border of the graphical user interface 305, and the other borders do not overlap; when the second virtual character 14 enters the game scene covered by the backpack interface 12 from the overlapping right side border area, that is, the position of the second virtual character 14 in the game scene is located at the border position of the game scene covered by the backpack interface 12, as shown in FIG. Figure 8 In the scene thumbnail floating window 13 shown in the graphical user interface 305, if the second virtual character 14 happens to enter the game scene, the second virtual character 14 can be displayed in the thumbnail game scene displayed in the scene thumbnail floating window 13. At this time, in response to the game event that the second virtual character 14 enters the game scene covered by the backpack interface 12, a closing instruction for the backpack interface 12 is generated, the backpack interface 12 is closed and the scene thumbnail floating window 13 is deleted, that is, the graphical user interface 305 is switched to the graphical user interface 306, in which the second virtual character 14 can be intuitively seen to have entered the field of vision of the first virtual character 10. It can be seen that the second virtual character 14 that the player does not find entering the game scene covered by the backpack interface 12 due to the occlusion of the backpack interface 12 can be avoided, and the probability of the first virtual character 10 being attacked by surprise is reduced.
[0156] In some optional embodiments, the game control method provided in the present application may further include the following step S270.
[0157] Step S270: When the scene thumbnail floating window is displayed, in response to a delete instruction for the scene thumbnail floating window, the scene thumbnail floating window is deleted and the first interface continues to be displayed.
[0158] The above-mentioned deletion instruction for the scene thumbnail floating window refers to a processing instruction for making the scene thumbnail floating window displayed in the graphical user interface invisible. It should be noted that in the embodiment of the present application, the deletion object of the deletion instruction for the scene thumbnail floating window is limited to the scene thumbnail floating window, and does not include the first interface.
[0159] That is, in this step S270, the first interface can continue to be displayed when the scene thumbnail floating window is deleted, but as described above, if the first interface is closed, the scene thumbnail floating window must be deleted at the same time.
[0160] In an optional embodiment, the above-mentioned deletion instruction for the scene thumbnail floating window can be generated by a deletion operation applied by the player to the scene thumbnail floating window, or, by triggering a specific game event, the deletion instruction for the scene thumbnail floating window is automatically generated.
[0161] Next, various methods of generating the above-mentioned deletion instruction are described in detail.
[0162] That is, in some optional embodiments, the above step S270 can be specifically implemented through the following steps S271 to S272.
[0163] Step S271: In response to a delete operation on the scene thumbnail floating window, a delete instruction on the scene thumbnail floating window is generated.
[0164] Step S272: responding to a delete instruction for the scene thumbnail floating window, deleting the scene thumbnail floating window and continuing to display the first interface.
[0165] The specific deletion operation for the scene thumbnail floating window can be specifically described in detail in the description of step S251 above, and will not be repeated here. That is, this specific embodiment generates a deletion instruction through the deletion operation applied by the player to the scene thumbnail floating window, so that the scene thumbnail floating window in the graphical user interface is invisible.
[0166] Next, combine Fig. 9 A specific example is described in detail for a specific example of the game control method provided by the present application. The double-click operation involved later is a specific example of the deletion operation for the scene thumbnail floating window described above.
[0167] like Fig. 9 As shown, based on the graphical user interface 301, assuming that the player performs a double-click operation on the display area of the scene thumbnail floating window 13, the scene thumbnail floating window 13 displayed in the graphical user interface 301 can be deleted and the backpack interface 12 can continue to be displayed, that is, the graphical user interface 301 is switched to the graphical user interface 307; compared with the graphical user interface 301, the scene thumbnail floating window 13 is invisible, and the backpack interface 12 is visible. For the introduction of the graphical user interface 301, please refer to the previous description, which will not be repeated here.
[0168] As described above, the deletion operation for the scene thumbnail floating window may include a global deletion operation and a temporary deletion operation, which is described above in detail. Below, a specific example of the above deletion operation being a global deletion operation is described in detail.
[0169] That is, in some optional specific embodiments, a thumbnail window control is displayed in the first interface, and the control state of the thumbnail window control includes an open state and a closed state; based on this, the above step S271 can be specifically implemented through the following step S2710.
[0170] Step S2710: In response to the operation of adjusting the thumbnail window control in the first interface that is in an open state to a closed state, a deletion instruction of the scene thumbnail floating window is generated.
[0171] The purpose of step S2710 is to limit the above-mentioned deletion operation to specifically an operation of adjusting the thumbnail window control in the first interface that is in an open state to a closed state.
[0172] In this embodiment, the thumbnail window control is used to control the global display state of the scene thumbnail floating window. When the control state of the thumbnail window control is turned on, it indicates that the scene thumbnail floating window can be displayed in the graphical user interface. If the control state of the scene thumbnail floating window is turned off, it indicates that the scene thumbnail floating window is prohibited from being displayed in the graphical user interface. In this embodiment, the default state of the thumbnail window control is turned on.
[0173] Next, combine Fig.10 And a specific example is used to describe in detail the game control method including the above step S2710.
[0174] like Fig.10 As shown, in the graphical user interface 308, a thumbnail scene control 15 is displayed in the backpack interface 12, and the control state of the thumbnail scene control 15 is currently in the open state; the scene thumbnail floating window 13 is displayed on the left side of the graphical user interface 308. Based on the graphical user interface 308, assuming that the player adjusts the control state of the thumbnail scene control 15 from the open state to the closed state by clicking on the thumbnail scene control, a deletion instruction for the scene thumbnail floating window 13 can be generated. In response to the deletion instruction, the scene thumbnail floating window 13 displayed in the graphical user interface 308 can be made invisible, and the backpack interface 12 continues to be displayed, that is, the graphical user interface 308 is switched to the graphical user interface 309, in which the thumbnail scene control 15 displayed in the backpack interface 12 is in the closed state, and the scene thumbnail floating window 13 is invisible.
[0175] In some optional specific embodiments, the game control method provided in the present application may further include the following step S280.
[0176] Step S280: When the first interface is closed and the control state of the thumbnail window control is in the closed state, if the first interface and / or the second interface is opened in the graphical user interface, the scene thumbnail floating window is not displayed; the second interface is used to display the second element, and the display area of the first interface and / or the second interface is equal to or greater than the first preset ratio.
[0177] The purpose of step S280 is to disable the default function of displaying the scene thumbnail floating window when displaying an interface with a larger occluded area in the virtual game when it is detected that the player manually deletes the scene thumbnail floating window and the deletion operation is a global deletion operation. That is, when the player applies the global deletion operation, even if the first interface with an area greater than the first preset ratio is reopened or the second interface is opened in the graphical user interface, the scene thumbnail floating window will not be displayed while the first interface or the second interface is displayed.
[0178] Among them, the second interface and the first interface are used to display different elements respectively. The first interface is used to display the first element, and the second interface is used to display the second interface. The two are different interfaces.
[0179] In this way, when the control state of the thumbnail window control is closed, it can be determined that the player does not like or does not want to display the scene thumbnail floating window in the graphical user interface. Therefore, after deleting the currently displayed scene thumbnail floating window, if the player opens the first interface or the remaining second interface again, the scene thumbnail floating window will not be displayed at the same time.
[0180] Next, combine Fig.11 A specific example is provided to further describe the control method of the game provided by the present application. Fig.11 The role introduction interface involved is a specific example of the second interface described above.
[0181] like Fig.11 As shown, in the graphical user interface 308, a thumbnail scene control 15 is displayed in the backpack interface 12, and the control state of the thumbnail scene control 15 is currently in the open state; the scene thumbnail floating window 13 is displayed on the left side of the graphical user interface 308. Based on the graphical user interface 308, assuming that the player adjusts the control state of the thumbnail scene control 15 from the open state to the closed state by clicking on the thumbnail scene control, a deletion instruction for the scene thumbnail floating window 13 can be generated. In response to the deletion instruction, the scene thumbnail floating window 13 displayed in the graphical user interface 308 can be made invisible, and the backpack interface 12 continues to be displayed, that is, the graphical user interface 308 is switched to the graphical user interface 309, in which the thumbnail scene control 15 displayed in the backpack interface 12 is in the closed state, and the scene thumbnail floating window 13 is invisible.
[0182] Based on the graphical user interface 309 , when the player applies a closing operation to the backpack interface 12 , the backpack interface 12 displayed in the graphical user interface 309 can be made invisible, that is, the graphical user interface 309 is switched to the graphical user interface 300 , and the backpack interface 12 is hidden in the graphical user interface 300 .
[0183] At this time, based on the graphical user interface 300 , it is assumed that the player opens the character introduction interface for the first virtual character 10 , that is, the graphical user interface 300 is switched to be displayed as a graphical user interface 310 , and the character introduction interface 16 is displayed in the graphical user interface 310 .
[0184] It is understandable that, as described above, if the interface area of the character introduction interface 16 accounts for an area ratio equal to or greater than the first preset ratio in the graphical user interface 310, the scene thumbnail floating window is displayed while displaying the character introduction interface 16. In this specific example, it is assumed that the area ratio of the character introduction interface 16 is greater than the first preset ratio, but since the thumbnail scene control 15 is in a closed state, that is, the scene thumbnail floating window is currently prohibited from being displayed, the scene thumbnail floating window is not displayed when the character introduction interface 16 is displayed in the graphical user interface 310.
[0185] Based on the graphical user interface 310, when the player clicks on the thumbnail window control 15 displayed in the character introduction interface 16 and adjusts the control state of the thumbnail window control 15 from the closed state to the open state, the scene thumbnail floating window of the current game scene can be displayed, that is, the graphical user interface 310 is switched to the graphical user interface 311, in which the control state of the thumbnail window control 15 is the open state, and the scene thumbnail floating window 13 is displayed.
[0186] In some optional embodiments, the display position of the scene thumbnail floating window in the graphical user interface may satisfy the following conditions: a third boundary among the boundaries of the scene thumbnail floating window at least partially overlaps with a second boundary among the boundaries of the graphical user interface;
[0187] Among them, the third boundary is any one of the boundaries of the scene thumbnail floating window; the third boundary at least partially overlaps with the second boundary, which means that the third boundary and the second boundary completely overlap in at least part of the space, that is, the third boundary and the second boundary share the same line segment in the overlapping area.
[0188] It should be noted that the number of the third boundaries is not specifically limited, that is, the third boundaries may be one boundary that at least partially overlaps with a boundary of the graphical user interface, or two boundaries that at least partially overlap with two boundaries of the graphical user interface respectively.
[0189] like Fig.11 As shown, in the graphical user interface 311 , the lower border of the scene thumbnail floating window 13 partially overlaps with the lower border of the graphical user interface 311 .
[0190] Based on this, when the third boundary among the boundaries of the scene thumbnail floating window at least partially overlaps with the second boundary among the boundaries of the graphical user interface, the above step S270 can be specifically implemented through the following steps T271 to T272.
[0191] Step T271: In response to the second virtual character entering the game scene not covered by the first interface and covered by the scene thumbnail floating window from the boundary area where the third boundary overlaps the second boundary, generating a deletion instruction for the scene thumbnail floating window, wherein the second virtual character and the first virtual character belong to different camps.
[0192] Step T272: responding to a delete instruction for the scene thumbnail floating window, deleting the scene thumbnail floating window and continuing to display the first interface.
[0193] The second virtual character and the first virtual character belong to different camps, which means that the first virtual character and the second virtual character are enemies of each other.
[0194] The boundary area where the third boundary and the second boundary overlap refers to the area range of the overlapping portion of the boundary between the scene thumbnail floating window and the graphical user interface. Fig.11 As shown, in the graphical user interface 311, the lower border of the background scene thumbnail floating window 13 partially overlaps with the lower border of the graphical user interface 302, and the overlapping border area is the lower border of the scene thumbnail floating window.
[0195] It is understandable that, usually, when the second virtual character enters the game scene displayed in the graphical user interface, it enters from the edge of the graphical user interface. When the boundary of the scene thumbnail floating window coincides with the boundary of the graphical user interface, the scene thumbnail floating window can be regarded as being displayed at the edge of the graphical user interface, and at this time, the scene thumbnail floating window can block the edge of the game scene; if the second virtual character enters the game scene from the boundary area where the third boundary and the second boundary coincide, it enters the game scene covered by the scene thumbnail floating window.
[0196] It is understandable that, according to the positional relationship between the scene thumbnail floating window and each boundary of the first interface, it can be determined that the second virtual character enters the game scene from different overlapping boundary areas. Below, according to the positional relationship between the scene thumbnail floating window and each boundary of the first interface, it can be determined that the second virtual character enters the game scene from different overlapping boundary areas.
[0197] It should be noted that, in this embodiment, the boundary of the scene thumbnail floating window and the boundary of the first interface respectively overlap with the boundary of the graphical user interface at least partially. Under this premise, there is at least the following display relationship between the boundary of the scene thumbnail floating window, the boundary of the first interface and the boundary of the graphical user interface:
[0198] First, the third boundary of the scene thumbnail floating window and the first boundary of the first interface respectively overlap with the same second boundary in the graphical user interface, and the third boundary completely overlaps with the first boundary.
[0199] In other words, when the scene thumbnail floating window and the first interface are displayed overlapping, the second virtual character can enter the game scene covered by both the first interface and the scene thumbnail floating window from the edge. In this embodiment, entering the game scene covered by the first interface is set to a high priority, that is, when the second virtual character can enter the game scene covered by both the first interface and the scene thumbnail floating window from the edge, it is determined that it has entered the game scene covered by the first interface.
[0200] like Fig.12 As shown, in the graphical user interface 312, the scene thumbnail floating window 13 and the backpack interface 12 are displayed completely overlapping, the right side border of the scene thumbnail floating window 13 and the right side border of the backpack interface 12 both overlap with the right side border of the graphical user interface 312, and the right side border of the scene thumbnail floating window 13 and the right side border of the backpack interface 12 overlap.
[0201] When the second virtual character 14 enters the game scene covered by the backpack interface 12 and the scene thumbnail floating window 13 from the overlapping part of the boundary between the scene thumbnail floating window 13 and the graphical user interface 312 (the right boundary of the scene thumbnail floating window 13), it can be determined that the second virtual character 14 has entered the game scene covered by the backpack interface 12.
[0202] The second and third boundaries and the first boundary respectively overlap with the same second boundary, and the third boundary partially overlaps with the first boundary.
[0203] At this time, when the second virtual character enters the game scene from the boundary area where the third boundary and the first boundary overlap, it can be determined that the second virtual character has entered the game scene covered by both the first interface and the scene thumbnail floating window. When the second virtual character enters the game scene from the boundary area where the third boundary and the first boundary do not overlap, it can be determined that the second virtual character has entered the game scene covered by the scene thumbnail floating window and not covered by the first interface.
[0204] like Fig.13As shown, in the graphical user interface 313, the scene thumbnail floating window 13 and the backpack interface 12 completely overlap, the right side border of the scene thumbnail floating window 13 partially overlaps with the right side border of the graphical user interface 313, and the right side border of the backpack interface 12 partially overlaps with the right side border of the graphical user interface 313; it can be seen that the scene thumbnail floating window 13 and the backpack interface 12 respectively overlap with the same border of the graphical user interface 313; and, the right side border of the scene thumbnail floating window 13 partially overlaps with the right side border of the backpack interface 12.
[0205] When the second virtual character 14 enters the game scene covered by both the backpack interface 12 and the scene thumbnail floating window 13 from the boundary area (the middle area of the dotted line) where the right boundary of the scene thumbnail floating window 13 coincides with the right boundary of the backpack interface 12, it can also be determined that the second virtual character 14 has entered the game scene covered by the backpack interface 12.
[0206] When the second virtual character 14 enters the game scene from the boundary area (the area below the dotted line) where the right boundary of the scene thumbnail floating window 13 does not overlap with the right boundary of the backpack interface 12, it can be determined that the second virtual character 14 has entered the game scene not covered by the backpack interface 12 and covered by the scene thumbnail floating window 13.
[0207] Third, the third boundary and the first boundary respectively overlap with different second boundaries at least partially.
[0208] At this time, when the second virtual character enters the game scene from the boundary area where the third boundary and the second boundary overlap, it can be determined that the second virtual character has entered the game scene covered by the scene thumbnail floating window. When the second virtual character enters the game scene from the boundary area where the first boundary and the second boundary overlap, it can be determined that the second virtual character has entered the game scene not covered by the first interface.
[0209] like Figure 6 As shown, in the graphical user interface 301, the left border of the scene thumbnail floating window 13 partially overlaps with the left border of the graphical user interface 302, and the right border of the backpack interface 12 partially overlaps with the right border of the graphical user interface 302; that is, the scene thumbnail floating window 13 and the backpack interface 12 respectively overlap with different borders of the graphical user interface 302. At this time, if the second virtual character 14 enters the game scene from the boundary area where the left border of the scene thumbnail floating window 13 overlaps with the left border of the graphical user interface 302, it can be determined that the second virtual character has entered the game scene covered by the scene thumbnail floating window; if the second virtual character enters the game scene from the boundary area where the right border of the backpack interface 12 overlaps with the right border of the graphical user interface 302, it can be determined that the second virtual character has entered the game scene covered by the backpack interface.
[0210] In summary, regardless of the relationship between the display positions of the scene thumbnail floating window and the first interface, different operations are performed when the second virtual character enters the game scene covered by different interfaces and / or windows. As described above, when the second virtual character enters the game scene covered by the first interface from the edge, the first interface and the scene thumbnail floating window can be made invisible at the same time; and in the above steps T271 to T272, when the second virtual character enters the game scene covered by the scene thumbnail floating window from the edge and not covered by the first interface, only the scene thumbnail floating window can be made invisible.
[0211] In this way, the impact of the improved field of view on viewing the first element can be minimized.
[0212] In some optional embodiments, the game control method provided by the present application may further include the following step S290.
[0213] Step S290: In response to the moving operation on the scene thumbnail floating window, the scene thumbnail floating window is controlled to move from the current position to the target position indicated by the moving operation.
[0214] The above-mentioned moving operations for the scene thumbnail floating window may include but are not limited to: dragging and sliding operations for the scene thumbnail floating window; clicking operations for the mobile controls displayed in the scene thumbnail floating window; setting operations for the location information of the scene thumbnail floating window, shortcut key operations, etc., without specific restrictions. In this way, players can adjust the display position of the scene thumbnail floating window according to their own needs, which increases the strategy of the game.
[0215] like Fig.14 As shown, in the graphical user interface 301, if the player applies a drag operation to the scene thumbnail floating window 13, the drag operation takes the display area of the scene thumbnail floating window as the starting position (the position indicated by the solid line hand marker) and the player's desired position as the ending position (the position indicated by the dotted line hand marker). In response to the drag operation, the scene thumbnail floating window 13 can be moved to the position indicated by the dotted line hand marker, that is, the graphical user interface 301 is switched to be displayed as the graphical user interface 314.
[0216] In some optional embodiments, the game control method provided by the present application may also include the following step S2100.
[0217] Step S2100: In response to a zooming operation on the scene thumbnail floating window, the size of the scene thumbnail floating window is controlled to be adjusted according to a zooming ratio corresponding to the zooming operation.
[0218] This step S2100 allows players to adjust the display size of the scene thumbnail floating window according to their own needs to meet the personalized needs of different players.
[0219] The above-mentioned zooming operation on the scene thumbnail floating window may include, but is not limited to: triggering operation on the zoom control, two-finger stretching or shrinking operation in the scene thumbnail floating window, shortcut key operation, etc.
[0220] like Fig.15 As shown, in the graphical user interface 301, if the player applies a two-finger stretching operation to the scene thumbnail floating window 13, in response to the two-finger stretching operation, the size of the scene thumbnail floating window 13 can be enlarged, that is, the graphical user interface 301 is switched to the graphical user interface 315. The display size of the scene thumbnail floating window 13 displayed in the graphical user interface 315 is larger than the display size of the scene thumbnail floating window 13 displayed in the graphical user interface 301.
[0221] It should be noted that in each of the drawings, the same pattern represents the same element. Therefore, each pattern is labeled when it first appears, and when it appears in subsequent drawings, it is not labeled but can be referred to the description in the previous drawings. In addition, it can be understood that the above similar to Figure 1 , Figure 2 , Figures 5 to 15 The size, appearance, layout, display text and other information of each element in the schematic diagram are exemplary and are not intended to limit the actual graphical user interface.
[0222] So far, the method provided in this embodiment has been explained. When the first interface occupies a relatively large area in the graphical user interface, a scene thumbnail floating window is displayed. The scene thumbnail floating window is configured to display a thumbnail game scene after the game scene is limited, and to monitor the background running progress of the virtual game in real time, especially the changes in the game scene, and to update the thumbnail game scene in the scene thumbnail floating window in real time based on the monitoring results. In this way, even if the game scene is blocked by the first interface, the player can also pay attention to and control the changes in the game scene in real time through the scene thumbnail floating window, so as to formulate appropriate game strategies and improve the player's gaming experience.
[0223] In addition, when the scene thumbnail floating window is displayed, the player can be provided with a variety of ways to quickly clear the first interface and the scene thumbnail floating window covering the game scene, thereby improving the player's gaming experience.
[0224] Corresponding to the game control method provided in the embodiment of the present application, the embodiment of the present application also provides a game control device 2000, which provides a graphical user interface through a terminal device; Fig.16 As shown, the device 2000 includes: a display unit 2001, a determination unit 2002 and an update unit 2003;
[0225] A display unit 2001 is used to display a game scene through a graphical user interface, where the game scene includes a first virtual character controlled by a terminal device;
[0226] The determining unit 2002 is used to determine the interface size of the first interface for displaying the first element in response to the viewing instruction for the first element;
[0227] The display unit 2001 is further configured to display the first interface in the graphical user interface and generate a scene thumbnail floating window if the interface size of the first interface accounts for an area ratio in the graphical user interface that is equal to or greater than a first preset ratio; the display level of the first interface is higher than the display level of the game scene; and the scene thumbnail floating window displays a thumbnail game scene obtained by reducing the game scene according to a second preset ratio;
[0228] The updating unit 2003 is used to monitor the running progress of the virtual game and update the thumbnail game scene displayed in the thumbnail floating window of the display scene according to the monitoring result.
[0229] Optionally, the display unit 2001 is used to display the scene thumbnail floating window and the first interface in one or more of the following ways: the display level of the scene thumbnail floating window is higher than the display level of the first interface; the scene thumbnail floating window and the first interface at least partially overlap or do not overlap.
[0230] Optionally, the updating unit 2003 is specifically configured to respond to monitoring that the second virtual character enters the game scene and display the second virtual character in the scene thumbnail floating window.
[0231] Optionally, the apparatus 2000 further includes a processing unit 2004;
[0232] The processing unit 2004 is used to respond to the closing instruction for the first interface, close the first interface and delete the scene thumbnail floating window.
[0233] Optionally, the processing unit 2004 is specifically configured to respond to a closing operation on the first interface and generate a closing instruction for the first interface; in response to the closing instruction for the first interface, close the first interface and delete the scene thumbnail floating window.
[0234] Optionally, the display unit 2002 is also used to display a prompt message in the scene thumbnail floating window in response to a distance between the second virtual character and the scene boundary of the game scene displayed in the graphical user interface being less than or equal to a preset distance, wherein the prompt message is used to indicate the position information of the second virtual character in the game scene; the second virtual character and the first virtual character belong to different camps.
[0235] Optionally, the processing unit 2004 is further configured to generate a closing instruction for the first interface in response to a deletion operation on the scene thumbnail floating window when displaying the prompt information.
[0236] Optionally, a first boundary among the boundaries of the first interface at least partially overlaps with a second boundary among the boundaries of the graphical user interface;
[0237] Processing unit 2004 is also specifically used to respond to the second virtual character entering the game scene covered by the first interface from the boundary area where the first boundary and the second boundary overlap, and generate a closing instruction for the first interface; the second virtual character and the first virtual character belong to different camps; in response to the closing instruction for the first interface, the first interface is closed and the scene thumbnail floating window is deleted.
[0238] Optionally, the processing unit 2004 is further configured to respond to a delete instruction for the scene thumbnail floating window when the scene thumbnail floating window is displayed, delete the scene thumbnail floating window, and continue to display the first interface.
[0239] Optionally, the processing unit 2004 is further specifically configured to respond to a deletion operation on the scene thumbnail floating window and generate a deletion instruction for the scene thumbnail floating window; respond to the deletion instruction for the scene thumbnail floating window and delete the scene thumbnail floating window and continue to display the first interface.
[0240] Optionally, a thumbnail window control is displayed in the first interface, and the control state of the thumbnail window control includes an open state and a closed state;
[0241] Optionally, the processing unit 2004 is further specifically configured to generate a deletion instruction for the scene thumbnail floating window in response to an operation of adjusting the thumbnail window control in the first interface that is in an open state to a closed state.
[0242] Optionally, the display unit 2002 is also used to, when the first interface is closed and the control state of the thumbnail window control is in the closed state, not display the scene thumbnail floating window when the first interface and / or the second interface is opened; the second interface is used to display the second element, and the display area ratio of the first interface and / or the second interface is equal to or greater than the first preset ratio.
[0243] Optionally, a third boundary among the boundaries of the scene thumbnail floating window at least partially overlaps with a second boundary among the boundaries of the graphical user interface; the processing unit 2004 is further specifically used to generate a deletion instruction for the scene thumbnail floating window in response to the second virtual character entering the game scene that is not covered by the first interface and is covered by the scene thumbnail floating window from the boundary area where the third boundary overlaps with the second boundary; in response to the deletion instruction for the scene thumbnail floating window, the scene thumbnail floating window is deleted and the first interface continues to be displayed, wherein the second virtual character and the first virtual character belong to different camps.
[0244] Optionally, the device 2000 further includes a mobile unit 2005;
[0245] The moving unit 2005 is used to respond to the moving operation on the scene thumbnail floating window and control the scene thumbnail floating window to move from the current position to the target position indicated by the moving operation.
[0246] Optionally, the apparatus 2000 further includes a scaling unit 2006;
[0247] The scaling unit 2006 is used to respond to the scaling operation on the game scene thumbnail floating window and control the size of the scene thumbnail floating window to be adjusted according to the scaling ratio corresponding to the scaling operation.
[0248] Corresponding to the game control method provided in the embodiment of the present application, the embodiment of the present application also provides an electronic device 3000 for implementing the game control method, such as Fig.17 As shown, the electronic device 3000 includes: a processor 3001; and a memory 3002, which is used to store a program of a game control method. After the device is powered on and the program of the game control method is run by the processor, a graphical user interface is provided through the terminal device, and the following steps are performed:
[0249] Displaying a game scene through a graphical user interface, the game scene including a first virtual character controlled by a terminal device;
[0250] In response to a viewing instruction for the first element, determining an interface size of a first interface for displaying the first element;
[0251] If the interface size of the first interface accounts for an area ratio in the graphical user interface that is equal to or greater than a first preset ratio, the first interface is displayed in the graphical user interface and a scene thumbnail floating window is generated; the display level of the first interface is higher than the display level of the game scene; and the scene thumbnail floating window displays a thumbnail game scene obtained by reducing the game scene according to a second preset ratio;
[0252] Monitor the running progress of the virtual game, and update the thumbnail game scene displayed in the scene thumbnail floating window according to the monitoring result.
[0253] Corresponding to the game control method provided in the embodiment of the present application, the embodiment of the present application further provides a computer-readable storage medium storing a program of the game control method, the program is executed by a processor, a graphical user interface is provided through a terminal device, and the following steps are performed:
[0254] Displaying a game scene through a graphical user interface, the game scene including a first virtual character controlled by a terminal device;
[0255] In response to a viewing instruction for the first element, determining an interface size of a first interface for displaying the first element;
[0256] If the interface size of the first interface accounts for an area ratio in the graphical user interface that is equal to or greater than a first preset ratio, the first interface is displayed in the graphical user interface and a scene thumbnail floating window is generated; the display level of the first interface is higher than the display level of the game scene; and the scene thumbnail floating window displays a thumbnail game scene obtained by reducing the game scene according to a second preset ratio;
[0257] Monitor the running progress of the virtual game, and update the thumbnail game scene displayed in the scene thumbnail floating window according to the monitoring result.
[0258] It should be noted that for the detailed description of the device, electronic device and computer-readable storage medium provided in the embodiments of the present application, reference can be made to the relevant description of the game control method embodiment provided in the embodiments of the present application, which will not be repeated here.
[0259] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
[0260] In a typical configuration, an electronic device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0261] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0262] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable operations, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.
[0263] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0264] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
Claims
1. A game control method, characterized in that: Providing a graphical user interface through a terminal device; the method comprises: Displaying a game scene through the graphical user interface, wherein the game scene includes a first virtual character controlled by the terminal device; In response to a viewing instruction for a first element, determining an interface size of a first interface for displaying the first element; If the interface size of the first interface accounts for an area of the graphical user interface that is equal to or greater than a first preset ratio, the first interface is displayed in the graphical user interface and a scene thumbnail floating window is generated; the display level of the first interface is higher than the display level of the game scene; the scene thumbnail floating window displays a thumbnail game scene obtained by shrinking the game scene according to a second preset ratio; The running progress of the virtual game is monitored, and the thumbnail game scene displayed in the scene thumbnail floating window is updated and displayed according to the monitoring result.
2. The method according to claim 1, characterized in that The display positions of the scene thumbnail floating window and the first interface include one or more of the following: The display level of the scene thumbnail floating window is higher than the display level of the first interface; The scene thumbnail floating window and the first interface at least partially overlap or do not overlap.
3. The method according to claim 1, characterized in that The monitoring the running progress of the virtual game and updating and displaying the scene thumbnail floating window according to the monitoring result includes: In response to monitoring that a second virtual character enters the game scene, the second virtual character is displayed in the scene thumbnail floating window.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: In response to a closing instruction for the first interface, the first interface is closed and the scene thumbnail floating window is deleted.
5. The method according to claim 4, characterized in that The responding to the closing instruction for the first interface, closing the first interface and deleting the scene thumbnail floating window includes: In response to a closing operation on the first interface, generating a closing instruction for the first interface; In response to a closing instruction for the first interface, the first interface is closed and the scene thumbnail floating window is deleted.
6. The method according to claim 4, characterized in that The method further comprises: In response to a distance between the second virtual character and the scene boundary of the game scene displayed in the graphical user interface being less than or equal to a preset distance, a prompt message is displayed in the scene thumbnail floating window, wherein the prompt message is used to prompt the position information of the second virtual character in the game scene; the second virtual character and the first virtual character belong to different camps.
7. The method according to claim 6, characterized in that The responding to the closing instruction for the first interface, closing the first interface and deleting the scene thumbnail floating window includes: When the prompt information is displayed, in response to a delete operation on the scene thumbnail floating window, a close instruction for the first interface is generated.
8. The method according to claim 4, characterized in that A first boundary among the boundaries of the first interface at least partially overlaps with a second boundary among the boundaries of the graphical user interface; The responding to the closing instruction for the first interface, closing the first interface and deleting the scene thumbnail floating window includes: In response to a second virtual character entering the game scene covered by the first interface from a boundary area where the first boundary and the second boundary overlap, generating the closing instruction for the first interface; the second virtual character and the first virtual character belong to different camps; In response to a closing instruction for the first interface, the first interface is closed and the scene thumbnail floating window is deleted.
9. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the scene thumbnail floating window is displayed, in response to a deletion instruction for the scene thumbnail floating window, the scene thumbnail floating window is deleted and the first interface continues to be displayed.
10. The method according to claim 9, characterized in that The step of responding to a deletion instruction for the scene thumbnail floating window, deleting the scene thumbnail floating window and continuing to display the first interface includes: In response to a deletion operation on the scene thumbnail floating window, generating a deletion instruction for the scene thumbnail floating window; In response to a deletion instruction for the scene thumbnail floating window, the scene thumbnail floating window is deleted and the first interface continues to be displayed.
11. The method according to claim 10, characterized in that A thumbnail window control is displayed in the first interface, and the control state of the thumbnail window control includes an open state and a closed state; The step of generating a deletion instruction for the scene thumbnail floating window in response to a deletion operation for the scene thumbnail floating window includes: In response to the operation of adjusting the thumbnail window control in the first interface that is in the open state to the closed state, a deletion instruction of the scene thumbnail floating window is generated.
12. The method according to claim 11, characterized in that The method further comprises: When the first interface is closed and the control state of the thumbnail window control is closed, if the first interface and / or the second interface is opened in the graphical user interface, the scene thumbnail floating window is not displayed; the second interface is used to display the second element, and the display area of the first interface and / or the second interface is equal to or greater than the first preset ratio.
13. The method according to claim 9, characterized in that A third boundary among the boundaries of the scene thumbnail floating window at least partially overlaps with a second boundary among the boundaries of the graphical user interface; The step of responding to a deletion instruction for the scene thumbnail floating window, deleting the scene thumbnail floating window and continuing to display the first interface includes: In response to a second virtual character entering a game scene not covered by the first interface and covered by the scene thumbnail floating window from a boundary area where the third boundary overlaps with the second boundary, generating a deletion instruction for the scene thumbnail floating window; wherein the second virtual character and the first virtual character belong to different camps; In response to a deletion instruction for the scene thumbnail floating window, the scene thumbnail floating window is deleted and the first interface continues to be displayed.
14. The method according to claim 1, characterized in that The method further comprises: In response to a moving operation on the scene thumbnail floating window, the scene thumbnail floating window is controlled to move from a current position to a target position indicated by the moving operation.
15. The method according to claim 1, characterized in that The method further comprises: In response to a zooming operation on the game scene thumbnail floating window, the size of the scene thumbnail floating window is controlled to be adjusted according to a zooming ratio corresponding to the zooming operation.
16. A game control device, characterized in that: Providing a graphical user interface through a terminal device; the device comprises: a display unit, a determination unit and an update unit; The display unit is used to display a game scene through the graphical user interface, wherein the game scene includes a first virtual character controlled by the terminal device; The determining unit is used to determine the interface size of the first interface for displaying the first element in response to the viewing instruction for the first element; The display unit is further configured to display the first interface in the graphical user interface and generate a scene thumbnail floating window if the interface size of the first interface accounts for an area of the graphical user interface that is equal to or greater than a first preset ratio; the display level of the first interface is higher than the display level of the game scene; and the scene thumbnail floating window displays a thumbnail game scene obtained by reducing the game scene according to a second preset ratio; The updating unit is used to monitor the running progress of the virtual game and update the thumbnail game scene displayed in the scene thumbnail floating window according to the monitoring result.
17. An electronic device, characterized in that: include: processor; as well as The memory is used to store a data processing program. After the electronic device is powered on and the program is run by the processor, the method according to any one of claims 1 to 15 is executed.
18. A computer-readable storage medium, characterized in that: A data processing program is stored, and the program is run by a processor to execute the method according to any one of claims 1 to 15.
