Game interface editing method and related device
By providing game interface editing methods, players are allowed to edit the location of functional controls in the game interface, the problem of the fixed interface in the existing technology cannot be changed, and the player's gaming experience and operation efficiency are improved.
Patent Information
- Application Number
- CN202311387095.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-04-25
AI Technical Summary
The existing game interface cannot be changed after development, resulting in the fixed types and placement of functional controls, which cannot meet the personalized needs of different players, and reduces the player's gaming experience.
It provides a game interface editing method, allowing players to edit the location of functional controls through the game interface to be edited, including displaying the to-edited version of the target game interface, obtaining the location editing operation, and syncing it to the target game interface after editing and saving.
It realizes flexible adjustment of the placement of the game interface function controls, improves the speed and convenience of players triggering game functions, and improves the player's gaming experience.
Smart Images

Figure CN119868960A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field, and in particular to a testing method and related devices. Background Art
[0002] With the continuous development of computer technology, electronic games have become one of the popular ways for people to relax and entertain themselves. A variety of game programs have enriched people's leisure time.
[0003] In order to enrich the game experience of players, game programs usually have multiple game functions, such as a friend function that allows players to socialize through games, a game function that allows players to play games in the game, etc. In order to facilitate players to use various game functions, multiple function controls corresponding to the game functions can be displayed in the game interface, and the game functions corresponding to the controls can be used by triggering operations on the controls.
[0004] However, in the related art, once the game program is developed, the game interface is fixed and cannot be changed. Therefore, the types and display positions of the functional controls displayed through the game interface are relatively fixed, so that the game functions that players can trigger and use through the game interface and the triggering methods of the game functions cannot be flexibly adjusted. Because different players may have different requirements for the functional system, the game interface in the related art is difficult to meet the game needs of different players, resulting in a poor gaming experience for players. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a game interface editing method, in which players can edit the display positions of various function controls in the game interface according to their actual needs for the game program, thereby increasing the triggering speed of various game functions by players, thereby enabling players to use various game functions more conveniently and improving the player's gaming experience.
[0006] The embodiments of the present application disclose the following technical solutions:
[0007] In a first aspect, an embodiment of the present application discloses a method for editing a game interface, the method comprising:
[0008] Displaying a game interface to be edited corresponding to a target game interface, the game interface to be edited comprising a first function control, the first function control being used to trigger a corresponding target game function, the first function control being located at a first display position in both the target game interface and the game interface to be edited, the game interface to be edited being used to obtain a position editing operation for the first function control;
[0009] Based on obtaining a target position editing operation for the first function control, displaying the first function control at a second display position in the game interface to be edited, wherein the target position editing operation is used to change the display position of the first function control in the game interface to be edited from the first display position to the second display position;
[0010] Based on obtaining the edit and save operation for the game interface to be edited, the edited target game interface is displayed, and the display position of the first function control in the edited target game interface is the display position of the first function control in the game interface to be edited when the edit and save operation is obtained.
[0011] In a second aspect, an embodiment of the present application discloses a game interface editing device, the device comprising a first display unit, a second display unit and a third display unit:
[0012] The first display unit is used to display the game interface to be edited corresponding to the target game interface, the game interface to be edited includes a first function control, the first function control is used to trigger the corresponding target game function, the first function control is located at a first display position in both the target game interface and the game interface to be edited, and the game interface to be edited is used to obtain a position editing operation for the first function control;
[0013] The second display unit is used to display the first function control at a second display position in the game interface to be edited based on obtaining a target position editing operation for the first function control, wherein the target position editing operation is used to change the display position of the first function control in the game interface to be edited from the first display position to the second display position;
[0014] The third display unit is used to display the edited target game interface based on obtaining the edit and save operation for the game interface to be edited, and the display position of the first function control in the edited target game interface is the display position of the first function control in the game interface to be edited when the edit and save operation is obtained.
[0015] In a possible implementation, the target position editing operation includes a first position selection operation and an edit confirmation operation, the position selection operation is used to select the position to be changed in the game interface to be edited, the change confirmation operation is used to confirm the change of the display position of the first function control in the game interface to be edited according to the position to be changed, and the second display unit is specifically used to:
[0016] Based on obtaining the first position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the first position selection operation corresponds to the second display position, the first function control is displayed through the second display position in the game interface to be edited.
[0017] In a possible implementation, the second display unit is specifically used to:
[0018] Based on obtaining the first position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the first position selection operation has an overlapping position with the second display position, the first function control is displayed through the second display position in the game interface to be edited.
[0019] In a possible implementation, the device further includes a fourth display unit:
[0020] The fourth display unit is used to display the changeable prompt information based on obtaining the second position selection operation for the first function control, and the position to be changed corresponding to the second position selection operation corresponds to the changeable position. The changeable prompt information is used to prompt that after the first function control is edited through the second position selection operation and the change confirmation operation, the display position of the first function control in the game interface to be edited is the changeable position, and the changeable position is the position in the game interface to be edited that has a control display function.
[0021] In a possible implementation, the changeable prompt information is a first control icon displayed at a display position of the first function control, and the fourth display unit is specifically used to:
[0022] The control icon displayed at the display position of the first function control is replaced by the first control icon from the second control icon, and the icon brightness of the first control icon is greater than the icon brightness of the second control icon.
[0023] In a possible implementation, the device further includes a fifth display unit:
[0024] The fifth display unit is used to display the first function control based on obtaining the third position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the third position selection operation corresponds to the unchangeable position, so as to obtain the display position of the first function control before the third position selection operation, and the unchangeable position is a position in the game interface to be edited that does not have a control display function.
[0025] In a possible implementation, the device further includes a sixth display unit:
[0026] The sixth display unit is used to display usage frequency information corresponding to the first function control based on obtaining a position selection operation for the first function control, where the usage frequency information is used to represent the usage frequency of the target game function.
[0027] In a possible implementation, the game interface to be edited includes a hidden position, and the device further includes a first hiding unit:
[0028] The first hiding unit is used to hide the first function control from the function interface to be edited based on obtaining the fourth position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the fourth position selection operation corresponds to the hidden position, so that the first function control is hidden from the target game interface.
[0029] In a possible implementation, the target game interface includes hidden interface controls, and the device further includes a seventh display unit;
[0030] The seventh display unit is used to display a hidden interface based on obtaining a trigger operation for the hidden interface control, wherein the hidden interface includes a hidden function control, and the hidden function control is a function control hidden from the target game interface.
[0031] In a possible implementation manner, the device further includes a second hiding unit:
[0032] The second hiding unit is used to hide the hidden function control from the hidden interface control based on obtaining a display operation for the hidden function control, so that the target game interface is used to display the hidden function control.
[0033] In a possible implementation, the device further includes an eighth display unit:
[0034] The eighth display unit is used to display hidden prompt information based on obtaining the fourth position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the fourth position selection operation corresponds to the hidden position, and the hidden prompt information is used to prompt that the first function control is moved to a hidden interface, and the hidden interface is used to display the function control hidden from the target game interface.
[0035] In a possible implementation manner, the device further includes a changing unit:
[0036] The changing unit is used to change the display position of the second function control in the game interface to be edited from the second display position to the first display position based on obtaining the target position editing operation, the second display position in the interface to be edited is used to display the second function control.
[0037] In one possible implementation, the game interface to be edited includes a position exchange control corresponding to the second function control, the target position editing operation includes a selection operation for the first function control and a trigger operation for the position exchange control, and the position exchange control is used to exchange the display positions of the selected function control and the second function control in the game interface to be edited.
[0038] In a possible implementation, the game interface to be edited includes a changeable position identifier, and the changeable position identifier is used to identify a changeable position in the game interface to be edited, and the changeable position is a position in the game interface to be edited that has a control display function.
[0039] In a possible implementation, the target position editing operation includes a selection operation on a target changeable position identifier and a selection operation on the first function control in a control selection interface, and the second display unit is specifically used to:
[0040] Based on obtaining a selection operation for the target changeable position identifier, displaying the control selection interface corresponding to the target changeable position identifier, the target changeable position identifier is used to identify the second display position, the control selection interface is used to display function controls supported for display at the second display position, and the control selection interface includes the first function control;
[0041] Based on obtaining a selection operation for the first function control in the control selection interface, the first function control is displayed at a second display position in the game interface to be edited.
[0042] In a possible implementation, the device further includes a ninth display unit and a tenth display unit:
[0043] The ninth display unit is used to display a layout display interface, wherein the layout display interface includes a plurality of preview images corresponding to the target game interface, and the preview images are used to display display positions of function controls in the target game interface;
[0044] The tenth display unit is used to display the target game interface based on obtaining a selection operation for the target preview image, the display position of the function control in the target game interface is consistent with the display position of the function control displayed by the target preview image, and the target preview image is any one of the multiple preview images.
[0045] In a possible implementation, the first display unit is specifically used to:
[0046] Based on obtaining the editing trigger operation for the target game interface, the game interface to be edited corresponding to the target game interface is displayed.
[0047] In a third aspect, an embodiment of the present application discloses a computer device, wherein the computer device includes a processor and a memory:
[0048] The memory is used to store a computer program and transmit the computer program to the processor;
[0049] The processor is used to execute the game interface editing method described in any one of the first aspects according to the instructions in the computer program;
[0050] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the game interface editing method described in any one of the first aspects.
[0051] In a fifth aspect, an embodiment of the present application discloses a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the game interface editing method described in any one of the first aspects.
[0052] It can be seen from the above technical solution that the present application provides a function that can edit the display position of the function controls in the game interface. For the target game interface to be edited, the game interface to be edited corresponding to the target game interface can be displayed. The game interface to be edited has the function controls displayed in the target game interface, and the display positions of the function controls are the same. The function controls are used to trigger the corresponding game functions. The target position editing operation for the first function control can be obtained through the game interface to be edited. The target position editing operation is used to change the display position of the first function control in the game interface to be edited from the first display position to the second display position. At this time, the first function control can be displayed through the second display position in the game interface to be edited to prompt that the first function control has been moved to the second display position. By performing an edit and save operation on the game interface to be edited, the edit operation on the game interface to be edited can be synchronized to the target game interface, the editing of the target game interface can be realized, and the edited target game interface can be displayed. The display position of the first function control in the edited target game interface is the display position of the first function control in the game interface to be edited when the edit and save operation is obtained. Therefore, the display position of the function control in the target game interface can be edited by performing a position editing operation on the game interface to be edited. At the same time, based on the game interface to be edited, the edited interface effect can be accurately displayed without affecting the target game interface. Therefore, the game interface editing method provided in the present application helps players to adjust the function controls in the game interface to a display position suitable for themselves, so that the display of the function controls is more in line with the player's gaming habits, thereby improving the player's operating efficiency in the game interface and further improving the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 A schematic diagram of a method for editing a game interface in an actual application scenario provided by an embodiment of the present application;
[0055] Figure 2 A flowchart of a game interface editing method provided in an embodiment of the present application;
[0056] Figure 3 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0057] Figure 4A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0058] Figure 5 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0059] Figure 6 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0060] Figure 7 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0061] Figure 8 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0062] Fig. 9 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0063] Fig.10 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0064] Fig.11 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0065] Fig.12 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0066] Fig.13 A schematic diagram of a game interface editing method provided in an embodiment of the present application;
[0067] Fig.14 A flowchart of a method for editing a game interface in an actual application scenario provided by an embodiment of the present application;
[0068] Fig.15 A structural block diagram of a game interface editing device provided in an embodiment of the present application;
[0069] Fig.16 A structural diagram of a terminal provided in an embodiment of the present application;
[0070] Fig.17 A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0071] The embodiments of the present application are described below in conjunction with the accompanying drawings.
[0072] The function controls in the game interface are used to trigger the corresponding game functions. For example, the friend control can trigger the friend function in the game, and the game control is used to trigger the game function in the game.
[0073] In the related art, the display position of the function control in the game interface is set after the game program is developed and cannot be adjusted. However, the position of the function control in the game interface is one of the key factors affecting the player's gaming experience. For example, if a player frequently uses a certain game function, but the function control corresponding to the game function is located in a position in the game interface that is difficult for the player to trigger, it will make it difficult for the player to trigger the game function, which will bring a bad gaming experience to the player. Therefore, the game interface in the related art is likely to reduce the player's gaming experience and it is difficult to provide the player with a more convenient way to trigger the game function.
[0074] In order to solve the above technical problems, the present application provides a method for editing a game interface, which can realize the editing of the display position of the function control in the target game by performing a position editing operation in the game interface to be edited corresponding to the target game interface, and performing an edit and save operation on the game interface to be edited. At the same time, through the game interface to be edited, the interface effect of the edited target game interface can be accurately displayed without affecting the target game interface, so that the present application can enable the player to adjust the display position of the function control in the target game interface more freely and accurately, so that the adjusted display position is more in line with the player's usage habits of the game function, so that the player can quickly trigger the required game function through the function control in the target game interface, thereby improving the player's game operation efficiency and improving the player's game experience.
[0075] It is understandable that the method can be applied to a computer device, which is a computer device capable of displaying and editing a game interface, such as a terminal device or a server. The method can be executed independently by a terminal device, or it can be applied to a network scenario in which a terminal device and a server communicate, and is executed by the cooperation of the terminal device and the server. Among them, the terminal device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer and other devices. The server can be understood as an application server or a Web server. In actual deployment, the server can be an independent server, a cluster server, or a cloud server, etc.
[0076] In order to facilitate understanding of the technical solution provided by the present application, a game interface editing method provided by the present application will be introduced below in combination with an actual application scenario.
[0077] See also Figure 1 , Figure 1A schematic diagram of a method for editing a game interface in an actual application scenario provided by an embodiment of the present application, in which the computer device may be a terminal device 101 having a game interface display and editing function, such as a mobile phone for running a game program. The target game interface may be a game lobby interface in the game program, which refers to the initial interface displayed to the player by the game program after the player logs in to the game program, and the function controls included in the game lobby interface may generally trigger the main game functions in the game program.
[0078] like Figure 1 As shown, the target game interface includes multiple function controls, including a friend function control displayed at the first display position, and the friend function control is used to trigger the friend function in the game program, such as adding friends and chatting with friends. In order to allow the player to edit the target game interface, the terminal device 101 can display the game interface to be edited corresponding to the target game interface, and the game interface to be edited includes the same function controls as the target game interface, and the corresponding display positions of the function controls are the same, for example, the friend function control is also located at the first display position in the game interface to be edited.
[0079] Players can change the display position of the friend function control in the game interface to be edited by performing position editing operations on the friend function control, such as Figure 1 In the game interface to be edited, the player can drag the friend function control to the second display position to complete the position editing operation. At this time, the terminal device 101 will display the friend function control at the second display position to inform the player that the friend function control has been changed to the second display position. Among them, the position editing of the game interface to be edited will not be directly updated to the target game interface. The player needs to perform an edit and save operation on the game interface to be edited, for example, long press the blank position in the game interface to be edited that does not have a function control, etc. Before obtaining the edit and save operation, the position change of the function control in the game interface to be edited will not affect the target game interface. After obtaining the edit and save operation, the terminal device 101 can display the edited target game interface. In the edited target game interface, the friend function control is located at the second display position.
[0080] It can be seen that the game interface editing method provided by the present application can support players to adjust the display positions of various function controls in the game interface by themselves, so that the controls corresponding to the game functions that they frequently use can be adjusted to a more convenient display position, so that players can trigger game functions more efficiently, thereby improving the player's gaming experience.
[0081] Next, the game interface editing method provided by this application will be generally introduced in conjunction with the accompanying drawings.
[0082] See also Figure 2 , Figure 2 A flowchart of a method for editing a game interface provided in an embodiment of the present application. In this embodiment, the computer device may be any of the above-mentioned computer devices. The method includes:
[0083] S201: Display the game interface to be edited corresponding to the target game interface.
[0084] The target game interface can be any game interface with functional controls in the game program, for example, the game lobby interface in the game program. The game lobby interface is usually the first game interface that players see after logging into the game program. Through the game lobby interface, the game program can be started in various ways. Figure 1 The game lobby interface shown in the content includes function controls corresponding to various game modes such as "matching" and "qualifying", through which you can enter the corresponding game; the interface also includes friend function controls, character function controls, etc., through which you can trigger corresponding game functions, such as adding friends, obtaining character information, etc. Since the game lobby interface involves many game functions, and the game lobby interface is the starting point for players to use the game program, the rationality of the distribution of function controls in the game lobby interface has a more critical impact on the player's game experience. Therefore, the game interface editing method of the present application enables players to edit a game lobby interface that is more in line with their own needs, so as to speed up the speed at which players trigger various game functions, so that players can have a more convenient and high-quality game experience after starting the game program.
[0085] The game interface to be edited is used to display the function controls displayed in the target game interface, and the function controls are used to trigger the corresponding game functions in the game program. The game interface to be edited and the target game interface can be two different states of the same interface, for example, when the target game interface is in an editable state, the target game interface will be changed to the game interface to be edited; or they can be two independent interfaces, for example, a computer device can display the target game interface and the game interface to be edited at the same time, so that when the game interface to be edited is edited, the relevant operations on the target game interface are not affected.
[0086] The game interface to be edited includes a first functional control, which can be any functional control, for example, Figure 1The friend function control shown in . The first function control is used to trigger the corresponding target game function, that is, the target game function will be triggered after the trigger operation for the first function control is obtained. When triggering the display of the game interface to be edited, the game interface to be edited and the target game interface have the same function control, and the same function control corresponds to the same display position in the two interfaces, so that the editor (such as the player) who edits the interface can know the display status of the function control in the current target game interface, so that the editor can determine the display position adjustment requirements for the function control, and then can reasonably adjust the display position of the function control.
[0087] For example, when the game interface to be edited begins to be displayed, the first function control is located at the first display position in both the target game interface and the game interface to be edited, and the game interface to be edited can be used to obtain a position editing operation for the first function control.
[0088] S202: Based on obtaining the target position editing operation for the first function control, the first function control is displayed at a second display position in the game interface to be edited.
[0089] If the editor wants to change the display position of the first function control in the target game interface, the display position of the first function control in the game interface to be edited can be changed by the position editing operation first. The target position editing operation is used to change the display position of the first function control in the game interface to be edited from the first display position to the second display position, and the second display position can be any display position in the game interface to be edited that supports the display of the first function control. The target position editing operation may include multiple operations, such as dragging the first function control to the second display position, etc. Based on obtaining the target position editing operation, the computer device can display the first function control through the second display position in the game interface to be edited to prompt the editor that the first function control has been changed to the second display position, that is, the position editing operation for the first function control is successfully completed.
[0090] S203: Based on obtaining the edit and save operation for the game interface to be edited, display the edited target game interface.
[0091] If the editor wants to synchronize the control position edits for the game interface to be edited to the target game interface, and implement the control position edits for the target game interface, the editor can perform an edit and save operation on the game interface to be edited. The edit and save operation is used to save the control position edits for the game interface to be edited, so that the target game interface can produce the same control position edit effect. The edit and save operation can also include multiple operations, such as long pressing a certain function control or clicking on the position of the game interface to be edited where the function control is not displayed. That is, the game interface to be edited can be used to allow the editor to preview the interface effect after editing the target game interface. If the editor is satisfied with the interface effect, the editor can perform the edit and save operation again, thereby providing the editor with a more convenient and good interface editing experience.
[0092] After obtaining the edit and save operation, the computer device can display the target game interface edited based on the position editing operation on the game interface to be edited, and the edited target game interface can display the same edited interface effect as the game interface to be edited. For example, the display position of the first function control in the edited target game interface is the display position of the first function control in the game interface to be edited when the edit and save operation is obtained, that is, the display position of the first function control in the game interface to be edited after the position editing operation is performed on the first function control in the game interface to be edited. If the position editing operation for the first function control only includes the above-mentioned target position editing operation, then the display position is the second display position. If other position editing operations are also included, then the display position can be other display positions.
[0093] Through the edited target game interface, the editor can learn about the interface effect of the edited target game interface, and trigger various game functions in the game program through the edited target game interface.
[0094] In summary, the present application can edit the display position of the function control in the target game interface by means of the position editing operation for the game interface to be edited, and at the same time, based on the game interface to be edited, the edited interface effect can be accurately displayed without affecting the target game interface, thereby helping the player to adjust the function control in the game interface to a display position suitable for him / her, so that the display of the function control is more in line with the player's gaming habits, so that the player can trigger the function control more quickly, improve the player's operating efficiency in the game interface, and thus improve the player's gaming experience. At the same time, the edited target game interface can be directly displayed after editing and saving, so that the player can quickly use various game functions based on the adjusted target game interface while seeing the actual adjustment effect, providing a more convenient gaming experience.
[0095] Next, the position editing operation will be introduced in detail. In one possible implementation, the target position editing operation may include a first position selection operation and an edit confirmation operation, wherein the position selection operation is used to select the position to be changed in the game interface to be edited, and the change confirmation operation is used to confirm the change of the display position of the first function control in the game interface to be edited according to the position to be changed. That is, the position editing process includes two steps of first selecting the position and then confirming it. Among them, the position to be changed is the display position directly selected by the position selection operation, and is not necessarily the corresponding display position after the change. The display position corresponding to the position to be changed is the actual display position after the change by the position editing operation. The display position corresponding to the position to be changed and the position to be changed can be the same display position or different display positions, which will be introduced in detail below.
[0096] When executing step S202, the computer device may execute step S2021 (not shown in the figure), which is a possible implementation of step S202, including:
[0097] S2021: Based on obtaining a first position selection operation and a change confirmation operation for the first function control, and the position to be changed corresponding to the first position selection operation corresponds to the second display position, the first function control is displayed through the second display position in the game interface to be edited.
[0098] Through the first position selection operation, the computer device can determine the position to be changed selected by the first position selection operation, and through the change confirmation operation, the computer device can determine to display the target function control based on the second display position corresponding to the position to be changed. The second display position can be the same display position as the position to be changed, or can be a different display position from the position to be changed.
[0099] For example, in a possible implementation, the computer device may determine the actual display position corresponding to the position to be changed by the overlapping relationship between the positions. When executing step S2021, the computer device may execute step S20211 (not shown in the figure), which is a possible implementation of step S2021, including:
[0100] S20211: Based on obtaining the first position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the first position selection operation has an overlapping position with the second display position, the first function control is displayed through the second display position in the game interface to be edited.
[0101] In the embodiment of the present application, if the editor wants to display the first function control through the second display position, it is not necessary to directly select the second display position, but to select the position to be changed that overlaps with the second display position. The computer device can determine the display position that overlaps with the position to be changed, and if the display position is the second display position, the first function control can be directly displayed on the second display position.
[0102] Since the location selection operation requires a certain amount of operation cost, the display location determination method in the embodiment of the present application can simplify the location selection operation to a certain extent, thereby improving the operation efficiency of the location editing operation. Figure 3 As shown, the position selection operation can be for the dragging operation of the friend function control in the game interface to be edited, and the actual display position of the friend function control when dragging is the changed position, and the change confirmation operation can be to remove the dragging finger from the device screen. In one possible implementation, the editor needs to leave the device screen when dragging the friend function control to the second display position, so that the friend function control can be displayed at the second display position; in another possible implementation, the editor only needs to drag the friend function control to the position to be changed that overlaps with the second display position. After the finger leaves the device screen, the computer device will automatically display the friend function control at the second display position, thereby reducing the dragging distance of the friend function control by the editor, and providing the editor with a more convenient and efficient interface editing method.
[0103] It is understandable that not all positions on the game interface may be used to display functional controls. For example, some positions in the game interface need to display game icons, player information, etc. In a possible implementation, the computer device can prompt the editor of the display positions in the game interface that support the display of functional controls, so that the editor can edit the game interface more accurately and reasonably.
[0104] For example, based on obtaining a second position selection operation for a first functional control, and the position to be changed corresponding to the second position selection operation corresponds to a changeable position, the computer device can display changeable prompt information, and the changeable prompt information is used to prompt that after the first functional control is edited through the second position selection operation and the change confirmation operation, the display position of the first functional control in the game interface to be edited is a changeable position, and the changeable position is a position with a control display function in the game interface to be edited, that is, a position that can display the first functional control. Thus, the editor can clearly know through the changeable prompt information whether the display position change of the first functional control can be effectively completed based on the position to be changed selected by the second position selection operation, which enables the editor to perform more accurate and efficient position adjustment based on the position selection operation, reduces the probability of the editor performing an invalid position editing operation, and thus improves the editor's interface editing experience.
[0105] The second position selection operation may be the same operation as the first position selection operation, or may be a different operation. For example, the second position selection operation may be the first position selection operation. After the editor performs the first position selection operation, since the display position corresponding to the first position selection operation is the second display position, and the second display position is a changeable position, the computer device may display a changeable prompt message at this time.
[0106] The information types of the changeable prompt information may include multiple types, such as text prompt information, image prompt information, etc. displayed in the game interface to be edited. In a possible implementation, the changeable prompt information may be a first control icon displayed at the display position of the first function control. The control icon is the content displayed by the function control in the game interface, and can usually be used to display the display position of the function control, the game function corresponding to the function control, etc. For example, in Figure 4 In the game program, the control icon corresponding to the friend function control has the text information "Friend" to prompt that the function control is used to trigger the friend function in the game program.
[0107] When displaying the changeable prompt information, the computer device can replace the control icon displayed at the display position of the first function control with the first control icon from the second control icon, wherein the second control icon is the initial control icon corresponding to the first function control when editing, and the icon brightness of the first control icon is greater than the icon brightness of the second control icon. Thus, through the change of the control icon, the editor can know that the display position corresponding to the current position selection operation is a displayable position, and can decide whether to perform a change confirmation operation to complete the position change. It should be emphasized that the display position corresponding to the first function control referred to here is the real-time display position of the first function control on the game interface to be edited. For example, when performing a position selection operation, the display position is the real-time display position when moving.
[0108] like Figure 4 As shown, when the friend function control is moved by the position selection operation to the position to be changed which overlaps with the second display position, the control icon of the friend function control will change from the second control icon to the first control icon, thereby reflecting the effect that the control icon of the friend function control becomes brighter, to prompt that the friend function control can be displayed in the second display position by performing the change confirmation operation at this time.
[0109] The above content introduces the situation where the position to be changed selected by the position selection operation corresponds to a changeable position. In a possible implementation, based on obtaining the third position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the third position selection operation corresponds to an unchangeable position, it means that the display position change of the first function control cannot be completed through the third position selection operation and the position change operation. At this time, the computer device can display the first function control at the display position of the first function control before obtaining the third position selection operation, so that the first function control can be restored to the display position before the operation, so that the editor can re-perform the position change operation on the first function control. The unchangeable position is a position in the game interface to be edited that does not have a control display function, such as a position for displaying player information.
[0110] It is understandable that the purpose of the editor adjusting the display position of the function control is usually to enable the editor to trigger the game function more conveniently. For example, the function control corresponding to the commonly used game function can be adjusted to a display position that is easy to trigger, and the function control corresponding to the uncommonly used game function can be adjusted to a display position that is relatively difficult to trigger, etc., to speed up the triggering speed of the commonly used game function. It can be seen that the frequency of use of the game function is one of the key factors for the editor to adjust the display position of the function control.
[0111] Based on this, in a possible implementation, based on obtaining the position selection operation for the first function control, the computer device can display the usage frequency information corresponding to the first function control, and the usage frequency information is used to characterize the usage frequency of the target game function, such as Figure 5 As shown, for example, it can be the number of times the target game function is used within 30 days, the usage time of the target game function within 30 days, etc. Therefore, when the editor selects the display position to be changed, the computer device can provide the editor with a more accurate position change basis through the usage frequency information, so that the editor can make a more reasonable adjustment to the display position of the first function control, so that the edited target game interface is more in line with the editor's game function usage habits, and improve the editor's gaming experience.
[0112] Among them, the advantage of displaying when obtaining the position selection operation is that the change confirmation operation has not been performed at this time, so the display position corresponding to the first function control has not actually changed, so the editor can directly adjust the first function control to the required display position. If the frequency of use information is displayed when obtaining the completed position editing operation, since the first function control has completed the position change at this time, the position selection operation needs to be performed again, which increases the complexity of the operation to a certain extent.
[0113] It is understandable that due to the limited display space of the target game interface, the number of function controls that can be displayed in the target game interface is limited. When the game program includes a large number of game functions, it may be that not every function control corresponding to each game function can be displayed in the target game interface. At this time, some function controls may be hidden from the target game interface, that is, displayed in other game interfaces outside the target game interface.
[0114] In a possible implementation, in order to further improve the degree of freedom in editing the game interface, the computer device may provide an editing method that enables the editor to freely select functional controls that need to be hidden from the target game interface.
[0115] In this implementation, the game interface to be edited may include a hidden position, which is used to trigger the hiding of the function control. If the editor wants to hide a certain function control, the hidden position can be selected by a position selection operation for the function control, so that the function control is hidden from the target game interface. For example, based on obtaining a fourth position selection operation and a change confirmation operation for the first function control, and the position to be changed corresponding to the fourth position selection operation corresponds to the hidden position, it means that the editor wants to hide the first function control. At this time, the computer device can hide the first function control from the function interface to be edited, so that the first function control is hidden from the target game interface to provide more display positions for other function controls. Among them, similar to the display position corresponding to the position to be changed, the hidden position corresponding to the position to be changed can mean that the position to be changed is a hidden position, or there is an overlapping position between the position to be changed and the hidden position. The specific position can include multiple positions, for example, it can be any position in the game interface to be edited except the above-mentioned changeable position, such as Figure 6 As shown, the “+” sign represents a changeable position in the game interface to be edited.
[0116] In this way, the editor can hide the function controls corresponding to the game functions with low usage demand from the target game interface to provide more display positions for the function controls with high usage demand, so that the edited target game interface can better meet the editor's interface usage requirements. Figure 6As shown, after dragging the friend function control to a hidden position, the friend function control will no longer be displayed in the edited target game interface.
[0117] As mentioned above, the function controls hidden from the target game interface can be displayed in other display locations outside the target game interface, and the display methods can also include multiple methods. For example, in one possible implementation, the computer device can centrally display the function controls hidden from the target game interface through a specific interface in the game program, so that the editor can understand the hiding of the function controls.
[0118] In this implementation, the target game interface may include a hidden interface control, which is used to trigger the display of a hidden interface, which is used to display a function control hidden from the target game interface. If you want to view the hidden function control, you can perform a trigger operation on the hidden interface control, such as clicking on the hidden interface control. Based on obtaining a trigger operation for the hidden interface control, the computer device can display the hidden interface, which includes a hidden function control, which is a function control hidden from the target game interface. Thus, the editor can more clearly know the hiding of the function control through the hidden interface, and can use the hidden function control through the hidden interface. In combination with the above technical solution, it is possible to ensure that the editor can use each function control and improve the comprehensiveness of the game function under the premise that the function control displayed by the target game interface better meets the use needs of the editor.
[0119] like Figure 7 As shown, after the hidden interface control is triggered, the computer device can display the hidden interface, in which the hidden interface can be displayed. Figure 6 The operation shown is to hide the friend function control from the target game interface. Players can trigger the friend function through the friend function control in the hidden interface.
[0120] In addition to hiding the function control from the target game interface to the hidden interface, the computer device can also support the editor to restore the function control from the hidden interface to the target game interface. If the editor wants to display the hidden function control in the target game interface again, the hidden function control can be displayed. The display operation can include multiple types, such as dragging the hidden function control to a blank position in the hidden interface.
[0121] Based on obtaining the display operation for the hidden function control, the computer device can hide the function control from the hidden interface control, so that the target game interface is used to display the hidden function control. Therefore, if the editor believes that there is a function control in the hidden interface that he needs to use more, he can adjust the function control to the target game interface, so that he can trigger the game function corresponding to the function control more conveniently.
[0122] like Figure 8 As shown, similar to the target game interface, the editor can long press a certain function control and other operations to display the hidden interface corresponding to the hidden interface to be edited, and the hidden interface to be edited is used to edit the display position of the function control in the hidden interface. The editor can drag the friend function control to the blank area in the hidden interface to be edited, and the friend function control can be displayed in the target game interface.
[0123] In a possible implementation, in order to enable the editor to clearly know that the function control will be hidden in the hidden interface when hiding the function control, based on obtaining the fourth position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the fourth position selection operation corresponds to the hidden position, that is, when it is determined that the first function control needs to be hidden in the hidden interface, the computer device can display hidden prompt information, and the hidden prompt information is used to prompt that the first function control is moved to the hidden interface, and the hidden interface is used to display the function control hidden from the target game interface. The hidden prompt information can include multiple types, such as text information such as "the first function control is hidden in the hidden interface".
[0124] In one possible implementation, Fig. 9 As shown, hidden interface controls are displayed in both the target game interface and the game interface to be edited. The hidden interface controls are used to trigger the hidden interface. After the friend function control is moved to the hidden position through the position selection operation, the friend function control will fly to the hidden interface control and then hide from the interface, with a trailing effect indicating that the friend function control is flying to the hidden interface control. Through this special effect, the editor can know that the friend function control has entered the hidden interface corresponding to the hidden interface control.
[0125] In a possible implementation, in order to further improve the degree of freedom of position adjustment, the computer device may not only support changing the function control to a blank position, but also support changing the function control to a display position where other function controls are already displayed.
[0126] Based on obtaining the target position editing operation, the second display position in the interface to be edited is used to display the second function control. The computer device can directly change the display position of the second function control in the game interface to be edited from the second display position to the first display position. That is, when the display position that the editor wants to change has other function controls, the computer device can directly swap the display positions of the two function controls. The editor does not need to move the function control displayed on the second display position by himself. The display positions of the two function controls can be changed through a position editing operation on the first function control, which further improves the operating efficiency.
[0127] like Fig.10 As shown, when the friend function control is moved from the first display position to the second display position through the position selection operation and the change confirmation operation, the prop function control has been displayed at the second display position. At this time, the computer device will directly display the prop function control at the first display position to complete the exchange of the two function control display positions.
[0128] Specifically, in a possible implementation, for the position change of two function controls exchanging display positions, the computer device can provide a more convenient position editing operation. In this implementation, each function control displayed on the game interface to be edited can have a corresponding position exchange control, and the position exchange control is used to exchange the display position of the function control currently changing its position with the function control corresponding to the position exchange control.
[0129] For example, the game interface to be edited may include a position exchange control corresponding to the second function control displayed at the second display position, and the target position editing operation includes a selection operation for the first function control and a trigger operation for the position exchange control, and the position exchange control is used to exchange the display positions of the selected function control and the second function control in the game interface to be edited. After obtaining the target position editing operation, the computer device can determine that the editor wants to display the first function control in the second display position, and at this time, the display positions of the first function control and the second function control can be directly exchanged, so that only one trigger operation is required to complete the position adjustment of the two function controls, further simplifying the position editing operation.
[0130] like Fig.11 As shown, the prop function control displayed at the second display position has a corresponding position exchange control, and the editor can trigger the position exchange control, for example, by clicking on the position exchange control. At this time, the computer device can directly complete the display position exchange of the friend function control and the prop function control.
[0131] In addition, in a possible implementation, in order to enable the editor to more clearly know which positions on the game interface to be edited can be used to display functional controls, so as to improve the accuracy of the editing operation of the functional control position, the game interface to be edited may also include a changeable position mark, which is used to identify the changeable position in the game interface to be edited, and the changeable position is a position in the game interface to be edited that has a control display function. Thus, through the changeable position mark, the editor can understand which display positions in the game interface to be edited the first functional control can be changed to.
[0132] like Fig.12 As shown, the changeable position mark can be a mark composed of a rectangle and a "+" sign, through which the changeable position can be circled.
[0133] On the basis of the above-mentioned changeable position mark, the computer device can also provide a more convenient position editing operation mode. In a possible implementation, the target position editing operation can include a selection operation for the target changeable position mark and a selection operation for the first function control in the control selection interface. When executing step S202, the computer device can execute steps S2022-S2023 (not shown in the figure), and steps S2022-S2023 are a possible implementation of step S202, including:
[0134] S2022: Based on obtaining the selection operation for the target changeable position identifier, displaying a control selection interface corresponding to the target changeable position identifier.
[0135] The target changeable position identifier is used to identify the second display position. In this implementation, each changeable position identifier can be used to trigger the corresponding control selection interface, and the control selection interface is used to display the functional controls supported for display at the display position identified by the corresponding changeable position identifier. For example, the control selection interface corresponding to the target changeable position identifier is used to display the functional controls supported for display at the second display position, and the control selection interface includes the first functional control.
[0136] S2023: Based on obtaining a selection operation for the first function control in the control selection interface, display the first function control at a second display position in the game interface to be edited.
[0137] If the editor wants to display the first function control at the second display position, the editor can directly select the first function control in the control selection interface, for example, click the first function control. At this time, the computer device will directly display the first function control at the second display position. On the one hand, through the control selection interface, the editor can clearly understand which function controls can be displayed in the second display interface, and on the other hand, the position editing of the selected function control can be quickly completed through the selection operation.
[0138] like Fig.13 As shown, the editor can trigger the changeable position mark corresponding to the second display position, and the computer device will display the control selection interface corresponding to the second display position, including the role function control, the prop function control and the friend function control. After obtaining the editor's selection operation on the friend function control, the computer device can display the friend function control at the second display position.
[0139] As mentioned above, the editor usually adjusts the display position of the function control based on his actual needs for the game function. The needs of different editors may be different, but there may also be different editors whose needs are relatively consistent. When the needs of two editors are relatively consistent, the interface layout design of the target game interface is usually also relatively consistent. Based on this, in a possible implementation, the computer device can also provide a method for quickly editing its own game interface based on the game interface layout of others.
[0140] In this implementation, the computer device can display a layout display interface, which includes multiple preview images corresponding to the target game interface. The preview images are used to display the display positions of the function controls in the target game interface, that is, through the preview images, you can see how other editors adjust the function controls in the target game interface.
[0141] Through multiple preview images, the editor can find an interface layout that best suits his or her actual needs. If the editor is interested in the interface layout displayed by the target preview image and wants to adjust the display position of the function controls on his or her target game interface according to the interface layout displayed by the target preview image, the editor can directly select the target preview image, for example, by clicking on the target preview image.
[0142] Based on obtaining the selection operation for the target preview image, the computer device can display the target game interface. At this time, the display position of the function control in the target game interface is consistent with the display position of the function control displayed by the target preview image, that is, the interface layout mode in the target game interface fits the interface layout mode corresponding to the target preview image, so that the position adjustment of the function control of the entire target game interface can be quickly realized. The target preview image can be any one of the multiple preview images. In this way, the editor can quickly realize the overall editing of his own game interface based on the reference of the interface layout mode of the target game interface adjusted by other editors, that is, the position adjustment of multiple function controls can be completed at one time, while meeting the actual needs of the game program, the editing efficiency of the game interface is further improved and the editing operation process is simplified.
[0143] As mentioned above, the editor can complete the editing of the target game interface through the edit and save operation. Similarly, in a possible implementation, the editing of the target game interface can also be triggered by a certain operation method. When executing step S201, the computer device can execute step S2011 (not shown in the figure). Step S2011 is a possible implementation of step S201, including:
[0144] S2011: Based on obtaining the editing trigger operation for the target game interface, display the game interface to be edited corresponding to the target game interface.
[0145] The edit trigger operation is used to trigger the editing of the target game interface, for example, it can be long pressing a certain function control in the target game interface, or long pressing a blank position in the target game interface where no function control is displayed, etc. Through the edit trigger operation and the above-mentioned edit save operation, the editor can trigger and stop the editing of the target game interface at his own will, thereby further improving the flexibility of game interface editing.
[0146] In order to facilitate understanding of the technical solution provided by the present application, the game interface editing method provided by an embodiment of the present application will be introduced below in combination with an actual application scenario.
[0147] See also Fig.14 , Fig.14 This is a flowchart of a method for editing a game interface in an actual application scenario provided by an embodiment of the present application. In this actual application scenario, the computer device may be any of the above-mentioned computer devices. The method includes:
[0148] S1401: Read the initial interface layout of the lobby interface.
[0149] In this actual application scenario, the target game interface can be the lobby interface displayed when the game program is just started, and various game functions can be triggered through various function controls in the lobby interface. The computer device can first display the lobby interface in a default state, and the lobby interface in the default state cannot be edited, and only game functions can be triggered.
[0150] S1402: Provide lobby initial interface layout data.
[0151] The initial interface layout of the lobby interface is displayed based on the initial interface layout data provided by the server. The initial interface layout data records the various function controls displayed on the lobby interface before interface editing, as well as the display positions corresponding to the various function controls.
[0152] S1403: Long press and drag the function control.
[0153] Through this operation, you can enter the lobby interface editing state, which is one of the editing trigger operations. In the embodiment of the present application, the game interface to be edited corresponding to the lobby interface is the lobby interface in the editing state, which is two states of the same interface.
[0154] S1404: Determine the drag position.
[0155] The dragged position is the position to be changed.
[0156] S1405: Hide function controls.
[0157] If the function control is dragged to a blank position (ie, a hidden position), the computer device may hide the function control and execute step S1406 to receive the function control in the hidden interface for display.
[0158] S1407: Determine whether the position is empty.
[0159] If the device is released (corresponding to a change confirmation operation) after dragging to a changeable position (corresponding to a position selection operation), it is determined that the position to be changed corresponds to a changeable position. At this time, the computer device will determine whether there is a displayed function control at that position. If so, step S1408 is executed to change the positions of the two function controls. If not, the function control is changed to the dragged position.
[0160] S1410: Click a blank area on the interface.
[0161] This operation is an edit and save operation. After obtaining this operation, the computer device will execute step S1412 to exit the lobby interface from the edit state and return to the default state. At the same time, the server will execute step S1411 to save the modified interface layout data to the server. The modified interface layout data records the function controls displayed on the edited lobby interface and the display positions corresponding to each function control. Based on the modified interface layout data, step S1413 can be executed to display the edited lobby interface.
[0162] To sum up, the game interface editing method of the present application can realize the diversified and high-freedom editing of the function control display positions of the lobby interface, so that the edited lobby interface is more in line with the actual needs of the players for game functions, thereby facilitating players to play more smoothly and conveniently through the lobby interface.
[0163] Based on the game interface editing method provided in the above embodiment, the present application also provides a game interface editing device, see Fig.15 , Fig.15 This is a structural block diagram of a game interface editing device 1500 provided in the present application, the device includes a first display unit 1501, a second display unit 1502 and a third display unit 1503:
[0164] The first display unit 1501 is used to display the game interface to be edited corresponding to the target game interface, the game interface to be edited includes a first function control, the first function control is used to trigger the corresponding target game function, the first function control is located at a first display position in both the target game interface and the game interface to be edited, and the game interface to be edited is used to obtain a position editing operation for the first function control;
[0165] The second display unit 1502 is used to display the first function control at a second display position in the game interface to be edited based on obtaining a target position editing operation for the first function control, wherein the target position editing operation is used to change the display position of the first function control in the game interface to be edited from the first display position to the second display position;
[0166] The third display unit 1503 is used to display the edited target game interface based on obtaining the edit and save operation for the game interface to be edited, and the display position of the first function control in the edited target game interface is the display position of the first function control in the game interface to be edited when the edit and save operation is obtained.
[0167] In a possible implementation, the target position editing operation includes a first position selection operation and an edit confirmation operation, the position selection operation is used to select the position to be changed in the game interface to be edited, and the change confirmation operation is used to confirm changing the display position of the first function control in the game interface to be edited according to the position to be changed, and the second display unit 1502 is specifically used to:
[0168] Based on obtaining the first position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the first position selection operation corresponds to the second display position, the first function control is displayed through the second display position in the game interface to be edited.
[0169] In a possible implementation, the second display unit 1502 is specifically used to:
[0170] Based on obtaining the first position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the first position selection operation has an overlapping position with the second display position, the first function control is displayed through the second display position in the game interface to be edited.
[0171] In a possible implementation, the device further includes a fourth display unit:
[0172] The fourth display unit is used to display the changeable prompt information based on obtaining the second position selection operation for the first function control, and the position to be changed corresponding to the second position selection operation corresponds to the changeable position. The changeable prompt information is used to prompt that after the first function control is edited through the second position selection operation and the change confirmation operation, the display position of the first function control in the game interface to be edited is the changeable position, and the changeable position is the position in the game interface to be edited that has a control display function.
[0173] In a possible implementation, the changeable prompt information is a first control icon displayed at a display position of the first function control, and the fourth display unit is specifically used to:
[0174] The control icon displayed at the display position of the first function control is replaced by the first control icon from the second control icon, and the icon brightness of the first control icon is greater than the icon brightness of the second control icon.
[0175] In a possible implementation, the device further includes a fifth display unit:
[0176] The fifth display unit is used to display the first function control based on obtaining the third position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the third position selection operation corresponds to the unchangeable position, so as to obtain the display position of the first function control before the third position selection operation, and the unchangeable position is a position in the game interface to be edited that does not have a control display function.
[0177] In a possible implementation, the device further includes a sixth display unit:
[0178] The sixth display unit is used to display usage frequency information corresponding to the first function control based on obtaining a position selection operation for the first function control, where the usage frequency information is used to represent the usage frequency of the target game function.
[0179] In a possible implementation, the game interface to be edited includes a hidden position, and the device further includes a first hiding unit:
[0180] The first hiding unit is used to hide the first function control from the function interface to be edited based on obtaining the fourth position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the fourth position selection operation corresponds to the hidden position, so that the first function control is hidden from the target game interface.
[0181] In a possible implementation, the target game interface includes hidden interface controls, and the device further includes a seventh display unit;
[0182] The seventh display unit is used to display a hidden interface based on obtaining a trigger operation for the hidden interface control, wherein the hidden interface includes a hidden function control, and the hidden function control is a function control hidden from the target game interface.
[0183] In a possible implementation manner, the device further includes a second hiding unit:
[0184] The second hiding unit is used to hide the hidden function control from the hidden interface control based on obtaining a display operation for the hidden function control, so that the target game interface is used to display the hidden function control.
[0185] In a possible implementation, the device further includes an eighth display unit:
[0186] The eighth display unit is used to display hidden prompt information based on obtaining the fourth position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the fourth position selection operation corresponds to the hidden position, and the hidden prompt information is used to prompt that the first function control is moved to a hidden interface, and the hidden interface is used to display the function control hidden from the target game interface.
[0187] In a possible implementation manner, the device further includes a changing unit:
[0188] The changing unit is used to change the display position of the second function control in the game interface to be edited from the second display position to the first display position based on obtaining the target position editing operation, the second display position in the interface to be edited is used to display the second function control.
[0189] In one possible implementation, the game interface to be edited includes a position exchange control corresponding to the second function control, the target position editing operation includes a selection operation for the first function control and a trigger operation for the position exchange control, and the position exchange control is used to exchange the display positions of the selected function control and the second function control in the game interface to be edited.
[0190] In a possible implementation, the game interface to be edited includes a changeable position identifier, and the changeable position identifier is used to identify a changeable position in the game interface to be edited, and the changeable position is a position in the game interface to be edited that has a control display function.
[0191] In a possible implementation, the target position editing operation includes a selection operation on a target changeable position identifier and a selection operation on the first function control in the control selection interface, and the second display unit 1502 is specifically used to:
[0192] Based on obtaining a selection operation for the target changeable position identifier, displaying the control selection interface corresponding to the target changeable position identifier, the target changeable position identifier is used to identify the second display position, the control selection interface is used to display function controls supported for display at the second display position, and the control selection interface includes the first function control;
[0193] Based on obtaining a selection operation for the first function control in the control selection interface, the first function control is displayed at a second display position in the game interface to be edited.
[0194] In a possible implementation, the device further includes a ninth display unit and a tenth display unit:
[0195] The ninth display unit is used to display a layout display interface, wherein the layout display interface includes a plurality of preview images corresponding to the target game interface, and the preview images are used to display display positions of function controls in the target game interface;
[0196] The tenth display unit is used to display the target game interface based on obtaining a selection operation for the target preview image, the display position of the function control in the target game interface is consistent with the display position of the function control displayed by the target preview image, and the target preview image is any one of the multiple preview images.
[0197] In a possible implementation, the first display unit 1501 is specifically used for:
[0198] Based on obtaining the editing trigger operation for the target game interface, the game interface to be edited corresponding to the target game interface is displayed.
[0199] The present application also provides a computer device, see Fig.16 As shown, the computer device may be a terminal device, and a mobile phone is taken as an example:
[0200] Fig.16 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Fig.16 The mobile phone includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 770, a processor 780, and a power supply 790. Those skilled in the art will understand that Fig.16 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0201] Combine the following Fig.16 A detailed introduction to the various components of the mobile phone:
[0202] The RF circuit 710 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 780 for processing; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit 710 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, referred to as LNA), a duplexer, etc. In addition, the RF circuit 710 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0203] The memory 720 can be used to store software programs and modules. The processor 780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720. The memory 720 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 720 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0204] The input unit 730 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 731 or near the touch panel 731 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 780, and can receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731, the input unit 730 may also include other input devices 732. Specifically, the other input devices 732 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0205] The display unit 740 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc. Further, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides a corresponding visual output on the display panel 741 according to the type of touch event. Although in Fig.16 In the embodiment, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.
[0206] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0207] The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the user and the mobile phone. The audio circuit 760 can transmit the received audio data to the speaker 761 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 760 and converted into audio data, and then the audio data is output to the processor 780 for processing, and then sent to another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for further processing.
[0208] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access. Fig.16 A WiFi module 770 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0209] The processor 780 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 720, and calling data stored in the memory 720, it executes various functions of the mobile phone and processes data, thereby performing overall detection of the mobile phone. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 780.
[0210] The mobile phone also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption.
[0211] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0212] In this embodiment, the processor 780 included in the terminal device also has the following functions:
[0213] Displaying a game interface to be edited corresponding to a target game interface, the game interface to be edited comprising a first function control, the first function control being used to trigger a corresponding target game function, the first function control being located at a first display position in both the target game interface and the game interface to be edited, the game interface to be edited being used to obtain a position editing operation for the first function control;
[0214] Based on obtaining a target position editing operation for the first function control, displaying the first function control at a second display position in the game interface to be edited, wherein the target position editing operation is used to change the display position of the first function control in the game interface to be edited from the first display position to the second display position;
[0215] Based on obtaining the edit and save operation for the game interface to be edited, the edited target game interface is displayed, and the display position of the first function control in the edited target game interface is the display position of the first function control in the game interface to be edited when the edit and save operation is obtained.
[0216] The present application also provides a server. Fig.17 As shown, Fig.17 The structural diagram of the server 800 provided in the embodiment of the present application, the server 800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 822 (for example, one or more processors) and a memory 832, and one or more storage media 830 (for example, one or more mass storage devices) storing application programs 842 or data 844. Among them, the memory 832 and the storage medium 830 can be temporary storage or permanent storage. The program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 822 can be configured to communicate with the storage medium 830 and execute a series of instruction operations in the storage medium 830 on the server 800.
[0217] The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and / or one or more operating systems 841, such as Windows Server 2000. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.
[0218] The steps performed by the server in the above embodiment can be based on Fig.17 The server structure shown.
[0219] The embodiment of the present application also provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to execute any one of the implementation methods of the game interface editing methods described in the aforementioned embodiments.
[0220] An embodiment of the present application also provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the game interface editing method described in any one of the above embodiments.
[0221] It is understandable that in the specific implementation of the present application, related data such as user information (such as interface layout information) is involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0222] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the above-mentioned storage medium can be at least one of the following media: read-only memory (English: read-only memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.
[0223] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0224] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A game interface editing method, characterized in that: The method comprises: Displaying a game interface to be edited corresponding to a target game interface, the game interface to be edited comprising a first function control, the first function control being used to trigger a corresponding target game function, the first function control being located at a first display position in both the target game interface and the game interface to be edited, the game interface to be edited being used to obtain a position editing operation for the first function control; Based on obtaining a target position editing operation for the first function control, displaying the first function control at a second display position in the game interface to be edited, wherein the target position editing operation is used to change the display position of the first function control in the game interface to be edited from the first display position to the second display position; Based on obtaining the edit and save operation for the game interface to be edited, the edited target game interface is displayed, and the display position of the first function control in the edited target game interface is the display position of the first function control in the game interface to be edited when the edit and save operation is obtained.
2. The method according to claim 1, characterized in that The target position editing operation includes a first position selection operation and an edit confirmation operation, wherein the position selection operation is used to select a position to be changed in the game interface to be edited, and the change confirmation operation is used to confirm that the display position of the first function control in the game interface to be edited is changed according to the position to be changed. The target position editing operation based on obtaining the first function control, displaying the first function control at a second display position in the game interface to be edited, includes: Based on obtaining the first position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the first position selection operation corresponds to the second display position, the first function control is displayed through the second display position in the game interface to be edited.
3. The method according to claim 2, characterized in that The method of displaying the first function control at the second display position in the game interface to be edited based on obtaining the first position selection operation and the change confirmation operation for the first function control, wherein the position to be changed corresponding to the first position selection operation corresponds to the second display position, comprises: Based on obtaining the first position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the first position selection operation has an overlapping position with the second display position, the first function control is displayed through the second display position in the game interface to be edited.
4. The method according to claim 2, characterized in that: The method further comprises: Based on obtaining a second position selection operation for a first function control, and the position to be changed corresponding to the second position selection operation corresponds to a changeable position, changeable prompt information is displayed, and the changeable prompt information is used to prompt that after the first function control is edited through the second position selection operation and the change confirmation operation, the display position of the first function control in the game interface to be edited is the changeable position, and the changeable position is a position in the game interface to be edited that has a control display function.
5. The method according to claim 4, characterized in that The changeable prompt information is a first control icon displayed at the display position of the first function control, and the display of the changeable prompt information includes: The control icon displayed at the display position of the first function control is replaced by the first control icon from the second control icon, and the icon brightness of the first control icon is greater than the icon brightness of the second control icon.
6. The method according to claim 2, characterized in that The method further comprises: Based on obtaining the third position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the third position selection operation corresponds to the unchangeable position, the display position of the first function control before the third position selection operation is obtained to display the first function control, and the unchangeable position is a position in the game interface to be edited that does not have a control display function.
7. The method according to claim 2, characterized in that The method further comprises: Based on obtaining the position selection operation for the first function control, the usage frequency information corresponding to the first function control is displayed, and the usage frequency information is used to represent the usage frequency of the target game function.
8. The method according to claim 2, characterized in that: The game interface to be edited includes a hidden position, and the method further includes: Based on obtaining the fourth position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the fourth position selection operation corresponds to the hidden position, the first function control is hidden from the function interface to be edited, so that the first function control is hidden from the target game interface.
9. The method according to claim 8, characterized in that The target game interface includes hidden interface controls, and the method further includes: Based on obtaining a trigger operation for the hidden interface control, a hidden interface is displayed, wherein the hidden interface includes a hidden function control, and the hidden function control is a function control hidden from the target game interface.
10. The method according to claim 9, characterized in that The method further comprises: Based on obtaining a display operation for the hidden function control, the hidden function control is hidden from the hidden interface control, so that the target game interface is used to display the hidden function control.
11. The method according to claim 8, characterized in that The method further comprises: Based on obtaining the fourth position selection operation and the change confirmation operation for the first function control, and the position to be changed corresponding to the fourth position selection operation corresponds to the hidden position, hidden prompt information is displayed, and the hidden prompt information is used to prompt that the first function control is moved to a hidden interface, and the hidden interface is used to display the function control hidden from the target game interface.
12. The method according to claim 1, characterized in that The method further comprises: Based on obtaining the target position editing operation, the second display position in the interface to be edited is used to display a second function control, and the display position of the second function control in the game interface to be edited is changed from the second display position to the first display position.
13. The method according to claim 12, characterized in that The game interface to be edited includes a position exchange control corresponding to the second function control, the target position editing operation includes a selection operation for the first function control and a trigger operation for the position exchange control, and the position exchange control is used to exchange the display positions of the selected function control and the second function control in the game interface to be edited.
14. The method according to claim 1, characterized in that The game interface to be edited includes a changeable position identifier, which is used to identify a changeable position in the game interface to be edited. The changeable position is a position in the game interface to be edited that has a control display function.
15. The method according to claim 14, characterized in that The target position editing operation includes a selection operation for a target changeable position identifier and a selection operation for the first functional control in the control selection interface, and the first functional control is displayed through a second display position in the game interface to be edited based on obtaining the target position editing operation for the first functional control: Based on obtaining a selection operation for the target changeable position identifier, displaying the control selection interface corresponding to the target changeable position identifier, the target changeable position identifier is used to identify the second display position, the control selection interface is used to display function controls supported for display at the second display position, and the control selection interface includes the first function control; Based on obtaining a selection operation for the first function control in the control selection interface, the first function control is displayed at a second display position in the game interface to be edited.
16. The method according to claim 1, characterized in that The method further comprises: Displaying a layout display interface, wherein the layout display interface includes a plurality of preview images corresponding to the target game interface, and the preview images are used to display display positions of function controls in the target game interface; Based on obtaining a selection operation for a target preview image, the target game interface is displayed, and the function control display position in the target game interface is consistent with the function control display position displayed by the target preview image, and the target preview image is any one of the multiple preview images.
17. The method according to claim 1, characterized in that The game interface to be edited corresponding to the target game interface is displayed, including: Based on obtaining the editing trigger operation for the target game interface, the game interface to be edited corresponding to the target game interface is displayed.
18. A game interface editing device, characterized in that: The device comprises a first display unit, a second display unit and a third display unit: The first display unit is used to display the game interface to be edited corresponding to the target game interface, the game interface to be edited includes a first function control, the first function control is used to trigger the corresponding target game function, the first function control is located at a first display position in both the target game interface and the game interface to be edited, and the game interface to be edited is used to obtain a position editing operation for the first function control; The second display unit is used to display the first function control at a second display position in the game interface to be edited based on obtaining a target position editing operation for the first function control, wherein the target position editing operation is used to change the display position of the first function control in the game interface to be edited from the first display position to the second display position; The third display unit is used to display the edited target game interface based on obtaining the edit and save operation for the game interface to be edited, and the display position of the first function control in the edited target game interface is the display position of the first function control in the game interface to be edited when the edit and save operation is obtained.
19. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute the game interface editing method described in any one of claims 1-17 according to the instructions in the computer program.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the game interface editing method described in any one of claims 1-17.
21. A computer program product comprising a computer program, which, when executed on a computer device, enables the computer device to execute the game interface editing method according to any one of claims 1 to 17.