Component editing control method and device, program product and electronic equipment
By loading and editing game scene components in the graphical user interface in the game running mode, the problem of users being unable to freely edit components is solved, and a convenient personalized adjustment and immersive editing experience is achieved.
Patent Information
- Application Number
- CN202411055006.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-11-19
AI Technical Summary
In the game running mode, users cannot freely edit components and cannot meet users' personalized adjustment needs for game scenes in a timely manner.
By loading the target game scene in the graphical user interface, displaying the selection logo to determine the scene component model to be edited, and obtaining the corresponding editing information in response to the editing operation, component editing in the game running scenario, realizing free editing of the scene component model .
Component editing is achieved without returning to editing mode, which improves the convenience of game scene adjustment, meets users' personalized needs, and enriches the selection strategy of scene components, and improves the immersive editing experience.
Smart Images

Figure CN118976252A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a component editing control method, a component editing control device, a computer program product, and an electronic device. Background Art
[0002] Games have become one of the important ways for people to relax and entertain themselves in their daily lives. In some games, users are allowed to customize and edit scene components to build the game scenes they want.
[0003] In the related art, it is usually necessary to edit the scene components in the game scene in the editing mode to obtain the edited game scene, and then load the edited game scene in the running mode. In the running mode, the user cannot freely edit the components, and the user's personalized adjustment needs for the game scene cannot be met in a timely manner.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The present disclosure provides a component editing control method, a component editing control device, a computer program product and an electronic device, thereby overcoming, at least to a certain extent, the problems in the related art such as the inability of users to freely edit components in the running state and the inability to timely meet users' demands for personalized adjustment of game scenes.
[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0007] According to a first aspect of the present disclosure, a component editing control method is provided, the method comprising: loading a target game scene to display a first game running scene in a graphical user interface; the target game scene comprises one or more scene components; the first game running scene comprises a controlled virtual object and one or more scene component models corresponding to the one or more scene components; in response to a game running operation in the first game running scene, controlling the controlled virtual object to execute a game running process instruction; displaying a selection mark in the graphical user interface, and determining a scene component model to be edited from the scene component models in the first game running scene according to an aiming direction of the selection mark; in response to a first editing operation on the scene component model to be edited, obtaining first editing information corresponding to the scene component model to be edited; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited; and determining the edited target game scene according to the first editing information.
[0008] According to a second aspect of the present disclosure, a component editing control device is provided, the device comprising: a running scene display module, used to load a target game scene to display a first game running scene in a graphical user interface; the target game scene includes one or more scene components; the first game running scene includes a controlled virtual object and one or more scene component models corresponding to the one or more scene components; a virtual object control module, used to respond to a game running operation in the first game running scene and control the controlled virtual object to execute a game running process instruction; a component model selection module, used to display a selection mark in the graphical user interface, and determine a scene component model to be edited from the scene component models in the first game running scene according to the aiming direction of the selection mark; an editing information acquisition module, used to respond to a first editing operation on the scene component model to be edited, and acquire first editing information corresponding to the scene component model to be edited; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited; a game scene editing module, used to determine the edited target game scene according to the first editing information.
[0009] According to a third aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the component editing control method and possible implementation manners thereof of the above-mentioned first aspect are implemented.
[0010] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the component editing control method of the first aspect and its possible implementation methods.
[0011] The technical solution disclosed in this disclosure has the following beneficial effects:
[0012] In the above-mentioned component editing control process, the target game scene is loaded to display the first game running scene in the graphical user interface; the target game scene includes one or more scene components; the first game running scene includes a controlled virtual object and one or more scene component models corresponding to the one or more scene components; in response to the game running operation in the first game running scene, the controlled virtual object is controlled to execute the game running process instructions; a selection mark is displayed in the graphical user interface, and according to the aiming direction of the selection mark, the scene component model to be edited is determined from the scene component models in the first game running scene; in response to the first editing operation on the scene component model to be edited, the first editing information corresponding to the scene component model to be edited is obtained; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited; the edited target game scene is determined according to the first editing information. The present disclosure realizes free editing of scene component models in the game running scene, and the editing of components can be realized without returning to the editing mode, which can improve the convenience of game scene adjustment to a certain extent, and can promptly meet the user's personalized adjustment needs for the game scene; in addition, the present disclosure selects the scene component model to be edited based on the aiming direction of the selection mark, enriches the selection strategy of the scene component, and can improve the immersive editing experience of the scene component to a certain extent.
[0013] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0015] Figure 1 A system architecture diagram showing one of the exemplary embodiments of the present disclosure;
[0016] Figure 2A flowchart showing a component editing control method according to an exemplary embodiment of the present disclosure;
[0017] Figure 3A A schematic diagram showing an interface of a game scene being edited in one of the exemplary embodiments of the present disclosure;
[0018] Figure 3B A schematic diagram showing an interface of a game lobby scene in one of the exemplary embodiments of the present disclosure;
[0019] Figure 3C A schematic diagram of an interface for exiting a first game running scene according to one of the exemplary embodiments of the present disclosure is shown;
[0020] Figure 4A A schematic diagram showing an interface display of a selection mark in one of the exemplary embodiments of the present disclosure;
[0021] Figure 4B A schematic diagram showing an interface display of a paused state of a first game running scene in one of the exemplary embodiments of the present disclosure;
[0022] Figure 4C A schematic diagram showing an interface display of a property editing subcontrol in one of the exemplary embodiments of the present disclosure is shown;
[0023] Figure 4D A schematic diagram of an interface for performing mobile editing by moving a sub-control in one of the exemplary embodiments of the present disclosure is shown;
[0024] Figure 5 A schematic diagram showing movement control of a component control object when adsorption is triggered in one of the exemplary embodiments of the present disclosure;
[0025] Fig. 6A A schematic diagram showing an interface of a second editing control in one of the exemplary embodiments of the present disclosure;
[0026] Figure 6B A schematic diagram of an interface showing a control component controlling an object to approach or move away from a controlled virtual object in one of the exemplary embodiments of the present disclosure;
[0027] Figure 6C A schematic diagram showing an interface of a control component controlling the rotation of an object in one of the exemplary embodiments of the present disclosure;
[0028] Fig.6D A schematic diagram of an interface for controlling the zooming of an object by a control component in one of the exemplary embodiments of the present disclosure is shown;
[0029] Figure 7 A flowchart showing one of the exemplary embodiments of the present invention for editing a component by selecting a mark;
[0030] Figure 8 A structural block diagram showing a component editing control device according to one exemplary embodiment of the present invention;
[0031] Fig. 9 An electronic device for implementing the above-mentioned component editing control method is shown in one of the exemplary embodiments. DETAILED DESCRIPTION
[0032] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0033] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0034] Herein, “first”, “second”, etc. are labels for specific objects, but do not limit the number or order of the objects.
[0035] In the related art, in the running mode, users cannot freely edit components, and cannot meet the user's personalized adjustment needs for the game scene in a timely manner. In addition, users usually select the scene component to be edited from the game editing scene through the point-and-click operation of the interface. The process of hitting the scene component is relatively direct, and it is difficult for users to have an immersive editing experience.
[0036] In view of one or more of the above problems, exemplary embodiments of the present disclosure provide a component editing control method, a component editing control apparatus, a computer program product, and an electronic device.
[0037] In one embodiment of the present disclosure, the component editing control method can be run on a local terminal device or a server. When the component editing control method is run on a server, the component editing control method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0038] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the running body of the game program and the game screen presentation body are separated. The storage and operation of the component editing control method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud executes the component editing control method. When playing the game, the user operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0039] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the user through a graphical user interface, that is, the game program is downloaded and installed and run by an electronic device in a conventional manner. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the user through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0040] like Figure 1 As shown, a system architecture diagram is provided, which may specifically include a game editing environment 101 and a game running environment 102. Optionally, the target game scene can be loaded in an editing mode in the game editing environment 101 to display the game editing scene in a graphical user interface, and the user can use the editing function to edit the target game scene in this environment. Optionally, the target game scene can be loaded in an operating mode in the game running environment 102 to display a first game running scene in a graphical user interface, and the user can control the controlled virtual character to play in the target game scene. Among them, the game editing scene and the first game running scene can be different states of the same game scene, and the two have a corresponding relationship.
[0041] In an optional implementation, the game running environment 102 may also be a game running environment that supports editing, and the first game running scene displayed in the graphical user interface may be in a first preset state or a second preset state. The first preset state may be, for example, a pause state 103; and the second preset state may be, for example, a running state 104.
[0042] Optionally, when the first game running scene is in a paused state, the movement device component in the first game scene may be in a paused state to ensure the user's editing experience and editing effect and enhance the range of editable content in the target game scene.
[0043] The present disclosure provides a component editing control method, such as Figure 2 As shown, the following steps S210 to S250 may be specifically included:
[0044] Step S210, loading a target game scene to display a first game running scene in a graphical user interface; the target game scene includes one or more scene components; the first game running scene includes a controlled virtual object and one or more scene component models corresponding to the one or more scene components;
[0045] Step S220, in response to the game running operation in the first game running scene, controlling the controlled virtual object to execute the game running process instruction;
[0046] Step S230, displaying a selection mark in the graphical user interface, and determining the scene component model to be edited from the scene component models in the first game running scene according to the aiming direction of the selection mark;
[0047] Step S240, in response to the first editing operation on the scene component model to be edited, obtaining first editing information corresponding to the scene component model to be edited; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited;
[0048] Step S250, determining the edited target game scene according to the first editing information.
[0049] During the above-mentioned component editing and control process, free editing of the scene component model is realized in the game running scene. The component can be edited without returning to the editing mode, which can improve the convenience of game scene adjustment to a certain extent and can promptly meet the user's personalized adjustment needs for the game scene; the scene component model to be edited is selected based on the aiming direction of the selection mark, which enriches the selection strategy of the scene component and can improve the immersive editing experience of the scene component to a certain extent.
[0050] Below Figure 2Each step in the procedure is described in detail.
[0051] In step S210, the target game scene is loaded to display the first game running scene in the graphical user interface; the target game scene includes one or more scene components; the first game running scene includes a controlled virtual object and one or more scene component models corresponding to the one or more scene components.
[0052] Among them, the target game scene refers to the virtual space in the game, including but not limited to game maps, levels, copies, towns, manors and other scenes, which can be constructed by one or more scene components, such as "block components", "large floor" components, "small floor" components, "ring components", "round table components", etc. Exemplarily, the target game scene can be a game scene that comes with the game program, or a game scene that has been edited by the user, or a game scene that has been edited by other users, which is not specifically limited in this disclosure. For example, the target game scene can be a game editing scene, and the game editing scene includes scene components set in the scene according to the editing instructions. In the game editing scene, the user can edit different event logics, motion logics, etc. for the game editing scene, so that when the game editing scene is run to obtain the first game running scene, a dynamic game running scene can be obtained by running the event logic and motion logic. Through these event logics, motion logics, etc., the controlled virtual object controlled by the player can trigger these event logics, motion logics, etc. in the first game running scene to complete the corresponding game interactive behavior.
[0053] Among them, the first game running scene is a game running scene that can support scene component model editing, and may include a controlled virtual object and one or more scene component models corresponding to one or more scene components.
[0054] The controlled virtual object refers to a dynamic object placed in a game running scene (including the first game running scene and / or the second game running scene) and controlled by a terminal device to perform various game behaviors in the game running scene. The first game running scene is a game running scene that supports scene component model editing, and the second game running scene is a game running scene that does not support scene component model editing.
[0055] In an optional embodiment, the target game scene can be displayed in a graphical user interface; loading the target game scene in step S210 to display the first game running scene in the graphical user interface can be achieved by the following steps: responding to a first running trigger instruction, loading the target game scene to display the first game running scene in the graphical user interface.
[0056] Among them, the first running trigger instruction refers to an instruction for controlling the display of the first game running scene.
[0057] Exemplarily, in response to the first run trigger instruction, the target game scene can be loaded in the run mode, and the game scene presented thereby can be referred to as the first game run scene. Figure 3A When the target game scene is the game scene being edited, by clicking the "try" control 301, the first run trigger instruction is triggered to control the running of the game scene currently being edited to obtain the first game running scene; when the target game scene is the manor system provided by the game program, the manor system in the game usually refers to a virtual manor or base owned and managed by the players in the game. This system usually allows players to build, decorate and manage their manors, and sometimes also includes planting, breeding and other resource management activities, such as Figure 3B In the lobby scene provided by the game, players can trigger the first run trigger instruction through the manor control to control entry into the running manor scene.
[0058] By controlling and displaying the first game running scene, the user can customize and adjust the target game scene during the game, thereby meeting the user's needs for timely adjusting the target game scene.
[0059] In an optional implementation, the edited target game scene may be displayed in a graphical user interface in response to the first run end instruction.
[0060] Among them, the first running end instruction refers to an instruction for controlling the end of displaying the first game running scene.
[0061] For example, in response to the first run trigger instruction, the target game scene can be loaded to display the first game run scene in the graphical user interface; in response to the first run end instruction, the edited target game scene can be controlled to be displayed in the graphical user interface. Figure 3C As shown, an end control is displayed in the graphical user interface displaying the first game running scene. By clicking the "Exit" control 303, the first running end instruction is triggered, and the control exits from the currently running first game running scene to the target game scene, for example, the game editing scene.
[0062] By responding to the first running end instruction, the edited target game scene is controlled to be displayed in the graphical user interface, and the edits made in the first game running scene can be fed back to the target game scene for subsequent use.
[0063] In an optional implementation, the above-mentioned display of the target game scene in the graphical user interface can be achieved through the following steps: displaying a game editing scene in the graphical user interface; the game editing scene is the target game scene loaded in the editing mode.
[0064] The game editing scene and the first game running scene may be different states of the target game scene, and the two have a corresponding relationship. For example, the user may select a target game scene for editing in the interface of the game editing function, triggering the target game scene to be entered in the editing mode, and the target game scene thus presented may be referred to as the game editing scene.
[0065] By displaying the game editing scene, a special editing environment can be provided for editing the target game scene, which can be applicable to the editing process of the newly created game scene.
[0066] In an optional implementation, a second run trigger instruction in the game editing scene can be responded to to control the display of a second game run scene in the graphical user interface; the second game run scene is the target game scene loaded in the run mode.
[0067] The second game running scene is a game running scene that does not support scene component model editing. The game editing scene and the second game running scene can be different states of the target game scene, and the two have a corresponding relationship.
[0068] Among them, the second running trigger instruction refers to an instruction for controlling the display of the second game running scene.
[0069] Exemplarily, in response to the second run trigger instruction, the target game scene can be loaded in the run mode, and the game scene thus presented can be referred to as the second game run scene.
[0070] By controlling and displaying the second game running scene, the user's pure gaming needs can be met.
[0071] Exemplarily, two operation modes, a first operation mode and a second operation mode, may be pre-configured in the setting interface. The first operation mode may be, for example, a sandbox operation mode, and the second operation mode may be, for example, a normal operation mode. The first operation trigger instruction may use the first operation mode to enter the trial play scene. The second operation trigger instruction may use the second operation mode to enter the trial play scene. The trial play scene entered by the first operation trigger instruction includes start and pause controls, component bars, etc. to implement the functions in the first game operation scene; the trial play scene entered by the second operation trigger instruction does not include controls such as start and pause controls and component bars.
[0072] The pause control can be used to control the first game scene to switch from a running state to a pause state.
[0073] In step S220, in response to the game running operation in the first game running scene, the controlled virtual object is controlled to execute the game running process instructions.
[0074] Among them, the game running operation can be an operation of controlling the controlled virtual character to perform a certain game behavior.
[0075] For example, in response to the touch operation on the game behavior control control, the controlled virtual object can be controlled to perform the corresponding game behavior in the game running scene. The game behavior may include but is not limited to: one or more of moving, jumping, rolling, lifting, squatting, lying down, and releasing skills.
[0076] Exemplarily, when the first game running scene is in a second preset state (eg, running state), in response to a game running operation in the first game running scene, the controlled virtual object can be controlled to execute game running process instructions.
[0077] In an optional embodiment, in step S220, in response to the game running operation in the first game running scene, controlling the controlled virtual object to execute the game running process instructions can be achieved by the following steps: when the first game running scene is in the second preset state, controlling the first game running scene to execute the first operation instruction; when the first game running scene is in the first preset state, controlling the first game running scene not to execute the first operation instruction.
[0078] Among them, the first operation instruction may include at least one of the following: an environmental change instruction of the first game running scene, an automatic operation instruction of at least one scene component model in the first game running scene, and an operation instruction made by at least one scene component model in the first game running scene in response to the interactive behavior of a controlled virtual object.
[0079] Specifically, when the first game running scene is in the running state, the first game running scene can be controlled to execute the first running instruction to facilitate the user to play the game; when the first game running scene is in the paused state, the first game running scene can be controlled not to execute the first running instruction to facilitate the user to edit.
[0080] In an optional implementation, the game running operation may be an operation performed through a skill control; when the first game running scene is in a first preset state, at least part of the skill control may be hidden to reduce redundant information in the interface.
[0081] Exemplarily, when the first game running scene is in a paused state, at least part of the skill controls can be hidden, and the first editing control can be displayed at the display position of the skill control or at a preset position of the graphical user interface, so as to leave interface space to display the first editing control, thereby facilitating the user's editing operations.
[0082] In an optional implementation, when the first game running scene is in the second preset state, in response to a movement control operation on the controlled virtual object, the controlled virtual object can be controlled to move under physical collision or gravity.
[0083] For example, when the first game running scene is in the running state, the controlled virtual object can be controlled to move under physical collision or gravity in response to the movement control operation of the controlled virtual object. The movement control operation of the controlled virtual object can be, for example, a movement control operation of a virtual joystick, and the controlled virtual object can be controlled to move, turn, etc. on the support plane formed by the scene component model through the virtual joystick.
[0084] By controlling the controlled virtual object to move under physical collision or gravity, various game behaviors are performed at different positions of the first game running scene.
[0085] In an optional embodiment, in response to a movement control operation on the controlled virtual object, the controlled virtual object can be controlled to move in the game running scene; according to the movement state of the controlled virtual object, a virtual camera associated with the controlled virtual object can be controlled to move in the game running scene; the virtual camera is placed in the game running scene to shoot the game running scene to form a game screen.
[0086] Optionally, in response to the operation pause instruction, the first game operation scene can be controlled to enter the first preset state from the second preset state, that is, from the operation state to the pause state. Optionally, when the first game operation scene is in the pause state, a prompt message identical or similar to "World Paused" can be displayed, such as Figure 4A shown.
[0087] In step S230, a selection mark is displayed in the graphical user interface, and according to the aiming direction of the selection mark, the scene component model to be edited is determined from the scene component models in the first game running scene.
[0088] The selection mark may be in the shape of a star, a circle, a pentagon, etc., which is not specifically limited in the present disclosure. Optionally, the selection mark may be a crosshair corresponding to the controlled virtual character.
[0089] Optionally, when the first game running scene is in the first preset state, a selection mark may be displayed in the graphical user interface. Exemplarily, when the first game running scene is in a paused state, a selection mark may be displayed in the graphical user interface, such as Figure 4A As shown in the selection mark 410, the user can freely select the scene component model to be edited.
[0090] Optionally, the selection mark may be configured to move according to the movement of the controlled virtual object.
[0091] Optionally, the selection mark may be displayed by default at a preset position of the game screen captured by the virtual camera, for example, the center of the game screen.
[0092] Optionally, in response to a movement control operation acting on the selection marker, the selection marker may be controlled to move so as to aim at the scene component model.
[0093] Optionally, in response to a field of view adjustment instruction, the aiming position of the selection mark or the orientation of the controlled virtual object can be controlled and adjusted so that the user can freely select the scene component model to be edited.
[0094] In step S240, in response to the first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited.
[0095] In an optional embodiment, the above-mentioned response to the first editing operation on the scene component model to be edited and obtaining the first editing information corresponding to the scene component model to be edited can be achieved through the following steps: when the first game running scene is in a first preset state, respond to the first editing operation on the scene component model to be edited and obtain the first editing information corresponding to the scene component model to be edited.
[0096] Specifically, when the first game running scene is in a paused state, the first editing operation on the scene component model to be edited can be responded to, and the first editing information corresponding to the scene component model to be edited can be obtained to ensure the editing effect.
[0097] In an optional embodiment, when the scene component model to be edited is determined, a first editing control is displayed to minimize obstruction of the interface; in step S240, in response to the first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained, which can be achieved through the following steps: In response to the first editing operation performed through the first editing control, the first editing information corresponding to the scene component model to be edited is obtained.
[0098] The first editing operation refers to an editing operation performed on the first editing control.
[0099] Exemplarily, the first editing control may include, but is not limited to: a first sub-control (e.g. Figure 4B ), the second child control (for example Figure 4B Mobile controls in ), third child controls (such as Figure 4B ), the fourth child control (for example Figure 4B Delete control in ), etc.
[0100] In an optional embodiment, the above-mentioned response to the first editing operation performed through the first editing control and obtaining the first editing information corresponding to the scene component model to be edited can be achieved through the following steps: in response to the first editing operation performed through the first editing control, a component control object corresponding to the scene component model to be edited is generated in the first game running scene; in response to the editing operation on the component control object, the editing of the component control object is controlled to obtain the first editing information corresponding to the scene component model to be edited.
[0101] Among them, the component control object corresponding to the scene component model to be edited can be presented with visual effects such as phantom and highlight to prompt the user of the current editing object. The component control object can be a control object in an editable state. By generating a component control object corresponding to the scene component model to be edited, the scene component model to be edited can be in an editable state. At this time, other scene component models are in an uneditable state. The scene component model selected by the switching selection mark can be edited, so that the user's editing operation can be carried out smoothly and orderly.
[0102] In an optional embodiment, the above-mentioned first editing control includes a first sub-control, which responds to the first editing operation performed through the first editing control and generates a component control object corresponding to the scene component model to be edited in the first game running scene. This can be achieved through the following steps: in response to the touch operation of the first sub-control, the component control object of the scene component model to be edited is generated according to the position of the controlled virtual object, and the scene component model to be edited is retained.
[0103] Optionally, the first child control is Figure 4B As shown in the copy control in , by responding to the touch operation of the mobile control, the component control object of the scene component model to be edited is generated according to the position of the controlled virtual object, and the scene component model to be edited is retained. Exemplarily, when the component control object of the scene component model to be edited is generated according to the position of the controlled virtual object, the component control object can be displayed with the perspective effect of the controlled virtual character holding the component control object, so as to copy the scene component model to be edited.
[0104] Optionally, the first child control is Figure 4B As shown in the copy control in , by responding to the touch operation of the mobile control, a component control object of the scene component model to be edited is generated according to the aiming position of the selection mark, and the scene component model to be edited is retained.
[0105] Optionally, the first child control is Figure 4B As shown in the copy control in , by responding to the touch operation of the mobile control, a component control object of the scene component model to be edited is generated according to the position of the scene component model to be edited, and the scene component model to be edited is retained.
[0106] In an optional embodiment, the above-mentioned first editing control includes a second sub-control, which responds to the first editing operation performed through the first editing control and generates a component control object corresponding to the scene component model to be edited in the first game running scene. This can be achieved by the following steps: in response to the touch operation of the second sub-control, the component control object of the scene component model to be edited is generated according to the position of the controlled virtual object, and the scene component model to be edited is hidden.
[0107] Optionally, the second subcontrol is Figure 4B As shown in the mobile control in the figure, by responding to the touch operation of the mobile control, the component control object of the scene component model to be edited is generated according to the position of the controlled virtual object, and the scene component model to be edited is hidden. Exemplarily, when the component control object of the scene component model to be edited is generated according to the position of the controlled virtual object, the component control object can be displayed with the perspective effect of the controlled virtual character holding the component control object, so as to move and edit the scene component model to be edited.
[0108] Optionally, the second subcontrol is Figure 4B As shown in the mobile control in , by responding to the touch operation of the mobile control, according to the aiming position of the selection mark, the component control object of the scene component model to be edited is generated, and the scene component model to be edited is hidden.
[0109] Optionally, the second subcontrol is Figure 4B As shown in the mobile control in , by responding to the touch operation of the mobile control, a component control object of the scene component model to be edited is generated according to the position of the scene component model to be edited, and the scene component model to be edited is hidden.
[0110] In an optional embodiment, the above-mentioned first editing control includes a third sub-control, which responds to the first editing operation performed through the first editing control and generates a component control object corresponding to the scene component model to be edited in the first game running scene. This can be achieved through the following steps: in response to the touch operation of the third sub-control, control the generation of the component control object of the scene component model to be edited according to the position of the controlled virtual object, and display the property editing sub-control; wherein, the property editing sub-control is used to edit the properties of the component control object.
[0111] Optionally, a third subcontrol such as Figure 4B As shown in the editing control in, in response to the touch operation of the third sub-control, the component control object of the scene component model to be edited is controlled according to the position of the controlled virtual object, and the property editing sub-control is displayed to edit the properties of the scene component model to be edited.
[0112] Optionally, a third subcontrol such as Figure 4BAs shown in the editing control in, in response to the touch operation of the third sub-control, according to the aiming position of the selection mark, the component control object of the scene component model to be edited is controlled to be generated, and the property editing sub-control is displayed.
[0113] Optionally, a third subcontrol such as Figure 4B As shown in the editing control in, in response to the touch operation of the third sub-control, according to the position of the scene component model to be edited, the component control object of the scene component model to be edited is controlled to be generated, and the property editing sub-control is displayed.
[0114] For example, Figure 4C As shown, a schematic diagram of the interface display of a property editing sub-control is provided. The above-mentioned property editing sub-control may include any one or more of the following: moving sub-control, mirroring sub-control, scaling sub-control, rotating sub-control, advanced settings, etc.
[0115] In an optional implementation, the above-mentioned response to the editing operation of the component control object and obtaining the first editing information corresponding to the scene component model to be edited can be achieved by the following steps: in response to the touch operation of moving the sub-control, displaying the coordinate axis options, the coordinate axis options include three coordinate axes corresponding to the component control object; in response to selecting a target coordinate axis from the coordinate axis options, controlling the component control object to move along the target coordinate axis in the game running scene; according to the moving state of the component control object, determining the first editing information corresponding to the scene component model to be edited. For example, Figure 4D As shown, a schematic diagram of an interface for mobile editing by moving sub-controls is provided.
[0116] By selecting the coordinate axis, the component control object can be freely adjusted in three-dimensional space to flexibly meet the different adjustment needs of users.
[0117] Exemplarily, in response to a touch operation on the third sub-control, a property editing sub-control may be displayed. When the property editing sub-control is displayed, the control component controls the object not to move following the movement of the controlled virtual object.
[0118] Optionally, when the property editing sub-control is displayed, the display of the edit confirmation sub-control and the edit cancel sub-control can be controlled to save or cancel the current edit.
[0119] In an optional embodiment, the above-mentioned first editing control includes a fourth sub-control, and responds to the first editing operation performed through the first editing control to obtain the first editing information corresponding to the scene component model to be edited. This can be achieved through the following steps: responding to the touch operation on the fourth sub-control to obtain the first editing information corresponding to the scene component model to be edited; the first editing information includes deletion editing information.
[0120] Optionally, a fourth subcontrol such as Figure 4B As shown in the delete control in, in response to the touch operation on the fourth sub-control, the component control object is controlled to be removed, and the scene component model to be edited corresponding to the component control object is deleted to realize the deletion and editing of the scene component model.
[0121] In an optional embodiment, in response to a component adding operation in the first game running scene, the scene component to be added can be determined, and the first editing information corresponding to the scene component to be added can be obtained; the first editing information corresponding to the scene component to be added is used to add the scene component to be added in the target game scene.
[0122] Exemplarily, when the first game running scene is in a first preset state, it can respond to a component adding operation in the first game running scene, determine the scene component to be added, and obtain first editing information corresponding to the scene component to be added.
[0123] Optionally, when the scene component to be added is determined, a scene component model to be added corresponding to the scene component to be added may be generated in the first game running scene according to the first editing information corresponding to the scene component to be added.
[0124] Through the component adding operation, users can flexibly add the required scene component models in the first game running scene according to personal needs.
[0125] In an optional embodiment, the above-mentioned response to the component adding operation in the first game running scene and determination of the scene component to be added can be achieved through the following steps: displaying one or more scene component controls in a graphical user interface; responding to a component selection operation in the scene component control, determining a target scene component control in the scene component control, and determining the scene component corresponding to the target scene component control as the scene component to be added.
[0126] Exemplarily, in response to a component selection operation in a scene component control, the selected scene component control may be used as a target scene component control, and the scene component corresponding to the target scene component control may be determined as the scene component to be added.
[0127] Optionally, displaying one or more scene component controls in a graphical user interface can be achieved by the following steps: displaying a scene component control bar in a graphical user interface, the scene component control bar including one or more scene component controls, for example, Figure 4B When the scene component control bar is displayed in the graphical user interface: the scene component control bar can be adjusted in response to the adjustment operation of the scene component control bar. Exemplarily, the type, order, quantity, etc. of the scene component control in the scene component control bar can be adjusted, and the present disclosure does not specifically limit this.
[0128] Optionally, displaying one or more scene component controls in a graphical user interface can be achieved by the following steps: when the first game running scene is in a first preset state, displaying one or more scene component controls in the graphical user interface, so that when the first game running scene is in a paused state, the user can perform a component adding operation at any time, thereby improving the convenience of user operation.
[0129] In an optional embodiment, the above-mentioned acquisition of the first editing information corresponding to the scene component to be added can be achieved through the following steps: generating a component control object corresponding to the scene component to be added in the first game running scene according to the aiming direction of the selection identifier or the direction of the controlled virtual object in the first game running scene; responding to the editing operation of the component control object, controlling the editing of the component control object to obtain the first editing information corresponding to the scene component to be added.
[0130] Exemplarily, a component control object corresponding to the scene component to be added may be generated in the first game running scene according to the aiming direction of the selection marker.
[0131] Exemplarily, a component control object corresponding to the scene component to be added may be generated in the first game running scene according to the position of the controlled virtual object in the first game running scene.
[0132] After the component control object corresponding to the scene component to be added is generated, the editing operation on the component control object can be responded to, the component control object can be controlled to be edited, and the first editing information corresponding to the scene component to be added can be obtained.
[0133] Optionally, when the generation source of the component control object is the scene component to be added, it is possible to control the establishment of an association relationship between the controlled virtual object and the component control object; in response to an editing operation on the component control object, the component control object is controlled to be edited.
[0134] Optionally, after establishing an association relationship between the controlled virtual object and the component control object, the component control object may be controlled to follow the controlled virtual object to move in the game running scene in response to a movement control operation on the controlled virtual object.
[0135] When the component control object is generated from a scene component model to be edited or a scene component to be added, in an optional implementation, in response to an editing operation on the component control object, before controlling the editing of the component control object, the following steps may also be performed: controlling the establishment of an association relationship between the controlled virtual object and the component control object.
[0136] Optionally, in order to more intuitively display the association relationship between the controlled virtual object and the component control object, a connection effect may be generated between the controlled virtual object and the component control object.
[0137] By establishing an association relationship between the controlled virtual object and the component control object, the controlled virtual object can present a visual effect of controlling the editing component model, thereby enhancing the user's immersive editing experience.
[0138] In an optional embodiment, the above-mentioned control establishes an association relationship between the controlled virtual object and the component control object, which can be achieved through the following steps: determining the distance between the controlled virtual object and the component control object; if the distance between the controlled virtual object and the component control object is less than a first preset distance threshold, controlling to establish an association relationship between the controlled virtual object and the component control object.
[0139] The first preset distance threshold may be a pre-set threshold for limiting the distance between the controlled virtual object and the component control object, which may create an editing experience for the user in which control failure may occur due to a too long distance.
[0140] In an optional implementation, after the control establishes an association relationship between the controlled virtual object and the component control object, the component control object can be controlled to move with the controlled virtual object in the game running scene in response to a movement control operation on the controlled virtual object.
[0141] Exemplarily, when the first game running scene is in a first preset state, the control establishes an association relationship between the controlled virtual object and the component control object; in response to the movement control operation of the controlled virtual object, the component control object is controlled to follow the controlled virtual object to move in the game running scene, so as to realize the movement editing of the component control object.
[0142] In an optional implementation, in response to adjusting the aiming position of the selection mark or the orientation of the controlled virtual object, the control component controls the object to move following the aiming position of the selection mark or the orientation of the controlled virtual object.
[0143] Exemplarily, in response to adjusting the aiming position of the selection mark, the control component controls the object to move following the aiming position of the selection mark, so that the movement editing of the component control object is realized through the selection mark.
[0144] For example, in response to adjusting the orientation of the controlled virtual object, the control component control object may move following the orientation of the controlled virtual object, so that the movement editing of the component control object is achieved by controlling the orientation of the controlled virtual character.
[0145] In an optional embodiment, in response to adjusting the aiming position of the selection identifier or the orientation of the controlled virtual object, the control component controls the object to move following the aiming position of the selection identifier or the orientation of the controlled virtual object, which can be achieved through the following steps: in response to adjusting the aiming position of the selection identifier, determine whether the component control object triggers grid adsorption or component stack adsorption; if the component control object triggers grid adsorption or component stack adsorption, determine whether the component control object is within a preset range of the aiming position of the selection identifier; if the component control object is within the preset range of the aiming position of the selection identifier, control the component control object not to move; if the component control object is not within the preset range of the aiming position of the selection identifier, control the component control object to move according to the aiming position of the selection identifier.
[0146] Among them, grid adsorption can be the adsorption of the component control object onto the scene grid line that is closest to it and the distance value is less than a specific preset threshold, and component stack adsorption can be the adsorption of the component control object onto other scene component models that are closest to it and the distance value is less than a specific preset threshold. Among them, the preset range can be an area range of a specific shape centered on the selection mark, and the area can be a circle, an ellipse, etc., and the present disclosure does not specifically limit this. It can be understood that the size of the preset range can be used to limit the adsorption strength, and the larger the range, the greater the adsorption strength.
[0147] For example, Figure 5 As shown, a schematic diagram of the movement control of the component control object when adsorption is triggered is provided. If the component control object 501 triggers grid adsorption or component stack adsorption during movement, it can be determined whether the component control object 501 is within the preset range 502 of the selection mark; if the component control object 501 is within the preset range 502 of the selection mark, the component control object 501 can be controlled not to move; if the component control object 501 is not within the preset range 502 of the selection mark, the component control object 501 is controlled to move to the selection mark, thereby providing a certain fault tolerance space for the user's movement operation.
[0148] When the generation source of the component control object is a scene component model to be edited or a scene component to be added, in an optional implementation, in response to an editing operation on the component control object, controlling the editing of the component control object can be achieved through the following steps: controlling the display of a second editing control, and controlling the editing of the component control object in response to a second editing operation performed through the second editing control.
[0149] The second editing operation refers to an editing operation performed on the second editing control.
[0150] For example, the second editing control may be controlled to be displayed in response to a touch operation on the first sub-control or the second sub-control in the first editing control. Figure 4B In the copy control, the second child control can be, for example Figure 4B Mobile controls in .
[0151] Exemplarily, the second editing control may include a distance editing sub-control, a rotation editing sub-control, a zoom editing sub-control, an editing confirmation sub-control, an editing cancellation sub-control, and the like.
[0152] Exemplarily, after establishing an association relationship between the controlled virtual object and the component control object, the second editing control may be controlled to be displayed, and in response to a second editing operation performed through the second editing control, the component control object may be controlled to be edited. Fig. 6A As shown, a schematic diagram of the interface of a second editing control is provided, which can generate a connection effect 601 between the controlled virtual object and the component control object to indicate that an association relationship is established between the controlled virtual object 610 and the component control object 620.
[0153] Optionally, when controlling the display of the second editing control, at least a portion of the first editing control may be hidden to avoid redundancy of interface information.
[0154] In an optional embodiment, the second editing control includes a distance editing sub-control, and the above-mentioned response to the second editing operation performed through the second editing control to control the editing of the component control object can be achieved through the following steps: in response to the editing operation on the distance editing sub-control, the component control object is controlled to move closer to or away from the controlled virtual object, and the position of the controlled virtual object remains unchanged.
[0155] Among them, the distance editing sub-control can be used to control the distance of the component control object relative to the controlled virtual object.
[0156] For example, Figure 6B As shown, a schematic diagram of an interface for controlling a component control object to move closer to or away from a controlled virtual object is provided. The component control object can be flexibly controlled to move toward or away from the controlled virtual object through the distance editing sub-control 602, thereby realizing the movement editing of the component control object.
[0157] In an optional embodiment, the above-mentioned response to the editing operation on the distance editing sub-control, the control component controls the object to approach or move away from the controlled virtual object, which can be achieved through the following steps: in response to the move editing operation of the distance editing sub-control, determine whether the component controls the object to trigger grid adsorption or component stack adsorption; if the component controls the object to trigger grid adsorption or component stack adsorption, determine whether the move editing distance corresponding to the distance editing sub-control is greater than a second preset distance threshold; if the move editing distance corresponding to the distance editing sub-control is less than or equal to the second preset distance threshold, the control component controls the object not to move; if the move editing distance corresponding to the distance editing sub-control is greater than the second preset distance threshold, the control component controls the object to move to approach or move away from the controlled virtual object.
[0158] Among them, grid adsorption can be adsorbing the component control object to the scene grid line that is closest to it and the distance value is less than a specific preset threshold, and component stack adsorption can be adsorbing the component control object to other scene component models that are closest to it and the distance value is less than a specific preset threshold. It can be understood that the second preset distance threshold can be used to limit the adsorption strength, and the larger the value, the greater the adsorption strength.
[0159] Whether the control component controls the object to move is determined by the second preset distance threshold, thereby providing a certain error tolerance for the user's movement operation.
[0160] In an optional embodiment, the above-mentioned response to the second editing operation performed through the second editing control to control the editing of the component control object can be achieved through the following steps: in the process of controlling the movement of the component control object, if the control of the component control object triggers grid adsorption or component stack adsorption; in response to the editing operation on the distance editing sub-control, the component control object is not controlled to move; at this time, in response to the viewing angle adjustment operation, the component control object can be controlled to release the grid adsorption or component stack adsorption, and after the component control object releases the grid adsorption or component stack adsorption, it can respond to the editing operation on the distance editing sub-control to control the component control object to move.
[0161] For example, if component stacking adsorption is triggered between component control object A and other scene component model B (for example, the ground), it will not respond to the editing operation of the distance editing sub-control at this time; in response to the viewing angle adjustment operation, the component control object A and other scene component model B can be controlled to release the component stacking adsorption, and at this time, in response to the editing operation of the distance editing sub-control, the component control object can be controlled to move to the corresponding position.
[0162] Exemplarily, in response to the viewing angle adjustment operation, the component control object can be controlled to move to change the position of the component control object A on other scene component models B (e.g., the ground). Optionally, when the viewing angle is raised to a preset height, if the ray from the controlled virtual object to the component control object does not intersect with other scene component models B, the component control object A can be controlled to suspend. Optionally, when the viewing angle is raised to a preset height, based on the distance between the controlled virtual object and the component control object set by the distance editing subcontrol, does not intersect with other scene component models B, the component control object A can be controlled to suspend.
[0163] In an optional embodiment, the second editing control includes a rotation editing sub-control, and the above-mentioned response to the second editing operation performed through the second editing control to control the editing of the component control object can be achieved through the following steps: in response to the editing operation on the rotation editing sub-control, a rotation direction indicator and a current adjustment progress are displayed in the associated area of the rotation editing sub-control to control the rotation of the component control object.
[0164] Among them, the rotation edit subcontrol can be used to control the component control object to rotate.
[0165] For example, Figure 6C As shown, a schematic diagram of an interface for controlling the rotation of a component control object is provided. The rotation axis can be selected through the rotation editing sub-control 603 to flexibly control the component control object to rotate counterclockwise or clockwise around the rotation axis, thereby realizing rotation control of the component control object.
[0166] In an optional embodiment, the second editing control includes a zoom editing sub-control, and the above-mentioned response to the second editing operation performed through the second editing control controls the editing of the component control object, which can be achieved through the following steps: in response to the touch operation on the zoom editing sub-control, controls the component control object to scale based on the center position of the component control object.
[0167] Among them, the zoom edit subcontrol can be used to control the component control object to zoom in or out.
[0168] For example, Fig.6D As shown, a schematic diagram of an interface for controlling the scaling of a component control object is provided. The scaling edit subcontrol 604 can be used to flexibly control the scaling of the component control object based on the center position of the component control object, thereby achieving scaling control of the component control object.
[0169] In an optional embodiment, the second editing control includes an editing confirmation sub-control, and the above-mentioned response to the second editing operation performed through the second editing control controls the editing of the component control object, which can be achieved through the following steps: In response to the touch operation on the editing confirmation sub-control, according to the current editing state of the component control object, the component control object is converted into a scene component model.
[0170] The edit confirmation subcontrol may be used to control and save the edit processing performed on the component control object.
[0171] For example, Fig. 6A As shown in the edit confirmation sub-control 605 in the figure, in response to the touch operation on the edit confirmation sub-control 605, the component control object can be converted into a scene component model according to the current editing state of the component control object to retain the component editing result.
[0172] In an optional embodiment, the second editing operation control includes an edit cancel sub-control, and the above-mentioned response to the second editing operation performed through the second editing control controls the editing of the component control object, which can be achieved through the following steps: In response to the touch operation on the edit cancel sub-control, the component control object is converted into a corresponding scene component model according to the pre-editing state of the component control object.
[0173] In an optional embodiment, the second editing operation control includes an edit cancel sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, and may also include at least one of the following: in response to a touch operation on the edit cancel sub-control, the component control object is removed, wherein the component control object corresponds to the scene component to be added; in response to a touch operation on the edit cancel sub-control, the component control object is removed to control the display of the scene component model to be edited before editing; the component control object corresponds to the scene component model to be edited.
[0174] The edit cancel subcontrol can be used to control the cancellation of the editing process of the component control object. By triggering the edit cancel subcontrol, the component editing result is not retained, which can meet the user's need to cancel the current editing.
[0175] For example, Fig. 6A. When the component control object is generated from a scene component model in the first game running scene, for example, a scene component model to be edited, the component control object can be removed in response to a touch operation on the edit cancel subcontrol 606 to control the display of the scene component model to be edited before editing. When the component control object is generated from a scene component to be added, the component control object can be removed in response to a touch operation on the edit cancel subcontrol 606. The scene component to be added is a scene component determined by responding to a component adding operation of a user.
[0176] In an optional embodiment, the following steps may also be performed: when the first game running scene is in a first preset state, in response to a movement control operation on the controlled virtual object, the controlled virtual object is controlled to move in the first game running scene; according to the movement state of the controlled virtual object, the model of the scene component to be edited is controlled to move following the controlled virtual object in the first game running scene.
[0177] Exemplarily, a motion operation control may be displayed in the graphical user interface, and in response to a trigger operation on the motion operation control, the controlled virtual object is controlled to move in the first game running scene.
[0178] By controlling the scene component model to be edited to follow the movement of the controlled virtual object, not only the mobile editing of the scene component model is realized, but also a visual experience is provided to the user that the scene component model is moved by the controlled virtual object to adjust the target game scene, thereby enhancing the immersive experience of the editing operation.
[0179] In an optional embodiment, the above-mentioned control of the controlled virtual object to move in the first game running scene in response to the movement control operation of the controlled virtual object can be achieved through the following steps: in flight control mode, in response to the movement control operation of the controlled virtual object, the controlled virtual object is controlled to move in the plane and height in the first game running scene with a first preset action; in flight control mode, the physical collision properties and / or gravity properties of the scene component model to be edited are turned off; or in normal control mode, in response to the movement control operation of the controlled virtual object, the controlled virtual object is controlled to move on the supporting surface formed by the scene component model with a second preset action; in normal control mode, the physical collision properties and / or gravity properties of the scene component model to be edited are turned on.
[0180] For example, Figure 4BAs shown, the motion operation control that controls the movement of the controlled virtual object can enter the flight control mode by responding to the touch operation of the flight control control 421. In the flight control mode, the motion operation control can be composed of a virtual joystick and an up and down movement control. At this time, the virtual joystick can be used to control the displacement of the controlled virtual object on the plane without being subjected to physical collision or gravity, and the up and down movement control can control the displacement of the controlled virtual object in height without being subjected to physical collision or gravity. In addition, in the flight control mode, the graphical user interface can also display a speed control control, which can respond to the touch operation of the speed control control to control and adjust the movement speed of the scene component model to be edited in the game running scene.
[0181] For example, the motion operation control that controls the movement of the controlled virtual object can enter the normal control mode by responding to the touch operation of the normal control control. In the normal control mode, the motion operation control can be composed of a virtual joystick. At this time, the virtual joystick can be used to control the movement, turning, etc. of the controlled virtual object when it is subjected to physical collision or gravity.
[0182] Step S250, determining the edited target game scene according to the first editing information.
[0183] Specifically, after obtaining the first editing information, the scene component to be edited in the target game scene can be edited according to the first editing information to obtain the edited target game scene, thereby updating the target game scene.
[0184] Optionally, after the editing is completed, the first run end instruction can be responded to and the edited target game scene can be controlled to be displayed in the graphical user interface.
[0185] In an optional embodiment, if Figure 4B As shown, when the first game running scene is in the first preset state, after determining the scene component model to be edited, the control object switching control 420 can be displayed; by responding to the touch operation of the control object switching control 420, the controlled virtual object is hidden, and / or the controlled virtual object is placed at the position of the scene component model to be edited, the control subject is switched from the controlled virtual object to the scene component model to be edited, and the editing operation control is displayed; by responding to the trigger operation for the editing operation control, the first editing information corresponding to the scene component model to be edited is obtained; wherein the editing operation controls may include but are not limited to motion operation controls, rotation operation controls, scaling operation controls, mirroring operation controls, etc.
[0186] Optionally, before hiding the controlled virtual object and / or placing the controlled virtual object at the position of the scene component model to be edited, the motion operation control in the graphical user interface can be used to control the controlled virtual object; after hiding the controlled virtual object and / or placing the controlled virtual object at the position of the scene component model to be edited, the control object of the motion operation control can be switched from the controlled virtual object to the scene component model to be edited.
[0187] Optionally, before hiding the controlled virtual object and / or placing the controlled virtual object at the position of the scene component model to be edited, the original motion operation controls in the graphical user interface can be used to control the controlled virtual object; after hiding the controlled virtual object and / or placing the controlled virtual object at the position of the scene component model to be edited, the original motion operation controls used to control the controlled virtual object can be hidden, and then new motion operation controls specifically used to control the scene component model to be edited can be displayed.
[0188] like Figure 7 As shown, a flowchart for editing a component by selecting an identifier is provided, which may specifically include the following steps:
[0189] Step S701, in response to a first running trigger instruction, loading a target game scene to display a first game running scene in a graphical user interface;
[0190] Step S702, when the first game running scene is in the running state, responding to the game running operation in the first game running scene, controlling the controlled virtual object to execute the game running process instruction; controlling the virtual camera to move with the controlled virtual object;
[0191] Step S703, when the first game running scene is in a paused state, a selection mark is displayed in the graphical user interface, and according to the aiming direction of the selection mark, a scene component model to be edited is determined from the scene component models in the first game running scene;
[0192] Step S704, when the scene component model to be edited is determined, displaying a first editing control;
[0193] Step S705, in response to the first editing operation performed through the first editing control, generating a component control object corresponding to the scene component model to be edited in the first game running scene;
[0194] Step S706, controlling the display of a second editing control, responding to a second editing operation performed through the second editing control, controlling the editing of the component control object, and acquiring first editing information corresponding to the scene component model to be edited;
[0195] Step S707, determining the edited target game scene according to the first editing information.
[0196] Figure 8 FIG. 8 shows a component editing control device 800 in an exemplary embodiment of the present disclosure. Figure 8 As shown, the component editing control device 800 may include:
[0197] The running scene display module 810 is used to load the target game scene to display the first game running scene in the graphical user interface; the target game scene includes one or more scene components; the first game running scene includes a controlled virtual object and one or more scene component models corresponding to the one or more scene components;
[0198] A virtual object control module 820, for responding to a game running operation in a first game running scene, and controlling a controlled virtual object to execute a game running process instruction;
[0199] The component model selection module 830 is used to display a selection mark in the graphical user interface, and determine the scene component model to be edited from the scene component models in the first game running scene according to the aiming direction of the selection mark;
[0200] The editing information acquisition module 840 is used to respond to the first editing operation of the scene component model to be edited, and acquire the first editing information corresponding to the scene component model to be edited; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited;
[0201] The game scene editing module 850 is used to determine the edited target game scene according to the first editing information.
[0202] In an optional implementation, based on the above solution, the component editing control device 800 further includes: a target game scene display module, which is used to display the target game scene in the graphical user interface. The running scene display module 810 can be configured to: in response to the first running trigger instruction, load the target game scene to display the first game running scene in the graphical user interface.
[0203] In an optional implementation, based on the above-mentioned solution, the component editing control device 800 further includes: an operation end control module: used to respond to the first operation end instruction and control the display of the edited target game scene in the graphical user interface.
[0204] In an optional implementation, based on the aforementioned solution, the target game scene display module may be configured to: display a game editing scene in a graphical user interface; the game editing scene is a target game scene loaded in an editing mode.
[0205] In an optional embodiment, based on the aforementioned scheme, the component editing control device 800 also includes: another running scene display module, which is used to respond to the second running trigger instruction in the game editing scene, and control the display of the second game running scene in the graphical user interface; the second game running scene is the target game scene loaded in the running mode.
[0206] In an optional embodiment, based on the aforementioned scheme, the editing information acquisition module 840 can be configured to: when the first game running scene is in a first preset state, respond to a first editing operation on the scene component model to be edited, and obtain the first editing information corresponding to the scene component model to be edited.
[0207] In an optional embodiment, based on the aforementioned scheme, the virtual object control module 820 can be configured to: when the first game running scene is in the second preset state, control the first game running scene to execute the first operation instruction; when the first game running scene is in the first preset state, control the first game running scene not to execute the first operation instruction.
[0208] In an optional implementation, based on the aforementioned solution, the component model selection module 830 displays a selection mark in the graphical user interface, including: when the first game running scene is in a first preset state, displaying the selection mark in the graphical user interface.
[0209] In an optional embodiment, based on the aforementioned scheme, the game running operation is performed through a skill control; the component editing control device 800 also includes: a skill control hiding module, which is used to hide at least part of the skill control when the first game running scene is in a first preset state.
[0210] In an optional embodiment, based on the aforementioned scheme, the component editing control device 800 further includes: a component adding module, which is used to respond to the component adding operation in the first game running scene, determine the scene component to be added, and obtain the first editing information corresponding to the scene component to be added; the first editing information corresponding to the scene component to be added is used to add the scene component to be added in the target game scene.
[0211] In an optional embodiment, based on the aforementioned scheme, the component adding module also includes: a component control display module, which is used to display one or more scene component controls in a graphical user interface; a component to be added determination module, which is used to respond to a component selection operation in the scene component control, determine a target scene component control in the scene component control, and determine the scene component corresponding to the target scene component control as the scene component to be added.
[0212] In an optional embodiment, based on the aforementioned scheme, the component control display module can be configured to: display a scene component control bar in a graphical user interface, the scene component control bar including one or more scene component controls; the component editing control device 800 also includes: a component control adjustment module, which is used to respond to the adjustment operation of the scene component control bar and adjust the scene component controls in the scene component control bar.
[0213] In an optional implementation, based on the aforementioned solution, the component control display module may be configured to display one or more scene component controls in a graphical user interface when the first game running scene is in a first preset state.
[0214] In an optional embodiment, based on the aforementioned scheme, the component adding module also includes: a component control object generating module, which is used to generate a component control object corresponding to the scene component to be added in the first game running scene according to the aiming direction of the selection identifier or the direction of the controlled virtual object in the first game running scene; a component control object editing module, which is used to respond to the editing operation of the component control object, control the editing of the component control object, and obtain the first editing information corresponding to the scene component to be added.
[0215] In an optional embodiment, based on the aforementioned scheme, the component editing control device 800 further includes: a first editing control display module, used to display the first editing control when the scene component model to be edited is determined; the editing information acquisition module 840 includes: a first editing operation response module, used to respond to the first editing operation performed through the first editing control, and obtain the first editing information corresponding to the scene component model to be edited.
[0216] In an optional embodiment, based on the aforementioned scheme, the first editing operation response module includes: a component control object generation module, which is used to respond to the first editing operation performed through the first editing control, and generate a component control object corresponding to the scene component model to be edited in the first game running scene; a component control object editing module, which is used to respond to the editing operation on the component control object, control the editing of the component control object, and obtain the first editing information corresponding to the scene component model to be edited.
[0217] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a first sub-control, and the component control object generation module can be configured to: in response to the touch operation of the first sub-control, generate a component control object of the scene component model to be edited according to the position of the controlled virtual object, and retain the scene component model to be edited.
[0218] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a second sub-control, and the component control object generation module can be configured to: in response to the touch operation of the second sub-control, generate a component control object of the scene component model to be edited according to the position of the controlled virtual object, and hide the scene component model to be edited.
[0219] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a third sub-control, and the component control object generation module can be configured to: respond to the touch operation of the third sub-control, control the generation of the component control object of the scene component model to be edited according to the position of the controlled virtual object, and display the property editing sub-control; wherein the property editing sub-control is used to edit the properties of the component control object.
[0220] In an optional implementation, based on the above solution, the property editing sub-control includes any one or more of the following: a moving sub-control, a mirroring sub-control, a scaling sub-control, and a rotating sub-control.
[0221] In an optional embodiment, based on the aforementioned scheme, the component control object editing module can be configured as follows: in response to a touch operation of moving a sub-control, displaying coordinate axis options, the coordinate axis options including three coordinate axes corresponding to the component control object; in response to selecting a target coordinate axis from the coordinate axis options, controlling the component control object to move along the target coordinate axis in the game running scene; and determining the first editing information corresponding to the scene component model to be edited according to the moving state of the component control object.
[0222] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a fourth sub-control, and the first editing operation response module can be configured to: respond to a touch operation on the fourth sub-control to obtain first editing information corresponding to the scene component model to be edited; the first editing information includes deletion editing information.
[0223] In an optional implementation, based on the aforementioned solution, in response to an editing operation on a component control object, before controlling the editing of the component control object, the component editing control device 800 further includes: an association relationship establishment module for controlling the establishment of an association relationship between the controlled virtual object and the component control object.
[0224] In an optional embodiment, based on the aforementioned scheme, the association relationship establishing module can be configured to: determine the distance between the controlled virtual object and the component controlled object; if the distance between the controlled virtual object and the component controlled object is less than a first preset distance threshold, control the establishment of an association relationship between the controlled virtual object and the component controlled object.
[0225] In an optional embodiment, based on the aforementioned scheme, after controlling the establishment of an association relationship between the controlled virtual object and the component control object, the component editing control device 800 also includes: a first movement control module, which is used to respond to the movement control operation of the controlled virtual object, and control the component control object to follow the controlled virtual object to move in the game running scene.
[0226] In an optional embodiment, based on the aforementioned scheme, the component editing control device 800 further includes: a first movement following module: used to control the component control object to move following the aiming position of the selection mark or the direction of the controlled virtual object in response to adjusting the aiming position of the selection mark or the direction of the controlled virtual object.
[0227] In an optional embodiment, based on the aforementioned scheme, the mobile following module may be configured to: in response to adjusting the aiming position of the selection mark, determine whether the component control object triggers grid adsorption or component stack adsorption; if the component control object triggers grid adsorption or component stack adsorption, determine whether the component control object is within a preset range of the aiming position of the selection mark; if the component control object is within the preset range of the aiming position of the selection mark, control the component control object not to move; if the component control object is not within the preset range of the aiming position of the selection mark, control the component control object to move according to the aiming position of the selection mark.
[0228] In an optional implementation, based on the above solution, the component control object editing module includes: a second editing control control module, used to control the display of a second editing control, respond to a second editing operation performed through the second editing control, and control the editing of the component control object.
[0229] In an optional embodiment, based on the aforementioned scheme, the second editing control includes a distance editing sub-control, and the second editing control control module includes: a distance control module, which is used to control the object to move closer to or away from the controlled virtual object in response to the editing operation on the distance editing sub-control, and the position of the controlled virtual object remains unchanged.
[0230] In an optional embodiment, based on the aforementioned scheme, the distance control module may be configured to: in response to the moving editing operation of the distance editing sub-control, determine whether the component control object triggers grid adsorption or component stack adsorption; if the component control object triggers grid adsorption or component stack adsorption, determine whether the moving editing distance corresponding to the distance editing sub-control is greater than a second preset distance threshold; if the moving editing distance corresponding to the distance editing sub-control is less than or equal to the second preset distance threshold, control the component control object not to move; if the moving editing distance corresponding to the distance editing sub-control is greater than the second preset distance threshold, control the component control object to move to get closer to or away from the controlled virtual object.
[0231] In an optional embodiment, based on the aforementioned scheme, the second editing control includes a rotation editing sub-control, and the second editing control control module includes: a rotation control module, which is used to respond to the editing operation on the rotation editing sub-control, display the rotation direction mark and the current adjustment progress in the associated area of the rotation editing sub-control, so as to control the component to control the object to rotate.
[0232] In an optional embodiment, based on the aforementioned scheme, the second editing control includes a zoom editing sub-control, and the second editing control control module includes: a zoom control module, which is used to respond to the touch operation on the zoom editing sub-control, and control the component control object to zoom based on the center position of the component control object.
[0233] In an optional embodiment, based on the aforementioned scheme, the second editing control includes an editing confirmation sub-control, and the second editing control control module includes: a determination control module, which is used to respond to a touch operation on the editing confirmation sub-control and convert the component control object into a scene component model according to the current editing state of the component control object.
[0234] In an optional embodiment, based on the aforementioned scheme, the second editing operation control includes an editing cancel sub-control, and the second editing control control module includes at least one of the following: in response to a touch operation on the editing cancel sub-control, removing the component control object, wherein the component control object corresponds to the scene component to be added; in response to a touch operation on the editing cancel sub-control, removing the component control object to control the display of the scene component model to be edited before editing; the component control object corresponds to the scene component model to be edited.
[0235] In an optional embodiment, based on the aforementioned scheme, the component editing control device 800 further includes: a second movement control module, which is used to control the movement of the controlled virtual object under physical collision or gravity in response to the movement control operation of the controlled virtual object when the first game running scene is in a second preset state.
[0236] In an optional embodiment, based on the aforementioned scheme, the component editing control device 800 further includes: a third movement control module, which is used to control the controlled virtual object to move in the first game running scene in response to the movement control operation of the controlled virtual object when the first game running scene is in a first preset state; and a second movement following module, which is used to control the scene component model to be edited to follow the controlled virtual object to move in the first game running scene according to the movement state of the controlled virtual object.
[0237] In an optional embodiment, based on the aforementioned scheme, the third mobile control module may be configured as follows: in flight control mode, in response to a mobile control operation on a controlled virtual object, controlling the controlled virtual object to perform plane and height displacement in the first game running scene with a first preset action; in flight control mode, turning off the physical collision properties and / or gravity properties of the scene component model to be edited; or in normal control mode, in response to a mobile control operation on the controlled virtual object, controlling the controlled virtual object to move on a supporting surface formed by the scene component model with a second preset action; in normal control mode, turning on the physical collision properties and / or gravity properties of the scene component model to be edited.
[0238] In an optional implementation, based on the above solution, the component editing control device 800 includes: a field of view adjustment module, which is used to respond to a field of view adjustment instruction and control the aiming position of the selection mark or the direction of the controlled virtual object.
[0239] In an optional implementation, based on the above solution, the selection mark is configured to move according to the movement of the controlled virtual object.
[0240] The specific details of each module in the above-mentioned component editing control device 800 have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.
[0241] The exemplary embodiments of the present disclosure also provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the component editing control method is implemented.
[0242] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory, and the like.
[0243] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.
[0244] The code of the computer program can be written in one or more programming languages. Programming languages such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).
[0245] The computer program may be carried or transmitted via electrical, magnetic, optical, electromagnetic, infrared, or other signals. The electronic device may convert the signal carrying the computer program into a digital signal, thereby running the computer program. When the computer program is run on an electronic device, its code is used to enable the electronic device to execute (more specifically, the processor of the electronic device may execute) the method steps of various exemplary embodiments of the present disclosure. Exemplarily, the following steps may be included:
[0246] Loading a target game scene to display a first game running scene in a graphical user interface; the target game scene includes one or more scene components; the first game running scene includes a controlled virtual object and one or more scene component models corresponding to the one or more scene components;
[0247] In response to a game running operation in a first game running scene, controlling the controlled virtual object to execute a game running process instruction;
[0248] Displaying a selection mark in a graphical user interface, and determining a scene component model to be edited from scene component models in the first game running scene according to an aiming direction of the selection mark;
[0249] In response to a first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited;
[0250] The edited target game scene is determined according to the first editing information.
[0251] In an optional embodiment, based on the aforementioned scheme, the following steps can also be performed: displaying the target game scene in a graphical user interface; loading the target game scene to display the first game running scene in the graphical user interface, including: responding to a first running trigger instruction, loading the target game scene to display the first game running scene in the graphical user interface.
[0252] In an optional implementation, based on the above solution, the following steps may also be performed: in response to the first run end instruction, controlling the display of the edited target game scene in the graphical user interface.
[0253] In an optional implementation, based on the aforementioned solution, displaying the target game scene in a graphical user interface includes: displaying a game editing scene in the graphical user interface; the game editing scene is the target game scene loaded in an editing mode.
[0254] In an optional embodiment, based on the aforementioned scheme, the following steps can also be performed: responding to a second run trigger instruction in the game editing scene, controlling the display of a second game run scene in the graphical user interface; the second game run scene is the target game scene loaded in the run mode.
[0255] In an optional embodiment, based on the aforementioned scheme, in response to a first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained, including: when the first game running scene is in a first preset state, in response to the first editing operation on the scene component model to be edited, the first editing information corresponding to the scene component model to be edited is obtained.
[0256] In an optional embodiment, based on the aforementioned scheme, in response to the game running operation in the first game running scene, the controlled virtual object is controlled to execute the game running process instructions, including: when the first game running scene is in the second preset state, the first game running scene is controlled to execute the first operation instruction; when the first game running scene is in the first preset state, the first game running scene is controlled not to execute the first operation instruction.
[0257] In an optional implementation, based on the aforementioned solution, displaying a selection mark in a graphical user interface includes: displaying a selection mark in a graphical user interface when the first game running scene is in a first preset state.
[0258] In an optional implementation, based on the aforementioned solution, the game running operation is performed through a skill control; the following steps may also be performed: when the first game running scene is in a first preset state, hiding at least part of the skill controls.
[0259] In an optional embodiment, based on the aforementioned scheme, the following steps can also be performed: responding to a component adding operation in the first game running scene, determining the scene component to be added, and obtaining the first editing information corresponding to the scene component to be added; the first editing information corresponding to the scene component to be added is used to add the scene component to be added in the target game scene.
[0260] In an optional embodiment, based on the aforementioned scheme, in response to a component adding operation in the first game running scene, a scene component to be added is determined, including: displaying one or more scene component controls in a graphical user interface; in response to a component selection operation in the scene component control, a target scene component control is determined in the scene component control, and the scene component corresponding to the target scene component control is determined as the scene component to be added.
[0261] In an optional implementation, based on the aforementioned scheme, one or more scene component controls are displayed in a graphical user interface, including: displaying a scene component control bar in the graphical user interface, the scene component control bar including one or more scene component controls; the following steps may also be performed: in response to an adjustment operation on the scene component control bar, adjusting the scene component controls in the scene component control bar.
[0262] In an optional embodiment, based on the aforementioned scheme, one or more scene component controls are displayed in a graphical user interface, including: when the first game running scene is in a first preset state, one or more scene component controls are displayed in the graphical user interface.
[0263] In an optional embodiment, based on the aforementioned scheme, first editing information corresponding to the scene component to be added is obtained, including: generating a component control object corresponding to the scene component to be added in the first game running scene according to the aiming direction of the selection identifier or the direction of the controlled virtual object in the first game running scene; responding to an editing operation on the component control object, controlling the editing of the component control object, and obtaining the first editing information corresponding to the scene component to be added.
[0264] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: when the scene component model to be edited is determined, a first editing control is displayed; in response to a first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained, including: in response to the first editing operation performed through the first editing control, the first editing information corresponding to the scene component model to be edited is obtained.
[0265] In an optional embodiment, based on the aforementioned scheme, in response to a first editing operation performed through a first editing control, first editing information corresponding to the scene component model to be edited is obtained, including: in response to the first editing operation performed through the first editing control, a component control object corresponding to the scene component model to be edited is generated in the first game running scene; in response to the editing operation on the component control object, the component control object is controlled to be edited, and the first editing information corresponding to the scene component model to be edited is obtained.
[0266] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a first sub-control, which responds to the first editing operation performed through the first editing control and generates a component control object corresponding to the scene component model to be edited in the first game running scene, including: responding to the touch operation of the first sub-control, generating the component control object of the scene component model to be edited according to the position of the controlled virtual object, and retaining the scene component model to be edited.
[0267] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a second sub-control, which responds to the first editing operation performed through the first editing control and generates a component control object corresponding to the scene component model to be edited in the first game running scene, including: responding to the touch operation of the second sub-control, generating the component control object of the scene component model to be edited according to the position of the controlled virtual object, and hiding the scene component model to be edited.
[0268] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a third sub-control, which responds to the first editing operation performed through the first editing control and generates a component control object corresponding to the scene component model to be edited in the first game running scene, including: responding to the touch operation of the third sub-control, controlling the generation of the component control object of the scene component model to be edited according to the position of the controlled virtual object, and displaying the property editing sub-control; wherein the property editing sub-control is used to edit the properties of the component control object.
[0269] In an optional implementation, based on the above solution, the property editing sub-control includes any one or more of the following: a moving sub-control, a mirroring sub-control, a scaling sub-control, and a rotating sub-control.
[0270] In an optional embodiment, based on the aforementioned scheme, in response to an editing operation on a component control object, first editing information corresponding to the scene component model to be edited is obtained, including: in response to a touch operation of moving a sub-control, displaying coordinate axis options, the coordinate axis options including three coordinate axes corresponding to the component control object; in response to selecting a target coordinate axis from the coordinate axis options, controlling the component control object to move along the target coordinate axis in the game running scene; and determining the first editing information corresponding to the scene component model to be edited according to the moving state of the component control object.
[0271] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a fourth sub-control, which responds to the first editing operation performed through the first editing control to obtain the first editing information corresponding to the scene component model to be edited, including: responding to the touch operation on the fourth sub-control to obtain the first editing information corresponding to the scene component model to be edited; the first editing information includes deletion editing information.
[0272] In an optional implementation, based on the above solution, in response to the editing operation on the component control object, before controlling the editing of the component control object, the following steps may also be performed: controlling the establishment of an association relationship between the controlled virtual object and the component control object.
[0273] In an optional embodiment, based on the aforementioned scheme, the control establishes an association relationship between the controlled virtual object and the component control object, including: judging the distance between the controlled virtual object and the component control object; if the distance between the controlled virtual object and the component control object is less than a first preset distance threshold, the control establishes an association relationship between the controlled virtual object and the component control object.
[0274] In an optional embodiment, based on the aforementioned scheme, after the control establishes an association relationship between the controlled virtual object and the component control object, the following steps can also be performed: in response to the movement control operation of the controlled virtual object, the component control object is controlled to follow the controlled virtual object to move in the game running scene.
[0275] In an optional implementation, based on the above solution, the following steps may be performed: in response to adjusting the aiming position of the selection mark or the orientation of the controlled virtual object, the control component controls the object to move following the aiming position of the selection mark or the orientation of the controlled virtual object.
[0276] In an optional embodiment, based on the aforementioned scheme, in response to adjusting the aiming position of the selection identifier or the orientation of the controlled virtual object, the control component controls the object to move following the aiming position of the selection identifier or the orientation of the controlled virtual object, including: in response to adjusting the aiming position of the selection identifier, determining whether the component control object triggers grid adsorption or component stack adsorption; if the component control object triggers grid adsorption or component stack adsorption, determining whether the component control object is within a preset range of the aiming position of the selection identifier; if the component control object is within the preset range of the aiming position of the selection identifier, controlling the component control object not to move; if the component control object is not within the preset range of the aiming position of the selection identifier, controlling the component control object to move according to the aiming position of the selection identifier.
[0277] In an optional implementation, based on the aforementioned scheme, in response to an editing operation on a component control object, controlling the editing of the component control object includes: controlling the display of a second editing control, and in response to a second editing operation performed through the second editing control, controlling the editing of the component control object.
[0278] In an optional embodiment, based on the aforementioned scheme, the second editing control includes a distance editing sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including: in response to the editing operation on the distance editing sub-control, controlling the component control object to move closer to or away from the controlled virtual object, and the position of the controlled virtual object remains unchanged.
[0279] In an optional embodiment, based on the aforementioned scheme, in response to an editing operation on a distance editing sub-control, a control component controls an object to move closer to or further away from a controlled virtual object, including: in response to a move editing operation of the distance editing sub-control, determining whether the component controls the object to trigger grid adsorption or component stack adsorption; if the component controls the object to trigger grid adsorption or component stack adsorption, determining whether a move editing distance corresponding to the distance editing sub-control is greater than a second preset distance threshold; if the move editing distance corresponding to the distance editing sub-control is less than or equal to the second preset distance threshold, the control component controls the object not to move; if the move editing distance corresponding to the distance editing sub-control is greater than the second preset distance threshold, the control component controls the object to move to move closer to or further away from the controlled virtual object.
[0280] In an optional embodiment, based on the aforementioned scheme, the second editing control includes a rotation editing sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including: in response to the editing operation on the rotation editing sub-control, displaying the rotation direction indicator and the current adjustment progress in the associated area of the rotation editing sub-control to control the rotation of the component control object.
[0281] In an optional embodiment, based on the aforementioned scheme, the second editing control includes a zoom editing sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including: in response to the touch operation on the zoom editing sub-control, controlling the component control object to scale based on the center position of the component control object.
[0282] In an optional embodiment, based on the aforementioned scheme, the second editing control includes an editing confirmation sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including: in response to the touch operation on the editing confirmation sub-control, converting the component control object into a scene component model according to the current editing state of the component control object.
[0283] In an optional embodiment, based on the aforementioned scheme, the second editing operation control includes an edit cancel sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including at least one of the following: in response to a touch operation on the edit cancel sub-control, removing the component control object, wherein the component control object corresponds to the scene component to be added; in response to a touch operation on the edit cancel sub-control, removing the component control object, and controlling the display of the scene component model to be edited before editing; the component control object corresponds to the scene component model to be edited.
[0284] In an optional embodiment, based on the above-mentioned scheme, the following steps can also be performed: when the first game running scene is in a second preset state, in response to the movement control operation of the controlled virtual object, the controlled virtual object is controlled to move when subjected to physical collision or gravity.
[0285] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: when the first game running scene is in a first preset state, in response to a movement control operation on the controlled virtual object, the controlled virtual object is controlled to move in the first game running scene; according to the movement state of the controlled virtual object, the model of the scene component to be edited is controlled to follow the controlled virtual object to move in the first game running scene.
[0286] In an optional embodiment, based on the aforementioned scheme, in response to a movement control operation on the controlled virtual object, the controlled virtual object is controlled to move in the first game running scene, including: in flight control mode, in response to the movement control operation on the controlled virtual object, the controlled virtual object is controlled to move in plane and height in the first game running scene with a first preset action; in flight control mode, the physical collision properties and / or gravity properties of the scene component model to be edited are turned off; or in normal control mode, in response to the movement control operation on the controlled virtual object, the controlled virtual object is controlled to move on a supporting surface formed by the scene component model with a second preset action; in normal control mode, the physical collision properties and / or gravity properties of the scene component model to be edited are turned on.
[0287] In an optional implementation, based on the above solution, the following steps may also be performed: responding to a field of view adjustment instruction, controlling and adjusting the aiming position of the selection mark or the orientation of the controlled virtual object.
[0288] In an optional implementation, based on the above solution, the selection mark is configured to move according to the movement of the controlled virtual object.
[0289] During the above-mentioned component editing and control process, free editing of the scene component model is realized in the game running scene. The component can be edited without returning to the editing mode, which can improve the convenience of game scene adjustment to a certain extent and can promptly meet the user's personalized adjustment needs for the game scene; the scene component model to be edited is selected based on the aiming direction of the selection mark, which enriches the selection strategy of the scene component and can improve the immersive editing experience of the scene component to a certain extent.
[0290] The exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-mentioned component editing control method. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor executes the method in the exemplary embodiment by executing the executable instructions. In addition, the electronic device may also include a display for displaying a graphical user interface.
[0291] Reference below Fig. 9 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Fig. 9 The electronic device 900 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0292] like Fig. 9 As shown, the electronic device 900 may include: a processor 910 , a memory 920 , a bus 930 , an I / O (input / output) interface 940 , a network adapter 950 , and a display 960 .
[0293] The memory 920 may include a volatile memory, such as a RAM 921, a cache unit 922, and may also include a non-volatile memory, such as a ROM 923. The memory 920 may also include one or more program modules 924, such program modules 924 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 924 may include each module in the above-mentioned device.
[0294] The processor 910 may include one or more processing units. For example, the processor 910 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc.
[0295] The processor 910 may be configured to execute executable instructions stored in the memory 920 , such as executing any one or more method steps in the exemplary embodiment.
[0296] Exemplarily, the processor 910 may perform the following steps:
[0297] Loading a target game scene to display a first game running scene in a graphical user interface; the target game scene includes one or more scene components; the first game running scene includes a controlled virtual object and one or more scene component models corresponding to the one or more scene components;
[0298] In response to a game running operation in a first game running scene, controlling the controlled virtual object to execute a game running process instruction;
[0299] Displaying a selection mark in a graphical user interface, and determining a scene component model to be edited from scene component models in the first game running scene according to an aiming direction of the selection mark;
[0300] In response to a first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited;
[0301] The edited target game scene is determined according to the first editing information.
[0302] In an optional embodiment, based on the aforementioned scheme, the following steps can also be performed: displaying the target game scene in a graphical user interface; loading the target game scene to display the first game running scene in the graphical user interface, including: responding to a first running trigger instruction, loading the target game scene to display the first game running scene in the graphical user interface.
[0303] In an optional implementation, based on the above solution, the following steps may also be performed: in response to the first run end instruction, controlling the display of the edited target game scene in the graphical user interface.
[0304] In an optional implementation, based on the aforementioned solution, displaying the target game scene in a graphical user interface includes: displaying a game editing scene in the graphical user interface; the game editing scene is the target game scene loaded in an editing mode.
[0305] In an optional embodiment, based on the aforementioned scheme, the following steps can also be performed: responding to a second run trigger instruction in the game editing scene, controlling the display of a second game run scene in the graphical user interface; the second game run scene is the target game scene loaded in the run mode.
[0306] In an optional embodiment, based on the aforementioned scheme, in response to a first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained, including: when the first game running scene is in a first preset state, in response to the first editing operation on the scene component model to be edited, the first editing information corresponding to the scene component model to be edited is obtained.
[0307] In an optional embodiment, based on the aforementioned scheme, in response to the game running operation in the first game running scene, the controlled virtual object is controlled to execute the game running process instructions, including: when the first game running scene is in the second preset state, the first game running scene is controlled to execute the first operation instruction; when the first game running scene is in the first preset state, the first game running scene is controlled not to execute the first operation instruction.
[0308] In an optional implementation, based on the aforementioned solution, displaying a selection mark in a graphical user interface includes: displaying a selection mark in a graphical user interface when the first game running scene is in a first preset state.
[0309] In an optional implementation, based on the aforementioned solution, the game running operation is performed through a skill control; the following steps may also be performed: when the first game running scene is in a first preset state, hiding at least part of the skill controls.
[0310] In an optional embodiment, based on the aforementioned scheme, the following steps can also be performed: responding to a component adding operation in the first game running scene, determining the scene component to be added, and obtaining the first editing information corresponding to the scene component to be added; the first editing information corresponding to the scene component to be added is used to add the scene component to be added in the target game scene.
[0311] In an optional embodiment, based on the aforementioned scheme, in response to a component adding operation in the first game running scene, a scene component to be added is determined, including: displaying one or more scene component controls in a graphical user interface; in response to a component selection operation in the scene component control, a target scene component control is determined in the scene component control, and the scene component corresponding to the target scene component control is determined as the scene component to be added.
[0312] In an optional implementation, based on the aforementioned scheme, one or more scene component controls are displayed in a graphical user interface, including: displaying a scene component control bar in the graphical user interface, the scene component control bar including one or more scene component controls; the following steps may also be performed: in response to an adjustment operation on the scene component control bar, adjusting the scene component controls in the scene component control bar.
[0313] In an optional embodiment, based on the aforementioned scheme, one or more scene component controls are displayed in a graphical user interface, including: when the first game running scene is in a first preset state, one or more scene component controls are displayed in the graphical user interface.
[0314] In an optional embodiment, based on the aforementioned scheme, first editing information corresponding to the scene component to be added is obtained, including: generating a component control object corresponding to the scene component to be added in the first game running scene according to the aiming direction of the selection identifier or the direction of the controlled virtual object in the first game running scene; responding to an editing operation on the component control object, controlling the editing of the component control object, and obtaining the first editing information corresponding to the scene component to be added.
[0315] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: when the scene component model to be edited is determined, a first editing control is displayed; in response to a first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained, including: in response to the first editing operation performed through the first editing control, the first editing information corresponding to the scene component model to be edited is obtained.
[0316] In an optional embodiment, based on the aforementioned scheme, in response to a first editing operation performed through a first editing control, first editing information corresponding to the scene component model to be edited is obtained, including: in response to the first editing operation performed through the first editing control, a component control object corresponding to the scene component model to be edited is generated in the first game running scene; in response to the editing operation on the component control object, the component control object is controlled to be edited, and the first editing information corresponding to the scene component model to be edited is obtained.
[0317] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a first sub-control, which responds to the first editing operation performed through the first editing control and generates a component control object corresponding to the scene component model to be edited in the first game running scene, including: responding to the touch operation of the first sub-control, generating the component control object of the scene component model to be edited according to the position of the controlled virtual object, and retaining the scene component model to be edited.
[0318] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a second sub-control, which responds to the first editing operation performed through the first editing control and generates a component control object corresponding to the scene component model to be edited in the first game running scene, including: responding to the touch operation of the second sub-control, generating the component control object of the scene component model to be edited according to the position of the controlled virtual object, and hiding the scene component model to be edited.
[0319] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a third sub-control, which responds to the first editing operation performed through the first editing control and generates a component control object corresponding to the scene component model to be edited in the first game running scene, including: responding to the touch operation of the third sub-control, controlling the generation of the component control object of the scene component model to be edited according to the position of the controlled virtual object, and displaying the property editing sub-control; wherein the property editing sub-control is used to edit the properties of the component control object.
[0320] In an optional implementation, based on the above solution, the property editing sub-control includes any one or more of the following: a moving sub-control, a mirroring sub-control, a scaling sub-control, and a rotating sub-control.
[0321] In an optional embodiment, based on the aforementioned scheme, in response to an editing operation on a component control object, first editing information corresponding to the scene component model to be edited is obtained, including: in response to a touch operation of moving a sub-control, displaying coordinate axis options, the coordinate axis options including three coordinate axes corresponding to the component control object; in response to selecting a target coordinate axis from the coordinate axis options, controlling the component control object to move along the target coordinate axis in the game running scene; and determining the first editing information corresponding to the scene component model to be edited according to the moving state of the component control object.
[0322] In an optional embodiment, based on the aforementioned scheme, the first editing control includes a fourth sub-control, which responds to the first editing operation performed through the first editing control to obtain the first editing information corresponding to the scene component model to be edited, including: responding to the touch operation on the fourth sub-control to obtain the first editing information corresponding to the scene component model to be edited; the first editing information includes deletion editing information.
[0323] In an optional implementation, based on the above solution, in response to the editing operation on the component control object, before controlling the editing of the component control object, the following steps may also be performed: controlling the establishment of an association relationship between the controlled virtual object and the component control object.
[0324] In an optional embodiment, based on the aforementioned scheme, the control establishes an association relationship between the controlled virtual object and the component control object, including: judging the distance between the controlled virtual object and the component control object; if the distance between the controlled virtual object and the component control object is less than a first preset distance threshold, the control establishes an association relationship between the controlled virtual object and the component control object.
[0325] In an optional embodiment, based on the aforementioned scheme, after the control establishes an association relationship between the controlled virtual object and the component control object, the following steps can also be performed: in response to the movement control operation of the controlled virtual object, the component control object is controlled to follow the controlled virtual object to move in the game running scene.
[0326] In an optional implementation, based on the above solution, the following steps may be performed: in response to adjusting the aiming position of the selection mark or the orientation of the controlled virtual object, the control component controls the object to move following the aiming position of the selection mark or the orientation of the controlled virtual object.
[0327] In an optional embodiment, based on the aforementioned scheme, in response to adjusting the aiming position of the selection identifier or the orientation of the controlled virtual object, the control component controls the object to move following the aiming position of the selection identifier or the orientation of the controlled virtual object, including: in response to adjusting the aiming position of the selection identifier, determining whether the component control object triggers grid adsorption or component stack adsorption; if the component control object triggers grid adsorption or component stack adsorption, determining whether the component control object is within a preset range of the aiming position of the selection identifier; if the component control object is within the preset range of the aiming position of the selection identifier, controlling the component control object not to move; if the component control object is not within the preset range of the aiming position of the selection identifier, controlling the component control object to move according to the aiming position of the selection identifier.
[0328] In an optional implementation, based on the aforementioned scheme, in response to an editing operation on a component control object, controlling the editing of the component control object includes: controlling the display of a second editing control, and in response to a second editing operation performed through the second editing control, controlling the editing of the component control object.
[0329] In an optional embodiment, based on the aforementioned scheme, the second editing control includes a distance editing sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including: in response to the editing operation on the distance editing sub-control, controlling the component control object to move closer to or away from the controlled virtual object, and the position of the controlled virtual object remains unchanged.
[0330] In an optional embodiment, based on the aforementioned scheme, in response to an editing operation on a distance editing sub-control, a control component controls an object to move closer to or further away from a controlled virtual object, including: in response to a move editing operation of the distance editing sub-control, determining whether the component controls the object to trigger grid adsorption or component stack adsorption; if the component controls the object to trigger grid adsorption or component stack adsorption, determining whether a move editing distance corresponding to the distance editing sub-control is greater than a second preset distance threshold; if the move editing distance corresponding to the distance editing sub-control is less than or equal to the second preset distance threshold, the control component controls the object not to move; if the move editing distance corresponding to the distance editing sub-control is greater than the second preset distance threshold, the control component controls the object to move to move closer to or further away from the controlled virtual object.
[0331] In an optional embodiment, based on the aforementioned scheme, the second editing control includes a rotation editing sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including: in response to the editing operation on the rotation editing sub-control, displaying the rotation direction indicator and the current adjustment progress in the associated area of the rotation editing sub-control to control the rotation of the component control object.
[0332] In an optional embodiment, based on the aforementioned scheme, the second editing control includes a zoom editing sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including: in response to the touch operation on the zoom editing sub-control, controlling the component control object to scale based on the center position of the component control object.
[0333] In an optional embodiment, based on the aforementioned scheme, the second editing control includes an editing confirmation sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including: in response to the touch operation on the editing confirmation sub-control, converting the component control object into a scene component model according to the current editing state of the component control object.
[0334] In an optional embodiment, based on the aforementioned scheme, the second editing operation control includes an edit cancel sub-control, which controls the editing of the component control object in response to the second editing operation performed through the second editing control, including at least one of the following: in response to a touch operation on the edit cancel sub-control, removing the component control object, wherein the component control object corresponds to the scene component to be added; in response to a touch operation on the edit cancel sub-control, removing the component control object, and controlling the display of the scene component model to be edited before editing; the component control object corresponds to the scene component model to be edited.
[0335] In an optional embodiment, based on the above-mentioned scheme, the following steps can also be performed: when the first game running scene is in a second preset state, in response to the movement control operation of the controlled virtual object, the controlled virtual object is controlled to move when subjected to physical collision or gravity.
[0336] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: when the first game running scene is in a first preset state, in response to a movement control operation on the controlled virtual object, the controlled virtual object is controlled to move in the first game running scene; according to the movement state of the controlled virtual object, the model of the scene component to be edited is controlled to follow the controlled virtual object to move in the first game running scene.
[0337] In an optional embodiment, based on the aforementioned scheme, in response to a movement control operation on the controlled virtual object, the controlled virtual object is controlled to move in the first game running scene, including: in flight control mode, in response to the movement control operation on the controlled virtual object, the controlled virtual object is controlled to move in plane and height in the first game running scene with a first preset action; in flight control mode, the physical collision properties and / or gravity properties of the scene component model to be edited are turned off; or in normal control mode, in response to the movement control operation on the controlled virtual object, the controlled virtual object is controlled to move on a supporting surface formed by the scene component model with a second preset action; in normal control mode, the physical collision properties and / or gravity properties of the scene component model to be edited are turned on.
[0338] In an optional implementation, based on the above solution, the following steps may also be performed: responding to a field of view adjustment instruction, controlling and adjusting the aiming position of the selection mark or the orientation of the controlled virtual object.
[0339] In an optional implementation, based on the above solution, the selection mark is configured to move according to the movement of the controlled virtual object.
[0340] During the above-mentioned component editing and control process, free editing of the scene component model is realized in the game running scene. The component can be edited without returning to the editing mode, which can improve the convenience of game scene adjustment to a certain extent and can promptly meet the user's personalized adjustment needs for the game scene; the scene component model to be edited is selected based on the aiming direction of the selection mark, which enriches the selection strategy of the scene component and can improve the immersive editing experience of the scene component to a certain extent.
[0341] The bus 930 is used to realize the connection between different components of the electronic device 900, and may include a data bus, an address bus, and a control bus.
[0342] The electronic device 900 can communicate with one or more external devices 1000 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 940 .
[0343] The electronic device 900 can communicate with one or more networks through the network adapter 950. For example, the network adapter 950 can provide mobile communication solutions such as 3G / 4G / 5G, or provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 950 can communicate with other modules of the electronic device 900 through the bus 930.
[0344] The electronic device 900 may display a graphical user interface and the like through the display 960 .
[0345] although Fig. 9 Not shown, other hardware and / or software modules may also be provided in the electronic device 900, including but not limited to: a display, a microcode, a device driver, a redundant processor, an external disk drive array, a RAID (Redundant Arrays of Independent Disks) system, a tape drive, and a data backup storage system.
[0346] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0347] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be collectively referred to herein as a "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0348] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A component editing control method, characterized in that: The method comprises: Loading a target game scene to display a first game running scene in a graphical user interface; the target game scene includes one or more scene components; the first game running scene includes a controlled virtual object and one or more scene component models corresponding to the one or more scene components; In response to the game running operation in the first game running scene, controlling the controlled virtual object to execute the game running process instruction; Displaying a selection mark in the graphical user interface, and determining a scene component model to be edited from the scene component models in the first game running scene according to the aiming direction of the selection mark; In response to a first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited; The edited target game scene is determined according to the first editing information.
2. The method according to claim 1, characterized in that: The method further comprises: Displaying the target game scene in the graphical user interface; The loading of the target game scene to display the first game running scene in the graphical user interface includes: In response to the first run trigger instruction, the target game scene is loaded to display the first game run scene in the graphical user interface.
3. The method according to claim 2, characterized in that The method further comprises: In response to the first run end instruction, the edited target game scene is controlled to be displayed in the graphical user interface.
4. The method according to claim 2, characterized in that: The step of displaying the target game scene in the graphical user interface comprises: A game editing scene is displayed in the graphical user interface; the game editing scene is the target game scene loaded in editing mode.
5. The method according to claim 4, characterized in that The method further comprises: In response to a second run trigger instruction in the game editing scene, control the display of a second game running scene in the graphical user interface; the second game running scene is the target game scene loaded in the running mode.
6. The method according to claim 1, characterized in that The step of obtaining first editing information corresponding to the scene component model to be edited in response to the first editing operation on the scene component model to be edited includes: When the first game running scene is in a first preset state, in response to a first editing operation on the scene component model to be edited, first editing information corresponding to the scene component model to be edited is obtained.
7. The method according to claim 6, characterized in that The step of responding to the game running operation in the first game running scene and controlling the controlled virtual object to execute the game running process instruction comprises: When the first game running scene is in a second preset state, controlling the first game running scene to execute a first operation instruction; When the first game running scene is in the first preset state, the first game running scene is controlled not to execute the first operation instruction.
8. The method according to claim 6, characterized in that The step of displaying a selection mark in the graphical user interface includes: When the first game running scene is in the first preset state, the selection mark is displayed in the graphical user interface.
9. The method according to claim 6, characterized in that The game running operation is performed through a skill control; the method further includes: When the first game running scene is in the first preset state, hide at least a portion of the skill controls.
10. The method according to claim 1, characterized in that The method further comprises: In response to a component adding operation in the first game running scene, a scene component to be added is determined, and first editing information corresponding to the scene component to be added is obtained; the first editing information corresponding to the scene component to be added is used to add the scene component to be added in the target game scene.
11. The method according to claim 10, characterized in that The step of responding to the component adding operation in the first game running scene and determining the scene component to be added includes: displaying one or more scene component controls in the graphical user interface; In response to a component selection operation in the scene component control, a target scene component control is determined in the scene component control, and the scene component corresponding to the target scene component control is determined as the scene component to be added.
12. The method according to claim 11, characterized in that The displaying one or more scene component controls in the graphical user interface comprises: Displaying a scene component control bar in the graphical user interface, the scene component control bar including the one or more scene component controls; The method further comprises: In response to an adjustment operation on the scene component control bar, the scene component controls in the scene component control bar are adjusted.
13. The method according to claim 11, characterized in that The displaying one or more scene component controls in the graphical user interface comprises: When the first game running scene is in a first preset state, the one or more scene component controls are displayed in the graphical user interface.
14. The method according to claim 10, characterized in that The obtaining first editing information corresponding to the scene component to be added includes: Generating a component control object corresponding to the scene component to be added in the first game running scene according to the aiming position of the selection mark or the position of the controlled virtual object in the first game running scene; In response to the editing operation on the component control object, the component control object is controlled to be edited, and first editing information corresponding to the scene component to be added is obtained.
15. The method according to claim 1, characterized in that The method further comprises: When the scene component model to be edited is determined, a first editing control is displayed; The step of obtaining first editing information corresponding to the scene component model to be edited in response to the first editing operation on the scene component model to be edited includes: In response to a first editing operation performed through the first editing control, first editing information corresponding to the scene component model to be edited is obtained.
16. The method according to claim 15, characterized in that The step of obtaining first editing information corresponding to the scene component model to be edited in response to the first editing operation performed through the first editing control includes: In response to a first editing operation performed through the first editing control, generating a component control object corresponding to the scene component model to be edited in the first game running scene; In response to an editing operation on the component control object, the component control object is controlled to be edited, and first editing information corresponding to the scene component model to be edited is obtained.
17. The method according to claim 16, characterized in that The first editing control includes a first sub-control, and the response to the first editing operation performed through the first editing control generates a component control object corresponding to the scene component model to be edited in the first game running scene, including: In response to the touch operation of the first sub-control, a component control object of the scene component model to be edited is generated according to the position of the controlled virtual object, and the scene component model to be edited is retained.
18. The method according to claim 16, characterized in that The first editing control includes a second sub-control, and the response to the first editing operation performed through the first editing control generates a component control object corresponding to the scene component model to be edited in the first game running scene, including: In response to the touch operation of the second sub-control, a component control object of the scene component model to be edited is generated according to the position of the controlled virtual object, and the scene component model to be edited is hidden.
19. The method according to claim 16, characterized in that The first editing control includes a third sub-control, and the response to the first editing operation performed through the first editing control generates a component control object corresponding to the scene component model to be edited in the first game running scene, including: In response to the touch operation of the third sub-control, the component control object of the scene component model to be edited is controlled to be generated according to the position of the controlled virtual object, and a property editing sub-control is displayed; wherein the property editing sub-control is used to edit the properties of the component control object.
20. The method according to claim 19, characterized in that The property editing sub-control includes any one or more of the following: Move child controls, mirror child controls, scale child controls, and rotate child controls.
21. The method according to claim 20, characterized in that The step of obtaining first editing information corresponding to the scene component model to be edited in response to the editing operation on the component control object includes: In response to the touch operation of moving the subcontrol, displaying coordinate axis options, the coordinate axis options including three coordinate axes corresponding to the component control object; In response to selecting a target coordinate axis from the coordinate axis options, controlling the component control object to move along the target coordinate axis in the game running scene; According to the moving state of the component control object, first editing information corresponding to the scene component model to be edited is determined.
22. The method according to claim 15, characterized in that The first editing control includes a fourth sub-control, and the step of responding to the first editing operation performed through the first editing control to obtain first editing information corresponding to the scene component model to be edited includes: In response to a touch operation on the fourth subcontrol, first editing information corresponding to the scene component model to be edited is obtained; the first editing information includes deletion editing information.
23. The method according to claim 14 or 16, characterized in that In response to an editing operation on the component control object, before controlling the editing of the component control object, the method further includes: Controlling to establish an association relationship between the controlled virtual object and the component control object.
24. The method according to claim 23, characterized in that The controlling establishes an association relationship between the controlled virtual object and the component control object, including: Determining the distance between the controlled virtual object and the component controlled object; If the distance between the controlled virtual object and the component controlled object is less than a first preset distance threshold, control is performed to establish an association relationship between the controlled virtual object and the component controlled object.
25. The method according to claim 23, characterized in that After controlling to establish an association relationship between the controlled virtual object and the component control object, the method further includes: In response to the movement control operation on the controlled virtual object, the component control object is controlled to follow the controlled virtual object to move in the game running scene.
26. The method according to claim 23, characterized in that The method further comprises: In response to adjusting the aiming position of the selection mark or the orientation of the controlled virtual object, the component control object is controlled to move following the aiming position of the selection mark or the orientation of the controlled virtual object.
27. The method according to claim 26, characterized in that In response to adjusting the aiming position of the selection mark or the orientation of the controlled virtual object, controlling the component control object to move following the aiming position of the selection mark or the orientation of the controlled virtual object comprises: In response to adjusting the aiming position of the selection marker, determining whether the component control object triggers grid adsorption or component stack adsorption; If the component control object triggers grid adsorption or component stack adsorption, determining whether the component control object is within a preset range of the position targeted by the selection mark; If the component control object is within a preset range of the position targeted by the selection mark, controlling the component control object not to move; If the component control object is not within the preset range of the position targeted by the selection mark, the component control object is controlled to move according to the targeting position of the selection mark.
28. The method according to claim 14 or 16, characterized in that The responding to the editing operation on the component control object and controlling the editing of the component control object comprises: Controlling display of a second editing control, and in response to a second editing operation performed through the second editing control, controlling editing of the component control object.
29. The method according to claim 28, characterized in that The second editing control includes a distance editing sub-control, and the responding to the second editing operation performed through the second editing control to control the editing of the component control object includes: In response to an editing operation on the distance editing sub-control, the component control object is controlled to approach or move away from the controlled virtual object, and the position of the controlled virtual object remains unchanged.
30. The method according to claim 29, characterized in that In response to the editing operation on the distance editing sub-control, controlling the component control object to approach or move away from the controlled virtual object comprises: In response to the moving editing operation of the distance editing subcontrol, determining whether the component control object triggers grid adsorption or component stack adsorption; If the component control object triggers grid adsorption or component stack adsorption, it is determined whether the moving editing distance corresponding to the distance editing subcontrol is greater than a second preset distance threshold; If the moving edit distance corresponding to the distance edit subcontrol is less than or equal to the second preset distance threshold, controlling the component control object not to move; If the moving edit distance corresponding to the distance edit sub-control is greater than the second preset distance threshold, the component controls the object to move so as to get closer to or farther away from the controlled virtual object.
31. The method according to claim 28, characterized in that The second editing control includes a rotation editing sub-control, and the responding to the second editing operation performed through the second editing control to control the editing of the component control object includes: In response to an editing operation on the rotation editing subcontrol, a rotation direction indicator and a current adjustment progress are displayed in an associated area of the rotation editing subcontrol to control the component control object to rotate.
32. The method according to claim 28, characterized in that The second editing control includes a zoom editing sub-control, and the responding to the second editing operation performed through the second editing control to control the editing of the component control object includes: In response to a touch operation on the zoom edit subcontrol, the component control object is controlled to be zoomed based on a center position of the component control object.
33. The method according to claim 28, characterized in that The second editing control includes an editing confirmation sub-control, and the response to the second editing operation performed through the second editing control controls the editing of the component control object, including: In response to a touch operation on the edit confirmation subcontrol, the component control object is converted into a scene component model according to a current editing state of the component control object.
34. The method according to claim 28, characterized in that The second edit operation control includes an edit cancel sub-control, and the control of editing the component control object in response to the second edit operation performed through the second edit control includes at least one of the following: In response to a touch operation on the edit cancel subcontrol, removing the component control object, wherein the component control object corresponds to the scene component to be added; In response to a touch operation on the edit cancel subcontrol, the component control object is removed, and the component model of the scene to be edited before editing is controlled to be displayed; the component control object corresponds to the component model of the scene to be edited.
35. The method according to claim 1, characterized in that The method further comprises: When the first game running scene is in a second preset state, in response to a movement control operation on the controlled virtual object, the controlled virtual object is controlled to move under a physical collision or gravity.
36. The method according to claim 1, characterized in that The method further comprises: When the first game running scene is in a first preset state, in response to a movement control operation on the controlled virtual object, controlling the controlled virtual object to move in the first game running scene; According to the moving state of the controlled virtual object, the scene component model to be edited is controlled to move following the controlled virtual object in the first game running scene.
37. The method according to claim 36, characterized in that In response to the movement control operation on the controlled virtual object, controlling the controlled virtual object to move in the first game running scene includes: In the flight control mode, in response to the movement control operation of the controlled virtual object, the controlled virtual object is controlled to move in the plane and in height in the first game running scene with a first preset action; in the flight control mode, the physical collision attribute and / or gravity attribute of the scene component model to be edited is turned off; or In the normal control mode, in response to the movement control operation of the controlled virtual object, the controlled virtual object is controlled to move on the supporting surface formed by the scene component model with a second preset action; in the normal control mode, the physical collision properties and / or gravity properties of the scene component model to be edited are turned on.
38. The method according to claim 1, characterized in that The method further comprises: In response to the field of view adjustment instruction, the aiming position of the selection mark or the orientation of the controlled virtual object is controlled to be adjusted.
39. The method according to claim 1, characterized in that The selection mark is configured to move according to the movement of the controlled virtual object.
40. A component editing control device, characterized in that: The device comprises: A running scene display module, used for loading a target game scene to display a first game running scene in a graphical user interface; the target game scene includes one or more scene components; the first game running scene includes a controlled virtual object and one or more scene component models corresponding to the one or more scene components; A virtual object control module, configured to respond to a game running operation in the first game running scene and control the controlled virtual object to execute a game running process instruction; A component model selection module, configured to display a selection mark in the graphical user interface, and determine a scene component model to be edited from the scene component models in the first game running scene according to the aiming direction of the selection mark; An editing information acquisition module, used for responding to a first editing operation on the scene component model to be edited, and acquiring first editing information corresponding to the scene component model to be edited; the first editing information corresponding to the scene component model to be edited is used to edit the scene component to be edited in the target game scene; the scene component to be edited corresponds to the scene component model to be edited; The game scene editing module is used to determine the edited target game scene according to the first editing information.
41. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 39 is implemented.
42. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to perform the method of any one of claims 1 to 39 by executing the executable instructions.
Citation Information
Cited By
Virtual scene editing method and device, electronic equipment and readable storage medium
CN119607545A
Methods, devices, electronic equipment, and readable storage media for editing virtual scenes
CN119607545B
Game scene editing method and apparatus, device, and storage medium
WO2026175070A1
