Component editing method and device in game and electronic equipment

By displaying operation controls in the game editing interface, players can adjust components through the trigger area, solving the problems of mistouching and complex operations in the game editing scene, and improving editing efficiency.

CN119455400APending Publication Date: 2025-02-18NETEASE (HANGZHOU) NETWORK CO LTD

Patent Information

Application Number
CN202411298148.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the game editing scenario, players are prone to accidentally touching due to moving their hands into the screen when editing components, and the operation link is complex and inefficient.

Method used

By displaying operation controls in the graphical user interface, players can use these controls to edit the display form and position of components, avoiding their hands moving into the game editing scene for editing. The operation control includes a number of trigger areas corresponding to the preset axial directions, and the player adjusts the components by triggering these areas.

Benefits of technology

This method reduces mistouch during component editing, simplifies the operation link when editing components, and improves the efficiency of component editing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119455400A_ABST
    Figure CN119455400A_ABST
Patent Text Reader

Abstract

The invention provides a component editing method and device in a game and electronic equipment, and the method comprises the steps: responding to an editing operation for a target scene component in a game editing scene, determining a target editing mode, displaying an operation control corresponding to the target editing mode in a graphical user interface, and enabling the operation control to comprise triggering areas corresponding to a plurality of preset axial directions; and in response to a sliding operation aiming at a triggering area corresponding to a target preset axial direction in the operation control, controlling the target scene component to be adjusted along the target preset axial direction based on the target editing mode and the sliding operation so as to adjust a display form or a display position of the target scene component in the game editing scene. According to the mode, when component editing is carried out in the game editing scene, the operation control can be displayed in the interface, so that a player can edit the display form and the display position of the component by operating the rocker, the situation that the hand moves into the game editing scene to edit the component is avoided, mistaken touch in the component editing process is reduced, and the component editing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of game editing, and in particular to a method, device and electronic device for editing components in a game. Background Art

[0002] As a high-frequency operation, the component editing form in the UGC (User Generated Content) editor can currently rotate, move, and scale the three corresponding axes of the component. In the related technology, when the player performs form editing operations on the target component in the game editing scene, a three-axis control will be displayed around the target component, and the form parameters corresponding to each axis can be adjusted through the three-axis control. However, this method requires the hand to move into the game editing scene to operate the three-axis control to edit the component, which not only blocks the field of view, but also easily causes accidental touches, for example, accidentally clicking on other components and performing accidental drag operations. Summary of the invention

[0003] The purpose of the present disclosure is to provide a method, device and electronic device for editing components in a game, so as to reduce accidental touches during component editing and improve component editing efficiency.

[0004] In a first aspect, the present disclosure provides a method for editing components in a game, the method comprising: displaying a graphical user interface through a terminal device, the graphical user interface including a game editing scene; wherein the game editing scene includes at least one scene component; responding to an editing operation on a target scene component in the game editing scene, determining a target editing mode based on the editing operation, and displaying an operation control corresponding to the target editing mode in the graphical user interface; wherein the operation control includes trigger areas corresponding to multiple preset axes respectively; responding to a first trigger operation on the trigger area corresponding to the target preset axis in the operation control, controlling the target scene component to be adjusted along the target preset axis based on the target editing mode and the first trigger operation.

[0005] In a second aspect, the present disclosure provides a component editing device in a game, the device comprising: an interface display module, used to display a graphical user interface through a terminal device, the graphical user interface including a game editing scene; wherein the game editing scene includes at least one scene component; a component editing module, used to respond to an editing operation on a target scene component in the game editing scene, determine a target editing mode based on the editing operation, and display an operation control corresponding to the target editing mode in the graphical user interface; wherein the operation control includes trigger areas corresponding to multiple preset axes respectively; a component adjustment module, used to respond to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, and control the target scene component to adjust along the target preset axis based on the target editing mode and the first trigger operation.

[0006] In a third aspect, the present disclosure provides an electronic device, which includes a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the component editing method in the above-mentioned game.

[0007] In a fourth aspect, the present disclosure provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the component editing method in the above-mentioned game.

[0008] The embodiments of the present disclosure bring the following beneficial effects:

[0009] The present disclosure provides a component editing method, device and electronic device in a game, firstly displaying a graphical user interface by running a game program, wherein the graphical user interface includes a game editing scene; wherein the game editing scene includes multiple scene components; then responding to an editing operation for a target scene component in the game editing scene, determining a target editing mode based on the editing operation, and displaying an operation control corresponding to the target editing mode in the graphical user interface; wherein the target editing mode is one of multiple preset editing modes, and the operation control includes trigger areas corresponding to multiple preset axes respectively; then responding to a first trigger operation for a trigger area corresponding to a target preset axis in the operation control, based on the target editing mode and the first trigger operation, controlling the target scene component to be adjusted along the target preset axis to adjust the display form or display position of the target scene component in the game editing scene. This method displays an operation control in the interface when editing a component in the game editing scene, so that the player can edit the display form and display position of the component by operating the operation control, avoiding the hand moving into the game editing scene to edit the component, not only reducing the accidental touch during the component editing process, but also reducing the operation link when editing the component, and improving the component editing efficiency.

[0010] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.

[0011] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, the following specifically cites preferred implementation modes and describes them in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0013] Figure 1 A flowchart of a component editing method in a game provided by an embodiment of the present disclosure;

[0014] Figure 2 A schematic diagram of displaying editing controls corresponding to a plurality of preset editing modes provided in an embodiment of the present disclosure;

[0015] Figure 3 A display schematic diagram of an operation control provided by an embodiment of the present disclosure;

[0016] Figure 4 A schematic diagram of a schematic mark of a preset mark axis corresponding to the target editing mode provided in the embodiment of the present disclosure when moving;

[0017] Figure 5 A schematic diagram of a schematic identifier of a preset identifier axis corresponding to zooming in a target editing mode provided in an embodiment of the present disclosure;

[0018] Figure 6 A schematic diagram of displaying an adjustment mark provided in an embodiment of the present disclosure;

[0019] Figure 7 A schematic diagram of an editing progress indicator corresponding to the X-axis when a component is rotated according to an embodiment of the present disclosure;

[0020] Figure 8 A schematic diagram of editing progress indicators corresponding to three preset axes when moving a component provided in an embodiment of the present disclosure;

[0021] Fig. 9 A schematic diagram of editing progress indicators corresponding to three preset axes when scaling a component provided in an embodiment of the present disclosure;

[0022] Fig.10 A schematic diagram of the structure of a component editing device in a game provided by an embodiment of the present disclosure;

[0023] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. The components of the embodiments of the present disclosure described and shown in the drawings here can be arranged and designed in various different configurations.

[0025] Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the present disclosure claimed for protection, but merely represents selected embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.

[0026] As a high-frequency operation, the component editing form in the UGC editor can currently rotate, move, and scale the three corresponding axes of the component. Currently, various functional instructions based on rotation, movement, scaling, etc. are scattered in the workbench, and players need to switch function settings back and forth. The operation chain is long and the fine-tuning of details is time-consuming and laborious; at the same time, because the three-axis peripheral controls are displayed around the component, the hand needs to be moved into the screen for editing, which not only blocks the field of view, but also easily causes accidental touches.

[0027] Based on the above problems, the embodiments of the present disclosure provide a method, device and electronic device for editing components in a game. The technology can be applied to game editing scenarios, especially to editing scenarios for moving, rotating and scaling components in game editing scenarios.

[0028] 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 a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0029] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. 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 operation subject of the game program and the game canvas presentation subject 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 canvas. For example, the client device can be a display device with a data transmission method close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. 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 canvas and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game canvas.

[0030] 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 canvas. 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 canvas, 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.

[0031] In a possible implementation, the present disclosure provides a component editing method in a game, such as Figure 1 As shown, the method comprises the following specific steps:

[0032] Step S102, displaying a graphical user interface through a terminal device, wherein the graphical user interface includes a game editing scene; wherein the game editing scene includes at least one scene component.

[0033] In a specific implementation, the above-mentioned graphical user interface is displayed when a game program is run on a terminal device or when a UGC editor application is run; wherein the game program can be an application for any game, and the terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interaction system mentioned above. For example, the terminal device can be a mobile phone, a tablet computer, or a personal computer. The above-mentioned game editing scene is a scene provided by running a game program or a UGC editor application, and can also be understood as a scene of the game editing stage provided by a game editor. The game editing scene can include one or more scene components, and the scene components can be edited in the game editing scene. In actual applications, when a player triggers a game editing instruction, the game editing scene can be displayed in the graphical user interface, and the game editing instruction can be determined according to the rules of the game. For example, the editing instruction can be an operation to enter the game editor; it can also be an operation to select a scene map for editing, etc.

[0034] In a specific embodiment, after the game editing scene is displayed in the graphical user interface, the scene component can be set in the game editing scene in the following manner: display a component editing window in the graphical user interface; wherein the component editing window includes a plurality of scene component controls; in response to a selection operation on a first scene component control in the component editing window, control the generation of a scene component corresponding to the first scene component control in the game editing scene. The above-mentioned first scene component control can be any scene component control included in the component editing window. The specific operation of the above-mentioned selection operation on the first scene component control can be determined according to R&D requirements, and can also be determined according to the user's setting operation. For example, the selection operation can be an operation of dragging the first scene component control to the game editing scene, or an operation of clicking or long pressing the first scene component control in the component editing window, etc.

[0035] Specifically, the component type and component form of the scene component control included in the above-mentioned component editing window can be set according to the research and development requirements. For example, the component editing window can include multiple different types of scene component controls, including: terrain component controls, mechanism component controls, decoration component controls, and combination component controls, etc. Each type of scene component control also contains multiple scene component controls. For example, the mechanism component control also includes motion mechanism component controls, mode mechanism component controls, logic component controls, object component controls, and floor component controls, among which the motion mechanism component controls also include cylinders, gears, cross gears, clockwise turntables, etc.

[0036] Step S104, responding to the editing operation on the target scene component in the game editing scene, determining the target editing mode based on the editing operation, and displaying the operation control corresponding to the target editing mode in the graphical user interface; wherein the operation control includes trigger areas corresponding to multiple preset axes respectively.

[0037] In specific implementation, the target scene component can be any scene component in the game editing scene. The specific operation corresponding to the above editing operation can be determined according to R&D requirements and player operations. For example, the editing operation can be a triggering operation of the editing control corresponding to the target editing mode after selecting the target scene component, or it can be a selection operation of the target scene component after triggering the editing control corresponding to the target editing mode. When the player performs an editing operation on the target scene component, the target editing mode to be performed on the target scene component is determined based on the editing operation, and the operation control corresponding to the target editing mode is displayed in the graphical user interface.

[0038] The above-mentioned target editing mode can be any one of a plurality of preset editing modes, and which preset editing mode is used can be determined according to the player's operation. Specifically, the above-mentioned plurality of preset editing modes are set according to the research and development requirements. In a specific embodiment, the plurality of preset editing modes include the following: moving, rotating and scaling; that is, the player can perform operations such as moving, rotating and scaling on the target scene component. Among them, when the target editing mode is moving, the position of the target scene component in the game editing scene can be adjusted; when the target editing mode is rotating, the rotation angle of the target scene component along a preset axis can be adjusted; when the target editing mode is scaling, the scaling size of the target scene component on a preset axis can be adjusted.

[0039] The operation controls displayed in the graphical user interface include trigger areas corresponding to multiple preset axes. Players can adjust the display form or display position of the target scene component along the preset axis corresponding to the trigger area by triggering a certain trigger area, wherein the adjustment method of the display form or display position matches the target editing method. Specifically, the above-mentioned multiple preset axes can be determined according to research and development needs. In an optional embodiment, the multiple preset axes can be the X-axis, Y-axis and Z-axis in the rectangular coordinate system, and can also be the axis corresponding to the spherical coordinate system. In an optional embodiment, the preset axis can be pre-set according to the player's setting operation. In an optional embodiment, the preset axis is determined according to the direction of the trigger operation performed by the player on the trigger area.

[0040] In actual applications, the display position and display style of the operation control in the graphical user interface can be determined according to research and development requirements. In an optional implementation, the operation control is displayed in a circular shape, and the operation control includes a trigger area corresponding to the X-axis, a trigger area corresponding to the Y-axis, and a trigger area corresponding to the Z-axis. Different trigger areas are displayed in different areas of the operation control, and different trigger areas have different display colors and display logos, so that it is convenient for players to distinguish the trigger areas corresponding to each preset axis. In an optional implementation, the operation controls can also be arranged side by side, for example, the operation controls are arranged horizontally or vertically in the preset area of ​​the graphical user interface; or, the operation controls can also be folded aggregate controls.

[0041] Step S106, in response to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, based on the target editing mode and the first trigger operation, controlling the target scene component to be adjusted along the target preset axis.

[0042] In a specific implementation, the above-mentioned target preset axis can be any one of a plurality of preset axes. The specific operation mode corresponding to the above-mentioned first trigger operation can be determined according to R&D requirements and player operations. For example, the first trigger operation can be a sliding operation in any direction starting from the trigger area corresponding to the target preset axis; the first trigger operation can also be a double-click, click, or long press operation of the trigger area corresponding to the target preset axis. When the player performs the first trigger operation on the trigger area corresponding to the target preset axis, the operation direction and operation parameters corresponding to the first trigger operation are first determined, and then based on the operation direction and operation parameters, the adjustment value of the target scene component when adjusting the target editing mode along the target preset axis is determined, and based on the adjustment value, the target scene component is adjusted along the target preset axis in the game editing scene. In general, the operation direction is used to determine whether the adjustment value is increased or decreased, and the operation parameter is used to determine the adjustment size.

[0043] The above-mentioned one embodiment of the present disclosure provides a component editing method in a game. When editing components in a game editing scene, operation controls will be displayed in the interface, so that players can edit the display form and display position of the components through the operation controls, avoiding moving hands into the game editing scene to edit components. This not only reduces accidental touches during component editing, but also reduces the operation links when editing components, thereby improving component editing efficiency.

[0044] The following embodiments are used to describe the manner of displaying operation controls.

[0045] Specifically, the above-mentioned response is directed to the editing operation of the target scene component in the game editing scene, the specific process of determining the target editing mode based on the editing operation, and displaying the operation control corresponding to the target editing mode in the graphical user interface can be achieved through the following steps 10-11:

[0046] Step 10, in response to the first selection operation on the target scene component, the target scene component is selected.

[0047] In specific implementation, the specific operation corresponding to the above-mentioned first selection operation can be determined according to research and development requirements. For example, the first selection operation can be a click operation or a long press operation on the target scene component in the game editing scene. When the player performs the first selection operation on the target scene component, the target scene component in the game editing scene will be selected; wherein, in the game editing scene, the display format of the selected target scene component is different from the display format of the unselected scene components, so that the player can understand which is the currently selected target scene.

[0048] Step 11, in response to the second selection operation of the editing control corresponding to the target editing mode, controls the display of the operation control corresponding to the target editing mode in the graphical user interface; wherein, the editing controls corresponding to multiple preset editing modes are displayed in the graphical user interface, and the editing control corresponding to the target editing mode is an editing control among the editing controls corresponding to the multiple preset editing modes.

[0049] In a specific implementation, the editing controls corresponding to the multiple preset editing modes displayed in the above graphical user interface can be permanently displayed in the graphical user interface, or can be displayed in the graphical user interface when the target scene component is selected. Among them, different preset editing modes correspond to different editing controls, and the display styles of different editing controls can be determined according to research and development requirements. Figure 2 FIG. 1 is a schematic diagram showing a display of an editing control corresponding to a plurality of preset editing modes provided by an embodiment of the present disclosure. Figure 2 The rectangular block in the figure is the target scene component. When the target scene component is selected, multiple editing controls corresponding to the preset editing methods will be displayed at the bottom of the graphical user interface. Figure 2 The preset editing modes in the include moving, rotating and scaling, that is, the edit control includes a moving function, an editing control with a scaling function and an editing control with a rotating function.

[0050] The target editing mode is any one of a plurality of preset editing modes, and the plurality of preset editing modes include at least one of the following: move, rotate and scale. The specific operation corresponding to the second selection operation can be determined according to research and development requirements. For example, the second selection operation can be a click operation or a long press operation on the editing control corresponding to the target editing mode. When the player performs the second selection operation on the editing control corresponding to the target editing mode, the operation control corresponding to the target editing mode will be displayed in the graphical user interface.

[0051] like Figure 3 FIG. 1 is a display schematic diagram of an operation control provided by an embodiment of the present disclosure. Figure 3 The lower right corner of the image shows the operation control, which is a joystick control displayed when the edit control with the rotation function is triggered. The operation control includes a trigger area corresponding to the X-axis, a trigger area corresponding to the Y-axis, and a trigger area corresponding to the Z-axis. The display colors of the trigger areas corresponding to different axes are different.

[0052] In an optional embodiment, the above-mentioned operation control also includes an amplitude adjustment control; wherein the amplitude adjustment control corresponds to a plurality of adjustable amplitudes; the adjustable amplitude is used to indicate the unit adjustment amplitude of the editing attribute corresponding to the target editing mode by the first trigger operation. Figure 3 The center of the operation control shown is an amplitude adjustment control. In other embodiments, the amplitude adjustment control can be displayed in other locations of the graphical user interface, such as the upper right or upper left of the graphical user interface. In other embodiments, the amplitude adjustment control can be displayed by triggering different trigger areas in the operation control. In other embodiments, the amplitude adjustment control is configured to separately set the adjustment amplitude corresponding to different trigger areas.

[0053] In specific implementation, different preset editing modes correspond to different editing properties, and different preset editing modes correspond to different multiple adjustable ranges. For example, the multiple adjustable ranges corresponding to the rotation property may include but are not limited to: free rotation, 15° rotation, 30° rotation, 45° rotation, and 90° rotation, etc.; wherein, free rotation means directly determining the final adjustment range based on the operating parameters of the first trigger operation. For example, if the first trigger operation is a sliding operation, the longer the sliding distance, the greater the component adjustment angle. Figure 3The adjustable amplitude corresponding to the amplitude adjustment control in the operation control is free rotation; 15° rotation, 30° rotation, 45° rotation and 90° rotation refer to the adjustment angles corresponding to the unit adjustment amplitude of 15°, 30°, 45° and 90° respectively. The multiple adjustable amplitudes corresponding to the movement attribute include but are not limited to: free movement, 0.5 meter movement, 1.0 meter movement, 2.0 meter movement and 5.0 meter movement, etc.; wherein, free movement directly determines the final adjustment amplitude according to the operation parameters corresponding to the first trigger operation, for example, if the first trigger operation is a sliding operation, the longer the sliding distance, the greater the movement distance of the component; 0.5 meter movement, 1.0 meter movement, 2.0 meter movement and 5.0 meter movement refer to the movement distances corresponding to the unit adjustment amplitude of 0.5 meter, 1.0 meter movement, 2.0 meter movement and 5.0 meter movement respectively. The multiple adjustable ranges corresponding to the zoom attribute include but are not limited to: free zoom, 10% zoom, 20% zoom, 30% zoom, 40% zoom, 50% zoom and 100% zoom, etc.; wherein, free zoom refers to determining the final adjustment range according to the operation parameters corresponding to the first trigger operation, for example, the first trigger operation is a sliding operation, then the longer the sliding distance, the greater the zoom ratio; 10% zoom, 20% zoom, 30% zoom, 40% zoom, 50% zoom and 100% zoom respectively refer to the zoom ratios corresponding to the unit adjustment range of 10%, 20%, 30%, 40%, 50% and 100%.

[0054] Furthermore, the multiple adjustable amplitudes corresponding to the amplitude adjustment control are sorted in a preset order; if the adjustable amplitude currently corresponding to the amplitude adjustment control is the target adjustment amplitude, in response to the third trigger operation on the amplitude adjustment control, the adjustable amplitude currently corresponding to the amplitude adjustment control is switched from the target adjustment amplitude to the next adjustable amplitude corresponding to the target adjustment amplitude; wherein, when the target adjustment amplitude is the last adjustable amplitude among the multiple adjustable amplitudes, the next adjustable amplitude corresponding to the target adjustment amplitude is the first adjustable amplitude among the multiple adjustable amplitudes.

[0055] In a specific implementation, the third trigger operation can be a click operation or a sliding operation. For example, the player can switch the adjustable amplitude currently corresponding to the amplitude adjustment control by clicking, that is, click the amplitude adjustment control once to switch the adjustable amplitude currently corresponding to the amplitude adjustment control once, so that the player can adjust the adjustable amplitude currently corresponding to the amplitude adjustment control according to the needs, so as to make fine adjustments or quick adjustments to the target scene component. The player can switch the adjustable amplitude currently corresponding to the amplitude adjustment control by sliding, that is, switch the adjustable amplitude currently corresponding to the amplitude adjustment control according to the sliding distance corresponding to the sliding operation.

[0056] The following embodiments are used to describe the method of displaying a schematic identifier in a game editing scene.

[0057] Specifically, the operation control is displayed separately from the target scene component. In an optional embodiment, a plurality of schematic marks corresponding to preset axes are displayed near the target scene component.

[0058] In a specific implementation, when the player edits a target scene component, a plurality of schematic marks corresponding to preset axes will be displayed near the target scene component, and an operation control for editing the target scene component will also be displayed at a specified position in the graphical user interface; wherein the specified position may be a position in the graphical user interface that does not block the game's line of sight, and the specified position is not related to the display position of the target scene component in the game editing scene. The above-mentioned position near the target scene component may be around the target scene component, or on the target scene component, or at a position associated with the target scene component, etc. The display color of the schematic mark corresponding to each preset axis is the same as the display color of the trigger area of ​​the corresponding preset axis in the operation control, thereby facilitating the player to determine the preset axis that currently needs to be adjusted, and helping to enhance the player's component editing experience.

[0059] Furthermore, after displaying multiple schematic symbols corresponding to preset axes near the target scene component, in response to a second trigger operation of the schematic symbol corresponding to the first preset axis, the target scene component is controlled to be adjusted along the first preset axis based on the target editing mode and the second trigger operation.

[0060] In specific implementation, the first preset axis can be any one of a plurality of preset axes, and the specific operation corresponding to the second trigger operation can be determined according to research and development requirements. For example, the second trigger operation can be a drag operation, a click operation, or a long press operation on the schematic mark corresponding to the first preset axis. When the player performs the second trigger operation on the schematic mark corresponding to the first preset axis, the operation direction and operation parameters corresponding to the second trigger operation are first determined, and then based on the operation direction and operation parameters, the adjustment scale of the target scene component when adjusting the target editing mode along the first preset axis is determined, and based on the adjustment scale, the target scene component is adjusted in the target editing mode along the target preset axis in the game editing scene.

[0061] In an optional embodiment, if the target editing mode is rotation; in response to displaying multiple schematic marks corresponding to preset axes near the target scene component, the rotation angles of the target scene component on the preset axes are respectively displayed on the schematic marks corresponding to the preset axes. Figure 3As shown, schematic symbols corresponding to the X-axis, the Y-axis, and the Z-axis are displayed around the target scene component, respectively, wherein the rotation angle on the schematic symbol corresponding to the X-axis is 0°, the rotation angle on the schematic symbol corresponding to the Y-axis is 0°, and the rotation angle on the schematic symbol corresponding to the Z-axis is 0°.

[0062] like Figure 4 The diagram shows the schematic diagram of the corresponding preset marking axis when the target editing mode is moving. Figure 4 The three axes corresponding to the rectangular coordinate system displayed on the target scene component in the figure respectively represent the schematic mark corresponding to the X axis, the schematic mark corresponding to the Y axis, and the schematic mark corresponding to the Z axis. Figure 5 The diagram shows the schematic diagram of the preset identification axis corresponding to the zoom target editing mode. Figure 5 The three axes corresponding to the rectangular coordinate system displayed on the target scene component respectively represent the schematic mark corresponding to the X-axis, the schematic mark corresponding to the Y-axis, and the schematic mark corresponding to the Z-axis.

[0063] Furthermore, in response to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, the schematic identifiers corresponding to multiple preset axes are controlled to be switched to adjustment identifiers corresponding to the target preset axis; wherein the adjustment identifier is used to indicate that the target scene component is adjusted along the target preset axis. The display style of the above adjustment identifier can be determined according to R&D requirements. For example, the adjustment identifier can be a circular progress bar or a long progress bar.

[0064] When the player edits the target scene component, the graphical user interface displays the operation controls corresponding to the target editing mode, and also displays multiple schematic symbols corresponding to the preset axes near the target scene component. When the player performs the first trigger operation on the trigger area corresponding to the target preset axis in the operation controls, the schematic symbols corresponding to the multiple preset axes displayed near the target scene component will switch to adjustment symbols corresponding to the target preset axis, so that the player can understand which axis is currently being operated and the corresponding adjustment range. Figure 6 The figure shows a display diagram of an adjustment mark provided by an embodiment of the present disclosure. When the target editing mode is rotation, when the player presses the trigger area corresponding to the Z axis in the operation control and performs a sliding operation, Figure 3 The corresponding schematic symbols of the multiple preset axes displayed around the target scene component are switched to Figure 6 The circular progress mark displayed around the target scene component in the figure is the adjustment mark corresponding to the Z axis. The adjustment mark is used to indicate that the current target scene component rotates along the Z axis, and the rotation angle is 52°.

[0065] In a specific embodiment, if Figure 4 and Figure 5 As shown, when the target editing mode is moving or scaling, if the player performs the first trigger operation on the operation control corresponding to the target editing mode, schematic symbols corresponding to the three preset axes in the rectangular coordinate system will be displayed on the target scene component. When the player triggers the trigger area corresponding to the target preset axis in the operation control, the schematic symbols corresponding to the three preset axes displayed on the target scene component will be adjusted to only display the schematic symbols corresponding to the target preset axis, thereby determining the schematic symbols corresponding to the target preset axis as the adjustment symbols corresponding to the target axis; the schematic symbols corresponding to the target preset axis among the three schematic symbols corresponding to the preset axes displayed on the target scene component can also be adjusted to a specified color to obtain the adjustment symbol corresponding to the target preset axis.

[0066] The following embodiments are used to describe component adjustment methods corresponding to different preset editing methods.

[0067] Specifically, the above-mentioned response to the first trigger operation of the trigger area corresponding to the target preset axis in the operation control, based on the target editing mode and the first trigger operation, controls the specific process of adjusting the target scene component along the target preset axis, may include: responding to the first trigger operation of the trigger area corresponding to the target preset axis in the operation control, determining the target operation direction and target operation parameters corresponding to the first trigger operation, wherein the target operation parameters include at least one of the following: operation distance, number of operations, operation duration and operation force; determining the target adjustment value of the target scene component along the target preset axis based on the target operation direction and the target operation parameters, and controlling the target scene component to adjust the target adjustment value along the target preset axis; wherein the target adjustment value includes at least one of the following: target rotation angle, target movement distance and target scaling value.

[0068] In a specific implementation, the target operation direction is used to indicate whether the target adjustment value is positive or negative, and the target operation parameter is used to indicate the size of the target adjustment value. The target operation parameter has different parameter types corresponding to different first trigger operations, and the target operation parameter may include at least one of the following: operation distance, number of operations, operation duration, and operation strength. Usually, the operation distance, number of operations, operation duration, and operation strength are all positively correlated with the size of the target adjustment value.

[0069] The following takes the first trigger operation as a sliding operation and the target operation parameter as the operation distance as an example to introduce the adjustment methods corresponding to different target editing methods.

[0070] In a specific embodiment, if the target editing mode is rotation, in response to the sliding operation on the trigger area corresponding to the target preset axis in the operation control, the target operation direction and target operation distance corresponding to the sliding operation are determined; based on the target operation direction and target sliding distance, the target rotation angle of the target scene component along the target preset axis is determined, and the target scene component is controlled to rotate along the target preset axis by the target rotation angle. This method can adjust the display form of the target scene component in the game editing scene.

[0071] In specific implementation, the above-mentioned target operation direction usually refers to the direction of the line connecting the operation start point and the operation end point of the sliding operation, and the above-mentioned target moving distance can be the straight-line distance between the operation start point and the operation end point of the sliding operation. Specifically, when the target operation direction is the preset positive direction or deviates from the preset positive direction, the rotation angle of the target scene component along the target preset axis will increase; when the target operation direction is the preset negative direction or deviates from the preset negative direction, the rotation angle of the target scene component along the target preset axis will decrease; the longer the target operation distance, the greater the change in the rotation angle of the target scene component along the target preset axis. Among them, the preset positive direction and the preset negative direction are opposite directions, for example, the preset positive direction is clockwise, and the preset negative direction is counterclockwise; the preset positive direction is upward, and the preset negative direction is downward; the preset positive direction is the right side, and the preset negative direction is the left side, etc.

[0072] In an optional embodiment, if the target editing mode is moving, in response to a sliding operation on a trigger area corresponding to a target preset axis in the operation control, the target operation direction and target operation distance corresponding to the sliding operation are determined; based on the target operation direction and target operation distance, the target moving distance of the target scene component along the target preset axis is determined, and the target scene component is controlled to move along the target preset axis by the target moving distance. This method can adjust the display position of the target scene component in the game editing scene.

[0073] In specific implementation, if the target operation direction is a preset positive direction or is biased toward the preset positive direction, the moving distance of the target scene component along the target preset axis will increase, so that the coordinate value of the target scene component on the target preset axis will increase; if the target operation direction is a preset negative direction or is biased toward the preset negative direction, the moving distance of the target scene component along the target preset axis will decrease, so that the coordinate value of the target scene component on the target preset axis will decrease; the longer the target operation distance, the greater the moving distance of the target scene component along the target preset axis. Among them, the preset positive direction and the preset negative direction are opposite directions, for example, the preset positive direction is clockwise, and the preset negative direction is counterclockwise; the preset positive direction is upward, and the preset negative direction is downward; the preset positive direction is the right side, and the preset negative direction is the left side, etc.

[0074] In an optional embodiment, if the target editing mode is zooming, in response to a sliding operation on a trigger area corresponding to a target preset axis in the operation control, the target operation direction and target operation distance corresponding to the sliding operation are determined; based on the target operation direction and target operation distance, a target zoom value of the target scene component along the target preset axis is determined, and the target scene component is controlled to zoom the target zoom value along the target preset axis. This method can adjust the display form of the target scene component in the game editing scene.

[0075] In a specific implementation, if the target operation direction is a preset positive direction or is biased toward the preset positive direction, the scaling value of the target scene component along the target preset axis will increase, so that the target scene component is elongated or enlarged in the target preset axis; if the target operation direction is a preset negative direction or is biased toward the preset negative direction, the scaling value of the target scene component along the target preset axis will decrease, so that the target scene component is shortened or smaller in the target preset axis; the longer the target operation distance, the greater the scaling value of the target scene component along the target preset axis. Among them, the preset positive direction and the preset negative direction are opposite directions, for example, the preset positive direction is clockwise, and the preset negative direction is counterclockwise; the preset positive direction is upward, and the preset negative direction is downward; the preset positive direction is the right side, and the preset negative direction is the left side, etc.

[0076] In the above method, by integrating the complex three-axis rotation, movement, and scaling control with the displacement amplitude and angle amplitude control during the operation, it is transformed into an operation control that is familiar to players and easy to operate. The integration of functions can greatly reduce the operation scene of fingers wandering around the screen for editing. Only through the simple operation of an operation control, the target scene component can be controlled to perform more complex variant control, which not only reduces the operation chain when editing components, but also reduces accidental touches of controls, thereby improving UGC editing efficiency.

[0077] The following embodiments are used to describe the display changes after the operation control is triggered.

[0078] Specifically, in response to a first trigger operation on a trigger area corresponding to a preset target axis in the operation control, the operation control is controlled to switch to an editing progress indicator corresponding to the preset target axis; wherein the editing progress indicator is used to indicate the adjustment range of the target scene component along the preset target axis. The display style of the above-mentioned editing progress indicator can be determined according to R&D requirements. For example, the editing progress indicator can be a circular progress bar or a long drag bar.

[0079] Furthermore, in response to the end of the first trigger operation, the control switches the editing progress mark corresponding to the target preset axis to an operation control. The end of the first trigger operation refers to the finger leaving the graphical user interface, thereby ending the first trigger operation.

[0080] In order to facilitate the understanding of the editing progress representation, the editing progress marks corresponding to the preset axes corresponding to different preset editing modes are introduced in detail below. Among them, the display styles of the editing progress marks corresponding to different preset editing modes are different, and the display styles of the editing progress marks corresponding to different preset axes in the same preset editing mode are also different. In a specific embodiment, the display color of the editing progress mark corresponding to the target preset axis matches the display color of the trigger area corresponding to the target preset axis.

[0081] When the target editing mode is rotation, when the player triggers the trigger area corresponding to the Z axis in the operation control corresponding to the target editing mode in one embodiment of the present disclosure, the operation control switches to display the editing progress mark corresponding to the Z axis, which is also the editing progress mark. Figure 6 A circular progress bar is displayed in the lower right corner of the display. The fill color of the circular progress bar used to indicate the progress matches the display color and display position of the trigger area corresponding to the Z axis. Figure 7 This is a schematic diagram of an editing progress mark corresponding to the X-axis when rotating a component provided in an embodiment of the present disclosure. When the player presses the trigger area corresponding to the X-axis in the operation control and performs a sliding operation, the operation control switches to display the editing progress mark corresponding to the X-axis. The editing progress mark is Figure 7 A circular progress bar is displayed in the lower right corner, and the filling color of the circular progress bar for indicating the progress matches the display color and display position of the trigger area corresponding to the X-axis.

[0082] In the specific implementation, the player can also click the amplitude adjustment control corresponding to the center position of the operation control to switch the adjustable amplitude currently corresponding to the amplitude adjustment control. Figure 6 The adjustable range of the amplitude adjustment control in the game is free rotation. Players can switch the adjustable range of the amplitude adjustment control to 15° rotation by clicking the amplitude adjustment control. At this time, the corresponding adjustable range will be displayed on the amplitude adjustment control (such as Figure 7 The 15° displayed on the amplitude adjustment control in the game is used to indicate the current adjustable amplitude), so that players can easily understand the current adjustable amplitude. Figure 7 The circular progress mark displayed around the target scene component is the adjustment mark corresponding to the X-axis, which is used to indicate that the current target scene component rotates along the X-axis, and the rotation angle is 15°.

[0083] In another optional embodiment, when the target editing mode is moving or scaling, the editing progress indicator corresponding to the target preset axis is displayed as a drag bar, and the display direction of the drag bar corresponds to the direction indicated by the target preset axis in the schematic indicators corresponding to the multiple preset axes displayed near the target scene component.

[0084] like Figure 8This is a schematic diagram of the editing progress indicators corresponding to three preset axes when moving a component according to an embodiment of the present disclosure, and the target editing mode is moving. Figure 8 The first circular drag bar in the game is the trigger area corresponding to the X-axis in the player's operation control and performs a sliding operation (equivalent to the first trigger operation mentioned above), and the operation control switches to the editing progress mark corresponding to the X-axis. The display direction of the editing progress mark corresponding to the X-axis is the same as that of the Figure 4 The X-axis direction of the target scene component is the same; Figure 8 The second circular drag bar in the middle is the edit progress indicator corresponding to the Y axis of the operation control when the player presses the trigger area corresponding to the Y axis of the operation control and performs a sliding operation. The display direction of the edit progress indicator corresponding to the Y axis is the same as Figure 4 The Y-axis direction of the target scene component is the same; Figure 8 The third circular drag bar in the middle is the edit progress mark corresponding to the Z axis when the player presses the trigger area corresponding to the Z axis in the operation control and performs a sliding operation. The display direction of the edit progress mark corresponding to the Z axis is the same as Figure 4 The Z-axis direction of the target scene component in the same. The dark rectangle in the drag bar is a slider, and the player can drag the slider to move it to adjust the display position of the target scene component. Figure 8 The 0.5 displayed in the amplitude adjustment control in the center of the operation control is used to indicate that the current unit adjustment amplitude is 0.5 meters.

[0085] Fig. 9 This is a schematic diagram of the editing progress indicators corresponding to the three preset axes when zooming a component provided by an embodiment of the present disclosure, when the target editing mode is zooming, Fig. 9 The first circular drag bar in the image is the edit progress indicator corresponding to the X-axis when the player presses the trigger area corresponding to the X-axis in the operation control and performs a sliding operation. The display direction of the edit progress indicator corresponding to the X-axis is the same as Figure 5 The X-axis direction of the target scene component is the same; Fig. 9 The second circular drag bar in the middle is the edit progress indicator corresponding to the Y axis of the operation control when the player presses the trigger area corresponding to the Y axis of the operation control and performs a sliding operation. The display direction of the edit progress indicator corresponding to the Y axis is the same as Figure 5 The Y-axis direction of the target scene component is the same; Fig. 9 The third circular drag bar in the middle is the edit progress mark corresponding to the Z axis when the player presses the trigger area corresponding to the Z axis in the operation control and performs a sliding operation. The display direction of the edit progress mark corresponding to the Z axis is the same as Figure 5The dark rectangle in the drag bar is a slider, and the player can drag the slider to control the zoom in or out of the target scene component in a certain axis. Fig. 9 The 10% displayed in the center of the operation control is used to indicate that the current unit adjustment amplitude is 10%.

[0086] In the above method, there are trigger areas corresponding to the X, Y, and Z axes on the operation control. When the finger presses the corresponding trigger area, the editing progress indicator of the corresponding axis will be displayed, and the shape or position of the component can be changed by dragging the finger.

[0087] Based on the above method embodiment, the present disclosure also provides a component editing device in a game, such as Fig.10 As shown, the device comprises:

[0088] The interface display module 80 is used to display a graphical user interface through a terminal device, wherein the graphical user interface includes a game editing scene; wherein the game editing scene includes at least one scene component.

[0089] The component editing module 81 is used to respond to the editing operation of the target scene component in the game editing scene, determine the target editing mode based on the editing operation, and display the operation control corresponding to the target editing mode in the graphical user interface; wherein the operation control includes trigger areas corresponding to multiple preset axes.

[0090] The component adjustment module 82 is used to respond to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, and control the target scene component to adjust along the target preset axis based on the target editing mode and the first trigger operation.

[0091] The component editing device in the above-mentioned game will display operation controls in the interface when editing components in the game editing scene, so that players can edit the display form and display position of the components by operating the operation controls, avoiding moving hands into the game editing scene to edit components. This not only reduces accidental touches during component editing, but also reduces the operation links when editing components, thereby improving component editing efficiency.

[0092] Furthermore, the above-mentioned operation controls are displayed separately from the target scene components.

[0093] Furthermore, the above-mentioned device also includes an identification display module, which is used to: in response to displaying an operation control corresponding to the target editing mode in the graphical user interface, display a plurality of schematic identifications corresponding to preset axes in the vicinity of the target scene component.

[0094] Furthermore, the above-mentioned device also includes a display adjustment module, which is used to: respond to a second trigger operation of the schematic mark corresponding to the first preset axis, and control the target scene component to adjust along the first preset axis based on the target editing mode and the second trigger operation.

[0095] In a specific implementation, the above-mentioned device also includes a display switching module, which is used to: respond to a first trigger operation of a trigger area corresponding to a target preset axis in an operation control, and control the switching of schematic symbols corresponding to multiple preset axes to adjustment symbols corresponding to the target preset axis; wherein the adjustment symbol is used to indicate that the target scene component is adjusted along the target preset axis.

[0096] In a specific implementation, the target editing method is rotation; based on this, the device also includes an angle display module, which is used to: in response to displaying multiple schematic symbols corresponding to preset axes at a position near the target scene component, control the display of the rotation angle of the target scene component on the preset axes on the schematic symbols corresponding to the multiple preset axes.

[0097] In an optional embodiment, the component editing module 81 is used to: respond to a first selection operation on a target scene component to select a target scene component; respond to a second selection operation on an editing control corresponding to a target editing method to control the display of an operation control corresponding to the target editing method in a graphical user interface; wherein, editing controls corresponding to a plurality of preset editing methods are respectively displayed in the graphical user interface, and the editing control corresponding to the target editing method is an editing control among the editing controls corresponding to the plurality of preset editing methods.

[0098] In a specific implementation, the above-mentioned multiple preset editing modes include at least one of the following: moving, rotating and scaling.

[0099] Furthermore, the above-mentioned component adjustment module 82 is used to: respond to a first trigger operation of a trigger area corresponding to a target preset axis in an operation control, determine a target operation direction and target operation parameters corresponding to the first trigger operation, wherein the target operation parameters include at least one of the following: operation distance, number of operations, operation duration and operation force; determine a target adjustment value of the target scene component along the target preset axis based on the target operation direction and the target operation parameters, and control the target scene component to adjust the target adjustment value along the target preset axis; wherein the target adjustment value includes at least one of the following: target rotation angle, target moving distance and target scaling value.

[0100] Furthermore, the above-mentioned device also includes an identification switching module, which is used to: respond to a first trigger operation on a trigger area corresponding to a target preset axis in an operation control, and control the operation control to be switched to an editing progress identification corresponding to the target preset axis; wherein the editing progress identification is used to indicate the adjustment range of the target scene component along the target preset axis.

[0101] Furthermore, the above-mentioned mark switching module is also used to: in response to the end of the first trigger operation, control the editing progress mark corresponding to the target preset axis to be switched to an operation control.

[0102] Furthermore, the display color of the editing progress mark corresponding to the above-mentioned target preset axis matches the display color of the trigger area corresponding to the target preset axis.

[0103] Furthermore, when the target editing mode is moving or scaling, the editing progress indicator corresponding to the target preset axis is displayed as a drag bar, and the display direction of the drag bar corresponds to the direction indicated by the target preset axis in the schematic indicators corresponding to the multiple preset axes displayed near the target scene component.

[0104] In a specific implementation, the above-mentioned operation control also includes an amplitude adjustment control; wherein the amplitude adjustment control corresponds to a plurality of adjustable amplitudes; the adjustable amplitude is used to indicate the unit adjustment amplitude of the editing attribute corresponding to the target editing mode by the first trigger operation.

[0105] Furthermore, the multiple adjustable amplitudes corresponding to the amplitude adjustment control are sorted in a preset order; the above-mentioned device also includes an amplitude adjustment module, which is used to: if the adjustable amplitude currently corresponding to the amplitude adjustment control is the target adjustment amplitude, in response to the third trigger operation on the amplitude adjustment control, switch the adjustable amplitude currently corresponding to the amplitude adjustment control from the target adjustment amplitude to the next adjustable amplitude corresponding to the target adjustment amplitude; wherein, when the target adjustment amplitude is the last adjustable amplitude among the multiple adjustable amplitudes, the next adjustable amplitude corresponding to the target adjustment amplitude is the first adjustable amplitude among the multiple adjustable amplitudes.

[0106] The component editing device in the game provided by the embodiment of the present disclosure has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0107] The present disclosure also provides an electronic device, such as Fig.11 As shown, the electronic device includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the component editing method in the above-mentioned game.

[0108] Specifically, the component editing method in the above-mentioned game includes: displaying a graphical user interface through a terminal device, the graphical user interface including a game editing scene; wherein the game editing scene includes at least one scene component; responding to an editing operation on a target scene component in the game editing scene, determining a target editing mode based on the editing operation, and displaying an operation control corresponding to the target editing mode in the graphical user interface; wherein the operation control includes trigger areas corresponding to multiple preset axes respectively; responding to a first trigger operation on the trigger area corresponding to the target preset axis in the operation control, based on the target editing mode and the first trigger operation, controlling the target scene component to be adjusted along the target preset axis.

[0109] The component editing method in the above-mentioned game will display operation controls in the interface when editing components in the game editing scene, so that players can edit the display form and display position of the components by operating the operation controls, avoiding moving hands into the game editing scene to edit components. This not only reduces accidental touches during component editing, but also reduces the operation links when editing components, thereby improving component editing efficiency.

[0110] In an optional embodiment, the above-mentioned operation controls are displayed separately from the target scene component.

[0111] In an optional embodiment, the method further includes: in response to displaying an operation control corresponding to the target editing mode in the graphical user interface, displaying schematic markers corresponding to multiple preset axes in the vicinity of the target scene component.

[0112] In an optional embodiment, the method further includes: responding to a second trigger operation of a schematic mark corresponding to the first preset axis, and controlling the target scene component to adjust along the first preset axis based on the target editing mode and the second trigger operation.

[0113] In an optional embodiment, the above method also includes: responding to a first trigger operation on a trigger area corresponding to a target preset axis in an operation control, controlling the switching of schematic identifiers corresponding to multiple preset axes to adjustment identifiers corresponding to the target preset axis; wherein the adjustment identifier is used to indicate that the target scene component is adjusted along the target preset axis.

[0114] In an optional embodiment, the target editing mode is rotation; the above method also includes: in response to displaying multiple schematic identifiers corresponding to preset axes at a position near the target scene component, controlling the display of the rotation angle of the target scene component on the preset axes on the schematic identifiers corresponding to the multiple preset axes.

[0115] In an optional embodiment, the above-mentioned steps of responding to an editing operation on a target scene component in a game editing scene, determining a target editing mode based on the editing operation, and displaying operation controls corresponding to the target editing mode in a graphical user interface include: responding to a first selection operation on the target scene component, selecting the target scene component; responding to a second selection operation on an editing control corresponding to the target editing mode, controlling the display of operation controls corresponding to the target editing mode in the graphical user interface; wherein, editing controls corresponding to multiple preset editing modes are displayed in the graphical user interface, and the editing controls corresponding to the target editing mode are editing controls among the editing controls corresponding to the multiple preset editing modes.

[0116] In an optional embodiment, the plurality of preset editing modes include at least one of the following: moving, rotating and scaling.

[0117] In an optional embodiment, the above-mentioned response to the first trigger operation of the trigger area corresponding to the target preset axis in the operation control, based on the target editing mode and the first trigger operation, controls the target scene component to adjust along the target preset axis, including: responding to the first trigger operation of the trigger area corresponding to the target preset axis in the operation control, determining the target operation direction and target operation parameters corresponding to the first trigger operation, wherein the target operation parameters include at least one of the following: operation distance, number of operations, operation duration and operation force; determining the target adjustment value of the target scene component along the target preset axis based on the target operation direction and the target operation parameters, and controlling the target scene component to adjust the target adjustment value along the target preset axis; wherein the target adjustment value includes at least one of the following: target rotation angle, target movement distance and target scaling value.

[0118] In an optional embodiment, the above method also includes: responding to a first trigger operation on a trigger area corresponding to a target preset axis in an operation control, controlling the operation control to be switched to an editing progress indicator corresponding to the target preset axis; wherein the editing progress indicator is used to indicate the adjustment range of the target scene component along the target preset axis.

[0119] In an optional embodiment, the method further includes: in response to the end of the first trigger operation, controlling the editing progress indicator corresponding to the target preset axis to be switched to an operation control.

[0120] In an optional embodiment, the display color of the editing progress mark corresponding to the above-mentioned target preset axis matches the display color of the trigger area corresponding to the target preset axis.

[0121] In an optional embodiment, when the target editing mode is moving or scaling, the editing progress indicator corresponding to the target preset axis is displayed as a drag bar, and the display direction of the drag bar corresponds to the direction indicated by the target preset axis in the schematic indicators corresponding to multiple preset axes displayed near the target scene component.

[0122] In an optional embodiment, the above-mentioned operation control also includes an amplitude adjustment control; wherein the amplitude adjustment control corresponds to multiple adjustable amplitudes; the adjustable amplitude is used to indicate the unit adjustment amplitude of the editing attribute corresponding to the target editing mode by the first trigger operation.

[0123] In an optional embodiment, the multiple adjustable amplitudes corresponding to the amplitude adjustment control are sorted in a preset order; the above method also includes: if the adjustable amplitude currently corresponding to the amplitude adjustment control is the target adjustment amplitude, in response to a third trigger operation on the amplitude adjustment control, the adjustable amplitude currently corresponding to the amplitude adjustment control is switched from the target adjustment amplitude to the next adjustable amplitude corresponding to the target adjustment amplitude; wherein, when the target adjustment amplitude is the last adjustable amplitude among the multiple adjustable amplitudes, the next adjustable amplitude corresponding to the target adjustment amplitude is the first adjustable amplitude among the multiple adjustable scales.

[0124] Further, Fig.11 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .

[0125] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0126] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and completes the steps of the method of the above embodiment in combination with its hardware.

[0127] The embodiments of the present disclosure also provide a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the component editing method in the above-mentioned game. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0128] Specifically, the component editing method in the above-mentioned game includes: displaying a graphical user interface through a terminal device, the graphical user interface including a game editing scene; wherein the game editing scene includes at least one scene component; responding to an editing operation on a target scene component in the game editing scene, determining a target editing mode based on the editing operation, and displaying an operation control corresponding to the target editing mode in the graphical user interface; wherein the operation control includes trigger areas corresponding to multiple preset axes respectively; responding to a first trigger operation on the trigger area corresponding to the target preset axis in the operation control, based on the target editing mode and the first trigger operation, controlling the target scene component to be adjusted along the target preset axis.

[0129] The component editing method in the above-mentioned game will display operation controls in the interface when editing components in the game editing scene, so that players can edit the display form and display position of the components by operating the operation controls, avoiding moving hands into the game editing scene to edit components. This not only reduces accidental touches during component editing, but also reduces the operation links when editing components, thereby improving component editing efficiency.

[0130] In an optional embodiment, the above-mentioned operation controls are displayed separately from the target scene component.

[0131] In an optional embodiment, the method further includes: in response to displaying an operation control corresponding to the target editing mode in the graphical user interface, displaying schematic markers corresponding to multiple preset axes in the vicinity of the target scene component.

[0132] In an optional embodiment, the method further includes: responding to a second trigger operation of a schematic mark corresponding to the first preset axis, and controlling the target scene component to adjust along the first preset axis based on the target editing mode and the second trigger operation.

[0133] In an optional embodiment, the above method also includes: responding to a first trigger operation on a trigger area corresponding to a target preset axis in an operation control, controlling the switching of schematic identifiers corresponding to multiple preset axes to adjustment identifiers corresponding to the target preset axis; wherein the adjustment identifier is used to indicate that the target scene component is adjusted along the target preset axis.

[0134] In an optional embodiment, the target editing mode is rotation; the above method also includes: in response to displaying multiple schematic identifiers corresponding to preset axes at a position near the target scene component, controlling the display of the rotation angle of the target scene component on the preset axes on the schematic identifiers corresponding to the multiple preset axes.

[0135] In an optional embodiment, the above-mentioned steps of responding to an editing operation on a target scene component in a game editing scene, determining a target editing mode based on the editing operation, and displaying operation controls corresponding to the target editing mode in a graphical user interface include: responding to a first selection operation on the target scene component, selecting the target scene component; responding to a second selection operation on an editing control corresponding to the target editing mode, controlling the display of operation controls corresponding to the target editing mode in the graphical user interface; wherein, editing controls corresponding to multiple preset editing modes are displayed in the graphical user interface, and the editing controls corresponding to the target editing mode are editing controls among the editing controls corresponding to the multiple preset editing modes.

[0136] In an optional embodiment, the plurality of preset editing modes include at least one of the following: moving, rotating and scaling.

[0137] In an optional embodiment, the above-mentioned response to the first trigger operation of the trigger area corresponding to the target preset axis in the operation control, based on the target editing mode and the first trigger operation, controls the target scene component to adjust along the target preset axis, including: responding to the first trigger operation of the trigger area corresponding to the target preset axis in the operation control, determining the target operation direction and target operation parameters corresponding to the first trigger operation, wherein the target operation parameters include at least one of the following: operation distance, number of operations, operation duration and operation force; determining the target adjustment value of the target scene component along the target preset axis based on the target operation direction and the target operation parameters, and controlling the target scene component to adjust the target adjustment value along the target preset axis; wherein the target adjustment value includes at least one of the following: target rotation angle, target movement distance and target scaling value.

[0138] In an optional embodiment, the above method also includes: responding to a first trigger operation on a trigger area corresponding to a target preset axis in an operation control, controlling the operation control to be switched to an editing progress indicator corresponding to the target preset axis; wherein the editing progress indicator is used to indicate the adjustment range of the target scene component along the target preset axis.

[0139] In an optional embodiment, the method further includes: in response to the end of the first trigger operation, controlling the editing progress indicator corresponding to the target preset axis to be switched to an operation control.

[0140] In an optional embodiment, the display color of the editing progress mark corresponding to the above-mentioned target preset axis matches the display color of the trigger area corresponding to the target preset axis.

[0141] In an optional embodiment, when the target editing mode is moving or scaling, the editing progress indicator corresponding to the target preset axis is displayed as a drag bar, and the display direction of the drag bar corresponds to the direction indicated by the target preset axis in the schematic indicators corresponding to multiple preset axes displayed near the target scene component.

[0142] In an optional embodiment, the above-mentioned operation control also includes an amplitude adjustment control; wherein the amplitude adjustment control corresponds to multiple adjustable amplitudes; the adjustable amplitude is used to indicate the unit adjustment amplitude of the editing attribute corresponding to the target editing mode by the first trigger operation.

[0143] In an optional embodiment, the multiple adjustable amplitudes corresponding to the amplitude adjustment control are sorted in a preset order; the above method also includes: if the adjustable amplitude currently corresponding to the amplitude adjustment control is the target adjustment amplitude, in response to a third trigger operation on the amplitude adjustment control, the adjustable amplitude currently corresponding to the amplitude adjustment control is switched from the target adjustment amplitude to the next adjustable amplitude corresponding to the target adjustment amplitude; wherein, when the target adjustment amplitude is the last adjustable amplitude among the multiple adjustable amplitudes, the next adjustable amplitude corresponding to the target adjustment amplitude is the first adjustable amplitude among the multiple adjustable scales.

[0144] If the method is implemented in the form of a software unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a terminal device, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0145] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0146] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A component editing method in a game, characterized in that: The method comprises: Displaying a graphical user interface through a terminal device, wherein the graphical user interface includes a game editing scene; wherein the game editing scene includes at least one scene component; In response to an editing operation on a target scene component in the game editing scene, a target editing mode is determined based on the editing operation, and an operation control corresponding to the target editing mode is displayed in the graphical user interface; wherein the operation control includes trigger areas corresponding to a plurality of preset axes respectively; In response to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, based on the target editing mode and the first trigger operation, the target scene component is controlled to be adjusted along the target preset axis.

2. The method according to claim 1, characterized in that The operation control is displayed separately from the target scene component.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: In response to displaying the operation control corresponding to the target editing mode in the graphical user interface, schematic identifiers corresponding to the multiple preset axes are displayed near the target scene component.

4. The method according to claim 3, characterized in that The method further comprises: In response to a second trigger operation corresponding to a schematic mark of a first preset axis among the multiple preset axes, based on the target editing mode and the second trigger operation, the target scene component is controlled to be adjusted along the first preset axis.

5. The method according to claim 4, characterized in that The method further comprises: In response to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, control is performed to switch the schematic identifiers corresponding to the multiple preset axes to adjustment identifiers corresponding to the target preset axis; wherein the adjustment identifier is used to indicate that the target scene component is adjusted along the target preset axis.

6. The method according to claim 5, characterized in that The target editing mode is rotation; the method further includes: In response to displaying the schematic marks corresponding to the multiple preset axes at positions near the target scene component, the rotation angles of the target scene component on the preset axes are respectively displayed on the schematic marks corresponding to the multiple preset axes.

7. The method according to claim 1, characterized in that The step of responding to an editing operation on a target scene component in the game editing scene, determining a target editing mode based on the editing operation, and displaying an operation control corresponding to the target editing mode in the graphical user interface includes: In response to a first selection operation on the target scene component, selecting the target scene component; In response to a second selection operation on an editing control corresponding to a target editing mode, control the display of an operation control corresponding to the target editing mode in the graphical user interface; wherein, editing controls corresponding to a plurality of preset editing modes are displayed in the graphical user interface, and the editing control corresponding to the target editing mode is an editing control among the editing controls corresponding to the plurality of preset editing modes.

8. The method according to claim 7, characterized in that The plurality of preset editing modes include at least one of the following: moving, rotating and scaling.

9. The method according to claim 1, characterized in that: The step of responding to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, and controlling the target scene component to be adjusted along the target preset axis based on the target editing mode and the first trigger operation, comprises: In response to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, a target operation direction and a target operation parameter corresponding to the first trigger operation are determined, wherein the target operation parameter includes at least one of the following: operation distance, number of operations, operation duration, and operation force; Based on the target operation direction and the target operation parameter, a target adjustment value of the target scene component along the target preset axis is determined, and the target scene component is controlled to adjust the target adjustment value along the target preset axis; wherein the target adjustment value includes at least one of the following: a target rotation angle, a target moving distance, and a target scaling value.

10. The method according to claim 1, characterized in that The method further comprises: In response to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, the operation control is controlled to be switched to an editing progress indicator corresponding to the target preset axis; wherein the editing progress indicator is used to indicate an adjustment range of the target scene component along the target preset axis.

11. The method according to claim 10, characterized in that The method further comprises: In response to the end of the first trigger operation, the editing progress indicator corresponding to the target preset axis is controlled to be switched to the operation control.

12. The method according to claim 10, characterized in that The display color of the editing progress mark corresponding to the target preset axis matches the display color of the trigger area corresponding to the target preset axis.

13. The method according to claim 12, characterized in that When the target editing mode is moving or scaling, the editing progress indicator corresponding to the target preset axis is displayed as a drag bar, and the display direction of the drag bar corresponds to the direction indicated by the target preset axis in the schematic indicators corresponding to the multiple preset axes displayed near the target scene component.

14. The method according to claim 1, characterized in that The operation control also includes an amplitude adjustment control; wherein the amplitude adjustment control corresponds to a plurality of adjustable amplitudes; the adjustable amplitude is used to indicate the unit adjustment amplitude of the editing attribute corresponding to the target editing mode by the first trigger operation.

15. The method according to claim 14, characterized in that The multiple adjustable amplitudes corresponding to the amplitude adjustment controls are sorted in a preset order; the method further includes: If the adjustable amplitude currently corresponding to the amplitude adjustment control is the target adjustment amplitude, in response to a third trigger operation on the amplitude adjustment control, the adjustable amplitude currently corresponding to the amplitude adjustment control is switched from the target adjustment amplitude to a next adjustable amplitude corresponding to the target adjustment amplitude; When the target adjustment amplitude is the last adjustable amplitude among the multiple adjustable amplitudes, the next adjustable amplitude corresponding to the target adjustment amplitude is the first adjustable amplitude among the multiple adjustable amplitudes.

16. A component editing device in a game, characterized in that: The device comprises: An interface display module, used to display a graphical user interface through a terminal device, wherein the graphical user interface includes a game editing scene; wherein the game editing scene includes at least one scene component; A component editing module, for responding to an editing operation on a target scene component in the game editing scene, determining a target editing mode based on the editing operation, and displaying an operation control corresponding to the target editing mode in the graphical user interface; wherein the operation control includes trigger areas corresponding to a plurality of preset axes respectively; The component adjustment module is used to respond to a first trigger operation on a trigger area corresponding to a target preset axis in the operation control, and based on the target editing mode and the first trigger operation, control the target scene component to be adjusted along the target preset axis.

17. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the component editing method in the game described in any one of claims 1 to 15.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the component editing method in a game as described in any one of claims 1 to 15.

Citation Information

Patent Citations

  • Component generation method and device in game scene, storage medium and electronic equipment

    CN116672720A

Cited By

  • Method and apparatus for component editing in game, and electronic device

    WO2026056626A1