Game editing processing method and device, program product and electronic equipment
By simultaneously editing the three coordinate axes of game scene components in the graphical user interface, the problem of cumbersome component position editing process in the existing technology is solved, and editing efficiency is improved.
Patent Information
- Application Number
- CN202510050850.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2045-01-13
AI Technical Summary
The process of editing component positions in the game scene is cumbersome and inefficient, and it is impossible to adjust three coordinate axes at the same time, resulting in complex and time-consuming operations.
The terminal device provides a graphical user interface that allows target scene components to move within the plane formed by the first and second coordinate axes, while simultaneously responding to the second movement control operation to move along the direction of the third coordinate axis, thus forming a spatial coordinate system for the game editing scene and enabling synchronous editing of the three coordinate axes.
It simplifies the editing process of scene components in 3D space, improves editing efficiency, and allows users to edit the three coordinate axes of scene components simultaneously without waiting for the previous operation to be completed before proceeding to the next operation.
Smart Images

Figure CN119701344B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to a game editing processing method, a game editing processing apparatus, a computer program product, and an electronic device. Background Technology
[0002] A game scene typically consists of a number of components, each of which may be an object or a character within the game scene. Modeling and editing the objects or characters within the game scene is one of the main tasks in creating a game scene.
[0003] In related technologies, when a user moves scene components in a game scene, they need to select the scene component to be edited and then drag a coordinate axis control displayed on the scene component to control the scene component to move along one of the coordinate axes. The scene component position editing process in related technologies is cumbersome and inefficient.
[0004] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0005] This disclosure provides a game editing method, a game editing device, a computer program product, and an electronic device to at least partially solve the problems of cumbersome and inefficient scene component position editing processes in related technologies.
[0006] According to a first aspect of this disclosure, a game editing processing method is provided, which provides a graphical user interface through a terminal device, wherein the graphical user interface displays a game editing scene, the method comprising: in response to a first movement control operation on a target scene component in the game editing scene, controlling the target scene component to move within a plane formed by a first coordinate axis and a second coordinate axis; during the period when the first movement control operation is active, in response to a second movement control operation on the target scene component, controlling the target scene component to move along a direction of a third coordinate axis; wherein the third coordinate axis, together with the first coordinate axis and the second coordinate axis, forms a spatial coordinate system of the game editing scene.
[0007] According to a second aspect of this disclosure, a game editing processing apparatus is provided, which provides a graphical user interface via a terminal device, the graphical user interface displaying a game editing scene. The apparatus includes: a first movement control module, configured to control the target scene component to move within a plane formed by a first coordinate axis and a second coordinate axis in response to a first movement control operation on the target scene component in the game editing scene; and a second movement control module, configured to control the target scene component to move along a direction of a third coordinate axis in response to a second movement control operation on the target scene component during the period when the first movement control operation is active; wherein the third coordinate axis, the first coordinate axis, and the second coordinate axis form a spatial coordinate system of the game editing scene.
[0008] According to a third aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the game editing processing method of the first aspect described above and its possible implementations.
[0009] According to a fourth aspect of this 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 perform the game editing processing method of the first aspect and possible implementations thereof by executing the executable instructions.
[0010] The technical solution disclosed herein has the following beneficial effects:
[0011] In the aforementioned game editing process, in response to a first movement control operation targeting a target scene component in the game editing scene, the target scene component is controlled to move within the plane formed by the first and second coordinate axes. During the effective period of the first movement control operation, in response to a second movement control operation targeting the target scene component, the target scene component is controlled to move along the direction of the third coordinate axis. The third coordinate axis, together with the first and second coordinate axes, forms the spatial coordinate system of the game editing scene. This disclosure allows the first and second movement control operations to be executed synchronously during the effective period of the first movement control operation, eliminating the need for the user to wait for the first movement control operation to complete before executing the second, thus simplifying the position editing process of scene components in three-dimensional space. Furthermore, by controlling the target scene component to move within the plane formed by the first and second coordinate axes while simultaneously controlling its movement along the direction of the third coordinate axis, this disclosure allows for simultaneous editing of all three coordinate axes of the scene component, thereby improving the efficiency of scene component position editing. Attached Figure Description
[0012] Figure 1A flowchart illustrating a game editing processing method in this exemplary embodiment is shown;
[0013] Figure 2 This diagram illustrates the interface display of a component bar in this exemplary embodiment.
[0014] Figure 3A This illustration shows an interface diagram of a target scene component being dragged and moved within a plane formed by the first and second coordinate axes in this exemplary embodiment.
[0015] Figure 3B This illustration shows another interface diagram in this exemplary embodiment for moving a target scene component within the plane formed by the first and second coordinate axes.
[0016] Figure 4A This illustration shows a schematic diagram of a strip-shaped virtual control corresponding to the third coordinate axis in this exemplary embodiment.
[0017] Figure 4B This illustration shows a schematic diagram of an arc-shaped virtual control corresponding to a third coordinate axis in this exemplary embodiment.
[0018] Figure 5 This illustration shows a terminal device providing touch-sensitive controls in this exemplary embodiment;
[0019] Figure 6 This diagram illustrates a flowchart of placing scene components in a game editing scene according to this exemplary embodiment;
[0020] Figure 7 This diagram illustrates a structural block diagram of a game editing processing apparatus according to this exemplary embodiment;
[0021] Figure 8 An electronic device for implementing the above-described game editing processing method is shown in this exemplary embodiment. Detailed Implementation
[0022] Exemplary embodiments of this disclosure will be described more fully below with reference to the accompanying drawings.
[0023] The accompanying drawings are schematic illustrations of this disclosure and are not necessarily drawn to scale. Some block diagrams shown in the drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in hardware modules or integrated circuits, or in networks, processors, or microcontrollers. Implementations can be carried out in various forms and should not be construed as limited to the examples set forth herein. The features, structures, or characteristics described in this disclosure can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough description of embodiments of this disclosure. However, those skilled in the art will recognize that one or more specific details may be omitted when implementing the technical solutions of this disclosure, or other methods, components, apparatuses, steps, etc., may be used to replace one or more specific details.
[0024] In related technologies, when users move scene components in a game scene, one method is to select the scene component that needs to be edited and drag the coordinate axis control displayed on the scene component to control the scene component to move along one of the coordinate axes. The position editing of the scene component is done one coordinate axis at a time, and it is impossible to adjust all three coordinate axes at the same time. The process is cumbersome and inefficient.
[0025] In addition, in related technologies, another way for users to move scene components in a game scene is to select the scene component to be edited and the plane to be edited, such as the plane formed by the X and Z axes, to control the scene component to move in the plane formed by the X and Z axes. After editing, the scene component and the coordinate axis that has not yet been edited, such as the Y axis, are selected again to control the scene component to move along the Y axis. It is not possible to adjust all three coordinate axes at the same time, which is cumbersome and inefficient.
[0026] In view of one or more of the above-mentioned problems, exemplary embodiments of this disclosure provide a game editing processing method, a game editing processing apparatus, a computer program product, and an electronic device.
[0027] In one embodiment of this disclosure, the game editing method can run on a local terminal device or a server. When the game editing method runs on a server, it can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and client devices.
[0028] In one alternative implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution and the game screen presentation are separated. The storage and execution of the game editing and processing methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the game processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0029] In one alternative implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0030] In one alternative implementation, refer to Figure 1 The flowchart shown illustrates a game editing process, which provides a graphical user interface (GUI) via a terminal device. The GUI displays a game editing scene and includes the following steps S110 to S120:
[0031] Step S110: In response to a first movement control operation on a target scene component in the game editing scene, control the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis;
[0032] In step S120, during the first movement control operation, in response to the second movement control operation on the target scene component, the target scene component is controlled to move along the direction of the third coordinate axis; wherein, the third coordinate axis, the first coordinate axis, and the second coordinate axis form the spatial coordinate system of the game editing scene.
[0033] Figure 1In the method shown, during the first movement control operation, in response to a second movement control operation targeting the target scene component, the first and second movement control operations can be executed synchronously. The user does not need to wait for the first movement control operation to complete before executing the second, simplifying the position editing process of scene components in three-dimensional space. Furthermore, by controlling the target scene component to move within the plane formed by the first and second coordinate axes while simultaneously controlling its movement along the direction of the third coordinate axis, this disclosure allows for simultaneous editing of all three coordinate axes of the scene component, thereby improving the efficiency of scene component position editing.
[0034] Optionally, when the terminal device runs the game program, a game editing scene can be displayed in the graphical user interface. This game program can be the main game program, which provides game scene editing functionality (such as a built-in game editor). When the user uses this functionality, the game editing scene can be displayed within the main game program. Alternatively, the game program can be an editor program that runs independently of the main game program. When using this editor program to edit the game scene, the game editing scene is displayed.
[0035] Optionally, the graphical user interface may also be a graphical user interface provided by a game editor, and this disclosure does not specifically limit it.
[0036] This exemplary implementation supports player-customized scene editing; therefore, "user" in this document can refer to game developers (such as artists) or players. Users can choose to create a new game scene and edit it, or they can choose to edit an existing game scene. The game editing scene is the game scene currently being edited. The game editing scene can include the scene's background and one or more pre-generated scene components. These scene components can be built-in to the game editing scene (e.g., the game program can provide various preset game scenes with different styles, and the user can choose a preset game scene to edit, which initially includes scene components), or they can be user-generated scene components. This disclosure does not specifically limit this.
[0037] It should be noted that when the target scene component is moved via the first movement control operation in this disclosure, it can autonomously control the target scene component to move within the plane formed by the first and second coordinate axes. This does not mean that the target scene component can only move within the plane formed by the first and second coordinate axes when moved via the first movement control operation. Because if the "snap" function is enabled, the target scene component could still be snapped up and moved along the third coordinate axis.
[0038] The following is about Figure 1 Each step in the process will be explained in detail.
[0039] In step S110, in response to a first movement control operation on a target scene component in the game editing scene, the target scene component is controlled to move within the plane formed by the first coordinate axis and the second coordinate axis.
[0040] The target scene component can be a scene component that has been placed or is to be placed in the game editing scene.
[0041] The first motion control operation refers to a control operation that controls the target scene component to move within a plane. For example, the first motion control operation may be a dragging operation of the target scene component within the plane formed by the first and second coordinate axes.
[0042] The first and second coordinate axes can be two unlocked axes under the first movement control operation, such as the X-axis and Z-axis. The first, second, and third coordinate axes can form a spatial coordinate system for the game editing scene. The third coordinate axis can be a locked axis under the first movement control operation, such as the Y-axis. It should be noted that the first movement control operation can edit the unlocked axis coordinates but cannot edit the locked coordinate axes. The locked coordinate axes among the X, Y, and Z axes can be preset by the system or defined by the user; this disclosure does not impose specific limitations on this.
[0043] Optionally, in response to an axis locking command, a locked axis can be determined from the three spatial coordinate axes (e.g., X-axis, Y-axis, Z-axis) of the game editing scene. The locked axis can be used as the third axis, and the two unlocked axes can be used as the first and second axes, respectively. Optionally, after determining the third axis, an operation area consistent with the axis direction of the third axis can be displayed in the graphical user interface. This operation area can be provided to the user to perform subsequent second movement control operations.
[0044] In one alternative implementation, the graphical user interface described above may display a component bar containing multiple scene components, such as... Figure 2 As shown in component bar 201, the scene components in the component bar can be used as the source of adding scene components in the game editing scene, including but not limited to: scene components in the shapes of blocks, rings, frustums, cones, and fans.
[0045] Optionally, when the target scene component is a scene component to be placed in the game editing scene, the above-mentioned response to the first movement control operation on the target scene component in the game editing scene, controlling the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis, can be achieved through the following steps: in response to the addition operation of any scene component in the component bar to the game editing scene, determine the scene component to be added, and add the scene component to be added as the target scene component to the game editing scene; in response to the first movement control operation on the target scene component, control the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis.
[0046] The "add" operation can include, for example, dragging any scene component from the component bar into the game editing scene. Figure 2 As shown.
[0047] Here, the scene component to be added refers to the component object added by the add operation. For example, the scene component dragged by the add operation can be used as the scene component to be added.
[0048] Once the scene component to be added is determined, it can be added to the game editing scene by default as the target scene component to be edited, so that the target scene component can be further edited in the game editing scene.
[0049] Optionally, the add operation is a drag operation from any scene component in the component bar to the game editing scene, wherein the first movement control operation is a touch operation that is continuous with the add operation. For example, the drag operation to the game editing scene and the drag operation in the game editing scene (i.e., the first movement control operation) are consecutive drag operations to ensure the convenience of user operation.
[0050] In response to an operation to add any scene component in the component bar to the game editing scene, the scene component to be added is determined and added to the game editing scene as the target scene component; in response to a first movement control operation on the target scene component, the target scene component is controlled to move within the plane formed by the first and second coordinate axes, so that the user can flexibly place scene components in the game editing scene.
[0051] Taking the first coordinate axis as the X-axis and the second coordinate axis as the Z-axis as an example, it can respond to the first movement control operation of the target scene component and control the target scene component to move in the plane formed by the X-axis and Z-axis.
[0052] Optionally, the first movement control operation can be an operation targeting a scene component that has already been generated in the game editing scene. Specifically, the first movement control operation can be initiated after a target scene component has been determined in response to a component selection operation in the game editing scene. In this case, the target scene component can be any generated scene component in the game editing scene. Here, a generated scene component refers to a scene component that has been pre-added to the game editing scene.
[0053] When the first movement control operation is for an operation that has already generated scene components in the game editing scene, in an optional implementation, the above-mentioned response to the first movement control operation for the target scene component in the game editing scene, controlling the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis, can be achieved through the following steps: in response to a component selection operation in the game editing scene, determining the target scene component; in response to a dragging operation of the target scene component, controlling the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis.
[0054] Optionally, the selection and dragging operations here can be continuous touch operations. In this case, the first movement control operation can be selecting the target scene component and dragging it to move it within the game editing scene.
[0055] For example, such as Figure 3A As shown, a schematic diagram of an interface is provided for dragging a target scene component to move within a plane formed by the first coordinate axis and the second coordinate axis. In response to a drag operation 302 on the interface, the target scene component 301 can be controlled to move within the plane formed by the first coordinate axis and the second coordinate axis.
[0056] After selecting the target scene component, you can drag it to move it, which allows you to easily adjust the position of the target scene component in the plane formed by the first and second coordinate axes.
[0057] In one alternative implementation, a motion editing control may be displayed in the graphical user interface. The control of the target scene component to move within the plane formed by the first and second coordinate axes in response to a first motion control operation on a target scene component in the game editing scene can be achieved through the following steps: determining the target scene component in response to a component selection operation in the game editing scene; controlling the target scene component to enter a motion editing state in response to a trigger operation of the motion editing control; and controlling the target scene component to move within the plane formed by the first and second coordinate axes in response to a drag operation of the target scene component while in the motion editing state.
[0058] Among them, the mobile editing control can be used to control the target scene components to be in a mobile and editable state, so that the user device can accurately identify the type of editing operation performed by the user.
[0059] Specifically, in response to component selection operations in the game editing scene, a target scene component can be identified and placed in a selected state. After the target scene component is selected, in response to the trigger operation of the move editing control, the selected target scene component is placed in a move editing state. When the target scene component is in the move editing state, in response to the drag operation of the target scene component, the target scene component can be controlled to move within the plane formed by the first coordinate axis and the second coordinate axis.
[0060] For example, such as Figure 3B As shown, another interface diagram is provided for dragging a target scene component to move within the plane formed by the first and second coordinate axes. When the target scene component 301 is in the movement editing state, coordinate axis controls can be displayed on the target scene component 301 to control its movement within the plane formed by the first and second coordinate axes. For example, coordinate axis controls corresponding to the first coordinate axis (e.g., the x-axis) and the second coordinate axis (e.g., the Z-axis) can be displayed on the target scene component 301. At this time, the coordinate axis controls corresponding to the first coordinate axis (e.g., the x-axis) and the second coordinate axis (e.g., the Z-axis) are in a triggerable state, and can be controlled to move the target scene component 301 within the plane formed by the first and second coordinate axes in response to control operations via the coordinate axis controls corresponding to the first and second coordinate axes. It should be noted that if the target scene component 301 is in the movement editing state, a coordinate axis control corresponding to the third coordinate axis (e.g., the Y-axis) can also be displayed on the target scene component 301 to fully display the spatial coordinate system. At this time, the coordinate axis control corresponding to the third coordinate axis (e.g., the Y-axis) is in a non-triggerable state.
[0061] In step S120, during the period when the first movement control operation is active, in response to the second movement control operation for the target scene component, the target scene component is controlled to move along the direction of the third coordinate axis; wherein, the third coordinate axis, the first coordinate axis, and the second coordinate axis form the spatial coordinate system of the game editing scene.
[0062] For example, if the first movement control operation is not interrupted, it can be considered that the first movement control operation is in effect. If the first movement control operation is interrupted, it can be considered that the first movement control operation is invalid.
[0063] The third coordinate axis can be the axis locked under the first movement control operation, and can be preset. This disclosure does not specifically limit it.
[0064] The second movement control operation refers to the control operation that controls the target scene component to move along the axis.
[0065] In one optional implementation, during the period when the first motion control operation is active, in response to the second motion control operation targeting the target scene component, the target scene component is controlled to move along the direction of the third coordinate axis. This can be achieved through the following steps: during the period when the first motion control operation is active, in response to the second motion control operation targeting the target scene component, the operation information of the second motion control operation is obtained; based on the operation information of the second motion control operation, the direction and distance to be moved of the target scene component on the third coordinate axis are determined; based on the direction and distance to be moved of the target scene component on the third coordinate axis, the target scene component is controlled to move.
[0066] For example, the operation information of the second movement control operation may include the operation movement direction, operation movement distance, etc.
[0067] For example, the operation information of the second motion control operation may also include the operation rotation direction, operation rotation angle, etc.
[0068] Specifically, based on the operation information of the second movement control operation and the movement mapping relationship of the target scene component in the game editing scene, the direction and distance to be moved of the target scene component on the third coordinate axis can be determined, and the target scene component can be controlled to move along the third coordinate axis according to the determined direction and distance to be moved, so as to realize movement control on the third coordinate axis.
[0069] Optionally, the graphical user interface displays a virtual control control corresponding to the third coordinate axis, and the second movement control operation can be an operation performed on the virtual control control corresponding to the third coordinate axis.
[0070] The virtual control corresponding to the third coordinate axis refers to the interactive control provided in the graphical user interface for controlling the movement of target scene components along the third coordinate axis.
[0071] Optionally, the virtual control corresponding to the third coordinate axis can remain resident in the graphical user interface.
[0072] Optionally, the virtual control corresponding to the third coordinate axis may be displayed in the graphical user interface during the first movement control operation. For example, during the first movement control operation, the virtual control corresponding to the third coordinate axis is displayed in the graphical user interface.
[0073] Optionally, the virtual control corresponding to the third coordinate axis can be a strip-shaped control or an arc-shaped control; this disclosure does not impose any specific limitations on this.
[0074] Optionally, the elongated or curved control may display scale markings to assist the user in performing a second movement control operation and improve the accuracy of the operation.
[0075] By displaying virtual control controls corresponding to the third coordinate axis in the graphical user interface, the display position can be flexibly set by developers according to their needs, which has strong adaptability.
[0076] In one optional implementation, the virtual control corresponding to the third coordinate axis is a strip-shaped control. During the first movement control operation, the virtual control corresponding to the third coordinate axis is displayed in the graphical user interface. This can be achieved through the following steps: during the first movement control operation, the display direction of the strip-shaped control is determined according to the axis of the third coordinate axis or a preset display direction; and the strip-shaped control is displayed in the graphical user interface according to its display direction.
[0077] Optionally, during the first movement control operation, the display direction of the elongated control is determined based on the axis of the third coordinate axis. In this case, the axis of the third coordinate axis can be consistent with the display direction of the elongated control.
[0078] Optionally, during the first motion control operation, the display direction of the elongated control can be determined according to a preset display direction. In this case, the axis of the third coordinate axis may not be consistent with the display direction of the elongated control. The elongated control can be used for single-axis motion control operations, such as "up" and "down", or "left" and "right"—operations along a single axis.
[0079] By displaying a long bar-shaped control in the graphical user interface, users can synchronously control the position of the target scene component on the third coordinate axis.
[0080] In one optional implementation, when the virtual control control corresponding to the third coordinate axis is a long strip control, during the period when the first movement control operation is effective, in response to the second movement control operation targeting the target scene component, the operation information of the second movement control operation is obtained, which can be achieved through the following steps: during the period when the first movement control operation is effective, in response to the second movement control operation acting on the long strip control, the movement direction and movement distance of the second movement control operation are obtained.
[0081] For example, such as Figure 4AAs shown, a schematic diagram is provided where the virtual control corresponding to the third coordinate axis is a long strip control. During the first movement control operation, a second movement control operation can be responded to by the long strip control 401, such as a sliding operation 402 along the scale line in the long strip control. The movement direction and movement distance of the second movement control operation are obtained, and the operation information of the second movement control operation is obtained. In order to determine the target scene component 403 on the third coordinate axis 404 according to the movement direction and movement distance of the second movement control operation, the target scene component is controlled to move on the third coordinate axis according to the determined movement direction and movement distance.
[0082] In an optional implementation, when the virtual control control corresponding to the third coordinate axis is an arc-shaped control, during the period when the first movement control operation is effective, in response to the second movement control operation on the target scene component, the operation information of the second movement control operation is obtained, which can be achieved through the following steps: during the period when the first movement control operation is effective, in response to the second movement control operation acting on the arc-shaped control, the rotation direction and rotation angle of the second movement control operation are obtained.
[0083] For example, such as Figure 4B As shown, a schematic diagram is provided where the virtual control corresponding to the third coordinate axis is an arc-shaped control. During the first movement control operation, a second movement control operation can be responded to by the arc-shaped control 411, such as a sliding operation 412 along the scale line in the arc-shaped control. The rotation direction and rotation angle of the second movement control operation are obtained, and the operation information of the second movement control operation is obtained. In order to determine the direction and distance to be moved of the target scene component 403 on the third coordinate axis 404 according to the rotation direction and rotation angle of the second movement control operation, the target scene component is controlled to move on the third coordinate axis according to the determined direction and distance to be moved.
[0084] In one optional implementation, the terminal device provides a touch-sensitive control. During the first motion control operation, in response to a second motion control operation targeting a target scene component, the operation information of the second motion control operation is obtained. This can be achieved through the following steps: During the first motion control operation, in response to a second motion control operation applied to the touch-sensitive control, the operation information of the second motion control operation is obtained.
[0085] Among them, touch-sensitive controls can be physical buttons on terminal devices that enable human-computer interaction through touch sensing.
[0086] For example, such as Figure 5As shown, a schematic diagram of a terminal device providing a touch-sensitive control is provided, which can respond to a second movement control operation acting on the touch-sensitive control 501 and obtain operation information of the second movement control operation.
[0087] Optionally, the touch-sensing control can be a long, narrow strip-shaped control. It can respond to touch operations (i.e., second movement control operations) applied to the touch-sensing control 501, acquiring the movement direction and distance of the touch operation to obtain the operation information of the second movement control operation.
[0088] The operation information of the second mobile control operation is collected by the touch-sensing control configured on the terminal device. There is no need to generate additional virtual control controls in the graphical user interface, which can avoid the obstruction of interface information to a certain extent. It is applicable to terminal devices configured with touch-sensing controls.
[0089] In one optional implementation, the terminal device is equipped with a gyroscope, and the second motion control operation is a physical motion operation for the terminal device. During the period when the first motion control operation is active, in response to the second motion control operation for the target scene component, the operation information of the second motion control operation is obtained, which can be achieved through the following steps: During the period when the first motion control operation is active, in response to the physical motion operation for the terminal device, the physical motion information of the terminal device is collected by the gyroscope to obtain the operation information of the second motion control operation.
[0090] Among these, physical movement operations for terminal devices can refer to user actions on moving the terminal device. Physical movement information of the terminal device can be collected using a gyroscope to determine its direction and distance of movement. This eliminates the need for additional virtual control controls in the graphical user interface, avoids some degree of interface information obstruction, and is applicable to terminal devices equipped with gyroscopes.
[0091] By acquiring the operation information of the second movement control operation, corresponding control parameters can be provided for the movement and editing of the target scene component on the third coordinate axis.
[0092] In one optional implementation, in response to a first movement control operation on a target scene component in a game editing scene, the target scene component can be controlled to move within the plane formed by the first coordinate axis and the second coordinate axis; during the period when the first movement control operation is active, in response to a second movement control operation on the target scene component, the target scene component can be controlled to move along the direction of the third coordinate axis; during the period when the second movement control operation is active or after the second movement control operation ends, the first movement control operation on the target scene component can continue to be responded to, and the target scene component can continue to be controlled to move within the plane formed by the first coordinate axis and the second coordinate axis.
[0093] In one optional implementation, in response to a first movement control operation on a target scene component in a game editing scene, the target scene component can be controlled to move within the plane formed by the first and second coordinate axes; during the period when the first movement control operation is active, in response to a second movement control operation on the target scene component, the target scene component can be controlled to move along the direction of the third coordinate axis; during the period when the second movement control operation is active or after the second movement control operation ends, the response to the first movement control operation can be interrupted, that is, the movement control of the target scene component within the plane formed by the first and second coordinate axes can be interrupted.
[0094] like Figure 6 The diagram illustrates a flowchart for placing scene components in a game editing scene, which may include the following steps:
[0095] Step S601: Respond to the drag operation of any scene component in the component bar to the game editing scene, determine the scene component to be added, and add the scene component to be added as the target scene component to the game editing scene;
[0096] Step S602: In response to the first movement control operation for the target scene component, control the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis; wherein, the drag operation for any scene component in the component bar to the game editing scene and the first movement control operation are continuous touch operations;
[0097] Step S603: During the first movement control operation, the virtual control control corresponding to the third coordinate axis is displayed in the graphical user interface.
[0098] Step S604: Respond to the second movement control operation applied to the virtual control control corresponding to the third coordinate axis, and obtain the operation information of the second movement control operation;
[0099] Step S605: Based on the operation information of the second motion control operation, determine the direction and distance to be moved of the target scene component on the third coordinate axis;
[0100] Step S606: Based on the direction and distance to be moved of the target scene component on the third coordinate axis, control the target scene component to move on the third coordinate axis.
[0101] Figure 6 The steps shown allow users to move the three axes of scene components accurately and quickly, improving the efficiency of scene component movement in a 3D scene.
[0102] Exemplary embodiments of this disclosure also provide a game editing processing apparatus, which provides a graphical user interface through a terminal device, displaying a game editing scene in the graphical user interface, see reference. Figure 7 As shown, the game editing processing device 700 may include the following program modules:
[0103] The first movement control module 710 is used to respond to a first movement control operation on a target scene component in a game editing scene, and to control the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis;
[0104] The second movement control module 720 is used to control the target scene component to move along the direction of the third coordinate axis in response to the second movement control operation for the target scene component during the period when the first movement control operation is effective; wherein, the third coordinate axis, the first coordinate axis, and the second coordinate axis form a spatial coordinate system of the game editing scene.
[0105] In an optional implementation, based on the aforementioned scheme, the graphical user interface displays a component bar containing multiple scene components. The first movement control module 710 can be configured to: in response to an addition operation of any scene component in the component bar to the game editing scene, determine the scene component to be added, and add the scene component to be added as the target scene component to the game editing scene; in response to a first movement control operation of the target scene component, control the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis.
[0106] In one alternative implementation, based on the aforementioned scheme, the add operation is a drag operation from any scene component in the component bar to the game editing scene, wherein the first movement control operation is a touch operation that is continuous with the add operation.
[0107] In one alternative implementation, based on the aforementioned scheme, the first movement control operation is an operation targeting scene components that have already been generated in the game editing scene.
[0108] In an optional implementation, based on the aforementioned scheme, the first movement control module 710 can be configured to: determine a target scene component in response to a component selection operation in the game editing scene; and control the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis in response to a drag operation of the target scene component.
[0109] In an optional implementation, based on the aforementioned scheme, a motion editing control is displayed in the graphical user interface. The first motion control module 710 can be configured to: determine a target scene component in response to a component selection operation in the game editing scene; control the target scene component to enter a motion editing state in response to a trigger operation of the motion editing control; and control the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis in response to a drag operation of the target scene component while in the motion editing state.
[0110] In an optional implementation, based on the aforementioned scheme, the second motion control module 720 includes: an operation information acquisition module, used to acquire operation information of the second motion control operation in response to the second motion control operation targeting the target scene component during the effective period of the first motion control operation; a motion parameter determination module, used to determine the direction and distance to be moved of the target scene component on the third coordinate axis according to the operation information of the second motion control operation; and a scene component control module, used to control the target scene component to move according to the direction and distance to be moved of the target scene component on the third coordinate axis.
[0111] In one alternative implementation, based on the aforementioned scheme, a virtual control control corresponding to the third coordinate axis is displayed in the graphical user interface, and the second movement control operation is an operation performed on the virtual control control corresponding to the third coordinate axis.
[0112] In an optional implementation, based on the aforementioned scheme, the game editing processing device 700 includes: a virtual control control display module, used to control the display of virtual control controls corresponding to the third coordinate axis in the graphical user interface during the first movement control operation.
[0113] In one alternative implementation, based on the aforementioned scheme, the virtual control corresponding to the third coordinate axis is a strip-shaped control or an arc-shaped control.
[0114] In an optional implementation, based on the aforementioned scheme, the virtual control control corresponding to the third coordinate axis is a strip-shaped control. The virtual control control display module can be configured to: determine the display direction of the strip-shaped control according to the axial direction of the third coordinate axis or a preset display direction during the first movement control operation; and control the display of the strip-shaped control in the graphical user interface according to the display direction of the strip-shaped control.
[0115] In one optional implementation, based on the aforementioned scheme, the virtual control control corresponding to the third coordinate axis is a long strip control, and the operation information acquisition module can be configured to: respond to a second movement control operation applied to the long strip control, and acquire the movement direction and movement distance of the second movement control operation.
[0116] In an optional implementation, based on the aforementioned scheme, the virtual control control corresponding to the third coordinate axis is an arc-shaped control, and the operation information acquisition module can be configured to: respond to the second movement control operation acting on the arc-shaped control, and acquire the rotation direction and rotation angle of the second movement control operation.
[0117] In an optional implementation, based on the aforementioned scheme, the terminal device provides a touch-sensitive control, and the operation information acquisition module can be configured to: during the effective period of the first motion control operation, respond to the second motion control operation acting on the touch-sensitive control and acquire the operation information of the second motion control operation.
[0118] In one optional implementation, based on the aforementioned scheme, the terminal device is equipped with a gyroscope, and the second motion control operation is a physical motion operation for the terminal device. The operation information acquisition module can be configured to: during the period when the first motion control operation is in effect, in response to the physical motion operation for the terminal device, collect the physical motion information of the terminal device through the gyroscope to obtain the operation information of the second motion control operation.
[0119] The specific details of each part of the above-mentioned device have been described in detail in the method section of the implementation plan. For any undisclosed details, please refer to the implementation plan of the method section, and therefore will not be repeated here.
[0120] Exemplary embodiments of this disclosure also provide a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the aforementioned game editing processing method.
[0121] In one embodiment, the computer program product can be a tangible product containing a computer program, such as a computer-readable storage medium storing the computer program. The readable storage medium can 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, hard disk drive (HDD), solid-state drive (SSD), etc. For example, the computer program product can be implemented as a non-volatile storage medium storing the computer program, such as read-only memory, NAND flash memory, etc.
[0122] In one implementation, the computer program product can be an intangible product containing a computer program. For example, the computer program product can be implemented as a virtual digital product, such as an executable file, installation package, or other digital file storing the computer program.
[0123] Computer program code can be written in one or more programming languages. Examples of programming languages include C, Java, and C++. Program code can execute entirely on the user's computing device, partially on the user's computing device, or as a standalone software package. It can also execute partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, such as a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via an internet connection provided by a mobile network operator).
[0124] Computer programs can be carried or transmitted via signals such as electricity, magnetism, light, electromagnetic radiation, and infrared rays. Electronic devices can convert signals carrying computer programs into digital signals, thereby running the computer programs. When a computer program runs on an electronic device, its code causes the electronic device to execute (more specifically, the processor of the electronic device to execute) the method steps of various exemplary embodiments of this disclosure. Exemplarily, this may include the following steps:
[0125] In response to a first movement control operation on a target scene component in a game editing scene, the target scene component is controlled to move within the plane formed by the first and second coordinate axes;
[0126] During the first movement control operation, in response to the second movement control operation targeting the target scene component, the target scene component is controlled to move along the direction of the third coordinate axis; wherein, the third coordinate axis, together with the first coordinate axis and the second coordinate axis, forms the spatial coordinate system of the game editing scene.
[0127] In an optional implementation, based on the aforementioned scheme, the graphical user interface displays a component bar containing multiple scene components. The aforementioned control of the target scene component to move within the plane formed by the first and second coordinate axes in response to a first movement control operation on a target scene component in the game editing scene can be achieved through the following steps: in response to an addition operation of any scene component in the component bar to the game editing scene, determining the scene component to be added and adding it as the target scene component to the game editing scene; and in response to the first movement control operation on the target scene component, controlling the target scene component to move within the plane formed by the first and second coordinate axes.
[0128] In one alternative implementation, based on the aforementioned scheme, the add operation is a drag operation from any scene component in the component bar to the game editing scene, wherein the first movement control operation is a touch operation that is continuous with the add operation.
[0129] In one alternative implementation, based on the aforementioned scheme, the first movement control operation is an operation targeting scene components that have already been generated in the game editing scene.
[0130] In an optional implementation, based on the aforementioned scheme, the control of the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis in response to the first movement control operation of the target scene component in the game editing scene can be achieved through the following steps: determining the target scene component in response to the component selection operation in the game editing scene; and controlling the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis in response to the dragging operation of the target scene component.
[0131] In an optional implementation, based on the aforementioned scheme, the graphical user interface displays a motion editing control. The control of the target scene component to move within the plane formed by the first and second coordinate axes in response to a first motion control operation on a target scene component in the game editing scene can be achieved through the following steps: determining the target scene component in response to a component selection operation in the game editing scene; controlling the target scene component to enter a motion editing state in response to a trigger operation of the motion editing control; and controlling the target scene component to move within the plane formed by the first and second coordinate axes in response to a drag operation of the target scene component while in the motion editing state.
[0132] In an optional implementation, based on the aforementioned scheme, during the period when the first motion control operation is in effect, in response to the second motion control operation targeting the target scene component, controlling the target scene component to move along the direction of the third coordinate axis can be achieved through the following steps: during the period when the first motion control operation is in effect, in response to the second motion control operation targeting the target scene component, obtaining the operation information of the second motion control operation; determining the direction and distance to be moved of the target scene component on the third coordinate axis based on the operation information of the second motion control operation; and controlling the target scene component to move based on the direction and distance to be moved of the target scene component on the third coordinate axis.
[0133] In one alternative implementation, based on the aforementioned scheme, a virtual control control corresponding to the third coordinate axis is displayed in the graphical user interface, and the second movement control operation is an operation performed on the virtual control control corresponding to the third coordinate axis.
[0134] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: during the period when the first movement control operation is in effect, the virtual control control corresponding to the third coordinate axis is displayed in the graphical user interface.
[0135] In one alternative implementation, based on the aforementioned scheme, the virtual control corresponding to the third coordinate axis is a strip-shaped control or an arc-shaped control.
[0136] In an optional implementation, based on the aforementioned scheme, the virtual control control corresponding to the third coordinate axis is a long strip control. During the first movement control operation, the display of the virtual control control corresponding to the third coordinate axis in the graphical user interface can be achieved through the following steps: during the first movement control operation, the display direction of the long strip control is determined according to the axis of the third coordinate axis or a preset display direction; the long strip control is displayed in the graphical user interface according to the display direction of the long strip control.
[0137] In an optional implementation, based on the aforementioned scheme, the virtual control control corresponding to the third coordinate axis is a long strip control. During the period when the first movement control operation is effective, in response to the second movement control operation on the target scene component, the operation information of the second movement control operation is obtained, which can be achieved through the following steps: During the period when the first movement control operation is effective, in response to the second movement control operation acting on the long strip control, the movement direction and movement distance of the second movement control operation are obtained.
[0138] In an optional implementation, based on the aforementioned scheme, the virtual control control corresponding to the third coordinate axis is an arc-shaped control. During the effective period of the first movement control operation, in response to the second movement control operation on the target scene component, the operation information of the second movement control operation is obtained, which can be achieved through the following steps: During the effective period of the first movement control operation, in response to the second movement control operation acting on the arc-shaped control, the rotation direction and rotation angle of the second movement control operation are obtained.
[0139] In an optional implementation, based on the aforementioned scheme, the terminal device provides a touch-sensitive control. During the period when the first motion control operation is in effect, in response to the second motion control operation targeting the target scene component, the operation information of the second motion control operation is obtained. This can be achieved through the following steps: During the period when the first motion control operation is in effect, in response to the second motion control operation acting on the touch-sensitive control, the operation information of the second motion control operation is obtained.
[0140] In one optional implementation, based on the aforementioned scheme, the terminal device is equipped with a gyroscope, and the second motion control operation is a physical motion operation for the terminal device. During the effective period of the first motion control operation, in response to the second motion control operation for the target scene component, the operation information of the second motion control operation is obtained, which can be achieved through the following steps: During the effective period of the first motion control operation, in response to the physical motion operation for the terminal device, the physical motion information of the terminal device is collected by the gyroscope to obtain the operation information of the second motion control operation.
[0141] In the above steps, during the period when the first movement control operation is active, in response to the second movement control operation targeting the target scene component, the first and second movement control operations can be executed synchronously. The user does not need to wait for the first movement control operation to complete before executing the second movement control operation, simplifying the position editing process of scene components in three-dimensional space. Furthermore, by controlling the target scene component to move within the plane formed by the first and second coordinate axes while simultaneously controlling the target scene component to move along the direction of the third coordinate axis, this disclosure allows for simultaneous editing of the three coordinate axes of the scene component, thereby improving the efficiency of scene component position editing.
[0142] Exemplary embodiments of this disclosure also provide an electronic device capable of implementing the above-described game editing processing method. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor executes the executable instructions to perform the method of this exemplary embodiment. Furthermore, the electronic device may also include a display for displaying a graphical user interface.
[0143] The following is for reference. Figure 8 The electronic device is illustrated by way of a general-purpose computing device. It should be understood that... Figure 8 The electronic device 800 shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0144] like Figure 8 As shown, the electronic device 800 may include: a processor 810, a memory 820, a bus 830, an I / O (input / output) interface 840, a network adapter 850, and a display 860.
[0145] The memory 820 may include volatile memory, such as RAM 821 and cache unit 822, and may also include non-volatile memory, such as ROM 823. The memory 820 may also include one or more program modules 824, including but not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. For example, program module 824 may include the modules described above.
[0146] The processor 810 may include one or more processing units, such as 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).
[0147] The processor 810 can be used to execute executable instructions stored in the memory 820, such as performing any one or more method steps in this exemplary embodiment.
[0148] For example, processor 810 may perform the following steps:
[0149] In response to a first movement control operation on a target scene component in a game editing scene, the target scene component is controlled to move within the plane formed by the first and second coordinate axes;
[0150] During the first movement control operation, in response to the second movement control operation targeting the target scene component, the target scene component is controlled to move along the direction of the third coordinate axis; wherein, the third coordinate axis, together with the first coordinate axis and the second coordinate axis, forms the spatial coordinate system of the game editing scene.
[0151] In an optional implementation, based on the aforementioned scheme, the graphical user interface displays a component bar containing multiple scene components. The aforementioned control of the target scene component to move within the plane formed by the first and second coordinate axes in response to a first movement control operation on a target scene component in the game editing scene can be achieved through the following steps: in response to an addition operation of any scene component in the component bar to the game editing scene, determining the scene component to be added and adding it as the target scene component to the game editing scene; and in response to the first movement control operation on the target scene component, controlling the target scene component to move within the plane formed by the first and second coordinate axes.
[0152] In one alternative implementation, based on the aforementioned scheme, the add operation is a drag operation from any scene component in the component bar to the game editing scene, wherein the first movement control operation is a touch operation that is continuous with the add operation.
[0153] In one alternative implementation, based on the aforementioned scheme, the first movement control operation is an operation targeting scene components that have already been generated in the game editing scene.
[0154] In an optional implementation, based on the aforementioned scheme, the control of the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis in response to the first movement control operation of the target scene component in the game editing scene can be achieved through the following steps: determining the target scene component in response to the component selection operation in the game editing scene; and controlling the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis in response to the dragging operation of the target scene component.
[0155] In an optional implementation, based on the aforementioned scheme, the graphical user interface displays a motion editing control. The control of the target scene component to move within the plane formed by the first and second coordinate axes in response to a first motion control operation on a target scene component in the game editing scene can be achieved through the following steps: determining the target scene component in response to a component selection operation in the game editing scene; controlling the target scene component to enter a motion editing state in response to a trigger operation of the motion editing control; and controlling the target scene component to move within the plane formed by the first and second coordinate axes in response to a drag operation of the target scene component while in the motion editing state.
[0156] In an optional implementation, based on the aforementioned scheme, during the period when the first motion control operation is in effect, in response to the second motion control operation targeting the target scene component, controlling the target scene component to move along the direction of the third coordinate axis can be achieved through the following steps: during the period when the first motion control operation is in effect, in response to the second motion control operation targeting the target scene component, obtaining the operation information of the second motion control operation; determining the direction and distance to be moved of the target scene component on the third coordinate axis based on the operation information of the second motion control operation; and controlling the target scene component to move based on the direction and distance to be moved of the target scene component on the third coordinate axis.
[0157] In one alternative implementation, based on the aforementioned scheme, a virtual control control corresponding to the third coordinate axis is displayed in the graphical user interface, and the second movement control operation is an operation performed on the virtual control control corresponding to the third coordinate axis.
[0158] In an alternative implementation, based on the aforementioned scheme, the following steps may also be performed: during the period when the first movement control operation is in effect, the virtual control control corresponding to the third coordinate axis is displayed in the graphical user interface.
[0159] In one alternative implementation, based on the aforementioned scheme, the virtual control corresponding to the third coordinate axis is a strip-shaped control or an arc-shaped control.
[0160] In an optional implementation, based on the aforementioned scheme, the virtual control control corresponding to the third coordinate axis is a long strip control. During the first movement control operation, the display of the virtual control control corresponding to the third coordinate axis in the graphical user interface can be achieved through the following steps: during the first movement control operation, the display direction of the long strip control is determined according to the axis of the third coordinate axis or a preset display direction; the long strip control is displayed in the graphical user interface according to the display direction of the long strip control.
[0161] In an optional implementation, based on the aforementioned scheme, the virtual control control corresponding to the third coordinate axis is a long strip control. During the period when the first movement control operation is effective, in response to the second movement control operation on the target scene component, the operation information of the second movement control operation is obtained, which can be achieved through the following steps: During the period when the first movement control operation is effective, in response to the second movement control operation acting on the long strip control, the movement direction and movement distance of the second movement control operation are obtained.
[0162] In an optional implementation, based on the aforementioned scheme, the virtual control control corresponding to the third coordinate axis is an arc-shaped control. During the effective period of the first movement control operation, in response to the second movement control operation on the target scene component, the operation information of the second movement control operation is obtained, which can be achieved through the following steps: During the effective period of the first movement control operation, in response to the second movement control operation acting on the arc-shaped control, the rotation direction and rotation angle of the second movement control operation are obtained.
[0163] In an optional implementation, based on the aforementioned scheme, the terminal device provides a touch-sensitive control. During the period when the first motion control operation is in effect, in response to the second motion control operation targeting the target scene component, the operation information of the second motion control operation is obtained. This can be achieved through the following steps: During the period when the first motion control operation is in effect, in response to the second motion control operation acting on the touch-sensitive control, the operation information of the second motion control operation is obtained.
[0164] In one optional implementation, based on the aforementioned scheme, the terminal device is equipped with a gyroscope, and the second motion control operation is a physical motion operation for the terminal device. During the effective period of the first motion control operation, in response to the second motion control operation for the target scene component, the operation information of the second motion control operation is obtained, which can be achieved through the following steps: During the effective period of the first motion control operation, in response to the physical motion operation for the terminal device, the physical motion information of the terminal device is collected by the gyroscope to obtain the operation information of the second motion control operation.
[0165] In the above steps, during the period when the first movement control operation is active, in response to the second movement control operation targeting the target scene component, the first and second movement control operations can be executed synchronously. The user does not need to wait for the first movement control operation to complete before executing the second movement control operation, simplifying the position editing process of scene components in three-dimensional space. Furthermore, by controlling the target scene component to move within the plane formed by the first and second coordinate axes while simultaneously controlling the target scene component to move along the direction of the third coordinate axis, this disclosure allows for simultaneous editing of the three coordinate axes of the scene component, thereby improving the efficiency of scene component position editing.
[0166] Bus 830 is used to connect different components of electronic device 800 and may include data bus, address bus and control bus.
[0167] Electronic device 800 can communicate with one or more external devices 900 (such as keyboard, mouse, external controller, etc.) through I / O interface 840.
[0168] Electronic device 800 can communicate with one or more networks via network adapter 850. For example, network adapter 850 can provide mobile communication solutions such as 3G / 4G / 5G, or wireless communication solutions such as wireless LAN, Bluetooth, and near-field communication. Network adapter 850 can communicate with other modules of electronic device 800 via bus 830.
[0169] Electronic device 800 can display a graphical user interface, etc., via display 860.
[0170] although Figure 8 As not shown in the diagram, other hardware and / or software modules may also be configured in the electronic device 800, including but not limited to: a display, microcode, device driver, redundant processor, external disk drive array, RAID (Redundant Arrays of Independent Disks) system, tape drive, and data backup storage system.
[0171] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to exemplary embodiments of this 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 and embodied by multiple modules or units.
[0172] Those skilled in the art will understand that various aspects of this disclosure can be implemented as systems, methods, or program products. Therefore, various aspects of this disclosure can be embodied in entirely hardware implementations, entirely software implementations (including firmware, microcode, etc.), or implementations combining hardware and software aspects, collectively referred to herein as “circuit,” “module,” or “system.” Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0173] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is defined only by the appended claims.
Claims
1. A game editing method, characterized in that, The method includes providing a graphical user interface (GUI) via a terminal device, wherein the GUI displays a game editing scene, and the method comprises: In response to a first movement control operation on a target scene component in the game editing scene, the target scene component is controlled to move within the plane formed by the first coordinate axis and the second coordinate axis; During the first movement control operation, in response to the second movement control operation on the target scene component, the target scene component is controlled to move along the direction of the third coordinate axis; wherein, the third coordinate axis, the first coordinate axis, and the second coordinate axis form the spatial coordinate system of the game editing scene; During the first motion control operation, in response to a second motion control operation targeting the target scene component, the target scene component is controlled to move along the direction of the third coordinate axis, including: During the period when the first motion control operation is in effect, in response to the second motion control operation for the target scene component, the operation information of the second motion control operation is obtained; Based on the operation information of the second motion control operation, the target scene component is determined to move in the direction and distance on the third coordinate axis. The target scene component is controlled to move according to the direction and distance to be moved on the third coordinate axis.
2. The method according to claim 1, characterized in that, The graphical user interface displays a component bar containing multiple scene components. The response to a first movement control operation on a target scene component in the game editing scene, controlling the target scene component to move within the plane formed by the first and second coordinate axes, includes: In response to an operation to add any scene component in the component bar to the game editing scene, the scene component to be added is determined, and the scene component to be added is added to the game editing scene as the target scene component; In response to a first movement control operation on the target scene component, the target scene component is controlled to move within the plane formed by the first coordinate axis and the second coordinate axis.
3. The method according to claim 2, characterized in that, The add operation is a drag operation from any scene component in the component bar to the game editing scene, wherein the first movement control operation is a touch operation that is continuous with the add operation.
4. The method according to claim 1, characterized in that, The first movement control operation is an operation performed on scene components that have already been generated in the game editing scene.
5. The method according to claim 4, characterized in that, The response to a first movement control operation on a target scene component in the game editing scene, controlling the target scene component to move within the plane formed by the first and second coordinate axes, includes: In response to a component selection operation in the game editing scene, the target scene component is determined; In response to the dragging operation of the target scene component, the target scene component is controlled to move within the plane formed by the first coordinate axis and the second coordinate axis.
6. The method according to claim 4, characterized in that, The graphical user interface displays a movement editing control. The step of controlling the target scene component to move within the plane formed by the first and second coordinate axes, in response to a first movement control operation on a target scene component in the game editing scene, includes: In response to a component selection operation in the game editing scene, the target scene component is determined; In response to the triggering operation of the mobile editing control, the target scene component is controlled to enter the mobile editing state; In the mobile editing state, in response to the drag operation of the target scene component, the target scene component is controlled to move within the plane formed by the first coordinate axis and the second coordinate axis.
7. The method according to claim 1, characterized in that, The graphical user interface displays a virtual control control corresponding to the third coordinate axis, and the second movement control operation is an operation performed on the virtual control control corresponding to the third coordinate axis.
8. The method according to claim 7, characterized in that, The method further includes: During the first movement control operation, the virtual control control corresponding to the third coordinate axis is displayed in the graphical user interface.
9. The method according to claim 8, characterized in that, The virtual control corresponding to the third coordinate axis is a long bar control or an arc-shaped control.
10. The method according to claim 9, characterized in that, The virtual control corresponding to the third coordinate axis is a long bar-shaped control. During the first movement control operation, the virtual control corresponding to the third coordinate axis is displayed in the graphical user interface, including: During the first motion control operation, the display direction of the elongated control is determined according to the axis of the third coordinate axis or a preset display direction; The display of the elongated control is controlled in the graphical user interface according to the display direction of the elongated control.
11. The method according to claim 9, characterized in that, The virtual control corresponding to the third coordinate axis is a long strip control. During the first movement control operation, in response to the second movement control operation on the target scene component, the operation information of the second movement control operation is obtained, including: During the first motion control operation, in response to the second motion control operation applied to the elongated control, the movement direction and movement distance of the second motion control operation are obtained.
12. The method according to claim 9, characterized in that, The virtual control corresponding to the third coordinate axis is an arc-shaped control. During the first movement control operation, in response to the second movement control operation targeting the target scene component, the operation information of the second movement control operation is obtained, including: During the first motion control operation, in response to the second motion control operation applied to the arc-shaped control, the rotation direction and rotation angle of the second motion control operation are obtained.
13. The method according to claim 1, characterized in that, The terminal device provides touch-sensitive controls. During the first motion control operation, in response to a second motion control operation targeting the target scene component, it acquires operation information of the second motion control operation, including: During the first motion control operation, in response to the second motion control operation applied to the touch-sensing control, the operation information of the second motion control operation is obtained.
14. The method according to claim 1, characterized in that, The terminal device is equipped with a gyroscope. The second motion control operation is a physical motion operation for the terminal device. During the period when the first motion control operation is active, in response to the second motion control operation for the target scene component, the operation information of the second motion control operation is obtained, including: During the first motion control operation, in response to a physical motion operation on the terminal device, the physical motion information of the terminal device is collected by the gyroscope to obtain the operation information of the second motion control operation.
15. A game editing and processing device, characterized in that, The device provides a graphical user interface via a terminal device, wherein the graphical user interface displays a game editing scene, and the device includes: The first movement control module is used to respond to a first movement control operation for a target scene component in the game editing scene, and control the target scene component to move within the plane formed by the first coordinate axis and the second coordinate axis; The second movement control module is used to control the target scene component to move along the direction of the third coordinate axis in response to the second movement control operation for the target scene component during the period when the first movement control operation is effective; wherein, the third coordinate axis, the first coordinate axis, and the second coordinate axis form the spatial coordinate system of the game editing scene; The second motion control module is configured as follows: During the period when the first motion control operation is in effect, in response to the second motion control operation for the target scene component, the operation information of the second motion control operation is obtained; Based on the operation information of the second motion control operation, the target scene component is determined to move in the direction and distance on the third coordinate axis. The target scene component is controlled to move according to the direction and distance to be moved on the third coordinate axis.
16. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 14.
17. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the method of any one of claims 1 to 14 by executing the executable instructions.
Citation Information
Patent Citations
Method and apparatus for manipulating movable platform, and movable platform
CN110709797A
Component editing processing method and device, storage medium and electronic equipment
CN117919702A