Game scene editing method and device, computer equipment and readable storage medium
By displaying shortcut operation options in the game scene editing software, the problem of low efficiency in game scene editing in the existing technology is solved, and a more efficient operation process is achieved.
Patent Information
- Application Number
- CN202510398837.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-07-01
AI Technical Summary
The user interface of the existing game scene editing software contains a large number of operation controls, which causes users to need to operate multiple times when editing controls for level 3 and 4 pages, which is less efficient.
By displaying the game scene editing interface of the target application, at least one shortcut operation option is displayed in response to the editing event of the scene component. The shortcut operation option is filtered from the operation options provided by the target application, and the target scene component is edited according to the shortcut operation options.
Improve the editing efficiency of game scenes, reduce the number of operations users during the editing process through quick operation options, and improve the convenience of operations.
Smart Images

Figure CN120227652A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of game technologies, and in particular, to a game scene editing method, apparatus, computer device, and readable storage medium, where the readable storage medium is a computer-readable storage medium. Background Art
[0002] In the user interfaces of some game scene editing software, there are usually many operation controls. For the controls on the third and fourth level pages, it is usually necessary to perform multiple operations before the control can be operated, resulting in very low scene editing efficiency. Summary of the Invention
[0003] Embodiments of this application provide a game scene editing method, apparatus, computer device, and readable storage medium, which can improve the editing efficiency of game scenes.
[0004] A game scene editing method provided by an embodiment of this application includes:
[0005] Display a game scene editing interface of a target application, where the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component;
[0006] In response to an editing event for a target scene component in the scene components, display at least one quick operation option for the target scene component, where the quick operation option is filtered from the operation options provided by the target application;
[0007] In response to a trigger operation for a target quick operation option in the quick operation options, edit the target scene component according to the target quick operation option, so as to generate a game scene based on the edited target scene component.
[0008] Correspondingly, a game scene editing apparatus provided by an embodiment of this application includes:
[0009] An interface display unit, configured to display a game scene editing interface of a target application, where the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component;
[0010] An option display unit, configured to display at least one quick operation option for a target scene component in response to an editing event for the target scene component in the scene components, where the quick operation option is filtered from the operation options provided by the target application;
[0011] A component editing unit, configured to respond to a triggering operation on a target quick operation option among the quick operation options, and edit the target scene component according to the target quick operation option, so as to generate a game scene based on the edited target scene component.
[0012] Correspondingly, an embodiment of the present application further provides a computer device, including a memory and a processor; the memory stores a computer program, and the processor is configured to run the computer program in the memory to execute any game scene editing method provided by the embodiments of the present application.
[0013] Correspondingly, an embodiment of the present application further provides a computer-readable storage medium, which is used to store a computer program, and the computer program is loaded by a processor to execute any game scene editing method provided by the embodiments of the present application.
[0014] In the embodiments of the present application, by displaying a game scene editing interface of a target application, the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component; in response to an editing event for a target scene component in the scene components, at least one quick operation option is displayed for the target scene component, and the quick operation option is filtered from the operation options provided by the target application; in response to a triggering operation on a target quick operation option among the quick operation options, the target scene component is edited according to the target quick operation option, so as to generate a game scene based on the edited target scene component. It can be realized that the quick operation option is displayed in response to the editing event, and the target scene component can be edited through the quick operation option, improving the convenience of operation and further improving the editing efficiency of the game scene. Description of the Drawings
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0016] Figure 1 is a flowchart of the game scene editing method provided by the embodiments of the present application;
[0017] Figure 2 is a schematic diagram of the game scene editing interface provided by the embodiments of the present application;
[0018] Figure 3 is a schematic diagram of the option list provided by the embodiments of the present application;
[0019] Figure 4It is a schematic diagram of a quick operation management interface provided by an embodiment of the present application;
[0020] Figure 5 It is a schematic diagram of a game scene editing device provided by an embodiment of the present application;
[0021] Figure 6 It is a schematic diagram of the structure of a computer device provided by an embodiment of the present application. Detailed implementation manners
[0022] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present application.
[0023] An embodiment of the present application provides a game scene editing method, device, computer device, and computer-readable storage medium. The game scene editing device can be integrated in a computer device, and the computer device can be a server or a terminal device, etc.
[0024] Among them, the terminal can include a mobile phone, a wearable intelligent device, a tablet computer, a notebook computer, a personal computer (PC), and an in-vehicle computer, etc.
[0025] Among them, 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, content delivery network (CDN), and big data and artificial intelligence platforms.
[0026] The following will be described in detail respectively. It should be noted that the description order of the following embodiments does not limit the preferred order of the embodiments.
[0027] This embodiment will be described from the perspective of the game scene editing device. The game scene editing device can be specifically integrated in a computer device, and the computer device can be a server or a terminal device, etc.
[0028] A game scene editing method provided by an embodiment of the present application, as Figure 1 shown, the specific process of the game scene editing method can be as follows:
[0029] 101. Display a game scene editing interface of a target application. The game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component.
[0030] Among them, the virtual game scene (or referred to as the game scene or virtual scene) is a virtual scene displayed (or provided) when the application runs on the terminal or server. Optionally, the virtual scene is a simulation environment of the real world built by the user through scene components, or a semi-simulated and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual game scene built by the user can be used for the user or other players to play games.
[0031] The target application is an application program (APP) that can provide the function of editing game scenes. The game scene editing interface is a user graphical interface of the target application, which can be used for the user to build a game map. The game map can also be called a game scene. The user can build a game scene by adding scene components, setting organs, etc., for himself or others to play games.
[0032] Among them, the scene component is an element that constitutes the game scene. The scene component can include environmental components such as game characters, trees, brooks, rivers, rainbows, and houses. The scene component can also include animal components, organ components, and basic shape object components. The basic shape components are such as triangular prisms, cylinders, and cuboids. The game characters in the scene components can be used to interact with the game characters controlled by the player to increase the fun of the game.
[0033] The game scene editing interface may also include a component identifier of the scene component, so that the player can place the scene component in the game scene through the component identifier.
[0034] 102. In response to an editing event for a target scene component in the scene components, display at least one quick operation option for the target scene component. The quick operation option is filtered from the operation options provided by the target application.
[0035] Among them, the operation options provided by the target application include the operation options that are permanently displayed on the game scene editing interface or other interfaces of the target game. Optionally, the target application may also include operation options that are not permanently displayed on the scene editing interface or other interfaces of the target game. For example, the operation options that are displayed on the game scene editing interface only under the user's operation. For the non-permanently displayed operation options, they can be displayed in response to a trigger operation for the target scene component. That is, in one embodiment, the game interaction method provided by the embodiments of the present application may further include:
[0036] In response to a trigger operation on the target scene component, display, in the game scene editing interface, the target operation options provided by the target application that are not permanently displayed;
[0037] The target operation options are displayed around the target scene component or at a specified position in the target scene editing interface.
[0038] Exemplarily, as Figure 2 shown in the game scene editing interface, the controls below the interface, such as the "Combine" control, "Delete" control, "Lock" control, "Move" control, etc. are not permanently displayed. In response to a trigger operation on the target scene component, display the above-mentioned controls as Figure 2 shown.
[0039] The operation that triggers the display of the prominently displayed target operation options and the operation that triggers the display of the quick operation options are different interaction operations. For example, the operation that triggers the display of the prominently displayed target operation options can be a click operation, and the operation that triggers the display of the quick operation options can be a different interaction operation such as a long press operation, etc. Specifically, it can be set as needed and is not limited here.
[0040] Among them, the edit event can be an event that triggers quick editing of the target scene component, and the quick operation options can be used to edit the target scene component.
[0041] The quick operation options can be the operation options with a relatively high historical operation frequency or greater than a preset threshold among the operation options. Specifically, the quick operation options can be filtered out from the operation options according to the historical operation frequency in the operation options provided by the target application. The quick operation options can be pre-set by the user according to usage habits.
[0042] Optionally, for each quick operation option, there is a corresponding operation option in the game scene editing interface. The operation option and the quick operation option can trigger the same component editing operation. The control level of the quick operation option can be higher than that of the operation option. For example, the Z-Order of the quick operation option is 1, and the Z-Order of the operation option is 4, etc.
[0043] Optionally, the interaction path of the operation option is longer than that of the quick operation option. That is, in one embodiment, among the quick operation option and the operation options provided by the target application that trigger the same component editing operation, the interaction path of the quick operation option is shorter than that of the operation option.
[0044] For example, the quick operation option "Add Athlete" has an "Add Athlete" control in the game scene editing interface. To display the "Add Athlete" control, the user needs to first click on the scene component, then select the general trigger area, then click on the "Advanced Settings" control on the game scene editing interface, then select the "Physics" control, and slide into the following Figure 2 The content related to the sports device is shown, which triggers the display of the "Add Sports Device" control. The interactive link is very long and the user needs to keep looking for the corresponding control on the interface. The quick operation options can improve the operation editing efficiency, thereby improving the scene editing efficiency. The quick operation options can filter out commonly used operation options, so the number of operations of users when editing game scenes can be greatly reduced.
[0045] In one embodiment, the component editing operation corresponding to the quick operation option includes at least one of a delete operation, a copy operation, an undo operation, adding a function code, editing the movement properties of the target scene component, and applying preset component properties.
[0046] Among them, the preset component attributes may include preset appearance attributes, mechanism attributes, etc. After the preset component attributes are applied to the target scene component, the target scene component can have the preset component attributes.
[0047] In one embodiment, the game scene editing interface further includes an option control, and in response to an editing event for a target scene component in the scene components, at least one quick operation option is displayed for the target scene component, including:
[0048] In response to the associated operation on the target scene component and the option control, the at least one quick operation option is displayed on the game scene editing interface.
[0049] The associated operation may include dragging the option control to the target scene component, or operating the target scene component and the option control in sequence, for example, after clicking the option control, click the target scene component to start displaying the quick operation option. Optionally, the target scene component may be operated first, and then the option control may be operated. That is, in one embodiment, the step of "displaying the at least one quick operation option on the game scene editing interface in response to the associated operation on the target scene component and the option control" may include:
[0050] In response to a first trigger operation on the target scene component, a second trigger operation on the option control is performed, and at least one quick operation option is displayed on the game scene editing interface.
[0051] Among them, the first trigger operation may include interactive operations such as clicking, long pressing, double clicking, voice operations, and keyboard and mouse operations. The second trigger operation may include interactive operations such as clicking, long pressing, double clicking, voice operations, and keyboard and mouse operations. The first trigger operation and the second trigger operation may be the same or different, and can be set as needed, which is not limited here.
[0052] Exemplarily, after the user clicks on the target scene component and then clicks on the option control, the display of the quick operation options can be triggered.
[0053] In one embodiment, the game scene editing method provided by the embodiments of the present application may further include:
[0054] In response to the quick editing end event for the target scene component, cancel the display of the at least one quick operation option.
[0055] Among them, the quick editing end event may indicate that the terminal cancels the display of the quick operation options. The quick editing event may include receiving a specified interactive operation. For example, after the display of the quick operation options, receiving an interactive operation on the game interface, etc., or receiving an interactive operation on the option control to cancel the display of the quick operation options.
[0056] In one embodiment, the second trigger operation may include continuous operations such as long pressing and dragging. During the duration of the second trigger operation, keep the display of the at least one quick operation option. The step "In response to the quick editing end event for the target scene component, cancel the display of the at least one quick operation option" may include:
[0057] In response to the end of the second trigger operation for the option control, cancel the display of the at least one quick operation option.
[0058] Exemplarily, taking the second trigger operation as a long press operation for illustration, during the process of the user long pressing the option control, the terminal keeps the display of at least one quick operation option on the game scene editing interface. When the user releases the hand, that is, when the long press operation ends, cancel the display of the at least one quick operation option on the game scene editing interface.
[0059] When at least one quick operation option is displayed, the user can select the quick operation option once or continuously multiple times to perform single or multiple edits on the target scene component, without the need to trigger the terminal to display the quick operation options before each edit, enabling the user to conveniently perform single or continuous edit operations.
[0060] In one embodiment, after canceling the display of at least one quick operation option, it is possible to switch the object to which only one quick operation option applies, avoiding the situation where when editing multiple scene components, it is necessary to continuously control the display and cancellation of the quick operation option. That is, before the step of "canceling the display of the at least one quick operation option", the game scene editing method provided by the embodiments of the present application may further include:
[0061] In response to a selection operation for a new target scene component, update the new target scene component as the object to which the at least one quick operation option applies, so as to edit the new target scene component through the at least one quick operation option.
[0062] Specifically, when at least one quick operation option is displayed on the game scene editing interface, in response to a selection operation for another scene component (i.e., the new target scene component), update the new target scene component as the object to which the at least one quick operation option applies. When a trigger operation for the quick operation option is received again, edit the new target scene component instead of the previous target scene component.
[0063] Optionally, it is also possible to update and display at least one quick operation option beside the new target scene component to indicate the currently edited scene component.
[0064] In one embodiment, the quick operation option is displayed in the form of an option list. The game scene editing method provided by the embodiments of the present application further includes:
[0065] In response to a sliding operation for the option list, adjust the quick operation options displayed in the option list.
[0066] The quick operation options can be displayed in the form of an option list, and the option list includes multiple quick operation options for the user to call.
[0067] All the quick operation options may be displayed in the option list, or only some of the quick operation options may be displayed. If only some of the quick operation options are currently displayed in the option list, in response to a sliding operation for the option list, adjust the quick operation options displayed in the option list according to the sliding operation. For example, multiple quick operation options are arranged in a preset order, and the option list currently displays the quick operation options sorted from 1 to 4. In response to an upward sliding operation, quick operation options with a sort order greater than 4 can be added and displayed in the option list. For example, the option list can display the quick operation options sorted from 5 to 8. Optionally, as the sliding operation progresses, it is also possible to control the quick operation options with a sort order greater than 4 to enter the option list and be displayed one by one.
[0068] In one embodiment, the option list may be a roulette, specifically such asFigure 3 As shown, the roulette includes quick operation options such as "Multiple Selection", "Add Logic Code 1", "Add Preset", "Switch to Mobile", and "Jump to Mover". Users can select the appropriate quick operation option by swiping up and down.
[0069] Through the option list, more quick operation options can be set, and at the same time, the occlusion of the game scene editing interface by the quick operation options can be reduced.
[0070] 103. In response to a trigger operation for a target quick operation option among the quick operation options, edit the target scene component according to the target quick operation option, so as to generate a game scene based on the edited target scene component.
[0071] Exemplarily, for example, for the quick operation option "Add Code Logic", in response to a trigger operation for the target quick operation option in this quick operation option, add the specified code logic to the target scene component, so that the target scene component is controlled by the specified code logic, thereby implementing corresponding functions. For example, under the control of the specified code logic, the target scene component can move, such as moving to one side when the game character control approaches and avoiding the game character.
[0072] In one embodiment, in response to a trigger operation for the first quick operation option, the target scene component can be directly edited, that is, the at least one quick operation option includes a first quick operation option. The step "In response to a trigger operation for a target quick operation option among the quick operation options, edit the target scene component according to the target quick operation option" includes:
[0073] In response to a trigger operation for the first quick operation option, perform the component editing operation indicated by the first quick operation option on the target scene component.
[0074] The first quick option indicates a component editing operation that can be directly applied to the target scene component. For example, adding a preset logic code to the target scene component, applying a preset attribute to the target scene component, etc. The preset attributes can include preset outer tube attributes, mechanism attributes, etc. After applying the preset attributes to the target scene component, the target scene component can have the preset attributes.
[0075] In one embodiment, the at least one quick operation option includes a second quick operation option. The step "In response to a trigger operation for a target quick operation option among the quick operation options, edit the target scene component according to the target quick operation option" can include:
[0076] In response to a triggering operation for the second quick operation option, display an attribute configuration panel corresponding to the second quick operation option;
[0077] In response to an editing operation on the attribute configuration panel, determine the attribute configuration information for the target scene component;
[0078] Edit the target scene component according to the attribute configuration information.
[0079] Among them, the component editing operation corresponding to the second quick operation option is an operation on the attribute information that needs to be configured. In response to a triggering operation for the second quick operation option, display an attribute configuration panel. For example, display the attribute configuration panel of the "mover" for the user to configure the movement information of the target scene component, such as when to move and where to move to.
[0080] The attribute configuration panel can provide elements such as controls, buttons, and input areas that can configure attributes. The editing operation on the attribute configuration panel can include operations on the above-mentioned controls, buttons, input areas, etc. to configure the attributes of the target scene component. In response to the editing operation on the attribute configuration panel, determine the attribute configuration information for the target scene component; edit the target scene component according to the attribute configuration information.
[0081] In an embodiment, a management interface for the quick operation option can be provided for the user to manage the quick operation option. The game scene editing method provided by the embodiments of the present application further includes:
[0082] In response to a quick operation management event, display a quick operation management interface, and the quick operation management interface includes the quick operation options currently responding to the editing event;
[0083] In response to an option management operation on the quick operation management interface, update the quick operation options on the quick operation management interface so that when responding to a new editing event, display the updated quick operation options on the quick operation management interface.
[0084] The quick operation management interface can be displayed in the form of a panel or a pop-up window, etc. The quick operation management interface can be used to manage the quick operation options to adjust the quick options displayed when responding to the editing event. The quick operation interface can include the quick operation options that will be displayed on the game scene editing interface currently responding to the editing event. Exemplarily, the quick operation management interface can be as Figure 4 shown, Figure 4 which includes the quick operation options that will be displayed currently responding to the editing event.
[0085] In response to an option management operation on the quick operation management interface, update the quick operation options on the quick operation management interface, and new quick operation options can be displayed when responding to a new editing event.
[0086] In one embodiment, the step of "in response to an option management operation on the quick operation management interface, update the quick operation options on the quick operation management interface" may include:
[0087] In response to a display status setting operation on the third quick operation option in the quick operation management interface, update the display status of the third quick operation option, where the display status indicates whether to display the third quick operation option when responding to a new editing event.
[0088] Exemplarily, as Figure 4 shown, each quick operation option corresponds to a setting control for the display status. When the control is in the closed state, the quick operation option is not displayed when responding to an editing event. When the control is in the open state, the quick operation option may or may not be displayed when responding to an editing event. The display status setting operation can be an operation on this control.
[0089] Optionally, the display status of the quick operation option can also be set in other ways. For example, the area where the quick operation option that is not displayed when responding to an editing event is located can be set to gray, or the transparency can be set to a relatively high value to indicate the display status of the quick operation option.
[0090] The user can set the display status of the quick operation option through the display status setting operation to obtain a set of quick operation options that conform to their own editing habits.
[0091] Exemplarily, the display status of quick operation option A is 1. When responding to an editing event for a scene component, at least one quick operation option including quick operation option A is displayed. Through the quick operation management interface, the display status of quick operation option A is set to 0. When receiving an editing event for the scene component again, the at least one displayed quick operation option does not include quick operation option A.
[0092] In one embodiment, the step of "in response to an option management operation on the quick operation management interface, update the quick operation options on the quick operation management interface" may include:
[0093] In response to a deletion operation on the fourth quick operation option in the quick operation management interface, delete the fourth quick operation option on the quick operation management interface.
[0094] Among them, the deletion operation can include operations such as clicking, long pressing, double clicking, voice control, and keyboard and mouse control.
[0095] The fourth quick operation option is deleted in response to a deletion operation on the quick operation management interface and will no longer be displayed when responding to an edit event.
[0096] Exemplarily, when responding to an edit event for a scene component, at least one quick operation option including quick operation option B is displayed. Quick operation option B is deleted through the quick operation management interface. When receiving an edit event for the scene component again, the at least one displayed quick operation option does not include quick operation option B.
[0097] In one embodiment, the quick operation management interface may include system - preset quick operation options and quick operation options set by the user himself. The system - preset quick operation options cannot be deleted, while the quick operation options set by the user himself can be deleted. As Figure 4 shown, there is no corresponding deletion control for the system - preset quick operation options, and there is a corresponding deletion control for the quick operation options set by the user himself. Through the deletion control, the quick operation option can be deleted from the quick operation management interface and from the quick operation options displayed in response to the edit.
[0098] In one embodiment, the step of "updating the quick operation options on the quick operation management interface in response to an option management operation for the quick operation management interface" may include:
[0099] In response to an option addition operation for the quick operation management interface, a new quick operation option is added and displayed on the quick operation management interface, so that when responding to the new edit event, the new quick operation option is displayed.
[0100] Exemplarily, the quick operation management interface does not include quick operation option C. In response to an option addition operation for quick operation option C, quick operation option C is added and displayed on the quick operation management interface. When receiving an edit event for the scene component again, the at least one displayed quick operation option includes quick operation option C.
[0101] For example, after finding the edit control to be added in the game scene editing interface, the edit control can be dragged to the quick operation management interface. The terminal responds to this operation of the user (i.e., the option management operation) and adds a new quick operation option in the quick operation management interface according to the edit control. When responding to the new edit event, the new quick operation option in the quick operation management interface will be displayed.
[0102] Exemplarily, the quick operation management interface is as Figure 4As shown, the "+" control in the quick operation management interface can be used to add quick operation options. In response to the player's trigger operation on this control, multiple quick operation options are displayed for the user to select, and in response to the user's selection operation, the corresponding quick operation option is added to the quick operation management interface.
[0103] In one embodiment, the step of "updating the quick operation options on the quick operation management interface in response to the option management operation on the quick operation management interface" may include:
[0104] In response to the operation of adjusting the order of the quick operation options on the quick operation management interface, adjust the arrangement order of the quick operation options on the quick operation management interface, and the arrangement order is used to determine the arrangement order of the displayed quick operation options when responding to a new editing event.
[0105] Exemplarily, the arrangement order of the quick operation options on the quick operation management interface can be adjusted by dragging the quick operation options on the quick operation management interface and placing them at the target position. The arrangement order of the quick operation options on the quick operation management interface determines the arrangement order of the displayed quick operation options when responding to a new editing event.
[0106] Exemplarily, the quick operation management interface includes quick operation options A, B, C, and D, and the arrangement order is ABCD. When responding to the editing event of the scene component, the order of the displayed quick operation options is ABCD. In response to the operation of adjusting the order of the quick operation options on the quick operation management interface, the arrangement order of the quick operation options A, B, C, and D is adjusted to DACB. When responding to the editing event of the scene component, the order of the displayed quick operation options is DACB.
[0107] The user adjusts the arrangement order of the quick operation options to a order that conforms to their usage habits through the order adjustment operation, thereby improving the editing efficiency and user experience.
[0108] As can be seen from the above, in the embodiment of the present application, by displaying the game scene editing interface of the target application, the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component; in response to an editing event for a target scene component in the scene components, at least one quick operation option is displayed for the target scene component, and the quick operation option is filtered from the operation options provided by the target application; in response to a trigger operation for a target quick operation option in the quick operation options, the target scene component is edited according to the target quick operation option, so as to generate a game scene based on the edited target scene component. It is possible to display quick operation options in response to an editing event, and the target scene component can be edited through the quick operation options, improving the convenience of operation and thus improving the editing efficiency of the game scene.
[0109] To facilitate better implementation of the game scene editing method provided in the embodiment of the present application, in an embodiment, a game scene editing device is further provided. The meanings of the nouns are the same as those in the above game scene editing method, and the specific implementation details can refer to the description in the method embodiment.
[0110] The game scene editing device may be specifically integrated in a computer device, such as Figure 5 As shown, the game scene editing device may include: an interface display unit 301, an option display unit 302, and a component editing unit 303, specifically as follows:
[0111] (1) The interface display unit 301 is configured to display the game scene editing interface of the target application, where the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component.
[0112] (2) The option display unit 302 is configured to, in response to an editing event for a target scene component in the scene components, display at least one quick operation option for the target scene component, and the quick operation option is filtered from the operation options provided by the target application.
[0113] In an embodiment, among the quick operation options and the operation options provided by the target application that trigger the same component editing operation, the interaction path of the quick operation option is shorter than the interaction path of the operation option.
[0114] In an embodiment, the option display unit 302 may be configured to:
[0115] In response to an association operation for the target scene component and the option control, display the at least one quick operation option on the game scene editing interface.
[0116] In an embodiment, the option display unit 302 may be configured to:
[0117] After a first trigger operation on the target scene component and then a second trigger operation on the option control, at least one quick operation option is displayed on the game scene editing interface.
[0118] (3) A component editing unit 303, configured to, in response to a trigger operation on a target quick operation option among the quick operation options, edit the target scene component according to the target quick operation option, so as to generate a game scene based on the edited target scene component.
[0119] In an embodiment, the game scene editing device provided by the embodiments of the present application may further include:
[0120] A display trigger unit, configured to, in response to a trigger operation on the target scene component, display a target operation option that is not always displayed among the operation options provided by the target application on the game scene editing interface;
[0121] The target operation option is displayed around the target scene component or at a specified position on the game scene editing interface.
[0122] In an embodiment, the game scene editing device provided by the embodiments of the present application may further include:
[0123] A cancellation display unit, configured to, in response to a quick editing end event of the target scene component, cancel the display of the at least one quick operation option.
[0124] In an embodiment, during the duration of the second trigger operation, the at least one quick operation option is kept displayed, and the cancellation display unit may further be configured to:
[0125] In response to the end of the second trigger operation on the option control, cancel the display of the at least one quick operation option.
[0126] In an embodiment, the game scene editing device provided by the embodiments of the present application may further include:
[0127] An update unit, configured to, in response to a selection operation on a new target scene component, update the new target scene component to the object of action of the at least one quick operation option, so as to edit the new target scene component through the at least one quick operation option.
[0128] In an embodiment, the at least one quick operation option includes a first quick operation option, and the component editing unit 303 may further be configured to:
[0129] In response to a trigger operation for the first quick operation option, perform a component editing operation indicated by the first quick operation option on the target scene component.
[0130] In one embodiment, the at least one quick operation option includes a second quick operation option, and the component editing unit 303 can also be used for:
[0131] In response to a trigger operation for the second quick operation option, display an attribute configuration panel corresponding to the second quick operation option;
[0132] In response to an editing operation on the attribute configuration panel, determine attribute configuration information for the target scene component;
[0133] Edit the target scene component according to the attribute configuration information.
[0134] In one embodiment, the component editing operation corresponding to the quick operation option includes at least one of a deletion operation, a copy operation, an undo operation, a position adjustment, adding function code, editing the movement attribute of the target scene component, and applying a preset component attribute.
[0135] In one embodiment, the quick operation options are displayed in the form of an option list, and the game scene editing device provided in the embodiments of the present application may further include:
[0136] A list update unit, configured to adjust the quick operation options displayed in the option list in response to a sliding operation on the option list.
[0137] In one embodiment, the game scene editing device provided in the embodiments of the present application may further include:
[0138] An operation management unit, configured to display a quick operation management interface in response to a quick operation management event, where the quick operation management interface includes the quick operation options currently responding to the editing event;
[0139] An operation update unit, configured to update the quick operation options on the quick operation management interface in response to an option management operation on the quick operation management interface, so as to display the updated quick operation options on the quick operation management interface when responding to a new editing event.
[0140] In one embodiment, the operation update unit can also be used for:
[0141] In response to a display state setting operation for a third quick operation option in the quick operation management interface, update the display state of the third quick operation option, where the display state indicates whether to display the third quick operation option when responding to a new editing event.
[0142] In one embodiment, the operation update unit may further be configured to:
[0143] In response to a deletion operation on the fourth quick operation option in the quick operation management interface, delete the fourth quick operation option on the quick operation management interface.
[0144] In one embodiment, the operation update unit may further be configured to:
[0145] In response to an option addition operation on the quick operation management interface, add and display a new quick operation option on the quick operation management interface, so as to display the new quick operation option when responding to a new editing event.
[0146] In one embodiment, the operation update unit may further be configured to:
[0147] In response to an operation for adjusting the order of the quick operation options on the quick operation management interface, adjust the arrangement order of the quick operation options on the quick operation management interface, and the arrangement order is used to determine the arrangement order of the displayed quick operation options when responding to a new editing event.
[0148] As can be seen from the above, in the game scene editing device according to the embodiment of the present application, the interface display unit 301 displays a game scene editing interface of a target application, the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component; the option display unit 302 responds to an editing event for a target scene component in the scene components, and displays at least one quick operation option for the target scene component, and the quick operation option is filtered from the operation options provided by the target application; the component editing unit 303 responds to a trigger operation on a target quick operation option in the quick operation options, and edits the target scene component according to the target quick operation option, so as to generate a game scene based on the edited target scene component. It is possible to display quick operation options in response to an editing event, and the target scene component can be edited through the quick operation options, which improves the convenience of operation and further improves the editing efficiency of the game scene.
[0149] Correspondingly, the embodiment of the present application further provides a computer device, and the computer device may be a terminal. As Figure 6 shown Figure 6Schematic diagram of the structure of the computer device provided in the embodiment of the present application. The computer device 500 includes a processor 501 with one or more processing cores, a memory 502 with one or more computer-readable storage media, and a computer program stored on the memory 502 and executable on the processor. Among them, the processor 501 is electrically connected to the memory 502. Those skilled in the art can understand that the structure of the computer device shown in the figure does not constitute a limitation on the computer device, and it may include more or fewer components than shown in the figure, or combine some components, or have different component arrangements.
[0150] The processor 501 is the control center of the computer device 500, connecting various parts of the entire computer device 500 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 502, and calling data stored in the memory 502, it executes various functions of the computer device 500 and processes data, thereby monitoring the computer device 500 as a whole.
[0151] In the embodiment of the present application, the processor 501 in the computer device 500 will load the instructions corresponding to the processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 will run the application programs stored in the memory 502 to achieve various functions:
[0152] Display the game scene editing interface of the target application, where the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component;
[0153] In response to an editing event for a target scene component in the scene components, display at least one quick operation option for the target scene component, and the quick operation option is filtered from the operation options provided by the target application;
[0154] In response to a trigger operation for a target quick operation option in the quick operation options, edit the target scene component according to the target quick operation option, so as to generate a game scene based on the edited target scene component.
[0155] In one embodiment, among the quick operation options and the operation options provided by the target application that trigger the same component editing operation, the interaction path of the quick operation option is shorter than the interaction path of the operation option.
[0156] As can be seen from the above, in the embodiment of the present application, by displaying the game scene editing interface of the target application, the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component; in response to an editing event for a target scene component in the scene components, at least one quick operation option is displayed for the target scene component, and the quick operation option is filtered from the operation options provided by the target application; in response to a trigger operation for a target quick operation option in the quick operation options, the target scene component is edited according to the target quick operation option, so as to generate a game scene based on the edited target scene component. It is possible to display the quick operation options in response to the editing event, and the target scene component can be edited through the quick operation options, improving the convenience of operation and thus improving the editing efficiency of the game scene.
[0157] For the specific implementation of each of the above operations, reference may be made to the previous embodiments and will not be elaborated here.
[0158] Optionally, as Figure 6 shown, the computer device 500 further includes: a touch display screen 503, a radio frequency circuit 504, an audio circuit 505, an input unit 506, and a power supply 507. Among them, the processor 501 is electrically connected to the touch display screen 503, the radio frequency circuit 504, the audio circuit 505, the input unit 506, and the power supply 507 respectively. Those skilled in the art can understand that Figure 6 the computer device structure shown in
[0159] The touch display screen 503 can be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 503 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the computer device. These graphical user interfaces can be composed of graphics, text, icons, videos, and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can be used to collect touch operations of the user on or near it (such as operations of the user using any suitable object or accessory such as a finger or a stylus on or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute the corresponding program. Optionally, the touch panel can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 501, and can receive and execute the commands sent by the processor 501. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 501 to determine the type of touch event. Subsequently, the processor 501 provides a corresponding visual output on the display panel according to the type of touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 503 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two independent components to implement input and output functions. That is, the touch display screen 503 can also be used as part of the input unit 506 to implement the input function.
[0160] The radio frequency circuit 504 can be used to receive and transmit radio frequency signals to establish wireless communication with a network device or other computer devices through wireless communication, and receive and transmit signals with the network device or other computer devices.
[0161] The audio circuit 505 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 505 can transmit the electrical signal converted from the received audio data to the speaker, and the speaker converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 505 and then converted into audio data. After the audio data is output to the processor 501 for processing, it is sent through the radio frequency circuit 504 to, for example, another computer device, or the audio data is output to the memory 502 for further processing. The audio circuit 505 may also include an earphone jack to provide communication between the peripheral earphone and the computer device.
[0162] The input unit 506 can be used to receive input digital, character information or user feature information (such as fingerprints, irises, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0163] The power supply 507 is used to supply power to each component of the computer device 500. Optionally, the power supply 507 can be logically connected to the processor 501 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 507 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
[0164] Although Figure 6 not shown in the figure, the computer device 500 may further include a camera, a sensor, a Wi-Fi module, a Bluetooth module, etc., which will not be elaborated here.
[0165] In the above embodiments, the descriptions of the various embodiments have their own focuses. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0166] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0167] For this reason, the embodiments of the present application provide a computer-readable storage medium, in which multiple computer programs are stored. The computer programs can be loaded by a processor to execute the steps in any of the game scene editing methods provided by the embodiments of the present application. For example, the computer program can execute the following steps:
[0168] Display a game scene editing interface of a target application, where the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component;
[0169] In response to an editing event for a target scene component in the scene components, display at least one quick operation option for the target scene component, and the quick operation option is screened from the operation options provided by the target application;
[0170] In response to a trigger operation for a target quick operation option in the quick operation options, edit the target scene component according to the target quick operation option, so as to generate a game scene based on the edited target scene component.
[0171] In one embodiment, among the quick operation options and the operation options provided by the target application that trigger the same component editing operation, the interaction path of the quick operation options is shorter than that of the operation options.
[0172] As can be seen from the above, in the embodiment of the present application, by displaying a game scene editing interface of a target application, the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component; in response to an editing event for a target scene component in the scene components, at least one quick operation option is displayed for the target scene component, and the quick operation options are filtered from the operation options provided by the target application; in response to a trigger operation for a target quick operation option among the quick operation options, the target scene component is edited according to the target quick operation option, so as to generate a game scene based on the edited target scene component. It is possible to display quick operation options in response to an editing event, and the target scene component can be edited through the quick operation options, improving the convenience of operation and thus improving the editing efficiency of the game scene.
[0173] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, which will not be elaborated here.
[0174] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.
[0175] The above has introduced in detail a game scene editing method, device, computer device, and computer storage medium provided by the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A game scene editing method, characterized in that: include: Displaying a game scene editing interface of a target application, wherein the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component; In response to an editing event for a target scene component in the scene components, displaying at least one quick operation option for the target scene component, wherein the quick operation option is obtained by filtering operation options provided by the target application; In response to a triggering operation on a target shortcut operation option in the shortcut operation options, the target scene component is edited according to the target shortcut operation option so as to generate a game scene based on the edited target scene component.
2. The method according to claim 1, characterized in that In the shortcut operation option and the providing operation option of the target application that trigger the same component editing operation, the interaction path of the shortcut operation option is shorter than the interaction path of the operation option.
3. The method according to claim 1, characterized in that: The game scene editing interface also includes an option control, which, in response to an editing event for a target scene component in the scene components, displays at least one quick operation option for the target scene component, including: In response to the associated operation on the target scene component and the option control, the at least one quick operation option is displayed on the game scene editing interface.
4. The method according to claim 3, characterized in that The step of displaying the at least one quick operation option on the game scene editing interface in response to the associated operation on the target scene component and the option control comprises: In response to a first trigger operation on the target scene component, a second trigger operation on the option control is performed, and at least one quick operation option is displayed on the game scene editing interface.
5. The method according to claim 4, characterized in that The method further comprises: In response to a quick edit end event for the target scene component, the at least one quick operation option is canceled from being displayed.
6. The method according to claim 5, characterized in that During the continuation of the second trigger operation, the at least one quick operation option is kept displayed, and in response to the quick edit end event for the target scene component, the at least one quick operation option is canceled from being displayed, including: In response to the second trigger operation on the option control being completed, the at least one quick operation option is canceled from being displayed.
7. The method according to claim 5, characterized in that Before canceling the display of the at least one quick operation option, the method further includes: In response to a selection operation on a new target scene component, the new target scene component is updated as an action object of the at least one quick operation option, so that the new target scene component is edited through the at least one quick operation option.
8. The method according to claim 1, characterized in that The method further comprises: In response to a trigger operation on the target scene component, displaying a non-resident target operation option among the operation options provided by the target application on the game scene editing interface; The target operation options are displayed around the target scene component, or displayed at a designated location on the target scene editing interface.
9. The method according to claim 1, characterized in that: The at least one quick operation option includes a first quick operation option, and in response to a trigger operation on a target quick operation option in the quick operation options, editing the target scene component according to the target quick operation option includes: In response to a trigger operation on the first shortcut operation option, a component editing operation indicated by the first shortcut operation option is performed on the target scene component.
10. The method according to claim 1, characterized in that The at least one quick operation option includes a second quick operation option, and in response to a trigger operation on a target quick operation option in the quick operation options, editing the target scene component according to the target quick operation option includes: In response to a triggering operation on the second quick operation option, displaying a property configuration panel corresponding to the second quick operation option; In response to an editing operation on the property configuration panel, determining property configuration information for the target scene component; The target scene component is edited according to the attribute configuration information.
11. The method according to claim 1, characterized in that The component editing operation corresponding to the quick operation option includes at least one of a delete operation, a copy operation, an undo operation, a position adjustment, adding a function code, editing the movement properties of the target scene component, and applying preset component properties.
12. The method according to claim 1, characterized in that The quick operation options are displayed in the form of an option list, and the method further includes: In response to a sliding operation on the option list, the quick operation options displayed in the option list are adjusted.
13. The method according to any one of claims 1 to 12, characterized in that: The method further comprises: In response to the quick operation management event, displaying a quick operation management interface, the quick operation management interface including the quick operation options currently displayed in response to the editing event; In response to an option management operation on the shortcut operation management interface, the shortcut operation options on the shortcut operation management interface are updated, so that in response to a new editing event, the updated shortcut operation options on the shortcut operation management interface are displayed.
14. The method according to claim 13, characterized in that The updating of the quick operation options on the quick operation management interface in response to the option management operation on the quick operation management interface includes: In response to a display state setting operation for a third quick operation option in the quick operation management interface, the display state of the third quick operation option is updated, the display state indicating whether the third quick operation option is displayed in response to the new editing event.
15. The method according to claim 13, characterized in that The updating of the quick operation options on the quick operation management interface in response to the option management operation on the quick operation management interface includes: In response to a delete operation on a fourth quick operation option in the quick operation management interface, the fourth quick operation option is deleted on the quick operation management interface.
16. The method according to claim 13, characterized in that The updating of the quick operation options on the quick operation management interface in response to the option management operation on the quick operation management interface includes: In response to the option adding operation for the shortcut operation management interface, a new shortcut operation option is added and displayed on the shortcut operation management interface, so that the new shortcut operation option is displayed in response to the new editing event.
17. The method according to claim 13, characterized in that The updating of the quick operation options on the quick operation management interface in response to the option management operation on the quick operation management interface includes: In response to an order adjustment operation for the shortcut operation options on the shortcut operation management interface, the arrangement order of the shortcut operation options on the shortcut operation management interface is adjusted, and the arrangement order is used to determine the arrangement order of the shortcut operation options displayed when responding to the new editing event.
18. A game scene editing device, characterized in that: include: An interface display unit, used to display a game scene editing interface of a target application, wherein the game scene editing interface includes a virtual game scene to be edited, and the virtual game scene includes at least one scene component; An option display unit, configured to, in response to an edit event for a target scene component in the scene components, display at least one quick operation option for the target scene component, wherein the quick operation option is obtained by screening operation options provided by the target application; A component editing unit is used to edit the target scene component according to the target shortcut operation option in response to a trigger operation on a target shortcut operation option in the shortcut operation options, so as to generate a game scene based on the edited target scene component.
19. A computer device, characterized in that: It comprises a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the game scene editing method described in any one of claims 1 to 17.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is loaded by a processor to execute the game scene editing method described in any one of claims 1 to 17.