Game interaction method and device, electronic equipment and storage medium
By providing a game interaction method with a graphical user interface and command panel in a multiplayer team game, the problem of low communication and interaction between teammates is solved, and faster and more efficient information transmission and collaboration is achieved.
Patent Information
- Application Number
- CN202510317044.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-03-17
AI Technical Summary
In a multiplayer team game, the communication and interaction between teammates is less efficient and takes a long time to send and confirm messages.
Provides a game interaction method, displaying game screens through a graphical user interface, including virtual scenes and game characters, displaying command panels in response to command trigger events, moving auxiliary targeting identifiers to determine target instructions, and sending target instructions in command confirmation events.
Through this method, the communication and interaction efficiency between teammates is significantly improved, reducing the time for information transmission, and enhancing the collaboration and reaction speed in the game.
Smart Images

Figure CN119868949A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular to a game interaction method, device, electronic device and storage medium. Background Art
[0002] Under the wave of the Internet, the continuous development and evolution of hardware and software technologies have promoted the emergence of smart devices and software. At the same time, a large number of games of different themes have emerged to meet the needs of users. With the vigorous development of various technologies in the game industry, people pay more attention to the game experience.
[0003] Currently, in multiplayer team games, teammates generally communicate and interact with each other through voice or text, and it takes a certain amount of time to send a message in this process, and it also takes a certain amount of time to clarify the target of the message, resulting in poor efficiency of communication and interaction between teammates in multiplayer team games. Summary of the invention
[0004] The embodiments of the present application provide a game interaction method, device, electronic device and storage medium, which can improve the communication and interaction efficiency between teammates in a multi-player team game.
[0005] In a first aspect, an embodiment of the present application provides a game interaction method, providing a graphical user interface, wherein the graphical user interface displays a game screen, wherein the game screen includes at least a portion of a virtual scene and at least a portion of a first game character located in the virtual scene, and the method includes:
[0006] In response to the command triggering event, displaying a corresponding command panel for the first game character in the graphical user interface, wherein the command panel includes at least one command;
[0007] In response to the aiming mark moving operation, moving the auxiliary aiming mark;
[0008] Determining a target instruction from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction;
[0009] In response to the instruction confirmation event, the target instruction is sent to the first game character corresponding to the target instruction.
[0010] In a second aspect, an embodiment of the present application provides a game interaction device, providing a graphical user interface, wherein the graphical user interface displays a game screen, wherein the game screen includes at least a portion of a virtual scene and at least a portion of a first game character located in the virtual scene, wherein the device includes:
[0011] A panel display module, configured to display a corresponding command panel for the first game character in the graphical user interface in response to a command triggering event, wherein the command panel includes at least one command;
[0012] A marker moving module, used for moving the auxiliary aiming marker in response to an aiming marker moving operation;
[0013] An instruction determination module, used for determining a target instruction from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction;
[0014] The instruction sending module is used to send the target instruction to the first game character corresponding to the target instruction in response to the instruction confirmation event.
[0015] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory storing a plurality of instructions; a processor loads instructions from the memory to execute the steps of any one of the game interaction methods provided in the embodiments of the present application.
[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the steps of any one of the game interaction methods provided in the embodiment of the present application.
[0017] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps of any one of the game interaction methods provided in the embodiments of the present application.
[0018] By adopting the scheme of the embodiment of the present application, a graphical user interface can be provided, wherein the graphical user interface displays a game screen, wherein the game screen includes at least part of a virtual scene and at least part of a first game character located in the virtual scene, and, first, in response to an instruction triggering event, a corresponding instruction panel including at least one instruction is displayed for the first game character in the graphical user interface. Then, in response to an aiming mark moving operation, the auxiliary aiming mark is moved; and the target instruction is determined from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction. Finally, in response to an instruction confirmation event, the target instruction is sent to the first game character corresponding to the target instruction, thereby improving the efficiency of communication and interaction between teammates in a multiplayer team game by performing specific operations on the instruction panel of a specific game character in a targeted manner to send specific instructions to a specific game character. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 This is a flowchart of an embodiment of the game interaction method provided in the embodiments of the present application;
[0021] Figure 2 is a schematic diagram of a graphical user interface provided in an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of a command panel provided in an embodiment of the present application;
[0023] Figure 4 is another schematic diagram of a command panel provided in an embodiment of the present application;
[0024] Figure 5 is a schematic diagram of instructions in a selected state provided in an embodiment of the present application;
[0025] Figure 6 is a schematic diagram of instruction feedback information provided in an embodiment of the present application;
[0026] Figure 7 is a schematic diagram of the structure of a game interaction device provided in an embodiment of the present application;
[0027] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0029] Before explaining the embodiments of the present application in detail, some terms involved in the embodiments of the present application are first explained.
[0030] Among them, the graphical user interface is obtained by executing a software application on a processor of a mobile terminal or other terminal and rendering it on a display, which can be a display screen interface of a terminal device. The graphical user interface may include a UI interface and a game screen for players to interact with. The UI interface may include game controls (such as skill controls, mobile controls, function controls, etc.), indicator signs (such as direction indicator signs, role indicator signs, etc.), information display areas (such as the number of kills, game time, etc.), or game setting controls (such as system settings, stores, gold coins, etc.). In an optional embodiment, the game screen is a display screen corresponding to the virtual scene displayed by the terminal device. The game screen presents the entire virtual scene, or only presents a part of the virtual scene when the virtual scene is relatively large. The virtual scene includes multiple static virtual objects, specifically including ground, mountain, stone, vegetation, buildings, etc., and also includes multiple dynamic virtual objects, such as game characters, NPC characters, AI characters and other virtual objects that execute game logic in the virtual scene.
[0031] Among them, the virtual scene is a virtual scene displayed (or provided) when the application is running on a terminal or server. Optionally, the virtual scene can be a simulation environment of the real world, a semi-simulated and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities, and the user can control the game character to move in the virtual scene.
[0032] In an optional implementation, the game screen is a display screen corresponding to a virtual scene displayed by a terminal device, and the game screen may include virtual objects such as game characters, NPC characters, AI characters, etc. that execute game logic in the virtual scene.
[0033] Among them, the game character refers to a dynamic object that can be controlled in a virtual scene. Optionally, the game character can be a virtual person, a virtual animal, a cartoon character, etc. The game character can be a virtual image in the virtual scene that is used to represent the user. The virtual scene may include at least one game character, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene. In one possible implementation, the user can control the game character to move in the virtual scene, for example, control the game character to run, jump, crawl, etc., and can also control the game character to fight with other game characters using skills, virtual props, etc. provided by the application.
[0034] In this embodiment, the game character may be a virtual character controlled by a user through operations on a client. In some embodiments, the game character may be a virtual person competing in a virtual scene. In some embodiments, the number of game characters participating in the interaction in the virtual scene may be preset or dynamically determined according to the number of clients participating in the interaction.
[0035] Embodiments of the present application provide a game interaction method, device, electronic device, and computer-readable storage medium.
[0036] Specifically, this embodiment will be described from the perspective of a game interaction device, which can be integrated into an electronic device, that is, the game interaction method of the embodiment of the present application can be executed by an electronic device, and optionally, the electronic device can include: a terminal device. The terminal device can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a game console, or a personal computer (PC) and other devices.
[0037] The game interaction method provided in the embodiment of the present application can be applied to a game interaction system. The game interaction system may include a player terminal device and a server, and the terminal may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. The player terminal device and the server may perform two-way communication via a network.
[0038] Optionally, the server may be an independent server, or a server network or server cluster composed of servers, including but not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.
[0039] In one embodiment of the present disclosure, the game interaction method can be run on a local terminal device or a server. When the game interaction method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0040] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the interactive methods in the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0041] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0042] The following is a detailed description in conjunction with the accompanying drawings. In this embodiment, the execution subject is a terminal device as an example. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings.
[0043] The game interaction method of this embodiment responds to a command trigger event by displaying a corresponding command panel for the above-mentioned first game character in the above-mentioned graphical user interface, and the above-mentioned command panel includes at least one command; responds to the aiming mark moving operation, moves the auxiliary aiming mark; determines the target command from the above-mentioned command panel according to the above-mentioned auxiliary aiming mark after the movement, wherein the above-mentioned target command is an instruction in the above-mentioned at least one instruction; responds to the command confirmation event, sends the above-mentioned target command to the first game character corresponding to the above-mentioned target command, which can improve the communication and interaction efficiency between teammates in multiplayer team games.
[0044] Please refer to Figure 1Taking a terminal as an example, this embodiment provides a game interaction method, which provides a graphical user interface, wherein the graphical user interface displays a game screen, wherein the game screen includes at least a portion of a virtual scene and at least a portion of a first game character located in the virtual scene. The specific process of the game interaction method may be as follows: Steps 101 to 104, wherein:
[0045] Step 101: In response to a command triggering event, a corresponding command panel is displayed for the first game character in the graphical user interface, wherein the command panel includes at least one command.
[0046] Among them, the above-mentioned instruction trigger event is used to indicate an event that triggers entering the instruction mode. In this instruction mode, a command panel can be displayed in the graphical user interface so that the user can send instructions to the first game character in the virtual scene by performing specific operations on the command panel.
[0047] Specifically, the above-mentioned instruction trigger event can be triggered by performing a specific operation on the graphical user interface, such as operating the instruction trigger control provided on the graphical user interface to trigger the instruction trigger event. For example, in a mobile game scenario, a command template can be triggered to call out, and the corresponding instruction trigger event can be triggered by selecting the command template; the above-mentioned instruction trigger event can also be triggered by performing a specific operation on the first external input device associated with the electronic device to which the graphical user interface belongs (the terminal in this embodiment), and the first external input device can be a mouse, keyboard, etc.; the above-mentioned instruction trigger event can also be triggered by the terminal user controlling the controlled second game character to perform a specific behavior, for example, the controlled second game character approaches a certain game character until it is within a preset range, etc. The specific setting can be based on the needs and is not limited here.
[0048] Among them, there can be at least one first game character in the graphical user interface, and the above-mentioned first game character can be a character belonging to the same camp as the controlled second game character controlled by the current player, for example, a game character in the same team as the controlled second game character, or a game character in a different team under the same alliance as the controlled second game character, etc.; the above-mentioned first game character can also be a character that has a preset relationship with the controlled second game character controlled by the current player, for example, a character that has a friend relationship with the controlled second game character, a character that has a relative relationship with the controlled second game character, etc.; the above-mentioned first game character can also be a character that has no relationship with the controlled second game character controlled by the current player, such as the player can use the operation instruction panel to prompt the unrelated character to establish a specific connection with the controlled second game character, etc., which can be set specifically according to needs and is not limited here.
[0049] It should be noted that in order to prompt the terminal to clearly understand which first game character the terminal user's operation on the command panel is directed at, in the graphical user interface of this embodiment, a corresponding command panel can be displayed for each first game character, that is, one first game character corresponds to one command panel, thereby realizing point-to-point multi-command command of a single game character.
[0050] It can be understood that by displaying at least one instruction on the instruction panel so that the user can select the instruction to be sent to the first game character to which the instruction panel belongs, the portability of communication between the user and the users to which other game characters belong is improved.
[0051] Specifically, the instructions in the above-mentioned command panel are used to communicate and interact with other game characters. The instructions in the command panel include but are not limited to attack instructions, garrison instructions, retreat instructions, treatment instructions, resurrection instructions, etc., which can be set according to needs and are not limited here.
[0052] Specifically, the instructions in the above-mentioned instruction panel can be displayed through a combination of at least one information such as text, icons, characters, etc., which can be set according to needs and is not limited here.
[0053] Optionally, the command panel is displayed with a preset transparency to avoid blocking the virtual environment. For example, when there is a battle scene in the virtual environment, if the command panel blocks the battle scene, it will affect the player experience and easily lead to battle failure.
[0054] Specifically, the above-mentioned command panel can be displayed on the graphical user interface in the form of a floating window, pop-up window or other window, or it can be displayed in a separate area from the game screen, such as dividing the graphical user interface into two areas, one area for displaying the game screen, and the other area for displaying the command panel, etc. The specific setting can be made according to needs and is not limited here.
[0055] Specifically, the display styles of the command panels corresponding to the above-mentioned different first game characters can be the same or different; the command panels corresponding to the above-mentioned different first game characters can be displayed in a specific area in the graphical user interface, or can be displayed in association with the corresponding first game characters in the graphical user interface (such as displayed on the top, sides or bottom of the first game character), etc., which can be set specifically according to needs and is not limited here.
[0056] Specifically, the instructions in the instruction panel corresponding to the above-mentioned different first game characters may be the same or different. For example, the relationship between the above-mentioned first game character and the above-mentioned controlled second game character matches the instructions in the above-mentioned instruction panel. For another example, the character type of the above-mentioned first game character may match the instructions in the above-mentioned instruction panel.
[0057] Specifically, the method further includes: obtaining the character type of the first game character, and controlling the command panel to display commands matching the character type.
[0058] Exemplarily, if the character type of the first game character is an attack type, then the instructions in the above command panel can be attack instructions, garrison instructions, retreat instructions, etc.; if the character type of the first game character is an auxiliary type, then the instructions in the above command panel can be treatment instructions, resurrection instructions, retreat instructions, etc.
[0059] Optionally, in order to clearly identify the first game character corresponding to the command panel, the role identification of the first game character may be displayed on the command panel. The role identification may be a combination of at least one information such as text, icon, avatar, etc. For example, the role identification may be the role name of the first game character.
[0060] For example, Figure 2 and Figure 3 As shown, set in Figure 2 The graphical user interface shown includes two first game characters, namely game character A and game character B. Figure 2 In the graphical user interface shown in FIG. 1 , corresponding character identifiers “Game Character A” and “Game Character B” are displayed above the heads of game characters A and B, respectively. Then, the terminal may respond to the command trigger event and display the following information: Figure 3 The graphical user interface shown in Figure 3 In the graphical user interface shown, corresponding instruction panels are displayed above the heads of game characters A and B, respectively. Figure 3 The commands in the provided command panel are represented by a combination of text and icons. Figure 2 and Figure 3 A scene map of the virtual scene is displayed in the upper left corner, and the terminal user can clearly understand the current position of the controlled second game character in the virtual scene and the surrounding environment of the controlled second game character through the scene map of the virtual scene.
[0061] In some embodiments, since the command panel is displayed for the first game character in the virtual scene, if the first game character is not in the virtual scene in the game screen, the command panel will not be displayed in the graphical user interface; or, if a third game character in the first game character leaves the part of the virtual scene corresponding to the game screen, the command panel corresponding to the third game character will not be displayed in the graphical user interface, so as to avoid blocking the screen and causing obstruction of the field of vision.
[0062] In some embodiments, the electronic device to which the above-mentioned graphical user interface belongs is associated with a first external input device, and the above-mentioned response to the instruction triggering event, displaying the corresponding instruction panel for the above-mentioned first game character in the above-mentioned graphical user interface may include: responding to the instruction triggering event triggered by the above-mentioned first external input device, displaying the corresponding instruction panel for the above-mentioned first game character in the above-mentioned graphical user interface.
[0063] In this embodiment, the above-mentioned first external input device can be a mouse, keyboard, etc. The user performs a specific operation on the first external input device to prompt the terminal to respond to the instruction trigger event triggered by the specific operation, thereby displaying the corresponding instruction panel for the first game character in the graphical user interface.
[0064] Among them, the above-mentioned specific operation on the first external input device can be an operation performed on at least one button of the first external input device (such as a button on a keyboard, a left button or a middle button of a mouse, etc.), for example, a click operation, a press operation, a long press operation, etc., which can be set specifically according to needs and is not limited here.
[0065] Correspondingly, after displaying the corresponding instruction panel for the first game character in the graphical user interface, the method may further include: in response to an instruction end event triggered by the first external input device, canceling the display of the instruction panel corresponding to the first game character in the graphical user interface.
[0066] In this embodiment, the command trigger event through the first external input device and the command end event through the first external input device can be continuous operations on the first external input device, such as continuous operations on a certain key of the first external input device, or discontinuous operations on the first external input device, such as sequential operations on a certain key of the first external input device, or sequential operations on two keys of the first external input device, etc. The specific settings can be made according to needs and are not limited here.
[0067] Specifically, a first button is arranged on the above-mentioned first external input device. For example, if the first external input device is a keyboard, the first button can be an "Alt key", a "Ctrl" key, etc., which can be set according to user needs and is not limited here. Then, the terminal can determine the event triggered by the operation by responding to the operation of the first button for subsequent processing.
[0068] Among them, the above-mentioned response to the instruction triggering event triggered by the above-mentioned first external input device, displaying the corresponding instruction panel for the above-mentioned first game character in the above-mentioned graphical user interface may include: responding to the pressing operation of the above-mentioned first button, displaying the corresponding instruction panel for the above-mentioned first game character in the above-mentioned graphical user interface.
[0069] Among them, in response to the command end event triggered by the above-mentioned first external input device, the command panel corresponding to the above-mentioned first game character is canceled from being displayed in the above-mentioned graphical user interface, which may include: in response to ending the above-mentioned pressing operation, the command panel corresponding to the above-mentioned first game character is canceled from being displayed in the above-mentioned graphical user interface.
[0070] It should be noted that, while the first button is continuously pressed, the command panel for the first game character can be displayed in the graphical user interface, and while the command panel is continuously displayed, the user can operate the command panel of at least the first game character, and by operating the command panels of different first game characters, it is possible to select different or the same commands to communicate and interact with different first game characters. For example, if the user selects the same command in both command panels, it means that the user sends the same command to communicate and interact with different first game characters, and if the user selects different commands in both command panels, it means that the user sends different commands to communicate and interact with different first game characters respectively.
[0071] Specifically, the first external input device is provided with a second button, and the second button may be the same as the first button, or may be different from the first button.
[0072] Among them, the above-mentioned response to the instruction triggering event triggered by the above-mentioned first external input device, displaying the corresponding instruction panel for the above-mentioned first game character in the above-mentioned graphical user interface, may include: in response to the clicking operation of the above-mentioned second button, if the instruction panel is not displayed in the above-mentioned graphical user interface, then displaying the corresponding instruction panel for the above-mentioned first game character in the above-mentioned graphical user interface.
[0073] Among them, the above-mentioned response to the command end event triggered by the above-mentioned first external input device, canceling the display of the command panel corresponding to the above-mentioned first game character in the above-mentioned graphical user interface, may include: in response to the click operation of the above-mentioned second button, if the command panel is displayed in the above-mentioned graphical user interface, then canceling the display of the command panel corresponding to the above-mentioned first game character in the above-mentioned graphical user interface.
[0074] Among them, the above-mentioned click operation can be a single-click operation, a double-click operation, etc., which can be set specifically according to needs and is not limited here. By clicking the second button, the display instruction panel can be opened or closed.
[0075] It should be noted that after the second button is clicked to display the command panel, the command panel for the first game character can be displayed in the graphical user interface until the second button is clicked again, and while the command panel continues to be displayed, the user can operate the command panel of at least the first game character, and by operating the command panels of different first game characters, it is possible to select different or the same commands to communicate and interact with different first game characters. For example, if the user selects the same command in both command panels, it means that the user sends the same command to communicate and interact with different first game characters, and if the user selects different commands in both command panels, it means that the user sends different commands to communicate and interact with different first game characters respectively.
[0076] In some embodiments, the displaying a corresponding instruction panel for the first game character in the graphical user interface includes: displaying a corresponding instruction panel for the first game character in the graphical user interface based on a position of the first game character.
[0077] In this embodiment, the command panel corresponding to the first game character is displayed based on the position of the first game character, so that the relationship between the first game character that appears in the graphical user interface and the command panel corresponding to the first game character is closer, which enables the user to more intuitively understand the command panel corresponding to a first game character, or the first game character to which a command panel belongs.
[0078] Specifically, the command panel can be displayed at a specific position adjacent to the first game character, such as above the head of the first game character. Alternatively, the command panel can be controlled according to the character style of the first game character to match the style of the character for display, etc. The specific setting can be made according to needs and is not limited here.
[0079] In some embodiments, the above-mentioned displaying a corresponding command panel for the above-mentioned first game characters in the above-mentioned graphical user interface based on the positions of the above-mentioned first game characters includes: if the distance between at least two first game characters is less than or equal to a preset distance threshold, then based on the positions of the at least two first game characters, determining the display style and / or display position of the command panels of the at least two first game characters; based on the display style and / or display position of the command panels of the at least two first game characters, in the above-mentioned graphical user interface, respectively displaying corresponding command panels for the at least two first game characters.
[0080] It is understandable that if the distance between at least two first game characters is less than or equal to the preset distance threshold, it means that at least two first game characters are adjacent to or at least partially overlap, which may cause the command panels associated with the first game characters in the display position to be too close, making it impossible for the terminal user to intuitively and quickly determine which game character among the at least two first game characters a certain command panel belongs to.
[0081] Therefore, in this embodiment, the terminal can determine the display style and / or display position of the command panels of at least two first game characters based on the positions of at least two first game characters, so as to distinguish the display style and / or display position of the command panels of at least two first game characters, thereby enabling the terminal user to intuitively and quickly identify which game character among the at least two first game characters a certain command panel belongs to.
[0082] In some embodiments, the virtual scene also includes a controlled second game character, and the step of determining the display style and / or display position of the command panels of at least two first game characters based on the positions of at least two first game characters may include: determining the display style and / or display position of the command panels of at least two first game characters based on the relative positions between the at least two first game characters, and / or the distance between the at least two first game characters and the second game character.
[0083] Specifically, if based on the relative positions between at least two first game characters, the command panels of at least two first game characters are displayed relative to a preset center position, for example, the command panel of the first game character close to the left is displayed on the left side of the preset center position.
[0084] Specifically, if the relative direction between at least two first game characters is determined based on the relative positions between at least two first game characters, and then the corresponding display style is determined based on a pre-constructed mapping relationship between the relative direction and the display style, and then the command panel of the corresponding first game character is displayed in the corresponding display style, for example, the panel color of the command panel of the first game character close to the left is red.
[0085] Specifically, if the distance between the at least two first game characters and the second game characters is based on the distance between the at least two first game characters and the second game characters, the display position of the instruction panel of the at least two first game characters can be determined based on the distance between the at least two first game characters and the second game characters, for example, Figure 4 As shown, set in Figure 4The graphical user interface shown includes two first game characters, namely game character C and game character D, and game character D is closer to the second game character than game character C. Then the display position of the command panel of the closest game character D can be set to the bottom, and the display position of the command panel of the farthest game character C can be set to the top.
[0086] Specifically, if based on the distance between at least two first game characters and the above-mentioned second game characters, the display style of the command panels of at least two first game characters can be determined based on the distance between at least two first game characters and the above-mentioned second game characters. For example, a mapping relationship between distance and reality style is constructed to determine the corresponding display style based on the mapping relationship, and then the command panel of the corresponding first game character is displayed in the corresponding display style. For example, the panel color of the command panel of the first game character that is closest is red.
[0087] In some embodiments, since the display position of the command panel can be set according to the first game character, during the game, the command panel follows the movement of the first game character in the graphical user interface, that is, when the first game character moves, the command panel corresponding to the first game character will also move accordingly, so as to maintain a preset position relationship between the first game character and the command panel corresponding to the first game character, such as the command panel corresponding to the first game character is displayed on top of the first game character.
[0088] Step 102: In response to the aiming mark moving operation, move the auxiliary aiming mark.
[0089] In this embodiment, the terminal may move the auxiliary aiming mark on the graphical user interface in response to the aiming mark moving operation, so as to select an instruction in the instruction panel by moving the auxiliary aiming mark.
[0090] The auxiliary aiming mark may be displayed on the graphical user interface all the time, or may be triggered to display the auxiliary aiming mark on the graphical user interface when the user performs an aiming mark moving operation, and the auxiliary aiming mark may be controlled to move along with the aiming mark moving operation.
[0091] Specifically, the above-mentioned aiming mark moving operation can be a specific operation performed on the graphical user interface, such as operating the auxiliary aiming mark or mark control control provided on the graphical user interface; the above-mentioned aiming mark moving operation can also be a specific operation performed on a third input device associated with the electronic device (the terminal in this embodiment) to which the graphical user interface belongs, and the third input device can be a mouse, keyboard, etc., which can be set specifically according to needs and is not limited here.
[0092] Exemplarily, the auxiliary aiming mark can be a game crosshair, that is, the aiming mark moving operation is a moving operation for the game crosshair. It is understandable that when the game crosshair is moved, the viewing angle of the game screen will change accordingly, so that the game crosshair is always in the center of the game screen. In addition, if the aiming mark moving operation is set as an operation performed on the mouse, the position of the game crosshair can be changed by sliding the mouse, then during the movement of the auxiliary aiming mark, the mouse controls the game crosshair to be always in the center of the game screen. If the second game character controlled by the player is currently in a state where it can attack at any time (such as a shooting state), then while communicating and interacting with other game characters (selecting target instructions), the fighting opportunity in the game will not be missed, resulting in an improved user experience.
[0093] Step 103: determining a target instruction from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction among the at least one instruction.
[0094] In this embodiment, the terminal can select an instruction in the instruction panel based on the moved auxiliary aiming mark, that is, the instruction aimed at by the moved auxiliary aiming mark is the instruction selected by the user, and the instruction is used as the selected target instruction.
[0095] In some embodiments, while determining the target instruction from the instruction panel based on the moved auxiliary aiming mark, it may also include: in the above-mentioned graphical user interface, the instruction aimed at by the moved auxiliary aiming mark is placed in a selected state, thereby prompting the terminal user to intuitively understand the currently selected instruction.
[0096] For example, Figure 5 As shown, in Figure 5 In the graphical user interface shown, it can be seen that the game crosshairs are at the "garrison command" of the command panel, causing Figure 5 The "Stand Order" in the command is selected.
[0097] In some embodiments, while determining the target instruction from the instruction panel according to the auxiliary aiming mark after movement, it may also include: the terminal can respond to the attack instruction to attack the attack position corresponding to the auxiliary aiming mark after movement. For example, the terminal can control the controlled game character to attack the enemy game character at the attack position corresponding to the auxiliary aiming mark after movement through the virtual props held. It can be seen that in the process of selecting instructions from the instruction panel, the player's attack function is not invalid, and the controlled game character controlled by the player still has the attack function so as to be able to respond to emergencies in the game scene at any time.
[0098] Step 104: In response to the instruction confirmation event, send the target instruction to the first game character corresponding to the target instruction.
[0099] The command confirmation event is used to indicate confirmation of the target command, so as to send the target command to the first game character corresponding to the target command.
[0100] Specifically, the above-mentioned instruction confirmation event can be triggered by performing a specific operation on the graphical user interface, such as operating the instruction confirmation control provided on the graphical user interface to trigger the instruction confirmation event; the above-mentioned instruction confirmation event can also be triggered by performing a specific operation on the first external input device associated with the electronic device to which the graphical user interface belongs (the terminal in this embodiment), and the first external input device can be a mouse, keyboard, etc.; the above-mentioned instruction confirmation event can also be triggered by the terminal user controlling the controlled second game character to perform a specific behavior, for example, the controlled second game character approaches the first game character corresponding to the target instruction until it is within a preset range; the above-mentioned instruction confirmation event can also be triggered by controlling the auxiliary aiming mark to stop for a preset time, or by not operating for a preset time, etc., which can be set specifically according to needs and is not limited here.
[0101] In this embodiment, the target instruction is sent to the first game character corresponding to the target instruction through an instruction confirmation event, thereby prompting the user or the second game character controlled by the user to conveniently send instructions to other game characters, thereby realizing convenient communication and interaction between game characters. In the process, the instruction panel is used to avoid blocking a large area of the screen, which can adapt to different scenes and needs.
[0102] In some embodiments, the electronic device to which the above-mentioned graphical user interface belongs is associated with a second external input device, and the above-mentioned response to the instruction confirmation event, sending the above-mentioned target instruction to the first game character corresponding to the above-mentioned target instruction may include: responding to the instruction confirmation event triggered by the above-mentioned second external input device, sending the above-mentioned target instruction to the first game character corresponding to the above-mentioned target instruction.
[0103] In this embodiment, the second external input device may be a mouse, keyboard, etc. The user performs a specific operation on the second external input device to prompt the terminal to respond to the instruction confirmation event triggered by the specific operation, thereby sending the target instruction to the first game character corresponding to the target instruction.
[0104] Among them, the above-mentioned specific operation on the second external input device can be an operation performed on at least one button of the second external input device (such as a button on a keyboard, a left button or a middle button of a mouse, etc.), for example, a click operation, a press operation, a long press operation, etc., which can be set specifically according to needs and is not limited here.
[0105] It should be noted that the second external input device may be the same input device as the first external input device, or the second external input device may be a different device from the first external input device.
[0106] In some embodiments, after determining the target instruction from the instruction panel according to the moved auxiliary aiming mark, it may also include: displaying prompt information corresponding to the target instruction in the graphical user interface, the prompt information is used to indicate the sending of the target instruction, that is, the prompt information can prompt the user to confirm the target instruction to send the target instruction on the one hand, and can also provide other auxiliary information on the other hand to improve the efficiency of the user triggering the instruction confirmation event, such as the auxiliary information in the prompt information can be the operation information for triggering the instruction confirmation event.
[0107] Specifically, a third button is arranged on the second external input device, the prompt information includes a button identifier of the third button, and the response to the instruction confirmation event triggered by the second external input device, sending the target instruction to the first game character corresponding to the target instruction, may include: sending the target instruction to the first game character corresponding to the target instruction in response to the triggering operation of the third button.
[0108] For example, based on Figure 5 The prompt message "F Send Command" displayed below the command panel can prompt the user that the third button is the F key on the keyboard, and the second external input device is the keyboard. Then the user can send the above target command to the first game character corresponding to the above target command by clicking, pressing, or other trigger operations on the F key on the keyboard.
[0109] In some embodiments, in order to facilitate the user to clearly understand whether the above-mentioned target instruction has been successfully sent to the first game character corresponding to the target instruction, after sending the above-mentioned target instruction to the first game character corresponding to the above-mentioned target instruction in response to the instruction confirmation event, it may also include: in the above-mentioned graphical user interface, the instruction feedback information of the first game character corresponding to the above-mentioned target instruction is displayed, so as to prompt the user to clearly understand whether the above-mentioned target instruction has been successfully sent to the first game character corresponding to the target instruction through the instruction feedback information.
[0110] Specifically, the instructions in the above-mentioned instruction panel are represented by corresponding instruction icons, and the above-mentioned display of instruction feedback information of the first game character corresponding to the above-mentioned target instruction in the above-mentioned graphical user interface may include: in the above-mentioned graphical user interface, updating the instruction panel of the first game character corresponding to the above-mentioned target instruction to the instruction icon corresponding to the above-mentioned target instruction.
[0111] For example, based on Figure 5 In the example shown, if the terminal sends a "stationing instruction" to the first game character corresponding to the "stationing instruction", the instruction panel of the first game character corresponding to the "stationing instruction" is updated, and the following is obtained: Figure 6 As shown, the command panel of the first game character corresponding to the "garrison command" is updated to the command icon corresponding to the "garrison command".
[0112] Specifically, the above-mentioned display of the instruction feedback information of the first game character corresponding to the above-mentioned target instruction in the above-mentioned graphical user interface may include: displaying a character message at the first game character corresponding to the above-mentioned target instruction in the above-mentioned graphical user interface, and the character message is used to indicate whether the target instruction is received. For example, if the first game character corresponding to the above-mentioned target instruction receives the target instruction, the character message of the first game character corresponding to the above-mentioned target instruction may be "received the target instruction".
[0113] For example, based on Figure 5 In the example shown, if the terminal sends a "stationing instruction" to the first game character corresponding to the "stationing instruction", a character message of the first game character corresponding to the "stationing instruction" is generated, and the following is obtained: Figure 6 The character message “received target instruction” of the first game character corresponding to the “station instruction” shown is.
[0114] From the above content, it can be seen that by providing a graphical user interface, the graphical user interface displays a game screen, the game screen includes at least part of a virtual scene, at least part of a first game character located in the virtual scene, and, first, in response to an instruction triggering event, a corresponding instruction panel including at least one instruction is displayed for the first game character in the graphical user interface. Then, in response to the aiming mark moving operation, the auxiliary aiming mark is moved; the target instruction is determined from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction. Finally, in response to an instruction confirmation event, the target instruction is sent to the first game character corresponding to the target instruction, thereby improving the efficiency of communication and interaction between teammates in a multiplayer team game by performing specific operations on the instruction panel of a specific game character in a targeted manner to send specific instructions to a specific game character.
[0115] This embodiment also provides a game interaction device, providing a graphical user interface, the graphical user interface displays a game screen, the game screen includes at least part of a virtual scene, at least part of a first game character located in the virtual scene, and the game interaction device can be specifically integrated in a terminal device. Figure 7 As shown, the game interaction device may include:
[0116] A panel display module 701, for displaying a corresponding command panel for the first game character in the graphical user interface in response to a command triggering event, wherein the command panel includes at least one command;
[0117] The mark moving module 702 is used to move the auxiliary aiming mark in response to the aiming mark moving operation;
[0118] An instruction determination module 703 is used to determine a target instruction from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction;
[0119] The instruction sending module 704 is used to send the target instruction to the first game character corresponding to the target instruction in response to the instruction confirmation event.
[0120] In some embodiments, the electronic device to which the graphical user interface belongs is associated with a first external input device, and the panel display module 701 is specifically used for:
[0121] In response to a command triggering event triggered by the first external input device, a corresponding command panel is displayed for the first game character in the graphical user interface.
[0122] In some embodiments, the panel display module 701 is further specifically used for:
[0123] In response to the command end event triggered by the first external input device, the command panel corresponding to the first game character is cancelled in the graphical user interface.
[0124] In some embodiments, the first external input device is provided with a first button, and the panel display module 701 is specifically used for:
[0125] In response to a pressing operation on the first button, a corresponding instruction panel is displayed for the first game character in the graphical user interface;
[0126] In response to the end of the pressing operation, the instruction panel corresponding to the first game character in the graphical user interface is cancelled.
[0127] In some embodiments, the first external input device is provided with a second button, and the panel display module 701 is specifically used for:
[0128] In response to a click operation on the second button, if the instruction panel is not displayed in the graphical user interface, a corresponding instruction panel is displayed for the first game character in the graphical user interface;
[0129] In response to a click operation on the second button, if a command panel is displayed in the graphical user interface, the command panel corresponding to the first game character in the graphical user interface is canceled.
[0130] In some embodiments, the panel display module 701 is specifically used for:
[0131] Based on the position of the first game character, a corresponding instruction panel is displayed for the first game character in the graphical user interface.
[0132] In some embodiments, the panel display module 701 is specifically used for:
[0133] If the distance between the at least two first game characters is less than or equal to a preset distance threshold, determining the display style and / or display position of the instruction panels of the at least two first game characters based on the positions of the at least two first game characters;
[0134] Based on the display styles and / or display positions of the command panels of the at least two first game characters, in the above graphical user interface, corresponding command panels are displayed for the at least two first game characters respectively.
[0135] In some embodiments, the virtual scene further includes a controlled second game character, and the panel display module 701 is specifically used for:
[0136] Based on the relative position between the at least two first game characters and / or the distance between the at least two first game characters and the second game character, the display style and / or display position of the instruction panels of the at least two first game characters are determined.
[0137] In some embodiments, the command panel moves along with the first game character in the graphical user interface.
[0138] In some embodiments, the game interaction device further includes an instruction determination module, and the instruction determination module is specifically used to:
[0139] Obtain the role type of the first game role;
[0140] Controls the above command panel to display commands matching the above role type.
[0141] In some embodiments, the game interaction device further includes a status display module, and the status display module is specifically used for:
[0142] In the above graphical user interface, the instruction aimed at by the moved auxiliary aiming mark is in a selected state.
[0143] In some embodiments, the electronic device to which the graphical user interface belongs is associated with a second external input device, and the instruction sending module 704 is specifically used to:
[0144] In response to the instruction confirmation event triggered by the second external input device, the target instruction is sent to the first game character corresponding to the target instruction.
[0145] In some embodiments, the game interaction device further includes a prompt information display module, and the prompt information display module is specifically used to:
[0146] The prompt information corresponding to the target instruction is displayed in the graphical user interface, and the prompt information is used to instruct to send the target instruction.
[0147] In some embodiments, the second external input device is provided with a third button, the prompt information includes a button identifier of the third button, and the instruction sending module 704 is specifically used to:
[0148] In response to the triggering operation of the third button, the target instruction is sent to the first game character corresponding to the target instruction.
[0149] In some embodiments, the game interaction device further includes an attack module, and the attack module is specifically used to:
[0150] In response to the attack instruction, an attack is carried out towards the attack position corresponding to the moved auxiliary aiming mark.
[0151] In some embodiments, the instruction panel is displayed with a preset transparency.
[0152] In some embodiments, the game interaction device further includes a feedback information display module, and the feedback information display module is specifically used to:
[0153] In the above-mentioned graphical user interface, the instruction feedback information of the first game character corresponding to the above-mentioned target instruction is displayed.
[0154] In some embodiments, the instructions in the instruction panel are represented by corresponding instruction icons, and the feedback information display module is specifically used to:
[0155] In the graphical user interface, the command panel of the first game character corresponding to the target command is updated to the command icon corresponding to the target command.
[0156] From the above content, it can be seen that by providing a graphical user interface, the graphical user interface displays a game screen, the game screen includes at least part of a virtual scene, at least part of a first game character located in the virtual scene, and, first, in response to an instruction triggering event, a corresponding instruction panel including at least one instruction is displayed for the first game character in the graphical user interface. Then, in response to the aiming mark moving operation, the auxiliary aiming mark is moved; the target instruction is determined from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction. Finally, in response to an instruction confirmation event, the target instruction is sent to the first game character corresponding to the target instruction, thereby improving the efficiency of communication and interaction between teammates in a multiplayer team game by performing specific operations on the instruction panel of a specific game character in a targeted manner to send specific instructions to a specific game character.
[0157] Accordingly, an embodiment of the present application further provides an electronic device, which may be a terminal, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and other terminal devices. Alternatively, the electronic device may be a server.
[0158] like Figure 8 As shown, Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 800 includes a processor 801 having one or more processing cores, a memory 802 having one or more computer-readable storage media, and a computer program stored in the memory 802 and executable on the processor. The processor 801 is electrically connected to the memory 802. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or arrange components differently.
[0159] The processor 801 is the control center of the electronic device 800, and uses various interfaces and lines to connect various parts of the entire electronic device 800. By running or loading software programs and / or units stored in the memory 802, and calling data stored in the memory 802, the processor 801 executes various functions of the electronic device 800 and processes data, thereby monitoring the electronic device 800 as a whole. The processor 801 can be a central processing unit CPU, a graphics processing unit GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.
[0160] In the embodiment of the present application, the processor 801 in the electronic device 800 will load instructions corresponding to the processes of one or more application programs into the memory 802 according to the following steps, and the processor 801 will run the application programs stored in the memory 802 to implement various functions, such as:
[0161] In response to the command triggering event, displaying a corresponding command panel for the first game character in the graphical user interface, wherein the command panel includes at least one command;
[0162] In response to the aiming mark moving operation, moving the auxiliary aiming mark;
[0163] Determining a target instruction from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction;
[0164] In response to the instruction confirmation event, the target instruction is sent to the first game character corresponding to the target instruction.
[0165] In some embodiments, the electronic device to which the graphical user interface belongs is associated with a first external input device, and in response to the command triggering event, the corresponding command panel is displayed for the first game character in the graphical user interface, including:
[0166] In response to a command triggering event triggered by the first external input device, a corresponding command panel is displayed for the first game character in the graphical user interface.
[0167] In some embodiments, after displaying the corresponding instruction panel for the first game character in the graphical user interface, the method further includes:
[0168] In response to the command end event triggered by the first external input device, the command panel corresponding to the first game character is cancelled in the graphical user interface.
[0169] In some embodiments, the first external input device is provided with a first button, and in response to the command triggering event triggered by the first external input device, the corresponding command panel is displayed for the first game character in the graphical user interface, including:
[0170] In response to a pressing operation on the first button, a corresponding instruction panel is displayed for the first game character in the graphical user interface;
[0171] In response to the command end event triggered by the first external input device, canceling the display of the command panel corresponding to the first game character in the graphical user interface includes:
[0172] In response to the end of the pressing operation, the instruction panel corresponding to the first game character in the graphical user interface is cancelled.
[0173] In some embodiments, the first external input device is provided with a second button, and in response to the command triggering event triggered by the first external input device, the corresponding command panel is displayed for the first game character in the graphical user interface, including:
[0174] In response to a click operation on the second button, if the instruction panel is not displayed in the graphical user interface, a corresponding instruction panel is displayed for the first game character in the graphical user interface;
[0175] In response to the command end event triggered by the first external input device, canceling the display of the command panel corresponding to the first game character in the graphical user interface includes:
[0176] In response to a click operation on the second button, if a command panel is displayed in the graphical user interface, the command panel corresponding to the first game character in the graphical user interface is canceled.
[0177] In some embodiments, the displaying of a corresponding instruction panel for the first game character in the graphical user interface includes:
[0178] Based on the position of the first game character, a corresponding instruction panel is displayed for the first game character in the graphical user interface.
[0179] In some embodiments, based on the position of the first game character, displaying a corresponding instruction panel for the first game character in the graphical user interface includes:
[0180] If the distance between the at least two first game characters is less than or equal to a preset distance threshold, determining the display style and / or display position of the instruction panels of the at least two first game characters based on the positions of the at least two first game characters;
[0181] Based on the display styles and / or display positions of the command panels of the at least two first game characters, in the above graphical user interface, corresponding command panels are displayed for the at least two first game characters respectively.
[0182] In some embodiments, the virtual scene further includes a controlled second game character, and the step of determining the display style and / or display position of the instruction panels of the at least two first game characters based on the positions of the at least two first game characters includes:
[0183] Based on the relative position between the at least two first game characters and / or the distance between the at least two first game characters and the second game character, the display style and / or display position of the instruction panels of the at least two first game characters are determined.
[0184] In some embodiments, the command panel moves along with the first game character in the graphical user interface.
[0185] In some embodiments, the above method further comprises:
[0186] Obtain the role type of the first game role;
[0187] Controls the above command panel to display commands matching the above role type.
[0188] In some embodiments, while determining the target instruction from the instruction panel according to the moved auxiliary aiming mark, the method further includes:
[0189] In the above graphical user interface, the instruction aimed at by the moved auxiliary aiming mark is in a selected state.
[0190] In some embodiments, the electronic device to which the graphical user interface belongs is associated with a second external input device, and in response to the command confirmation event, sending the target command to the first game character corresponding to the target command includes:
[0191] In response to the instruction confirmation event triggered by the second external input device, the target instruction is sent to the first game character corresponding to the target instruction.
[0192] In some embodiments, after determining the target instruction from the instruction panel according to the moved auxiliary aiming mark, the method further includes:
[0193] The prompt information corresponding to the target instruction is displayed in the graphical user interface, and the prompt information is used to instruct to send the target instruction.
[0194] In some embodiments, the second external input device is provided with a third button, the prompt information includes a button identifier of the third button, and in response to the instruction confirmation event triggered by the second external input device, sending the target instruction to the first game character corresponding to the target instruction includes:
[0195] In response to the triggering operation of the third button, the target instruction is sent to the first game character corresponding to the target instruction.
[0196] In some embodiments, while determining the target instruction from the instruction panel according to the moved auxiliary aiming mark, the method further includes:
[0197] In response to the attack instruction, an attack is carried out towards the attack position corresponding to the moved auxiliary aiming mark.
[0198] In some embodiments, the instruction panel is displayed with a preset transparency.
[0199] In some embodiments, after sending the target instruction to the first game character corresponding to the target instruction in response to the instruction confirmation event, the method further includes:
[0200] In the above-mentioned graphical user interface, the instruction feedback information of the first game character corresponding to the above-mentioned target instruction is displayed.
[0201] In some embodiments, the instructions in the instruction panel are represented by corresponding instruction icons, and the instruction feedback information of the first game character corresponding to the target instruction is displayed in the graphical user interface, including:
[0202] In the graphical user interface, the command panel of the first game character corresponding to the target command is updated to the command icon corresponding to the target command.
[0203] Therefore, the electronic device 800 provided in this embodiment can bring the following technical effects: improving the efficiency of communication and interaction between teammates in multiplayer team games.
[0204] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0205] Optional, such as Figure 8 As shown, the electronic device 800 further includes: a touch screen 803, a radio frequency circuit 804, an audio circuit 805, an input unit 806, and a power supply 807. The processor 801 is electrically connected to the touch screen 803, the radio frequency circuit 804, the audio circuit 805, the input unit 806, and the power supply 807, respectively. Those skilled in the art can understand that Figure 8 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0206] The touch display screen 803 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 803 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces may be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 801, and can receive the command sent by the processor 801 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 801 to determine the type of touch event, and then the processor 801 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 803 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 803 can also be used as a part of the input unit 806 to realize the input function.
[0207] The radio frequency circuit 804 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.
[0208] The audio circuit 805 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 805 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 805 and converted into audio data, and then the audio data is output to the processor 801 for processing, and then sent to another electronic device through the radio frequency circuit 804, or the audio data is output to the memory 802 for further processing. The audio circuit 805 may also include an earplug jack to provide communication between an external headset and an electronic device.
[0209] The input unit 806 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0210] The power supply 807 is used to supply power to various components of the electronic device 800. Optionally, the power supply 807 can be logically connected to the processor 801 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 807 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0211] although Figure 8 Not shown, the electronic device 800 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0212] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0213] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0214] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer program can be loaded by a processor to execute any one of the game interaction methods provided in the embodiment of the present application. The computer program can execute the following steps of the game interaction method:
[0215] In response to the command triggering event, displaying a corresponding command panel for the first game character in the graphical user interface, wherein the command panel includes at least one command;
[0216] In response to the aiming mark moving operation, moving the auxiliary aiming mark;
[0217] Determining a target instruction from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction;
[0218] In response to the instruction confirmation event, the target instruction is sent to the first game character corresponding to the target instruction.
[0219] It can be seen that the computer program can be loaded by the processor to execute any game interaction method provided in the embodiments of the present application, thereby bringing about the following technical effects: improving the efficiency of communication and interaction between teammates in multiplayer team games.
[0220] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0221] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0222] Since the computer program stored in the computer-readable storage medium can execute any one of the game interaction methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the game interaction methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0223] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations of the above embodiments.
[0224] In the above-mentioned game interactive device, computer-readable storage medium, electronic device, and computer program product embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the above-described game interactive device, computer-readable storage medium, computer program product, electronic device, and its corresponding units can refer to the description of the game interactive method in the above embodiment, and will not be repeated here.
[0225] The above is a detailed introduction to a game interaction method, device, electronic device, computer-readable storage medium and computer program product provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A game interaction method, characterized in that: A graphical user interface is provided, wherein the graphical user interface displays a game screen, wherein the game screen includes at least a portion of a virtual scene and at least a portion of a first game character located in the virtual scene, and the method includes: In response to an instruction triggering event, displaying a corresponding instruction panel for the first game character in the graphical user interface, the instruction panel including at least one instruction; In response to the aiming mark moving operation, moving the auxiliary aiming mark; Determining a target instruction from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction; In response to the instruction confirmation event, the target instruction is sent to the first game character corresponding to the target instruction.
2. The game interaction method according to claim 1, characterized in that: The electronic device to which the graphical user interface belongs is associated with a first external input device, and in response to the command triggering event, a corresponding command panel is displayed for the first game character in the graphical user interface, including: In response to a command triggering event triggered by the first external input device, a corresponding command panel is displayed for the first game character in the graphical user interface.
3. The game interaction method according to claim 2, characterized in that: After displaying a corresponding instruction panel for the first game character in the graphical user interface, the method further includes: In response to the command end event triggered by the first external input device, the command panel corresponding to the first game character in the graphical user interface is canceled.
4. The game interaction method according to claim 3, characterized in that: The first external input device is provided with a first button, and in response to the command triggering event triggered by the first external input device, a corresponding command panel is displayed for the first game character in the graphical user interface, including: In response to a pressing operation on the first button, displaying a corresponding instruction panel for the first game character in the graphical user interface; In response to the command end event triggered by the first external input device, canceling the display of the command panel corresponding to the first game character in the graphical user interface includes: In response to ending the pressing operation, the instruction panel corresponding to the first game character in the graphical user interface is canceled.
5. The game interaction method according to claim 4, characterized in that: The first external input device is provided with a second button, and in response to the instruction triggering event triggered by the first external input device, a corresponding instruction panel is displayed for the first game character in the graphical user interface, including: In response to a click operation on the second button, if no instruction panel is displayed in the graphical user interface, displaying a corresponding instruction panel for the first game character in the graphical user interface; In response to the command end event triggered by the first external input device, canceling the display of the command panel corresponding to the first game character in the graphical user interface includes: In response to a click operation on the second button, if an instruction panel is displayed in the graphical user interface, the instruction panel corresponding to the first game character in the graphical user interface is canceled.
6. The game interaction method according to claim 1, characterized in that: The displaying a corresponding instruction panel for the first game character in the graphical user interface includes: Based on the position of the first game character, a corresponding instruction panel is displayed for the first game character in the graphical user interface.
7. The game interaction method according to claim 6, characterized in that: The step of displaying a corresponding instruction panel for the first game character in the graphical user interface based on the position of the first game character comprises: If the distance between the at least two first game characters is less than or equal to a preset distance threshold, determining the display style and / or display position of the instruction panels of the at least two first game characters based on the positions of the at least two first game characters; Based on the display styles and / or display positions of the instruction panels of the at least two first game characters, corresponding instruction panels are displayed for the at least two first game characters in the graphical user interface.
8. The game interaction method according to claim 7, characterized in that: The virtual scene also includes a controlled second game character, and the step of determining the display style and / or display position of the instruction panels of the at least two first game characters based on the positions of the at least two first game characters includes: Based on the relative position between the at least two first game characters and / or the distance between the at least two first game characters and the second game character, the display style and / or display position of the instruction panels of the at least two first game characters are determined.
9. The game interaction method according to claim 1, characterized in that: The instruction panel moves along with the first game character in the graphical user interface.
10. The game interaction method according to claim 1, characterized in that: The method further comprises: Obtaining the character type of the first game character; Control the command panel to display commands matching the role type.
11. The game interaction method according to claim 1, characterized in that: While determining the target instruction from the instruction panel according to the moved auxiliary aiming mark, the method further includes: In the graphical user interface, the instruction aimed at by the moved auxiliary aiming mark is in a selected state.
12. The game interaction method according to claim 1, characterized in that: The electronic device to which the graphical user interface belongs is associated with a second external input device, and in response to the instruction confirmation event, sending the target instruction to the first game character corresponding to the target instruction includes: In response to the instruction confirmation event triggered by the second external input device, the target instruction is sent to the first game character corresponding to the target instruction.
13. The game interaction method according to claim 12, characterized in that: After determining the target instruction from the instruction panel according to the moved auxiliary aiming mark, the method further includes: Prompt information corresponding to the target instruction is displayed in the graphical user interface, and the prompt information is used to instruct to send an instruction for the target instruction.
14. The game interaction method according to claim 13, characterized in that: The second external input device is provided with a third button, the prompt information includes a button identifier of the third button, and in response to the instruction confirmation event triggered by the second external input device, sending the target instruction to the first game character corresponding to the target instruction includes: In response to the triggering operation of the third button, the target instruction is sent to the first game character corresponding to the target instruction.
15. The game interaction method according to claim 1, characterized in that: While determining the target instruction from the instruction panel according to the moved auxiliary aiming mark, the method further includes: In response to the attack instruction, an attack is performed on the attack position corresponding to the moved auxiliary aiming mark.
16. The game interaction method according to claim 1, characterized in that: The command panel is displayed with a preset transparency.
17. The game interaction method according to any one of claims 1 to 16, characterized in that: After sending the target instruction to the first game character corresponding to the target instruction in response to the instruction confirmation event, the method further includes: In the graphical user interface, instruction feedback information of the first game character corresponding to the target instruction is displayed.
18. The game interaction method according to claim 17, characterized in that: The instructions in the instruction panel are represented by corresponding instruction icons, and the instruction feedback information of the first game character corresponding to the target instruction is displayed in the graphical user interface, including: In the graphical user interface, the instruction panel of the first game character corresponding to the target instruction is updated to the instruction icon corresponding to the target instruction.
19. A game interactive device, characterized in that: A graphical user interface is provided, wherein the graphical user interface displays a game screen, wherein the game screen includes at least a portion of a virtual scene and at least a portion of a first game character located in the virtual scene, and the device includes: A panel display module, configured to display a corresponding instruction panel for the first game character in the graphical user interface in response to an instruction triggering event, wherein the instruction panel includes at least one instruction; A marker moving module, used for moving the auxiliary aiming marker in response to the aiming marker moving operation; an instruction determination module, configured to determine a target instruction from the instruction panel according to the moved auxiliary aiming mark, wherein the target instruction is an instruction in the at least one instruction; The instruction sending module is used to send the target instruction to the first game character corresponding to the target instruction in response to the instruction confirmation event.
20. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the game interaction method as described in any one of claims 1 to 18.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the game interaction method as described in any one of claims 1 to 18.
Citation Information
Patent Citations
Information sending method and device in game, electronic equipment and storage medium
CN114082193A
Game control method and device, equipment and storage medium
CN116920381A
Image display method and device based on virtual reality space, equipment and medium
CN117075771A
Method and apparatus for augmenting images captured using eyewear for acquiring an image presented to a viewer on an external device
US20200351447A1