Virtual scene editing method and device, equipment and storage medium
By introducing the distinction between combined editing mode and non-combination editing mode in the game, highlighting the editing object and limiting interference, the problem of operation errors in players when operating combined virtual buildings is solved, and the game experience and editing efficiency are improved.
Patent Information
- Application Number
- CN202410969847.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-15
AI Technical Summary
In existing games, players are prone to operating errors when operating combination virtual buildings, resulting in poor game experience.
It provides a virtual scene editing method, allowing players to enter the combined editing mode to adjust the virtual construction combination, distinguish the combined editing mode from the non-combination editing mode, and improve editing accuracy by highlighting the current editing object and limiting interference with other information.
It improves players' editing efficiency and refined settings in the combined editing mode, reduces operation errors, and improves the game experience.
Smart Images

Figure CN118949425A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a method, device, equipment and storage medium for editing a virtual scene. Background Art
[0002] With the development of Internet technology, games have become an important part of people's leisure and entertainment, and a part of people's pastime.
[0003] Existing games usually provide a map editing mode for user-generated content. Players can build their own game maps in the game scene based on the editing methods provided by the map editing mode. This setting allows players to develop game maps based on their own preferences to expand the player's gaming methods.
[0004] However, in the existing map editing gameplay, when players operate to combine virtual buildings, it is not easy to select the virtual buildings in the combination, which is prone to operational errors, resulting in a poor gaming experience for players. Summary of the invention
[0005] The purpose of this application is to provide a method, device, equipment and storage medium for editing a virtual scene in view of the deficiencies in the above-mentioned prior art, so as to solve the problem that operational errors are prone to occur during the editing process of players in the prior art.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for editing a virtual scene, which is applied to a terminal device, wherein a graphical user interface is displayed on the terminal device, wherein the graphical user interface includes a virtual construction scene, wherein the virtual construction scene has at least one virtual construction combination, and wherein the virtual construction combination includes a plurality of virtual construction units. The method includes:
[0008] In response to an editing event for a first virtual building assembly in the at least one virtual building assembly, entering an assembly editing mode;
[0009] In the combination editing mode, in response to an adjustment operation on the first virtual building combination, adjusting a target virtual building unit in the first virtual building combination to obtain an adjusted first virtual building combination;
[0010] In response to a completion operation for the adjustment operation, the first virtual construction assembly in the virtual construction scene is updated to the adjusted first virtual construction assembly.
[0011] In a second aspect, another embodiment of the present application provides a virtual scene editing device, the device comprising: an adjustment module and an update module, wherein:
[0012] The adjustment module is configured to enter a combination editing mode in response to an editing event for a first virtual building combination in at least one virtual building combination; in the combination editing mode, in response to an adjustment operation for the first virtual building combination, adjust a target virtual building unit in the first virtual building combination to obtain an adjusted first virtual building combination;
[0013] The updating module is configured to update the first virtual construction combination in the virtual construction scene to the adjusted first virtual construction combination in response to a completion operation on the adjustment operation.
[0014] In the third aspect, another embodiment of the present application provides a virtual scene editing device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, when the virtual scene editing device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.
[0015] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.
[0016] The beneficial effect of the present application is that by adopting the virtual scene editing method provided by the present application, the player can enter the combination editing mode in response to the editing event for the first virtual building combination during the construction process of the virtual building scene, so that the player can adjust the first virtual building combination in the combination editing mode, and after the adjustment is completed, the first virtual building combination is updated to the adjusted first virtual building combination in the virtual building scene. This setting method allows the player to focus on adjusting the first virtual building combination in the combination editing mode, helping the player to focus on the refined setting or adjustment of the first virtual building combination, etc., so that the operations in different editing modes are distinguished by the difference in editing objects in the combination editing mode and the non-combination editing mode, so that the player can be not disturbed by other information during the editing process of the first virtual building combination in the combination editing mode, thereby improving the player's editing effect, avoiding the situation where the player makes errors, and improving the player's gaming experience during the game. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A schematic diagram of a flow chart of a method for editing a virtual scene provided in one embodiment of the present application;
[0019] Figure 2 A schematic diagram of a graphical user interface provided in one embodiment of the present application;
[0020] Figure 3 A schematic diagram of a flow chart of a method for editing a virtual scene provided in another embodiment of the present application;
[0021] Figure 4 A schematic diagram of a flow chart of a method for editing a virtual scene provided in another embodiment of the present application;
[0022] Figure 5 A schematic diagram of the structure of a virtual scene editing device provided in one embodiment of the present application;
[0023] Figure 6 A schematic diagram of the structure of a virtual scene editing device provided by another embodiment of the present application;
[0024] Figure 7 A schematic diagram of the structure of a virtual scene editing device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination 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.
[0026] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0027] In one embodiment of the present application, the virtual scene editing method can be run on a local terminal device or a server. When the virtual scene editing method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0028] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the editing method of the virtual scene are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the player side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0029] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0030] In addition, the flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of this application, and can also remove one or more operations from the flowchart.
[0031] The following is an explanation of a virtual scene editing method provided in an embodiment of the present application in combination with a plurality of specific application examples. Figure 1A flowchart of a method for editing a virtual scene provided in an embodiment of the present application is applied to a terminal device, wherein a graphical user interface is displayed on the terminal device, wherein the graphical user interface includes a virtual construction scene, wherein the virtual construction scene has at least one virtual construction combination, and the virtual construction combination includes multiple virtual construction units, such as Figure 1 As shown, the method includes:
[0032] Step 101: In response to an editing event for a first virtual building assembly in at least one virtual building assembly, entering an assembly editing mode.
[0033] Among them, the virtual construction scene is, for example, a map corresponding to a gameplay preset in the game. The virtual construction scene can be, for example, a construction scene of a virtual map, an editing scene of virtual decals, or any virtual construction scene that players need to create by themselves. The virtual construction unit is the smallest unit in the virtual construction scene. The virtual construction unit is a variety of virtual construction units preset in the virtual construction scene. For example, the virtual construction scene may provide a variety of different types of virtual construction units such as virtual circles, virtual rectangles, virtual triangles, virtual cones, virtual cylinders, etc. Players can choose different virtual construction units from the various types of virtual construction units provided by the system to build their own virtual construction scenes, or players can also form a virtual construction combination by combining different virtual construction units. The specific virtual construction scene includes the scene content and the construction method of the virtual construction unit, which can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0034] Alternatively, the player may also take a photo of the target object to be built by uploading it, so that the game automatically generates a virtual building corresponding to the target object to be built in the virtual construction scene based on the target object to be built and various types of virtual construction units. The specific way in which the player builds the virtual construction unit or the virtual construction combination in the virtual construction scene can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0035] In an embodiment of the present application, a virtual building combination may be, for example, a virtual building combination consisting of multiple virtual building units generated after the player selects multiple virtual building units and determines the combination; alternatively, the player may also uncombine the virtual building combination to uncombine the virtual building units in the virtual building combination and divide the virtual building combination into multiple virtual building units; alternatively, the player may also select multiple virtual building combinations and determine the combination to form a target virtual building combination consisting of multiple virtual building combinations; it should be understood that the above embodiments are only exemplary descriptions, and the specific virtual building combination determination method, combination method, and uncombination method can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiments.
[0036] In an embodiment of the present application, the triggering of the editing event may be, for example, in response to a selection operation on a first virtual building combination, triggering an editing event on the first virtual building combination; that is, the player may, for example, select from at least one virtual building combination in the virtual building scene, determine the first virtual building combination corresponding to the selection operation, so as to trigger an editing event on the first virtual building combination; or, the player may double-click the selected first virtual building combination in the virtual building scene, so as to trigger an editing event on the first virtual building combination; the specific method of selecting the first virtual building combination may be flexibly adjusted according to user needs, and is not limited to the above-mentioned embodiment.
[0037] In some other possible embodiments, for example, in response to a selection operation on the combination area, it is possible to determine to trigger an editing event for the first virtual building combination in the combination area; for example, the player can frame the combination area in the virtual construction scene, and determine that the virtual building combination included in the framed combination area is the first virtual building combination; the way to frame the combination area, for example, is that after the player selects a certain starting position point on the virtual construction scene, in response to a drag operation continuous with the selection operation, a rectangular area is determined according to the starting position point and the end position point of the drag operation, and the rectangular area is the combination area; of course, the shape of the combination area can also be an ellipse or a circle or any other shape, and the present application does not impose any restrictions on this, and can be flexibly adjusted according to user needs.
[0038] Among them, the virtual building combination framed by the combination area can be one virtual building combination, or it can be multiple virtual building combinations, or it can be multiple virtual building units framed in the combination area, and multiple virtual building units constitute a first virtual building combination; it can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0039] Step 102: In the combination editing mode, in response to an adjustment operation on the first virtual construction combination, a target virtual construction unit in the first virtual construction combination is adjusted to obtain an adjusted first virtual construction combination.
[0040] In the embodiments of the present application, the adjustment operation for the first virtual building combination includes but is not limited to the adjustment operation, copy operation, paste operation, or adding virtual building unit operation for the position of each virtual building unit in the first virtual building combination, and can also support adding / nesting virtual building combinations in the first virtual building combination. The specific adjustment operation for the first virtual building combination can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0041] In an embodiment of the present application, in the non-combination editing mode, in response to a moving operation on the second virtual construction combination / unit, the position of the second virtual construction combination / unit in the virtual construction scene is updated according to the moving operation. That is to say, in the non-combination editing mode, the operation on the virtual construction combination is based on the world coordinate system of the virtual construction scene, and only the overall copying and overall moving of the virtual construction combination as a whole can be performed in the virtual construction scene; in the combination editing mode, the player's adjustment operations on the virtual construction combination are all edited based on the combination coordinate system, and the virtual construction units in the virtual construction combination can be moved or copied, and the virtual construction units can be added or deleted, or a virtual construction combination can be added to the virtual construction combination, etc.; this setting method distinguishes the combination editing mode from the overall editing mode, and the player can choose the appropriate editing mode to adjust the virtual construction combination or virtual construction unit in the virtual construction scene.
[0042] The above method is used to divide the adjustment of the virtual construction combination into adjustments in the combination editing mode and adjustments in the non-combination editing mode, and the player's adjustment unit is clarified. When the player adjusts the entire virtual construction combination, it will not involve the adjustment of the virtual construction unit inside the virtual construction combination. It is an adjustment in the world coordinate system with the virtual construction combination as a unit; when the player adjusts the virtual construction unit in the virtual construction combination, it is an adjustment in the combination coordinate system with the virtual construction unit as a unit. The division of editing modes is clarified, which is conducive to players choosing the appropriate editing mode to adjust the virtual construction combination / unit in the virtual construction scene, thereby improving the player's editing efficiency.
[0043] In some other possible embodiments, in the combination editing mode, the first virtual building combination can be highlighted on the graphical user interface; the highlighting includes but is not limited to, for example, highlighting the first virtual building combination, or displaying the first virtual building combination in a display color different from other virtual building combinations / units, or distinguishing the first virtual building combination from other virtual building combinations / units in different transparency methods, or enlarging the first virtual building combination, or the above highlighting methods can be superimposed, and the specific method of highlighting the first virtual building combination can be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0044] By highlighting the first virtual building combination, the player can clearly see the editing object targeted by the current combination editing mode on the graphical user interface, thereby preventing the player from having difficulty selecting the virtual building unit in the first virtual building combination, and allowing the player to intuitively view the current editing object and the adjustment effect of the adjustment operation.
[0045] In some other possible embodiments, in combination editing mode, the adjustment function of other virtual building combinations or virtual building units except the first virtual building combination is prohibited. That is, in combination editing mode, the player can only adjust the first virtual building combination, and cannot adjust other virtual building units or virtual building combinations, so that the player can focus on the first virtual building combination currently being adjusted without being disturbed by other information.
[0046] Alternatively, in the combination editing mode, not only the first virtual building combination is highlighted, but also the adjustment functions of other virtual building combinations or virtual building units except the first virtual building combination are prohibited; so that the player can not only intuitively understand the first virtual building combination corresponding to the current adjustment operation, but also will not be affected by other virtual building combinations / units, thereby further improving the player's editing efficiency and reducing the player's operation errors.
[0047] Step 103: in response to the completion operation for the adjustment operation, updating the first virtual construction assembly in the virtual construction scene to the adjusted first virtual construction assembly.
[0048] In an embodiment of the present application, the combination editing mode will not change the position coordinates of the first virtual building combination in the world coordinate system, but will only adjust the virtual building units inside the first virtual building combination. After the adjustment, the internal virtual building units are updated at the position corresponding to the original first virtual building combination in the world coordinate system to form the adjusted virtual building combination.
[0049] For ease of understanding, the combination editing mode in this application is explained below by taking the virtual building combination as a molecule and the virtual building units in the virtual building combination as atoms as an example. In the world coordinate system of the virtual building scene, only the virtual building combination molecule can be moved, copied, etc., and the atomic structure inside the virtual building combination molecule cannot be modified; only when entering the combination editing mode, the structure, quantity, style, etc. of the atoms inside the virtual building combination targeted by the combination editing mode can be modified in the combination coordinate system, including but not limited to combining, copying, moving, adding or deleting atoms. These operations will be saved in the virtual building combination molecule. In the world coordinate system, the position of the virtual building combination molecule after combination editing does not change, but the internal atomic structure of the virtual building combination molecule has been updated according to the adjustment operation in the combination editing mode.
[0050] By adopting the virtual scene editing method provided by the present application, the player can enter the combination editing mode in response to the editing event for the first virtual building combination during the construction process of the virtual building scene, so that the player can adjust the first virtual building combination in the combination editing mode, and after the adjustment, the first virtual building combination is updated to the adjusted first virtual building combination in the virtual building scene. This setting method allows the player to focus on adjusting the first virtual building combination in the combination editing mode, helping the player to focus on the refined setting or adjustment of the first virtual building combination, so that the operations in different editing modes are distinguished by the difference in editing objects in the combination editing mode and the non-combination editing mode, so that the player can be not disturbed by other information during the editing process of the first virtual building combination in the combination editing mode, thereby improving the player's editing effect, avoiding the situation where the player makes errors, and improving the player's gaming experience during the game.
[0051] In some possible embodiments, after the player completes the adjustment operation, for example, the player may automatically trigger the saving of the adjusted virtual building combination after exiting the combination editing mode; or the player may need to manually click the save control after exiting the combination editing mode, or manually trigger the saving of the adjusted virtual building combination through a preset shortcut. The specific saving method of the virtual building combination may be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0052] In an embodiment of the present application, in the combination editing mode, the player is supported to process the first virtual building combination through preset shortcut gestures. For example, the player can zoom in or out the target virtual building unit in the first virtual building combination by using two fingers; or, the player can also trigger the movement operation of the target virtual building unit in the first virtual building combination through a long press operation and a sliding operation continuous with the long press operation. The correspondence between the specific preset shortcut gestures and the processing methods can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0053] In an embodiment of the present application, the player can customize whether to allow overlapping of virtual building units / combinations in the virtual building scene, that is, the position of the second virtual building combination / unit in the virtual building scene can be updated according to the enabling state of the overlapping attribute in the virtual building scene.
[0054] If the overlapping attribute in the current virtual construction scene is turned on, the virtual construction units or virtual construction combinations in the virtual scene can be allowed to overlap; if the overlapping attribute in the current virtual construction scene is turned off, the virtual construction units or virtual construction combinations in the virtual scene are not allowed to overlap. If an overlap occurs when the player moves the virtual construction unit or virtual construction combination when overlap is not allowed, the overlapping area can be marked in red, for example, to prompt the player that overlap between the virtual construction units or virtual construction combinations is not currently allowed, and the player needs to move the virtual construction units or virtual construction combinations again to avoid overlap. It should be understood that the above embodiments are only exemplary descriptions, and the attribute setting content and specific setting conditions included in the specific virtual construction scene can be flexibly adjusted according to user needs, and are not limited to the above embodiments.
[0055] Figure 2 A schematic diagram of a graphical user interface provided by an embodiment of the present application, such as Figure 2 As shown, the graphical user interface includes a virtual building scene corresponding to the current game scene, and the player can build virtual building units / combinations in the virtual building scene. For example, a virtual building unit list 131 can be provided on the right side of the graphical user interface. Different virtual building unit icons and the available quantity corresponding to each virtual building unit are displayed in the virtual building unit list 131. The player can select a target virtual building unit in the virtual building unit list 131, and the selected target virtual building unit will be displayed in the virtual scene. The player can place multiple target virtual building units in the virtual scene, or build a virtual building combination by building multiple target virtual building units.
[0056] Continue as Figure 2 As shown, after entering the combination editing mode, an adjustment window can be displayed on the graphical user interface, for example: Figure 2 The dotted matrix on the left side of the virtual building unit list 131 in the adjustment window displays the first virtual building combination. This method of displaying the first virtual building combination to be edited in the adjustment window allows the player to directly adjust the first virtual building combination in the adjustment window. The adjustment window only displays the first virtual building combination to be adjusted, which is convenient for the player to accurately select each virtual building unit in the first building combination and edit it, which will greatly improve the editing efficiency and allow the player to focus on the current first virtual building combination to be adjusted without being disturbed by other information.
[0057] In some possible embodiments, for example, only the first virtual building combination may be displayed in the graphical user interface, and the display of virtual building units or virtual building combinations other than the virtual building combination may be cancelled.
[0058] In some other possible embodiments, for example, other virtual building combinations or virtual building units other than the first virtual building combination may be displayed on the graphical user interface with a preset transparency; wherein the preset transparency is lower than the transparency of the first virtual building combination; the specific manner of displaying the first virtual building combination and the other virtual building combinations / units may be flexibly adjusted according to user needs, and is not limited to the above embodiments, and only requires distinguishing the display of the first virtual building combination and the other virtual building combinations / units.
[0059] Optionally, based on the above embodiment, the embodiment of the present application may further provide a method for editing a virtual scene. The implementation process of the above method is illustrated below with reference to the accompanying drawings. Figure 3 A flowchart of a method for editing a virtual scene provided by another embodiment of the present application is shown as follows: Figure 3 As shown, before step 101, the method may further include:
[0060] Step 111: In response to a selection operation on a first virtual construction combination, triggering an editing event on the first virtual construction combination.
[0061] In some possible embodiments, for example, in response to a double-click operation or a right-click operation of the player on the first virtual building combination, or a trigger operation of a preset shortcut key after selecting the first virtual building combination, an editing event for the first virtual building combination is triggered.
[0062] Optionally, based on the above embodiment, the embodiment of the present application may further provide a method for editing a virtual scene. The implementation process of the above method is illustrated below with reference to the accompanying drawings. Figure 4 A flowchart of a method for editing a virtual scene provided by another embodiment of the present application is shown as follows: Figure 4 As shown, before step 101, the method may further include:
[0063] Step 121: In response to a selection operation on a combination area, determining to trigger an editing event on a first virtual construction combination in the combination area.
[0064] In an embodiment of the present application, for example, a player can select a virtual combination area in a virtual construction scene by a preset shortcut gesture or by dragging, and determine the virtual construction combination or multiple virtual construction units included in the virtual combination area as the first virtual construction combination to be edited. This setting method allows the player to directly select the virtual construction combination or virtual construction to be edited according to the selection operation of the combination area.
[0065] In some possible embodiments, after determining the combination area, for example, the virtual building combination or virtual building unit in the combination area may be further determined, for example, some virtual building combinations or virtual building units included in the combination area may be cancelled, and after the player determines the virtual building unit or virtual building combination selected in the combination area, the selected multiple virtual building units or virtual building combinations are determined to be the first virtual building combination, and the combination editing mode for the first virtual building combination is entered.
[0066] The following is an explanation of the virtual scene editing device provided by the present application in conjunction with the accompanying drawings. The virtual scene editing device can execute the above Figure 1-Figure 4 The specific implementation and beneficial effects of the editing method of any virtual scene are as mentioned above and will not be repeated below.
[0067] Figure 5 A schematic diagram of the structure of a virtual scene editing device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the device includes: an adjustment module 201 and an update module 202, wherein:
[0068] The adjustment module 201 is configured to enter a combination editing mode in response to an editing event for a first virtual building combination in at least one virtual building combination; in the combination editing mode, in response to an adjustment operation for the first virtual building combination, adjust a target virtual building unit in the first virtual building combination to obtain an adjusted first virtual building combination;
[0069] The updating module 202 is configured to update the first virtual construction combination in the virtual construction scene to an adjusted first virtual construction combination in response to a completion operation on the adjustment operation.
[0070] Optionally, based on the above embodiment, the embodiment of the present application may also provide a virtual scene editing device, as shown below in conjunction with the accompanying drawings. Figure 5 The implementation process of the given device is described by way of example. Figure 6 A schematic diagram of the structure of a virtual scene editing device provided in another embodiment of the present application is shown in FIG. Figure 6 As shown, the device further includes: a display module 203, which is used to highlight the first virtual construction combination on the graphical user interface in the combination editing mode.
[0071] Optionally, the adjustment module 201 is specifically configured to prohibit adjustment functions of other virtual construction combinations or virtual construction units except the first virtual construction combination in the combination editing mode.
[0072] Optionally, the display module 203 is specifically configured to display an adjustment window on the graphical user interface, and display the first virtual building combination in the adjustment window.
[0073] Optionally, the display module 203 is specifically configured to cancel display of other virtual building combinations or virtual building units except the first virtual building combination on the graphical user interface.
[0074] Optionally, the display module 203 is specifically configured to display other virtual building assemblies or virtual building units except the first virtual building assembly on the graphical user interface with a preset transparency; wherein the preset transparency is lower than the transparency of the first virtual building assembly.
[0075] Optionally, the updating module 202 is specifically configured to, in the non-combination editing mode, respond to a moving operation on the second virtual construction assembly / unit and update the position of the second virtual construction assembly / unit in the virtual construction scene according to the moving operation.
[0076] Optionally, the updating module 202 is specifically configured to update the position of the second virtual construction combination / unit in the virtual construction scene according to the activation state of the overlapping attribute in the virtual construction scene.
[0077] Optionally, the adjustment module 201 is specifically configured to trigger an editing event for the first virtual building combination in response to a selection operation for the first virtual building combination.
[0078] Optionally, the adjustment module 201 is specifically configured to determine, in response to a selection operation on the combination area, trigger an editing event on the first virtual construction combination in the combination area.
[0079] By using the virtual scene editing device provided by the present application, the player can enter the combination editing mode in response to an editing event for the first virtual building combination during the construction process of the virtual building scene, so that the player can adjust the first virtual building combination in the combination editing mode, and after the adjustment is completed, the first virtual building combination is updated to the adjusted first virtual building combination in the virtual building scene. This setting method allows the player to focus on adjusting the first virtual building combination in the combination editing mode, helping the player to focus on the refined setting or adjustment of the first virtual building combination, etc., so that the operations in different editing modes are distinguished by the difference in editing objects in the combination editing mode and the non-combination editing mode, so that the player can be not disturbed by other information during the editing process of the first virtual building combination in the combination editing mode, thereby improving the player's editing effect, avoiding the situation where the player makes errors, and improving the player's gaming experience during the game.
[0080] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0081] Figure 7 This is a schematic diagram of the structure of a virtual scene editing device provided in an embodiment of the present application. The virtual scene editing device can be integrated into a terminal device or a chip of the terminal device.
[0082] like Figure 7 As shown, the virtual scene editing device includes: a processor 501, a bus 502 and a storage medium 503.
[0083] The processor 501 is used to store programs. The processor 501 calls the program stored in the storage medium 503 to execute the above Figure 1-Figure 4 Corresponding method embodiments.
[0084] Specifically, the processor 501 executes the above-mentioned virtual scene editing method including the following steps:
[0085] In response to an editing event for a first virtual building assembly in the at least one virtual building assembly, entering an assembly editing mode;
[0086] In the combination editing mode, in response to an adjustment operation on the first virtual building combination, adjusting a target virtual building unit in the first virtual building combination to obtain an adjusted first virtual building combination;
[0087] In response to a completion operation for the adjustment operation, the first virtual construction assembly in the virtual construction scene is updated to the adjusted first virtual construction assembly.
[0088] In some embodiments, the processor 501 is further configured to execute:
[0089] In the combination editing mode, the first virtual building combination is highlighted on the graphical user interface.
[0090] In some embodiments, the processor 501 is further configured to execute:
[0091] In the combination editing mode, adjustment functions of other virtual construction combinations or virtual construction units except the first virtual construction combination are prohibited.
[0092] In some embodiments, when the processor 501 executes the step of highlighting the first virtual building combination on the graphical user interface, it is further configured to execute:
[0093] An adjustment window is displayed on the graphical user interface, and the first virtual building assembly is displayed in the adjustment window.
[0094] In some embodiments, when the processor 501 executes the step of highlighting the first virtual building combination on the graphical user interface, it is further configured to execute:
[0095] The display of the other virtual building assemblies or virtual building units except the first virtual building assembly is cancelled on the graphical user interface.
[0096] In some embodiments, when the processor 501 executes the step of highlighting the first virtual building combination on the graphical user interface, it is further configured to execute:
[0097] The other virtual building assemblies or virtual building units except the first virtual building assembly are displayed on the graphical user interface with a preset transparency; wherein the preset transparency is lower than the transparency of the first virtual building assembly.
[0098] In some embodiments, the processor 501 is further configured to execute:
[0099] In the non-assembly editing mode, in response to a move operation on a second virtual construction assembly / unit, the position of the second virtual construction assembly / unit in the virtual construction scene is updated according to the move operation.
[0100] In some embodiments, when the processor 501 executes the updating of the position of the second virtual construction assembly / unit in the virtual construction scene according to the moving operation, it is further configured to execute:
[0101] According to the opening state of the overlapping attribute in the virtual construction scene, the position of the second virtual construction combination / unit in the virtual construction scene is updated.
[0102] In some embodiments, before executing the step of entering the assembly editing mode in response to the editing event for the first virtual assembly in the at least one virtual assembly, the processor 501 is further configured to execute:
[0103] In response to a selection operation on the first virtual building assembly, an editing event on the first virtual building assembly is triggered.
[0104] In some embodiments, before executing the step of entering the assembly editing mode in response to the editing event for the first virtual assembly in the at least one virtual assembly, the processor 501 is further configured to execute:
[0105] In response to a selection operation on a combination area, it is determined to trigger an editing event on the first virtual construction combination in the combination area.
[0106] By using the virtual scene editing device provided by the present application, the player can enter the combination editing mode in response to an editing event for the first virtual building combination during the construction process of the virtual building scene, so that the player can adjust the first virtual building combination in the combination editing mode, and after the adjustment, the first virtual building combination is updated to the adjusted first virtual building combination in the virtual building scene. This setting method allows the player to focus on adjusting the first virtual building combination in the combination editing mode, helping the player to focus on the refined setting or adjustment of the first virtual building combination, etc., so that the operations in different editing modes are distinguished by the difference in editing objects in the combination editing mode and the non-combination editing mode, so that the player can be not disturbed by other information during the editing process of the first virtual building combination in the combination editing mode, thereby improving the player's editing effect, avoiding the situation where the player makes errors, and improving the player's gaming experience during the game.
[0107] Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program that, when executed by a processor, executes an embodiment corresponding to the above method.
[0108] The specific processor performs the steps of the above virtual scene editing method including:
[0109] In response to an editing event for a first virtual building assembly in the at least one virtual building assembly, entering an assembly editing mode;
[0110] In the combination editing mode, in response to an adjustment operation on the first virtual building combination, adjusting a target virtual building unit in the first virtual building combination to obtain an adjusted first virtual building combination;
[0111] In response to a completion operation for the adjustment operation, the first virtual construction assembly in the virtual construction scene is updated to the adjusted first virtual construction assembly.
[0112] In some embodiments, the processor is further configured to perform:
[0113] In the combination editing mode, the first virtual building combination is highlighted on the graphical user interface.
[0114] In some embodiments, the processor is further configured to perform:
[0115] In the combination editing mode, adjustment functions of other virtual construction combinations or virtual construction units except the first virtual construction combination are prohibited.
[0116] In some embodiments, when the processor executes the step of highlighting the first virtual building assembly on the graphical user interface, the processor is further configured to execute:
[0117] An adjustment window is displayed on the graphical user interface, and the first virtual building assembly is displayed in the adjustment window.
[0118] In some embodiments, when the processor executes the step of highlighting the first virtual building assembly on the graphical user interface, the processor is further configured to execute:
[0119] The display of the other virtual building assemblies or virtual building units except the first virtual building assembly is cancelled on the graphical user interface.
[0120] In some embodiments, when the processor executes the step of highlighting the first virtual building assembly on the graphical user interface, the processor is further configured to execute:
[0121] The other virtual building assemblies or virtual building units except the first virtual building assembly are displayed on the graphical user interface with a preset transparency; wherein the preset transparency is lower than the transparency of the first virtual building assembly.
[0122] In some embodiments, the processor is further configured to perform:
[0123] In the non-assembly editing mode, in response to a move operation on a second virtual construction assembly / unit, the position of the second virtual construction assembly / unit in the virtual construction scene is updated according to the move operation.
[0124] In some embodiments, when the processor executes the updating of the position of the second virtual construction combination / unit in the virtual construction scene according to the moving operation, it is further configured to execute:
[0125] According to the opening state of the overlapping attribute in the virtual construction scene, the position of the second virtual construction combination / unit in the virtual construction scene is updated.
[0126] In some embodiments, before executing the step of entering the assembly editing mode in response to the editing event for the first virtual building assembly in the at least one virtual building assembly, the processor is further configured to execute:
[0127] In response to a selection operation on the first virtual building assembly, an editing event on the first virtual building assembly is triggered.
[0128] In some embodiments, before executing the step of entering the assembly editing mode in response to the editing event for the first virtual building assembly in the at least one virtual building assembly, the processor is further configured to execute:
[0129] In response to a selection operation on a combination area, it is determined to trigger an editing event on the first virtual construction combination in the combination area.
[0130] By using the storage medium provided by the present application, the player can enter the combination editing mode in response to an editing event for the first virtual building combination during the construction process of the virtual building scene, so that the player can adjust the first virtual building combination in the combination editing mode, and after the adjustment is completed, the first virtual building combination is updated to the adjusted first virtual building combination in the virtual building scene. This setting method allows the player to focus on adjusting the first virtual building combination in the combination editing mode, helping the player to focus on the refined setting or adjustment of the first virtual building combination, etc., so that the operations in different editing modes are distinguished by the difference in editing objects in the combination editing mode and the non-combination editing mode, so that the player can be not disturbed by other information during the editing process of the first virtual building combination in the combination editing mode, thereby improving the player's editing effect, avoiding the situation where the player makes errors, and improving the player's gaming experience during the game.
[0131] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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 devices or units, which can be electrical, mechanical or other forms.
[0132] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0133] 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 hardware plus software functional units.
[0134] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (English:
[0135] Read-Only Memory, referred to as ROM), Random Access Memory (English: Random Access
[0136] Memory, referred to as RAM), magnetic disks or optical disks, etc., which can store program codes.
Claims
1. A method for editing a virtual scene, characterized in that: Applied to a terminal device, the terminal device displays a graphical user interface, the graphical user interface includes a virtual construction scene, the virtual construction scene has at least one virtual construction combination, the virtual construction combination includes a plurality of virtual construction units, the method includes: In response to an editing event for a first virtual building assembly in the at least one virtual building assembly, entering an assembly editing mode; In the combination editing mode, in response to an adjustment operation on the first virtual building combination, adjusting a target virtual building unit in the first virtual building combination to obtain an adjusted first virtual building combination; In response to a completion operation for the adjustment operation, the first virtual construction assembly in the virtual construction scene is updated to the adjusted first virtual construction assembly.
2. The method according to claim 1, characterized in that The method further comprises: In the combination editing mode, the first virtual building combination is highlighted on the graphical user interface.
3. The method according to claim 1, characterized in that The method further comprises: In the combination editing mode, adjustment functions of other virtual construction combinations or virtual construction units except the first virtual construction combination are prohibited.
4. The method according to claim 2, characterized in that: The highlighting of the first virtual building combination on the graphical user interface includes: An adjustment window is displayed on the graphical user interface, and the first virtual building assembly is displayed in the adjustment window.
5. The method according to any one of claim 2 or claim 4, characterized in that: The highlighting of the first virtual building combination on the graphical user interface includes: The display of the other virtual building assemblies or virtual building units except the first virtual building assembly is cancelled on the graphical user interface.
6. The method according to claim 4, characterized in that The highlighting of the first virtual building combination on the graphical user interface includes: The other virtual building assemblies or virtual building units except the first virtual building assembly are displayed on the graphical user interface with a preset transparency; wherein the preset transparency is lower than the transparency of the first virtual building assembly.
7. The method according to claim 1, characterized in that The method further comprises: In the non-assembly editing mode, in response to a move operation on a second virtual construction assembly / unit, the position of the second virtual construction assembly / unit in the virtual construction scene is updated according to the move operation.
8. The method according to claim 7, characterized in that The updating of the position of the second virtual construction assembly / unit in the virtual construction scene according to the moving operation includes: According to the opening state of the overlapping attribute in the virtual construction scene, the position of the second virtual construction combination / unit in the virtual construction scene is updated.
9. The method according to claim 1, characterized in that: In response to an editing event for a first virtual building set in the at least one virtual building set, before entering the set editing mode, the method further includes: In response to a selection operation on the first virtual building assembly, an editing event on the first virtual building assembly is triggered.
10. The method according to claim 1, characterized in that In response to an editing event for a first virtual building set in the at least one virtual building set, before entering the set editing mode, the method further includes: In response to a selection operation on a combination area, it is determined to trigger an editing event on the first virtual construction combination in the combination area.
11. A virtual scene editing device, characterized in that: The device comprises: an adjustment module and an update module, wherein: The adjustment module is configured to enter a combination editing mode in response to an editing event for a first virtual building combination in at least one virtual building combination; in the combination editing mode, in response to an adjustment operation for the first virtual building combination, adjust a target virtual building unit in the first virtual building combination to obtain an adjusted first virtual building combination; The updating module is configured to update the first virtual construction combination in the virtual construction scene to the adjusted first virtual construction combination in response to a completion operation on the adjustment operation.
12. A virtual scene editing device, characterized in that: The device includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, when the editing device of the virtual scene is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the method described in any one of claims 1 to 10 above.
13. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 10 is executed.
