Editing operation revocation method and device, electronic equipment and readable storage medium

By recording and displaying edit status parameters in the game editor, users can quickly fall back to the previous edit status, solving the problem of undoing scene perspective and editing toolbar operations in the prior art, and improving editing efficiency.

CN119280828APending Publication Date: 2025-01-10NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411179159.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

In the prior art, users cannot effectively fall back to the state before scene perspective adjustment and editing toolbar operation by undoing the key in the game editor, resulting in cumbersome and inefficient operations.

Method used

The game editing interface is displayed through the graphical user interface, recording the editing status parameters of the interactive interface, and displaying the schematic diagram in the history editing interface when receiving the undo command. Users can quickly locate and fall back to the previous editing state through visual preview.

Benefits of technology

It realizes efficient undoing of scene perspective and editing toolbar operations, expands the revocable editing operation range, saves time, and improves workflow efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119280828A_ABST
    Figure CN119280828A_ABST
Patent Text Reader

Abstract

The invention discloses an editing operation revocation method and device, electronic equipment and a readable storage medium, and the method comprises the steps that a game editing interface is displayed through a graphical user interface, and the game editing interface comprises an interaction interface and a game scene picture; in response to a first editing operation for the interactive interface, recording editing state parameters of the current interactive interface and obtaining a schematic diagram corresponding to the current game editing interface; in response to a revocation instruction for the editing operation of the game scene elements in the game scene picture, revoking the target editing operation; displaying at least one schematic diagram in response to a display instruction of a historical game editing interface for the game editing interface; and in response to a trigger operation for the first schematic diagram, obtaining an editing state parameter of an interactive interface in the game editing interface corresponding to the first schematic diagram, and performing revocation processing on a second editing operation of the interactive interface according to the obtained editing state parameter. According to the method, the revocable operation range of the editing operation is expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and computer-readable storage medium for undoing an editing operation. Background Art

[0002] With the widespread popularity of UGC (user-generated content) in the gaming industry, users can design and create interesting game content by themselves through game editors.

[0003] In the related art, when using a game editor to build a game scene, a user often needs to trigger an undo button to undo some editing operations for various reasons, so as to return the game scene building state to the building state before the undo editing operation. For example, for editing operations such as scaling a virtual object in a game scene, the user triggers the undo button to roll back to the game scene building state before the scaling operation of the virtual object.

[0004] However, not all editing operations can be undone using the undo button, making it difficult to return to the game scene state that the user expects. For example, scene perspective adjustment operations and operations on the editing toolbar cannot be triggered by the undo button to return to the state before the operation. Summary of the invention

[0005] The present application provides a method, device, electronic device and computer-readable storage medium for undoing an editing operation to solve the problem in the prior art that some editing operations cannot be undone.

[0006] In a first aspect, an embodiment of the present application provides a method for undoing an editing operation, the method comprising:

[0007] Displaying a game editing interface through a graphical user interface, wherein the game editing interface includes an interactive interface and a game scene screen formed by game scene elements, wherein the interactive interface is used to provide a plurality of interactive controls;

[0008] In response to a first editing operation on the interactive interface, recording editing state parameters of the current interactive interface and acquiring a schematic diagram corresponding to the current game editing interface; wherein the current interactive interface refers to the interactive interface before the interactive interface changes due to the first editing operation, the current game editing interface refers to the game editing interface that includes the current interactive interface, and the editing state parameters of the current interactive interface include interactive interface state parameters determined by adjusting the interactive interface;

[0009] In response to an undo instruction for an edit operation on a game scene element in the game scene screen, undo a target edit operation, wherein the target edit operation refers to a second most recent edit operation on the game scene element in the game scene screen;

[0010] In response to a display instruction for a historical game editing interface of the game editing interface, display at least one schematic diagram, wherein the at least one schematic diagram is a schematic diagram corresponding to the at least one historical game editing interface, and the multiple interactive interfaces in the at least one historical game editing interface are multiple interactive interfaces under continuous first editing operations;

[0011] In response to a trigger operation on the first schematic diagram, the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram are obtained, and the second editing operation of the interactive interface is undone according to the obtained editing state parameters, so as to roll back the editing state of the interactive interface to the editing state displayed by the interactive interface in the first schematic diagram.

[0012] In a second aspect, an embodiment of the present application provides a device for canceling an editing operation, the device comprising:

[0013] A first display module, used to display a game editing interface through a graphical user interface, wherein the game editing interface includes an interactive interface and a game scene screen formed by game scene elements, and the interactive interface is used to provide a plurality of interactive controls;

[0014] a recording module, configured to record, in response to a first editing operation on the interactive interface, editing state parameters of the current interactive interface and obtain a schematic diagram corresponding to the current game editing interface; wherein the current interactive interface refers to the interactive interface before the interactive interface changes due to the first editing operation, the current game editing interface refers to the game editing interface including the current interactive interface, and the editing state parameters of the current interactive interface include interactive interface state parameters determined by adjusting the interactive interface;

[0015] A first processing module is used to respond to a cancel instruction for an editing operation on a game scene element in the game scene screen, cancel a target editing operation, wherein the target editing operation refers to a most recent second editing operation on the game scene element in the game scene screen;

[0016] A second display module, configured to display at least one schematic diagram in response to a display instruction for a historical game editing interface of the game editing interface, wherein the at least one schematic diagram is a schematic diagram corresponding to the at least one historical game editing interface, and the multiple interactive interfaces in the at least one historical game editing interface are multiple interactive interfaces under continuous first editing operations;

[0017] The second processing module is used to respond to the trigger operation on the first schematic diagram, obtain the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram, and undo the second editing operation of the interactive interface according to the acquired editing state parameters, so as to roll back the editing state of the interactive interface to the editing state displayed by the interactive interface in the first schematic diagram.

[0018] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:

[0019] A memory and a processor, wherein the memory and the processor are coupled;

[0020] The memory is used to store one or more computer instructions;

[0021] The processor is used to execute the one or more computer instructions to implement the method for undoing the editing operation described in any one of the first aspects above.

[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having one or more computer instructions stored thereon, characterized in that the instruction is executed by a processor to implement the method for undoing the editing operation described in any one of the first aspects above.

[0023] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method for undoing the editing operation described in any one of the first aspects above.

[0024] Compared with the prior art, this application has the following advantages:

[0025] Compared with the prior art, in the present application, when the user performs scene editing through the game editing interface, as long as it is detected that any first editing operation is performed on the interactive interface, the following operation is performed once: record the editing state parameters of the current interactive interface and obtain the schematic diagram corresponding to the current game editing interface, so that the schematic diagram of the game editing interface and the editing state parameters of the previous interactive interface before the user performs the first editing operation on the interactive interface are obtained. In response to the display instruction of the historical game editing interface of the game editing interface, at least one schematic diagram is displayed, which helps the user to quickly locate the editing state of the interactive interface before the wrong first editing operation is performed on the interactive interface directly through visual preview, without the need to undo the operation step by step, especially when it is found that the need to return to the early state is found after performing a large number of complex first editing operations. This undoing method for the first editing operation is more efficient, fast and simple. In response to the triggering operation for the first schematic diagram, the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram are obtained, and the second editing operation of the interactive interface is undo-processed according to the acquired editing state parameters, so that the editing state of the interactive interface is rolled back to the editing state displayed by the interactive interface in the first schematic diagram. The editing operation of the interactive interface is undone according to the editing state parameters, so that the editing state of the game editing interface is rolled back to the editing state shown in the first schematic diagram. Since the editing parameters in the interactive interface involve the display angle of the scene screen, the display level of each page in the scene screen, etc., the undoing of the editing operation is no longer limited to the state of the virtual object, and the first editing operation involving the display angle of the scene screen, the display level of each page in the scene screen, etc. can also be undone, which greatly expands the scope of revocable editing operations. Furthermore, compared with manually undoing operations step by step, directly jumping to the editing state of the interactive interface in the specified historical game editing interface saves time significantly, especially when dealing with projects containing a large number of editing steps, improving the overall workflow efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0027] Figure 1 A flowchart of a method for undoing an editing operation provided in the first embodiment of the present application;

[0028] Figure 2 A schematic diagram of undoing a second editing operation provided in one embodiment of the present application;

[0029] Figure 3 A schematic diagram of undoing a first editing operation provided in one embodiment of the present application;

[0030] Figure 4 A flowchart of a method for undoing an editing operation provided in the second embodiment of the present application;

[0031] Figure 5 A flowchart of a method for undoing an editing operation provided in the third embodiment of the present application;

[0032] Figure 6 A schematic diagram of adding a semi-transparent mask layer on the upper layer of the game editing interface provided in one embodiment of the present application;

[0033] Figure 7 A schematic diagram showing a plurality of schematic diagrams provided in one embodiment of the present application displayed horizontally;

[0034] Figure 8 A schematic diagram of an update display schematic diagram provided in one embodiment of the present application;

[0035] Fig. 9 A schematic diagram showing an enlarged first schematic diagram provided in one embodiment of the present application;

[0036] Fig.10 A schematic diagram of restoring the editing state provided by another embodiment of the present application;

[0037] Fig.11 A schematic diagram of the structure of a device for canceling an editing operation provided in one embodiment of the present application;

[0038] Fig.12 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application.

[0039] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0040] In order to make the purpose, advantages and features of the present application clearer, the present application is described clearly and completely below in conjunction with the accompanying drawings and specific embodiments. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments, and all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0041] It should be noted that, in the description of the present application, the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance, and a specific order or sequence. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood in specific circumstances. In addition, in the description of the present application, unless otherwise specified, the term "multiple" refers to two or more. The term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can be represented: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are an "or" relationship. The terms "include" and "have" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0042] Below, the prior art involved in this application and the problems existing in the prior art are described:

[0043] In the related art, when using a game editor to build a game scene, a user often needs to trigger an undo button to undo some editing operations for various reasons, so as to return the game scene building state to the building state before the undo editing operation. For example, for editing operations such as scaling a virtual object in a game scene, the user triggers the undo button to roll back to the game scene building state before the scaling operation of the virtual object.

[0044] However, not all editing operations can be undone by the undo button, which makes it difficult to return to the game scene building state desired by the user. For example, in the process of the user building the game scene, the virtual joystick and the sliding screen can be used to translate and rotate the viewing angle so that the user can examine and adjust the game scene built from various angles. However, for these two editing operations, the undo button cannot be used to return to the game scene viewing angle before the user's operation. The user needs to make manual adjustments, but even after readjustment, it is difficult to return to the original viewing angle. For another example, the display interface (i.e., tab) for editing the game scene usually includes multiple layers of sub-pages. In the case where the user mistakenly closes the display interface, since the undo button cannot be used to return to the sub-page before the user's operation, the user needs to repeatedly click and navigate to find the sub-page before the mistaken closing operation, which requires more time and energy and cumbersome operation.

[0045] In order to solve the problems existing in the above-mentioned related technologies, the present application provides a method for undoing an editing operation, a device for undoing an editing operation corresponding to the method, an electronic device capable of implementing the method for undoing an editing operation, and a computer-readable storage medium. The following provides embodiments to describe the above-mentioned method, device, electronic device, and computer-readable storage medium in detail.

[0046] In order to make the purpose and technical solution of the present application clearer and more intuitive, the method provided by the embodiment of the present application will be described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. It is understood that the following embodiments may exist separately, and the following embodiments and features in the embodiments may be combined with each other when there is no conflict between the embodiments provided in the present application, and the same or similar content will not be repeated in different embodiments. In addition, the step sequence in the following method embodiments is only an example, not a strict limitation, and in some cases, the steps shown or described may be performed in a different order from this.

[0047] The present application provides a method, device, electronic device and computer-readable storage medium for undoing an editing operation. Specifically, the method for undoing an editing operation in one embodiment of the present application can be performed by a computer device, wherein the computer device can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, etc. The terminal can also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and big data and artificial intelligence platforms.

[0048] First embodiment

[0049] Next, combine Figure 1 , the method for undoing the editing operation provided in the first embodiment of the present application is described, Figure 1 A flowchart of a method for undoing an editing operation provided in the first embodiment of the present application.

[0050] like Figure 1 As shown, the method for undoing the editing operation includes steps S101-S105:

[0051] S101. Displaying a game editing interface through a graphical user interface. The game editing interface includes an interactive interface and a game scene screen formed by game scene elements. The interactive interface is used to provide a plurality of interactive controls.

[0052] S102: In response to the first editing operation on the interactive interface, record the editing state parameters of the current interactive interface and obtain a schematic diagram corresponding to the current game editing interface, wherein the current interactive interface refers to the interactive interface before the interactive interface changes due to the first editing operation, the current game editing interface refers to the game editing interface including the current interactive interface, and the editing state parameters of the current interactive interface include the interactive interface state parameters determined by adjusting the interactive interface.

[0053] S103. In response to an undo instruction for an editing operation on a game scene element in the game scene screen, undo a target editing operation, where the target editing operation refers to a second most recent editing operation on the game scene element in the game scene screen.

[0054] S104. In response to a display instruction for a historical game editing interface of the game editing interface, at least one schematic diagram is displayed, wherein the at least one schematic diagram is a schematic diagram corresponding to at least one historical game editing interface, and the multiple interactive interfaces in the at least one historical game editing interface are multiple interactive interfaces under a continuous first editing operation.

[0055] S105. In response to the trigger operation on the first schematic diagram, the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram are obtained, and the second editing operation of the interactive interface is undone according to the obtained editing state parameters, so as to roll back the editing state of the interactive interface to the editing state displayed by the interactive interface in the first schematic diagram.

[0056] Next, the above steps S101 to S105 are described in detail.

[0057] In UGC, the game editing interface usually includes an interactive interface and a game scene screen formed by game scene elements.

[0058] As mentioned above, the interactive interface on the game editing interface displays interactive controls, including but not limited to editing controls for scene building (such as co-building controls, teaching controls, log controls, setting controls, component controls, etc.), virtual camera viewing angle adjustment controls, and page level setting controls.

[0059] When users use the UGC platform to build game scenes, there will usually be a series of intuitive and feature-rich interactive controls on the interactive interface in the game editing interface for users to design, create, adjust, and other operations on the game scene. The interactive controls displayed on the interactive interface include but are not limited to the scene view window, toolbar, object property panel, hierarchy management controls, animation interaction controls, and the like. Among them, the scene view window is the core area of ​​the editor, which displays the game scene being built in real time. Users can directly place, move, or adjust virtual objects in the game scene by dragging, clicking, and other operations in the window. The toolbar contains a series of commonly used tool buttons, such as selection tools, move tools, rotation tools, scaling tools, etc., which are used to perform basic operations on virtual elements in the scene. Furthermore, it may also include terrain editing tools, brush tools (for drawing vegetation, textures, etc.) and entity creation tools.

[0060] Among them, the editing controls for scene building include but are not limited to setting controls such as structure, object, environment, and mechanism.

[0061] The viewing angle of the virtual camera determines the display viewing angle of the scene, that is, the angle of the scene that the user observes, including the viewing angle position, viewing angle height, viewing angle, etc., which determines how the user "observes" the virtual scene that he has built. For example, the user can use interactive controls in the interactive interface, such as a virtual joystick, or by sliding the screen to trigger the rotation, translation, and zooming of the 3D or 2D editing environment, so that the user can review and adjust the content he created from various angles.

[0062] Among them, at least part of the page area in the virtual scene screen includes multiple display levels, that is, multiple sub-pages. The display level of the page in the scene screen refers to the order of arrangement of different elements in the scene in the depth direction. This determines which objects block which objects, which is crucial for correctly rendering perspective relationships and achieving natural occlusion effects. Each level may represent a different work module, functional classification, resource library, or the depth of scene construction. For example, the first level may be basic scene editing, the second level enters the specific placement of items or detailed decoration, and the third level may involve more specific textures, lighting, or script editing. Each level downward is a refinement or expansion of the content of the previous level, so when the user starts from the top level to find the level position of the previous work, it is necessary to go deeper level by level, which naturally increases the complexity and time-consuming of the operation. Therefore, the user can open or close each page in the scene page by editing operations on the interactive interface. In response to the user's editing operations on opening or closing the page, the level opened by each page is recorded. In this way, when the user accidentally closes a page containing multiple levels, the display is restored according to the recorded display level, which helps to quickly restore the display level of the page to the level displayed before the user's erroneous operation.

[0063] In an embodiment of the present application, a user can use various interactive controls provided by the interactive interface to add, edit, and instantly preview virtual game scene elements displayed on the game editing interface.

[0064] In the embodiment of the present application, the user can perform corresponding editing operations on the game scene screen and the interactive interface. As mentioned above, the editing state parameters of the current interactive interface refer to the interactive interface state parameters determined by adjusting the interactive interface. After performing corresponding editing operations on the interactive interface, the editing state parameters of the interactive interface will change accordingly.

[0065] The interactive interface state parameters determined by adjusting the interactive interface include but are not limited to the display state, display level, selected state of each interactive logo, the viewing position, viewing height, viewing angle of the virtual camera, etc. Among them, the display state includes but is not limited to visibility (display / hide, semi-transparent), selected state, and activated state.

[0066] For example, players have different preferences for the content displayed on the interactive interface. Figure 3 Interface (b) and interface (c). The basic structure displayed in the interactive interface area 3031 in interface (b) includes a deformable frustum, a deformable rectangle and a deformable ring, and the basic structure displayed in the interactive interface area 3032 in interface (c) includes a deformable frustum.

[0067] As mentioned above, the game scene built by the user on the game editing interface can be a virtual snow scene, a virtual rainforest scene, a virtual desert scene, etc., which is only an example. The embodiment of the present application does not impose any limitation on the game scene built by the user during the UGC process.

[0068] In an embodiment of the present application, in response to a first editing operation on an interactive interface, the editing state parameters of the current interactive interface are recorded and a schematic diagram corresponding to the current game editing interface is obtained. The editing state parameters of the current interactive interface include interactive interface state parameters determined by adjusting the interactive interface, the current interactive interface refers to the interactive interface before the interactive interface changes due to the first editing operation, and the current game editing interface refers to the game editing interface that includes the current interactive interface.

[0069] Exemplarily, in response to a user's rotation operation on the perspective of the virtual camera in the interactive interface (i.e., the first editing operation), the game editing interface before the display perspective of the game scene changes due to the aforementioned rotation operation on the perspective of the virtual camera is recorded, i.e., the current game editing interface. In other words, the current game editing interface refers to the game editing interface before the display perspective of the game scene changes after the player's rotation operation on the perspective of the virtual camera in the interactive interface.

[0070] Exemplarily, in response to the user's accidental touch operation (i.e., the first editing operation) on the current screen in the interactive interface, the game editing interface before the display screen of the game scene changes due to the aforementioned accidental touch operation on the current screen in the interactive interface is recorded, i.e., the current game editing interface. In other words, the current game editing interface refers to the game editing interface before the display screen of the game scene changes after the player's trigger operation on the current screen in the interactive interface.

[0071] Exemplarily, in response to a user closing a tab operation on a display screen in the interactive interface (i.e., a first editing operation), the game editing interface before the display page level of the game scene changes due to the aforementioned closing tab operation on the display screen in the interactive interface is recorded as the current game editing interface. In other words, the current game editing interface refers to the game editing interface before the display level of the corresponding display screen in the game scene changes after the player closes the tab operation on the display screen in the interactive interface.

[0072] It should be noted that, in response to any first editing operation on the interactive interface, the editing state parameters of the current interactive interface are recorded and the schematic diagram corresponding to the current game editing interface is obtained, so that the editing state parameters of the current interactive interface and the schematic diagram corresponding to the obtained current game editing interface have a one-to-one correspondence. In other words, the editing state parameters of the interactive interface reflected in the schematic diagram corresponding to the current game editing interface are the editing state parameters corresponding to the one-to-one correspondence between the editing state parameters and the schematic diagram. Please refer to Table 1 for the one-to-one correspondence between the editing state parameters and the schematic diagram.

[0073] Table 1

[0074]

[0075] As shown in Table 1, taking the first edit operation to be undone as edit operation 1 as an example, the edit state parameter of the current interactive interface is recorded as edit state parameter 1, and the schematic diagram corresponding to the current game edit interface is shown in FIG. Figure 1 , this indicates Figure 1 The editing state parameter 1 corresponds to the current game editing interface. Figure 1 The editing state parameter of the interactive interface embodied in is editing state parameter 1.

[0076] In an embodiment of the present application, in response to an undo instruction for an edit operation of a game scene element in a game scene screen, a target edit operation is undone, and the target edit operation refers to a second edit operation that is closest to the game scene element in the game scene screen. For example, the undo control provided in the prior art on the game editing interface allows the user to undo the most recent edit operation performed on the game scene element in the game scene screen. Each time a trigger operation is performed on the undo control, the undoing of the most recent second edit operation performed on the game scene element in the game scene screen is triggered.

[0077] As described above, the undo instruction for the editing operation on the game scene element in the game scene screen is used to undo the most recent second editing operation on the game scene element in the game scene screen.

[0078] Among them, the first editing operation and the second editing operation are used to refer to the editing operations on the interactive interface and the game scene screen, respectively. The use of "first" and "second" here is only to distinguish the objects targeted by the editing operations (i.e., the interactive interface or the game scene screen), and does not limit the specific editing operations performed.

[0079] In an embodiment of the present application, the second editing operation on the game scene elements in the game scene includes but is not limited to terrain editing (such as terrain height, slope, material (such as grass, sand, rocks, etc.)), buildings and structures (such as building location, size, type (such as houses, towers, bridges, etc.)), all virtual elements in the currently constructed scene (such as 3D models, 2D graphics, animated characters, etc.), and editing operations of the current state of virtual objects. The state of virtual objects includes but is not limited to position coordinates, rotation angle, scaling, color, transparency, texture mapping, shadow effects under lighting conditions, reflection characteristics, progress of animation sequences, etc., which are only examples and the embodiments of the present application do not impose any limitations on this.

[0080] For example, it is assumed that the most recent second editing operation performed by the user on the game scene element in the game scene screen is a rotation operation of adjusting the virtual sunflower face to face the virtual sun. In response to an undo instruction for the editing operation on the game scene element in the game scene screen, the rotation operation of adjusting the virtual sunflower face to face the virtual sun is undo, so that the facing direction of the virtual sunflower is restored to the facing direction before the adjustment.

[0081] In an embodiment of the present application, in response to a display instruction for a historical game editing interface of a game editing interface, at least one schematic diagram is displayed, and the at least one schematic diagram is a schematic diagram corresponding to at least one historical game editing interface, and the multiple interactive interfaces in the at least one historical game editing interface are multiple interactive interfaces under a continuous first editing operation.

[0082] In an optional implementation manner, a possible implementation step of "obtaining a schematic diagram corresponding to the current game editing interface" in step S102 is S1021:

[0083] S1021. Take a screenshot of the current game editing interface to obtain a frame image, and determine the frame image obtained by the screenshot as a schematic diagram corresponding to the current game editing interface.

[0084] This can provide users with an intuitive visual reference, helping them find the interactive interface they want to return to more quickly and accurately.

[0085] In a possible implementation, a record control is provided on the game editing interface, and a user can trigger the generation of a display instruction for a history game editing interface of the game editing interface by performing a trigger operation on the record control.

[0086] As mentioned above, the recording control can receive different trigger operations depending on the type of terminal device. For example, when the terminal device is a touch screen device such as a mobile phone, a tablet computer, a game console, etc., the trigger operation can be a trigger operation of the user's finger. For example, the trigger operation can be a sliding operation such as swiping up, swiping down, swiping left, swiping right, a long press operation, a click operation, a double-click operation, etc., but not limited to this. When the terminal device is a non-touch screen terminal device such as a desktop computer, a laptop computer, etc., the trigger operation can be performed by a control device such as a mouse, a keyboard, etc., but not limited to this.

[0087] In the embodiment of the present application, based on step S20, the schematic diagram corresponding to the historical game editing interface and the editing state parameters of the interactive interface in each schematic diagram can be obtained. In response to the trigger operation on the first schematic diagram, the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram are obtained, and the second editing operation of the interactive interface is undone according to the editing state parameters, so that the editing state of the interactive interface is rolled back to the editing state displayed in the first schematic diagram, that is, the second editing operation of the current interactive interface is undone according to the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram, so that the editing state of the interactive interface is rolled back to the editing state displayed in the interactive interface in the first schematic diagram.

[0088] Next, combine Figure 2-Figure 3 A specific example is given, taking the schematic diagram as a frame picture as an example, to exemplarily illustrate the above steps S101-S105. Figure 2 A schematic diagram of undoing a second editing operation provided in one embodiment of the present application, Figure 3 A schematic diagram of undoing a first editing operation provided in one embodiment of the present application.

[0089] like Figure 2As shown, it includes interface (a), interface (b) and interface (c). As shown in interface (a), the virtual character 2001 is at position 2003, and it can be seen that the user performs a right drag operation on the game character 2001. After the right drag operation is completed, the game character 2001 is at position 2004. As shown in interface (b), the user performs a trigger operation on the undo control 2002, such as a single click operation. As shown in interface (c), the game character 2001 has retreated from position 2004 to position 2003. It can be understood that when the player performs a trigger operation on the undo control, the most recent right drag operation (i.e., the second editing operation) on the game character 2001 is undone.

[0090] like Figure 3 As shown, including interface (a), interface (b) and interface (c). As shown in interface (a), the game editing interface 300 displays the virtual scene built by the user, and multiple interactive controls such as more controls, record controls 301, filter controls and search controls are also displayed on the upper layer of the game editing interface 300. It can be seen that the player triggers the record control 301 such as a single-click operation (i.e., triggering the generation of a display instruction for the historical game editing interface of the game editing interface). In response to the display instruction for the historical game editing interface of the game editing interface, as shown in interface (b), multiple frame pictures are displayed on the game editing interface 300, namely frame picture 3021, frame picture 3022, frame picture 3023, frame picture 3024, and the fill color of the record control 301 changes from white to gray, i.e., the record control 301 is selected. It can be seen that the player triggers the frame picture 3022 with his finger (i.e., selects the frame picture 3022 as the first schematic diagram). Subsequently, compared with interface (b), as shown in interface (c), the page state of the interactive interface in the game editing interface 300 returns to the page state of the interactive interface in frame image 3022. It can be understood that all the first editing operations on the interactive interface after frame image 3022 are completely undone, and the editing state of the interactive interface in the game editing interface is restored to the editing state of the interactive interface in frame image 3022.

[0091] The undoing method of the editing operation provided in the embodiment of the present application, in the present application, when the user performs scene editing through the game editing interface, as long as it is detected that any first editing operation is performed on the interactive interface, the following operation is performed once: record the editing state parameters of the current interactive interface and obtain the schematic diagram corresponding to the current game editing interface, so that the schematic diagram of the game editing interface before the user performs the first editing operation on the interactive interface each time and the editing state parameters of the previous interactive interface are obtained. In response to the display instruction of the historical game editing interface of the game editing interface, multiple schematic diagrams are displayed, which helps the user to quickly locate the editing state of the interactive interface before the wrong first editing operation is performed on the interactive interface directly through visual preview, without the need to undo the operation step by step, especially when it is found that the need to return to the early state is found after performing a large number of complex first editing operations, this undoing method for the first editing operation is more efficient, fast and simple. In response to the triggering operation for the first schematic diagram, the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram are obtained, and the second editing operation of the interactive interface is undo-processed according to the acquired editing state parameters, so that the editing state of the interactive interface is rolled back to the editing state displayed by the interactive interface in the first schematic diagram. The editing operation of the interactive interface is undone according to the editing state parameters, so that the editing state of the game editing interface is rolled back to the editing state shown in the first schematic diagram. Since the editing parameters in the interactive interface involve the display angle of the scene screen, the display level of each page in the scene screen, etc., the undoing of the editing operation is no longer limited to the state of the virtual object, and the first editing operation involving the display angle of the scene screen, the display level of each page in the scene screen, etc. can also be undone, which greatly expands the scope of revocable editing operations. Furthermore, compared with manually undoing operations step by step, directly jumping to the editing state of the interactive interface in the specified historical game editing interface saves time significantly, especially when dealing with projects containing a large number of editing steps, improving the overall workflow efficiency.

[0092] Second embodiment

[0093] Next, combine Figure 4 , the method for undoing the editing operation provided in the second embodiment of the present application is described, Figure 4 A flowchart of a method for undoing an editing operation provided in the second embodiment of the present application.

[0094] like Figure 4 As shown, the method for undoing the editing operation includes steps S201-S204:

[0095] S201. Displaying a game editing interface through a graphical user interface. The game editing interface includes an interactive interface and a game scene screen formed by game scene elements. The interactive interface is used to provide a plurality of interactive controls.

[0096] S202: In response to a first editing operation on a game editing interface, record editing state parameters of the current game editing interface and obtain a schematic diagram corresponding to the current game editing interface. The current game editing interface refers to the game editing interface before the game editing interface changes due to the first editing operation, and the editing state parameters include at least one of the following: game scene screen state parameters determined by adjusting game scene elements and interactive interface state parameters determined by adjusting the interactive interface.

[0097] S203, in response to an undo instruction for an editing operation on a game scene element in the game scene screen, determining a second schematic diagram according to a target editing operation, where the second schematic diagram refers to a schematic diagram corresponding to the game editing interface before executing the target editing operation.

[0098] S204. According to the editing state parameters of the historical game editing interface corresponding to the second schematic diagram, undo the editing operation of the game editing interface to return the editing state of the game editing interface to the editing state shown in the second schematic diagram.

[0099] Next, the above steps S201-S204 are described in detail.

[0100] In the embodiment of the present application, the description and explanation of step S201 can refer to the above description and explanation of step S101, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0101] In an embodiment of the present application, in response to an editing operation on a game editing interface, the editing state parameters of the current game editing interface are recorded and a schematic diagram corresponding to the current game editing interface is obtained. The current game editing interface refers to the game editing interface before the game editing interface changes due to the editing operation on the game editing interface, and the editing state parameters include at least one of the following: a game scene screen state parameter determined by adjusting a game scene element and an interactive interface state parameter determined by adjusting an interactive interface.

[0102] It should be noted that in response to an editing operation on the game editing interface, the editing state parameters of the current game editing interface are recorded and the schematic diagram corresponding to the current game editing interface is obtained, so that the editing state parameters of the current game editing interface and the obtained schematic diagram corresponding to the current game editing interface have a one-to-one correspondence. In other words, the editing state parameters and the schematic diagram that have a one-to-one correspondence, the editing state parameters of the game editing interface reflected in the schematic diagram corresponding to the current game editing interface are the editing state parameters that correspond to the one-to-one relationship, and the first editing operation, editing state parameters, and schematic diagram that are undone are recorded. Figure 3 Please refer to Table 2 for the one-to-one correspondence between them.

[0103] Table 2

[0104]

[0105] As shown in Table 2, taking the edit operation 11 for the game editing interface to be undone as an example, the edit state parameter of the current game editing interface is recorded as edit state parameter 11, and the schematic diagram corresponding to the current game editing interface is obtained as shown in FIG. Fig.11 , this indicates Fig.11 The editing state parameter 11 corresponds to the current game editing interface. Fig.11 The editing status parameter of the game editing interface embodied in is editing status parameter 11.

[0106] In the embodiment of the present application, in response to an undo instruction for an editing operation of a game scene element in a game scene screen, a second schematic diagram is determined according to the target editing operation, and the second schematic diagram refers to a schematic diagram corresponding to the game editing interface before the target editing operation is performed. Figure 3 The one-to-one correspondence between the target undo operation and the edit operation 11 is taken as an example, then the schematic diagram corresponding to the game editing interface before the target edit operation is executed is shown as the schematic diagram Fig.11 , determined as the second schematic diagram.

[0107] In an embodiment of the present application, the editing operation of the game editing interface is undone according to the editing state parameters of the historical game editing interface corresponding to the second schematic diagram, so that the editing state of the game editing interface is rolled back to the editing state shown in the second schematic diagram.

[0108] In an embodiment of the present application, in response to any editing operation on the game editing interface, the editing state parameters of the current game editing interface are recorded and the schematic diagram corresponding to the current game editing interface is obtained. In other words, regardless of any first editing operation on the interactive interface or any second editing operation on the game scene screen, the editing state parameters of the current game editing interface are recorded and the schematic diagram corresponding to the current game editing interface is obtained. Subsequently, in response to an undo instruction for an editing operation on a game scene element in the game scene screen, a second schematic diagram is determined according to the target editing operation. According to the editing state parameters of the historical game editing interface corresponding to the second schematic diagram, the editing operation of the game editing interface is undo, so that the editing state of the game editing interface is rolled back to the editing state displayed by the second schematic diagram. In this way, while the target editing operation is revoked, the editing state of the interactive interface can also be synchronously rolled back to the editing state between the target editing operations.

[0109] Third embodiment

[0110] Next, combine Figure 5 , the method for undoing the editing operation provided in the third embodiment of the present application is described, Figure 5 A flowchart of a method for undoing an editing operation provided in the third embodiment of the present application.

[0111] like Figure 5 As shown, the method for undoing the editing operation includes steps S301-S305:

[0112] S301. Displaying a game editing interface through a graphical user interface. The game editing interface includes an interactive interface and a game scene screen formed by game scene elements. The interactive interface is used to provide a plurality of interactive controls.

[0113] S302: In response to a first editing operation on an interactive interface, record editing state parameters of a current game editing interface and obtain a schematic diagram corresponding to the current game editing interface. The current game editing interface refers to a game editing interface before the game editing interface changes due to the first editing operation, and the editing state parameters include at least one of the following: a game scene screen state parameter determined by adjusting a game scene element and an interactive interface state parameter determined by adjusting the interactive interface.

[0114] S303. In response to a display instruction for a historical game editing interface of the game editing interface, at least one schematic diagram is displayed, wherein the at least one schematic diagram is a schematic diagram corresponding to at least one historical game editing interface, and the multiple interactive interfaces in the at least one historical game editing interface are multiple interactive interfaces under a continuous first editing operation.

[0115] S304. In response to a trigger operation on the first schematic diagram, an editing state parameter of the game editing interface corresponding to the first schematic diagram is obtained, and the first editing operation and the second editing operation of the game editing interface are undone according to the obtained editing state parameters, so as to roll back the editing state of the game editing interface to the editing state displayed by the second schematic diagram.

[0116] S305: Delete the schematic diagrams arranged after the first schematic diagram among the multiple schematic diagrams.

[0117] Next, the above steps S301-S305 are described in detail.

[0118] In the embodiment of the present application, the description and explanation of steps S301, S302, and S303 can refer to the above-mentioned description and explanation of steps S101, S202, and S103 respectively, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.

[0119] In the embodiment of the present application, in response to the trigger operation for the first schematic diagram, the editing state parameters of the game editing interface corresponding to the first schematic diagram are obtained, and the first editing operation and the second editing operation of the game editing interface are undone according to the obtained editing state parameters, so that the editing state of the game editing interface is rolled back to the editing state displayed by the first schematic diagram. The schematic diagrams arranged after the first schematic diagram in the multiple schematic diagrams are deleted.

[0120] In the present application, when the user performs scene editing through the game editing interface, as long as it is detected that any editing operation is performed on the game editing interface (i.e., whether it is any first editing operation on the interactive interface or any second editing operation on the game scene screen), the following operation is performed once: the editing state parameters of the current game editing interface are recorded and the schematic diagram corresponding to the current game editing interface is obtained, so that the editing state parameters and schematic diagram of the game editing interface before each editing operation of the user are obtained. In response to the display instruction of the historical game editing interface of the game editing interface, at least one schematic diagram is displayed, which helps the user to quickly locate the editing state before the misoperation directly through the visual preview, without the need to undo the operation step by step, especially when it is found that the need to return to the early state is found after a large number of complex edits, this method is more efficient. In response to the trigger operation for the first schematic diagram, the editing state parameters of the game editing interface corresponding to the first schematic diagram are obtained. Among them, the editing state parameters include the game scene screen state parameters determined by adjusting the game scene elements and the interactive interface state parameters determined by adjusting the interactive interface. The first editing operation and the second editing operation are undone according to the editing status parameters to roll back the editing status of the game editing interface to the editing status shown in the first schematic diagram (i.e., the editing status of the game scene screen and the interactive interface in the game editing interface are respectively rolled back to the editing status of the game scene screen and the interactive interface shown in the first schematic diagram).

[0121] On the basis of the above-mentioned first embodiment, second embodiment, and third embodiment, the method for undoing the editing operation provided in the embodiment of the present application is further described:

[0122] In an optional implementation manner, a possible implementation manner of “displaying multiple schematic diagrams” in step S104 includes step S1041:

[0123] S1041. Add a semi-transparent mask layer on the upper layer of the game editing interface, and display multiple schematic diagrams on the upper layer of the semi-transparent mask layer.

[0124] As mentioned above, the semi-transparent mask layer is a covering layer with a certain degree of transparency, and the transparency of the semi-transparent mask layer is a value between completely opaque (usually 100% or 1.0) and completely transparent (usually 0% or 0.0). The specific transparency value of the semi-transparent mask layer depends on the design requirements, and the embodiments of the present application do not impose any limitation on this.

[0125] In the embodiment of the present application, a semi-transparent mask layer is displayed on the upper layer of the game editing interface, and the displayed multiple schematic diagrams are displayed on the upper layer of the semi-transparent mask layer. In this way, the displayed content of the game editing interface can be faded, and the user can be effectively prompted to pay attention to the multiple schematic diagrams in time, so that the user's attention is focused on the multiple schematic diagrams.

[0126] Next, combine Figure 6 and one A specific example is given, taking the schematic diagram as a frame picture as an example, to exemplarily illustrate the above step S201. Figure 6 A schematic diagram of adding a semi-transparent mask layer on the upper layer of the game editing interface provided in one embodiment of the present application.

[0127] like Figure 6 As shown, it includes interface (a) and interface (b). As shown in interface (a), the game editing interface 600 displays the virtual scene built by the user, and multiple interactive controls such as more controls, record controls 601, filter controls and search controls are also displayed on the upper layer of the game editing interface 600. It can be seen that the player has performed a trigger operation on the record control 601, such as a single click. As shown in interface (b), the upper layer of the game editing interface 600 displays a layer of translucent gray mask. And above the translucent gray mask are four frame images, namely frame image 6021, frame image 6022, frame image 6023, and frame image 6024. It can be understood that, relative to Figure 3 The interface (c) in Figure 6 The interface (b) in FIG. 1 makes it easier for users to promptly notice the multiple frames of images being displayed.

[0128] In an optional implementation manner, a possible implementation manner of "displaying multiple schematic diagrams" in step S104 includes step S1042:

[0129] S1042, arranging the plurality of schematic diagrams obtained by the screenshots horizontally or vertically according to the screenshot sequence to obtain a schematic diagram queue, and displaying a preset number of consecutive schematic diagrams in the schematic diagram queue.

[0130] In the embodiment of the present application, multiple schematic diagrams obtained by screenshots are arranged horizontally or vertically in the order of screenshots to obtain a schematic diagram queue, which can help users quickly find the display state of the game editing interface before the wrong operation. Further, considering that the display area of ​​the game editing interface is limited, a preset number of consecutive schematic diagrams in the schematic diagram queue are displayed. The specific value of the preset number can be set according to actual conditions, and this application does not make any limitation on this.

[0131] Next, combine Figure 7 and one A specific example is given, taking the schematic diagram as a frame picture as an example, to exemplarily illustrate the above step S302. Figure 7 A schematic diagram showing multiple schematic diagrams provided in a horizontal orientation according to one embodiment of the present application.

[0132] like Figure 7 As shown in the figure, it includes interface (a) and interface (b). As shown in interface (a), the game editing interface 700 displays the virtual scene built by the user, and multiple interactive controls such as more controls, record controls 701, filter controls and search controls are also displayed on the upper layer of the game editing interface 700. It can be seen that the player has triggered the record control 701, such as a single-click operation. As shown in interface (b), the upper layer of the game editing interface 700 displays a layer of translucent gray mask, and multiple frame images arranged horizontally are displayed on the upper layer of the translucent gray mask, which are frame image 7021, frame image 7022, and frame image 7023 from left to right.

[0133] In an optional implementation, based on step S1042, the method for undoing an editing operation provided in the embodiment of the present application further includes step S106:

[0134] S106 . In response to sliding operations on a preset number of consecutive schematic diagrams, updating and displaying the schematic diagrams in a screenshot sequence according to the sliding operations.

[0135] In the embodiment of the present application, when multiple schematic diagrams are arranged vertically in the schematic diagram queue, the user can slide up or down on a preset number of consecutive schematic diagrams. Then, in response to the user sliding down on the preset number of consecutive schematic diagrams, the schematic diagram at the top of the schematic diagram is updated and displayed as a schematic diagram with an earlier screenshot time. In response to the user sliding up on the preset number of consecutive schematic diagrams, the schematic diagram at the bottom of the schematic diagram is updated and displayed as a schematic diagram with a later screenshot time.

[0136] Similarly, when multiple schematic diagrams are arranged horizontally in the schematic diagram queue, the user can slide left or right for a preset number of consecutive schematic diagrams. Then, in response to the user sliding left for a preset number of consecutive schematic diagrams, the leftmost schematic diagram is updated and displayed as a schematic diagram with an earlier screenshot time. In response to the user sliding right for a preset number of consecutive schematic diagrams, the rightmost schematic diagram is updated and displayed as a schematic diagram with a later screenshot time.

[0137] Next, combine Figure 8 and one A specific example is given, taking the schematic diagram as a frame picture as an example, to exemplarily illustrate the above step S106. Figure 8 A schematic diagram of an update display schematic diagram provided in one embodiment of the present application.

[0138] like Figure 8 As shown in the figure, it includes interface (a) and interface (b). As shown in interface (a), the game editing interface 800 displays the virtual scene built by the user, and multiple interactive controls such as more controls, record controls 801, filter controls and search controls are also displayed on the upper layer of the game editing interface 800. It can be seen that the player has performed a trigger operation such as a single click operation on the record control 801. As shown in interface (b), the upper layer of the game editing interface 800 displays a layer of translucent gray mask, and multiple frame pictures arranged vertically are displayed on the upper layer of the translucent gray mask, which are frame pictures 8021, frame pictures 8022, and frame pictures 8023. It can be seen that the player uses a finger to perform a trigger operation on a position of frame picture 8021 and slides down along the sliding track 803. As shown in interface (c), multiple frame pictures on the game editing interface 800 are updated and displayed, and the frame pictures displayed from top to bottom after the update are frame pictures 8024, frame pictures 8022, and frame pictures 8023.

[0139] In an optional implementation manner, before step S105 "in response to a trigger operation on the first schematic diagram, obtaining an editing state parameter of an interactive interface in a game editing interface corresponding to the first schematic diagram", the method for undoing an editing operation provided in the embodiment of the present application further includes step S1051:

[0140] S1051 . In response to an instruction for enlarging and displaying a first schematic diagram, enlarge and display the first schematic diagram.

[0141] In an optional implementation manner, in response to the user performing a preset trigger operation on any one of the multiple schematic diagrams (referred to as the first schematic diagram), an enlarged display instruction for the first schematic diagram is generated.

[0142] As described above, different preset trigger operations may be received according to the type of terminal device. For example, when the terminal device is a touch screen device such as a mobile phone, a tablet computer, a game console, etc., the preset trigger operation may be a preset trigger operation of a user's finger. For example, the preset trigger operation may be a sliding operation such as swiping up, swiping down, swiping left, swiping right, a long press operation, a click operation, a double click operation, etc., but not limited thereto. When the terminal device is a non-touch screen terminal device such as a desktop computer or a laptop computer, the preset trigger operation may be executed by a control device such as a mouse or a keyboard, but not limited thereto.

[0143] In the embodiment of the present application, when the user browses the schematic diagram, in response to the zoom-in display instruction for the first schematic diagram, the first schematic diagram is zoomed in and displayed. In this way, the user can observe the details in the first schematic diagram more carefully and accurately determine whether the schematic diagram is a schematic diagram before the misoperation or a game editing interface state that the user wants to restore.

[0144] Next, combine Fig. 9 and one A specific example is given, taking the schematic diagram as a frame picture as an example, to exemplarily illustrate the above step S1051. Fig. 9 This is a schematic diagram showing an enlarged first schematic diagram provided in one embodiment of the present application.

[0145] like Fig. 9 As shown, it includes interface (a) and interface (b). As shown in interface (a), the game editing interface 900 displays the virtual scene built by the user, and multiple interactive controls such as more controls, record controls 901, filter controls and search controls are also displayed on the upper layer of the game editing interface 900. It can be seen that the player has triggered the record control 901, such as a single-click operation. As shown in interface (b), the upper layer of the game editing interface 900 displays a layer of translucent gray mask, and the upper layer below the translucent gray mask displays multiple frame pictures arranged vertically, and the frame pictures displayed from top to bottom are frame picture 9024, frame picture 9022, and frame picture 9023. It can be seen that the user has triggered the frame picture 9022 with a finger, such as a double-click operation. As shown in interface (c), the frame picture 9022 is enlarged and displayed, which makes it easy for the user to carefully observe the picture details of the frame picture 9022.

[0146] In an optional implementation manner, in step S50, the "trigger operation on the first schematic diagram" may be that the first schematic diagram is dragged to an associated area of ​​the game scene screen.

[0147] As mentioned above, the associated area of ​​the scene screen can be a screen area in the scene screen area that does not overlap with other editing controls. This application does not impose any restrictions on the shape, size, and position of the associated area, which can be set according to actual needs.

[0148] In the embodiment of the present application, such an interactive method is very intuitive. The user can trigger the generation of an undo operation for the second editing operation on the first schematic diagram through a direct drag action, thereby reducing the complexity of menu searching and multi-step operations and improving the user experience.

[0149] In an optional implementation, before the step of “cancelling the second editing operation of the interactive interface according to the acquired editing state parameter so as to return the editing state of the interactive interface to the editing state displayed by the interactive interface in the first schematic diagram” in S105, steps S1052-S1053 are also included:

[0150] S1052: Take a screenshot of the game editing interface to obtain a target screenshot, and determine the target screenshot as the first schematic diagram.

[0151] S1053. Add the first schematic diagram to the schematic diagram queue according to the screenshot sequence.

[0152] In the embodiment of the present application, before the editing operation of the game editing interface is undone according to the editing state parameter so as to return the editing state of the game editing interface to the editing state shown in the first schematic diagram, a screenshot of the game editing interface is taken to obtain a target screenshot, and the target screenshot is added to the schematic diagram queue in the screenshot sequence, that is, the target screenshot is arranged behind the last schematic diagram in the schematic diagram queue in the screenshot sequence. This makes it convenient for the user to restore the game editing interface to the game editing interface state corresponding to the target screenshot later.

[0153] In an optional implementation manner, the method for undoing an editing operation provided in the embodiment of the present application further includes step S107:

[0154] S107 , in response to a cancel display instruction for a historical game editing interface of the game editing interface, cancel display of the plurality of schematic diagrams.

[0155] In the embodiment of the present application, after "cancelling the second editing operation of the interactive interface according to the acquired editing state parameter so as to roll back the editing state of the interactive interface to the editing state displayed by the interactive interface in the first schematic diagram" in step S105, in response to the user's cancel display instruction for the historical game editing interface of the game editing interface, the display of multiple schematic diagrams is canceled. In this way, the user can continue editing based on the page state of the current game editing interface, so as to avoid the problem that the virtual elements in the virtual scene and / or the editing controls on the game editing interface are blocked due to the display of multiple schematic diagrams, thereby hindering the continued editing.

[0156] In an optional implementation, based on step S1041, the method for undoing an editing operation provided in the embodiment of the present application further includes step S108:

[0157] S108 . In response to the triggering operation on the first schematic diagram, delete the semi-transparent mask layer.

[0158] In the embodiment of the present application, after step S105 "cancelling the second editing operation of the interactive interface according to the acquired editing state parameter so as to roll back the editing state of the interactive interface to the editing state displayed by the interactive interface in the first schematic diagram", in response to the user's cancel display instruction for the historical game editing interface in the game editing interface, the display of multiple schematic diagrams is canceled and the semi-transparent mask layer is deleted. This helps the user to clearly observe the page state after the game editing interface rolls back.

[0159] Next, combine Fig.10 and one A specific example is given, taking the schematic diagram as a frame picture as an example, to exemplarily illustrate the above optional steps S1052-S1053, S107, and S108. Fig.10 A schematic diagram of restoring the editing state provided in another embodiment of the present application.

[0160] like Fig.10 As shown in the figure, it includes interface (a), interface (b), interface (c) and interface (d). As shown in interface (a), the frame image 10022 is enlarged and displayed, so that the user can carefully observe the details of the frame image 10022. As shown in interface (b), the user drags the frame image 10022 to the associated area 1004 of the scene screen along the sliding track 1003. Subsequently, as shown in interface (c), the page state displayed by the game editing interface 1000 is restored to the editing state corresponding to the frame image 10022, and the semi-transparent mask layer is deleted in the upper layer of the game editing interface 1000. It can be seen that the player's triggering operation on the record control 1001 is such as a single-click operation. Subsequently, as shown in interface (d), the frame image is canceled from the game editing interface 1000.

[0161] The undoing device for editing operation provided by the present application is described below. The undoing device for editing operation described below and the undoing method for editing operation described above can refer to each other.

[0162] Fig.11 This is a schematic diagram of the structure of a device for canceling an edit operation provided in one embodiment of the present application. Fig.11 As shown, the editing operation canceling device 1100 includes: a first display module 1101 , a recording module 1102 , a first processing module 1103 , a second display module 1104 and a second processing module 1105 .

[0163] A first display module, used to display a game editing interface through a graphical user interface, wherein the game editing interface includes an interactive interface and a game scene screen formed by game scene elements, and the interactive interface is used to provide a plurality of interactive controls;

[0164] a recording module, configured to record, in response to a first editing operation on the interactive interface, editing state parameters of the current interactive interface and obtain a schematic diagram corresponding to the current game editing interface; wherein the current interactive interface refers to the interactive interface before the interactive interface changes due to the first editing operation, the current game editing interface refers to the game editing interface including the current interactive interface, and the editing state parameters of the current interactive interface include interactive interface state parameters determined by adjusting the interactive interface;

[0165] A first processing module is used to respond to a cancel instruction for an editing operation on a game scene element in the game scene screen, cancel a target editing operation, wherein the target editing operation refers to a most recent second editing operation on the game scene element in the game scene screen;

[0166] A second display module, configured to display at least one schematic diagram in response to a display instruction for a historical game editing interface of the game editing interface, wherein the at least one schematic diagram is a schematic diagram corresponding to the at least one historical game editing interface, and the multiple interactive interfaces in the at least one historical game editing interface are multiple interactive interfaces under continuous first editing operations;

[0167] The second processing module is used to respond to the trigger operation on the first schematic diagram, obtain the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram, and undo the second editing operation of the interactive interface according to the acquired editing state parameters, so as to roll back the editing state of the interactive interface to the editing state displayed by the interactive interface in the first schematic diagram.

[0168] In an optional implementation manner, the recording module is further used for:

[0169] In response to an editing operation on the game editing interface, recording editing state parameters of the current game editing interface and obtaining a schematic diagram corresponding to the current game editing interface; the current game editing interface refers to the game editing interface before the game editing interface changes due to the first editing operation, and the editing state parameters include at least one of the following: a game scene screen state parameter determined by adjusting the game scene element and an interactive interface state parameter determined by adjusting the interactive interface;

[0170] The first processing module is specifically used for:

[0171] Determine a second schematic diagram according to the target editing operation, where the second schematic diagram refers to a schematic diagram corresponding to the game editing interface before the target editing operation is performed;

[0172] According to the editing state parameters of the historical game editing interface corresponding to the second schematic diagram, the editing operation of the game editing interface is undone to return the editing state of the game editing interface to the editing state displayed by the second schematic diagram.

[0173] In an optional implementation manner, the second processing module is specifically used to:

[0174] Obtain the editing state parameters of the game editing interface corresponding to the first schematic diagram, and undo the first editing operation and the second editing operation of the game editing interface according to the acquired editing state parameters, so as to roll back the editing state of the game editing interface to the editing state displayed by the first schematic diagram.

[0175] In an optional implementation manner, the second processing module is further used for:

[0176] The schematic diagrams arranged after the first schematic diagram in the plurality of schematic diagrams are deleted.

[0177] In an optional implementation manner, the recording module is specifically used for:

[0178] A screenshot of the current game editing interface is obtained to obtain a frame image, and the frame image is determined as a schematic diagram corresponding to the current game editing interface.

[0179] In an optional implementation manner, the second display module is specifically used for:

[0180] A semi-transparent mask layer is added on the upper layer of the game editing interface, and a plurality of schematic diagrams are displayed on the upper layer of the semi-transparent mask layer.

[0181] In an optional implementation manner, the second display module is specifically used for:

[0182] The plurality of schematic diagrams obtained by the screenshots are arranged horizontally or vertically according to the order of the screenshots to obtain a schematic diagram queue, and a preset number of schematic diagrams in the schematic diagram queue are displayed continuously.

[0183] In an optional implementation manner, the second display module is further used for:

[0184] In response to a sliding operation on the preset number of consecutive schematic diagrams, the schematic diagrams are updated and displayed in the order of the screenshots according to the sliding operation.

[0185] In an optional implementation manner, the second display module is further used for:

[0186] In response to an enlarged display instruction for the first schematic diagram, the first schematic diagram is enlarged and displayed.

[0187] In an optional implementation manner, the trigger operation is that the first schematic diagram is dragged to a related area of ​​the game scene screen.

[0188] In an optional implementation manner, the second processing module is further used for:

[0189] Taking a screenshot of the game editing interface to obtain a target screenshot, and determining the target screenshot as a first schematic diagram;

[0190] The first schematic diagram is added to the schematic diagram queue according to the order of screenshots.

[0191] In an optional implementation manner, the second display module is further used for:

[0192] In response to a cancel display instruction for a historical game editing interface of the game editing interface, the display of the plurality of schematic diagrams is canceled.

[0193] In an optional implementation manner, the second display module is further used for:

[0194] In response to a trigger operation on the first schematic diagram, the semi-transparent mask layer is deleted.

[0195] The editing operation undoing device provided in this embodiment can be used to execute the technical solution of the editing operation undoing method embodiment described above. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0196] Fig.12 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application is shown in FIG. Fig.12 As shown, the electronic device 1200 of this embodiment includes: a processor 1201 and a memory 1202;

[0197] Memory 1202, used to store computer-executable instructions;

[0198] The processor 1201 is used to execute the computer-executable instructions stored in the memory to implement the various steps executed by the method for undoing the editing operation in the above embodiment. For details, please refer to the relevant description in the above method embodiment.

[0199] Optionally, the memory 1202 may be independent or integrated with the processor 1201 .

[0200] When the memory 1202 is independently provided, the electronic device further includes a bus 1203 for connecting the memory 1202 and the processor 1201 .

[0201] One embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, a technical solution corresponding to the method for undoing an editing operation in any of the above embodiments executed by the electronic device is implemented.

[0202] One embodiment of the present application further provides a computer program product, the program product comprising: a computer program, the computer program is stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the technical solution corresponding to the method for undoing the editing operation in any of the above embodiments.

[0203] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

[0204] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0205] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application.

[0206] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.

[0207] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0208] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0209] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0210] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0211] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for undoing an editing operation, characterized in that: The method comprises: Displaying a game editing interface through a graphical user interface, wherein the game editing interface includes an interactive interface and a game scene screen formed by game scene elements, wherein the interactive interface is used to provide a plurality of interactive controls; In response to a first editing operation on the interactive interface, recording editing state parameters of the current interactive interface and acquiring a schematic diagram corresponding to the current game editing interface; wherein the current interactive interface refers to the interactive interface before the interactive interface changes due to the first editing operation, the current game editing interface refers to the game editing interface that includes the current interactive interface, and the editing state parameters of the current interactive interface include interactive interface state parameters determined by adjusting the interactive interface; In response to an undo instruction for an edit operation on a game scene element in the game scene screen, undo a target edit operation, wherein the target edit operation refers to a second most recent edit operation on the game scene element in the game scene screen; In response to a display instruction for a historical game editing interface of the game editing interface, display at least one schematic diagram, wherein the at least one schematic diagram is a schematic diagram corresponding to the at least one historical game editing interface, and the multiple interactive interfaces in the at least one historical game editing interface are multiple interactive interfaces under continuous first editing operations; In response to a trigger operation on the first schematic diagram, the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram are obtained, and the second editing operation of the interactive interface is undone according to the obtained editing state parameters, so as to roll back the editing state of the interactive interface to the editing state displayed by the interactive interface in the first schematic diagram.

2. The method according to claim 1, characterized in that The method further comprises: In response to an editing operation on the game editing interface, recording editing state parameters of the current game editing interface and obtaining a schematic diagram corresponding to the current game editing interface; the current game editing interface refers to the game editing interface before the game editing interface changes due to the editing operation, and the editing state parameters include at least one of the following: a game scene screen state parameter determined by adjusting the game scene element and an interactive interface state parameter determined by adjusting the interactive interface; The undoing target editing operation includes: Determining a second schematic diagram according to a target editing operation, wherein the second schematic diagram refers to a schematic diagram corresponding to the game editing interface before the target editing operation is performed; According to the editing state parameters of the historical game editing interface corresponding to the second schematic diagram, the editing operation of the game editing interface is undone to return the editing state of the game editing interface to the editing state displayed by the second schematic diagram.

3. The method according to claim 2, characterized in that The acquiring of the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram, and undoing the second editing operation of the interactive interface according to the acquired editing state parameters, includes: Obtain the editing state parameters of the game editing interface corresponding to the first schematic diagram, and undo the first editing operation and the second editing operation of the game editing interface according to the acquired editing state parameters, so as to roll back the editing state of the game editing interface to the editing state displayed by the first schematic diagram.

4. The method according to claim 3, characterized in that The method further comprises: The schematic diagrams arranged after the first schematic diagram in the plurality of schematic diagrams are deleted.

5. The method according to claim 1, characterized in that The obtaining of the schematic diagram corresponding to the current game editing interface includes: A screenshot of the current game editing interface is obtained to obtain a frame image, and the frame image is determined as a schematic diagram corresponding to the current game editing interface.

6. The method according to claim 1, characterized in that The display of multiple schematic diagrams includes: A semi-transparent mask layer is added on the upper layer of the game editing interface, and a plurality of schematic diagrams are displayed on the upper layer of the semi-transparent mask layer.

7. The method according to claim 1, characterized in that The display of multiple schematic diagrams includes: The plurality of schematic diagrams obtained by the screenshots are arranged horizontally or vertically according to the order of the screenshots to obtain a schematic diagram queue, and a preset number of schematic diagrams in the schematic diagram queue are displayed continuously.

8. The method according to claim 7, characterized in that The method further comprises: In response to a sliding operation on the preset number of consecutive schematic diagrams, the schematic diagrams are updated and displayed in the order of the screenshots according to the sliding operation.

9. The method according to claim 7, characterized in that: Before obtaining the editing state parameter of the interactive interface in the game editing interface corresponding to the first schematic diagram in response to the triggering operation on the first schematic diagram, the method further includes: In response to an enlarged display instruction for the first schematic diagram, the first schematic diagram is enlarged and displayed.

10. The method according to claim 1, characterized in that The trigger operation is that the first schematic diagram is dragged to the associated area of ​​the game scene screen.

11. The method according to claim 5, characterized in that Before cancelling the second editing operation of the interactive interface according to the acquired editing state parameter, the method further includes: Taking a screenshot of the game editing interface to obtain a target screenshot, and determining the target screenshot as a first schematic diagram; The first schematic diagram is added to the schematic diagram queue according to the order of screenshots.

12. The method according to claim 1, characterized in that The method further comprises: In response to a cancel display instruction for a historical game editing interface of the game editing interface, the display of the plurality of schematic diagrams is canceled.

13. The method according to claim 6, characterized in that The method further comprises: In response to a trigger operation on the first schematic diagram, the semi-transparent mask layer is deleted.

14. A device for undoing an editing operation, characterized in that: The device comprises: A first display module, used to display a game editing interface through a graphical user interface, wherein the game editing interface includes an interactive interface and a game scene screen formed by game scene elements, and the interactive interface is used to provide a plurality of interactive controls; a recording module, configured to record, in response to a first editing operation on the interactive interface, editing state parameters of the current interactive interface and obtain a schematic diagram corresponding to the current game editing interface; wherein the current interactive interface refers to the interactive interface before the interactive interface is changed due to the first editing operation, the current game editing interface refers to the game editing interface before the game editing interface is changed due to the first editing operation, and the editing state parameters of the current interactive interface include interactive interface state parameters determined by adjusting the interactive interface; A first processing module is used to respond to a cancel instruction for an editing operation on a game scene element in the game scene screen, cancel a target editing operation, wherein the target editing operation refers to a most recent second editing operation on the game scene element in the game scene screen; A second display module, configured to display at least one schematic diagram in response to a display instruction for a historical game editing interface of the game editing interface, wherein the at least one schematic diagram is a schematic diagram corresponding to the at least one historical game editing interface, and the multiple interactive interfaces in the at least one historical game editing interface are multiple interactive interfaces under continuous first editing operations; The second processing module is used to respond to the trigger operation on the first schematic diagram, obtain the editing state parameters of the interactive interface in the game editing interface corresponding to the first schematic diagram, and undo the second editing operation of the interactive interface according to the acquired editing state parameters, so as to roll back the editing state of the interactive interface to the editing state displayed by the interactive interface in the first schematic diagram.

15. An electronic device, characterized in that: The electronic device comprises: Processor; and The memory is used to store a data processing program. After the electronic device is powered on and the program is run by the processor, the undoing method of the editing operation as described in any one of claims 1 to 13 is executed.

16. A computer-readable storage medium, characterized in that: A data processing program is stored, and the program is run by a processor to execute the undoing method of the editing operation as described in any one of claims 1-13.