Interface display adjustment method and device, electronic equipment and storage medium
By mirroring the axis in the game interface, the object to be adjusted is solved, the hand adaptability problem of different players is achieved, the operation mode is quickly switched and resource consumption is reduced, and the player operation experience is improved.
Patent Information
- Application Number
- CN202510500173.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-08-12
AI Technical Summary
The existing technology cannot effectively adapt to the game interface design of different hand types of players, which leads to difficulties in operating the left hand player, and the frequent clicks on the button on the left side of the screen by the right hand player, resulting in operation fatigue.
The adjustment object is mirrored and moved through the central axis of the graphical user interface, switched the operation mode, and only some objects are mirrored and moved to adapt to the operating habits of different players.
It realizes rapid switching of operation modes, reduces resource consumption, improves game interface adaptability, and reduces player operation fatigue.
Smart Images

Figure CN120459625A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of game interaction design, and in particular to an interface display adjustment method, device, electronic device, and storage medium. Background Art
[0002] Interactive Entertainment games feature a number of vertical and horizontal-to-vertical features. Vertical interface design prioritizes one-handed operation, so buttons are typically concentrated in the lower middle portion of the interface. However, it's unpredictable whether a player will be left-handed or right-handed. If buttons are positioned in the lower right corner for right-handed players, it can be difficult for left-handed users to navigate. Summary of the Invention
[0003] The present invention aims to provide an interface display adjustment method, device, electronic device and storage medium to improve the efficiency of switching game operation modes.
[0004] In a first aspect, the present disclosure provides an interface display adjustment method, which includes: providing a graphical user interface through a terminal device, wherein the graphical user interface displays operation controls and game data in a first operation mode; in response to a mode switching operation, determining an object to be adjusted from the operation controls and game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved; wherein the interface layout of the graphical user interface after the object to be adjusted is moved adapts to the second operation mode, and the interface layout of the graphical user interface before the object to be adjusted is moved adapts to the first operation mode.
[0005] In a second aspect, the present disclosure provides an interface display adjustment device, which includes: an interface display module, used to provide a graphical user interface through a terminal device, in which the graphical user interface displays operation controls and game data in a first operation mode; a mode switching module, used to determine the object to be adjusted from the operation controls and game data in response to a mode switching operation, and mirror-move the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved; wherein, the interface layout of the graphical user interface after the object to be adjusted is moved adapts to the second operation mode, and the interface layout of the graphical user interface before the object to be adjusted is moved adapts to the first operation mode.
[0006] In a third aspect, the present disclosure provides an electronic device comprising a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-mentioned interface display adjustment method.
[0007] In a fourth aspect, the present disclosure provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned interface display adjustment method.
[0008] The embodiments of the present disclosure bring the following beneficial effects:
[0009] The present disclosure provides an interface display adjustment method, device, electronic device, and storage medium. First, a graphical user interface is provided through a terminal device, in which operating controls and game data in a first operating mode are displayed. Then, in response to a mode switching operation, an object to be adjusted is determined from the operating controls and game data, and the object to be adjusted is mirrored based on the central axis of the graphical user interface to obtain a graphical user interface after the object to be adjusted has been moved. The interface layout of the graphical user interface after the object to be adjusted has been moved is adapted to the second operating mode, and the interface layout of the graphical user interface before the object to be adjusted has been adapted to the first operating mode. In this method, players can quickly switch the operating mode corresponding to the graphical user interface through the mode switching operation to adapt to the operating habits of different players. At the same time, when switching modes, this method only mirrors some of the objects displayed in the graphical user interface, thereby reducing the resource consumption of mode switching on the basis of visual uniformity.
[0010] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by practicing the above-mentioned technology of the present disclosure.
[0011] In order to make the above-mentioned objects, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically listed below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 A flowchart of an interface display adjustment method provided in an embodiment of the present disclosure;
[0014] Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of the present disclosure;
[0015] Figure 3A schematic diagram of displaying mode switching prompt information provided by an embodiment of the present disclosure;
[0016] Figure 4 A comparison diagram of an object to be adjusted before and after mirror movement provided by an embodiment of the present disclosure;
[0017] Figure 5 A schematic structural diagram of an interface display adjustment device provided in an embodiment of the present disclosure;
[0018] Figure 6 A schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present disclosure. Obviously, the described embodiments are only some of the embodiments of the present disclosure, but not all of them. Generally, the components of the embodiments of the present disclosure described and shown in the drawings herein can be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the present disclosure as claimed, but merely represents selected embodiments of the present disclosure. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present disclosure without creative effort shall fall within the scope of protection of the present disclosure.
[0021] Interactive games feature a number of vertical and horizontal-to-vertical screens. Vertical screen interface design prioritizes one-handed operation, so buttons are typically concentrated in the lower middle portion of the interface. However, it's unpredictable whether a player will be left-handed or right-handed. If buttons are positioned in the lower right corner for right-handed players, this can create operational difficulties for left-handed players. For example, if a right-handed player frequently taps buttons on the left side of the screen, their right thumb will need to extend constantly, leading to fatigue.
[0022] Based on the above problems, the embodiments of the present disclosure provide an interface display adjustment method, device, electronic device and storage medium. This technology can be applied to the adjustment scenario of the interface display mode of any game, especially the switching scenario of the left and right hand operation modes in vertical screen games.
[0023] In one embodiment of the present disclosure, the interface display adjustment method can be run on a local terminal device or a server. When the interface display adjustment method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0024] In an optional embodiment, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the interface display adjustment method are completed on the cloud game server. 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 close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0025] In an optional embodiment, taking a game as an example, a 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 downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and 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.
[0026] In a possible implementation, the present disclosure provides an interface display adjustment method, such as Figure 1 As shown, the method includes the following specific steps:
[0027] Step S102: providing a graphical user interface through the terminal device, wherein the graphical user interface displays operating controls and game data in the first operating mode.
[0028] The above-mentioned terminal device can be the local terminal device mentioned above, or it can be the client device in the cloud interaction system mentioned above. For example, the terminal device can be a mobile phone, a tablet computer, etc. The terminal device displays the graphical user interface corresponding to the target game by running the game program corresponding to the target game. The target game can be a mobile game, a terminal game or a console game, etc. The graphical user interface displays operation controls and game data related to the target game. Among them, the operation control can be a UI control that can be operated by the player displayed in the game interface, and the game data can be text, pictures and other content displayed in the graphical user interface, and the game data can include game data that can be operated by the player. For example, triggering certain pictures can display corresponding picture details, text that can be entered by the player, or text that can be deleted, etc.
[0029] In a specific implementation, the target game may include multiple operating modes. The specific operating modes can be determined based on R&D requirements. Different operating modes are generally suitable for players with different operating habits. The first operating mode mentioned above can be any one of the multiple operating modes. For example, the target game may include two operating modes, one operating mode is a right-handed operating mode, and the other operating mode is a left-handed operating mode. The operating controls and game data displayed in the graphical user interface in the right-handed operating mode are suitable for players who operate the graphical user interface with their right hand, and the operating controls and game data displayed in the graphical user interface in the left-handed operating mode are suitable for players who operate the graphical user interface with their left hand.
[0030] It should be noted that in some games, players usually control the game with one hand (for example, vertical screen games or games that switch from horizontal screen to vertical screen), so players need to choose the appropriate operation mode so that players can easily operate the content displayed in the graphical user interface, which helps to improve the player's gaming experience.
[0031] Step S104, in response to the mode switching operation, determining the object to be adjusted from the operation controls and the game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved; wherein, the interface layout of the graphical user interface after the object to be adjusted is moved adapts to the second operation mode, and the interface layout of the graphical user interface before the object to be adjusted is moved adapts to the first operation mode.
[0032] In specific implementation, the specific operation corresponding to the above-mentioned mode switching operation can be determined according to research and development requirements. For example, the mode switching operation can be a triggering operation of the mode switching control displayed in the graphical user interface, or a triggering operation of a designated button in the terminal device, or an operation of sliding from a designated position in the graphical user interface to a designated direction, etc.
[0033] When a player performs a mode switch operation, the object to be adjusted is first determined from the currently displayed operating controls and game data in the graphical user interface. Then, the object to be adjusted is mirrored about the central axis of the graphical user interface, so that the object to be adjusted located on one side of the graphical user interface is moved to the other side of the graphical user interface. This switches the operating mode corresponding to the operating controls and game data in the graphical user interface from the first operating mode to the second operating mode, and also adapts the interface layout of the graphical user interface to the second operating mode. For example, the object to be adjusted located on the left side of the graphical user interface is mirrored and moved to the right side of the graphical user interface; the object to be adjusted located on the right side of the graphical user interface is mirrored and moved to the left side of the graphical user interface, thereby achieving the switching of the operating modes.
[0034] The above-mentioned objects to be adjusted can be the operation controls and at least part of the content of the game data currently displayed in the graphical user interface. For example, the objects to be adjusted can be the operation controls that are not displayed in the center of the graphical user interface, or they can be interactive game data in the graphical user interface, etc.
[0035] An embodiment of the present disclosure provides an interface display adjustment method, through which players can quickly switch the operation mode corresponding to the graphical user interface through mode switching operations to adapt to the operating habits of different players; at the same time, when switching modes, this method only mirrors part of the objects displayed in the graphical user interface, thereby reducing the resource consumption of mode switching on the basis of visual uniformity.
[0036] The following embodiments are used to describe a method for determining an object to be adjusted.
[0037] Specifically, the specific process of determining the objects to be adjusted from the operation controls and game data may include: determining the operation controls and game data that are operable and not displayed centered in the graphical user interface as the objects to be adjusted.
[0038] In a specific implementation, the graphical user interface may include multiple operating controls, with different operating controls displayed in different locations. The specific game data displayed in the graphical user interface can be determined based on R&D requirements. For example, game data may include game scene images, gold coin counts, experience points, or game rewards.
[0039] The operable operating controls and game data, as well as the inoperable game data, displayed centrally in the graphical user interface are equally convenient for players with different operating habits. Therefore, when switching modes, the operable operating controls and game data, as well as the inoperable game data, displayed centrally in the graphical user interface do not need to be mirrored, thereby reducing resource consumption for mirroring when switching modes. The "centered display" here means that the display position is located on the central axis of the graphical user interface, where the central axis is a vertical line segment passing through the center position of the graphical user interface.
[0040] In an optional embodiment, when designing a graphical user interface, a target label can be set for the operation control displayed in the center of the graphical user interface and the area displaying game data in the center, so that when the operation model is switched to determine the object to be adjusted, the operation control with the target label and the game data corresponding to the area displaying game data are determined as the object to be adjusted. In another optional embodiment, when the operation model is switched to determine the object to be adjusted, the display position of the operation control and game data displayed in the graphical user interface can be determined in real time, and the operation control and game data that are operable and whose display position is not on the central axis of the graphical user interface are determined as the object to be adjusted.
[0041] like Figure 2 FIG. 1 is a schematic diagram showing a display of a graphical user interface provided by an embodiment of the present disclosure. Figure 2 The graphical user interface includes multiple operation controls, including: a purchase control, an auction control, an arrow control (for returning to the previous page), a star control, a hexagonal control, a triangle control, and a card control; among them, the first card and the second card in the card control are cards that the player has already purchased, and card 1, card 2, card 3, card 4, card 5 and card 6 are cards that the player can purchase. The player can purchase the card by clicking on the purchasable card. Figure 2 The game data displayed in the graphical user interface includes the number of gold coins and the number of ingots. Figure 2 The grayed-out control is the object to be adjusted.
[0042] In an optional embodiment, the game data and operating controls in the graphical user interface that can be adjusted when switching modes are pre-set. For example, when switching modes, the game data and operating controls that can be adjusted according to the mode switching requirements are pre-set with labels or codes, so that when the mode is switched, the game data and operating controls with labels and codes are identified as the objects to be adjusted and the objects to be adjusted are mirrored.
[0043] In the above method, when the model is switched, there is no need to flip all the displayed content in the graphical user interface. Only the object to be adjusted in the graphical user interface needs to be flipped. The object to be adjusted is part of the displayed content in the graphical user interface, thereby reducing resource consumption during mode switching.
[0044] The following embodiments are used to describe the mode switching method.
[0045] Specifically, the above-mentioned process of determining the object to be adjusted from the operation controls and the game data in response to the mode switching operation, mirroring the object to be adjusted based on the central axis of the graphical user interface, and obtaining the graphical user interface after the object to be adjusted is moved can be implemented by the following steps 10-11:
[0046] Step 10: In response to the first switching operation, control the display of mode switching prompt information in the graphical user interface; wherein the mode switching prompt information is used to indicate the switching method of the operation mode.
[0047] In specific implementations, the specific operation corresponding to the first switching operation can be determined based on R&D requirements. In a specific embodiment, the first switching operation includes one of the following: a sliding operation from the edge of the graphical user interface inward, and a triggering operation on a designated button in the terminal device. The specific button corresponding to the designated button can be determined based on R&D requirements. For example, the designated button can be a volume button in the terminal device, a camera adjustment button in the terminal device, or other physical function buttons.
[0048] When the first switching operation is a sliding operation from an edge of the graphical user interface inward, the player can slide a finger inward from any edge of the graphical user interface to implement the first switching sliding operation.
[0049] When the player performs the first switching operation, a mode switching prompt message is displayed at a preset position in the graphical user interface. The mode switching prompt message indicates the switching method of the operating mode. The player can switch the corresponding operating mode in the graphical user interface by controlling the terminal device or operating in the graphical user interface according to the switching method, thereby adjusting the display position of the operating control displayed in the graphical user interface. The above-mentioned preset position can be any position in the graphical user interface, for example, the preset position can be the middle position of the graphical user interface, or it can be above or below the graphical user interface.
[0050] The specific operation corresponding to the switching method indicated by the mode switching prompt information can be determined based on research and development requirements. In an optional embodiment, the switching method indicated by the mode switching prompt information includes: a tilt operation applied to the terminal device. The tilt operation can be an operation in which the player tilts the terminal device left or right, or an operation in which the player tilts the terminal device up or down, etc.
[0051] like Figure 3 FIG. 1 is a schematic diagram showing a display of a mode switching prompt information provided by an embodiment of the present disclosure. Figure 3 The content in the rounded box in the middle area of the graphical user interface is the mode switching prompt information, which includes the corresponding operation instruction diagram when the mode is switched, and the switching method text prompt (such as Figure 3 "Tilt the phone to adjust for left-handed or right-handed mode" in the . Figure 3 The mobile phone is a terminal device, and the left and right hand modes are the above-mentioned first switching mode and second switching mode, that is, the first switching mode is the left-hand mode and the second switching mode is the right-hand mode, or the first switching mode is the right-hand mode and the second switching mode is the left-hand mode.
[0052] Step 11, in response to the triggering operation of the switching method indicated by the mode switching prompt information, determine the object to be adjusted from the operation controls and game data, and mirror-move the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved.
[0053] In specific implementation, the triggering operation of the switching method indicated by the above-mentioned mode switching prompt information is that the player controls the switching method indicated by the mode switching prompt information. Figure 4 The figure shows a comparison diagram of an object to be adjusted before and after mirror movement provided by an embodiment of the present disclosure. Figure 4 The left image in FIG is a schematic diagram showing the display of the operation controls and game data in the first operation mode displayed in the graphical user interface. Figure 4 The left image in the figure is a schematic diagram of the display of the operating controls and game data in the second operating mode displayed in the graphical user interface after the mode is switched. Figure 4 The objects to be adjusted are the auction control, purchase control, sell control, first card, second card, arrow control, five-pointed star control, hexagon control and triangle control. When the player switches modes, the objects to be adjusted will be mirrored with the central axis of the graphical user interface as the reference, that is, Figure 4 The object to be adjusted on the left side of the graphical user interface in the left image will be mirrored and moved to the right side of the graphical user interface to obtain Figure 4This method does not simply flip the interface when switching between left-handed and right-handed modes, but instead distinguishes some operating controls that can be flipped while others remain fixed, facilitating left-handed and right-handed operation while maintaining visual consistency.
[0054] In an optional embodiment, when the switching method indicated by the mode switching prompt information is a tilting operation on the terminal device, the above step 11 can be implemented by the following steps 20-21:
[0055] Step 20 : In response to a tilt operation applied to the terminal device, collecting tilt parameters for the terminal device, and determining a target operation mode based on the tilt parameters.
[0056] In a specific implementation, the tilt parameter can be determined by the posture of the gyroscope in the terminal device. For example, if the gyroscope is tilted 20 degrees to the right, the tilt parameter is tilted 20 degrees to the right. If the terminal device is tilted 5 degrees to the right when the player performs the tilt operation, and the gyroscope tilts 30 degrees to the right after the tilt operation, the tilt parameter is tilted 20 degrees to the right. The posture of the gyroscope corresponds to the posture of the terminal device. The player can adjust the posture of the gyroscope by tilting the terminal device, thereby adjusting the tilt parameter, and then adjusting the operation mode determined by the tilt parameter.
[0057] Different tilt parameters correspond to different operation modes. For example, if the tilt parameter is tilted to the right, the target operation mode determined by the tilt parameter is the first operation mode; if the tilt parameter is tilted to the left, the target operation mode determined by the tilt parameter is the second operation mode.
[0058] It can be understood that the left and right in the present disclosure can be defined according to the relative angle changes measured by the gyroscope, for example, an increase in angle is to the right, a decrease in angle is to the left, and vice versa.
[0059] Step 21, in response to determining that the target operation mode is the second operation mode, determining the object to be adjusted from the operation controls and the game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved.
[0060] In a specific implementation, the target operation mode can be either the first operation mode or the second operation mode. If the target operation mode is the first operation mode, that is, the target operation mode is the same as the current operation mode corresponding to the graphical user interface, then there is no need to adjust the content displayed in the graphical user interface. If the target operation mode is the second operation mode, that is, the target operation mode is different from the current operation mode corresponding to the graphical user interface, then it is necessary to mirror the object to be adjusted based on the central axis of the graphical user interface to switch the operation mode corresponding to the operation controls and game data in the graphical user interface from the first operation mode to the second operation mode.
[0061] In an optional embodiment, the above-mentioned specific process of collecting the tilt parameters of the terminal device in response to the tilt operation acting on the terminal device may include: responding to the tilt operation acting on the terminal device, collecting the tilt angle and tilt direction of the gyroscope of the terminal device, and determining the tilt angle and tilt direction as tilt parameters.
[0062] In a specific implementation, after the player tilts the terminal device, the collected gyroscope parameters of the terminal device can be used as the tilt parameter. For example, after the player tilts the terminal device, if the collected gyroscope parameters are 20 degrees to the right, then the tilt parameter is 20 degrees to the right; if the collected gyroscope parameters are 30 degrees to the left, then the tilt parameter is 30 degrees to the left.
[0063] In another optional embodiment, the above-mentioned specific process of collecting the tilt parameters of the terminal device in response to the tilt operation applied to the terminal device may include: responding to the tilt operation applied to the terminal device, determining the horizontal plane corresponding to the current posture of the terminal device as the reference plane, and determining the tilt parameters of the terminal device based on the tilt operation and the reference plane.
[0064] In specific implementations, when determining the tilt parameters, it is first necessary to determine the posture of the terminal device when the player performs a tilt operation on the terminal device, and determine the horizontal plane of the terminal device in this posture as the reference plane. In other words, the tilt angle and tilt direction of the gyroscope in this posture are determined as the initial parameters. Then, the angle and direction of the tilt operation are determined as the tilt parameter. In other words, the difference between the tilt angle and tilt direction corresponding to the gyroscope after the tilt operation and the initial parameters is determined as the tilt parameter. For example, if the initial parameter is a 5-degree tilt to the right, and the parameter corresponding to the gyroscope after the tilt operation is a 30-degree tilt to the right, then the final tilt parameter is a 25-degree tilt to the right.
[0065] Furthermore, the specific process of determining the target operation mode based on the tilt parameter may include: determining whether the tilt angle corresponding to the tilt parameter is greater than a preset angle threshold; if it is greater than the preset angle threshold, determining the target operation mode according to the tilt direction corresponding to the tilt parameter; wherein the target operation mode is the first operation mode or the second operation mode, and different operation modes correspond to different tilt directions.
[0066] In a specific implementation, the preset angle threshold can be determined based on R&D requirements. For example, the preset angle threshold can be 10 degrees or 15 degrees. Specifically, only when the tilt angle corresponding to the tilt parameter is greater than the preset angle threshold will the interface layout of the graphical user interface be adjusted, that is, the applicable operating mode of the graphical user interface be switched. After the tilt angle corresponding to the tilt parameter is greater than the preset angle threshold, the applicable operating mode of the graphical user interface needs to be determined based on the tilt direction corresponding to the tilt parameter, where different tilt directions correspond to different operating modes.
[0067] Furthermore, the specific process of determining the target operation mode based on the tilt direction corresponding to the tilt parameter may include: if the tilt direction corresponding to the tilt parameter is a first offset direction, determining the first operation mode as the target operation mode; if the tilt direction corresponding to the tilt parameter is a second offset direction, determining the second operation mode as the target operation mode; wherein the first offset direction and the second offset direction are opposite directions.
[0068] In a specific implementation, the specific directions corresponding to the first and second offset directions can be determined based on R&D requirements, and the first and second offset directions are opposite directions. For example, the first offset direction is to the right side of the terminal device, and the second offset direction is to the left side of the terminal device; or the first offset direction is to the left side of the terminal device, and the second offset direction is to the right side of the terminal device, etc. The first operating mode can be a left-handed operating mode, and the second operating mode can be a right-handed operating mode, etc.
[0069] In an optional embodiment, when the triggering operation of the switching mode indicated by the above-mentioned mode switching prompt information is a continuous operation with the first switching operation, in response to the first switching operation, the mode switching prompt information is controlled to be displayed in the graphical user interface; in the continuous state of the first switching operation, in response to the triggering operation of the switching mode indicated by the mode switching prompt information, the target operation mode is determined based on the triggering operation; wherein the target operation mode is the first operation mode or the second operation mode; if the target operation mode is different from the current operation mode corresponding to the graphical user interface, the object to be adjusted is determined from the operation controls and the game data, and the object to be adjusted is mirrored based on the central axis of the graphical user interface based on the triggering operation to switch the operation mode corresponding to the graphical user interface to the target operation mode; in response to the end of the first switching operation, the operation mode corresponding to the graphical user interface is determined as the operation mode corresponding to the end of the operation, so that the interface layout corresponding to the operation controls and game data in the graphical user interface is adapted to the operation mode corresponding to the end of the first switching operation.
[0070] In a specific implementation, when entering the game for the first time, the default operation mode corresponding to the graphical user interface is the first operation mode. At this time, the player performs a first switching operation to enter the mode switching mode, and a mode switching prompt message is displayed in the graphical user interface. While the first switching operation is in progress, the graphical user interface is always in the mode switching mode. In the mode switching mode, the player can operate according to the switching method indicated by the mode switching prompt message. The object to be adjusted in the graphical user interface can be mirrored according to the player's operation, and can be mirrored multiple times according to the player. For example, in the mode switching mode, the target operation mode corresponding to the first operation mode of the player's first operation is different from the first operation mode currently corresponding to the graphical user interface. The object to be adjusted in the graphical user interface needs to be mirrored to switch the first operation mode currently corresponding to the graphical user interface to the second operation mode. The target operation mode corresponding to the second operation mode of the player's second operation is different from the second operation mode currently corresponding to the graphical user interface. The object to be adjusted in the graphical user interface needs to be mirrored again to switch the second operation mode currently corresponding to the graphical user interface to the first operation mode. If the player ends the first switching operation at this time, the graphical user interface exits the mode switching mode, thereby determining the current operation mode of the graphical user interface as the first operation mode.
[0071] In another optional embodiment, if the mode switching prompt information indicates that the switching method is a tilt operation applied to the terminal device, in the continued state of the first switching operation, in response to the tilt operation applied to the terminal device, a tilt parameter is determined based on the tilt operation. If the tilt angle corresponding to the tilt parameter is less than a preset angle threshold, the player ends the first switching operation. At this time, the interface layout of the graphical user interface will not be adjusted, that is, the operating mode adapted by the graphical user interface will not be adjusted. If the tilt angle corresponding to the tilt parameter is greater than or equal to the preset angle threshold, the target operating mode is determined based on the tilt direction corresponding to the tilt parameter. If the target operating mode is different from the operating mode currently corresponding to the graphical user interface, the to-be-adjusted portion of the graphical user interface is mirrored to obtain the mirrored graphical user interface. At this time, the player ends the first switching operation, and the graphical user interface maintains the mirrored interface layout.
[0072] If the current operation mode corresponding to the graphical user interface is the first operation mode, in the continued state of the first switching operation, in response to the tilt operation applied to the terminal device, a tilt parameter is determined based on the tilt operation. If the tilt angle corresponding to the tilt parameter is greater than or equal to the preset angle threshold, the target operation mode is determined to be the second operation mode based on the tilt direction corresponding to the tilt parameter, and the corresponding portion to be adjusted in the graphical user interface is mirrored to obtain the graphical user interface after the mirroring operation. If the player continues to perform the tilt operation on the terminal device, but the tilt angle corresponding to the tilt parameter determined based on the tilt operation is less than the preset angle threshold, at this time, the player ends the first switching operation, and the interface layout after the mirroring operation is maintained in the graphical user interface.
[0073] If the current operation mode corresponding to the graphical user interface is the first operation mode, in the continuous state of the first switching operation, in response to the tilt operation applied to the terminal device, the tilt parameter is determined based on the tilt operation. If the tilt angle corresponding to the tilt parameter is greater than or equal to the preset angle threshold, the target operation mode is determined to be the second operation mode based on the tilt direction corresponding to the tilt parameter, and the corresponding portion to be adjusted in the graphical user interface is mirrored to obtain the graphical user interface after the mirror movement; if the player continues to perform the tilt operation on the terminal device, but the tilt angle corresponding to the tilt parameter determined based on the tilt operation is greater than or equal to the preset angle threshold, and the target operation mode determined by the tilt direction corresponding to the tilt parameter is the first operation mode, the corresponding portion to be adjusted in the graphical user interface is mirrored to obtain the graphical user interface after the mirror movement, at this time, the player ends the first switching operation, and the interface layout in the graphical user interface is applicable to the first operation mode, that is, the operation mode corresponding to the graphical user interface is finally switched back to the first operation mode.
[0074] In the above method, the left-hand mode and the right-hand mode can be switched according to the player's needs, and the mode switching method is not to simply flip the interface, but to distinguish some operation buttons that can be flipped and the rest that are not flipped, thereby saving resource consumption for mode switching.
[0075] In addition, this method can serve various vertical screen games or horizontal-to-vertical games, adapting to the operating habits of left-handed and right-handed players at a low cost.
[0076] In view of the above method embodiment, the present disclosure also provides an interface display adjustment device, such as Figure 5 As shown, the device includes:
[0077] The interface display module 50 is used to provide a graphical user interface through the terminal device, in which the operating controls and game data in the first operating mode are displayed.
[0078] The mode switching module 51 is used to determine the object to be adjusted from the operation controls and game data in response to the mode switching operation, and mirror-move the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved; wherein the interface layout of the graphical user interface after the object to be adjusted is moved is adapted to the second operation mode, and the interface layout of the graphical user interface before the object to be adjusted is adapted to the first operation mode.
[0079] The above-mentioned interface display adjustment device allows players to quickly switch the operating mode corresponding to the graphical user interface through mode switching operations to adapt to the operating habits of different players; at the same time, when switching modes, this method only mirrors part of the objects displayed in the graphical user interface, thereby reducing the resource consumption of mode switching on the basis of visual unification.
[0080] Furthermore, the above-mentioned mode switching module 51 is used to: in response to the first switching operation, control the display of mode switching prompt information in the graphical user interface; wherein, the mode switching prompt information is used to indicate the switching method of the operation mode; in response to the triggering operation of the switching method indicated by the mode switching prompt information, determine the object to be adjusted from the operation controls and game data, and mirror the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved.
[0081] Furthermore, the switching method indicated by the above-mentioned mode switching prompt information includes: a tilting operation acting on the terminal device.
[0082] Furthermore, the above-mentioned mode switching module 51 is also used to: respond to the tilt operation acting on the terminal device, collect tilt parameters for the terminal device, and determine the target operation mode based on the tilt parameters; in response to determining that the target operation mode is the second operation mode, determine the object to be adjusted from the operation controls and game data, and mirror-move the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved.
[0083] Furthermore, the mode switching module 51 is further configured to: in response to a tilt operation applied to the terminal device, collect a tilt angle and a tilt direction of a gyroscope of the terminal device, and determine the tilt angle and the tilt direction as tilt parameters.
[0084] Furthermore, the mode switching module 51 is further configured to: respond to a tilt operation on the terminal device, determine a horizontal plane corresponding to the current posture of the terminal device as a reference plane, and determine a tilt parameter of the terminal device based on the tilt operation and the reference plane.
[0085] Furthermore, the above-mentioned mode switching module 51 is also used to: determine whether the tilt angle corresponding to the tilt parameter is greater than a preset angle threshold; if it is greater than the preset angle threshold, determine the target operation mode according to the tilt direction corresponding to the tilt parameter; wherein, the target operation mode is the first operation mode or the second operation mode, and different operation modes correspond to different tilt directions.
[0086] Furthermore, the above-mentioned mode switching module 51 is also used to: if the tilt direction corresponding to the tilt parameter is a first offset direction, determine the first operation mode as the target operation mode; if the tilt direction corresponding to the tilt parameter is a second offset direction, determine the second operation mode as the target operation mode; wherein the first offset direction and the second offset direction are opposite directions.
[0087] Furthermore, the first switching operation includes: a sliding operation from an edge of the graphical user interface inward, or a triggering operation on a designated button in the terminal device.
[0088] Furthermore, the triggering operation of the switching mode indicated by the above-mentioned mode switching prompt information is a continuous operation with the first switching operation; based on this, the above-mentioned device also includes a mode adjustment module, which is used to: in response to the first switching operation, control the display of the mode switching prompt information in the graphical user interface; in the continuous state of the first switching operation, in response to the triggering operation of the switching mode indicated by the mode switching prompt information, determine the target operation mode based on the triggering operation; wherein the target operation mode is the first operation mode or the second operation mode; if the target operation mode is different from the current operation mode corresponding to the graphical user interface, determine the object to be adjusted from the operation control and the game data, and based on the triggering operation, mirror the object to be adjusted based on the central axis of the graphical user interface to switch the operation mode corresponding to the graphical user interface to the target operation mode; in response to the end of the first switching operation, determine the operation mode corresponding to the graphical user interface as the operation mode corresponding to the end of the operation, so that the interface layout corresponding to the operation control and game data in the graphical user interface is adapted to the operation mode corresponding to the end of the first switching operation.
[0089] Furthermore, the mode switching module 51 is further configured to: determine, among the operation controls and game data, those that are operable and not displayed centered in the graphical user interface as objects to be adjusted.
[0090] The interface display adjustment device provided in the embodiment of the present disclosure has the same implementation principle and technical effects as those in the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding content in the aforementioned method embodiment.
[0091] The present disclosure also provides an electronic device, such as Figure 6 As shown, the electronic device includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned interface display adjustment method.
[0092] Specifically, the above-mentioned interface display adjustment method includes: providing a graphical user interface through a terminal device, in which the operating controls and game data in a first operating mode are displayed; in response to a mode switching operation, determining the object to be adjusted from the operating controls and game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved; wherein, the interface layout of the graphical user interface after the object to be adjusted is moved adapts to the second operating mode, and the interface layout of the graphical user interface before the object to be adjusted is moved adapts to the first operating mode.
[0093] In the above-mentioned interface display adjustment method, players can quickly switch the operation mode corresponding to the graphical user interface through mode switching operations to adapt to the operating habits of different players; at the same time, when switching modes, this method only mirrors part of the objects displayed in the graphical user interface, thereby reducing the resource consumption of mode switching on the basis of visual unification.
[0094] In an optional embodiment, the above-mentioned step of determining the object to be adjusted from the operating controls and game data in a mode switching operation, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved includes: in response to a first switching operation, controlling the display of mode switching prompt information in the graphical user interface; wherein the mode switching prompt information is used to indicate the switching method of the operating mode; in response to a triggering operation of the switching method indicated by the mode switching prompt information, determining the object to be adjusted from the operating controls and game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved.
[0095] In an optional embodiment, the switching method indicated by the above-mentioned mode switching prompt information includes: a tilting operation acting on the terminal device.
[0096] In an optional embodiment, the above-mentioned step of responding to the triggering operation of the switching method indicated by the mode switching prompt information, determining the object to be adjusted from the operation controls and game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved, includes: responding to the tilt operation acting on the terminal device, collecting tilt parameters for the terminal device, and determining the target operation mode based on the tilt parameters; in response to determining that the target operation mode is the second operation mode, determining the object to be adjusted from the operation controls and game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved.
[0097] In an optional embodiment, the above-mentioned step of collecting tilt parameters for the terminal device in response to the tilt operation applied to the terminal device includes: collecting the tilt angle and tilt direction of the gyroscope of the terminal device in response to the tilt operation applied to the terminal device, and determining the tilt angle and tilt direction as tilt parameters.
[0098] In an optional embodiment, the above-mentioned step of collecting tilt parameters for the terminal device in response to the tilt operation applied to the terminal device includes: responding to the tilt operation applied to the terminal device, determining the horizontal plane corresponding to the current posture of the terminal device as a reference plane, and determining the tilt parameters of the terminal device based on the tilt operation and the reference plane.
[0099] In an optional embodiment, the above-mentioned step of determining the target operation mode based on the tilt parameter includes: determining whether the tilt angle corresponding to the tilt parameter is greater than a preset angle threshold; if it is greater than the preset angle threshold, determining the target operation mode according to the tilt direction corresponding to the tilt parameter; wherein the target operation mode is the first operation mode or the second operation mode, and different operation modes correspond to different tilt directions.
[0100] In an optional embodiment, the above-mentioned step of determining the target operation mode based on the tilt direction corresponding to the tilt parameter includes: if the tilt direction corresponding to the tilt parameter is a first offset direction, determining the first operation mode as the target operation mode; if the tilt direction corresponding to the tilt parameter is a second offset direction, determining the second operation mode as the target operation mode; wherein the first offset direction and the second offset direction are opposite directions.
[0101] In an optional embodiment, the first switching operation includes: a sliding operation from an edge of the graphical user interface inward, or a triggering operation on a designated button in the terminal device.
[0102] In an optional embodiment, the triggering operation of the switching mode indicated by the mode switching prompt information is a continuous operation with the first switching operation; the above method also includes: in response to the first switching operation, controlling the display of the mode switching prompt information in the graphical user interface; in the continuous state of the first switching operation, in response to the triggering operation of the switching mode indicated by the mode switching prompt information, determining the target operation mode based on the triggering operation; wherein the target operation mode is the first operation mode or the second operation mode; if the target operation mode is different from the current operation mode corresponding to the graphical user interface, determining the object to be adjusted from the operation controls and the game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface based on the triggering operation to switch the operation mode corresponding to the graphical user interface to the target operation mode; in response to the end of the first switching operation, determining the operation mode corresponding to the graphical user interface as the operation mode corresponding to the end of the operation, so that the interface layout corresponding to the operation controls and game data in the graphical user interface is adapted to the operation mode corresponding to the end of the first switching operation.
[0103] In an optional embodiment, the above step of determining the objects to be adjusted from the operation controls and game data includes: determining the operation controls and game data that are operable and not centered in the graphical user interface as the objects to be adjusted.
[0104] Furthermore, Figure 6 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .
[0105] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is achieved through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0106] The processor 101 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 101 or by instructions in the form of software. The above-mentioned processor 101 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or register. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and, in conjunction with its hardware, completes the steps of the method of the aforementioned embodiment.
[0107] An embodiment of the present disclosure also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned interface display adjustment method. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0108] Specifically, the above-mentioned interface display adjustment method includes: providing a graphical user interface through a terminal device, in which the operating controls and game data in a first operating mode are displayed; in response to a mode switching operation, determining the object to be adjusted from the operating controls and game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved; wherein, the interface layout of the graphical user interface after the object to be adjusted is moved adapts to the second operating mode, and the interface layout of the graphical user interface before the object to be adjusted is moved adapts to the first operating mode.
[0109] In the above-mentioned interface display adjustment method, players can quickly switch the operation mode corresponding to the graphical user interface through mode switching operations to adapt to the operating habits of different players; at the same time, when switching modes, this method only mirrors part of the objects displayed in the graphical user interface, thereby reducing the resource consumption of mode switching on the basis of visual unification.
[0110] In an optional embodiment, the above-mentioned step of determining the object to be adjusted from the operating controls and game data in a mode switching operation, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved includes: in response to a first switching operation, controlling the display of mode switching prompt information in the graphical user interface; wherein the mode switching prompt information is used to indicate the switching method of the operating mode; in response to a triggering operation of the switching method indicated by the mode switching prompt information, determining the object to be adjusted from the operating controls and game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved.
[0111] In an optional embodiment, the switching method indicated by the above-mentioned mode switching prompt information includes: a tilting operation acting on the terminal device.
[0112] In an optional embodiment, the above-mentioned step of responding to the triggering operation of the switching method indicated by the mode switching prompt information, determining the object to be adjusted from the operation controls and game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved, includes: responding to the tilt operation acting on the terminal device, collecting tilt parameters for the terminal device, and determining the target operation mode based on the tilt parameters; in response to determining that the target operation mode is the second operation mode, determining the object to be adjusted from the operation controls and game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved.
[0113] In an optional embodiment, the above-mentioned step of collecting tilt parameters for the terminal device in response to the tilt operation applied to the terminal device includes: collecting the tilt angle and tilt direction of the gyroscope of the terminal device in response to the tilt operation applied to the terminal device, and determining the tilt angle and tilt direction as tilt parameters.
[0114] In an optional embodiment, the above-mentioned step of collecting tilt parameters for the terminal device in response to the tilt operation applied to the terminal device includes: responding to the tilt operation applied to the terminal device, determining the horizontal plane corresponding to the current posture of the terminal device as a reference plane, and determining the tilt parameters of the terminal device based on the tilt operation and the reference plane.
[0115] In an optional embodiment, the above-mentioned step of determining the target operation mode based on the tilt parameter includes: determining whether the tilt angle corresponding to the tilt parameter is greater than a preset angle threshold; if it is greater than the preset angle threshold, determining the target operation mode according to the tilt direction corresponding to the tilt parameter; wherein the target operation mode is the first operation mode or the second operation mode, and different operation modes correspond to different tilt directions.
[0116] In an optional embodiment, the above-mentioned step of determining the target operation mode based on the tilt direction corresponding to the tilt parameter includes: if the tilt direction corresponding to the tilt parameter is a first offset direction, determining the first operation mode as the target operation mode; if the tilt direction corresponding to the tilt parameter is a second offset direction, determining the second operation mode as the target operation mode; wherein the first offset direction and the second offset direction are opposite directions.
[0117] In an optional embodiment, the first switching operation includes: a sliding operation from an edge of the graphical user interface inward, or a triggering operation on a designated button in the terminal device.
[0118] In an optional embodiment, the triggering operation of the switching mode indicated by the mode switching prompt information is a continuous operation with the first switching operation; the above method also includes: in response to the first switching operation, controlling the display of the mode switching prompt information in the graphical user interface; in the continuous state of the first switching operation, in response to the triggering operation of the switching mode indicated by the mode switching prompt information, determining the target operation mode based on the triggering operation; wherein the target operation mode is the first operation mode or the second operation mode; if the target operation mode is different from the current operation mode corresponding to the graphical user interface, determining the object to be adjusted from the operation controls and the game data, and mirroring the object to be adjusted based on the central axis of the graphical user interface based on the triggering operation to switch the operation mode corresponding to the graphical user interface to the target operation mode; in response to the end of the first switching operation, determining the operation mode corresponding to the graphical user interface as the operation mode corresponding to the end of the operation, so that the interface layout corresponding to the operation controls and game data in the graphical user interface is adapted to the operation mode corresponding to the end of the first switching operation.
[0119] In an optional embodiment, the above step of determining the objects to be adjusted from the operation controls and game data includes: determining the operation controls and game data that are operable and not centered in the graphical user interface as the objects to be adjusted.
[0120] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a terminal device, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0121] In the description of this disclosure, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate the description of this disclosure and simplify the description. They do not indicate or imply that the devices or components referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limitations on this disclosure. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0122] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present disclosure, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure shall be subject to the scope of protection of the claims.
Claims
1. A method for adjusting interface display, characterized in that: The method comprises: Providing a graphical user interface through the terminal device, wherein the graphical user interface displays operating controls and game data in the first operating mode; In response to a mode switching operation, the object to be adjusted is determined from the operation controls and the game data, and the object to be adjusted is mirrored based on the central axis of the graphical user interface to obtain a graphical user interface after the object to be adjusted is moved; wherein, the interface layout of the graphical user interface after the object to be adjusted is moved adapts to the second operation mode, and the interface layout of the graphical user interface before the object to be adjusted is moved adapts to the first operation mode.
2. The method according to claim 1, characterized in that The step of determining the object to be adjusted from the operation control and the game data in response to the mode switching operation, and mirror-moving the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved includes: In response to the first switching operation, controlling the display of mode switching prompt information in the graphical user interface; wherein the mode switching prompt information is used to indicate the switching method of the operating mode; In response to the triggering operation of the switching method indicated by the mode switching prompt information, the object to be adjusted is determined from the operation control and the game data, and the object to be adjusted is mirrored based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved.
3. The method according to claim 2, characterized in that The switching method indicated by the mode switching prompt information includes: a tilting operation acting on the terminal device.
4. The method according to claim 3, characterized in that The step of determining the object to be adjusted from the operation controls and the game data in response to the triggering operation of the switching mode indicated by the mode switching prompt information, and mirror-moving the object to be adjusted based on the central axis of the graphical user interface to obtain the graphical user interface after the object to be adjusted is moved includes: In response to a tilt operation applied to the terminal device, collecting tilt parameters for the terminal device, and determining a target operation mode based on the tilt parameters; In response to determining that the target operation mode is the second operation mode, an object to be adjusted is determined from the operation controls and the game data, and the object to be adjusted is mirrored based on the central axis of the graphical user interface to obtain a graphical user interface after the object to be adjusted is moved.
5. The method according to claim 4, characterized in that The step of collecting a tilt parameter for the terminal device in response to a tilt operation on the terminal device includes: In response to a tilt operation applied to the terminal device, a tilt angle and a tilt direction of a gyroscope of the terminal device are collected, and the tilt angle and the tilt direction are determined as tilt parameters.
6. The method according to claim 4, characterized in that The step of collecting a tilt parameter for the terminal device in response to a tilt operation on the terminal device includes: In response to a tilt operation applied to the terminal device, a horizontal plane corresponding to a current posture of the terminal device is determined as a reference plane, and a tilt parameter of the terminal device is determined based on the tilt operation and the reference plane.
7. The method according to claim 4, characterized in that The step of determining a target operation mode based on the tilt parameter comprises: Determining whether the tilt angle corresponding to the tilt parameter is greater than a preset angle threshold; If it is greater than the preset angle threshold, the target operation mode is determined according to the tilt direction corresponding to the tilt parameter; wherein the target operation mode is the first operation mode or the second operation mode, and the tilt directions corresponding to different operation modes are different.
8. The method according to claim 7, characterized in that The step of determining the target operation mode according to the tilt direction corresponding to the tilt parameter includes: If the tilt direction corresponding to the tilt parameter is a first offset direction, determining the first operation mode as the target operation mode; If the tilt direction corresponding to the tilt parameter is a second offset direction, the second operation mode is determined as the target operation mode; wherein the first offset direction and the second offset direction are opposite directions.
9. The method according to claim 2, characterized in that The first switching operation includes: a sliding operation from an edge of the graphical user interface inward, or a triggering operation on a designated button in the terminal device.
10. The method according to claim 2, characterized in that The triggering operation of the switching mode indicated by the mode switching prompt information and the first switching operation are continuous operations; the method further includes: In response to a first switching operation, controlling display of mode switching prompt information in the graphical user interface; In a continuous state of the first switching operation, in response to a triggering operation of the switching mode indicated by the mode switching prompt information, determining a target operating mode based on the triggering operation; wherein the target operating mode is the first operating mode or the second operating mode; If the target operation mode is different from the current operation mode corresponding to the graphical user interface, determining an object to be adjusted from the operation controls and the game data, and mirror-moving the object to be adjusted based on the central axis of the graphical user interface based on the trigger operation to switch the operation mode corresponding to the graphical user interface to the target operation mode; In response to the completion of the first switching operation, the operation mode corresponding to the graphical user interface is determined as the operation mode corresponding to the end of the operation, so that the interface layout corresponding to the operation controls and the game data in the graphical user interface is adapted to the operation mode corresponding to the end of the first switching operation.
11. The method according to claim 1, characterized in that The step of determining the object to be adjusted from the operation controls and the game data includes: Among the operation controls and the game data, the operation controls and the game data that are operable and not displayed in the center of the graphical user interface are determined as the objects to be adjusted.
12. An interface display adjustment device, characterized in that: The device comprises: An interface display module, configured to provide a graphical user interface through a terminal device, wherein the graphical user interface displays operating controls and game data in a first operating mode; A mode switching module is used to determine the object to be adjusted from the operation control and the game data in response to a mode switching operation, and to mirror the object to be adjusted based on the central axis of the graphical user interface to obtain a graphical user interface after the object to be adjusted is moved; wherein the interface layout of the graphical user interface after the object to be adjusted is moved is adapted to the second operation mode, and the interface layout of the graphical user interface before the object to be adjusted is adapted to the first operation mode.
13. An electronic device, characterized in that: The electronic device includes a processor and a memory, the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the interface display adjustment method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the interface display adjustment method according to any one of claims 1 to 11.