Information processing method and device in game, electronic equipment and storage medium
By displaying the corner change window in the game interface and using sliding operations to complete role switching, the occlusion and finger fatigue problems caused by angle change operations in vertical screen mode are solved, and the smoothness and real-timeness of the game experience are improved.
Patent Information
- Application Number
- CN202411231667.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2025-01-14
AI Technical Summary
In card or battle flag games on mobile devices, the existing angle change operation method will cause the battle screen to be blocked in vertical screen mode, causing the phenomenon of accidentally touching and changing, and multiple clicks are required to cause the player's finger fatigue, reducing the game experience .
By displaying corner change controls and game scenes in the graphical user interface, the corner change window is displayed in response to the trigger operation, displaying the character identifiers to be played and replaced, and the role switching is completed through the sliding operation. The corner change window is only displayed in the specified area to reduce occlusion and improve operational efficiency.
It realizes the angle change operation without obstruction in vertical screen mode, which improves the player's role replacement efficiency and fault tolerance in combat, and improves the smoothness and real-timeness of the game experience.
Smart Images

Figure CN119303295A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of game interaction design, and in particular to an information processing method, device, electronic device and storage medium in a game. Background Art
[0002] Card or battle flag games on mobile devices often involve swapping game characters during battles. In related technologies, a role-changing entry control is set in the game battle interface. Clicking the role-changing entry control will display a role-changing window in the center of the interface, and then the replaced character and the new character are selected in the role-changing window, and click again to confirm the role change. This method can ensure the accuracy of role-changing, but in vertical screen games, this interactive method will cause a large amount of occlusion of the battle screen, making it impossible to synchronously preview the role-changing effect, and it is easy to accidentally touch or accidentally change. At the same time, players in vertical screen games are often accustomed to one-handed operation. The existing method requires multiple clicks to complete a role change, which can easily cause player finger fatigue and reduce the player's gaming experience. Summary of the invention
[0003] The purpose of the present disclosure is to provide an information processing method, device, electronic device and storage medium in a game, so as to simplify the operation steps of changing roles in a game match and avoid significant obstruction of the game when changing roles.
[0004] In a first aspect, the present disclosure provides an information processing method in a game, the method comprising: displaying a graphical user interface through a terminal device, the graphical user interface displaying a role change control and a game scene; wherein the game scene includes at least one virtual character controlled by the terminal device; in response to a first trigger operation for the role change control, controlling a role change window to be displayed in a specified area in the graphical user interface, the role change window including a role identifier corresponding to at least one role to be played; in response to a second trigger operation for a role identifier corresponding to a target role to be played in the role change window, controlling the role identifier corresponding to a role to be replaced in at least one virtual character to be displayed in the role change window; wherein the role to be replaced is at least a part of the virtual characters in at least one virtual character; in response to a third trigger operation for a role identifier corresponding to the target role to be replaced in the role change window, controlling the target character to be replaced in the game scene to be switched to the target character to be played.
[0005] In a second aspect, the present disclosure provides an information processing device in a game, the device comprising: an interface display module, used to display a graphical user interface through a terminal device, wherein the graphical user interface displays a role change control and a game scene; wherein the game scene includes at least one virtual character controlled by the terminal device; a window display module, used to respond to a first trigger operation for the role change control, and control the display of a role change window in a specified area in the graphical user interface, wherein the role change window includes a role identifier corresponding to at least one role to be played; an identifier display module, used to respond to a second trigger operation for a role identifier corresponding to a target role to be played in the role change window, and control the display of a role identifier corresponding to a role to be replaced in at least one virtual character in the role change window; wherein the role to be replaced is at least a part of the virtual characters in at least one virtual character; a role switching module, used to respond to a third trigger operation for a role identifier corresponding to the target role to be replaced in the role change window, and control the switching of the target role to be replaced in the game scene to the target role to be played.
[0006] In a third aspect, the present disclosure provides an electronic device, which includes a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the information processing method in the above-mentioned game.
[0007] In a fourth aspect, the present disclosure provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the information processing method in the above-mentioned game.
[0008] The embodiments of the present disclosure bring the following beneficial effects:
[0009] The present disclosure provides an information processing method, device, electronic device and storage medium in a game. First, a graphical user interface is displayed through a terminal device, and a role-changing control and a game scene are displayed in the graphical user interface; wherein the game scene includes at least one virtual character controlled by the terminal device; then, in response to a first trigger operation for the role-changing control, a role-changing window is controlled to be displayed in a specified area in the graphical user interface, wherein the role-changing window includes a role identifier corresponding to at least one role to be played; then, in response to a second trigger operation for a role identifier corresponding to a target role to be played in the role-changing window, a role identifier corresponding to a role to be replaced in at least one virtual character is controlled to be displayed in the role-changing window; wherein the role to be replaced is at least a part of the virtual characters in at least one virtual character; then, in response to a third trigger operation for a role identifier corresponding to the target role to be replaced in the role-changing window, the target role to be replaced in the game scene is controlled to be switched to the target role to be played. In this method, when switching virtual characters during a game, the role-changing window is displayed only in the designated area of the graphical user interface, reducing the obstruction of the game screen by the role-changing operation, and the role-changing effect can be previewed synchronously; at the same time, this method can improve the efficiency and fault tolerance of players when replacing characters in battle, and improve the smoothness and real-time nature of the battle experience.
[0010] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.
[0011] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, the following specifically cites preferred implementation modes and describes them in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 A flowchart of an information processing method in a game provided by an embodiment of the present disclosure;
[0014] Figure 2 A schematic diagram of a display corner change window provided in an embodiment of the present disclosure;
[0015] Figure 3 A schematic diagram of displaying a role identifier corresponding to a role to be replaced in a role replacement interface provided by an embodiment of the present disclosure;
[0016] Figure 4 A schematic diagram of displaying prompt information in a game scene provided by an embodiment of the present disclosure;
[0017] Figure 5 A schematic diagram of the structure of an information processing device in a game provided by an embodiment of the present disclosure;
[0018] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. The components of the embodiments of the present disclosure described and shown in the drawings here can be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the present disclosure claimed for protection, but merely represents selected embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.
[0021] The information processing method in the game in one embodiment of the present disclosure can be run on a local terminal device or a server. When the information processing method in the game 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.
[0022] The embodiments of the present disclosure provide a method, device, electronic device, and storage medium for processing information in a game. The technology can be applied to scenarios in horizontal or vertical screen games where character switching is required.
[0023] 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 information processing method 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.
[0024] 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.
[0025] In a possible implementation, the present disclosure provides an information processing method in a game, such as Figure 1 As shown, the method comprises the following specific steps:
[0026] Step S102, displaying a graphical user interface through the terminal device, wherein the graphical user interface displays a role-changing control and a game scene; wherein the game scene includes at least one virtual character controlled by the terminal device.
[0027] In a specific implementation, the terminal device may be the local terminal device mentioned above, or may be the client device in the cloud interaction system mentioned above. For example, the terminal device may be a mobile phone, a tablet computer, a personal computer, a game console or a game console, etc. The terminal device displays the graphical user interface corresponding to the target game by running the game program corresponding to the target game, and the target game may be a chess and card game or a battle flag game, etc. The graphical user interface displays a corner change control and at least part of the game scene, and the corner change control can be displayed at any position in the graphical user interface. The specific display position can be determined according to the research and development requirements, for example, it can be displayed directly below, at the bottom left or at the bottom right of the graphical user interface, etc. The above-mentioned game scene includes one or more virtual characters controlled by the terminal device, and these virtual characters usually belong to the same game camp. The game scene may also include one or more virtual characters belonging to different game camps from these virtual characters. Virtual characters belonging to different game camps will play games in the game scene, and virtual characters belonging to the same game camp will collaborate in teams in the game scene.
[0028] Step S104, in response to a first trigger operation on the role-changing control, controlling the display of a role-changing window in a designated area of the graphical user interface, wherein the role-changing window includes a role identifier corresponding to at least one role to be played.
[0029] The specific operation corresponding to the above-mentioned first trigger operation can be determined according to research and development requirements. For example, the first trigger operation can be a click operation, a long press operation, or a sliding operation on the role change control. When the player performs the first trigger operation on the role change control, a role change window containing the character identification of the character to be played will be displayed in a designated area in the graphical user interface. The designated area can be determined according to research and development requirements. For example, the designated area can be the lower half screen or the lower third screen in the graphical user interface.
[0030] In specific implementation, most role-playing board games allow changing roles during a game. Therefore, before a game, the number of game roles selected by the player usually exceeds the number of roles that will be played simultaneously in the game. That is, the player will initially arrange a certain number of game roles before the game, and keep the game roles in the reserve team, allowing the player to adjust the strategy and replace the players during the game. Among them, the game roles in the reserve team are the roles to be played. Specifically, the role change window will display the role identification corresponding to all the roles to be played in the reserve team, and the role identification can be the role avatar or role name corresponding to the role to be played.
[0031] Step S106, in response to a second trigger operation on the character identifier corresponding to the target character to be played in the character changing window, control the display of the character identifier corresponding to the character to be replaced in at least one virtual character in the character changing window; wherein the character to be replaced is at least part of the virtual characters in the at least one virtual character.
[0032] In a specific implementation, the character identifier corresponding to the target character to be played can be the character identifier corresponding to any character to be played in the role change window, which can be determined according to the player's operation. The specific operation corresponding to the second trigger operation can be determined according to research and development requirements. For example, the second trigger operation can be a click operation, a long press operation, or a sliding operation on the character identifier corresponding to the target character to be played. When the player performs the second trigger operation on the target character to be played control, the character to be replaced will be determined from at least one virtual character controlled by the terminal device in the game scene, and the character identifier of the character to be replaced will be displayed in the role change window.
[0033] In actual applications, the above-mentioned characters to be replaced can be one or more virtual characters controlled by the terminal device in the game scene, which can be determined according to the game rules. For example, in some games, all virtual characters controlled by the terminal device in the game scene can be determined as characters to be replaced; some games require players to determine which game characters will directly fight and which characters will be on standby when determining the character lineup. If the characters are changed during the game, the original game characters will become the characters to be replaced. However, if the game characters die or are affected by other factors, there may be a situation where the game characters cannot be used as the characters to be replaced.
[0034] Step S108, in response to a third trigger operation on the character identifier corresponding to the target character to be replaced in the role-changing window, control the target character to be replaced in the game scene to be switched to the target character to be played.
[0035] In specific implementation, the character identifier corresponding to the target character to be replaced can be the character identifier corresponding to any character to be replaced in the role change window, which can be determined according to the player's operation. The specific operation corresponding to the third trigger operation can be determined according to research and development needs. For example, the third trigger operation can be a click operation, a long press operation, or a sliding operation on the character identifier corresponding to the target character to be played. When the player performs the third trigger operation on the target character to be replaced control, the target character to be replaced in the game scene will be switched to the target character to be played. At this time, the target character to be replaced will be used as the new character to be played.
[0036] An information processing method for a game provided by an embodiment of the present disclosure, when switching virtual characters during a game match, only displays a role-changing window in a designated area of a graphical user interface, thereby reducing the occlusion of the game match screen by the role-changing operation, and can simultaneously preview the role-changing effect; at the same time, this method can improve the efficiency and fault tolerance of players when replacing characters in battle, and improve the fluency and real-time nature of the battle experience.
[0037] In addition, this method can be applied to vertical screen games. Players in vertical screen games are often accustomed to one-handed operation. The existing method requires multiple clicks to complete a character change, which easily causes player finger fatigue. This method is simple to operate and only requires three trigger operations to complete the character change operation, which helps to improve the player's gaming experience.
[0038] The following embodiments are used to describe the method of displaying a role change window and displaying a character identification in the role change window.
[0039] like Figure 2 FIG. 1 is a schematic diagram of a display corner change window provided by an embodiment of the present disclosure. Figure 2 The character model with a white head is a virtual character controlled by a terminal device in the game scene, and there are three virtual characters. The character model with a gray head is a game character that belongs to a different game camp from the virtual character. Figure 2 The following is a schematic diagram of the game interface for vertical screen games. There is a corner change control in the lower left corner of the game interface. When the player clicks the corner change control, a drop-down pop-up window will be displayed at the bottom of the game interface. Figure 2 The gray area below the right image in the figure is a drop-down pop-up window, which is also the above-mentioned role change window. The role identification corresponding to the role to be played is displayed in the role change window. Figure 2 The two character portraits displayed in the game are the character IDs of the characters to be played. Since the role change window is displayed in the lower half of the vertical screen, the interactive operations related to role change appear in the player's hot zone in the lower half of the vertical screen, which can be easily operated with one hand.
[0040] Specifically, the above-mentioned specific process of responding to the second trigger operation corresponding to the character identification of the target character to be on the stage in the role changing window and controlling the display of the character identification corresponding to the character to be replaced in at least one virtual character in the role changing window may include: responding to the second trigger operation corresponding to the character identification of the target character to be on the stage in the role changing window, and controlling the display of the character identification corresponding to the character to be replaced in at least one virtual character near the contact position of the second trigger operation.
[0041] In specific implementation, the vicinity of the contact point position of the second trigger operation can be determined according to research and development requirements. For example, the vicinity can be above, below, or around the contact point position of the second trigger operation. Figure 3 The figure shows a schematic diagram of displaying a role identification corresponding to a role to be replaced in a role replacement interface provided by an embodiment of the present disclosure. Figure 3 The character identifier corresponding to the finger position in is the character identifier corresponding to the target character to be on the stage. When the player's finger stays at the position of the character identifier corresponding to the target character to be on the stage, a circular identifier list will appear around the finger selection. The circular identifier list displays character identifiers corresponding to three characters to be replaced. The character identifiers are character avatars, among which the character to be replaced is the virtual character waiting to be replaced in the game scene.
[0042] In an optional embodiment, the above-mentioned corner change window includes a cancel control; based on this, in response to a trigger operation for the cancel control, the corner change window displayed in the graphical user interface is canceled. Figure 2 and Figure 3 A cancel control is displayed below the illustrated role change window, and when the player triggers the cancel control, the role change window displayed in the graphical user interface will be closed.
[0043] The following embodiments are used to describe the method of switching roles in a game scene.
[0044] Specifically, in response to a third trigger operation for a character identifier corresponding to a target character to be replaced in a role-changing window, the specific process of controlling the target character to be replaced in a game scene to be switched to a target character to be replaced may include: in response to a first sliding operation with a contact position of a second trigger operation as a starting point and a character identifier corresponding to the target character to be replaced as an end point, selecting the character identifier corresponding to the target character to be replaced, and displaying a prompt message in the game scene, wherein the prompt message is used to prompt that the target character to be replaced is about to be switched to the target character to be played; in response to the end of the first sliding operation, controlling the target character to be replaced in the game scene to be switched to the target character to be played; wherein the end of the first sliding operation is to stop triggering the graphical user interface.
[0045] In a specific implementation, the third trigger operation can be a first sliding operation that is continuous with the second trigger operation, and the first sliding operation is a sliding operation that starts from the contact position of the second trigger operation and ends at the target character to be replaced in the character change window. When the player's finger leaves the graphical user interface (equivalent to the above-mentioned stop triggering the graphical user interface), the first sliding operation ends, and at this time, the target character to be replaced in the game scene is switched to the target character to be played. The prompt information can be a text prompt information displayed at a position in the graphical user interface that does not block the game field of view, or it can be a character identifier corresponding to the target character to be played displayed on the target character to be replaced in the game scene, or it can be a target character to be replaced in a specified format, etc.
[0046] In an optional embodiment, the specific process of controlling the display of prompt information in the game scene may include: controlling the display of the target character to be replaced in the game scene in a specified display format, and displaying the character identification corresponding to the target character to be played on the target character to be replaced.
[0047] Specifically, the specific display format corresponding to the above-mentioned designated display format can be determined according to research and development requirements. For example, the designated display format can be a character model corresponding to the target character to be replaced displayed in a stroke, or a character model corresponding to the target character to be replaced displayed in a designated color, etc. Among them, the designated display format is different from the display format of the character model of the virtual character that does not need to be switched in the game scene, so that the player can clearly know which virtual character in the game scene is the virtual character to be switched. While displaying the target replacement character in the designated display format, the character identification corresponding to the target character to be replaced will also be displayed on the target character to be replaced, so that the player can clearly know which virtual character will be switched after the virtual character is switched.
[0048] like Figure 4 FIG. 1 is a schematic diagram showing a prompt information display in a game scene provided by an embodiment of the present disclosure. When a player selects a character identifier corresponding to a target character to be replaced, the target character to be replaced will be grayed out in the game scene, and a character identifier (i.e., a character identifier corresponding to the target character to be replaced) will be displayed on the target character to be replaced. Figure 2 The character logo is displayed above the target character to be replaced in the game), so that players can determine the character replacement effect and the character to be switched in real time, which helps to improve the player's gaming experience.
[0049] In an optional embodiment, after responding to a first sliding operation with the contact position of the second trigger operation as the starting point and the character identifier corresponding to the target character to be replaced as the end point, a second sliding operation with the end point position of the first sliding operation as the starting point and the character identifier corresponding to the first character to be replaced in the role change window as the end point can continue to be responded to, the character identifier corresponding to the first character to be replaced is selected, and the first character to be replaced in the game is controlled to be displayed in a specified display format, and the character identifier corresponding to the first character to be replaced is displayed on the first character to be replaced; in response to the end of the second sliding operation, the first character to be replaced in the game scene is controlled to be switched to the target character to be replaced; wherein the end of the second sliding operation is to stop triggering the graphical user interface.
[0050] In the specific implementation, while the second trigger operation is in the continuous state, the player can select any character identifier corresponding to the character to be replaced from the character identifiers corresponding to the target character to be replaced displayed in the role change window through a sliding operation, and the prompt information displayed in the game scene will change with the different characters to be replaced selected by the player. When the player ends the sliding operation (that is, when the player's finger leaves the graphical user interface and stops triggering the graphical user interface), if the end position corresponds to the character identifier corresponding to the character to be replaced, the character to be replaced in the game scene will be switched to the target character to be replaced.
[0051] Further, after responding to a first sliding operation with the contact position of the second trigger operation as the starting point and the character identifier corresponding to the target character to be replaced as the end point, you can continue to respond to a third sliding operation with the end point position of the first sliding operation as the starting point and an area outside the character identifier corresponding to at least one character to be replaced in the graphical user interface as the end point, thereby deselecting the character identifier corresponding to the target character to be replaced.
[0052] In the specific implementation, when the player's finger area is not on the character identifier corresponding to the character to be replaced displayed in the character change window, the character identifier corresponding to any character to be replaced will be deselected; when the player's finger area is on the character identifier corresponding to any character to be replaced displayed in the character change window, the character identifier corresponding to the character to be replaced will be selected.
[0053] In an optional embodiment, when multiple character identifiers corresponding to the characters to be played are displayed in the character replacement window, if the player performs the second trigger operation on the character identifier corresponding to the character to be played, the character identifier corresponding to the character to be replaced will be displayed near the character identifier corresponding to the character to be played. If the character identifier corresponding to one of the characters to be played is switched to the character identifier corresponding to another character to be played, the character identifier corresponding to the character to be replaced displayed near the character identifier corresponding to the character to be played will be displayed on the character identifier corresponding to the other character to be played.
[0054] In the above method, the replacement parties are determined by identifying the role identifier corresponding to the long-pressed role to be played and the sliding direction, and the role change can be completed by releasing the hand with a continuous action, rather than frequent multiple clicks; in addition, this method uses a drop-down pop-up window to display the new substitute role entry prompt information in real time on the battlefield screen, which is synchronized with the player's selection action. In addition, the present disclosure provides an interactive method for completing the switching of the playing role with one hand in a vertical screen, so as to reduce the interruption of the player's operation and physical fatigue, and at the same time improve the fault tolerance rate of role change.
[0055] Corresponding to the above method embodiment, the present disclosure provides an information processing device in a game, such as Figure 5 As shown, the device comprises:
[0056] The interface display module 50 is used to display a graphical user interface through the terminal device, in which the graphical user interface displays role-changing controls and a game scene; wherein the game scene includes at least one virtual character controlled by the terminal device.
[0057] The window display module 51 is used to respond to the first trigger operation on the role change control and control the display of the role change window in the designated area of the graphical user interface. The role change window includes a role identifier corresponding to at least one role to be played.
[0058] The identification display module 52 is used to respond to the second trigger operation of the role identification corresponding to the target role to be replaced in the role replacement window, and control the display of the role identification corresponding to the role to be replaced in at least one virtual character in the role replacement window; wherein the role to be replaced is at least part of the virtual characters in the at least one virtual character.
[0059] The role switching module 53 is used to respond to the third trigger operation corresponding to the role identifier of the target role to be replaced in the role change window, and control the target role to be replaced in the game scene to be switched to the target role to be played.
[0060] The information processing device in the above-mentioned game, when switching virtual characters during the game process, only displays the role-changing window in the designated area of the graphical user interface, reducing the occlusion of the game battle screen by the role-changing operation, and can simultaneously preview the role-changing effect; at the same time, this method can improve the efficiency and fault tolerance of players when replacing characters in battle, and improve the fluency and real-time nature of the battle experience.
[0061] Specifically, the identification display module 52 is used to: respond to a second trigger operation on the character identification corresponding to the target character to be played in the role replacement window, and control the display of the character identification corresponding to the character to be replaced in at least one virtual character near the contact point of the second trigger operation.
[0062] In a specific implementation, the above-mentioned role switching module 53 is used to: in response to a first sliding operation with the contact position of the second trigger operation as the starting point and the role identifier corresponding to the target role to be replaced as the end point, select the role identifier corresponding to the target role to be replaced, and display a prompt message in the game scene, wherein the prompt message is used to prompt that the target role to be replaced is about to be switched to the target role to be played; in response to the end of the first sliding operation, control the switching of the target character to be replaced in the game scene to the target character to be played; wherein the end of the first sliding operation is to stop triggering the graphical user interface.
[0063] Furthermore, the above-mentioned role switching module 53 is used to: control the display of the target role to be replaced in the game scene in a specified display format, and display the role identifier corresponding to the target role to be replaced on the target role to be replaced.
[0064] Furthermore, the above-mentioned device also includes a selection switching module, which is used to: after responding to a first sliding operation with the contact position of the second trigger operation as the starting point and the character identifier corresponding to the target character to be replaced as the end point, continue to respond to a second sliding operation with the end point position of the first sliding operation as the starting point and the character identifier corresponding to the first character to be replaced in the role change window as the end point, select the character identifier corresponding to the first character to be replaced, and control the display of the first character to be replaced in the game scene in a specified display format, and display the character identifier corresponding to the target character to be replaced on the first character to be replaced; in response to the end of the second sliding operation, control the switching of the first character to be replaced in the game scene to the target character to be replaced; wherein the end of the second sliding operation is to stop triggering the graphical user interface.
[0065] Furthermore, the above-mentioned device also includes an identification cancellation module, which is used to: after responding to a first sliding operation with the contact position of the second trigger operation as the starting point and the character identification corresponding to the target character to be replaced as the end point, continue to respond to a third sliding operation with the end point position of the first sliding operation as the starting point and an area outside the character identification corresponding to at least one character to be replaced in the graphical user interface as the end point, to cancel the selection of the character identification corresponding to the target character to be replaced.
[0066] Furthermore, the above-mentioned corner-changing window includes a cancel control; based on this, the above-mentioned device also includes a window cancel module, which is used to: respond to a trigger operation for the cancel control and cancel the corner-changing window displayed in the graphical user interface.
[0067] The information processing device in the game provided by the embodiment of the present disclosure has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0068] The present disclosure also provides an electronic device, such as Figure 6 As shown, the electronic device includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the information processing method in the above game.
[0069] Specifically, the information processing method in the above-mentioned game includes: displaying a graphical user interface through a terminal device, wherein the graphical user interface displays a role change control and a game scene; wherein the game scene includes at least one virtual character controlled by the terminal device; in response to a first trigger operation for the role change control, controlling the display of a role change window in a designated area in the graphical user interface, wherein the role change window includes a role identifier corresponding to at least one role to be played; in response to a second trigger operation for a role identifier corresponding to a target role to be played in the role change window, controlling the display of a role identifier corresponding to a role to be replaced in at least one virtual character in the role change window; wherein the role to be replaced is at least a part of the virtual characters in at least one virtual character; in response to a third trigger operation for a role identifier corresponding to the target role to be replaced in the role change window, controlling the target character to be replaced in the game scene to be switched to the target character to be played.
[0070] The information processing method in the above-mentioned game only displays the role-changing window in the designated area of the graphical user interface when switching virtual characters during the game, thereby reducing the occlusion of the game battle screen by the role-changing operation and simultaneously previewing the role-changing effect; at the same time, this method can improve the efficiency and fault tolerance of players when replacing characters in battle, and improve the fluency and real-time nature of the battle experience.
[0071] In an optional embodiment, the above-mentioned step of responding to the second trigger operation corresponding to the character identification of the target character to be entered in the character changing window and controlling the display of the character identification corresponding to the character to be replaced in at least one virtual character in the character changing window includes: responding to the second trigger operation corresponding to the character identification of the target character to be entered in the character changing window, controlling the display of the character identification corresponding to the character to be replaced in at least one virtual character near the contact position of the second trigger operation.
[0072] In an optional embodiment, the above-mentioned response to the third trigger operation corresponding to the character identifier of the target character to be replaced in the role-changing window controls the step of switching the target character to be replaced in the game scene to the target character to be entered, including: in response to a first sliding operation with the contact position of the second trigger operation as the starting point and the character identifier corresponding to the target character to be replaced as the end point, selecting the character identifier corresponding to the target character to be replaced, and displaying a prompt message in the game scene, the prompt message being used to prompt that the target character to be replaced is about to be switched to the target character to be entered; in response to the end of the first sliding operation, controlling the switching of the target character to be replaced in the game scene to the target character to be entered; wherein the end of the first sliding operation is to stop triggering the graphical user interface.
[0073] In an optional embodiment, the step of controlling the display of prompt information in the game scene includes: controlling the display of the target character to be replaced in the game scene in a specified display format, and displaying a character identifier corresponding to the target character to be played on the target character to be replaced.
[0074] In an optional embodiment, after responding to a first sliding operation with the contact position of the second trigger operation as the starting point and the character identifier corresponding to the target character to be replaced as the end point, the above method also includes: continuing to respond to a second sliding operation with the end point position of the first sliding operation as the starting point and the character identifier corresponding to the first character to be replaced in the role change window as the end point, selecting the character identifier corresponding to the first character to be replaced, and controlling the display of the first character to be replaced in the game scene in a specified display format, and displaying the character identifier corresponding to the target character to be replaced on the first character to be replaced; in response to the end of the second sliding operation, controlling the switching of the first character to be replaced in the game scene to the target character to be replaced; wherein the end of the second sliding operation is to stop triggering the graphical user interface.
[0075] In an optional embodiment, after responding to a first sliding operation with the contact point position of the second trigger operation as the starting point and the character identifier corresponding to the target character to be replaced as the end point, the above method also includes: continuing to respond to a third sliding operation with the end point position of the first sliding operation as the starting point and an area outside the character identifier corresponding to at least one character to be replaced in the graphical user interface as the end point, and deselecting the character identifier corresponding to the target character to be replaced.
[0076] In an optional embodiment, the above-mentioned corner-changing window includes a cancel control; the above-mentioned method also includes: responding to a trigger operation for the cancel control, canceling the corner-changing window displayed in the graphical user interface.
[0077] Further, Figure 6 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .
[0078] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0079] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and completes the steps of the method of the above embodiment in combination with its hardware.
[0080] The embodiments of the present disclosure also provide a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the information processing method in the above-mentioned game. The specific implementation can be found in the method embodiment, which will not be described in detail here.
[0081] Specifically, the information processing method in the above-mentioned game includes: displaying a graphical user interface through a terminal device, wherein the graphical user interface displays a role change control and a game scene; wherein the game scene includes at least one virtual character controlled by the terminal device; in response to a first trigger operation for the role change control, controlling the display of a role change window in a designated area in the graphical user interface, wherein the role change window includes a role identifier corresponding to at least one role to be played; in response to a second trigger operation for a role identifier corresponding to a target role to be played in the role change window, controlling the display of a role identifier corresponding to a role to be replaced in at least one virtual character in the role change window; wherein the role to be replaced is at least a part of the virtual characters in at least one virtual character; in response to a third trigger operation for a role identifier corresponding to the target role to be replaced in the role change window, controlling the target character to be replaced in the game scene to be switched to the target character to be played.
[0082] The information processing method in the above-mentioned game only displays the role-changing window in the designated area of the graphical user interface when switching virtual characters during the game, thereby reducing the occlusion of the game battle screen by the role-changing operation and simultaneously previewing the role-changing effect; at the same time, this method can improve the efficiency and fault tolerance of players when replacing characters in battle, and improve the fluency and real-time nature of the battle experience.
[0083] In an optional embodiment, the above-mentioned step of responding to the second trigger operation corresponding to the character identification of the target character to be entered in the character changing window and controlling the display of the character identification corresponding to the character to be replaced in at least one virtual character in the character changing window includes: responding to the second trigger operation corresponding to the character identification of the target character to be entered in the character changing window, controlling the display of the character identification corresponding to the character to be replaced in at least one virtual character near the contact position of the second trigger operation.
[0084] In an optional embodiment, the above-mentioned response to the third trigger operation corresponding to the character identifier of the target character to be replaced in the role-changing window controls the step of switching the target character to be replaced in the game scene to the target character to be entered, including: in response to a first sliding operation with the contact position of the second trigger operation as the starting point and the character identifier corresponding to the target character to be replaced as the end point, selecting the character identifier corresponding to the target character to be replaced, and displaying a prompt message in the game scene, the prompt message being used to prompt that the target character to be replaced is about to be switched to the target character to be entered; in response to the end of the first sliding operation, controlling the switching of the target character to be replaced in the game scene to the target character to be entered; wherein the end of the first sliding operation is to stop triggering the graphical user interface.
[0085] In an optional embodiment, the step of controlling the display of prompt information in the game scene includes: controlling the display of the target character to be replaced in the game scene in a specified display format, and displaying a character identifier corresponding to the target character to be played on the target character to be replaced.
[0086] In an optional embodiment, after responding to a first sliding operation with the contact position of the second trigger operation as the starting point and the character identifier corresponding to the target character to be replaced as the end point, the above method also includes: continuing to respond to a second sliding operation with the end point position of the first sliding operation as the starting point and the character identifier corresponding to the first character to be replaced in the role change window as the end point, selecting the character identifier corresponding to the first character to be replaced, and controlling the display of the first character to be replaced in the game scene in a specified display format, and displaying the character identifier corresponding to the target character to be replaced on the first character to be replaced; in response to the end of the second sliding operation, controlling the switching of the first character to be replaced in the game scene to the target character to be replaced; wherein the end of the second sliding operation is to stop triggering the graphical user interface.
[0087] In an optional embodiment, after responding to a first sliding operation with the contact point position of the second trigger operation as the starting point and the character identifier corresponding to the target character to be replaced as the end point, the above method also includes: continuing to respond to a third sliding operation with the end point position of the first sliding operation as the starting point and an area outside the character identifier corresponding to at least one character to be replaced in the graphical user interface as the end point, and deselecting the character identifier corresponding to the target character to be replaced.
[0088] In an optional embodiment, the above-mentioned corner-changing window includes a cancel control; the above-mentioned method also includes: responding to a trigger operation for the cancel control, canceling the corner-changing window displayed in the graphical user interface.
[0089] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a terminal device, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0090] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0091] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A method for processing information in a game, characterized in that: The method comprises: Displaying a graphical user interface through a terminal device, wherein the graphical user interface displays a character change control and a game scene; wherein the game scene includes at least one virtual character controlled by the terminal device; In response to a first trigger operation on the role-changing control, controlling a role-changing window to be displayed in a designated area of the graphical user interface, wherein the role-changing window includes a role identifier corresponding to at least one role to be played; In response to a second trigger operation on a character identifier corresponding to a target character to be played in the character-changing window, controlling the display of a character identifier corresponding to a character to be replaced in the at least one virtual character in the character-changing window; wherein the character to be replaced is at least part of the at least one virtual character; In response to a third trigger operation on a character identifier corresponding to a target character to be replaced in the character-changing window, the target character to be replaced in the game scene is controlled to be switched to the target character to be played.
2. The method according to claim 1, characterized in that The step of controlling the display of the character identifier corresponding to the target character to be replaced in the character replacement window in response to a second trigger operation on the character identifier corresponding to the target character to be replaced in the character replacement window comprises: In response to a second trigger operation on a character identifier corresponding to a target character to be played in the character replacement window, the character identifier corresponding to the character to be replaced in the at least one virtual character is controlled to be displayed near a contact point of the second trigger operation.
3. The method according to claim 1, characterized in that The step of responding to a third trigger operation corresponding to the character identifier of the target character to be replaced in the character change window, and controlling the target character to be replaced in the game scene to be switched to the target character to be played, comprises: In response to a first sliding operation starting from the contact point of the second trigger operation and ending at the character identifier corresponding to the target character to be replaced, the character identifier corresponding to the target character to be replaced is selected, and prompt information is displayed in the game scene, the prompt information being used to prompt that the target character to be replaced is about to be switched to the target character to be played; In response to the end of the first sliding operation, the target character to be replaced in the game scene is controlled to be switched to the target character to be played; wherein the end of the first sliding operation is to stop triggering the graphical user interface.
4. The method according to claim 3, characterized in that The step of controlling the prompt information to be displayed in the game scene comprises: The target character to be replaced in the game scene is controlled to be displayed in a specified display format, and a character identifier corresponding to the target character to be played is displayed on the target character to be replaced.
5. The method according to claim 4, characterized in that After the first sliding operation in response to the touch point position of the second trigger operation as a starting point and the character identifier corresponding to the target character to be replaced as an end point, the method further includes: In response to a second sliding operation starting from the end position of the first sliding operation and ending at the character identifier corresponding to the first character to be replaced in the role-changing window, the character identifier corresponding to the first character to be replaced is selected, and the first character to be replaced in the game scene is controlled to be displayed in a specified display format, and the character identifier corresponding to the target character to be played is displayed on the first character to be replaced; In response to the end of the second sliding operation, the first character to be replaced in the game scene is controlled to be switched to the target character to be played; wherein the end of the second sliding operation is to stop triggering the graphical user interface.
6. The method according to claim 4, characterized in that After the first sliding operation in response to the touch point position of the second trigger operation as a starting point and the character identifier corresponding to the target character to be replaced as an end point, the method further includes: In response to a third sliding operation starting from the end position of the first sliding operation and ending at an area outside the role identifier corresponding to the at least one role to be replaced in the graphical user interface, the role identifier corresponding to the target role to be replaced is deselected.
7. The method according to claim 1, characterized in that The corner change window includes a cancel control; the method further includes: In response to the triggering operation on the cancel control, the corner change window displayed in the graphical user interface is canceled.
8. An information processing device in a game, characterized in that: The device comprises: An interface display module, used to display a graphical user interface through a terminal device, wherein the graphical user interface displays a character change control and a game scene; wherein the game scene includes at least one virtual character controlled by the terminal device; A window display module, configured to respond to a first trigger operation on the role-changing control and control the display of a role-changing window in a designated area of the graphical user interface, wherein the role-changing window includes a role identifier corresponding to at least one role to be played; an identification display module, configured to respond to a second trigger operation on a character identification corresponding to a target character to be played in the character changing window, and control displaying a character identification corresponding to a character to be replaced in the character changing window; wherein the character to be replaced is at least part of the virtual characters in the at least one virtual character; The role switching module is used to respond to a third trigger operation corresponding to the role identifier of the target role to be replaced in the role change window, and control the target role to be replaced in the game scene to be switched to the target role to be played.
9. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the information processing method in the game according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the information processing method in the game according to any one of claims 1 to 7.