Operating object editing method and device, storage medium and electronic device
By providing a graphical user interface and multiple control partition editing methods on the mobile terminal, the problem of difficult and low-efficiency editing of multiple objects on the mobile terminal is solved, and flexible and convenient editing operations are realized.
Patent Information
- Application Number
- CN202410627910.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology on mobile terminals is difficult to realize flexible editing of multiple objects, is difficult to operate, has low editing efficiency, and cannot migrate the editing method of computer terminals.
The game scene to be edited is displayed through a graphical user interface, and a first control area and a plurality of second control partitions are provided. Users can perform editing operations in these areas and flexibly select and edit scene component combinations and scene components composed of them.
It realizes flexible and convenient editing of target operation objects on mobile terminals, reduces the difficulty of operation, and improves editing efficiency.
Smart Images

Figure CN118526796A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an operation object editing method, device, storage medium and electronic device. Background Art
[0002] With the rise of mobile terminal technology, more and more users choose mobile phones, tablets and other terminal devices as productivity devices, so as to use fragmented time to create, entertain and other activities in productivity tools (such as drawing software, modeling software, etc.). In addition, in user-generated content (UGC) games, users can use in-game tools and editors to create their own game content, including maps, levels, characters, props, etc. Whether in productivity tools or in game entertainment, when editing the creative content, it is usually necessary to combine multiple objects and adjust their overall position, size, and angle parameters. In the related art, multiple objects can be selected or switched by shortcut keys in a computer terminal, but this editing method cannot be migrated to a mobile terminal for use. In the related art, auxiliary interfaces such as node trees can also be used. Selecting a child node means selecting a single object in the combination, and selecting a parent node means selecting the entire combination. However, this editing method has high requirements for node naming, and it is necessary to select and view them one by one to confirm whether the selected result is correct. Moreover, due to the limited display content of the mobile terminal, more up and down sliding operations are required, and the editing efficiency is low.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] At least some embodiments of the present application provide a method, device, storage medium and electronic device for editing an operation object, so as to at least solve the technical problems of high operation difficulty and low editing efficiency in the operation object editing method provided in the related art.
[0005] According to one embodiment of the present application, a method for editing an operation object is provided, and a graphical user interface is provided through a terminal device. The method for editing an operation object includes: displaying a game scene to be edited through a graphical user interface, wherein the game scene to be edited includes a scene component combination, wherein the scene component combination includes multiple scene components; displaying a first control area corresponding to the scene component combination, wherein the first control area includes: a first control partition and multiple second control partitions, the first control partition is used to perform editing operations on the scene component combination, and the multiple second control partitions are used to respectively perform editing operations on the scene components constituting the scene component combination; in response to the control operation performed on the first control area, selecting a target operation object, wherein the target operation object includes at least one of the following: a scene component combination, and scene components constituting the scene component combination; and performing an editing operation on the target operation object.
[0006] According to one embodiment of the present application, there is provided an operation object editing device, which provides a graphical user interface through a terminal device, and the operation object editing device comprises: a first display module, which is used to display a game scene to be edited through a graphical user interface, wherein the game scene to be edited includes a scene component combination, wherein the scene component combination includes multiple scene components; a second display module, which is used to display a first control area corresponding to the scene component combination, wherein the first control area includes: a first control partition and multiple second control partitions, the first control partition is used to perform editing operations on the scene component combination, and the multiple second control partitions are used to respectively perform editing operations on the scene components constituting the scene component combination; a selection module, which is used to respond to the control operation performed on the first control area and select a target operation object, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination; and an editing module, which is used to perform editing operations on the target operation object.
[0007] According to one embodiment of the present application, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned operation object editing method in each embodiment of the present application when running.
[0008] According to one embodiment of the present application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the above-mentioned operation object editing method in each embodiment of the present application.
[0009] According to another aspect of the embodiments of the present application, a computer program product is also provided, including a computer program, which implements the above-mentioned operation object editing method in each embodiment of the present application when executed by a processor.
[0010] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned operation object editing method in each embodiment of the present application is implemented.
[0011] According to another aspect of the embodiments of the present application, a computer program is also provided. When the computer program is executed by a processor, the above-mentioned operation object editing method in each embodiment of the present application is implemented.
[0012] In at least some embodiments of the present application, a game scene to be edited is displayed through a graphical user interface, and the game scene to be edited includes a scene component combination, and then a first control area corresponding to the scene component combination is displayed. Subsequently, in response to the control operation performed on the first control area, a target operation object is selected, and finally an editing operation is performed on the target operation object, thereby achieving the purpose of flexibly and conveniently editing the target operation object, thereby achieving the technical effect of reducing the difficulty of operating the target operation object and improving the operation efficiency, and thus solving the technical problems of high operation difficulty and low editing efficiency in the operation object editing method provided in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0014] Figure 1 is a hardware structure block diagram of a mobile terminal for an operation object editing method according to one embodiment of the present application;
[0015] Figure 2 is a flow chart of an operation object editing method according to one embodiment of the present application;
[0016] Figure 3 is a schematic diagram of a graphical user interface according to one embodiment of the present application;
[0017] Figure 4 is a schematic diagram of a scene management page according to one embodiment of the present application;
[0018] Figure 5 is a schematic diagram of an operation object editing method according to one embodiment of the present application;
[0019] Figure 6 is a schematic diagram of another operation object editing method according to one embodiment of the present application;
[0020] Figure 7 is a schematic diagram of another operation object editing method according to one embodiment of the present application;
[0021] Figure 8 is a schematic diagram of another operation object editing method according to one embodiment of the present application;
[0022] Fig. 9 is a schematic diagram of another operation object editing method according to one embodiment of the present application;
[0023] Fig.10is a schematic diagram of another operation object editing method according to one embodiment of the present application;
[0024] Fig.11 is a schematic diagram of another operation object editing method according to one embodiment of the present application;
[0025] Fig.12 is a schematic diagram of another operation object editing method according to one embodiment of the present application;
[0026] Fig.13 is a structural block diagram of an operation object editing device according to one embodiment of the present application;
[0027] Fig.14 is a schematic diagram of an electronic device according to one embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] Whether in productivity tools or in gaming and entertainment, when editing creative content, it is often necessary to combine multiple objects and adjust their overall position, size, angle, etc. to improve editing efficiency. For example, combine multiple controls when editing an interface, combine multiple objects when editing a scene, and combine multiple points when editing a model. While editing the overall combination, users also need to edit individual objects in the combination separately to ensure the overall effect.
[0031] In the related art, multiple objects can be selected or switched by shortcut keys in a computer terminal, but this editing method cannot be transferred to a mobile terminal. For example, in a collaborative design tool, a user directly clicks the left button of the mouse to select a control group, and presses the left button of the mouse to select a single control in the control group.
[0032] In the related technology, auxiliary interfaces such as node trees can also be used. Selecting a child node selects a single object in the group, and selecting a parent node selects the entire group. However, this editing method has high requirements for node naming. You need to select and check each node one by one to confirm whether the selection result is correct. In addition, due to the limited display content of mobile terminals, more up and down sliding operations are required, and the editing efficiency is low.
[0033] In summary, the operation object editing method provided in the related art has technical problems of great difficulty in operation and low editing efficiency. Currently, no effective solution has been proposed for the above problems.
[0034] The above method embodiments involved in this application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, the mobile terminal can be a smart phone, a tablet computer, a PDA, a mobile Internet device, a PAD, a game console and other terminal devices. Figure 1 1 is a hardware structure block diagram of a mobile terminal for operating an object editing method according to an embodiment of the present application. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a field-programmable logic device (FPGA), a neural network processor (NPU), a tensor processing unit (TPU), an artificial intelligence (AI) type processor, etc.) and a memory 104 for storing data. In one embodiment of the present application, it may also include: an input and output device 108 and a display device 110.
[0035] In some optional embodiments mainly based on game scenarios, the above-mentioned device can also provide a human-computer interaction interface with a touch-sensitive surface, which can sense finger contact and / or gestures to perform human-computer interaction with a graphical user interface (GUI). The human-computer interaction function may include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interface, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or readable storage medium executable by one or more processors.
[0036] Those skilled in the art will understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0037] According to one embodiment of the present application, an embodiment of a method for editing an operation object is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0038] Figure 2 is a flow chart of an operation object editing method according to one embodiment of the present application, wherein a graphical user interface is provided by a terminal device, such as Figure 2 As shown, the method comprises the following steps:
[0039] Step S21, displaying a game scene to be edited through a graphical user interface, wherein the game scene to be edited includes a scene component combination, wherein the scene component combination includes a plurality of scene components;
[0040] Step S22, displaying a first control area corresponding to the scene component combination, wherein the first control area includes: a first control partition and a plurality of second control partitions, the first control partition is used to perform an editing operation on the scene component combination, and the plurality of second control partitions are used to respectively perform an editing operation on the scene components constituting the scene component combination;
[0041] Step S23, in response to the control operation performed on the first control area, selecting a target operation object, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination;
[0042] Step S24: performing an editing operation on the target operation object.
[0043] The above-mentioned graphical user interface can be a graphical user interface displayed after the preset application on the terminal device is started. The preset application can be a productivity tool, such as drawing software, modeling software, image processing software, video editing software, 3D animation software, or a UCG game application. In the editing mode of the preset application, the user can modify, edit or add new elements to the content in the preset application through the editing mode. In the editing mode, the user can use the graphical user interface provided by the terminal device to perform various operations, such as drawing, editing, adjusting, rendering, etc. Specific tools and functions are usually provided in the editing mode so that the user can perform editing operations more conveniently. The editing mode allows users to control the content of the application more flexibly and realize personalized editing and creation. It should be noted that the embodiment of the present application is described by taking the graphical user interface to realize the game scene to be edited as an example, but it does not constitute a specific restriction on the content displayed by the graphical user interface.
[0044] The target operation object of the above control operation is the virtual object controlled by the control operation in the virtual scene. Specifically, the virtual object may include but is not limited to at least one of the following:
[0045] (1) Scene component combination;
[0046] (2) Scene components that constitute a scene component combination.
[0047] The above scene component combination includes multiple scene components. Taking the scene component combination as a virtual building model as an example, the virtual building model includes multiple building components, namely, roofs, walls, doors, windows, chimneys, etc. Further, the first control area corresponding to the scene component combination is displayed, and the first control area includes a first control partition and a second control partition.
[0048] Exemplarily, the first control partition may be an integrated operation panel for overall operation of the entire scene component combination, such as moving, rotating, scaling, etc., and the plurality of second control partitions may be a series of independent control panels for independent editing of different scene components in the scene component combination, such as moving, replacing, adjusting, etc. the building components of the virtual building model. The first control partition and the plurality of second control partitions may appear in the form of panels on one side or at the bottom of the interface, and the user may perform editing operations by clicking or dragging buttons or sliders on the control panel, thereby enabling the user to conveniently operate and edit the virtual scene.
[0049] Optionally, the first control area is a geometrically symmetrical figure, and the geometrically symmetrical figure is divided according to the total number of partitions of the first control partition and the plurality of second control partitions. Specifically, the first control area can be a circle, a rectangle or a polygon, and the specific shape can be selected according to the needs of the user. The first control area can be divided into multiple small areas, the first control partition corresponds to one of the multiple small areas, and each small area except the first control partition corresponds to a second control partition. The user can control the combination of multiple operating objects in the virtual scene in the first control partition, and in each second control partition, the user can perform independent editing operations on a single operating object, such as moving, rotating, scaling, etc. The multi-level control method can effectively improve the user's editing efficiency of multiple objects in the virtual scene, and also make the operation more flexible and refined.
[0050] Optionally, the first control area is a circular area, which includes: a central area and strip areas evenly distributed around the central area, and the central area and the strip areas are divided according to the total number of the first control subarea and the plurality of second control subareas.
[0051] Specifically, the multiple scene components in the game scene to be edited may be, but are not limited to, multiple controls when editing an interface, multiple scene components when editing a scene, and multiple points when editing a model. Figure 3 is a schematic diagram of a graphical user interface according to one embodiment of the present application, such as Figure 3 As shown, taking the combination of scene components into a virtual building model as an example, the multiple scene components can be components such as the roof, foundation, chimney, wall, door and window that constitute the virtual building model. The first control area is a roulette area in the graphical user interface, wherein the central area of the roulette area is the first control partition, which is used to edit the entire virtual building model. The annular range surrounding the central area can be divided evenly or unevenly according to specific conditions (for example, the occupancy value of the scene component, the number of sub-components contained in the scene component, etc.). For example: the annular range surrounding the central area can be evenly divided into 8 second control partitions with the same angle range, and the 8 second control partitions are used to perform independent editing operations on multiple building components of the virtual building model respectively. For another example: the annular range surrounding the central area can be divided into 8 second control partitions with different angle ranges according to the occupancy value of the scene component (that is, the size of the scene component) or according to the number of sub-components contained in the scene component. Specifically, a scene component with a larger occupancy value or a scene component containing a larger number of sub-components will be divided into a larger angle range; conversely, a scene component with a smaller occupancy value or a scene component containing a smaller number of sub-components or a scene component containing no sub-components will be divided into a smaller angle range.
[0052] Furthermore, in response to the control operation performed on the first control area, a target operation object is selected, and the target operation object is the object to be edited. It should be noted that the above control operation can be a touch operation in which the user touches the display screen of the above terminal device with a finger and touches the terminal device. The touch operation can include single-point touch and multi-point touch, wherein the touch operation of each touch point can include clicking, long pressing, re-pressing, swiping, etc. The above control operation can also be a touch operation implemented by an input device such as a mouse, keyboard, or game controller.
[0053] After determining the target operation object, perform editing operations on the target operation object. The editing operations may include adding, modifying, deleting, moving, copying, and other operations. The specific operations depend on the editing mode and the type of the target operation object. For example, for a text editing object, the editing operations may be adding new text, modifying existing text, deleting text, etc.; for an image editing object, the editing operations may be moving, copying, resizing, modifying color, etc.; for a model editing object, the editing operations may be adding new model elements, modifying the properties of existing model elements, deleting model elements, moving the position of model elements, copying model elements, etc. The specific content of the editing operation depends on the selected editing mode and the characteristics of the target operation object. The embodiment of the present application only gives an example, but does not constitute a specific limitation.
[0054] Based on the above steps S21 to S24, the game scene to be edited is displayed through a graphical user interface, the game scene to be edited includes a scene component combination, and a first control area corresponding to the scene component combination is displayed, and then the control operation performed on the first control area is responded to, the target operation object is selected, and finally the editing operation is performed on the target operation object, thereby achieving the purpose of flexibly and conveniently editing the target operation object, thereby achieving the technical effect of reducing the difficulty of operating the target operation object and improving the operation efficiency, and further solving the technical problems of high operation difficulty and low editing efficiency in the operation object editing method provided in the related technology.
[0055] The following is a further introduction to the operation object editing method in the embodiment of the present application.
[0056] Optionally, the first control area corresponding to the scene component combination is implemented by at least one of the following methods:
[0057] In response to a setting operation for the first control area, controlling to associate the scene component combination with the first control area;
[0058] In response to determining a scene component combination from a plurality of scene component combinations included in the game scene to be edited, selecting a control partition corresponding to the scene component combination in the first control area;
[0059] In response to selecting a scene component combination from a plurality of scene component combinations included in the game scene to be edited, a first control area corresponding to the scene component combination is displayed in the graphical user interface.
[0060] The above setting operation for the first control area may include but is not limited to a long press operation and a single click operation. In response to the above setting operation, a pop-up window setting page corresponding to the game scene to be edited may be displayed, and the pop-up window setting page may display information of multiple scene component combinations included in the game scene to be edited, such as virtual building models, virtual furniture models, etc. In the pop-up window setting page, the player can select the desired scene component combination from it, and then in response to the player's selection operation on the scene component combination, the control controls the association of the scene component combination with the first control area.
[0061] When determining a scene component combination from a plurality of scene component combinations included in the game scene to be edited, a control partition corresponding to the scene component combination is selected in the first control area. Taking the first control area as a circular area as an example, when determining a scene component combination that needs to be displayed in the game scene to be edited, the central area in the circular area is selected as the control partition corresponding to the scene component combination.
[0062] When selecting a scene component combination from multiple scene component combinations included in the game scene to be edited, you can directly select a scene component combination from the game scene to be edited, or you can display a control at a certain position in the graphical user interface, and by triggering the control, you can display a list of multiple scene component combinations. At this time, the player can select a scene component combination from the list, and then display the first control area corresponding to the scene component combination in the graphical user interface.
[0063] Optionally, in step S22, displaying a first control area corresponding to the scene component combination includes: acquiring a hierarchical relationship of the scene component combination; and displaying a first control area of a preset level corresponding to the scene component combination based on the hierarchical relationship.
[0064] Specifically, the system saves the hierarchical relationship of the scene component combination set by the player, and the hierarchical relationship of the scene component combination can be determined by obtaining the hierarchical relationship saved by the system. In an optional embodiment, the system provides a scene management page, and the hierarchical relationship between the scene components in the game scene to be edited is visually displayed through the scene management page. In an optional embodiment, the editing instruction is triggered by the scene management page, and the hierarchical relationship of the scene component combination can be adjusted according to the editing instruction, thereby changing the hierarchical relationship of the scene components in the scene component combination, and then the adjusted hierarchical relationship is used as the basis for the first control area when displaying the hierarchical components, that is, the first control area of the preset hierarchy corresponding to the scene component combination is displayed based on the hierarchical relationship. When the hierarchical relationship is specifically determined, the hierarchical branch contained in the currently selected scene component combination is used as the basis for the first control area when displaying the hierarchical components. In an optional embodiment, the sub-node level contained in the hierarchical branch from which the scene component combination comes is determined as the preset hierarchical relationship. For example, in the five-level branches corresponding to the scene component combination ABCDE, if C is selected, then only three levels CDE are displayed in the graphical user interface instead of five levels ABCDE.
[0065] Figure 4 is a schematic diagram of a scene management page according to one embodiment of the present application, such as Figure 4 As shown, the sub-level branches contained in the round low table 1 include: a small wooden table 1 and a New Year's Eve dinner table 1. When the round low table 1 is selected, the sub-node levels contained in the round low table 1 are determined as a preset hierarchical relationship, so that the round low table 1, the small wooden table 1 and the New Year's Eve dinner table 1 are displayed in the graphical user interface.
[0066] Based on the above optional embodiments, by obtaining the hierarchical relationship of the scene component combination, the first control area of the preset hierarchy corresponding to the scene component combination is quickly and accurately displayed based on the hierarchical relationship, so that the user can more conveniently manage and control the components in the scene, improve work efficiency and reduce the possibility of erroneous operations.
[0067] Optionally, the first control area of the preset level is a first control area of level 2.
[0068] Optionally, displaying a first control area of a preset hierarchy corresponding to a scene component combination based on a hierarchical relationship includes: displaying a first control partition corresponding to the scene component combination within a central range of the first control area based on the hierarchical relationship, and displaying a plurality of second control partitions corresponding to scene components constituting the scene component combination within a first hierarchical annular range surrounding the central range based on the hierarchical relationship.
[0069] Still Figure 3For example, the first control area is the wheel area in the graphical user interface, the central area of the wheel area is the first control partition, i.e., the first level, and the annular range around the central area is evenly divided into 8 second control partitions of the same angle range, i.e., the second level. It should be noted that in actual application, the corresponding preset level can be set according to the needs, and the embodiment of the present application only gives an example, but does not constitute a specific limitation on the preset level.
[0070] Based on the above optional embodiment, by displaying the first control partition corresponding to the scene component combination in the central range of the first control area based on the hierarchical relationship, and displaying multiple second control partitions corresponding to the scene components constituting the scene component combination in the first level annular range surrounding the central range based on the hierarchical relationship, a more refined and comprehensive control range can be provided, making the adjustment of the scene components more accurate and flexible. At the same time, it can also improve the user's operating efficiency on the scene components, thereby improving the overall user experience.
[0071] Optionally, the first control area of a preset hierarchy corresponding to the scene component combination is displayed based on the hierarchical relationship and also includes: when a preset trigger condition is met, multiple third control partitions are displayed within a second-level local annular range surrounding the first-level annular range based on the hierarchical relationship, wherein the multiple third control partitions are used to respectively perform editing operations on the next-level sub-components of the target scene component.
[0072] Taking the window model in the virtual building model as an example, the window model includes multiple sub-components such as window frames and glass. If a long press or hard press operation is performed on the target control partition among the multiple second control partitions, multiple third control partitions are displayed in the second-level local annular range surrounding the first-level annular range based on the hierarchical relationship. The third control partitions are used to edit multiple sub-components such as window frames and glass that constitute the window model.
[0073] Based on the above optional embodiments, when the preset trigger conditions are met, multiple third control partitions are displayed within the second-level local annular range surrounding the first-level annular range based on the hierarchical relationship, thereby improving the efficiency and convenience of the user's refined editing of the target scene, while also increasing the user's operational flexibility over the scene components.
[0074] Optionally, in step S23, in response to the control operation performed on the first control area, selecting the target operation object includes: in response to the first control operation performed on the first control partition, recording the operation attributes of the first control operation; in response to the operation attributes satisfying a first preset condition, jointly determining multiple scene components as the target operation objects.
[0075] Specifically, when the first control operation is performed on the first control partition, the operation attributes of the first control operation are recorded, including but not limited to the operation force, operation duration, operation frequency, operation mode, etc. When the operation attribute of the first control operation meets the first preset condition, such as the operation force of the first control operation is greater than the preset pressure value or the operation duration of the first control operation is greater than the preset duration, multiple scene components are jointly determined as target operation objects.
[0076] Figure 5 is a schematic diagram of an operation object editing method according to one embodiment of the present application, such as Figure 5 As shown, when the user performs a long press operation or a heavy press operation on the first control partition, multiple components of the virtual building model are selected and collectively determined as target operation objects.
[0077] Based on the above optional embodiment, by responding to the first control operation performed on the first control partition, recording the operation attributes of the first control operation, and then responding to the operation attributes satisfying the first preset condition, multiple scene components are jointly determined as target operation objects, thereby further improving the efficiency and accuracy of the editing operation.
[0078] Optionally, in step S23, in response to the control operation performed on the first control area, selecting the target operation object includes: in response to the first control operation performed on the first control partition, recording the operation attributes of the first control operation; in response to the operation attributes not satisfying the first preset condition and detecting the second control operation performed on some of the multiple second control partitions, collectively determining the scene components associated with the second control operation as the target operation objects.
[0079] Specifically, if the operation attribute of the first control operation does not meet the first preset condition, and a sliding operation performed on some of the multiple second control partitions is detected, the scene components associated with the second control operation are collectively determined as target operation objects.
[0080] Of course, the operation performed on some of the multiple second control partitions is not limited to the above-mentioned sliding operation, and can also be a click operation. That is, when the operation attribute of the first control operation does not meet the first preset condition, multiple second control partitions can be displayed. At this time, the player can directly select some of the control partitions from the multiple second control partitions by clicking, thereby jointly determining the scene components associated with the click operation as the target operation object.
[0081] Figure 6 is a schematic diagram of another operation object editing method according to one embodiment of the present application, such as Figure 6As shown, when a sliding operation performed on a partial angle range is detected, such as the sliding trajectory is from object A→object B→object C→object D, where object A, object B and object C are different windows of the virtual building model, and object D is the door of the virtual building model, then object A, object B, object C and object D are merged and edited, so that object A, object B, object C and object D are jointly determined as target operation objects.
[0082] Based on the above optional embodiments, by responding to a first control operation performed on a first control partition, recording the operation attributes of the first control operation, and then responding to the operation attributes not satisfying the first preset condition and detecting a second control operation performed on some of the multiple second control partitions, the scene components associated with the second control operation are collectively determined as target operation objects, thereby further improving the efficiency and accuracy of the editing operation.
[0083] Optionally, in step S23, in response to the control operation performed on the first control area, selecting the target operation object includes: in response to the first control operation performed on the target control partition among multiple second control partitions, recording the operation attributes of the first control operation; in response to the operation attributes satisfying the second preset condition, selecting the scene component corresponding to the target control partition as the target operation object.
[0084] Specifically, when the first control area only includes a first control partition and multiple second control partitions, in response to executing a first control operation on a target control partition among the multiple second control partitions, the operation attributes of the first control operation are recorded, and then when the operation attributes meet a second preset condition, such as when the operation force of the first control operation executed on the target control partition is greater than a preset pressure value or the operation duration of the first control operation is greater than a preset duration, the scene component corresponding to the target control partition is selected as the target operation object.
[0085] Based on the above optional embodiment, by responding to the first control operation performed on the target control partition among multiple second control partitions, the operation attributes of the first control operation are recorded, and then in response to the operation attributes satisfying the second preset condition, the scene component corresponding to the target control partition is selected as the target operation object, thereby further improving the efficiency and accuracy of the editing operation.
[0086] Optionally, in step S23, in response to the control operation performed on the first control area, selecting a target operation object includes: in response to a first control operation performed on a target control partition among multiple second control partitions, recording operation attributes of the first control operation; in response to the operation attributes satisfying a second preset condition and the scene component corresponding to the target control partition including multiple sub-components, displaying multiple third control partitions associated with the target control partition in a graphical user interface; in response to a first control operation performed on any control partition among the multiple third control partitions, recording the operation attributes of the first control operation; in response to the operation attributes satisfying a third preset condition, selecting a subcomponent corresponding to any control partition as the target operation object.
[0087] The second preset condition can be expressed as follows: the operation force of the first control operation performed on the target control partition in the multiple second control partitions is greater than the preset pressure value (i.e., hard press) or the operation duration of the first control operation is greater than the preset duration (i.e., long press). The third preset condition can also be expressed as follows: the operation force of the first control operation performed on any control partition in the multiple third control partitions is greater than the preset pressure value (i.e., hard press) or the operation duration of the first control operation is greater than the preset duration (i.e., long press). The first control operation performed on the target control partition in the multiple second control partitions and the first control operation performed on any control partition in the multiple third control partitions can be time-sequential control operations. For example: sliding from the target control partition in the multiple second control partitions to any control partition in the multiple third control partitions. Of course, the first control operation performed on the target control partition in the multiple second control partitions and the first control operation performed on any control partition in the multiple third control partitions can also be time-sequential non-continuous control operations, but no other control operations are inserted between the two control operations. For example: first perform a click operation on the target control partition in the multiple second control partitions, and then perform a click operation on any control partition in the multiple third control partitions.
[0088] Specifically, Figure 7 is a schematic diagram of another operation object editing method according to one embodiment of the present application, such as Figure 7 As shown, taking the scene component corresponding to the target control partition as a window component in a virtual building model as an example, the window component includes multiple sub-components such as window frames and glass. If a long press or a hard press operation is performed on the target control partition among multiple second control partitions, multiple third control partitions associated with the target control partition are displayed in the graphical user interface. In response to a long press operation or a hard press operation performed on any control partition among the multiple third control partitions (for example: the control partition corresponding to the window frame sub-component), the sub-component corresponding to any control partition is selected as the target operation object.
[0089] Based on the above optional embodiments, when the above-mentioned first control area may include not only the first control partition and multiple second control partitions, but also multiple third control partitions associated with the target control partition, by responding to the first control operation performed on the target control partition among the multiple second control partitions, the operation attributes of the first control operation are recorded, and then in response to the operation attributes satisfying the second preset condition and the scene component corresponding to the target control partition containing multiple sub-components, the multiple third control partitions associated with the target control partition are displayed in the graphical user interface, and then in response to the first control operation performed on any control partition among the multiple third control partitions, the operation attributes of the first control operation are recorded, and finally in response to the operation attributes satisfying the third preset condition, the sub-component corresponding to any control partition is selected as the target operation object, thereby further improving the efficiency and accuracy of the editing operation.
[0090] Optionally, in step S23, in response to the control operation performed on the first control area, selecting the target operation object includes: in response to the first control operation performed on the target control partition among the multiple second control partitions, recording the operation attributes of the first control operation; in response to the operation attributes satisfying the second preset condition and the scene component corresponding to the target control partition including multiple sub-components, displaying multiple third control partitions associated with the target control partition in the graphical user interface; in the process of displaying the multiple third control partitions, the operation position in response to the first control operation remains within the target control partition, and the scene component corresponding to the target control partition is selected as the target operation object.
[0091] The difference from the previous embodiment is that: when the operation attribute of the first control operation performed on a target control partition among multiple second control partitions satisfies the second preset condition and the scene component corresponding to the target control partition includes multiple sub-components, although multiple third control partitions associated with the target control partition will be displayed in the graphical user interface, however, in the process of displaying multiple third control partitions, if the operation position of the first control operation remains in the target control partition, then the scene component corresponding to the target control partition will be selected as the target operation object.
[0092] Still taking the scene component corresponding to the target control partition as a window model in the virtual building model as an example, the window model includes multiple subcomponents such as window frames and glass. If a long press or a heavy press operation is performed on the target control partition among the multiple second control partitions, multiple third control partitions associated with the target control partition are displayed in the graphical user interface. At this time, if the operation position of the first control operation remains in the target control partition corresponding to the window component, and the control operation is not performed on any control partition among the multiple third control partitions, then the window component corresponding to the target control partition will be selected as the target operation object.
[0093] Optionally, the operation object editing method in the embodiment of the present application also includes: responding to a first control operation performed on any one of a plurality of third control partitions, controlling the observation perspective of the game scene to be edited to switch from a first perspective to a second perspective, wherein the first perspective is the initial default perspective of the game scene to be edited, and the second perspective is the perspective of a subcomponent corresponding to any one of the control partitions.
[0094] Specifically, Figure 8 is a schematic diagram of another operation object editing method according to one embodiment of the present application, such as Figure 8 As shown, in response to a long press or a heavy press operation performed on the third control partition corresponding to the window frame, the viewing angle of the virtual scene is controlled from Figure 3 The initial default perspective switch shown is Figure 8 Close-up view of the window frame shown.
[0095] Based on the above optional embodiment, by responding to the first control operation performed on any one of the multiple third control partitions, the observation perspective of the game scene to be edited is controlled to switch from the first perspective to the second perspective, thereby conveniently realizing perspective switching and further improving operational flexibility.
[0096] Optionally, the operation object editing method in the embodiment of the present application also includes: in response to a first control operation performed on any control partition among multiple third control partitions, switching the selection state of the scene component corresponding to the target control partition to the selection state of the subcomponent corresponding to any control partition.
[0097] Exemplarily, in addition to highlighting the outline of the subcomponent, different colors, transparencies, or marking symbols may be used to indicate the selected state. For example, the color of the subcomponent may be changed to red, or its transparency may be reduced, or a marking symbol of the selected state may be placed next to it to indicate the selected state. Specifically, according to actual needs and user habits, a suitable method may be selected to indicate the selected state. The embodiment of the present application only provides an example, but does not constitute a specific limitation.
[0098] Based on the above optional embodiment, by responding to the first control operation performed on any one of the multiple third control partitions, the selection state of the scene component corresponding to the target control partition is switched to the selection state of the subcomponent corresponding to any one of the control partitions, thereby improving the flexibility and efficiency of the editing operation, allowing the user to more conveniently select and control the operation object.
[0099] Optionally, in step S23, in response to the control operation performed on the first control area, selecting a target operation object includes:
[0100] In response to a first control operation performed on a target control partition among the plurality of second control partitions, recording an operation attribute of the first control operation;
[0101] In response to the operation attribute not satisfying the second preset condition and detecting the first control operation performed on the switched control partition among the multiple second control partitions, the scene component corresponding to the switched control partition is selected as the target operation object.
[0102] Based on the above optional embodiment, by responding to the first control operation performed on the target control partition among multiple second control partitions, recording the operation attributes of the first control operation, and then responding to the operation attributes not satisfying the second preset condition and detecting the first control operation performed on the switched control partition among the multiple second control partitions, the scene component corresponding to the switched control partition is selected as the target operation object, thereby further improving the efficiency and accuracy of the editing operation.
[0103] Optionally, in step S23, in response to the control operation performed on the first control area, selecting a target operation object includes:
[0104] In response to a first control operation performed on a target control partition among the plurality of second control partitions, displaying a second control area in the graphical user interface;
[0105] In response to the third control operation performed on the second control area, the scene component corresponding to the target control partition is selected as the target operation object.
[0106] Specifically, Fig. 9 is a schematic diagram of another operation object editing method according to one embodiment of the present application, such as Fig. 9 As shown, when the user slides his right hand to object A, a "select" control is displayed on the left side of the graphical user interface. If the user clicks the "select" control, object A can be selected as the target operation object.
[0107] Based on the above optional embodiments, by responding to the first control operation performed on the target control partition among multiple second control partitions, the second control area is displayed in the graphical user interface, and then in response to the third control operation performed on the second control area, the scene component corresponding to the target control partition is selected as the target operation object, thereby further improving the efficiency and accuracy of the editing operation.
[0108] Optionally, in step S23, in response to the control operation performed on the first control area, selecting the target operation object also includes: while the target control partition remains selected, in response to the first control operation performed on the switched control partition among the multiple second control partitions and detecting a third control operation performed on the second control area, the Yangtze River component corresponding to the switched control partition and the scene component corresponding to the target control partition are jointly determined as the target operation objects.
[0109] Continue with Figure 8 For example, when the user slides his right hand to object A, a "select" control is displayed on the left side of the graphical user interface. If the user clicks the "select" control, object A can be selected; when the user continues to slide his right hand to object B, the user clicks the "select" control, object B can be selected, and then object A and object B are jointly determined as target operation objects.
[0110] Based on the above optional embodiments, by responding to the first control operation performed on the switched control partition among the multiple second control partitions while the target control partition remains in a selected state and detecting the third control operation performed on the second control area, the scene component corresponding to the switched control partition and the scene component corresponding to the target control partition are jointly determined as target operation objects, thereby further improving the efficiency and accuracy of the editing operation.
[0111] Optionally, in step S23, in response to the control operation performed on the first control area, selecting a target operation object includes:
[0112] In response to a first control operation performed on a target control partition among the plurality of second control partitions, displaying a second control area in the graphical user interface;
[0113] In response to the third control operation performed on the second control area and detecting the second control operation performed on some of the plurality of second control partitions, the scene component associated with the second control operation is selected as a target operation object.
[0114] Specifically, Fig.10 is a schematic diagram of another operation object editing method according to one embodiment of the present application, such as Fig.10 As shown, a "select" control is displayed on the left side of the graphical user interface. If the user performs a long press operation on the "select" control, and performs a sliding operation on a partial angle range in the wheel area with the right hand, assuming that the sliding trajectory is from object A→object B→object C→object D in sequence, then object A, object B, object C and object D are merged and edited, and then object A, object B, object C and object D are selected as target operation objects.
[0115] Based on the above optional embodiments, by responding to the first control operation performed on the target control partition among multiple second control partitions, the second control area is displayed in the graphical user interface, and then responding to the third control operation performed on the second control area and detecting the second control operation performed on some of the multiple second control partitions, the scene component associated with the second control operation is selected as the target operation object, thereby further improving the efficiency and accuracy of the editing operation.
[0116] Optionally, in step S23, in response to the control operation performed on the first control area, selecting a target operation object includes:
[0117] In response to a fourth control operation performed on at least one of the plurality of second control partitions, recording an end position of the fourth control operation;
[0118] In response to the end position being located within a preset area of the graphical user interface, a scene component corresponding to at least one control partition is selected as a target operation object.
[0119] Specifically, Fig.11 is a schematic diagram of another operation object editing method according to one embodiment of the present application, such as Fig.11 As shown, a drag operation is performed on at least one control partition among the multiple second control partitions. If the drag operation ends in the multi-selection area at the bottom of the screen, the scene component corresponding to the at least one control partition is selected as the target operation object.
[0120] Based on the above optional embodiments, by responding to the fourth control operation performed on at least one control partition among multiple second control partitions, the end position of the fourth control operation is recorded, and then in response to the end position being located within a preset area of the graphical user interface, the scene component corresponding to at least one control partition is selected as the target operation object, thereby further improving the efficiency and accuracy of the editing operation.
[0121] Optionally, in step S24, performing an editing operation on the target operation object includes:
[0122] In response to satisfying a preset trigger condition, displaying an operation panel associated with the target operation object in a graphical user interface, wherein the operation panel includes a plurality of editing items, the preset trigger condition is determined based on a contact duration between the touch medium and the first control area, or the preset trigger condition is determined based on a contact frequency between the touch medium and the first control area, and the touch medium is used to perform a control operation on the first control area;
[0123] In response to a fourth control operation performed on any one of the plurality of editing items, a corresponding editing operation is performed on a target operation object.
[0124] Specifically, Fig.12 is a schematic diagram of another operation object editing method according to one embodiment of the present application, such as Fig.12 As shown, an operation panel associated with the target operation object is displayed in the graphical user interface, including but not limited to a cross or circular operation panel. The operation panel is used to arrange multiple editing items in a preset manner in the editing mode, such as move, rotate, scale, restore, copy, delete and other editing items. In response to a click operation performed on any of the multiple editing items, the corresponding editing operation is performed on the target operation object.
[0125] Based on the above optional embodiments, an operation panel associated with the target operation object is displayed in a graphical user interface, wherein the operation panel is used to arrange multiple editing items in a preset arrangement in an editing mode, and then respond to a fourth control operation performed on any one of the multiple editing items, thereby performing a corresponding editing operation on the target operation object, thereby further simplifying the complexity of the editing operation and improving the editing efficiency.
[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0127] In the present embodiment, an operation object editing device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions thereof will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and contemplated.
[0128] Fig.13 is a structural block diagram of an operation object editing device according to one embodiment of the present application, which provides a graphical user interface through a terminal device, such as Fig.13 As shown, the device comprises:
[0129] The first display module 1301 is used to display the game scene to be edited through a graphical user interface, where the game scene to be edited includes a scene component combination, wherein the scene component combination includes multiple scene components;
[0130] A second display module 1302 is used to display a first control area corresponding to the scene component combination, the first control area including: a first control partition and a plurality of second control partitions, the first control partition is used to edit the scene component combination, and the plurality of second control partitions are used to respectively edit the scene components constituting the scene component combination;
[0131] A selection module 1303 is used to select a target operation object in response to the control operation performed on the first control area, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination;
[0132] The editing module 1304 is used to perform an editing operation on the target operation object.
[0133] Optionally, the operation object editing device also includes: a combination module 1305, which is used to: respond to the setting operation for the first control area, control the association of the scene component combination with the first control area; respond to determining the scene component combination from multiple scene component combinations included in the game scene to be edited, select the control partition corresponding to the scene component combination in the first control area; respond to selecting the scene component combination from multiple scene component combinations included in the game scene to be edited, display the scene component combination corresponding to the first control area in the graphical user interface.
[0134] Optionally, the second display module 1302 is further used to: obtain the hierarchical relationship of the scene component combination; and display the first control area of the preset hierarchy corresponding to the scene component combination based on the hierarchical relationship.
[0135] Optionally, the first control area of the preset level is a first control area of level 2.
[0136] Optionally, the second display module 1302 is also used to: display a first control partition corresponding to the scene component combination within the central range of the first control area based on the hierarchical relationship, and display multiple second control partitions corresponding to the scene components constituting the scene component combination within the first hierarchical annular range surrounding the central range based on the hierarchical relationship.
[0137] Optionally, the second display module 1302 is also used to: when a preset trigger condition is met, display multiple third control partitions within the second-level local annular range surrounding the first-level annular range based on the hierarchical relationship, wherein the multiple third control partitions are used to respectively perform editing operations on the next-level sub-components of the target scene component.
[0138] Optionally, the selection module 1303 is further used to: respond to a first control operation performed on a first control partition, record operation attributes of the first control operation; respond to the operation attributes satisfying a first preset condition, jointly determine multiple scene components as target operation objects.
[0139] Optionally, the selection module 1303 is also used to: respond to a first control operation performed on a first control partition, record the operation attributes of the first control operation; respond to the operation attributes not satisfying a first preset condition and detecting a second control operation performed on some of the multiple second control partitions, and collectively determine the scene components associated with the second control operation as target operation objects.
[0140] Optionally, the selection module 1303 is also used to: respond to a first control operation performed on a target control partition among multiple second control partitions, record operation attributes of the first control operation; respond to the operation attributes satisfying a second preset condition, select a scene component corresponding to the target control partition as a target operation object.
[0141] Optionally, the selection module 1303 is also used to: respond to a first control operation performed on a target control partition among multiple second control partitions, and record the operation attributes of the first control operation; respond to the operation attributes satisfying a second preset condition and the scene component corresponding to the target control partition includes multiple sub-components, and display multiple third control partitions associated with the target control partition in a graphical user interface, wherein the second preset condition includes: the length of time that the touch medium stays in the target control partition exceeds a preset time; respond to a first control operation performed on any control partition among the multiple third control partitions, and record the operation attributes of the first control operation, wherein the first control operation performed on the target control partition and the first control operation performed on any control partition are time-series continuous control operations; respond to the operation attributes satisfying the third preset condition, and select the sub-component corresponding to any control partition as the target operation object.
[0142] Optionally, the selection module 1303 is also used to: respond to a first control operation performed on a target control partition among multiple second control partitions, record the operation attributes of the first control operation; respond to the operation attributes satisfying a fourth preset condition, highlight the target control partition in the graphical user interface, wherein the fourth preset condition includes: the duration of the touch medium staying in the target control partition does not exceed a preset duration.
[0143] Optionally, the operation object editing device also includes: a switching module 1306, which is used to respond to a first control operation performed on any control partition among multiple third control partitions, and control the observation perspective of the game to be edited to switch from a first perspective to a second perspective, wherein the first perspective is the initial default perspective of the game to be edited, and the second perspective is the perspective of the subcomponent corresponding to any control partition.
[0144] Optionally, the switching module 1306 is further used to: in response to a first control operation performed on any control partition among the multiple third control partitions, switch the selected state of the scene component corresponding to the target control partition to the selected state of the subcomponent corresponding to any control partition.
[0145] Optionally, the selection module 1303 is also used to: respond to a first control operation performed on a target control partition among multiple second control partitions, record the operation attributes of the first control operation; respond to the operation attributes not satisfying a second preset condition and detecting the first control operation performed on a switched control partition among multiple second control partitions, select the scene component corresponding to the switched control partition as the target operation object.
[0146] Optionally, the selection module 1303 is also used to: respond to a first control operation performed on a target control partition among multiple second control partitions, display a second control area in a graphical user interface; respond to a third control operation performed on the second control area, select a scene component corresponding to the target control partition as a target operation object.
[0147] Optionally, the selection module 1303 is also used to: when the target control partition remains selected, respond to a first control operation performed on a switched control partition among multiple second control partitions and detect a third control operation performed on the second control area, and jointly determine the scene component corresponding to the switched control partition and the scene component corresponding to the target control partition as target operation objects.
[0148] Optionally, the selection module 1303 is also used to: respond to a first control operation performed on a target control partition among multiple second control partitions, display a second control area in a graphical user interface; respond to a third control operation performed on the second control area and detect a second control operation performed on some of the multiple second control partitions, and select a scene component associated with the second control operation as a target operation object.
[0149] Optionally, the selection module 1303 is also used to: respond to a fourth control operation performed on at least one control partition among multiple second control partitions, record the end position of the fourth control operation; in response to the end position being located within a preset area of the graphical user interface, select a scene component corresponding to at least one control partition as a target operation object.
[0150] Optionally, the editing module 1304 is also used to: in response to satisfying a preset trigger condition, display an operation panel associated with the target operation object in a graphical user interface, wherein the operation panel includes multiple editing items, and the preset trigger condition is determined based on the contact duration between the touch medium and the first control area, or the preset trigger condition is determined based on the contact frequency between the touch medium and the first control area, and the touch medium is used to perform a control operation on the first control area; in response to a fourth control operation performed on any one of the multiple editing items, perform a corresponding editing operation on the target operation object.
[0151] Optionally, the first control area is a geometrically symmetrical figure, and the geometrically symmetrical figure is divided according to the total number of partitions of the first control partition and the plurality of second control partitions.
[0152] Optionally, the first control area is a circular area, which includes: a central area and strip areas evenly distributed around the central area, and the central area and the strip areas are divided according to the total number of the first control subarea and the plurality of second control subareas.
[0153] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0154] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0155] Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0156] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the mobile terminals in a mobile terminal group.
[0157] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0158] S1, displaying a game scene to be edited through a graphical user interface, where the game scene to be edited includes a scene component combination, wherein the scene component combination includes multiple scene components;
[0159] S2, displaying a first control area corresponding to the scene component combination, wherein the first control area includes: a first control partition and a plurality of second control partitions, the first control partition is used to perform an editing operation on the scene component combination, and the plurality of second control partitions are used to respectively perform an editing operation on the scene components constituting the scene component combination;
[0160] S3, in response to the control operation performed on the first control area, selecting a target operation object, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination;
[0161] S4, performing an editing operation on the target operation object.
[0162] Optionally, the above-mentioned computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a setting operation for the first control area, controlling the association of the scene component combination with the first control area; in response to determining a scene component combination from a plurality of scene component combinations included in the game scene to be edited, selecting a control partition corresponding to the scene component combination in the first control area; in response to selecting a scene component combination from a plurality of scene component combinations included in the game scene to be edited, displaying the scene component combination corresponding to the first control area in a graphical user interface.
[0163] Optionally, the computer-readable storage medium is further configured to store program codes for executing the following steps: obtaining a hierarchical relationship of a scene component combination; and displaying a first control area of a preset hierarchy corresponding to the scene component combination based on the hierarchical relationship.
[0164] Optionally, the first control area of the preset level is a first control area of level 2.
[0165] Optionally, the above-mentioned computer-readable storage medium is also configured to store program codes for executing the following steps: displaying a first control partition corresponding to the scene component combination within a central range of the first control area based on a hierarchical relationship, and displaying multiple second control partitions corresponding to the scene components constituting the scene component combination within a first hierarchical annular range surrounding the central range based on a hierarchical relationship.
[0166] Optionally, the computer-readable storage medium is also configured to store program code for executing the following steps: when a preset trigger condition is met, multiple third control partitions are displayed within a second-level local annular range surrounding the first-level annular range based on a hierarchical relationship, wherein the multiple third control partitions are used to respectively perform editing operations on the next-level sub-components of the target scene component.
[0167] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on a first control partition, recording operation attributes of the first control operation; in response to the operation attributes satisfying a first preset condition, jointly determining multiple scene components as target operation objects.
[0168] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on a first control partition, recording operation attributes of the first control operation; in response to the operation attributes not satisfying a first preset condition and detecting a second control operation performed on some of the multiple second control partitions, collectively determining the scene components associated with the second control operation as target operation objects.
[0169] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on a target control partition among multiple second control partitions, recording operation attributes of the first control operation; in response to the operation attributes satisfying a second preset condition, selecting a scene component corresponding to the target control partition as a target operation object.
[0170] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on a target control partition among multiple second control partitions, recording operation attributes of the first control operation; in response to the operation attributes satisfying a second preset condition and the scene component corresponding to the target control partition including multiple sub-components, displaying multiple third control partitions associated with the target control partition in a graphical user interface; in response to a first control operation performed on any control partition among the multiple third control partitions, recording the operation attributes of the first control operation; in response to the operation attributes satisfying a third preset condition, selecting a sub-component corresponding to any control partition as a target operation object.
[0171] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on a target control partition among multiple second control partitions, recording operation attributes of the first control operation; in response to the operation attributes satisfying a second preset condition and the scene component corresponding to the target control partition containing multiple sub-components, displaying multiple third control partitions associated with the target control partition in a graphical user interface; in the process of displaying multiple third control partitions, the operation position in response to the first control operation remains within the target control partition, and the scene component corresponding to the target control partition is selected as the target operation object.
[0172] Optionally, the above-mentioned computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on any one of a plurality of third control partitions, controlling the observation perspective of the game scene to be edited to switch from a first perspective to a second perspective, wherein the first perspective is the initial default perspective of the game scene to be edited, and the second perspective is the perspective of a subcomponent corresponding to any one of the control partitions.
[0173] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on any one of a plurality of third control partitions, switching the selected state of a scene component corresponding to a target control partition to the selected state of a subcomponent corresponding to any one of the control partitions.
[0174] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on a target control partition among multiple second control partitions, recording operation attributes of the first control operation; in response to the operation attributes not satisfying a second preset condition and detecting that the first control operation is performed on a switched control partition among multiple second control partitions, selecting a scene component corresponding to the switched control partition as a target operation object.
[0175] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on a target control partition among multiple second control partitions, displaying a second control area in a graphical user interface; in response to a third control operation performed on the second control area, selecting a scene component corresponding to the target control partition as a target operation object.
[0176] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: while the target control partition remains selected, in response to a first control operation performed on a switched control partition among multiple second control partitions and detecting a third control operation performed on the second control area, a scene component corresponding to the switched control partition and a scene component corresponding to the target control partition are jointly determined as target operation objects.
[0177] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a first control operation performed on a target control partition among multiple second control partitions, displaying a second control area in a graphical user interface; in response to a third control operation performed on the second control area and detecting a second control operation performed on some of the multiple second control partitions, selecting a scene component associated with the second control operation as a target operation object.
[0178] Optionally, the computer-readable storage medium is also configured to store program codes for executing the following steps: in response to a fourth control operation performed on at least one control partition among multiple second control partitions, recording an end position of the fourth control operation; in response to the end position being located within a preset area of the graphical user interface, selecting a scene component corresponding to at least one control partition as a target operation object.
[0179] Optionally, the computer-readable storage medium is further configured to store program codes for executing the following steps: in response to satisfying a preset trigger condition, displaying an operation panel associated with the target operation object in a graphical user interface, wherein the operation panel includes multiple editing items, and the preset trigger condition is determined based on the contact duration between the touch medium and the first control area, or the preset trigger condition is determined based on the contact frequency between the touch medium and the first control area, and the touch medium is used to perform a control operation on the first control area; in response to a fourth control operation performed on any one of the multiple editing items, performing a corresponding editing operation on the target operation object.
[0180] Optionally, the first control area is a geometrically symmetrical figure, and the geometrically symmetrical figure is divided according to the total number of partitions of the first control partition and the plurality of second control partitions.
[0181] Optionally, the first control area is a circular area, which includes: a central area and strip areas evenly distributed around the central area, and the central area and the strip areas are divided according to the total number of the first control subarea and the plurality of second control subareas.
[0182] In the computer-readable storage medium of this embodiment, the game scene to be edited is displayed through a graphical user interface, and the game scene to be edited includes a scene component combination, and then the first control area corresponding to the scene component combination is displayed, and then the control operation performed on the first control area is responded to, the target operation object is selected, and finally the editing operation is performed on the target operation object, thereby achieving the purpose of flexibly and conveniently editing the target operation object, thereby achieving the technical effect of reducing the difficulty of operating the target operation object and improving the operation efficiency, and thus solving the technical problems of high operation difficulty and low editing efficiency in the operation object editing method provided in the related technology.
[0183] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0184] In an exemplary embodiment of the present application, a program product capable of implementing the above method of the present embodiment is stored on a computer-readable storage medium. In some possible implementations, various aspects of the embodiments of the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present application described in the above "Exemplary Method" section of the present embodiment.
[0185] According to the program product for implementing the above method in the embodiment of the present application, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the embodiment of the present application is not limited thereto. In the embodiment of the present application, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0186] The program product may be in any combination of one or more computer-readable media. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive) of computer-readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0187] It should be noted that the program code contained in the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0188] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0189] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0190] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0191] S1, displaying a game scene to be edited through a graphical user interface, where the game scene to be edited includes a scene component combination, wherein the scene component combination includes multiple scene components;
[0192] S2, displaying a first control area corresponding to the scene component combination, wherein the first control area includes: a first control partition and a plurality of second control partitions, the first control partition is used to perform an editing operation on the scene component combination, and the plurality of second control partitions are used to respectively perform an editing operation on the scene components constituting the scene component combination;
[0193] S3, in response to the control operation performed on the first control area, selecting a target operation object, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination;
[0194] S4, performing an editing operation on the target operation object.
[0195] Optionally, the processor may also be configured to perform the following steps through a computer program: in response to a setting operation for the first control area, controlling the association of the scene component combination with the first control area; in response to determining a scene component combination from a plurality of scene component combinations included in the game scene to be edited, selecting a control partition corresponding to the scene component combination in the first control area; in response to selecting a scene component combination from a plurality of scene component combinations included in the game scene to be edited, displaying the first control area corresponding to the scene component combination in a graphical user interface.
[0196] Optionally, the processor may also be configured to execute the following steps through a computer program: obtaining a hierarchical relationship of the scene component combination; and displaying a first control area of a preset hierarchy corresponding to the scene component combination based on the hierarchical relationship.
[0197] Optionally, the first control area of the preset level is a first control area of level 2.
[0198] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: displaying a first control partition corresponding to the scene component combination within the central range of the first control area based on the hierarchical relationship, and displaying multiple second control partitions corresponding to the scene components constituting the scene component combination within the first hierarchical annular range surrounding the central range based on the hierarchical relationship.
[0199] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: when a preset trigger condition is met, multiple third control partitions are displayed within the second-level local annular range surrounding the first-level annular range based on the hierarchical relationship, wherein the multiple third control partitions are used to respectively perform editing operations on the next-level sub-components of the target scene component.
[0200] Optionally, the processor may also be configured to execute the following steps through a computer program: in response to a first control operation performed on a first control partition, record operation attributes of the first control operation; in response to the operation attributes satisfying a first preset condition, jointly determine multiple scene components as target operation objects.
[0201] Optionally, the processor can also be configured to perform the following steps through a computer program: in response to a first control operation performed on a first control partition, record the operation attributes of the first control operation; in response to the operation attributes not satisfying a first preset condition and detecting a second control operation performed on some of the multiple second control partitions, collectively determine the scene components associated with the second control operation as target operation objects.
[0202] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: in response to a first control operation performed on a target control partition among multiple second control partitions, record the operation attributes of the first control operation; in response to the operation attributes satisfying a second preset condition, select the scene component corresponding to the target control partition as the target operation object.
[0203] Optionally, the processor can also be configured to perform the following steps through a computer program: in response to a first control operation performed on a target control partition among multiple second control partitions, record the operational attributes of the first control operation; in response to the operational attributes satisfying a second preset condition and the scene component corresponding to the target control partition including multiple sub-components, display multiple third control partitions associated with the target control partition in a graphical user interface; in response to a first control operation performed on any control partition among the multiple third control partitions, record the operational attributes of the first control operation; in response to the operational attributes satisfying a third preset condition, select a sub-component corresponding to any control partition as a target operation object.
[0204] Optionally, the processor may also be configured to perform the following steps through a computer program: in response to a first control operation performed on a target control partition among a plurality of second control partitions, recording an operation attribute of the first control operation; in response to the operation attribute satisfying a second preset condition and the scene component corresponding to the target control partition containing a plurality of subcomponents, displaying a plurality of third control partitions associated with the target control partition in a graphical user interface; in the process of displaying a plurality of third control partitions, maintaining the operation position in response to the first control operation within the target control partition, and selecting the scene component corresponding to the target control partition as the target operation object.
[0205] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: in response to a first control operation performed on any control partition among multiple third control partitions, control the observation perspective of the game scene to be edited to switch from a first perspective to a second perspective, wherein the first perspective is the initial default perspective of the game scene to be edited, and the second perspective is the perspective of the subcomponent corresponding to any control partition.
[0206] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: in response to a first control operation performed on any control partition among multiple third control partitions, switching the selection state of the scene component corresponding to the target control partition to the selection state of the subcomponent corresponding to any control partition.
[0207] Optionally, the processor can also be configured to perform the following steps through a computer program: in response to a first control operation performed on a target control partition among multiple second control partitions, record the operation attributes of the first control operation; in response to the operation attributes not satisfying a second preset condition and detecting the first control operation performed on a switched control partition among multiple second control partitions, select the scene component corresponding to the switched control partition as the target operation object.
[0208] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: in response to a first control operation performed on a target control partition among multiple second control partitions, display a second control area in a graphical user interface; in response to a third control operation performed on the second control area, select a scene component corresponding to the target control partition as a target operation object.
[0209] Optionally, the above-mentioned processor can also be configured to perform the following steps through a computer program: while the target control partition remains selected, in response to a first control operation performed on a switched control partition among multiple second control partitions and detecting a third control operation performed on the second control area, the scene component corresponding to the switched control partition and the scene component corresponding to the target control partition are jointly determined as target operation objects.
[0210] Optionally, the processor can also be configured to perform the following steps through a computer program: in response to a first control operation performed on a target control partition among multiple second control partitions, display a second control area in a graphical user interface; in response to a third control operation performed on the second control area and detecting a second control operation performed on some of the multiple second control partitions, select a scene component associated with the second control operation as a target operation object.
[0211] Optionally, the processor can also be configured to perform the following steps through a computer program: in response to a fourth control operation performed on at least one control partition among multiple second control partitions, recording the end position of the fourth control operation; in response to the end position being located within a preset area of the graphical user interface, selecting a scene component corresponding to at least one control partition as a target operation object.
[0212] Optionally, the processor may also be configured to perform the following steps through a computer program: in response to satisfying a preset trigger condition, displaying an operation panel associated with the target operation object in a graphical user interface, wherein the operation panel includes multiple editing items, and the preset trigger condition is determined based on the contact duration between the touch medium and the first control area, or the preset trigger condition is determined based on the contact frequency between the touch medium and the first control area, and the touch medium is used to perform a control operation on the first control area; in response to a fourth control operation performed on any one of the multiple editing items, performing a corresponding editing operation on the target operation object.
[0213] Optionally, the first control area is a geometrically symmetrical figure, and the geometrically symmetrical figure is divided according to the total number of partitions of the first control partition and the plurality of second control partitions.
[0214] Optionally, the first control area is a circular area, which includes: a central area and strip areas evenly distributed around the central area, and the central area and the strip areas are divided according to the total number of the first control subarea and the plurality of second control subareas.
[0215] In the electronic device of this embodiment, the game scene to be edited is displayed through a graphical user interface, and the game scene to be edited includes a scene component combination, and then the first control area corresponding to the scene component combination is displayed, and then the control operation performed on the first control area is responded to, the target operation object is selected, and finally the editing operation is performed on the target operation object, thereby achieving the purpose of flexibly and conveniently editing the target operation object, thereby achieving the technical effect of reducing the difficulty of operating the target operation object and improving the operation efficiency, and thus solving the technical problems of high operation difficulty and low editing efficiency in the operation object editing method provided in the related technology.
[0216] Fig.14 is a schematic diagram of an electronic device according to an embodiment of the present application. Fig.14 As shown, the electronic device 1400 is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0217] like Fig.14As shown, the electronic device 1400 is in the form of a general computing device. The components of the electronic device 1400 may include but are not limited to: the at least one processor 1410, the at least one memory 1420, a bus 1430 connecting different system components (including the memory 1420 and the processor 1410), and a display 1440.
[0218] The memory 1420 stores program codes, which can be executed by the processor 1410, so that the processor 1410 executes the steps described in the method part of the embodiment of the present application according to various exemplary embodiments of the present application.
[0219] The memory 1420 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 14201 and / or a cache memory unit 14202, and may further include a read-only memory unit (ROM) 14203, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
[0220] In some examples, the memory 1420 may also include a program / utility 14204 having a set (at least one) of program modules 14205, such program modules 14205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include the implementation of a network environment. The memory 1420 may further include a memory remotely disposed relative to the processor 1410, and these remote memories may be connected to the electronic device 1400 via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0221] The bus 1430 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a local bus of the processor 1410, or a bus using any of a variety of bus architectures.
[0222] The display 1440 may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the electronic device 1400 .
[0223] Optionally, the electronic device 1400 may also communicate with one or more external devices 1500 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 1400, and / or any device that enables the electronic device 1400 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 1450. Furthermore, the electronic device 1400 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 1460. Fig.14 As shown, the network adapter 1460 communicates with other modules of the electronic device 1400 via the bus 1430. It should be understood that although Fig.14 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 1400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0224] The electronic device 1400 may further include: a keyboard, a cursor control device (such as a mouse), an input / output interface (I / O interface), a network interface, a power supply and / or a camera.
[0225] It can be understood by those skilled in the art that Fig.14 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.14 More or fewer components as shown, or with Figure 1 The memory 1420 may be used to store computer programs and corresponding data, such as the computer programs and corresponding data corresponding to the operation object editing method in the embodiment of the present application. The processor 1410 executes various functional applications and data processing by running the computer programs stored in the memory 1420, that is, implementing the above-mentioned operation object editing method.
[0226] The embodiment of the present application further provides a computer program product. Optionally, in this embodiment, the computer program product may include a computer program, and the computer program implements the method provided in the embodiment when executed by a processor.
[0227] Optionally, the computer program included in the above computer program product is executed by a processor to perform the following steps:
[0228] S1, displaying a game scene to be edited through a graphical user interface, where the game scene to be edited includes a scene component combination, wherein the scene component combination includes multiple scene components;
[0229] S2, displaying a first control area corresponding to the scene component combination, wherein the first control area includes: a first control partition and a plurality of second control partitions, the first control partition is used to perform an editing operation on the scene component combination, and the plurality of second control partitions are used to respectively perform an editing operation on the scene components constituting the scene component combination;
[0230] S3, in response to the control operation performed on the first control area, selecting a target operation object, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination;
[0231] S4, performing an editing operation on the target operation object.
[0232] The embodiments of the present application also provide a computer program product. Optionally, the computer program product may include a non-volatile computer-readable storage medium, which may be used to store a computer program, and when the computer program is executed by a processor, the method provided in the embodiments is implemented.
[0233] Optionally, the computer program stored in the non-volatile computer-readable storage medium is used by the processor to execute the following steps:
[0234] S1, displaying a game scene to be edited through a graphical user interface, where the game scene to be edited includes a scene component combination, wherein the scene component combination includes multiple scene components;
[0235] S2, displaying a first control area corresponding to the scene component combination, wherein the first control area includes: a first control partition and a plurality of second control partitions, the first control partition is used to perform an editing operation on the scene component combination, and the plurality of second control partitions are used to respectively perform an editing operation on the scene components constituting the scene component combination;
[0236] S3, in response to the control operation performed on the first control area, selecting a target operation object, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination;
[0237] S4, performing an editing operation on the target operation object.
[0238] The embodiment of the present application further provides a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, the method provided in the above embodiment is implemented.
[0239] Optionally, the computer program is executed by a processor to perform the following steps:
[0240] S1, displaying a game scene to be edited through a graphical user interface, where the game scene to be edited includes a scene component combination, wherein the scene component combination includes multiple scene components;
[0241] S2, displaying a first control area corresponding to the scene component combination, wherein the first control area includes: a first control partition and a plurality of second control partitions, the first control partition is used to perform an editing operation on the scene component combination, and the plurality of second control partitions are used to respectively perform an editing operation on the scene components constituting the scene component combination;
[0242] S3, in response to the control operation performed on the first control area, selecting a target operation object, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination;
[0243] S4, performing an editing operation on the target operation object.
[0244] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0245] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0246] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0247] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0248] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0249] If the integrated unit is implemented in the form of a software functional 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 application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0250] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for editing an operation object, characterized in that: A graphical user interface is provided by a terminal device, and the operation object editing method includes: Displaying a game scene to be edited through the graphical user interface, wherein the game scene to be edited includes a scene component combination, wherein the scene component combination includes a plurality of scene components; Displaying a first control area corresponding to the scene component combination, wherein the first control area includes: a first control partition and a plurality of second control partitions, the first control partition is used to perform an editing operation on the scene component combination, and the plurality of second control partitions are used to respectively perform an editing operation on the scene components constituting the scene component combination; In response to the control operation performed on the first control area, a target operation object is selected, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination; An editing operation is performed on the target operation object.
2. The operation object editing method according to claim 1, characterized in that: The first control area corresponding to the scene component combination is realized by at least one of the following methods: In response to a setting operation on the first control area, controlling to associate the scene component combination with the first control area; In response to determining the scene component combination from a plurality of scene component combinations included in the game scene to be edited, selecting a control partition corresponding to the scene component combination in the first control area; In response to selecting the scene component combination from a plurality of scene component combinations included in the game scene to be edited, the first control area corresponding to the scene component combination is displayed in the graphical user interface.
3. The operation object editing method according to claim 1, characterized in that: Displaying the first control area corresponding to the scene component combination includes: Obtaining the hierarchical relationship of the scene component combination; The first control area of a preset level corresponding to the scene component combination is displayed based on the hierarchical relationship.
4. The operation object editing method according to claim 3, characterized in that: The first control area of the preset level is the first control area of level 2.
5. The operation object editing method according to claim 3, characterized in that: The first control area of the preset level corresponding to the scene component combination displayed based on the hierarchical relationship includes: Based on the hierarchical relationship, the first control partition corresponding to the scene component combination is displayed within the central range of the first control area, and based on the hierarchical relationship, the multiple second control partitions corresponding to the scene components constituting the scene component combination are displayed within the first hierarchical annular range surrounding the central range.
6. The operation object editing method according to claim 5, characterized in that: The first control area for displaying the preset level corresponding to the scene component combination based on the hierarchical relationship further includes: When the preset trigger condition is met, multiple third control partitions are displayed within the second-level local annular range surrounding the first-level annular range based on the hierarchical relationship, wherein the multiple third control partitions are used to respectively perform editing operations on the next-level sub-components of the target scene component.
7. The operation object editing method according to claim 1, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object includes: In response to a first control operation performed on the first control partition, recording an operation attribute of the first control operation; In response to the operation attribute satisfying a first preset condition, a plurality of scene components are collectively determined as the target operation objects.
8. The operation object editing method according to claim 1, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object includes: In response to a first control operation performed on the first control partition, recording an operation attribute of the first control operation; In response to the operation attribute not satisfying the first preset condition and detecting a second control operation performed on some of the plurality of second control partitions, the scene components associated with the second control operation are collectively determined as the target operation objects.
9. The operation object editing method according to claim 1, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object includes: In response to a first control operation performed on a target control partition among the plurality of second control partitions, recording an operation attribute of the first control operation; In response to the operation attribute satisfying a second preset condition, the scene component corresponding to the target control partition is selected as the target operation object.
10. The operation object editing method according to claim 1, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object includes: In response to a first control operation performed on a target control partition among the plurality of second control partitions, recording an operation attribute of the first control operation; In response to the operation attribute satisfying a second preset condition and the scene component corresponding to the target control partition including a plurality of subcomponents, displaying a plurality of third control partitions associated with the target control partition in the graphical user interface; In response to a first control operation performed on any one of the plurality of third control partitions, recording an operation attribute of the first control operation; In response to the operation attribute satisfying a third preset condition, a subcomponent corresponding to any one of the control partitions is selected as the target operation object.
11. The operation object editing method according to claim 1, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object includes: In response to a first control operation performed on a target control partition among the plurality of second control partitions, recording an operation attribute of the first control operation; In response to the operation attribute satisfying a second preset condition and the scene component corresponding to the target control partition including a plurality of subcomponents, displaying a plurality of third control partitions associated with the target control partition in the graphical user interface; In the process of displaying the plurality of third control partitions, the operation position in response to the first control operation is maintained within the target control partition, and the scene component corresponding to the target control partition is selected as the target operation object.
12. The operation object editing method according to claim 10, characterized in that: The operation object editing method further includes: In response to a first control operation performed on any one of the multiple third control partitions, the observation perspective of the game scene to be edited is controlled to switch from a first perspective to a second perspective, wherein the first perspective is the initial default perspective of the game scene to be edited, and the second perspective is the perspective of the subcomponent corresponding to any one of the control partitions.
13. The operation object editing method according to claim 10, characterized in that: The operation object editing method further includes: In response to a first control operation performed on any one of the plurality of third control zones, a selected state of a scene component corresponding to the target control zone is switched to a selected state of a subcomponent corresponding to any one of the control zones.
14. The operation object editing method according to claim 1, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object includes: In response to a first control operation performed on a target control partition among the plurality of second control partitions, recording an operation attribute of the first control operation; In response to the operation attribute not satisfying the second preset condition and detecting the first control operation performed on the switched control partition among the multiple second control partitions, the scene component corresponding to the switched control partition is selected as the target operation object.
15. The operation object editing method according to claim 1, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object includes: In response to a first control operation performed on a target control zone among the plurality of second control zones, displaying a second control area in the graphical user interface; In response to a third control operation performed on the second control area, the scene component corresponding to the target control partition is selected as the target operation object.
16. The operation object editing method according to claim 15, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object further includes: While the target control partition remains selected, in response to a first control operation performed on a switched control partition among the multiple second control partitions and detecting a third control operation performed on the second control area, the scene component corresponding to the switched control partition and the scene component corresponding to the target control partition are jointly determined as the target operation object.
17. The operation object editing method according to claim 1, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object includes: In response to a first control operation performed on a target control zone among the plurality of second control zones, displaying a second control area in the graphical user interface; In response to the third control operation performed on the second control area and detecting the second control operation performed on some of the plurality of second control partitions, the scene component associated with the second control operation is selected as the target operation object.
18. The operation object editing method according to claim 1, characterized in that: In response to the control operation performed on the first control area, selecting the target operation object includes: In response to a fourth control operation performed on at least one of the plurality of second control partitions, recording an end position of the fourth control operation; In response to the end position being located within a preset area of the graphical user interface, a scene component corresponding to the at least one control partition is selected as the target operation object.
19. The operation object editing method according to claim 1, characterized in that: Performing an editing operation on the target operation object includes: In response to satisfying a preset trigger condition, displaying an operation panel associated with the target operation object in the graphical user interface, wherein the operation panel includes a plurality of editing items, the preset trigger condition is determined based on a contact duration between a touch medium and the first control area, or the preset trigger condition is determined based on a contact frequency between the touch medium and the first control area, and the touch medium is used to perform a control operation on the first control area; In response to a fourth control operation performed on any one of the plurality of editing items, a corresponding editing operation is performed on the target operation object.
20. The operation object editing method according to claim 1, characterized in that: The first control area is a geometrically symmetrical figure, and the geometrically symmetrical figure is divided according to the total number of partitions of the first control partition and the plurality of second control partitions.
21. The operation object editing method according to claim 20, characterized in that: The first control area is a circular area, which includes: a central area and strip areas evenly distributed around the central area, and the central area and the strip areas are divided according to the total number of the first control partition and the plurality of second control partitions.
22. An operation object editing device, characterized in that: A graphical user interface is provided by a terminal device, and the operation object editing device includes: A first display module, used for displaying a game scene to be edited through the graphical user interface, wherein the game scene to be edited includes a scene component combination, wherein the scene component combination includes a plurality of scene components; A second display module is used to display a first control area corresponding to the scene component combination, the first control area includes: a first control partition and a plurality of second control partitions, the first control partition is used to perform an editing operation on the scene component combination, and the plurality of second control partitions are used to respectively perform an editing operation on the scene components constituting the scene component combination; A selection module, configured to select a target operation object in response to a control operation performed on the first control area, wherein the target operation object includes at least one of the following: a scene component combination, and a scene component constituting the scene component combination; The editing module is used to perform an editing operation on the target operation object.
23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the operation object editing method described in any one of claims 1 to 21 when executed by a processor.
24. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the operation object editing method described in any one of claims 1 to 21.
25. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the operation object editing method described in any one of claims 1 to 21.
Citation Information
Cited By
Operation object editing method and apparatus, and storage medium and electronic apparatus
WO2025241725A1
