Game interaction control method and device and electronic equipment

By determining the control distribution shape and alignment method in the graphical user interface of the terminal device, and automatically aligning the game controls, the problem of confusing control distribution is solved, and operation efficiency and convenience are improved.

CN120324899APending Publication Date: 2025-07-18NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510442631.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, the distribution of operation controls in the game interface is prone to confusion, resulting in inconvenient operation and long time, and obscuring the game screen.

Method used

The terminal device provides a graphical user interface, determine the shape of the control distribution in response to the alignment trigger command, select the target game control and generate the alignment operation area, and automatically align the controls according to the target alignment method.

Benefits of technology

It realizes convenient alignment of multiple controls, high operation efficiency and short time consuming, and improves the orderliness of control distribution and the convenience of game operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120324899A_ABST
    Figure CN120324899A_ABST
Patent Text Reader

Abstract

The invention provides a game interaction control method and device and electronic equipment. The method comprises the following steps: in response to an alignment trigger instruction, determining a control distribution shape; in response to the control selection instruction, selecting a plurality of target game controls from the graphical user interface, and generating an alignment operation area of the plurality of target game controls; wherein the area shape of the alignment operation area is matched with the control distribution shape; in response to the alignment control instruction, determining a target alignment mode; and controlling the plurality of target game controls to align in the alignment operation area according to the target alignment mode. According to the mode, the multiple controls can be aligned through simple operation, operation is convenient and efficient, and consumed time is short.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of games, and in particular, to an interactive control method, device, and electronic device for a game. Background Art

[0002] When a player customizes operation controls, the operation controls can be placed at any position in the game interface. When there are a relatively large number of operation controls, the distribution of the operation controls in the game interface is likely to be relatively chaotic, which not only is not conducive to game operations but also blocks the game screen. By adjusting the positions of the operation controls one by one, the operation controls can be arranged in an orderly manner, but this method is cumbersome and time-consuming. Summary of the Invention

[0003] In view of this, an object of the present invention is to provide an interactive control method, device, and electronic device for a game, so as to improve the operation convenience of sorting out controls and shorten the time consumption.

[0004] In a first aspect, an embodiment of the present invention provides an interactive control method for a game. A graphical user interface is provided through a terminal device, and the graphical user interface includes a plurality of game controls; the game controls are configured to: respond to a trigger operation and control the execution of a preset interactive function; the method includes: in response to an alignment trigger instruction, determining a control distribution shape; in response to a control selection instruction, selecting a plurality of target game controls from the graphical user interface and generating an alignment operation area for the plurality of target game controls; wherein, the area shape of the alignment operation area matches the control distribution shape; in response to an alignment control instruction, determining a target alignment method; and controlling the plurality of target game controls to be aligned in the alignment operation area according to the target alignment method.

[0005] In a second aspect, an embodiment of the present invention provides an interactive control device for a game. A graphical user interface is provided through a terminal device, and the graphical user interface includes a plurality of game controls; the game controls are configured to: respond to a trigger operation and control the execution of a preset interactive function; the device includes: a shape determination module, configured to determine a control distribution shape in response to an alignment trigger instruction; a control selection module, configured to select a plurality of target game controls from the graphical user interface and generate an alignment operation area for the plurality of target game controls in response to a control selection instruction; wherein, the area shape of the alignment operation area matches the control distribution shape; a method determination module, configured to determine a target alignment method in response to an alignment control instruction; and an alignment control module, configured to control the plurality of target game controls to be aligned in the alignment operation area according to the target alignment method.

[0006] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the above-mentioned interactive control method for a game.

[0007] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when called and executed by a processor, cause the processor to implement the above-mentioned interactive control method for the game.

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

[0009] The above-mentioned interactive control method, device and electronic device for the game provide a graphical user interface through a terminal device, and the graphical user interface includes a plurality of game controls; the game controls are configured to: respond to a trigger operation and control the execution of a preset interactive function; respond to an alignment trigger instruction to determine the shape of the control distribution; respond to a control selection instruction to select a plurality of target game controls from the graphical user interface and generate an alignment operation area for the plurality of target game controls; wherein, the area shape of the alignment operation area matches the shape of the control distribution; respond to an alignment control instruction to determine the target alignment method; and control the plurality of target game controls to be aligned within the alignment operation area according to the target alignment method.

[0010] In the above manner, the shape of the control distribution is used to determine the shape of the alignment operation area. After determining the target game controls to be aligned and the target alignment method, the target game controls are automatically controlled to be aligned within the alignment operation area according to the target alignment method. This method can align a plurality of controls with simple operations, which is convenient, efficient and time-consuming.

[0011] Other features and advantages of the present invention will be described in the following specification, and some of them will be obvious from the specification or understood by implementing the present invention. The objectives and other advantages of the present invention are achieved and obtained by the structures specifically pointed out in the specification, claims and drawings.

[0012] To make the above objectives, features and advantages of the present invention more obvious and understandable, the following preferred embodiments are specifically described below in conjunction with the accompanying drawings. Description of the Drawings

[0013] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.

[0014] Figure 1 It is a schematic diagram of an interactive control method for a game provided by an embodiment of the present invention;

[0015] Figure 2Schematic diagram of the setting window and game controls provided by the embodiments of the present invention;

[0016] Figure 3 Schematic diagram of a kind of graphic drawing provided by the embodiments of the present invention;

[0017] Figure 4 Another schematic diagram of a kind of graphic drawing provided by the embodiments of the present invention;

[0018] Figure 5 Schematic diagram of an alignment operation area provided by the embodiments of the present invention;

[0019] Figure 6 Another schematic diagram of an alignment operation area provided by the embodiments of the present invention;

[0020] Figure 7 Schematic diagram of horizontal left alignment provided by the embodiments of the present invention;

[0021] Figure 8 Schematic diagram of horizontal center alignment provided by the embodiments of the present invention;

[0022] Figure 9 Another schematic diagram of an alignment operation area provided by the embodiments of the present invention;

[0023] Figure 10 Another schematic diagram of an alignment operation area provided by the embodiments of the present invention;

[0024] Figure 11 Schematic diagram of the spacing adjustment control provided by the embodiments of the present invention;

[0025] Figure 12 Schematic diagram of the magnification of the object operation area provided by the embodiments of the present invention;

[0026] Figure 13 Schematic diagram of adjusting the size of the control provided by the embodiments of the present invention;

[0027] Figure 14 Schematic diagram of a kind of control position swapping provided by the embodiments of the present invention;

[0028] Figure 15 Another schematic diagram of a kind of control position swapping provided by the embodiments of the present invention;

[0029] Figure 16 Schematic diagram of an interactive control device of a game provided by the embodiments of the present invention;

[0030] Figure 17 Schematic diagram of an electronic device provided by the embodiments of the present invention. Detailed implementation manners

[0031] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0032] Considering that it is rather cumbersome and time-consuming to adjust the position of the operation control, based on this, an interactive control method, device, and electronic device for a game provided by an embodiment of the present invention can be applied to various games, for example, shooting games or other touch operation games.

[0033] The interactive control method for a game in one embodiment of the present disclosure can run on a local terminal device or a server. When the interactive control method for a game runs on the server, the method can be implemented and executed based on a cloud interaction system, where the cloud interaction system includes a server and a client device.

[0034] In an alternative embodiment, various cloud applications can 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 running entity of the game program and the presenting entity of the game screen are separated. The storage and running of the interactive control method for the game are completed on the cloud game server, and the role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function near the user side, such as a mobile terminal, a television, a computer, a personal digital assistant, etc.; however, the information processing is performed by the cloud game server in the cloud. When playing a 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 data such as the game screen, returns it to the client device through the network, and finally, the client device decodes and outputs the game screen.

[0035] In an alternative embodiment, taking a game as an example, the local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally, the game program is downloaded and installed on the electronic device and run. The way for the local terminal device to provide the graphical user interface to the player can include various methods. For example, it can be rendered and displayed on the display screen of the terminal, or provided to the player through holographic projection. For example, the local terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, and the graphical user interface includes the game screen. The processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.

[0036] In a possible implementation manner, an embodiment of the present invention provides an interactive control method for a game, which provides a graphical user interface through a terminal device. Wherein, the terminal device may be the aforementioned local terminal device or the client device in the aforementioned cloud interaction system. The graphical user interface includes a plurality of game controls; the game controls are configured to: respond to a trigger operation and control the execution of a preset interactive function; taking a shooting game as an example, the game controls may include a shooting control, a posture switching control, a aiming control, etc.; the game controls are configured with corresponding interactive functions. For example, after the shooting control is triggered, control the virtual character to perform a shooting action; after the posture switching control is triggered, control the virtual character to switch postures; after the aiming control is triggered, zoom in and display a partial scene picture, etc.

[0037] As Figure 1 shown, the interactive control method of the game includes the following steps:

[0038] Step S102, in response to an alignment trigger instruction, determine the control distribution shape;

[0039] The alignment trigger instruction can be generated by triggering an alignment control or by triggering a shortcut key. The control distribution shape can be a rectangle, a sector, a circle, a semi-circle, etc.; the control distribution shape can be a default shape or a shape set or selected by the player.

[0040] For example, after the player pre-selects a shape and then triggers the alignment control, or triggers the alignment control while selecting a shape, the shape is included in the alignment trigger instruction. When responding to the alignment trigger instruction, determine the control distribution shape from the alignment trigger instruction. Another example is that the player triggers the alignment control and determines the shape preset by the game system as the control distribution shape.

[0041] The purpose of this embodiment is to align a plurality of selected target game controls so that the plurality of target game controls are arranged in an orderly manner; based on this, the above control distribution shape is used to control the regional shape of the alignment operation area of the plurality of target game controls; after the plurality of target game controls are aligned, the overall distribution shape of the plurality of target game controls is the aforementioned control distribution shape, or the overall distribution shape of the plurality of target game controls is similar to the aforementioned control distribution shape.

[0042] Step S104, in response to a control selection instruction, select a plurality of target game controls from the graphical user interface and generate an alignment operation area for the plurality of target game controls; wherein, the regional shape of the alignment operation area matches the control distribution shape;

[0043] The graphical user interface is distributed with multiple game controls. The selected multiple target game controls can be all the game controls in the graphical user interface or some of the game controls. The control selection instruction can be implemented by triggering the game controls. The triggered game controls are the selected target game controls. For example, by means of click triggering, click on the game controls one by one, and each clicked game control is the selected target game control.

[0044] The control selection instruction can also be implemented by drawing a graph. For example, by means of a sliding operation, draw a specified shape or a graffiti shape on the graphical user interface; the game controls enclosed by the drawn graph are the selected target game controls.

[0045] The regional shape of the alignment operation area matches the aforesaid control distribution shape; specifically, the regional shape of the alignment operation area is the same as or similar to the control distribution shape. The regional position of the alignment operation area can be determined based on the control positions of the multiple target game controls. For example, the alignment operation area includes each target game control. The regional position of the alignment operation area can also be determined from the idle area in the graphical user interface where no game controls are distributed.

[0046] Step S106, in response to the alignment control instruction, determine the target alignment method;

[0047] The alignment control instruction can be generated by triggering an alignment control control or by triggering a shortcut key. For example, after the player determines the target alignment method, trigger the alignment control control, or trigger the alignment control control while selecting the target alignment method. The target alignment method is included in the alignment control instruction. When responding to the alignment control instruction, determine the target alignment method from the alignment trigger instruction. Another example is that the player triggers the alignment control control and determines the alignment method preset by the game system as the target alignment method.

[0048] The target alignment method can be horizontal left alignment, horizontal center alignment, horizontal right alignment, vertical top alignment, vertical center alignment, vertical bottom alignment, etc., or can be fan-shaped alignment with the top corner at the lower left, fan-shaped alignment with the top corner at the upper right, etc., or can be semi-circular alignment with the straight edge at the bottom, semi-circular alignment with the straight edge at the top, etc.

[0049] Step S108, control the multiple target game controls to be aligned in the alignment operation area according to the target alignment method.

[0050] After the target alignment method is determined, multiple target game controls are automatically aligned. During the alignment process, the control positions of all or some of the target game controls are adjusted. In one example, when the target alignment method is horizontal left alignment, first, according to the current control positions of the multiple target game controls, the multiple target game controls are divided into one or more rows, and the target game controls in each row are arranged in sequence starting from the left side of the alignment operation area, so that the multiple target game controls are arranged in an orderly manner by horizontal left alignment.

[0051] For another example, when the target alignment method is horizontal center alignment, first, according to the current control positions of the multiple target game controls, the multiple target game controls are divided into one or more rows, and the target game controls in each row are arranged left and right in sequence starting from the center position of the alignment operation area, so that the multiple target game controls are arranged in an orderly manner by horizontal center alignment.

[0052] The above interactive control method for games provides a graphical user interface through a terminal device. The graphical user interface includes multiple game controls. The game controls are configured to: respond to a trigger operation and control the execution of a preset interactive function; respond to an alignment trigger instruction to determine the control distribution shape; respond to a control selection instruction, select multiple target game controls from the graphical user interface, and generate an alignment operation area for the multiple target game controls; wherein, the area shape of the alignment operation area matches the control distribution shape; respond to an alignment control instruction to determine the target alignment method; control the multiple target game controls to be aligned in the alignment operation area according to the target alignment method.

[0053] In the above method, the control distribution shape is used to determine the shape of the alignment operation area. After determining the target game controls to be aligned and the target alignment method, the target game controls are automatically controlled to be aligned in the alignment operation area according to the target alignment method. This method can align multiple controls with a simple operation, which is convenient, efficient, and time-consuming.

[0054] In one implementation, alternative distribution shapes are provided in the graphical user interface; in response to a selection operation on the alternative distribution shapes, the selected alternative distribution shape is determined as the control distribution shape.

[0055] Such as Figure 2 , a setting window can be generated in the graphical user interface. In this setting window, the controls involved in this embodiment are provided. For example, the controls corresponding to the alternative distribution shapes, the controls corresponding to the alternative alignment methods, the spacing adjustment controls, etc. This setting window can be generated by triggering a setting control or a corresponding setting shortcut key.

[0056] The selection operation for the alternative distribution shapes can specifically be a click operation, a double-click operation, a long-press operation, etc. on the alternative distribution shapes. For example, Figure 2It includes alternative distribution shapes of rectangles and sectors. If the alternative distribution shape of the rectangle is clicked, the control distribution shape is determined to be a rectangle. If the alternative distribution shape of the sector is clicked, the control distribution shape is determined to be a sector.

[0057] Furthermore, in response to a graphic drawing operation on the graphical user interface, a drawn graphic is generated; based on the drawn graphic, multiple target game controls are selected.

[0058] The graphic drawing operation can be a click operation, a swipe operation, etc. on the graphical user interface. For example, in response to a click operation, a drawn graphic matching the aforementioned control distribution shape is generated at the click position; again, in response to a swipe operation, a drawn graphic matching the aforementioned control distribution shape is generated at the contact position of the swipe operation, or a drawn graphic is generated according to the movement trajectory of the contact position.

[0059] The game controls included in the drawn graphic can be used as target game controls, or the game controls that overlap or partially overlap with the drawn graphic can be used as target game controls.

[0060] Specifically, in response to a graphic drawing operation on the graphical user interface, the operation contact trajectory of the graphic drawing operation is determined as the drawn graphic. As Figure 3 shown, the graphic drawing operation can specifically be a swipe operation, and the dotted line shows the operation contact trajectory, and this operation contact trajectory forms the drawn graphic.

[0061] In another way, in response to a graphic drawing operation on the graphical user interface, a graphic identifier of the alternative distribution shape is generated on the graphical user interface, and the graphic identifier is controlled to scale following the operation contact of the graphic drawing operation; in response to the graphic drawing end operation, the graphic identifier at the time of the graphic drawing end operation is determined as the final drawn graphic.

[0062] The identifier shape of the graphic identifier is the same as the alternative distribution shape, and the graphic drawing operation can control the size of the graphic identifier; the start contact at the start of the graphic drawing operation can be recorded. When the current operation contact of the graphic drawing operation is farther from the start contact, the graphic identifier is larger. When the current operation contact of the graphic drawing operation is closer to the start contact, the graphic identifier is smaller. The graphic drawing operation can be a swipe operation or a click operation. For example, through multiple consecutive click operations, the graphic identifier is controlled to scale.

[0063] For example, Figure 4 shown, when the graphic drawing operation is a swipe operation, the operation contact of the swipe operation moves along the trajectory indicated by the arrow, the graphic identifier is a rectangle, and this graphic identifier is enlarged as the swipe operation progresses. When the operation contact moves in the opposite direction of the arrow indication, this graphic identifier is reduced.

[0064] When the graphic drawing operation is a sliding operation, the graphic drawing end operation can be the operation of the finger leaving the touch screen. When the graphic drawing operation is a click operation, the graphic drawing end operation can be a click operation acting on the operation contact control, etc. The graphic identifier when the graphic drawing end operation is executed is the final drawn graphic. It can also be understood that the size of the final drawn graphic is the same as the size of the graphic identifier when the graphic drawing end operation is executed.

[0065] Further, the above-mentioned drawn graphic includes a closed graphic; multiple game controls enclosed by the drawn graphic are used as the selected target game controls. The closed graphic can be an irregular closed graphic, such as the hand-drawn graphic in Figure 3 or a regular graphic, such as the rectangle in Figure 4 or a circle, an ellipse, etc. The drawn graphic is used to select target game controls from the graphical user interface. For example, in Figure 3 and Figure 4 the controls inside the drawn graphic are selected as the target game controls.

[0066] In the above manner, players can select game controls by drawing a graphic, and the operation is convenient and efficient.

[0067] In one implementation, based on the positions of multiple target game controls, an alignment operation area for the multiple target game controls is generated; wherein, the alignment operation area includes at least part of the target game controls.

[0068] The alignment operation area is used to adjust the positions of the target game controls within the alignment operation area so that the multiple target game controls are arranged in an orderly manner.

[0069] The alignment operation area can include all or part of the target game controls; if the multiple target game controls are relatively concentrated, the alignment operation area can include all of the target game controls. If the multiple target game controls are relatively dispersed, the alignment operation area can include part of the target game controls. For example, the area where most of the target game controls are located is used as the alignment operation area.

[0070] In another way, based on the area enclosed by the drawn graphic that encloses multiple target game controls, the alignment operation area is determined. The drawn graphic is generated by the aforementioned graphic drawing operation. The drawn graphic is used to select the target game controls and is also used to determine the alignment operation area. The area enclosed by the drawn graphic can be directly used as the alignment operation area, or a preset-shaped area can be generated based on the area enclosed by the drawn graphic as the alignment operation area.

[0071] Specifically, it is determined that the shape of the drawn graphic enclosing multiple target game controls is the same as the shape of the control distribution, and the area enclosed by the drawn graphic is determined as the alignment operation area; this method is applicable to, for exampleFigure 4 as shown, the situation of the drawn graph and the control distribution shape.

[0072] Alternatively, if it is determined that the shape of the drawn graph surrounding multiple target game controls is different from the control distribution shape, the smallest area that has the control distribution shape and contains the area surrounded by the drawn graph is determined as the alignment operation area. This method is applicable to, for example Figure 3 as shown, the situation of the drawn graph and the control distribution shape. For example, when the drawn graph is a hand-drawn shape or an irregular shape, the alignment operation area is the area of the control distribution shape, and this area is the smallest area that contains the area surrounded by the drawn graph.

[0073] Figure 5 In the example of, the control distribution shape is a rectangle, and the alignment operation area is the rectangle with the smallest area surrounding the drawing area. Another example is Figure 6 in which, the control distribution shape is an ellipse, and the alignment operation area is the ellipse with the smallest area surrounding the drawing area.

[0074] In the above method, the alignment operation area is determined according to the position of the target game control or the drawn graph, and the alignment operation area is more reasonable, meeting the operation habits of players and improving the operation convenience.

[0075] In a specific implementation, alternative alignment methods corresponding to the control distribution shape are provided in the graphical user interface; in response to the selection operation for the alternative alignment methods, the selected alternative alignment method is determined as the target alignment method.

[0076] After determining the alignment operation area, alternative alignment methods and subsequent spacing adjustment controls can be provided in the graphical user interface. One or more alternative alignment methods can be set. For example, horizontal left alignment, horizontal center alignment, horizontal right alignment, vertical top alignment, vertical center alignment, vertical bottom alignment; another example is that the alternative alignment method can also control the shape formed after multiple target game controls are aligned. For example, when the alignment operation area is a fan shape, the alternative alignment methods can also include that the fan apex is located at the lower left, the fan apex is located at the upper left, the fan apex is located at the lower right, the fan apex is located at the upper right, etc.

[0077] As Figure 7 in, it is determined that the control distribution shape is a rectangle, and at least one of the following alternative alignment methods is provided in the graphical user interface: horizontal left alignment, horizontal center alignment, horizontal right alignment, vertical top alignment, vertical center alignment, vertical bottom alignment; when the target alignment method is horizontal left alignment, the target game controls in the alignment operation area are horizontally left-aligned; among them, control A, control C, and control B are horizontally arranged and left-aligned, and control E and control D are horizontally arranged and left-aligned.

[0078] As Figure 8In [the above situation], when the target alignment method is horizontal center alignment, the target game controls in the alignment operation area are horizontally centered; among them, control A, control C, and control B are horizontally arranged and centered, and control E and control D are horizontally arranged and centered.

[0079] In another way, it is determined that the control distribution shape is a fan shape, and at least one of the following alternative alignment methods is provided in the graphical user interface: the fan apex is located at the lower left, the fan apex is located at the upper left, the fan apex is located at the lower right, and the fan apex is located at the upper right.

[0080] Such as Figure 9 , when the control distribution shape is a fan shape, the alignment operation area is a fan shape, and there are four alternative alignment methods, namely the fan apex is located at the lower left, the fan apex is located at the upper left, the fan apex is located at the lower right, and the fan apex is located at the upper right.

[0081] Such as Figure 10 In [the above situation], when the target alignment method is that the fan apex is located at the upper left, the target game controls are arranged in the way that the fan apex is located at the upper left. Among them, control A is located at the fan apex, and controls C, D, and E are arranged around control A to form an arrangement with the fan apex located at the upper left.

[0082] In the above ways, by selecting the alternative alignment method, the target game controls can be automatically controlled to be aligned in the alignment operation area, improving the arrangement efficiency of the control positions.

[0083] Furthermore, in response to the spacing adjustment instruction, the control spacing of multiple target game controls is adjusted within the alignment operation area. This spacing adjustment instruction can be generated by triggering the spacing adjustment control, or can be generated by triggering the target game control. For example, when performing a two-finger sliding operation on the target game control, when the distance between the two-finger contacts increases, the control spacing increases, and when the distance between the two-finger contacts decreases, the control spacing decreases.

[0084] Specifically, a spacing adjustment control is generated in the graphical user interface; in response to the sliding control operation on the spacing adjustment control, the control spacing of multiple target game controls is scaled within the alignment operation area.

[0085] This spacing adjustment control can be in the form of a slider. Comparing Figure 8 and Figure 11 , by sliding the spacing adjustment control to the right, the control spacing of the target game controls increases. This spacing adjustment control can also be in the form of clicks. By clicking the spacing adjustment control multiple times, the control spacing of the target game controls is scaled.

[0086] It should be noted that when triggering the spacing adjustment control, the horizontal distance between target game controls can be scaled, the vertical distance between target game controls can be scaled, or both the horizontal and vertical distances between target game controls can be scaled simultaneously; for example, Figure 11 in Figure 11 , when the spacing adjustment control is swiped to the right, the horizontal distance between Control A and Control C, and between Control C and Control B increases. At the same time, the vertical distance between Control A and Control E, and between Control C and Control D also increases.

[0087] In the above way, players can conveniently adjust the control distance and improve the efficiency of organizing the control positions.

[0088] In a specific implementation, a region indication control for generating an alignment operation region is generated in the graphical user interface; in response to a scaling control operation on the region indication control, the region range of the alignment operation region is updated; in response to an update of the target game controls in the alignment operation region, the updated target game controls are controlled to be aligned within the alignment operation region according to the target alignment method.

[0089] The region indication control is used to indicate the region boundary or region range of the alignment operation region. The scaling control operation can be a swipe operation, a click operation, etc. acting on the region indication control. When the region indication control is scaled, the region range of the alignment operation region is also scaled. When the region range of the alignment operation region is scaled, the target game controls within the alignment operation region also change; for example, when the region range of the alignment operation region increases, non-target game controls are selected as new target game controls, and at this time, the number of target game controls increases; when the region range of the alignment operation region decreases, some target game controls become unselected game controls. When the target game controls in the alignment operation region are updated, the current target game controls are aligned in real time according to the target alignment method.

[0090] Specifically, a region indication control for generating an alignment operation region is generated in the graphical user interface; in response to a magnification control operation on the region indication control, the region range of the alignment operation region is increased; in response to an increase in the target game controls in the alignment operation region, the increased target game controls are controlled to be aligned within the alignment operation region according to the target alignment method.

[0091] Such as Figure 11 and Figure 12 in Figure 11 and Figure 12 , the region indication control is the region edge line of the alignment operation region. The magnification control operation can specifically be that two fingers act on the region indication control and the contacts of the two fingers move away from each other. The region indication control is magnified as the contacts move, and the region range of the alignment operation region increases accordingly.

[0092] Comparing Figure 11 andFigure 12 Before the alignment operation area is increased, controls F and G are located outside the alignment operation area and are not target game controls. When the alignment operation area is increased, controls F and G become the newly added target game controls. Since the current target alignment method is horizontal center alignment, these controls F and G are automatically aligned in a horizontally centered manner.

[0093] Furthermore, in response to a reduction control operation on the area indication control, the area range of the alignment operation area is reduced; when the distance between the area edge of the alignment operation area and the target game control is less than a preset distance, the reduction control operation stops being responded to.

[0094] Specifically, the reduction control operation can be that two fingers act on the area indication control and the contacts of the two fingers approach each other. The area indication control shrinks as the contacts move, and the area range of the alignment operation area decreases accordingly.

[0095] In the above method, when the area range of the alignment operation area changes, the control distance and control size of the target game control remain unchanged. When the distance between the area edge of the alignment operation area and the target game control is less than a preset distance, for example, the area edge of the alignment operation area is adjacent to the control edge of the target game control. If the reduction control operation continues to be executed, the area range of the alignment operation area will no longer shrink, and the selected target game control will not be kicked out of the alignment operation area, thus avoiding the situation where the target game control changes too frequently and causes confusion in control selection.

[0096] In the above method, by operating the area indication control, the alignment operation area can be adjusted, and then the target game control can be updated, further improving the operation convenience and operation efficiency of control arrangement.

[0097] In one method, in response to a control size adjustment instruction, the control size of the target game control in the alignment operation area is adjusted. This control size adjustment instruction can be generated by triggering a control size adjustment control or by triggering the target game control. For example, by triggering the control size adjustment control, the control sizes of all target game controls are increased or decreased simultaneously.

[0098] Specifically, in response to a multi-touch sliding operation within the alignment operation area, if it is determined that the contact distance of the multiple operation contacts of the multi-touch sliding operation shrinks, the control size of the target game control in the alignment operation area is controlled to shrink; or, in response to a multi-touch sliding operation within the alignment operation area, if it is determined that the contact distance of the multiple operation contacts of the multi-touch sliding operation increases, the control size of the target game control in the alignment operation area is controlled to increase.

[0099] Compare Figure 11 and Figure 13, taking the sliding operation of two fingers as an example, when the contact distance between the two-finger contacts increases, the control size of the target game control increases; similarly, when the contact distance between the two-finger contacts decreases, the control size of the target game control decreases.

[0100] It should be noted that the multi-touch sliding operation here is a sliding operation acting within the alignment operation area, while the aforementioned scaling control operation for the area indication control is a sliding operation acting on the area indication control, and the acting positions of the operation contacts of the sliding operation are different.

[0101] In the above manner, the control size of the target game control can be quickly adjusted through the control size adjustment instruction, and the operation is convenient and efficient.

[0102] Furthermore, in response to the control position swapping instruction, the first target control and the second target control are determined from within the alignment operation area, and the first target control and the second target control are controlled to swap positions.

[0103] The control position swapping instruction can be generated by triggering the position swapping control, or can be generated by triggering the target game control. For example, after triggering the position swapping control, and then selecting the first target control and the second target control by clicking, the first target control and the second target control can be controlled to swap positions.

[0104] Specifically, in response to the sliding control operation acting on the first target control within the alignment operation area, the control identifier of the first target control is controlled to move along with the operation contact of the sliding control operation; in response to the control identifier moving to the second target control and the sliding control end operation, the first target control and the second target control are controlled to swap positions.

[0105] Both the first target control and the second target control belong to the target game control, and the target game control that is subjected to the sliding control operation is the first target control; refer to Figure 14 and Figure 15 , taking control E as an example, after control E is subjected to the sliding control operation, control E is displayed in a dotted line, the control identifier of control E is displayed in a solid line, and the control identifier is controlled to move along with the operation contact of the sliding control operation. When the control identifier moves to the second target control, that is, Figure 14 control C in Figure 15 shown. If the finger leaves the touch screen at this time, it can be considered that the sliding control end operation has been executed, and control E and control C swap positions, as

[0106] Furthermore, in response to the control identifier moving to the second target control, the second target control is displayed in a specified display format. The control identifier moving to the second target control can be understood as that the identification edge of the control identifier is adjacent to the control edge of the second target control, or the distance is less than the preset distance, or the control identifier and the second target control at least partially overlap.

[0107] The specified display format can be edge lighting, edge flashing, highlight color, etc. The specified display format is used to inform the player of the execution timing of the sliding control end operation, that is, when the second target control is displayed in the specified display format, the sliding control end operation is executed, and the positions of the first target control and the second target control can be successfully swapped; if the second target control is not displayed in the specified display format and the sliding control end operation is executed, the positions of the first target control and the second target control cannot be successfully swapped.

[0108] Corresponding to the above method embodiment, refer to Figure 16 An interactive control device for a game as shown, which provides a graphical user interface through a terminal device. The graphical user interface includes multiple game controls; the game controls are configured to: respond to a trigger operation and control the execution of a preset interactive function; the device includes:

[0109] A shape determination module 160, configured to determine the control distribution shape in response to an alignment trigger instruction;

[0110] A control selection module 162, configured to select multiple target game controls from the graphical user interface in response to a control selection instruction, and generate an alignment operation area for the multiple target game controls; wherein, the area shape of the alignment operation area matches the control distribution shape;

[0111] A method determination module 164, configured to determine the target alignment method in response to an alignment control instruction;

[0112] An alignment control module 166, configured to control the multiple target game controls to be aligned in the alignment operation area according to the target alignment method.

[0113] The above interactive control device for a game provides a graphical user interface through a terminal device. The graphical user interface includes multiple game controls; the game controls are configured to: respond to a trigger operation and control the execution of a preset interactive function; determine the control distribution shape in response to an alignment trigger instruction; select multiple target game controls from the graphical user interface in response to a control selection instruction, and generate an alignment operation area for the multiple target game controls; wherein, the area shape of the alignment operation area matches the control distribution shape; determine the target alignment method in response to an alignment control instruction; control the multiple target game controls to be aligned in the alignment operation area according to the target alignment method.

[0114] In the above method, the control distribution shape is used to determine the shape of the alignment operation area. After determining the target game controls to be aligned and the target alignment method, the target game controls are automatically controlled to be aligned in the alignment operation area according to the target alignment method. This method can align multiple controls through simple operations, with convenient and efficient operations and short time consumption.

[0115] The above-mentioned shape determination module is used to: provide alternative distribution shapes in the graphical user interface; in response to a selection operation on an alternative distribution shape, determine the selected alternative distribution shape as the control distribution shape.

[0116] The above-mentioned control selection module is used to: in response to a graphic drawing operation on the graphical user interface, generate a drawn graphic; select multiple target game controls based on the drawn graphic.

[0117] The above-mentioned control selection module is used to: in response to a graphic drawing operation on the graphical user interface, determine the operation contact track of the graphic drawing operation as the drawn graphic.

[0118] The above-mentioned control selection module is used to: in response to a graphic drawing operation on the graphical user interface, generate a graphic identifier of an alternative distribution shape in the graphical user interface, and control the graphic identifier to scale following the operation contact of the graphic drawing operation; in response to the end operation of the graphic drawing, determine the graphic identifier at the end of the graphic drawing operation as the final drawn graphic.

[0119] The above-mentioned drawn graphic includes a closed graphic; the above-mentioned control selection module is used to: use the multiple game controls enclosed by the drawn graphic as the selected target game controls.

[0120] The above-mentioned control selection module is used to: generate an alignment operation area for multiple target game controls based on the positions of the multiple target game controls; wherein, the alignment operation area includes at least part of the target game controls.

[0121] The above-mentioned control selection module is used to: determine the alignment operation area based on the area enclosed by the drawn graphic that encloses multiple target game controls.

[0122] The above-mentioned control selection module is used to: determine that the shape of the drawn graphic that encloses multiple target game controls is the same as the control distribution shape, and determine the area enclosed by the drawn graphic as the alignment operation area; or, determine that the shape of the drawn graphic that encloses multiple target game controls is different from the control distribution shape, and determine the smallest area that has the control distribution shape and includes the area enclosed by the drawn graphic as the alignment operation area.

[0123] The above-mentioned method determination module is used to: provide alternative alignment methods corresponding to the control distribution shape in the graphical user interface; in response to a selection operation on an alternative alignment method, determine the selected alternative alignment method as the target alignment method.

[0124] The above-mentioned determining module is used to: determine that the control distribution shape is rectangular, and provide at least one of the following alternative alignment methods in the graphical user interface: horizontal left alignment, horizontal center alignment, horizontal right alignment, vertical top alignment, vertical center alignment, vertical bottom alignment; or, determine that the control distribution shape is fan-shaped, and provide at least one of the following alternative alignment methods in the graphical user interface: the fan apex is located at the lower left, the fan apex is located at the upper left, the fan apex is located at the lower right, the fan apex is located at the upper right.

[0125] The above-mentioned device further includes a spacing adjustment module, which is used to: in response to a spacing adjustment instruction, control the adjustment of the control spacing of a plurality of target game controls within the alignment operation area.

[0126] The above-mentioned spacing adjustment module is used to: generate a spacing adjustment control in the graphical user interface; in response to a sliding control operation acting on the spacing adjustment control, control the scaling of the control spacing of a plurality of target game controls within the alignment operation area.

[0127] The above-mentioned device further includes a region update module, which is used to: generate a region indication control for the alignment operation area in the graphical user interface; in response to a scaling control operation for the region indication control, update the region range of the alignment operation area; in response to the update of the target game controls in the alignment operation area, control the updated target game controls to be aligned in the alignment operation area according to the target alignment method.

[0128] The above-mentioned device further includes a region magnification module, which is used to: generate a region indication control for the alignment operation area in the graphical user interface; in response to a magnification control operation for the region indication control, increase the region range of the alignment operation area; in response to the increase of the target game controls in the alignment operation area, control the increased target game controls to be aligned in the alignment operation area according to the target alignment method.

[0129] The above-mentioned device further includes a reduction control module, which is used to: in response to a reduction control operation for the region indication control, reduce the region range of the alignment operation area; stop responding to the reduction control operation when the distance between the region edge of the alignment operation area and the target game control is less than a preset distance.

[0130] The above-mentioned device further includes a size adjustment module, which is used to: in response to a control size adjustment instruction, control the adjustment of the control size of the target game controls in the alignment operation area.

[0131] The above-mentioned size adjustment module is used for: in response to a multi-touch sliding operation acting on the alignment operation area, determining that the contact distance between multiple operation contacts of the multi-touch sliding operation is reduced, and controlling the control size of the target game control in the alignment operation area to be reduced; or, in response to a multi-touch sliding operation acting on the alignment operation area, determining that the contact distance between multiple operation contacts of the multi-touch sliding operation is increased, and controlling the control size of the target game control in the alignment operation area to be increased.

[0132] The above-mentioned device further includes a position swapping module, which is used for: in response to a control position swapping instruction, determining a first target control and a second target control from within the alignment operation area, and controlling the first target control and the second target control to swap positions.

[0133] The above-mentioned position swapping module is used for: in response to a sliding control operation acting on the first target control within the alignment operation area, controlling the control identifier of the first target control to move following the operation contact of the sliding control operation; in response to the control identifier moving to the second target control and a sliding control end operation, controlling the first target control and the second target control to swap positions.

[0134] The above-mentioned device further includes a control display module, which is used for: in response to the control identifier moving to the second target control, displaying the second target control in a specified display format.

[0135] This embodiment further provides an electronic device, including a processor and a memory. The memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the above-mentioned interactive control method of the game. This electronic device can be a server or a terminal device.

[0136] See Figure 17 As shown, this electronic device includes a processor 100 and a memory 101. The memory 101 stores computer-executable instructions that can be executed by the processor 100, and the processor 100 executes the computer-executable instructions to implement the above-mentioned interactive control method of the game.

[0137] Furthermore, Figure 17 the electronic device shown further includes a bus 102 and a communication interface 103. The processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.

[0138] Among them, the memory 101 may include high-speed random access memory (RAM), and may also include non-volatile memory, such as at least one disk memory. The communication connection between this system network element and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 102 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 17 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0139] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed by the integrated logic circuit in the hardware of the processor 100 or the instructions in the form of software. The above-mentioned processor 100 can be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it can also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. 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 combination with the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, register, etc. This storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and combines its hardware to complete the steps of the method in the foregoing embodiments.

[0140] The processor in the above electronic device can realize the following operations in the interactive control method of the above game by executing computer-executable instructions:

[0141] An interactive control method for a game, which provides a graphical user interface through a terminal device. The graphical user interface includes multiple game controls. The game controls are configured to: respond to a trigger operation and control the execution of a preset interactive function; respond to an alignment trigger instruction to determine the control distribution shape; respond to a control selection instruction to select multiple target game controls from the graphical user interface and generate an alignment operation area for the multiple target game controls. Among them, the area shape of the alignment operation area matches the control distribution shape; respond to an alignment control instruction to determine the target alignment method; and control the multiple target game controls to align within the alignment operation area according to the target alignment method.

[0142] Provide alternative distribution shapes in the graphical user interface; respond to a selection operation for an alternative distribution shape and determine the selected alternative distribution shape as the control distribution shape.

[0143] Respond to a graphic drawing operation on the graphical user interface to generate a drawn graphic; select multiple target game controls based on the drawn graphic.

[0144] Respond to a graphic drawing operation on the graphical user interface and determine the operation contact point trajectory of the graphic drawing operation as the drawn graphic.

[0145] Respond to a graphic drawing operation on the graphical user interface to generate a graphic identifier for the alternative distribution shape in the graphical user interface and control the graphic identifier to scale following the operation contact point of the graphic drawing operation; respond to the end operation of the graphic drawing and determine the graphic identifier at the end of the graphic drawing operation as the final drawn graphic.

[0146] The drawn graphic includes a closed graphic; use the multiple game controls enclosed by the drawn graphic as the selected target game controls.

[0147] Generate an alignment operation area for the multiple target game controls based on the positions of the multiple target game controls. Among them, the alignment operation area includes at least part of the target game controls.

[0148] Determine the alignment operation area based on the area enclosed by the drawn graphic that encloses the multiple target game controls.

[0149] Determine that the shape of the drawn graphic that encloses the multiple target game controls is the same as the control distribution shape, and determine the area enclosed by the drawn graphic as the alignment operation area; or, determine that the shape of the drawn graphic that encloses the multiple target game controls is different from the control distribution shape, and determine the smallest area that has the control distribution shape and includes the area enclosed by the drawn graphic as the alignment operation area.

[0150] Provide alternative alignment methods corresponding to the control distribution shape in the graphical user interface; respond to a selection operation for an alternative alignment method and determine the selected alternative alignment method as the target alignment method.

[0151] Determine that the distribution shape of the controls is rectangular, and provide at least one of the following alternative alignment methods in the graphical user interface: horizontal left alignment, horizontal center alignment, horizontal right alignment, vertical top alignment, vertical center alignment, vertical bottom alignment; or, determine that the distribution shape of the controls is fan-shaped, and provide at least one of the following alternative alignment methods in the graphical user interface: the fan apex is located at the lower left, the fan apex is located at the upper left, the fan apex is located at the lower right, the fan apex is located at the upper right.

[0152] In response to the spacing adjustment instruction, control the adjustment of the control spacing of multiple target game controls within the alignment operation area.

[0153] Generate a spacing adjustment control in the graphical user interface; in response to the sliding control operation on the spacing adjustment control, control the scaling of the control spacing of multiple target game controls within the alignment operation area.

[0154] Generate a region indication control for the alignment operation area in the graphical user interface; in response to the scaling control operation on the region indication control, update the region range of the alignment operation area; in response to the update of the target game control in the alignment operation area, control the updated target game control to be aligned within the alignment operation area according to the target alignment method.

[0155] Generate a region indication control for the alignment operation area in the graphical user interface; in response to the magnification control operation on the region indication control, increase the region range of the alignment operation area; in response to the increase of the target game control in the alignment operation area, control the increased target game control to be aligned within the alignment operation area according to the target alignment method.

[0156] In response to the reduction control operation on the region indication control, reduce the region range of the alignment operation area; when the distance between the region edge of the alignment operation area and the target game control is less than the preset distance, stop responding to the reduction control operation.

[0157] In response to the control size adjustment instruction, control the adjustment of the control size of the target game control in the alignment operation area.

[0158] In response to the multi-touch sliding operation within the alignment operation area, determine that the contact distance of the multiple operation contacts of the multi-touch sliding operation is reduced, and control the reduction of the control size of the target game control in the alignment operation area; or, in response to the multi-touch sliding operation within the alignment operation area, determine that the contact distance of the multiple operation contacts of the multi-touch sliding operation is increased, and control the increase of the control size of the target game control in the alignment operation area.

[0159] In response to a control position swapping instruction, determine a first target control and a second target control within an alignment operation area, and control the first target control and the second target control to swap positions.

[0160] In response to a sliding control operation acting on the first target control within the alignment operation area, control the control identifier of the first target control to move following the operation contact point of the sliding control operation; in response to the control identifier moving to the second target control and a sliding control end operation, control the first target control and the second target control to swap positions.

[0161] In response to the control identifier moving to the second target control, display the second target control in a specified display format.

[0162] In the above manner, the control distribution shape is used to determine the shape of the alignment operation area. After determining the target game controls to be aligned and the target alignment method, automatically control the target game controls to be aligned in the alignment operation area according to the target alignment method. This method can align multiple controls through simple operations, with convenient and efficient operations and short time consumption.

[0163] This embodiment also provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the above-mentioned interactive control method of the game.

[0164] The computer-executable instructions stored in the above computer-readable storage medium can, by executing the computer-executable instructions, implement the following operations in the above-mentioned interactive control method of the game:

[0165] An interactive control method of a game provides a graphical user interface through a terminal device. The graphical user interface includes multiple game controls; the game controls are configured to: respond to a trigger operation and control the execution of a preset interactive function; respond to an alignment trigger instruction to determine a control distribution shape; respond to a control selection instruction to select multiple target game controls from the graphical user interface and generate an alignment operation area for the multiple target game controls; wherein, the area shape of the alignment operation area matches the control distribution shape; respond to an alignment control instruction to determine a target alignment method; control the multiple target game controls to be aligned in the alignment operation area according to the target alignment method.

[0166] Provide alternative distribution shapes in the graphical user interface; respond to a selection operation for an alternative distribution shape and determine the selected alternative distribution shape as the control distribution shape.

[0167] Respond to a graphical drawing operation acting on the graphical user interface to generate a drawn graph; select multiple target game controls based on the drawn graph.

[0168] In response to a graphic drawing operation on a graphical user interface, determine the operation touch point trajectory of the graphic drawing operation as the drawn graphic.

[0169] In response to a graphic drawing operation on a graphical user interface, generate a graphic identifier of an alternative distribution shape on the graphical user interface and control the graphic identifier to scale following the operation touch point of the graphic drawing operation; in response to the graphic drawing end operation, determine the graphic identifier at the end of the graphic drawing operation as the final drawn graphic.

[0170] The drawn graphic includes a closed graphic; use the multiple game controls enclosed by the drawn graphic as the selected target game controls.

[0171] Generate an alignment operation area for multiple target game controls based on the positions of the multiple target game controls; wherein, the alignment operation area includes at least part of the target game controls.

[0172] Determine the alignment operation area based on the area enclosed by the drawn graphic that encloses multiple target game controls.

[0173] Determine that the shape of the drawn graphic that encloses multiple target game controls is the same as the control distribution shape, and determine the area enclosed by the drawn graphic as the alignment operation area; or, determine that the shape of the drawn graphic that encloses multiple target game controls is different from the control distribution shape, and determine the smallest area that has the control distribution shape and includes the area enclosed by the drawn graphic as the alignment operation area.

[0174] Provide alternative alignment methods corresponding to the control distribution shape on the graphical user interface; in response to a selection operation for the alternative alignment methods, determine the selected alternative alignment method as the target alignment method.

[0175] Determine that the control distribution shape is a rectangle, and provide at least one of the following alternative alignment methods on the graphical user interface: horizontal left alignment, horizontal center alignment, horizontal right alignment, vertical top alignment, vertical center alignment, vertical bottom alignment; or, determine that the control distribution shape is a sector, and provide at least one of the following alternative alignment methods on the graphical user interface: the sector vertex is located at the lower left, the sector vertex is located at the upper left, the sector vertex is located at the lower right, the sector vertex is located at the upper right.

[0176] In response to a spacing adjustment instruction, control the control spacing of multiple target game controls to be adjusted within the alignment operation area.

[0177] Generate a spacing adjustment control on the graphical user interface; in response to a sliding control operation on the spacing adjustment control, control the control spacing of multiple target game controls to be scaled within the alignment operation area.

[0178] Generate a region indication control for the alignment operation region in the graphical user interface; in response to a zoom control operation on the region indication control, update the region range of the alignment operation region; in response to an update of the target game control in the alignment operation region, control the updated target game control to be aligned within the alignment operation region according to the target alignment method.

[0179] Generate a region indication control for the alignment operation region in the graphical user interface; in response to a magnification control operation on the region indication control, increase the region range of the alignment operation region; in response to an increase in the target game control in the alignment operation region, control the increased target game control to be aligned within the alignment operation region according to the target alignment method.

[0180] In response to a reduction control operation on the region indication control, reduce the region range of the alignment operation region; when the distance between the region edge of the alignment operation region and the target game control is less than a preset distance, stop responding to the reduction control operation.

[0181] In response to a control size adjustment instruction, control the control size of the target game control in the alignment operation region to be adjusted.

[0182] In response to a multi-touch sliding operation within the alignment operation region, determine that the contact distance of multiple operation contacts of the multi-touch sliding operation is reduced, and control the control size of the target game control in the alignment operation region to be reduced; or, in response to a multi-touch sliding operation within the alignment operation region, determine that the contact distance of multiple operation contacts of the multi-touch sliding operation is increased, and control the control size of the target game control in the alignment operation region to be increased.

[0183] In response to a control position swapping instruction, determine a first target control and a second target control from within the alignment operation region, and control the first target control and the second target control to swap positions.

[0184] In response to a sliding control operation on the first target control within the alignment operation region, control the control identifier of the first target control to move following the operation contact of the sliding control operation; in response to the control identifier moving to the second target control and the sliding control end operation, control the first target control and the second target control to swap positions.

[0185] In response to the control identifier moving to the second target control, display the second target control in a specified display format.

[0186] In the above method, the control distribution shape is used to determine the shape of the alignment operation region. After determining the target game controls to be aligned and the target alignment method, automatically control the target game controls to be aligned within the alignment operation region according to the target alignment method. This method can align multiple controls through simple operations, with convenient and efficient operations and short time consumption.

[0187] A computer program product for an interactive control method, device, and electronic device of a game provided by an embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the foregoing method embodiments. For specific implementation, reference can be made to the method embodiments and will not be elaborated herein.

[0188] Those skilled in the art can clearly understand that for the sake of convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0189] In addition, in the description of the embodiments of the present invention, unless otherwise clearly defined and limited, the terms "installation", "connection", and "coupling" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0190] If the above functions are implemented in the form of software function 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 invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program code.

[0191] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention 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 should not be construed as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.

[0192] Finally, it should be noted that the above embodiments are only specific embodiments of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions recorded in the foregoing embodiments or easily conceive of changes, or perform equivalent replacements on some of the technical features; 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 invention, and should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. An interactive control method for a game, characterized in that Providing a graphical user interface through a terminal device, the graphical user interface including a plurality of game controls; the game controls being configured to: respond to a trigger operation and control the execution of a preset interaction function; the method including: Responding to an alignment trigger instruction to determine a control distribution shape; Responding to a control selection instruction to select a plurality of target game controls from the graphical user interface and generate an alignment operation area for the plurality of target game controls; wherein, the area shape of the alignment operation area matches the control distribution shape; Responding to an alignment control instruction to determine a target alignment method; Controlling the plurality of target game controls to align in the alignment operation area according to the target alignment method.

2. The method according to claim 1, wherein The step of responding to an alignment trigger instruction to determine a control distribution shape includes: Providing alternative distribution shapes in the graphical user interface; Responding to a selection operation on the alternative distribution shapes and determining the selected alternative distribution shape as the control distribution shape.

3. The method according to claim 1, characterized in that, The step of responding to a control selection instruction to select a plurality of target game controls from the graphical user interface includes: Responding to a graphical drawing operation on the graphical user interface to generate a drawn graph; Selecting a plurality of target game controls based on the drawn graph.

4. The method according to claim 3, wherein The step of responding to a graphical drawing operation on the graphical user interface to generate a drawn graph includes: Responding to a graphical drawing operation on the graphical user interface and determining the operation contact track of the graphical drawing operation as the drawn graph.

5. The method according to claim 3, characterized in that The step of responding to a graphical drawing operation on the graphical user interface to generate a drawn graph includes: Responding to a graphical drawing operation on the graphical user interface to generate a graphical identifier of an alternative distribution shape in the graphical user interface and controlling the graphical identifier to scale following the operation contact of the graphical drawing operation; Responding to a graphical drawing end operation and determining the graphical identifier at the time of the graphical drawing end operation as the final drawn graph.

6. The method according to claim 3, wherein The drawn graph includes a closed graph; the step of selecting a plurality of target game controls based on the drawn graph includes: Regarding the plurality of game controls surrounded by the drawn graph as the selected target game controls.

7. The method according to claim 1, characterized in that, The step of generating an alignment operation area for the plurality of target game controls includes: Generating an alignment operation area for the plurality of target game controls based on the positions of the plurality of target game controls; wherein, the alignment operation area includes at least part of the target game controls.

8. The method according to claim 1, characterized in that, The step of generating an alignment operation area for the plurality of target game controls includes: Determining an alignment operation area based on the area surrounded by a drawn graph surrounding the plurality of target game controls.

9. The method according to claim 8, wherein The step of determining an alignment operation area based on the area surrounded by a drawn graph surrounding the plurality of target game controls includes: Determining that the shape of the drawn graph surrounding the plurality of target game controls is the same as the control distribution shape and determining the area surrounded by the drawn graph as the alignment operation area; Alternatively, if it is determined that the shape of the drawn figure enclosing the multiple target game controls is different from the control distribution shape, the smallest area that has the control distribution shape and contains the area enclosed by the drawn figure is determined as the alignment operation area.

10. The method according to claim 1, wherein The steps of determining the target alignment method in response to an alignment control instruction include: providing alternative alignment methods corresponding to the control distribution shape in the graphical user interface; responding to a selection operation for the alternative alignment methods, and determining the selected alternative alignment method as the target alignment method.

11. The method according to claim 10, characterized in that The step of providing alternative alignment methods corresponding to the control distribution shape in the graphical user interface includes: determining that the control distribution shape is a rectangle, and providing at least one of the following alternative alignment methods in the graphical user interface: horizontal left alignment, horizontal center alignment, horizontal right alignment, vertical top alignment, vertical center alignment, vertical bottom alignment; Alternatively, determining that the control distribution shape is a sector, and providing at least one of the following alternative alignment methods in the graphical user interface: the sector vertex is located at the lower left, the sector vertex is located at the upper left, the sector vertex is located at the lower right, the sector vertex is located at the upper right.

12. The method according to claim 1, characterized in that, After the step of controlling the multiple target game controls to be aligned in the alignment operation area according to the target alignment method, the method further includes: responding to a spacing adjustment instruction, and controlling the control spacing of the multiple target game controls to be adjusted in the alignment operation area.

13. The method according to claim 12, characterized in that, The step of controlling the control spacing of the multiple target game controls to be adjusted in the alignment operation area in response to an indirect adjustment instruction includes: generating a spacing adjustment control in the graphical user interface; responding to a sliding control operation on the spacing adjustment control, and controlling the control spacing of the multiple target game controls to be scaled in the alignment operation area.

14. The method according to claim 1, wherein After the step of generating the alignment operation area for the multiple target game controls, the method further includes: generating a region indication control for the alignment operation area in the graphical user interface; responding to a scaling control operation on the region indication control, and updating the region range of the alignment operation area; responding to an update of the target game controls in the alignment operation area, and controlling the updated target game controls to be aligned in the alignment operation area according to the target alignment method.

15. The method according to claim 1, wherein After the step of generating the alignment operation area for the multiple target game controls, the method further includes: generating a region indication control for the alignment operation area in the graphical user interface; responding to a magnification control operation on the region indication control, and increasing the region range of the alignment operation area; responding to an increase in the target game controls in the alignment operation area, and controlling the increased target game controls to be aligned in the alignment operation area according to the target alignment method.

16. The method according to claim 15, wherein The method further includes: responding to a reduction control operation on the region indication control, and reducing the region range of the alignment operation area; responding to the distance between the region edge of the alignment operation area and the target game control being less than a preset distance, and stopping responding to the reduction control operation.

17. The method according to claim 1, characterized in that The method further includes: In response to a control size adjustment instruction, control the control size of the target game control in the alignment operation area to be adjusted.

18. The method according to claim 17, wherein The step of controlling the control size of the target game control in the alignment operation area to be adjusted in response to a control size adjustment instruction includes: In response to a multi-touch sliding operation acting on the alignment operation area, determine that the contact distance between the multiple operation contacts of the multi-touch sliding operation is reduced, and control the control size of the target game control in the alignment operation area to be reduced; Or, in response to a multi-touch sliding operation acting on the alignment operation area, determine that the contact distance between the multiple operation contacts of the multi-touch sliding operation is increased, and control the control size of the target game control in the alignment operation area to be increased.

19. The method according to claim 1, wherein The method further includes: In response to a control position swapping instruction, determine a first target control and a second target control from the alignment operation area, and control the first target control and the second target control to swap positions.

20. The method according to claim 19, wherein The step of determining a first target control and a second target control from the alignment operation area and controlling the first target control and the second target control to swap positions in response to a control position swapping instruction includes: In response to a sliding control operation acting on the first target control in the alignment operation area, control the control identifier of the first target control to move following the operation contact of the sliding control operation; In response to the control identifier moving to the second target control and the sliding control ending operation, control the first target control and the second target control to swap positions.

21. The method according to claim 20, wherein The method further includes: In response to the control identifier moving to the second target control, display the second target control in a specified display format.

22. An interactive control device for a game, characterized in that, Provide a graphical user interface through a terminal device, where the graphical user interface includes multiple game controls; the game controls are configured to: respond to a trigger operation and control the execution of a preset interaction function; the device includes: A shape determination module, configured to determine a control distribution shape in response to an alignment trigger instruction; A control selection module, configured to select multiple target game controls from the graphical user interface in response to a control selection instruction, and generate an alignment operation area for the multiple target game controls; wherein, the area shape of the alignment operation area matches the control distribution shape; A method determination module, configured to determine a target alignment method in response to an alignment control instruction; An alignment control module, configured to control the multiple target game controls to be aligned in the alignment operation area according to the target alignment method.

23. An electronic device, characterized in that, Includes a processor and a memory, where the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the game interaction control method according to any one of claims 1-21.

24. 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 cause the processor to implement the game interaction control method according to any one of claims 1-21.