A method, device, electronic device and storage medium for switching game screens
By introducing the indicator icon drag function in multiplayer online tactical competitive games, players can quickly switch the perspective of the game characters, solving the problems of operation complexity and low human-computer interaction efficiency, and improving the convenience and efficiency of game operations.
Patent Information
- Application Number
- CN202110013318.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-06
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-01-06
AI Technical Summary
In multiplayer online tactical competitive games, when players view the game screen of their teammates' location, the operation is complicated and is not conducive to performing other game operations at the same time, resulting in low human-computer interaction efficiency.
By introducing indicator icons for other game characters in the game graphical user interface, players are allowed to drag them to the minimap area to quickly switch to the game screen corresponding to the character perspective of other game characters, reducing operation complexity and improving human-computer interaction efficiency .
It realizes players' perspectives of quickly switching game characters, simplifies the operation process, facilitates other game operations at the same time, and improves human-computer interaction efficiency.
Smart Images

Figure CN112619137B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a method, device, electronic device and storage medium for switching game screens. Background Art
[0002] In some games, for example, in multiplayer online tactical competitive games (MOBA), players have the function of viewing the game screen of the location of teammates, which facilitates the interaction and cooperation between players and teammates to better complete the game.
[0003] Currently, in MOBA games, if players want to view the game screen of their teammates, they need to find their teammates on the mini-map and keep clicking on the teammate's avatar on the mini-map with their fingers to view the game screen of their teammates; when teammates move, their fingers must also keep moving synchronously to view the above game screen in real time.
[0004] However, in the above method, when the player clicks on the teammate's avatar to view the game screen of the teammate's location, the finger must always remain on the small map, and when the teammate moves, the finger must also move synchronously. This method makes the player's operation complex and is not conducive to the player's other game operations, resulting in low human-computer interaction efficiency. Summary of the invention
[0005] In view of this, the purpose of the present application is to provide a method, device, electronic device and storage medium for switching game screens. Players can quickly switch the current game screen to the game screen corresponding to the perspective of other game characters by dragging the indicator icons of other game characters to the mini-map area, thereby reducing the complexity of player operations, making it easier for players to perform other game operations at the same time, and improving the efficiency of human-computer interaction.
[0006] In a first aspect, an embodiment of the present application provides a method for switching game screens, wherein the game includes a target game character and at least one other game character; the graphical user interface of the game includes an indicator icon and a small map area corresponding to the other game characters; the switching method includes:
[0007] Displaying a first game screen corresponding to a target character perspective of the target game character in the graphical user interface;
[0008] In response to a drag operation on the first indicator icon among the indicator icons, a first game character indicated by the first indicator icon is determined, and the first game screen is switched to a second game screen corresponding to a first character perspective of the first game character; wherein an initial operation point of the drag operation is located at the first indicator icon, and a final operation point is located at the mini-map area; the second game screen is determined according to the first character perspective, and the first character perspective follows the movement and changes of the first game character.
[0009] In a possible implementation, after the first game screen is switched to a second game screen corresponding to the first character perspective of the first game character, the switching method further includes:
[0010] In response to a first touch operation on a second indicator icon among the indicator icons, determining a second game character indicated by the second indicator icon; wherein the action position of the first touch operation remains unchanged;
[0011] The second game screen is switched to a third game screen corresponding to the second character perspective of the second game character.
[0012] In a possible implementation, after the first game screen is switched to a second game screen corresponding to the first character perspective of the first game character, the switching method further includes:
[0013] In response to a second touch operation on the small map area, the second game screen is switched back to the first game screen.
[0014] In a possible implementation manner, the switching method further includes:
[0015] According to the dragging operation on the first indicator icon among the indicator icons, copying the first indicator icon to obtain a mapping indicator icon;
[0016] The mapping indication icon is controlled to move following the drag operation.
[0017] In a possible implementation manner, when controlling the mapping indication icon to move following the drag operation, the switching method further includes:
[0018] Indication information is displayed on the mapping indication icon, where the indication information is used to indicate that the mapping indication icon is in a moved state.
[0019] In a possible implementation manner, the indication information includes at least one of the following:
[0020] Icons, text, sounds.
[0021] In a possible implementation, the other game characters include at least one of the following:
[0022] A teammate character in the same game camp as the target game character;
[0023] An enemy character that is in a different game camp than the target game character.
[0024] In a possible implementation manner, the switching method further includes:
[0025] The indication icon corresponding to the teammate character and the indication icon corresponding to the enemy character are set on different sides of the graphical user interface.
[0026] In a possible implementation manner, the graphical user interface further includes a switching control; and the switching method further includes:
[0027] Displaying an indicator icon corresponding to the teammate role in the graphical user interface;
[0028] In response to a touch operation on the switching control, the indication icon corresponding to the teammate character is switched to the indication icon corresponding to the enemy character.
[0029] In a possible implementation, switching the first game screen to a second game screen corresponding to the first character perspective of the first game character further includes:
[0030] If the other game characters include an enemy character that is in a different game camp from the target game character, then determining whether the first game character satisfies a visual field visibility condition corresponding to the target game character; wherein the visual field visibility condition corresponding to the target game character includes at least one of the following: being in the same game camp as the target game character; having a preset association relationship with the target game character; being in a different game camp from the target game character but being within the target visual field of the target character;
[0031] If so, the first game screen is switched to a second game screen corresponding to the first character perspective of the first game character.
[0032] In a possible implementation, the small map area includes the indicator icons, and a first indicator icon among the indicator icons is used to map the movement of the first game character in the game scene; after the first game screen is switched to a second game screen corresponding to the first character perspective of the first game character, the switching method further includes:
[0033] Displaying an identification frame on the first indication icon included in the small map area; wherein the identification frame is used to indicate the positional relationship between the second game screen and the game scene;
[0034] When the first game character moves, the first indication icon is controlled to move synchronously with the first indication icon.
[0035] In a possible implementation manner, the first indication icon of the first game character is located at the center of the identification frame.
[0036] In a possible implementation, the first game character is located at the center of the second game screen;
[0037] The second game character is located at the center of the game screen.
[0038] In a second aspect, an embodiment of the present application further provides a device for switching a game screen, wherein the game includes a target game character and at least one other game character; the graphical user interface of the game includes an indicator icon and a small map area corresponding to the other game characters; the switching device includes:
[0039] A display module, configured to display a first game screen corresponding to a target character perspective of the target game character in the graphical user interface;
[0040] a determination module, configured to respond to a drag operation on a first indicator icon among the indicator icons and determine a first game character indicated by the first indicator icon; wherein an initial operation point of the drag operation is located at the first indicator icon and a final operation point is located at the small map area;
[0041] A switching module is used to switch the first game screen to a second game screen corresponding to a first character perspective of the first game character; wherein the second game screen is determined according to the first character perspective, and the first character perspective follows the movement and change of the first game character.
[0042] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the method for switching the game screen as described in any one of the first aspects.
[0043] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for switching the game screen as described in any one of the first aspects are executed.
[0044] The embodiments of the present application provide a method, device, electronic device and storage medium for switching game screens, wherein the game includes a target game character and at least one other game character; the graphical user interface of the game includes an indicator icon and a small map area corresponding to the other game characters; the switching method includes: displaying a first game screen corresponding to the target character perspective of the target game character in the graphical user interface; responding to a drag operation on the first indicator icon in the indicator icon, determining the first game character indicated by the first indicator icon, and switching the first game screen to a second game screen corresponding to the first character perspective of the first game character; wherein the initial operation point of the drag operation is located at the first indicator icon, and the final operation point is located at the small map area; the second game screen is determined according to the first character perspective, and the first character perspective follows the movement and change of the first game character. In the present application, the player can quickly switch the current game screen to the game screen corresponding to the character perspective of the other game character by dragging the indicator icon of the other game character to the small map area, which reduces the complexity of the player's operation, facilitates the player to perform other game operations at the same time, and improves the efficiency of human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1a A flowchart of a method for switching game screens provided in an embodiment of the present application is shown;
[0047] Figure 1b A schematic diagram showing a first game screen, an indicator icon, and a small map area displayed in a graphical user interface;
[0048] Figure 1c A schematic diagram showing a triggering operation of switching the second game screen back to the first game screen in a graphical user interface;
[0049] Figure 1d A schematic diagram showing a first indication icon (ie, a selected indication icon) in a graphical user interface is dragged into a small map area;
[0050] Figure 1e A schematic diagram showing a first game character corresponding to a first indication icon (ie, a selected indication icon) in a graphical user interface after movement;
[0051] Figure 1fA schematic diagram of dragging a first indication icon (ie, a selected indication icon) in a graphical user interface is shown;
[0052] Figure 1g A schematic diagram showing a first indicator icon (i.e., a selected indicator icon) being dragged to the small map area;
[0053] Figure 2 A flowchart showing another method for switching game screens provided in an embodiment of the present application is shown;
[0054] Figure 3 A flowchart showing another method for switching game screens provided in an embodiment of the present application is shown;
[0055] Figure 4 A schematic diagram showing the structure of a device for switching game screens provided in an embodiment of the present application is shown;
[0056] Figure 5 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0057] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0058] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0059] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0060] In Multiplayer Online Battle Arena (MOBA) games, when a player clicks on a teammate's avatar to view the game screen of the teammate's location, the player's finger must remain on the small map, and when the teammate moves, the finger must also move synchronously. This method makes the player's operation complex and is not conducive to the player's other game operations, thereby resulting in low human-computer interaction efficiency.
[0061] Based on this, the embodiments of the present application provide a method, device, electronic device and storage medium for switching game screens. Players can quickly switch the current game screen to the game screen corresponding to the perspective of other game characters by dragging the indicator icons of other game characters to the mini-map area, thereby reducing the complexity of player operations and facilitating players to perform other game operations at the same time, thereby improving the efficiency of human-computer interaction.
[0062] The game screen switching method provided in the embodiment of the present application can be applied to a terminal device or a server; when the method is applied to a server, it can be a cloud game, that is, the game screen is rendered and a human-computer interaction interface is provided through a terminal device, and data processing is performed through a server.
[0063] To facilitate understanding of this embodiment, a method for switching game screens provided in an embodiment of the present application is described in detail below.
[0064] like Figure 1a As shown, a method for switching game screens provided by an embodiment of the present application is provided, wherein the game includes a target game character and at least one other game character; the graphical user interface of the game includes indicator icons and a small map area corresponding to the other game characters; the switching method includes:
[0065] S101. Displaying a first game screen corresponding to a target character perspective of a target game character in the graphical user interface.
[0066] S102. In response to a drag operation on a first indicator icon among the indicator icons, determine a first game character indicated by the first indicator icon, and switch the first game screen to a second game screen corresponding to a first character perspective of the first game character; wherein an initial operation point of the drag operation is located at the first indicator icon, and a final operation point is located at the mini-map area; the second game screen is determined according to the first character perspective, and the first character perspective follows the movement and changes of the first game character.
[0067] Through the above-mentioned game screen switching method provided in the embodiment of the present application, players can quickly switch the current game screen to the game screen corresponding to the character perspective of other game characters by dragging the indicator icons of other game characters to the small map area, thereby reducing the complexity of player operations, making it easier for players to perform other game operations at the same time, and improving the efficiency of human-computer interaction.
[0068] The following describes the above exemplary steps provided in the embodiment of the present application respectively by taking the application in a terminal device as an example:
[0069] S101. Displaying a first game screen corresponding to a target character perspective of a target game character in the graphical user interface.
[0070] In the embodiment of the present application, the target game character is the game character controlled by the current player, such as Figure 1b As shown, after the player enters the game, a first game screen 200 including a target game character 201 is displayed on the graphical user interface 100. Optionally, the target game character 201 is at the center of the first game screen 200.
[0071] Wherein, a virtual camera is set in the game, and the virtual camera is equivalent to the "eyes" of the game character. The game screen is shot by the virtual camera, and the game screen changes with the changes of the target game character; wherein, the virtual camera and the game character have a preset binding relationship (such as a binding position relationship), and the position relationship between the virtual camera and the target game character is different, and the corresponding game screen has different perspectives. For example, the virtual camera is set above the head of the target game character or at the position of the eyes of the target game character, then the game screen corresponds to the first-person perspective, and under the first-person perspective, the first game screen does not include the target game character, that is, the player cannot see the target game character, and accordingly, when the target game character rotates, the first game screen changes with the rotation of the target game character; for another example, the virtual camera is set behind the head of the target game character, then the game screen corresponds to the third-person perspective, and under the third-person perspective, the first game screen includes the target game character, that is, the player can see the target game character, and accordingly, when the target game character moves, the first game screen changes with the movement of the target game character.
[0072] Here, the first game screen corresponding to the character perspective of the target game character is the game scene screen captured by the target virtual camera that has a binding relationship with the target game character.
[0073] In an embodiment of the present application, the above-mentioned other game characters are game characters controlled by other players, and the above-mentioned other game characters are game characters in the same game as the target game character; further, the above-mentioned other game characters can be teammate characters in the same game camp as the target game character, or can be enemy characters in a different game camp from the target game character.
[0074] In addition, the other game characters may also have a preset association relationship with the target game character, for example, they may be lovers, best friends, etc. Optionally, the teammate character may have the preset association relationship with the target game character.
[0075] S102. In response to a drag operation on a first indicator icon among the indicator icons, determine a first game character indicated by the first indicator icon, and switch the first game screen to a second game screen corresponding to a first character perspective of the first game character; wherein an initial operation point of the drag operation is located at the first indicator icon, and a final operation point is located at the mini-map area; the second game screen is determined according to the first character perspective, and the first character perspective follows the movement and changes of the first game character.
[0076] In an embodiment of the present application, indication icons of other game characters are displayed in the graphical user interface. Optionally, only indication icons of teammate characters of the target game character may be displayed in the graphical user interface, or only indication icons of enemy characters of the target game character may be displayed; and the indication icons of the above-mentioned teammate characters and the indication icons of the above-mentioned enemy characters may also be displayed at the same time.
[0077] In an embodiment of the present application, when there are only indicator icons for teammate characters, or only indicator icons for enemy characters in the graphical user interface, the above-mentioned indicator icons can be located on the right side of the small map area and close to the small map area.
[0078] When both the indicator icons of the teammate characters and the indicator icons of the enemy characters are included, the indicator icons corresponding to the teammate characters of the target game character and the indicator icons corresponding to the enemy characters of the target game character can be set on different sides of the graphical user interface; for example, the indicator icons corresponding to the teammate characters are located on the left side of the graphical user interface (specifically, they can be on the right side of the small map area and close to the small map area), and the indicator icons corresponding to the enemy characters are located on the right side of the graphical user interface. Alternatively, the indicator icons corresponding to the teammate characters of the target game character and the indicator icons corresponding to the enemy characters of the target game character are set on the same side of the graphical user interface, for example, they are both located on the right side of the small map area and close to the small map area, and accordingly, the indicator icon of the enemy character is located on the right side of the indicator icon of the teammate character, or the indicator icon of the enemy character is located below the indicator icon of the teammate character, etc.
[0079] In an embodiment of the present application, a switching control is also included on the graphical user interface, and the switching method also includes: displaying an indication icon corresponding to the teammate character in the graphical user interface; and in response to a touch operation on the switching control, switching the indication icon corresponding to the teammate character to an indication icon corresponding to the enemy character.
[0080] When only the indication icon corresponding to the teammate character is displayed in the graphical user interface, the player can switch the indication icon corresponding to the teammate character to the indication icon corresponding to the enemy character by operating the switch control, so that the indication icon corresponding to the enemy character is displayed on the graphical user interface; thereafter, the player can switch the indication icon corresponding to the enemy character to the indication icon corresponding to the teammate character by operating the switch control again, so that the indication icon corresponding to the teammate character is displayed on the graphical user interface.
[0081] Take the example of the graphical user interface showing the indicator icons of teammates’ roles. Figure 1b As shown, the graphical user interface 100 includes an indication icon 101 of teammate character 1, an indication icon 102 of teammate character 2, an indication icon 103 of teammate character 3 and an indication icon 104 of teammate character 4; the above-mentioned teammate characters 1 to 4 are all in the same game camp as the target game character 201.
[0082] Among them, the player can drag the above-mentioned indicator icon to switch the first game screen to other game screens corresponding to the character perspectives of other game characters through a specific drag operation. Here, the initial operation point of the specific drag operation is located at the indicator icon, and the final operation point is located in the small map area. Specifically, the player triggers the drag operation of the first indicator icon, the terminal device responds to the drag operation, and determines the first game character indicated by the first indicator icon. When the player drags the first indicator icon to the small map area through a drag operation, the terminal device switches the currently displayed first game screen to the second game screen corresponding to the first character perspective of the first game character.
[0083] like Figure 1c As shown, the player selects the indicator icon 104 as the first indicator icon and triggers a specific drag operation for the indicator icon 104. The terminal device responds to the specific drag operation, determines the first game character 203 indicated by the indicator icon 104, and switches the currently displayed first game screen to the first game character 203 (i.e. Figure 1b A second game screen 202 corresponding to the first character perspective of a game character (indicated by the indicator icon 104 in FIG. 1 ).
[0084] In the embodiment of the present application, when the other game characters include an enemy character corresponding to the target game character, the target game character may not have the field of view of the enemy character. Therefore, after determining the first game character, it is necessary to first determine whether the first game character meets the field of view visibility condition corresponding to the target game character. When it meets the condition, the first game screen and the second game screen are switched. Specifically, when the first game screen is switched to the second game screen corresponding to the first character perspective of the first game character, relevant processing needs to be performed, including:
[0085] If the other game characters include enemy characters in different game camps from the target game character, then determine whether the first game character meets the field of view visibility condition corresponding to the target game character; wherein the field of view visibility condition corresponding to the target game character includes at least one of the following: being in the same game camp as the target game character; having a preset association relationship with the target game character; being in a different game camp from the target game character but within the target field of view of the target character; if satisfied, then switch the first game screen to the second game screen corresponding to the first character perspective of the first game character. Here, the preset association relationship may be an identity association relationship, such as lovers, best friends, etc.
[0086] Here, the field of view visibility conditions include: the field of view of the mini-map, the field of view of the target game character in the game scene, the field of view of the target game character's teammate character, etc.
[0087] Here, the second game screen corresponding to the first character perspective of the first game character is the game scene screen captured by the target virtual camera that has a binding relationship with the first game character. Optionally, the first game character is located at the center of the second game screen;
[0088] Furthermore, in the embodiment of the present application, when the second game screen corresponding to the first game character after switching is displayed in the graphical user interface, the player can also quickly switch between the second game screen and the third game screen corresponding to the second game character indicated by the other indicator icons by performing touch operations on other indicator icons except the first indicator icon. Here, the other indicator icons refer to the remaining indicator icons except the first indicator icon among the indicator icons displayed in the graphical user interface. Specifically, as follows, Figure 2 As shown, the method for switching the game screen provided in the embodiment of the present application, after switching the first game screen to the second game screen corresponding to the first character perspective of the first game character, the switching method further includes:
[0089] S201: In response to a first touch operation on a second indicator icon among the indicator icons, determine a second game character indicated by the second indicator icon.
[0090] In an embodiment of the present application, when the second game screen after switching is displayed in the graphical user interface, the player selects the second indication icon among the indication icons and triggers a first touch operation on the second indication icon. The terminal device responds to the first touch operation and determines the second game character indicated by the second indication icon.
[0091] Optionally, the first touch operation is different from the drag operation and is a simpler operation than the drag operation. Specifically, the action position of the first touch operation remains unchanged. The action position of the first touch operation is located on the second indication icon. For example, it can be a click operation, a long press operation, a heavy press operation, etc. on the second indication icon.
[0092] S202: Switch the second game screen to a third game screen corresponding to the second character perspective of the second game character.
[0093] In a specific implementation, the terminal device responds to the first touch operation and determines whether the second game character indicated by the second indicator icon meets the field of view visibility condition corresponding to the target game character. If so, the terminal device switches the currently switched second game screen to a third game screen corresponding to the second character perspective of the second game character.
[0094] Here, the third game screen corresponding to the second character perspective of the second game character is the game scene screen captured by the target virtual camera that has a binding relationship with the second game character.
[0095] Furthermore, the method for switching the game screen provided in the embodiment of the present application, after switching the first game screen to the second game screen corresponding to the first character perspective of the first game character, the switching method further includes:
[0096] In response to a second touch operation on the small map area, the second game screen is switched back to the first game screen.
[0097] In an embodiment of the present application, the above-mentioned mini-map area includes the indication icons, which at least include an indication icon corresponding to the target game character and an indication icon corresponding to the teammate character of the target game character, and the indication icon may also include an indication icon corresponding to the enemy character with field of view of the target game character; wherein, the indication icons in the above-mentioned mini-map area are used to indicate the position of the corresponding game character in the game scene, and are specifically used to map the movement of the first game character in the game scene; after the graphical user interface currently displays the switched game screen (specifically, it can be the first game screen or the second game screen), the player can switch the switched game screen (which can be the first game screen or the second game screen) back to the first game screen by triggering a second touch operation on the mini-map area.
[0098] In the embodiment of the present application, there is no specific setting requirement for the second touch operation. The second touch operation can be a click operation on the small map area, or a sliding operation, etc.
[0099] Specifically, when the second game screen after the switch is currently displayed, the player triggers the second touch operation on the small map area to switch the second game screen back to the first game screen, so as to cancel viewing of the game screens corresponding to other game characters and return to the normal game display screen. When the third game screen after the switch is currently displayed, the player triggers the second touch operation on the small map area to switch the third game screen back to the first game screen, so as to cancel viewing of the game screens corresponding to other game characters and return to the normal game display screen.
[0100] like Figure 1c As shown, the small map area 105 is a thumbnail map of the game scene of the game, and the small map area displays an indication icon 101 of teammate character 1, an indication icon 102 of teammate character 2, an indication icon 103 of teammate character 3, and an indication icon 104 of teammate character 4, and partially ( Figure 1b Three indicator icons of enemy characters are shown (specifically triangles in the small map area).
[0101] In addition, in the embodiment of the present application, the small map area includes the indicator icons, and the first indicator icon among the indicator icons is used to map the movement of the first game character in the game scene; after the first game screen is switched to the second game screen corresponding to the first character perspective of the first game character, the switching method further includes:
[0102] A marking frame is displayed on the first indicator icon included in the small map area; wherein the marking frame is used to indicate the positional relationship between the second game screen and the game scene; when the first game character moves, the first indicator icon is controlled to move synchronously with the first indicator icon. Optionally, the first indicator icon of the first game character is located at the center of the marking frame.
[0103] like Figure 1c As shown, a second game screen 202 corresponding to the first indication icon (i.e., the selected indication icon 104) is displayed on the graphical user interface 100, and the second game screen 202 includes a first game character 203 corresponding to the first indication icon (i.e., the selected indication icon 104); based on the player's touch operation on the mini-map area 105 (i.e., the mini-map), the above-mentioned second game screen 202 is switched to a first game screen 200 including a target game character 201; here, the first game screen 200 changes as the game progresses.
[0104] like Figure 1d and 1e As shown, an identification frame 106 is displayed on the small map area 105, and the identification frame 106 includes an indication icon 104 (i.e., the selected first indication icon). When the first indication icon (i.e., the selected indication icon 104) moves with the corresponding game character (i.e., the first game character 203 indicated by the selected first indication icon), the identification frame 106 also moves synchronously with the selected first game character 203, so that the second game screen 202 is always centered on the selected first game character 203.
[0105] In the embodiment of the present application, the player can switch back to the game screen by dragging any indicator icon to the small map area. In one implementation, Figure 3 As shown, in the method for switching the game screen provided in the embodiment of the present application, the switching method further includes:
[0106] S301: According to the dragging operation on the first indicator icon among the indicator icons, copy the first indicator icon to obtain a mapping indicator icon.
[0107] S302: Control the mapping indication icon to move following the drag operation.
[0108] In combination with step 301 and step 302, when a player's dragging operation on the first indication icon is detected, the first indication icon is copied to obtain a mapping indication icon identical to the first indication icon, and then, during the dragging operation, the mapping indication icon is controlled to move following the dragging operation; at the same time, during the control of the mapping indication icon to move following the dragging operation, indication information is displayed on the mapping indication icon, and the indication information is used to indicate that the mapping indication icon is in a moved state. The indication information is also used to indicate the first game character determined by the player.
[0109] Optionally, the indication information includes at least one of the following: an icon (such as a small eye icon), text, and sound. For example, when the first indication icon is dragged, a small eye icon is displayed on the mapping indication icon, and the small eye icon is used to indicate that the mapping indication icon is in a moved state (i.e., in a dragged state). In addition, the first indication icon is also used to indicate the first game character determined by the player.
[0110] In the present application embodiment, Figure 1f and 1g As shown, when the player drags the first indication icon (i.e., the selected indication icon 104) to any position in the small map area and releases the icon, the first indication icon (i.e., the selected indication icon 104) is located in the small map area. At this time, the terminal device will Figure 1g The first game screen 200 including the target game character 201 displayed in the game is switched to Figure 1c A second game screen 202 including a first game character 203 is shown.
[0111] Through the above-mentioned game screen switching method provided in the embodiment of the present application, players can quickly switch the current game screen to the game screen corresponding to the character perspective of other game characters by dragging the indicator icons of other game characters to the small map area, thereby reducing the complexity of player operations, making it easier for players to perform other game operations at the same time, and improving the efficiency of human-computer interaction.
[0112] The method for switching game screens provided by the embodiment of the present application has the following beneficial effects:
[0113] (1) Ability to view a teammate's game screen in a targeted manner;
[0114] (2) The entire operation process is simpler, reducing unnecessary long-press operations, and triggering does not affect other operations of the hands.
[0115] Based on the same inventive concept, the present application also provides a game screen switching device corresponding to the above-mentioned game screen switching method. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned game screen switching method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0116] Reference Figure 4 As shown, a switching device for a game screen provided by an embodiment of the present application, the game includes a target game character and at least one other game character; the graphical user interface of the game includes indicator icons and a small map area corresponding to the other game characters; the switching device includes:
[0117] A first display module 401, used for displaying a first game screen corresponding to a target character perspective of the target game character in the graphical user interface;
[0118] A first determining module 402 is configured to respond to a drag operation on a first indicator icon among the indicator icons and determine a first game character indicated by the first indicator icon; wherein an initial operation point of the drag operation is located at the first indicator icon and a final operation point is located at the small map area;
[0119] The first switching module 403 is used to switch the first game screen to a second game screen corresponding to a first character perspective of the first game character; wherein the second game screen is determined according to the first character perspective, and the first character perspective changes with the movement of the first game character.
[0120] In a possible implementation manner, the switching device further includes:
[0121] a second determining module, configured to determine, in response to a first touch operation on a second indicator icon among the indicator icons, a second game character indicated by the second indicator icon after switching the first game screen to a second game screen corresponding to the first character perspective of the first game character; wherein the action position of the first touch operation remains unchanged;
[0122] The second switching module is used to switch the second game screen to a third game screen corresponding to the second character perspective of the second game character.
[0123] In a possible implementation manner, the switching device further includes:
[0124] A third switching module is used to switch the first game screen to a second game screen corresponding to the first character perspective of the first game character, and then respond to a second touch operation on the small map area to switch the second game screen back to the first game screen.
[0125] In a possible implementation manner, the switching device further includes:
[0126] a copy module, configured to copy the first indication icon according to the drag operation on the first indication icon among the indication icons to obtain a mapping indication icon;
[0127] The first control module is used to control the mapping indication icon to move following the drag operation.
[0128] In a possible implementation manner, the switching device further includes:
[0129] The first display module is used to display indication information on the mapping indication icon when controlling the mapping indication icon to move following the drag operation, wherein the indication information is used to indicate that the mapping indication icon is in a moved state.
[0130] In a possible implementation manner, the indication information includes at least one of the following:
[0131] Icons, text, sounds.
[0132] In a possible implementation, the other game characters include at least one of the following:
[0133] A teammate character in the same game camp as the target game character;
[0134] An enemy character that is in a different game camp than the target game character.
[0135] In a possible implementation manner, the switching device further includes:
[0136] The setting module is used to set the indication icon corresponding to the teammate character and the indication icon corresponding to the enemy character on different sides of the graphical user interface.
[0137] In a possible implementation manner, the graphical user interface further includes a switching control; and the switching device further includes:
[0138] A second display module, used for displaying an indication icon corresponding to the teammate role in the graphical user interface;
[0139] The fourth switching module is used to respond to the touch operation on the switching control and switch the indication icon corresponding to the teammate character to the indication icon corresponding to the enemy character.
[0140] In a possible implementation, the first switching module 403 switches the first game screen to a second game screen corresponding to the first character perspective of the first game character, including:
[0141] If the other game characters include an enemy character that is in a different game camp from the target game character, then determining whether the first game character satisfies a visual field visibility condition corresponding to the target game character; wherein the visual field visibility condition corresponding to the target game character includes at least one of the following: being in the same game camp as the target game character; having a preset association relationship with the target game character; being in a different game camp from the target game character but being within the target visual field of the target character;
[0142] If so, the first game screen is switched to a second game screen corresponding to the first character perspective of the first game character.
[0143] In a possible implementation manner, the small map area includes the indicator icons, and a first indicator icon among the indicator icons is used to map the movement of the first game character in the game scene; and the switching device further includes:
[0144] A third display module, configured to display an identification frame on the first indication icon after the first game screen is switched to a second game screen corresponding to the first character perspective of the first game character; wherein the identification frame is used to indicate a positional relationship between the second game screen and the game scene;
[0145] The second control module is used to control the first indication icon to move synchronously with the first indication icon when the first game character moves.
[0146] In a possible implementation manner, the first indication icon of the first game character is located at the center of the identification frame.
[0147] In a possible implementation, the first game character is located at the center of the second game screen;
[0148] The second game character is located at the center of the game screen.
[0149] The above-mentioned game screen switching method provided in the embodiment of the present application enables players to quickly switch the current game screen to the game screen corresponding to the perspective of other game characters by dragging the indicator icons of other game characters to the mini-map area, thereby reducing the complexity of player operations, making it easier for players to perform other game operations at the same time, and improving the efficiency of human-computer interaction.
[0150] like Figure 5As shown, an electronic device 500 provided in an embodiment of the present application includes: a processor 501, a memory 502 and a bus, wherein the memory 502 stores machine-readable instructions executable by the processor 501. When the electronic device is running, the processor 501 communicates with the memory 502 through the bus, and the processor 501 executes the machine-readable instructions to perform the steps of the method for switching the game screen in the above-mentioned game.
[0151] Specifically, the above-mentioned memory 502 and processor 501 can be general-purpose memories and processors, which are not specifically limited here. When the processor 501 runs the computer program stored in the memory 502, it can execute the method of switching the game screen in the above-mentioned game.
[0152] Corresponding to the method of switching the game screen in the above-mentioned game, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method of switching the game screen in the above-mentioned game are executed.
[0153] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0154] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0155] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0156] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0157] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for switching game screens, It is characterized in that The game includes a target game character and at least one other game character; The graphical user interface of the game includes indicator icons and a small map area corresponding to other game characters; The switching method comprises: Displaying a first game screen corresponding to a target character perspective of the target game character in the graphical user interface; In response to a drag operation on a first indicator icon among the indicator icons, a first game character indicated by the first indicator icon is determined, and the first game screen is switched to a second game screen corresponding to a first character perspective of the first game character; wherein an initial operation point of the drag operation is located at the first indicator icon, and a final operation point is located at the small map area; the second game screen is determined according to the first character perspective, and the first character perspective follows the movement and change of the first game character; The step of switching the first game screen to a second game screen corresponding to the first character perspective of the first game character includes: If the other game characters include an enemy character that is in a different game camp from the target game character, determine whether the first game character meets the field of view visibility condition corresponding to the target game character; if so, switch the first game screen to a second game screen corresponding to the first character perspective of the first game character.
2. The method for switching game screens according to claim 1, It is characterized in that After switching the first game screen to a second game screen corresponding to the first character perspective of the first game character, the switching method further includes: In response to a first touch operation on a second indicator icon among the indicator icons, determining a second game character indicated by the second indicator icon; wherein the action position of the first touch operation remains unchanged; The second game screen is switched to a third game screen corresponding to the second character perspective of the second game character.
3. The method for switching game screens according to claim 1, It is characterized in that After switching the first game screen to a second game screen corresponding to the first character perspective of the first game character, the switching method further includes: In response to a second touch operation on the small map area, the second game screen is switched back to the first game screen.
4. The method for switching game screens according to claim 1, It is characterized in that The switching method further includes: According to the dragging operation on the first indicator icon among the indicator icons, copying the first indicator icon to obtain a mapping indicator icon; The mapping indication icon is controlled to move following the drag operation.
5. The method for switching game screens according to claim 4, It is characterized in that When controlling the mapping indication icon to move following the drag operation, the switching method further includes: Indication information is displayed on the mapping indication icon, where the indication information is used to indicate that the mapping indication icon is in a moved state.
6. The method for switching game screens according to claim 5, It is characterized in that The indication information includes at least one of the following: Icons, text, sounds.
7. The method for switching game screens according to claim 1, It is characterized in that The other game characters include at least one of the following: A teammate character in the same game camp as the target game character; An enemy character that is in a different game camp than the target game character.
8. The method for switching game screens according to claim 7, It is characterized in that The switching method further includes: The indication icon corresponding to the teammate character and the indication icon corresponding to the enemy character are set on different sides of the graphical user interface.
9. The method for switching game screens according to claim 7, It is characterized in that The graphical user interface also includes a switching control; the switching method also includes: Displaying an indicator icon corresponding to the teammate role in the graphical user interface; In response to a touch operation on the switching control, the indication icon corresponding to the teammate character is switched to the indication icon corresponding to the enemy character.
10. The method for switching game screens according to claim 1 , It is characterized in that The condition that the target game character is visible in the field of vision includes at least one of the following: being in the same game camp as the target game character; having a preset association relationship with the target game character; being in a different game camp from the target game character but being within the target field of vision of the target character; If so, the first game screen is switched to a second game screen corresponding to the first character perspective of the first game character.
11. The method for switching game screens according to claim 1, It is characterized in that The small map area includes the indicator icons, and the first indicator icon among the indicator icons is used to map the movement of the first game character in the game scene; after switching the first game screen to a second game screen corresponding to the first character perspective of the first game character, the switching method further includes: Displaying an identification frame on the first indication icon included in the small map area; wherein the identification frame is used to indicate the positional relationship between the second game screen and the game scene; When the first game character moves, the first indication icon is controlled to move synchronously with the first indication icon.
12. The method for switching game screens according to claim 11, It is characterized in that The first indication icon of the first game character is located at the center of the identification frame.
13. The method for switching game screens according to claim 2, It is characterized in that The first game character is located at the center of the second game screen; The second game character is located at the center of the game screen.
14. A device for switching game screens, It is characterized in that The game includes a target game character and at least one other game character; The graphical user interface of the game includes indicator icons and a small map area corresponding to other game characters; The switching device comprises: A first display module, configured to display a first game screen corresponding to a target character perspective of the target game character in the graphical user interface; A first determining module, configured to respond to a drag operation on a first indicator icon among the indicator icons and determine a first game character indicated by the first indicator icon; wherein an initial operation point of the drag operation is located at the first indicator icon and a final operation point is located at the small map area; A first switching module is used to switch the first game screen to a second game screen corresponding to a first character perspective of the first game character; wherein the second game screen is determined according to the first character perspective, and the first character perspective changes with the movement of the first game character; The first switching module switches the first game screen to the second game screen corresponding to the first character perspective of the first game character, including: if the other game characters include an enemy character in a different game camp from the target game character, then determining whether the first game character meets the field of view visibility condition corresponding to the target game character; if so, switching the first game screen to the second game screen corresponding to the first character perspective of the first game character.
15. An electronic device, It is characterized in that include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the method for switching the game screen as described in any one of claims 1 to 13.
16. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for switching the game screen as described in any one of claims 1 to 13 are executed.
