Component editing method and device in game, program product and electronic equipment

By responding to the scaling operation and adjusting component position in the graphical user interface of the game program, the problem of component scaling affecting the spacing is solved, and efficient automatic adjustment of component editing is achieved.

CN119158270APending Publication Date: 2024-12-20NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411187631.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In game scenarios, component scaling operations will affect component spacing, resulting in high cost of component position adjustment operations in the later stage, and it is difficult for the existing technology to effectively solve this problem.

Method used

The component editing function is provided in the graphical user interface of the game program. By responding to the scaling control operation, the scaling control parameters are determined, and the size of the target component and its position of other components in the component combination are adjusted according to these parameters to keep the component spacing away Change.

Benefits of technology

Real-time position impact viewing and automatic adjustment when component scaling is realized, reducing the cost of manual adjustment of users in component combinations and improving editing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119158270A_ABST
    Figure CN119158270A_ABST
Patent Text Reader

Abstract

The invention provides a component editing method and device in a game, a computer program product and electronic equipment, and relates to the technical field of computers. The component editing method in the game comprises the following steps: displaying a game editing scene in a graphical user interface provided by running a game program; the game editing scene comprises one or more component combinations; the component combination comprises at least one scene component; in response to a zoom control operation for the first target scene component, determining a zoom control parameter; the first target scene component is a scene component in one or more component combinations; and adjusting the size of the first target scene component and the positions of other scene components in the component combination in which the first target scene component is located according to the zooming control parameter, so that the problem that the scene components in the component combination are scaled by a user due to the change of the component interval can be solved to a certain extent. The operation cost caused by other scene components in the component combination needs to be manually adjusted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a component editing method in a game, a component editing device in a game, a computer program product, and an electronic device. Background Art

[0002] A game scene is usually composed of a certain number of components, each of which may be an object or a person in the game scene. Modeling and editing objects or people in the game scene is one of the main tasks in building a game scene.

[0003] In the related art, in order to facilitate the simultaneous movement and management of components in the editing scene, it is often necessary to group the components in the editing scene (i.e., combine multiple components). If the user scales a component in the group, it may affect the distance between the component and other components in the group, resulting in higher costs for subsequent component position adjustment operations.

[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 method in a game, a component editing device in a game, a computer program product and an electronic device, so as to at least to some extent solve the problem of high cost of component adjustment operation in the related art.

[0006] According to a first aspect of the present disclosure, a component editing method in a game is provided, comprising: displaying a game editing scene in a graphical user interface provided by running a game program; the game editing scene comprises one or more component combinations; the component combination comprises at least one scene component; in response to a zoom control operation for a first target scene component, determining a zoom control parameter; the first target scene component is a scene component in the one or more component combinations; and according to the zoom control parameter, adjusting the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located.

[0007] According to a second aspect of the present disclosure, a component editing device in a game is provided, comprising: an editing scene display module, used to display a game editing scene in a graphical user interface provided by running a game program; the game editing scene includes one or more component combinations; the component combination includes at least one scene component; a zoom parameter determination module, used to determine a zoom control parameter in response to a zoom control operation on a first target scene component; the first target scene component is a scene component in the one or more component combinations; a scene component adjustment module, used to adjust the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located according to the zoom control parameter.

[0008] 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 method in a game of the first aspect and possible implementation methods thereof are implemented.

[0009] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the component editing method in the game of the above-mentioned first aspect and its possible implementation method by executing the executable instructions.

[0010] The technical solution disclosed in this disclosure has the following beneficial effects:

[0011] During the component editing process in the above-mentioned game, the game editing scene is displayed in the graphical user interface provided by the running game program; the game editing scene includes one or more component combinations; the component combination includes at least one scene component; in response to the zoom control operation for the first target scene component, the zoom control parameter is determined; the first target scene component is a scene component in one or more component combinations; according to the zoom control parameter, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located are adjusted. The present disclosure adaptively adjusts the positions of other scene components in the component combination where the first target scene component is located while adjusting the first target scene component, which not only facilitates the user to view in real time the positional influence of other scene components after the size of a single scene component in the combination is scaled, but also saves the user the operating cost of manually adjusting other scene components in the component combination due to changes in component spacing when scaling the scene components in the component combination. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A schematic diagram showing a zoom of scene components in the related art;

[0013] Figure 2A flowchart showing a method for editing components in a game in this exemplary embodiment is shown;

[0014] Figure 3A A schematic diagram showing an interface of a game editing scene in this exemplary embodiment;

[0015] Figure 3B A schematic diagram of a parameter configuration interface of a component combination in this exemplary embodiment is shown;

[0016] Figure 3C A schematic diagram of an interface for component zoom control in this exemplary embodiment is shown;

[0017] Figure 3D A schematic diagram of an interface for adjusting the position of a component in this exemplary embodiment is shown;

[0018] Figure 4 A schematic diagram of an interface for scaling a scene component in this exemplary embodiment is shown;

[0019] Figure 5 A schematic diagram showing a flow chart of component scaling control in this exemplary embodiment is shown;

[0020] Figure 6 A structural block diagram showing a component editing device in a game according to the exemplary embodiment;

[0021] Figure 7 An electronic device for implementing the component editing method in the game in this exemplary embodiment is shown. DETAILED DESCRIPTION

[0022] Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.

[0023] The accompanying drawings are schematic diagrams of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. The embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein. The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the description below, many specific details are provided to provide a full description of the embodiments of the present disclosure. However, those skilled in the art should appreciate that one or more specific details may be omitted when implementing the technical solution of the present disclosure, or one or more specific details may be replaced by other methods, components, devices, steps, etc.

[0024] In related technologies, such as Figure 1 As shown, scene component 101 and scene component 102 constitute a component combination. After the user scales scene component 101 in the component combination, the originally set spacing between scene component 101 and scene component 102 is destroyed. At this time, the user needs to re-adjust the position of the scene component. The more scene components there are in the component combination, the greater the operation cost.

[0025] In view of one or more of the above problems, exemplary embodiments of the present disclosure provide a method for editing components in a game, an apparatus for editing components in a game, a computer program product, and an electronic device.

[0026] In one embodiment of the present disclosure, the component editing method in the game can be run on a local terminal device or a server. When the component editing method in the game is run on the server, the component editing method in the game can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0027] 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 operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the component editing method in the game 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 game processing is performed by the cloud game server in the cloud. When playing the game, the player 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.

[0028] 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 player 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 player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player 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.

[0029] In an optional embodiment, reference Figure 2 As shown, a flowchart of a component editing method in a game is provided, which specifically includes the following steps S210 to S230:

[0030] Step S210, displaying a game editing scene in a graphical user interface provided by running the game program; the game editing scene includes one or more component combinations; the component combination includes at least one scene component;

[0031] Step S220, determining a zoom control parameter in response to a zoom control operation on a first target scene component; the first target scene component is a scene component in one or more component combinations;

[0032] Step S230: adjusting the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located according to the zoom control parameter.

[0033] Figure 2 In the method shown, while adjusting the target scene component, the positions of other scene components in the component combination where the target scene component is located are adaptively adjusted. This not only allows users to view in real time the impact on the positions of other scene components after a single scene component in the combination is scaled in size, but also saves users the operational costs of manually adjusting other scene components in the component combination due to changes in component spacing when scaling the scene components in the component combination.

[0034] Below Figure 2 Provide detailed instructions for each step.

[0035] In step S210, a game editing scene is displayed in a graphical user interface provided by running the game program; the game editing scene includes one or more component combinations; the component combination includes at least one scene component.

[0036] When the terminal device runs a game program, a game editing scene can be displayed in the graphical user interface. The game program can be a main game program, which provides a game scene editing function (such as a game editor built into the game program). When the user uses this function, the game editing scene can be displayed in the main game program. Alternatively, the game program can also be an editing program that is compatible with the main game program. The editing program can run independently without running the main game program. When the editing program is used to edit the game scene, the game editing scene is displayed.

[0037] This exemplary embodiment supports players to customize editing scenes. Therefore, the user in this article can refer to the game production staff (such as artists) of the game manufacturer, or it can refer to the player.

[0038] The user can choose to create a new game scene and edit it, or choose to edit an existing game scene. The game editing scene is the game scene currently being edited. The game editing scene may include the background of the scene and one or more generated scene components. These scene components may be scene components that come with the game editing scene (e.g., the game program may provide preset game scenes of various styles, and the user may select a preset game scene for editing, which initially comes with scene components), or scene components generated by user editing. Scene components may be people, objects, or partial people or objects in the game, such as NPCs (Non-Player Characters), etc.

[0039] In an optional implementation, in response to a component multiple selection operation, multiple scene components to be combined can be determined from the game editing scene; in response to a component combination operation, the multiple scene components to be combined can be controlled to generate a component combination.

[0040] The scene components to be combined may be scene components that are pre-selected in the game editing scene and need to be combined.

[0041] For example, Figure 3A As shown, a "multi-select" control 301 and a "combination" control 302 can be displayed in the graphical user interface. In response to the touch operation of the "multi-select" control 301, multiple scene components to be combined can be determined from the game editing scene; in response to the touch operation of the "combination" control 302, a component combination can be generated for the selected scene components to be combined.

[0042] By generating component combinations, users can batch edit scene components in the component combinations, thereby reducing user editing costs.

[0043] In an optional implementation, component intervals of a plurality of scene components to be combined may be obtained in response to a component combination operation.

[0044] Specifically, in response to a component combination operation, the component intervals of the scene components to be combined may be acquired and recorded, so as to provide data parameters for subsequent component combination editing operations.

[0045] Optionally, in the process of forming a component combination, information such as identifications and relative positions of the scene components to be combined may also be recorded to facilitate editing of the component combination, which is not specifically limited in the present disclosure.

[0046] It should be noted that each scene component in the same component combination can be edited simultaneously through editing operations on the component combination, such as moving, rotating, and scaling; each scene component in the same component combination can also be selected separately for independent editing, such as moving, rotating, and scaling.

[0047] In step S220, in response to a zoom control operation on a first target scene component, a zoom control parameter is determined; the first target scene component is a scene component in one or more component combinations.

[0048] The first target scene component may be a scene component selected from any component combination with the spacing locking function enabled.

[0049] Optionally, the first target scene component may be determined in response to a selection operation of a scene component in any component combination with the spacing locking function enabled.

[0050] In an optional embodiment, in response to a selection operation on a component combination, a target component combination can be determined from one or more component combinations; in response to a selection operation on a scene component in the target component combination, a first target scene component can be determined from the scene components corresponding to the target component combination.

[0051] Exemplarily, in response to a click operation on a component combination in a game editing scene, the clicked component combination may be used as a target component combination.

[0052] Exemplarily, after the target component combination is selected, in response to a click operation on a scene component in the target component combination, a first target scene component can be determined from the scene components corresponding to the target component combination.

[0053] Optionally, after selecting a component combination, such as Figure 3B As shown, the "combination" control 302 can be switched to the "edit combination" control 303 to edit the configuration parameters related to the selected component combination. Figure 3B The parameter configuration interface shown in . This parameter configuration interface can be used to configure the spacing locking function of the component combination.

[0054] Optionally, if the target component combination is a component combination that does not have a spacing lock function enabled, a parameter configuration interface may be displayed in response to a touch operation of the edit combination control, and the spacing lock function of the target component combination may be enabled through the parameter configuration interface.

[0055] Optionally, when the spacing locking function of the target component combination is enabled, in response to a selection operation on a scene component in the target component combination, a first target scene component may be determined from the scene components corresponding to the target component combination.

[0056] By determining the first target scene component from the scene components corresponding to the target component combination, a single scene component in the component combination can be zoomed and edited in a targeted manner.

[0057] In an optional implementation, after the target component combination is determined, the size and component spacing of each scene component in the target component combination may be controlled to be synchronously adjusted in response to a zoom control operation on the target component combination.

[0058] Exemplarily, the size of each scene component and the component interval in the target component combination can be scaled in equal proportions to meet the user's overall scaling control requirements for the component combination.

[0059] It should be noted that when the size and component spacing of each scene component in the target component combination are synchronously adjusted, the size and spacing of each scene component in the target component combination in the scaling direction will change.

[0060] The zoom control parameters may include but are not limited to: zoom direction, zoom amount, etc. The zoom amount may indicate the degree of zooming, a positive value may indicate zooming in, and a negative value may indicate zooming out. The zoom direction may include an axis direction along the reference coordinate system corresponding to the first target scene component.

[0061] Optionally, the graphical user interface may include a zoom control control, and after determining the first target scene component, the zoom control parameter for the first target scene component is determined by responding to the control operation of the zoom control control. Figure 3C As shown, after the first target scene component 304 is selected, the three axes of the reference coordinate system corresponding to the first target scene component can be displayed in response to the control operation of the zoom control control to perform zoom control based on the three axes of the reference coordinate system corresponding to the first target scene component.

[0062] The component zoom control mode may include a single-axis zoom mode (also known as a free zoom mode), a two-axis zoom mode (also known as a plane zoom mode), and a three-axis zoom mode (also known as an overall zoom mode). In the free zoom mode, the zoom control operation may be a zoom operation along any one of the three coordinate axes; in the plane zoom mode, the zoom control operation may be a zoom control operation along any two of the three coordinate axes, and one of the three coordinate axes may be locked to use the other two coordinate axes as the direction of the zoom control; in the overall zoom mode, the zoom control operation may be a zoom control operation along the three coordinate axes.

[0063] In step S230, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located are adjusted according to the zoom control parameter.

[0064] For example, Figure 3DAs shown, when the component combination includes scene component 310 and scene component 320, after the size of scene component 310 is adjusted according to the zoom control parameter, the position of scene component 320 can be adaptively adjusted to keep the distance between scene component 310 and scene component 320 unchanged.

[0065] Optionally, after the size adjustment of the first target scene component is completed, the positions of other scene components in the component combination where the first target scene component is located can be adaptively adjusted.

[0066] Optionally, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located may also be adjusted synchronously.

[0067] In an optional embodiment, in step S230, adjusting the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located according to the zoom control parameter can be achieved by the following steps: controlling the adjustment of the size of the first target scene component according to the zoom control parameter; determining the first scene component to be processed from other scene components in the target component combination according to the zoom control parameter, and controlling the adjustment of the position of the first scene component to be processed; the target component combination is the component combination where the first target scene component is located.

[0068] Optionally, when the size of the first target scene component is controlled and adjusted according to the scaling control parameter, the size of the first target scene component can be controlled and adjusted according to the scaling direction and scaling amount corresponding to the scaling control parameter. Exemplarily, the first target scene component can be controlled to perform bilateral scaling along the scaling direction according to the scaling amount. Wherein, bilateral scaling refers to that when scaling along a certain axis, the first target scene component is synchronously scaled along both sides of the axis. Exemplarily, the first target scene component can be controlled to perform unilateral scaling along the scaling direction according to the scaling amount. Wherein, unilateral scaling refers to that when scaling along a certain axis, the first target scene component is scaled along one side of the axis.

[0069] The first scene component to be processed may be a scene component whose component spacing is affected by scaling of the first target scene component, and may be determined according to a scaling control parameter.

[0070] By screening out the first scene components to be processed that are affected by the scaling, the components can be adaptively moved in a targeted manner, thereby reducing the user's operating costs.

[0071] In an optional embodiment, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene. The above-mentioned determination of the first scene component to be processed from other scene components in the target component combination according to the zoom control parameter, and control of adjusting the position of the first scene component to be processed can be achieved through the following steps: if the zoom direction corresponding to the zoom control parameter includes the axis direction of the three axes, all other scene components in the target component combination are used as the first scene component to be processed, and the position of the first scene component to be processed is controlled and adjusted.

[0072] Optionally, the origin of the reference coordinate system corresponding to the first target scene component may be located at the center of the first target scene component, at the center of the bounding box corresponding to the first target scene component, or at the bottom center of the bounding box corresponding to the first target scene component. This disclosure does not specifically limit this.

[0073] For example, Figure 4 As shown, a schematic diagram of the interface for scaling a scene component is provided, in which a table and chairs around the table are combined in the game editing scene. When scaling the table, if the scaling direction includes the axis directions of three axes, the distance between the table and the chairs around the table will be affected. At this time, the chairs around the table can be used as the first scene component to be processed to adaptively adjust the positions of the chairs so that the distance between the chairs and the table remains unchanged.

[0074] Exemplarily, if the position coordinates of the first scene component to be processed before moving are (x1, y1, z1), after controlling the first scene component to be processed to move a distance that matches the scaling amount, its position coordinates can be (x1±x0, y1±y0, z1±z0), where x0 represents the scaling amount along the x-axis, y0 represents the scaling amount along the y-axis, and z0 represents the scaling amount along the z-axis. A positive scaling amount may indicate that a zoom-in process is being performed, and a negative scaling amount may indicate that a zoom-out process is being performed. Among them, the position coordinates of the first scene component to be processed located on the positive side of the axis can be calculated by addition, and the position coordinates of the first scene component to be processed located on the negative side of the axis can be calculated by subtraction.

[0075] It should be noted that, in actual application, other methods may be used to calculate the position coordinates of the first scene component to be processed after movement, and the present disclosure does not specifically limit this.

[0076] When the scaling direction includes three axes, other scene components in the target component combination where the first target scene component is located will be affected by the scaling of the first target scene component. At this time, other scene components in the target component combination where the first target scene component is located can be directly used as the first scene components to be processed in order to achieve adaptive mobile control, thereby reducing user operation costs.

[0077] In an optional embodiment, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene. The above-mentioned determining the first scene component to be processed from other scene components in the target component combination according to the zoom control parameter, and controlling the adjustment of the position of the first scene component to be processed can be achieved through the following steps: if the zoom direction corresponding to the zoom control parameter includes the axis directions of two axes other than the locked axis, determine the scene components that are not located in the axis direction of the locked axis from the other scene components in the target component combination, use the scene components that are not located in the axis direction of the locked axis as the first scene component to be processed, and control the adjustment of the position of the first scene component to be processed; wherein the locked axis is any one of the three axes.

[0078] Exemplarily, the scaling direction includes the axis directions of the x-axis and the y-axis. When the locked axis is the Z-axis, the first target scene component can be controlled to scale along the plane formed by the two axes (such as the xy plane), without changing the size on the third axis (such as the z-axis). In this case, the scene components in the target component combination that are not located in the axis direction of the locked axis (such as the Z-axis) can be used as the first scene component to be processed, so as to achieve adaptive movement control, thereby reducing user operation costs.

[0079] If the position coordinates of the first scene component to be processed before moving are (x1, y1, z1), after controlling the first scene component to be processed to move a distance that matches the scaling amount, its position coordinates can be (x1±x0, y1±y0, z1). Among them, x0 represents the scaling amount along the x-axis direction, y0 represents the scaling amount along the y-axis direction, and a positive scaling amount may indicate that a zoom-in process is being performed, and a negative scaling amount may indicate that a zoom-out process is being performed. Among them, the position coordinates of the first scene component to be processed located on the positive side of the axis can be calculated by addition, and the position coordinates of the first scene component to be processed located on the negative side of the axis can be calculated by subtraction.

[0080] Optionally, if the zoom direction corresponding to the zoom control parameter includes the axis directions of two axes other than the locked axis, the scene component located in the plane formed by the other two axes can also be determined from other scene components in the target component combination, and the scene component located in the plane formed by the other two axes can be used as the first scene component to be processed, and the position of the first scene component to be processed can be controlled and adjusted.

[0081] In an optional embodiment, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene. The above-mentioned determining the first scene component to be processed from other scene components in the target component combination according to the zoom control parameter, and controlling the adjustment of the position of the first scene component to be processed can be achieved through the following steps: if the zoom direction corresponding to the zoom control parameter includes the axis direction of any axis among the three axes, determine the scene component located in the axis direction of any axis from other scene components in the target component combination, use the scene component located in the axis direction of any axis as the first scene component to be processed, and control the adjustment of the position of the first scene component to be processed.

[0082] For example, Figure 4 As shown, when scaling the table, if the scaling direction includes the x-axis direction, the distance between the table and the chairs located in the x-axis direction (i.e., the chairs on both sides of the table) will be affected. At this time, the chairs on both sides of the table can be used as the first scene components to be processed, and the positions of these chairs can be adaptively adjusted so that the distance between the chairs and the table remains unchanged, thereby reducing user operation costs.

[0083] If the position coordinates of the first scene component to be processed before moving are (x1, y1, z1), after controlling the first scene component to be processed to move a distance that matches the scaling amount, its position coordinates can be (x1±x0, y1, z1), where x0 represents the scaling amount along the x-axis direction, and a positive scaling amount can indicate that a zoom-in process is being performed, and a negative scaling amount can indicate that a zoom-out process is being performed. Among them, the position coordinates of the first scene component to be processed located on the positive side of the x-axis can be operated by addition, and the position coordinates of the first scene component to be processed located on the negative side of the x-axis can be operated by subtraction.

[0084] In an optional embodiment, the above-mentioned determining the first scene component to be processed from other scene components in the target component combination according to the zoom control parameter, and controlling the adjustment of the position of the first scene component to be processed can also be achieved by the following steps: determining the scene component located on the target side of the section plane from other scene components in the target component combination, taking the scene component located on the target side of the section plane as the first scene component to be processed, and controlling the adjustment of the position of the first scene component to be processed; wherein the section plane is a vertical plane passing through a preset position of the first target scene component and perpendicular to the zoom direction corresponding to the zoom control parameter; the target side is the side on which the first target scene component produces a zoom change.

[0085] Optionally, the preset position here can be consistent with the origin position of the coordinate system corresponding to the first target scene component. Exemplarily, it can be the center position of the first target scene component, or the center position of the bounding box corresponding to the first target scene component, or the bottom center of the bounding box corresponding to the first target scene component, and the present disclosure does not specifically limit this.

[0086] Exemplarily, when the scaling direction includes the axial direction of the x-axis, the yz plane can be used as a section, and the scene component located on the target side of the yz plane can be used as the first scene component to be processed, where the target side can be the side where the first target scene component is scaled along the x-axis.

[0087] Taking the vertical plane of the current zoom direction as the section plane, the scene components located on the target side of the section plane will be affected by the zoom of the first target scene components. The scene components located on the target side of the section plane will be used as the first scene components to be processed in order to achieve adaptive mobile control and reduce user operation costs.

[0088] In an optional embodiment, the above-mentioned control to adjust the position of the first scene component to be processed can be achieved through the following steps: controlling the adjustment of the position of the first scene component to be processed according to the initial component interval between the first target scene component and the first scene component to be processed; or determining the moving direction and moving distance corresponding to the first scene component to be processed according to the zoom direction and zoom amount corresponding to the zoom control parameter, and controlling the adjustment of the position of the first scene component to be processed according to the moving direction and moving distance corresponding to the first scene component to be processed.

[0089] The initial component interval may be the component interval between the first target scene component and the first to-be-processed scene component before the zoom control operation is performed.

[0090] Exemplarily, an initial component interval between the first target scene component and the first scene component to be processed can be obtained, and based on the initial component interval between the first target scene component and the first scene component to be processed, the position of the first scene component to be processed can be adaptively controlled to adjust so that the interval between the first target scene component and the first scene component to be processed remains unchanged.

[0091] The component intervals of each scene component in the component combination can be recorded in advance. If the size of a scene component in the component combination changes, the positions of other scene components in the component combination can be controlled to shift synchronously to ensure that the spacing values ​​between other scene components in the component combination and the scaled scene component remain constant, thereby reducing the player's movement operation cost.

[0092] Exemplarily, the moving direction and moving distance corresponding to the first scene component to be processed can be determined according to the zoom direction and zoom amount corresponding to the zoom control parameters, and the position of the first scene component to be processed can be adjusted according to the moving direction and moving distance corresponding to the first scene component to be processed, so as to ensure that the spacing value between other scene components in the target component combination and the scaled scene component remains constant, without the need to pre-record the component spacing of each scene component in the component combination, which can reduce the data recording cost to a certain extent.

[0093] In an optional embodiment, the above-mentioned adjustment of the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located according to the zoom control parameters can be achieved by the following steps: determining a second scene component to be processed that satisfies a preset position relationship with the first target scene component from other scene components in the target component combination; the target component combination is the component combination where the first target scene component is located; and adjusting the size of the first target scene component, the size of the second scene component to be processed and the positions of other scene components in the target component combination according to the zoom control parameters.

[0094] The preset position relationship may include any one or more of the following: intersecting with the first target scene component, intersecting with a section of the first target scene component. The second scene component to be processed may be a scene component intersecting with the first target scene component, or a scene component intersecting with a section of the first target scene component.

[0095] Optionally, after determining the second scene component to be processed that satisfies the preset position relationship from other scene components in the target component combination, the first target scene component and the second scene component to be processed can be controlled to scale along the scaling direction according to the scaling amount corresponding to the scaling control parameter, so as to achieve synchronous scaling of the first target scene component and the second scene component to be processed, so as to avoid the incoordination of the size of the second scene component to be processed after scaling a single target scene component, which can reduce the user's operating cost to a certain extent. In addition, the positions of other scene components in the target component combination can also be adaptively adjusted according to the scaling control parameter, so that the spacing between the first target scene component and other scene components in the target component combination remains unchanged.

[0096] In an optional embodiment, in response to a selection operation on a scene component in a game editing scene, a second target scene component can be determined; the second target scene component is not a scene component in a combination of one or more components; in response to a scaling control operation on the second target scene component, the size of the second target scene component can be controlled to be adjusted while keeping the size and position of other scene components in the game editing scene unchanged.

[0097] Among them, the second target scene component is a scene component in the non-component combination.

[0098] Specifically, in response to a zoom control operation on a second target scene component, the size of the second target scene component can be controlled to be adjusted while keeping the size and position of other scene components in the game editing scene unchanged. The interval between the second target scene component and other scene components in the game editing scene in the zoom direction will change with the zoom of the second target scene component, thereby satisfying the user's zoom control needs for a single scene component.

[0099] like Figure 5 As shown, a schematic diagram of a component scaling control process is provided, which may specifically include the following steps:

[0100] Step S501, displaying a game editing scene in a graphical user interface provided by running a game program; the game editing scene includes one or more component combinations; the component combination includes at least one scene component;

[0101] Step S502, in response to a selection operation on a component combination, determining a target component combination from one or more component combinations;

[0102] Step S503, in response to a selection operation on a scene component in the target component combination, determining a first target scene component from the scene components corresponding to the target component combination;

[0103] Step S504, determining a zoom control parameter in response to a zoom control operation on the first target scene component;

[0104] Step S505, determining a second scene component to be processed that satisfies a preset position relationship with the first target scene component from other scene components in the target component combination;

[0105] Step S506, determining a first scene component to be processed from other scene components in the target component combination according to the scaling control parameter;

[0106] Step S507: According to the zoom control parameter, the size of the first target scene component, the size of the second scene component to be processed, and the position of the first scene component to be processed are controlled and adjusted.

[0107] The exemplary embodiment of the present disclosure also provides a component editing device in a game, referring to Figure 6 As shown, the component editing device 600 in the game may include the following program modules:

[0108] The editing scene display module 610 is used to display the game editing scene in the graphical user interface provided by the running game program; the game editing scene includes one or more component combinations; the component combination includes at least one scene component;

[0109] A zoom parameter determination module 620, for determining a zoom control parameter in response to a zoom control operation on a first target scene component; the first target scene component is a scene component in one or more component combinations;

[0110] The scene component adjustment module 630 is used to adjust the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located according to the zoom control parameter.

[0111] In an optional embodiment, based on the aforementioned scheme, the component editing device 600 in the game also includes: a first scene component determination module, which can be configured to: in response to a selection operation on a component combination, determine a target component combination from one or more component combinations; in response to a selection operation on a scene component in the target component combination, determine a first target scene component from the scene components corresponding to the target component combination.

[0112] In an optional embodiment, based on the aforementioned scheme, the component editing device 600 in the game also includes: a combination zoom control module, which is used to control the synchronous adjustment of the size and component spacing of each scene component in the target component combination in response to the zoom control operation on the target component combination.

[0113] In an optional embodiment, based on the aforementioned scheme, the scene component adjustment module 630 includes: a size adjustment module, used to control the adjustment of the size of the first target scene component according to the scaling control parameters; a position adjustment module, used to determine the first scene component to be processed from other scene components in the target component combination according to the scaling control parameters, and control the adjustment of the position of the first scene component to be processed; the target component combination is the component combination where the first target scene component is located.

[0114] In an optional embodiment, based on the aforementioned scheme, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene, and the position adjustment module can be configured as: if the zoom direction corresponding to the zoom control parameter includes the axis direction of the three axes, the other scene components in the target component combination are all used as the first scene component to be processed, and the position of the first scene component to be processed is controlled and adjusted.

[0115] In an optional embodiment, based on the aforementioned scheme, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene, and the position adjustment module can be configured as follows: if the zoom direction corresponding to the zoom control parameter includes the axis directions of two axes other than the locked axis, the scene components that are not located in the axis direction of the locked axis are determined from other scene components in the target component combination, the scene components that are not located in the axis direction of the locked axis are used as the first scene components to be processed, and the position of the first scene component to be processed is controlled and adjusted; wherein the locked axis is any one of the three axes.

[0116] In an optional embodiment, based on the aforementioned scheme, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene, and the position adjustment module can be configured as: if the zoom direction corresponding to the zoom control parameter includes the axis direction of any one of the three axes, the scene component located in the axis direction of any axis is determined from other scene components in the target component combination, the scene component located in the axis direction of any axis is used as the first scene component to be processed, and the position of the first scene component to be processed is controlled and adjusted.

[0117] In an optional embodiment, based on the aforementioned scheme, the position adjustment module can be configured to: determine the scene component located on the target side of the section from other scene components in the target component combination, use the scene component located on the target side of the section as the first scene component to be processed, and control the adjustment of the position of the first scene component to be processed; wherein the section is a vertical plane passing through a preset position of the first target scene component and perpendicular to the scaling direction corresponding to the scaling control parameter; the target side is the side where the first target scene component produces a scaling change.

[0118] In an optional embodiment, based on the aforementioned scheme, the position adjustment module controls the adjustment of the position of the first scene component to be processed, including: controlling the adjustment of the position of the first scene component to be processed according to the initial component interval between the first target scene component and the first scene component to be processed; or determining the moving direction and moving distance corresponding to the first scene component to be processed according to the zoom direction and zoom amount corresponding to the zoom control parameter, and controlling the adjustment of the position of the first scene component to be processed according to the moving direction and moving distance corresponding to the first scene component to be processed.

[0119] In an optional embodiment, based on the aforementioned scheme, the scene component adjustment module 630 can be configured to: determine a second scene component to be processed that satisfies a preset position relationship with the first target scene component from other scene components in the target component combination; the target component combination is the component combination where the first target scene component is located; and adjust the size of the first target scene component, the size of the second scene component to be processed, and the positions of other scene components in the target component combination according to the scaling control parameters.

[0120] In an optional implementation, based on the above solution, the preset position relationship includes any one or more of the following: intersection with the first target scene component, intersection with a section of the first target scene component.

[0121] In an optional embodiment, based on the aforementioned scheme, the component editing device 600 in the game also includes: a non-combination component scaling module, which can be configured to: determine a second target scene component in response to a selection operation on a scene component in the game editing scene; the second target scene component is not a scene component in one or more component combinations; in response to a scaling control operation on the second target scene component, control the adjustment of the size of the second target scene component while keeping the size and position of other scene components in the game editing scene unchanged.

[0122] In an optional implementation, based on the above solution, the component editing device 600 in the game further includes: a component combination control module. The component combination control module can be configured to: in response to a component multiple selection operation, determine multiple scene components to be combined from the game editing scene; in response to the component combination operation, control the generation of a component combination from the multiple scene components to be combined.

[0123] The specific details of each part of the above-mentioned device 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.

[0124] 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 method in the game is implemented.

[0125] 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.

[0126] 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.

[0127] 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).

[0128] 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:

[0129] Displaying a game editing scene in a graphical user interface provided by running a game program; the game editing scene includes one or more component combinations; the component combination includes at least one scene component;

[0130] In response to a zoom control operation for a first target scene component, determining a zoom control parameter; the first target scene component is a scene component in one or more component combinations;

[0131] According to the scaling control parameter, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located are adjusted.

[0132] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: in response to a selection operation on a component combination, determining a target component combination from one or more component combinations; in response to a selection operation on a scene component in the target component combination, determining a first target scene component from the scene components corresponding to the target component combination.

[0133] In an optional implementation, based on the above solution, the following steps may also be performed: in response to a zoom control operation on the target component combination, controlling the synchronous adjustment of the size and component spacing of each scene component in the target component combination.

[0134] In an optional embodiment, based on the aforementioned scheme, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located are adjusted according to the scaling control parameters, including: controlling the adjustment of the size of the first target scene component according to the scaling control parameters; determining the first scene component to be processed from other scene components in the target component combination according to the scaling control parameters, and controlling the adjustment of the position of the first scene component to be processed; the target component combination is the component combination where the first target scene component is located.

[0135] In an optional embodiment, based on the aforementioned scheme, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene, and according to the scaling control parameters, the first scene component to be processed is determined from the other scene components in the target component combination, and the position of the first scene component to be processed is controlled and adjusted, including: if the scaling direction corresponding to the scaling control parameter includes the axis direction of the three axes, the other scene components in the target component combination are all used as the first scene component to be processed, and the position of the first scene component to be processed is controlled and adjusted.

[0136] In an optional embodiment, based on the aforementioned scheme, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene, and according to the zoom control parameter, the first scene component to be processed is determined from the other scene components in the target component combination, and the position of the first scene component to be processed is controlled and adjusted, including: if the zoom direction corresponding to the zoom control parameter includes the axis directions of the other two axes except the locked axis, the scene component that is not located in the axis direction of the locked axis is determined from the other scene components in the target component combination, the scene component that is not located in the axis direction of the locked axis is used as the first scene component to be processed, and the position of the first scene component to be processed is controlled and adjusted; wherein the locked axis is any one of the three axes.

[0137] In an optional embodiment, based on the aforementioned scheme, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene, and according to the zoom control parameter, the first scene component to be processed is determined from the other scene components in the target component combination, and the position of the first scene component to be processed is controlled and adjusted, including: if the zoom direction corresponding to the zoom control parameter includes the axis direction of any axis of the three axes, the scene component located in the axis direction of any axis is determined from the other scene components in the target component combination, the scene component located in the axis direction of any axis is used as the first scene component to be processed, and the position of the first scene component to be processed is controlled and adjusted.

[0138] In an optional embodiment, based on the aforementioned scheme, according to the scaling control parameters, the first scene component to be processed is determined from other scene components in the target component combination, and the position of the first scene component to be processed is controlled and adjusted, including: determining the scene component located on the target side of the section surface from other scene components in the target component combination, taking the scene component located on the target side of the section surface as the first scene component to be processed, and controlling the position of the first scene component to be processed; wherein the section surface is a vertical plane passing through a preset position of the first target scene component and perpendicular to the scaling direction corresponding to the scaling control parameters; the target side is the side on which the scaling change of the first target scene component occurs.

[0139] In an optional embodiment, based on the aforementioned scheme, controlling the position of the first scene component to be processed includes: controlling the position of the first scene component to be processed according to the initial component interval between the first target scene component and the first scene component to be processed; or determining the moving direction and moving distance corresponding to the first scene component to be processed according to the zoom direction and zoom amount corresponding to the zoom control parameter, and controlling the position of the first scene component to be processed according to the moving direction and moving distance corresponding to the first scene component to be processed.

[0140] In an optional embodiment, based on the aforementioned scheme, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located are adjusted according to the scaling control parameters, including: determining a second scene component to be processed that satisfies a preset position relationship with the first target scene component from other scene components in the target component combination; the target component combination is the component combination where the first target scene component is located; and adjusting the size of the first target scene component, the size of the second scene component to be processed and the positions of other scene components in the target component combination according to the scaling control parameters.

[0141] In an optional implementation, based on the above solution, the preset position relationship includes any one or more of the following: intersection with the first target scene component, intersection with a section of the first target scene component.

[0142] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: in response to a selection operation on a scene component in a game editing scene, a second target scene component is determined; the second target scene component is not a scene component in a combination of one or more components; in response to a scaling control operation on the second target scene component, the size of the second target scene component is controlled to be adjusted while keeping the size and position of other scene components in the game editing scene unchanged.

[0143] In an optional implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a component multi-selection operation, multiple scene components to be combined are determined from the game editing scene; in response to a component combination operation, multiple scene components to be combined are controlled to generate a component combination.

[0144] In the above steps, while adjusting the target scene component, the positions of other scene components in the component combination where the target scene component is located are adaptively adjusted. This not only allows users to view in real time the impact of the positions of other scene components after a single scene component in the combination is scaled, but also saves users the operational costs of manually adjusting other scene components in the component combination due to changes in component spacing when scaling the scene components in the component combination.

[0145] The exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the component editing method in the above-mentioned game. 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.

[0146] Reference below Figure 7 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Figure 7 The electronic device 700 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0147] like Figure 7 As shown, the electronic device 700 may include: a processor 710 , a memory 720 , a bus 730 , an I / O (input / output) interface 740 , a network adapter 750 , and a display 760 .

[0148] The memory 720 may include a volatile memory, such as a RAM 721, a cache unit 722, and may also include a non-volatile memory, such as a ROM 723. The memory 720 may also include one or more program modules 724, such program modules 724 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 724 may include each module in the above-mentioned device.

[0149] The processor 710 may include one or more processing units. For example, the processor 710 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.

[0150] The processor 710 may be configured to execute executable instructions stored in the memory 720 , such as executing any one or more method steps in the exemplary embodiment.

[0151] Exemplarily, the processor 710 may perform the following steps:

[0152] Displaying a game editing scene in a graphical user interface provided by running a game program; the game editing scene includes one or more component combinations; the component combination includes at least one scene component;

[0153] In response to a zoom control operation for a first target scene component, determining a zoom control parameter; the first target scene component is a scene component in one or more component combinations;

[0154] According to the scaling control parameter, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located are adjusted.

[0155] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: in response to a selection operation on a component combination, determining a target component combination from one or more component combinations; in response to a selection operation on a scene component in the target component combination, determining a first target scene component from the scene components corresponding to the target component combination.

[0156] In an optional implementation, based on the above solution, the following steps may also be performed: in response to a zoom control operation on the target component combination, controlling the synchronous adjustment of the size and component spacing of each scene component in the target component combination.

[0157] In an optional embodiment, based on the aforementioned scheme, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located are adjusted according to the scaling control parameters, including: controlling the adjustment of the size of the first target scene component according to the scaling control parameters; determining the first scene component to be processed from other scene components in the target component combination according to the scaling control parameters, and controlling the adjustment of the position of the first scene component to be processed; the target component combination is the component combination where the first target scene component is located.

[0158] In an optional embodiment, based on the aforementioned scheme, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene, and according to the scaling control parameters, the first scene component to be processed is determined from the other scene components in the target component combination, and the position of the first scene component to be processed is controlled and adjusted, including: if the scaling direction corresponding to the scaling control parameter includes the axis direction of the three axes, the other scene components in the target component combination are all used as the first scene component to be processed, and the position of the first scene component to be processed is controlled and adjusted.

[0159] In an optional embodiment, based on the aforementioned scheme, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene, and according to the zoom control parameter, the first scene component to be processed is determined from the other scene components in the target component combination, and the position of the first scene component to be processed is controlled and adjusted, including: if the zoom direction corresponding to the zoom control parameter includes the axis directions of the other two axes except the locked axis, the scene component that is not located in the axis direction of the locked axis is determined from the other scene components in the target component combination, the scene component that is not located in the axis direction of the locked axis is used as the first scene component to be processed, and the position of the first scene component to be processed is controlled and adjusted; wherein the locked axis is any one of the three axes.

[0160] In an optional embodiment, based on the aforementioned scheme, the three axes of the reference coordinate system corresponding to the first target scene component are displayed in the game editing scene, and according to the zoom control parameter, the first scene component to be processed is determined from the other scene components in the target component combination, and the position of the first scene component to be processed is controlled and adjusted, including: if the zoom direction corresponding to the zoom control parameter includes the axis direction of any axis of the three axes, the scene component located in the axis direction of any axis is determined from the other scene components in the target component combination, the scene component located in the axis direction of any axis is used as the first scene component to be processed, and the position of the first scene component to be processed is controlled and adjusted.

[0161] In an optional embodiment, based on the aforementioned scheme, according to the scaling control parameters, the first scene component to be processed is determined from other scene components in the target component combination, and the position of the first scene component to be processed is controlled and adjusted, including: determining the scene component located on the target side of the section surface from other scene components in the target component combination, taking the scene component located on the target side of the section surface as the first scene component to be processed, and controlling the position of the first scene component to be processed; wherein the section surface is a vertical plane passing through a preset position of the first target scene component and perpendicular to the scaling direction corresponding to the scaling control parameters; the target side is the side on which the scaling change of the first target scene component occurs.

[0162] In an optional embodiment, based on the aforementioned scheme, controlling the position of the first scene component to be processed includes: controlling the position of the first scene component to be processed according to the initial component interval between the first target scene component and the first scene component to be processed; or determining the moving direction and moving distance corresponding to the first scene component to be processed according to the zoom direction and zoom amount corresponding to the zoom control parameter, and controlling the position of the first scene component to be processed according to the moving direction and moving distance corresponding to the first scene component to be processed.

[0163] In an optional embodiment, based on the aforementioned scheme, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located are adjusted according to the scaling control parameters, including: determining a second scene component to be processed that satisfies a preset position relationship with the first target scene component from other scene components in the target component combination; the target component combination is the component combination where the first target scene component is located; and adjusting the size of the first target scene component, the size of the second scene component to be processed and the positions of other scene components in the target component combination according to the scaling control parameters.

[0164] In an optional implementation, based on the above solution, the preset position relationship includes any one or more of the following: intersection with the first target scene component, intersection with a section of the first target scene component.

[0165] In an optional embodiment, based on the aforementioned scheme, the following steps may also be performed: in response to a selection operation on a scene component in a game editing scene, a second target scene component is determined; the second target scene component is not a scene component in a combination of one or more components; in response to a scaling control operation on the second target scene component, the size of the second target scene component is controlled to be adjusted while keeping the size and position of other scene components in the game editing scene unchanged.

[0166] In an optional implementation, based on the aforementioned scheme, the following steps may also be performed: in response to a component multi-selection operation, multiple scene components to be combined are determined from the game editing scene; in response to a component combination operation, multiple scene components to be combined are controlled to generate a component combination.

[0167] In the above steps, while adjusting the target scene component, the positions of other scene components in the component combination where the target scene component is located are adaptively adjusted. This not only allows users to view in real time the impact of the positions of other scene components after a single scene component in the combination is scaled, but also saves users the operational costs of manually adjusting other scene components in the component combination due to changes in component spacing when scaling the scene components in the component combination.

[0168] The bus 730 is used to realize the connection between different components of the electronic device 700, and may include a data bus, an address bus, and a control bus.

[0169] The electronic device 700 can communicate with one or more external devices 800 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 740 .

[0170] The electronic device 700 can communicate with one or more networks through the network adapter 750. For example, the network adapter 750 can provide mobile communication solutions such as 3G / 4G / 5G, or wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 750 can communicate with other modules of the electronic device 700 through the bus 730.

[0171] The electronic device 700 may display a graphical user interface and the like through the display 760 .

[0172] although Figure 7 Not shown, other hardware and / or software modules may also be provided in the electronic device 700, 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.

[0173] 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.

[0174] 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.

[0175] 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 method in a game, It is characterized in that include: Displaying the game editing scene in the graphical user interface provided by the running game program; The game editing scene includes one or more component combinations; The component combination includes at least one scene component; In response to a zoom control operation for a first target scene component, determining a zoom control parameter; the first target scene component is a scene component in the one or more component combinations; According to the scaling control parameter, the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located are adjusted.

2. The method according to claim 1, It is characterized in that The method further comprises: In response to a selection operation on a component combination, determining a target component combination from the one or more component combinations; In response to a selection operation on a scene component in the target component combination, a first target scene component is determined from the scene components corresponding to the target component combination.

3. The method according to claim 2, It is characterized in that The method further comprises: In response to a zoom control operation on the target component combination, the size and component spacing of each scene component in the target component combination are controlled to be adjusted synchronously.

4. The method according to claim 1, It is characterized in that The adjusting the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located according to the scaling control parameter includes: According to the scaling control parameter, controlling and adjusting the size of the first target scene component; According to the scaling control parameter, a first scene component to be processed is determined from other scene components in a target component combination, and the position of the first scene component to be processed is controlled and adjusted; the target component combination is the component combination where the first target scene component is located.

5. The method according to claim 4, It is characterized in that The game editing scene displays three axes of a reference coordinate system corresponding to the first target scene component, and according to the scaling control parameter, determines a first scene component to be processed from other scene components in the target component combination, and controls the adjustment of a position of the first scene component to be processed, including: If the zoom direction corresponding to the zoom control parameter includes the axis directions of the three axes, other scene components in the target component combination are all used as first scene components to be processed, and the positions of the first scene components to be processed are controlled and adjusted.

6. The method according to claim 4, It is characterized in that The game editing scene displays three axes of a reference coordinate system corresponding to the first target scene component, and according to the scaling control parameter, determines a first scene component to be processed from other scene components in the target component combination, and controls the adjustment of a position of the first scene component to be processed, including: If the zoom direction corresponding to the zoom control parameter includes the axial directions of two axes other than the locked axis, determine the scene components that are not located in the axial direction of the locked axis from other scene components in the target component combination, take the scene components that are not located in the axial direction of the locked axis as the first scene components to be processed, and control and adjust the position of the first scene components to be processed; wherein the locked axis is any one of the three axes.

7. The method according to claim 4, It is characterized in that The game editing scene displays three axes of a reference coordinate system corresponding to the first target scene component, and according to the scaling control parameter, determines a first scene component to be processed from other scene components in the target component combination, and controls the adjustment of a position of the first scene component to be processed, including: If the zoom direction corresponding to the zoom control parameter includes the axial direction of any one of the three axes, determine the scene component located in the axial direction of any one of the three axes from other scene components in the target component combination, take the scene component located in the axial direction of any one of the axes as the first scene component to be processed, and control and adjust the position of the first scene component to be processed.

8. The method according to claim 4, It is characterized in that The step of determining a first scene component to be processed from other scene components in the target component combination according to the scaling control parameter, and controlling and adjusting a position of the first scene component to be processed includes: Determine the scene component located on the target side of the section from other scene components in the target component combination, use the scene component located on the target side of the section as the first scene component to be processed, and control the adjustment of the position of the first scene component to be processed; wherein the section is a vertical plane passing through a preset position of the first target scene component and perpendicular to the scaling direction corresponding to the scaling control parameter; and the target side is the side where the first target scene component produces a scaling change.

9. The method according to any one of claims 4 to 8, It is characterized in that The controlling and adjusting the position of the first scene component to be processed includes: According to the initial component interval between the first target scene component and the first scene component to be processed, controlling the adjustment of the position of the first scene component to be processed; or According to the zoom direction and zoom amount corresponding to the zoom control parameter, the moving direction and moving distance corresponding to the first scene component to be processed are determined, and the position of the first scene component to be processed is controlled and adjusted according to the moving direction and moving distance corresponding to the first scene component to be processed.

10. The method according to claim 1, It is characterized in that The adjusting the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located according to the scaling control parameter includes: Determine, from other scene components in a target component combination, a second scene component to be processed that satisfies a preset position relationship with the first target scene component; the target component combination is a component combination in which the first target scene component is located; According to the scaling control parameter, the size of the first target scene component, the size of the second scene component to be processed, and the positions of other scene components in the target component combination are adjusted.

11. The method according to claim 10, It is characterized in that The preset position relationship includes any one or more of the following: Intersects with the first target scene component and intersects with a section of the first target scene component.

12. The method according to claim 1, It is characterized in that The method further comprises: In response to a selection operation on a scene component in the game editing scene, determining a second target scene component; the second target scene component is not a scene component in the one or more component combinations; In response to a zoom control operation on a second target scene component, the size of the second target scene component is controlled to be adjusted while keeping the sizes and positions of other scene components in the game editing scene unchanged.

13. The method according to claim 1, It is characterized in that The method further comprises: In response to a component multi-selection operation, determining a plurality of scene components to be combined from the game editing scene; In response to the component combination operation, the plurality of scene components to be combined are controlled to generate a component combination.

14. A component editing device in a game, It is characterized in that The device comprises: An editing scene display module, used to display a game editing scene in a graphical user interface provided by running a game program; the game editing scene includes one or more component combinations; the component combination includes at least one scene component; A zoom parameter determination module, configured to determine a zoom control parameter in response to a zoom control operation on a first target scene component; the first target scene component is a scene component in the one or more component combinations; The scene component adjustment module is used to adjust the size of the first target scene component and the positions of other scene components in the component combination where the first target scene component is located according to the zoom control parameter.

15. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.

16. An electronic device, It is characterized in that include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 13 by executing the executable instructions.