An editing method and device of a virtual scene, a computer device and a storage medium

By displaying the game editing scene and determining the environmental effects information of the target virtual object in the graphical user interface, the cumbersome operation caused by the separate configuration of scene areas in the prior art is solved, and efficient operation of virtual scene editing is achieved.

CN119656580BActive Publication Date: 2026-01-20NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411697704.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2026-01-20
Estimated Expiration
2044-11-25

AI Technical Summary

Technical Problem

In existing technologies, players need to configure the sky background and environmental effects separately for each scene area when editing game scenes, which is cumbersome and affects editing efficiency.

Method used

The game editing scene is displayed through a graphical user interface. In response to scene editing commands, the scene environment editing page of the target virtual object is displayed, the environmental effect information is determined, including the target environmental effect and the effect display range, and the environmental effect is rendered in the game running scene.

Benefits of technology

It improves the efficiency of virtual scene editing, making the operation more convenient, and allows control over the display area of ​​environmental effects based on the position of virtual objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119656580B_ABST
    Figure CN119656580B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a virtual scene editing method and device, computer equipment and a storage medium. The present application displays a game editing scene through a graphical user interface, and the game editing scene is configured to generate a corresponding game running scene in a game running stage. In response to a scene editing instruction, a scene environment editing page corresponding to a target virtual object is displayed. In response to a scene editing operation on the scene environment editing page, environment special effect information corresponding to the target virtual object is determined. In response to a game running instruction, a game running scene corresponding to the game editing scene is generated. According to the position of the target virtual object and the environment special effect information, the environment special effect is rendered in the game running scene. In this way, by setting the display range of the environment special effect corresponding to the virtual object, the display area of the environment special effect can be controlled according to the position of the virtual object in the virtual scene, which is convenient to operate, thereby improving the editing efficiency of the virtual scene.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to a virtual scene editing method and device, computer equipment and storage medium. BACKGROUND

[0002] With the development of the Internet, a large number of different types of games emerge to meet the daily entertainment needs of users. In some games, players can edit the game scene according to their own needs. In the process of creating a game scene, players can configure the sky background and environmental effects of the game scene.

[0003] In related technologies, the player's editing of the game scene is often a separate configuration for each scene area, that is, the game scene is divided into multiple scene areas, and for each scene area, the player needs to configure the sky background and environmental effects, which is cumbersome to operate, thereby affecting the editing efficiency of the game scene. SUMMARY

[0004] The embodiments of the present application provide a virtual scene editing method and device, computer equipment and storage medium, which can improve the editing efficiency of the virtual scene.

[0005] The embodiments of the present application provide a virtual scene editing method, which comprises:

[0006] displaying a game editing scene through a graphical user interface, the game editing scene being configured to generate a corresponding game running scene in a game running stage;

[0007] in response to a scene editing instruction, displaying a scene environment editing page corresponding to a target virtual object;

[0008] in response to a scene editing operation on the scene environment editing page, determining environmental effect information corresponding to the target virtual object, the environmental effect information comprising: a target environmental effect and a target effect display range of the target environmental effect relative to the target virtual object;

[0009] in response to a game running instruction, generating a game running scene corresponding to the game editing scene, the game running scene comprising a target virtual object;

[0010] rendering environmental effects in the game running scene according to the position of the target virtual object and the environmental effect information.

[0011] Correspondingly, the embodiments of the present application also provide a virtual scene editing device, which comprises:

[0012] The first display unit is configured to display a game editing scene through a graphical user interface, the game editing scene being configured to generate a corresponding game running scene in a game running stage.

[0013] The second display unit is configured to display a scene environment editing page corresponding to a target virtual object in response to a scene editing instruction.

[0014] The first determination unit is configured to determine environment special effect information corresponding to the target virtual object in response to a scene editing operation on the scene environment editing page, the environment special effect information including a target environment special effect and a target special effect display range of the target environment special effect relative to the target virtual object.

[0015] The generation unit is configured to generate a game running scene corresponding to the game editing scene in response to a game running instruction, the game running scene including the target virtual object.

[0016] The rendering unit is configured to render an environment special effect in the game running scene according to a position of the target virtual object and the environment special effect information.

[0017] Correspondingly, the embodiment of the present application further provides a computer device, including a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the virtual scene editing method provided by any of the embodiments of the present application.

[0018] Correspondingly, the embodiment of the present application further provides a computer readable storage medium, the computer readable storage medium stores a plurality of instructions, the instructions are suitable for being loaded by a processor to execute the virtual scene editing method as above.

[0019] The embodiment of the present application displays a scene environment editing page corresponding to a target virtual object in response to a scene editing instruction, determines environment special effect information corresponding to the target virtual object in response to a scene editing operation on the scene environment editing page, and displays a game page of a target game, and renders an environment special effect in a game running scene according to a position of the target virtual object and the environment special effect information. In this way, by setting a display range of an environment special effect corresponding to a virtual object, the display area of the environment special effect can be controlled according to the position of the virtual object in the virtual scene, which is convenient to operate, thereby improving the editing efficiency of the virtual scene. BRIEF DESCRIPTION OF DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort based on these drawings.

[0021] Figure 1 A scene schematic diagram of an editing system of a virtual scene provided by an embodiment of the present application.

[0022] Figure 2 A flow schematic diagram of an editing method of a virtual scene provided by an embodiment of the present application.

[0023] Figure 3 An application scene schematic diagram of an editing method of a virtual scene provided by an embodiment of the present application.

[0024] Figure 4 An application scene schematic diagram of another editing method of a virtual scene provided by an embodiment of the present application.

[0025] Figure 5 An application scene schematic diagram of another editing method of a virtual scene provided by an embodiment of the present application.

[0026] Figure 6 An application scene schematic diagram of another editing method of a virtual scene provided by an embodiment of the present application.

[0027] Figure 7 An application scene schematic diagram of another editing method of a virtual scene provided by an embodiment of the present application.

[0028] Figure 8 An application scene schematic diagram of another editing method of a virtual scene provided by an embodiment of the present application.

[0029] Figure 9 An application scene schematic diagram of another editing method of a virtual scene provided by an embodiment of the present application.

[0030] Figure 10 An application scene schematic diagram of another editing method of a virtual scene provided by an embodiment of the present application.

[0031] Figure 11 An application scene schematic diagram of another editing method of a virtual scene provided by an embodiment of the present application.

[0032] Figure 12 An application scene schematic diagram of another editing method of a virtual scene provided by an embodiment of the present application.

[0033] Figure 13Another application scenario schematic diagram of the method for editing a virtual scene provided by the embodiment of the present application.

[0034] Figure 14 Another application scenario schematic diagram of the method for editing a virtual scene provided by the embodiment of the present application.

[0035] Figure 15 Another application scenario schematic diagram of the method for editing a virtual scene provided by the embodiment of the present application.

[0036] Figure 16 Another application scenario schematic diagram of the method for editing a virtual scene provided by the embodiment of the present application.

[0037] Figure 17 Another application scenario schematic diagram of the method for editing a virtual scene provided by the embodiment of the present application.

[0038] Figure 18 A structure block diagram of the editing device of a virtual scene provided by the embodiment of the present application.

[0039] Figure 19 A structure schematic diagram of the computer device provided by the embodiment of the present application. DETAILED DESCRIPTION

[0040] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.

[0041] Embodiments of the present application provide a virtual scene editing method and device, a storage medium and a computer device. Specifically, the virtual scene editing method of embodiments of the present application can be executed by a computer device, which can be a terminal or a server. The terminal can be a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA), and the like. The terminal can also include a client, which can be a game application client, a browser client carrying a game program, an instant messaging client, or the like. The server can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and basic cloud computing services such as big data and artificial intelligence platforms.

[0042] For example, when the virtual scene editing method is run on a terminal, the terminal device stores a game application program and is used to present a virtual scene in a game picture. The terminal device is used to interact with the user through a graphical user interface, for example, by downloading and installing the game application program on the terminal device and running it. The terminal device can provide the graphical user interface to the user in various ways, for example, by rendering and displaying it on the display screen of the terminal device, or by presenting the graphical user interface through holographic projection. For example, the terminal device can include a touch display screen and a processor, the touch display screen being used to present a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface, the graphical user interface including a game picture, and the processor being used to run the game, generate the graphical user interface, respond to the operation instructions, and control the display of the graphical user interface on the touch display screen.

[0043] For example, when the virtual scene editing method is run on a server, it can be cloud gaming. Cloud gaming refers to a game mode based on cloud computing. In the running mode of cloud gaming, the running body of the game application and the game picture presentation body are separated, and the storage and running of the virtual scene editing method are completed on the cloud gaming server. The game picture presentation is completed on the cloud gaming client. The cloud gaming client is mainly used for receiving, sending game data and presenting game pictures. For example, the cloud gaming client can be a display device close to the user side with data transmission function, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, etc., but the terminal device for game data processing is the cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send operation instructions to the cloud gaming server, the cloud gaming server runs the game according to the operation instructions, encodes and compresses the game picture data, returns the data to the cloud gaming client through the network, and finally decodes and outputs the game picture through the cloud gaming client.

[0044] Please refer to Figure 1 , Figure 1 A scene schematic diagram of a virtual scene editing system provided by the embodiments of the present application. The system can include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the server of different games through the network. The terminal is any device with computing hardware that can support and execute the software product corresponding to the game. In addition, the terminal has one or more multi-touch screens for sensing and obtaining the input of the user's touch or sliding operation performed at one or more points on the touch display screen. In addition, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and through different servers. The network can be a wireless network or a wired network, such as a wireless network, a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals 1000 can also use their own Bluetooth network or hotspot network to connect to other terminals or servers, etc. For example, multiple users can be online through different terminals to support multi-player games by connecting through appropriate networks and synchronizing with each other. In addition, the system can include multiple databases, which are coupled to different servers and can continuously store information related to the game environment in the database when different users are online for multi-player games.

[0045] Embodiments of the present application provide a method for editing a virtual scene. The method can be performed by a terminal or a server. Embodiments of the present application are described by taking the method for editing a virtual scene performed by a terminal as an example. The terminal includes a touch display screen and a processor. The touch display screen is configured to present a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. When the user operates the graphical user interface through the touch display screen, the graphical user interface can control the content of the terminal locally in response to the received operation instructions, or control the content of a server at the other end in response to the received operation instructions. For example, the operation instructions generated by the user acting on the graphical user interface include instructions for starting a game application. The processor is configured to start the game application after receiving the instructions for starting the game application provided by the user. In addition, the processor is configured to render and draw a graphical user interface associated with the game on the touch display screen. The touch display screen is a multi-touch screen capable of sensing the touch or sliding operation of multiple points on the screen simultaneously. The user uses a finger to perform a touch operation on the graphical user interface. When the graphical user interface detects the touch operation, it controls different virtual objects in the game to perform actions corresponding to the touch operation. For example, the game can be any one of a casual game, an action game, a role-playing game, a strategy game, a sports game, a puzzle game, etc. The game can include a virtual scene of the game. In addition, the virtual scene of the game can include one or more virtual objects controlled by the user (or player), such as a virtual character. In addition, the virtual scene of the game can also include one or more obstacles, such as a railing, a ditch, a wall, etc., to limit the movement of the virtual object, for example, to limit the movement of one or more objects to a specific area within the virtual scene. Optionally, the virtual scene of the game also includes one or more elements, such as skills, scores, character health status, energy, etc., to provide assistance to the player, provide virtual services, increase scores related to the player's performance, etc. In addition, the graphical user interface can also present one or more indicators to provide indication information to the player. For example, the game can include a virtual object controlled by the player and one or more other virtual objects (such as enemy characters). In an embodiment, the one or more other virtual objects are controlled by other players of the game. For example, the one or more other virtual objects can be controlled by a computer, such as a robot using an artificial intelligence (AI) algorithm, to implement a man-machine combat mode. For example, the virtual object has various skills or abilities used by the game player to achieve the goal. For example, the virtual object has one or more weapons, props, tools, etc. that can be used to eliminate other objects from the game. Such skills or abilities can be activated by the game player using one of the plurality of preset touch operations of the touch display screen of the terminal. The processor can be configured to present a corresponding game screen in response to the operation instructions generated by the user's touch operation.

[0046] It should be noted that,Figure 1 The scene diagram of the virtual scene editing system shown is merely an example. The image processing system and scene described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of virtual scene editing systems and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0047] To address the aforementioned problems, this application provides a first method, apparatus, computer device, and storage medium for editing virtual scenes, which can improve the efficiency of editing virtual scenes. These will be described in detail below. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.

[0048] This application provides a method for editing a virtual scene, which can be executed by a terminal or a server. This application example illustrates the method for editing a virtual scene by executing it by a terminal.

[0049] Please see Figure 2 , Figure 2 This is a flowchart illustrating a virtual scene editing method provided in an embodiment of this application. The specific flow of the virtual scene editing method is as follows:

[0050] 101. Display the game editing scene through the graphical user interface.

[0051] In this embodiment, a graphical user interface is provided via a terminal. The game editing scene can then be displayed through the graphical user interface.

[0052] The game editing scene can be configured to generate a corresponding game running scene during the game running phase.

[0053] In some embodiments, the game editing scene can be a virtual scene that a player customizes and edits in the target game.

[0054] Among them, the target game offers gameplay that allows players to create and edit virtual scenes, enabling them to build different virtual scenes according to their own needs for gameplay.

[0055] 102. In response to a scene editing command, display the scene environment editing page corresponding to the target virtual object.

[0056] Among them, the scene editing command instructs you to edit the environment of the game scene.

[0057] The target virtual object refers to a virtual object that needs to be set with the scene environment information. In the embodiments of the present application, after the target virtual object is set with the scene environment information, a scene environment effect corresponding to the set environment scene information can be rendered and displayed in a virtual scene where the target virtual object is located.

[0058] In the embodiments of the present application, the target virtual object can be determined in the following manner:

[0059] The associated virtual object of the scene environment editing page by default;

[0060] In response to the association instruction, an associated virtual object corresponding to the scene environment editing page is determined from a set of virtual objects to be associated, wherein the set of virtual objects to be associated includes at least one of the following: a virtual object component located in a game editing scene, and a system-provided selectable virtual object.

[0061] The associated virtual object of the scene environment editing page by default can include a virtual object that can be bound for environment editing in the scene environment editing page and exists in the current game editing scene designated by the system. For example, the virtual object can include a game scene element, a player character, an NPC, and the like.

[0062] The association instruction is used to indicate an associated virtual object selected from the set of virtual objects to be associated and associated with the scene environment editing page. The association instruction is triggered by a game player.

[0063] The virtual object component located in the game editing scene can include an NPC in the game editing scene.

[0064] For example, when a player edits a scene map, the player can set multiple different NPCs in the scene map, and then the player can select an associated object from the NPCs, so that, during game running, the environment special effect of the game running scene can be rendered following the environment special effect information of the NPC.

[0065] The system-provided selectable virtual object can include a virtual object that can be created in the game editing scene by the system.

[0066] For example, when a player edits a scene map, a virtual object selection list is provided by the system, the virtual object selection list includes multiple virtual object controls, and the player can select a virtual object corresponding to a virtual object control from the virtual object list as a target virtual object. The system-provided selectable virtual object can be a player character or another player character participating in the game.

[0067] In some embodiments, the scene editing instruction can be triggered by a user operation during the building of the virtual scene. Then, the step of "displaying a scene environment editing page corresponding to the target virtual object in response to the scene editing instruction" can include the following operations:

[0068] displaying a scene editing main page of the target game through a graphical user interface;

[0069] displaying a scene environment editing page in response to a triggering operation on the environment editing control.

[0070] The scene editing main page can be used for the player to edit the virtual scene. The scene editing main page can display a game editing scene, which can be the virtual scene built by the current player. The scene editing main page can also provide a plurality of editing controls for editing the virtual scene.

[0071] For example, refer to Figure 3 , Figure 3 An application scenario diagram of a virtual scene editing method provided by an embodiment of the present application. Figure 3 A scene editing main page of the target game is shown, which displays a game editing scene built by the user, and the game editing scene includes a plurality of scene objects. The scene editing main page can also provide an editing operation area, which includes a plurality of editing controls for editing the game editing scene.

[0072] The scene editing main page can also provide an environment editing control, which can be used to trigger editing of the environment of the virtual scene.

[0073] In the embodiment of the present application, the triggering operation can include a touch operation, such as a click operation, a press operation, a sliding operation, etc.

[0074] For example, refer to Figure 4 , Figure 4 An application scenario diagram of another virtual scene editing method provided by an embodiment of the present application. Figure 4 The upper side shows a scene editing main page of the target game, which includes an environment editing control. When a click operation of the player on the environment editing control is detected, a scene environment editing page can be triggered to be displayed. That is, Figure 4 The scene environment editing page shown on the lower side. The scene environment editing page can be used to edit the environment of the virtual scene.

[0075] In some embodiments, the scene editing main page can include a plurality of virtual objects, a player can select a target virtual object from the plurality of virtual objects in the scene editing main page, and then display a scene environment editing page corresponding to the target virtual object by triggering the environment editing control. The step of "displaying a scene environment editing page corresponding to the target virtual object in response to a scene editing instruction" can include the following operations:

[0076] displaying a scene editing main page of a target game through a graphical user interface;

[0077] determining a target virtual object in response to a selection operation on a plurality of virtual objects in the scene editing main page;

[0078] displaying a scene environment editing page corresponding to the target virtual object in response to a triggering operation on the environment editing control.

[0079] For example, please refer to Figure 5 , Figure 5 Another application scenario of the virtual scene editing method provided by the embodiments of the present application is shown in the figure. Figure 5 The upper side shows a scene editing main page of a target game, which can include a plurality of virtual objects: virtual object A and virtual object B. When detecting a click operation of a player on virtual object A, virtual object A can be determined as a target virtual object.

[0080] Further, when detecting a click operation of a player on the environment editing control, a scene environment editing page corresponding to virtual object A can be triggered to be displayed. That is, the scene editing page shown in the lower side is obtained, which displays information of virtual object A, indicating that the scene environment editing page can be used for scene environment editing of virtual object A. Figure 5

[0081] In some embodiments, the scene environment editing page can include a plurality of candidate virtual objects, a player can select a target virtual object from the plurality of candidate virtual objects in the scene environment editing page, and then display scene environment editing content of the target virtual object in the scene environment editing page.

[0082] The step of "displaying a scene environment editing page corresponding to the target virtual object in response to a scene editing instruction" can include the following operations:

[0083] displaying a scene editing main page of a target game through a graphical user interface;

[0084] displaying a scene environment editing page in response to a triggering operation on the environment editing control;

[0085] ​In response to a selection operation on the plurality of candidate virtual objects in the scene environment editing page, a target virtual object is determined, and a scene environment editing page corresponding to the target virtual object is displayed.

[0086] For example, refer to Figure 6 , Figure 6 Another application scenario of the virtual scene editing method provided in the embodiments of the present application is shown in the figure. Figure 6 The upper side shows a scene editing main page of a target game, in which an environment editing control is provided. When a click operation on the environment editing control is detected, a scene environment editing page is triggered to be displayed.

[0087] That is, the scene environment editing page shown in the lower side is obtained, which includes a plurality of candidate virtual objects: virtual object C and virtual object D. When a click operation on the virtual object C is detected, scene environment editing content of the virtual object C is displayed in the scene environment editing page. The virtual object C is highlighted, indicating that the scene environment editing page can be edited according to the scene environment of the virtual object C. Figure 6

[0088] 103. In response to a scene editing operation on the scene environment editing page, environment special effect information corresponding to the target virtual object is determined.

[0089] In the embodiments of the present application, the scene editing operation on the scene environment editing page indicates that the target virtual object corresponding to the scene environment editing page is edited for environment special effect information, that is, the scene environment information corresponding to the target virtual object is set.

[0090] The environment special effect information can at least include: a target environment special effect and a target special effect display range of the target environment special effect relative to the target virtual object.

[0091] In the embodiments of the present application, a plurality of preset environment special effects can be provided in the target game. The environment special effects can be added to the virtual scene to achieve different environment atmosphere effects of the virtual scene. For example, the environment special effects can include: aurora, snow mountain, cloud layer, wind, rain, etc.

[0092] The special effect display range of the environment special effect relative to the target virtual object refers to a display area of the environment special effect relative to the target virtual object in the virtual scene.

[0093] The determination method of the special effect display range can include a plurality of methods, for example, the distance between the position of the virtual object and the environment special effect, and the coverage range of the environment special effect can be used for determination.

[0094] ​In some embodiments, the scene environment editing page can provide at least one candidate environment effect. The step "in response to a scene editing operation on the scene environment editing page, determine the environment effect information corresponding to the target virtual object" can include the following operations:

[0095] In response to a selection operation for at least one candidate environmental effect, a target environmental effect is determined;

[0096] In response to editing operations on the display range of the target environment effect, determine the display range of the target effect;

[0097] Based on the target environment effects and the display range of the target effects, the environment effect information is obtained.

[0098] Among them, the candidate environment effects provided in the scene environment editing page can be preset environment effects in the target game.

[0099] In some embodiments, if the scene environment editing page can provide an effects selection control, then the step "determine the target environment effect in response to a selection operation for at least one candidate environment effect" may include the following operations:

[0100] In response to a trigger action on the effect selection control, display multiple candidate environmental effects;

[0101] In response to a trigger operation for a candidate environmental effect among multiple candidate environmental effects, the target environmental effect is obtained based on the candidate environmental effect corresponding to the trigger operation.

[0102] For example, please see Figure 7 , Figure 7 This is a schematic diagram illustrating an application scenario of another virtual scene editing method provided in an embodiment of this application. Figure 7 The top panel shows the scene environment editing page for the target virtual object, which can be virtual object A. This scene editing page provides an effects selection control. When a player clicks on the effects selection control, multiple candidate environment effects can be displayed.

[0103] That is, to obtain Figure 7 The scene environment editing page shown below displays multiple candidate environment effects, including: Environment Effect 1, Environment Effect 2, Environment Effect 3, etc. Furthermore, when a player's click on Environment Effect 1 is detected, Environment Effect 1 can be identified as the target environment effect.

[0104] In some embodiments, the scene environment editing page may include a first editing area, which can be used to edit the display range of the target effect corresponding to the target environment effect. Then, the step "in response to the display range editing operation for the target environment effect, determine the display range of the target effect" may include the following operations:

[0105] display a range editing component corresponding to the target environmental special effect in the first editing area;

[0106] In response to an editing operation on the range editing component, determine the target special effect display range.

[0107] The range editing component is used to edit the special effect display range of the environmental special effect.

[0108] In some embodiments, in order to facilitate the player to adjust the target special effect display range of the target environmental special effect relative to the target virtual object, the object identifier of the target virtual object can be included in the first editing area, and the range editing component can be a target shape component; then the step of "displaying a range editing component corresponding to the target environmental special effect in the first editing area" can include the following operations:

[0109] In the first editing area, display the object identifier and the target shape component in a first relative position relationship.

[0110] In some embodiments, the shape of the target shape component can be a ring shape or other shapes.

[0111] In some embodiments, the setting mode of the shape of the target shape component can include at least one of the following:

[0112] System default setting;

[0113] Player self-defined setting;

[0114] The player selects and sets from a plurality of shapes provided by the system.

[0115] The system default setting indicates that the shape of the target shape component is a system default shape, such as a ring shape, etc.

[0116] The player self-defined setting indicates that the player can draw the shape of the range editing component according to his own needs.

[0117] The player selects and sets from a plurality of shapes provided by the system, which indicates that the system can provide a plurality of selectable shapes, and the player can select one of the plurality of selectable shapes as the shape of the range editing component.

[0118] The first relative position relationship can be set according to different shapes of the target shape component, and can be set by player self-defined setting or system default setting, etc.

[0119] In some embodiments, the shape of the target shape component can be annular, i.e., the target shape component is an annular component, and displaying the object identifier and the target shape component in the first relative position relationship in the first editing area can include: displaying the annular component centered on the object identifier in the first editing area.

[0120] For example, refer to Figure 8 , Figure 8 Another application scenario of the virtual scene editing method provided by the embodiments of the present application is shown in the figure. Figure 8 A scene environment editing page of a target virtual object is shown, and the target virtual object can be virtual object A. The scene environment editing page provides a first editing area, which displays an object identifier of virtual object A and an annular component centered on the object identifier, which is also a range editing component corresponding to virtual object A.

[0121] In some embodiments, the shape of the target shape component can be rectangular, i.e., the target shape component is a rectangular component, and displaying the object identifier and the target shape component in the first relative position relationship in the first editing area can include: displaying the rectangular component centered on the object identifier in the first editing area, etc.

[0122] In some embodiments, the target shape component can be an annular component, and the step of "determining a target special effect display range of the target environment special effect corresponding to the target virtual object in response to an editing operation on the range editing component" can include:

[0123] In response to a distance adjustment operation on the annular component and the object identifier, determining a distance between the target environment special effect corresponding to the annular component and the position of the target virtual object based on the adjusted distance;

[0124] In response to a distance adjustment operation on the inner ring and the outer ring of the annular component, determining a display width of the target environment special effect based on the adjusted distance;

[0125] Based on the distance and / or the display width, obtaining a target special effect display range of the target environment special effect relative to the target virtual object.

[0126] The distance adjustment operation on the annular component and the object identifier can be used to adjust the distance between the annular component and the object identifier.

[0127] The distance between the target environment special effect corresponding to the annular component and the position of the target virtual object based on the adjusted distance can include: taking the adjusted distance between the annular component and the object identifier as the distance between the target environment special effect and the position of the target virtual object.

[0128] For example, refer to Figure 9 , Figure 9Another application scenario diagram of the method for editing a virtual scene provided in the embodiments of the present application is shown in FIG. 6. Figure 9 The upper side shows a scene environment editing page of a virtual object A, wherein the object identifier of the virtual object A and a ring-shaped component centered on the object identifier are displayed in the first editing area. The distance between the object identifier and the ring-shaped component can be L1. When detecting a distance adjustment operation of the ring-shaped component and the object identifier by the player, the adjusted distance can be determined according to the adjustment operation.

[0129] That is, L2 is obtained. Figure 9 The adjusted distance between the object identifier and the ring-shaped component shown in the lower side of the scene environment editing page can be L2, and L2 can be used as the distance between the target environmental effect and the position of the target virtual object. L2 < L1.

[0130] The distance adjustment operation of the inner ring and the outer ring of the ring-shaped component can be used to adjust the distance between the inner ring and the outer ring of the ring-shaped component, that is, to adjust the ring width of the ring-shaped component.

[0131] The determination of the display width of the target environmental effect based on the adjusted distance can include: using the adjusted distance between the inner ring and the outer ring of the ring-shaped component as the display width of the target environmental effect.

[0132] For example, refer to Figure 10 , Figure 10 Another application scenario diagram of the method for editing a virtual scene provided in the embodiments of the present application is shown in FIG. 6. Figure 10 The upper side shows a scene environment editing page of a virtual object A, wherein the object identifier of the virtual object A and a ring-shaped component centered on the object identifier are displayed in the first editing area. The distance between the object identifier and the ring-shaped component can be L1. When detecting a distance adjustment operation of the ring-shaped component and the object identifier by the player, the adjusted distance can be determined according to the adjustment operation.

[0133] That is, L2 is obtained. Figure 10 The adjusted distance between the object identifier and the ring-shaped component shown in the lower side of the scene environment editing page can be L2, and L2 can be used as the distance between the target environmental effect and the position of the target virtual object. L2 < L1.

[0134] Finally, the target environmental effect display range of the target environmental effect relative to the target virtual object is determined according to the distance between the target environmental effect and the position of the target virtual object and / or the display width of the target environmental effect.

[0135] In some embodiments, the step of “determining the target effect display range in response to the editing operation on the range editing component” can include the following operations:

[0136] In response to the distance adjustment operation for the target shape component and the object identifier, a distance between the target environmental special effect and the position of the target virtual object is determined based on the adjusted distance.

[0137] Based on the distance, the target special effect display range is determined.

[0138] Specifically, through the distance adjustment operation between the ring-shaped component and the object identifier, the adjusted distance between the ring-shaped component and the object identifier is obtained, and then the distance can be used as the distance between the target environmental special effect and the position of the target virtual object. Then, according to the distance between the target environmental special effect and the position of the target virtual object, the display range of the target environmental special effect is determined as the target special effect display range.

[0139] In some embodiments, the target shape component can be a ring-shaped component; and the step of “determining the target special effect display range in response to the editing operation for the range editing component” can include the following operations:

[0140] In response to the distance adjustment operation between the inner ring and the outer ring of the ring-shaped component, the display width of the target environmental special effect is determined based on the adjusted distance.

[0141] Based on the display width, the target special effect display range is determined.

[0142] Specifically, through the distance adjustment operation between the inner ring and the outer ring of the ring-shaped component, the adjusted distance between the inner ring and the outer ring is obtained, and then the distance can be used as the display width of the target environmental special effect. Then, according to the display width of the target environmental special effect, the display range of the target environmental special effect can be determined as the target special effect display range.

[0143] In some embodiments, when the player edits the scene environment of the target virtual object, the player can select multiple target environmental special effects for superimposition. That is, the target environmental special effects include multiple target environmental special effects, and the first editing area includes the ring-shaped components corresponding to the target environmental special effects respectively. Then, the method can further include the following steps:

[0144] In response to the position switching operation between at least two target shape components in the first editing area, the special effect display ranges of the target environmental special effects corresponding to the at least two target shape components are updated based on the switched positions.

[0145] The position switching operation can be used to switch the positions of the at least two target shape components relative to the object identifier in the first editing area.

[0146] For example, the first editing area can include a first target shape component and a second target shape component, and the first target shape component and the second target shape component correspond to different target environmental effects respectively. The position switching operation on the first target shape component and the second target shape component can include: interchanging the positions of the first target shape component and the second target shape component.

[0147] The position updating can include: interchanging the distances between the target environmental effects corresponding to the at least two target shape components and the target virtual object after the switching.

[0148] In some embodiments, taking a ring-shaped component as an example, please refer to Figure 11 , Figure 11 Another application scenario diagram of the editing method of the virtual scene provided by the embodiments of the present application. Figure 11 The upper side shows a scene environment editing page of a virtual object A, wherein the first editing area displays an object identifier of the virtual object A, and a first ring-shaped component and a second ring-shaped component centered on the object identifier. The first ring-shaped component corresponds to a first environmental effect, and the second ring-shaped component corresponds to a second environmental effect. The distance between the first ring-shaped component and the object identifier can be L1, and the distance between the second ring-shaped component and the object identifier can be L2.

[0149] When detecting a sliding operation between the first ring-shaped component and the second ring-shaped component by the player, the positions of the first ring-shaped component and the second ring-shaped component can be interchanged. That is, Figure 11 The lower side shows a scene environment editing page. The positions of the first ring-shaped component and the second ring-shaped component are interchanged, the distance between the first ring-shaped component and the object identifier can be L2, and the distance between the second ring-shaped component and the object identifier can be L1. At the same time, the distance between the first environmental effect corresponding to the first ring-shaped component and the target virtual object is updated from L1 to L2, and the distance between the second environmental effect corresponding to the second ring-shaped component and the target virtual object is updated from L2 to L1. In this way, the player can quickly adjust the effect display range of multiple target environmental effects.

[0150] In some embodiments, the step of "determining the target effect display range in response to the display range editing operation of the target environmental effect" can include the following operations:

[0151] In response to the triggering operation of the target environmental effect, a second editing area corresponding to the target environmental effect is displayed.

[0152] In response to the configuration operation of the environmental range parameter, the target effect display range is obtained.

[0153] In the embodiment of the present application, when the selection operation of the candidate environment effect is determined as the target environment effect, the target environment effect can be displayed on the scene environment editing page.

[0154] For example, refer to Figure 12 , Figure 12 Another application scenario diagram of the editing method of the virtual scene provided in the embodiment of the present application is shown. Figure 12 The scene environment editing page of the virtual object A is shown, which can be provided with a first editing area, which displays the object identifier of the virtual object A, and a first ring component and a second ring component centered on the object identifier. Among them, the first ring component is used to adjust the effect display range of the snow mountain environment effect; the second ring component can be used to adjust the effect display range of the aurora environment effect.

[0155] Among them, the scene environment editing page can also be provided with an editing subpage, which displays the target environment effect, which can include: aurora, snow mountain. The editing subpage can also be provided with a close control, which can be used to close the editing subpage.

[0156] Among them, the editing subpage can also be provided with an added environment layer control, which can be used to add an environment effect.

[0157] In some embodiments, the method can further include the following steps:

[0158] In response to the environment effect adding operation on the scene environment editing page, the added environment effect is determined;

[0159] Based on the added environment effect and the effect display range of the added environment effect relative to the target virtual object, the environment effect information is updated.

[0160] Among them, the environment effect adding operation on the scene environment editing page can include a trigger operation on the added environment layer control in the editing subpage, and then the environment effect to be added can be selected from the multiple candidate environment effects provided by the target game as the added environment effect.

[0161] After determining the added environment effect, the effect display range of the added environment effect can be set, and then the environment effect information can be updated according to the added environment effect and the effect display range of the added environment effect relative to the target virtual object. Specifically, the added environment effect and the effect display range of the added environment effect relative to the target virtual object can be added to the determined environment effect information.

[0162] In some embodiments, the editing subpage can also be provided with a setting control corresponding to the target environment effect, such as Figure 12The setting control corresponding to the "aurora" environmental effect of the editing sub-page and the setting control corresponding to the "snow mountain" environmental effect. The triggering operation for the target environmental effect can include the triggering operation of the setting control corresponding to the target environmental effect in the editing sub-page.

[0163] For example, refer to Figure 13 , Figure 13 Another application scenario diagram of the editing method of the virtual scene provided by the embodiment of the present application. Figure 13 The upper side shows the scene environment editing page of the virtual object A. When the click operation of the player on the editing control corresponding to the "aurora" environmental effect is detected, the second editing area corresponding to the "aurora" environmental effect can be triggered to be displayed.

[0164] That is, the scene environment editing page shown in the lower side is obtained, wherein the second editing area corresponding to the "aurora" environmental effect is displayed, and the second editing area can provide the environmental range parameter corresponding to the "aurora" environmental effect. The environmental range parameter can be used to edit the effect display range of the "aurora" environmental effect. Figure 13

[0165] In some embodiments, the environmental range parameter in the second editing area can include a thickness parameter and a distance parameter. Then, the step of "obtaining a target effect display range in response to the configuration operation of the environmental range parameter" can include the following operations:

[0166] In response to the configuration operation of the distance parameter, determining the distance between the target environmental effect and the position of the target virtual object based on the configured distance parameter;

[0167] In response to the configuration operation of the thickness parameter, determining the display width of the target environmental effect based on the configured thickness parameter;

[0168] Based on the distance and the display width, obtaining the target effect display range of the target environmental effect relative to the target virtual object.

[0169] The thickness parameter can be used to adjust the display width of the target environmental effect, and the distance parameter can be used to adjust the distance between the target environmental effect corresponding to the target shape component and the position of the target virtual object.

[0170] The distance between the target environmental effect corresponding to the target shape component and the position of the target virtual object based on the configured distance parameter can include: taking the configured distance parameter as the distance between the target environmental effect corresponding to the target shape component and the position of the target virtual object.

[0171] ​The display width of the target environment special effect can be determined based on the configured thickness parameter.

[0172] For example, refer to Figure 14 , Figure 14 An application scenario diagram of another editing method of a virtual scene provided by an embodiment of the present application is shown. Figure 14 The scene environment editing page of the virtual object A is shown, and the second editing area corresponding to the "aurora" environment special effect is displayed. When the configuration operation of the player on the thickness parameter and the distance parameter in the second editing is detected, the configured thickness parameter is 6, and the configured distance parameter is 4.

[0173] The configured distance parameter 4 can be used as the distance between the target environment special effect corresponding to the ring component and the position of the target virtual object, and the configured thickness parameter 6 can be used as the display width of the target environment special effect.

[0174] Finally, the target special effect display range of the target environment special effect relative to the target virtual object is determined according to the distance between the target environment special effect and the position of the target virtual object and the display width of the target environment special effect.

[0175] In some embodiments, when the special effect display range of the environment special effect is adjusted through the second editing area, in order to facilitate the player to preview the adjusted effect, the method can further include the following steps:

[0176] In response to the configuration operation on the environment range parameter, the target shape component in the first editing area is updated and displayed based on the configured environment range parameter.

[0177] The target shape component in the first editing area is updated and displayed based on the configured environment range parameter, which can include adjusting the distance between the target shape component and the object identifier in the first editing area according to the adjusted distance parameter, and adjusting the distance between the inner ring and the outer ring of the target shape component in the first editing area according to the adjusted thickness parameter.

[0178] In some embodiments, each environment special effect of the target game can include multiple special effect types, and the second editing area can further provide an environment type editing control. The environment type editing control can be used to select a target special effect type from the multiple special effect types. The method can further include the following steps:

[0179] In response to the editing operation on the environment type editing control, the target special effect type is determined from the multiple special effect types corresponding to the target environment special effect.

[0180] For example, refer to Figure 15 , Figure 15Another application scenario diagram of the method for editing a virtual scene provided in the embodiment of the present application is shown. Figure 15 The scene environment editing page of the virtual object A is shown, and the second editing area corresponding to the "aurora" environmental effect is displayed. The environmental type editing control can also be provided in the second editing area.

[0181] When the click operation of the environmental type editing control is detected, the multiple effect types corresponding to the "aurora" environmental effect can be triggered to be displayed, and then the target effect type can be selected from the multiple effect types, that is, the target effect type is taken as the display effect of the "aurora" environmental effect in the virtual scene.

[0182] Then, the step of "obtaining environmental effect information based on the target environmental effect and the target effect display range" can include the following operations:

[0183] The environmental effect information is obtained based on the target effect type under the target environmental effect and the target effect display range.

[0184] For example, the target environmental effect can include an aurora effect, and the target effect type can include a first aurora effect. Then, the first aurora effect and the target effect display range obtained by editing can be taken as the environmental effect information.

[0185] 104、In response to a game running instruction, a game running scene corresponding to the game editing scene is generated.

[0186] The game running scene includes a target virtual object.

[0187] The game running instruction indicates entering the game in the target game, so that the game running scene can be generated according to the game editing scene created by the game player, and the screen corresponding to the game running scene can be displayed on the graphical user interface.

[0188] 105、According to the position of the target virtual object and the environmental effect information, the environmental effect is rendered in the game running scene.

[0189] According to the position of the target virtual object and the environmental effect information, the environmental effect is rendered in the game running scene, which can include: determining the display area of the target environmental effect in the game running scene according to the position of the target virtual object in the game running scene and the target effect range in the environmental effect information, and then rendering and displaying the environmental effect corresponding to the target environmental effect in the display area.

[0190] For example, please refer to Figure 16 , Figure 16 Another application scenario diagram of the method for editing a virtual scene provided in the embodiment of the present application is shown. Figure 16A game page of a target game is shown, which can include a virtual scene (i.e., a game running scene) and a target virtual object in the virtual scene.

[0191] The first scene region in the virtual scene is used to display an environment effect of the first target environment effect, and the second scene region is used to display an environment effect of the second environment effect. The first scene region is determined according to a display range of the first target environment effect relative to a position of the target virtual object; and the second scene region is determined according to a display range of the second environment effect relative to the position of the target virtual object.

[0192] For example, the first target environment effect can be an aurora environment effect, and the second target environment effect can be a cloud layer environment effect. In the virtual scene, the periphery of the position of the target virtual object is sequentially displayed with the cloud layer environment effect and the aurora environment effect.

[0193] In some embodiments, the environment effect information edited for the target virtual object is displayed according to the position of the target virtual object. When the target virtual object moves in the virtual scene, the environment effect corresponding to the environment effect information will also move with the target virtual object.

[0194] In an optional implementation, the present application also provides an independent and effect-different environment effect component. In the process of editing a game scene, an environment effect component is created in the game editing scene, wherein the environment effect component is a geometric body with a volume range. In the game editing scene space range defined by the geometric body, the effect corresponding to the environment effect component is rendered. In the game running stage, the effect is rendered at the position corresponding to the environment effect component.

[0195] For example, refer to Figure 17 , Figure 17 Another application scenario diagram of the virtual scene editing method provided by the embodiments of the present application is shown. Figure 17 The upper side shows a game editing scene built by a user in a target game, which can include scene objects. The graphical user interface can also provide a component region, which can include a plurality of environment effect components, such as environment effect component a, environment effect component b, environment effect component c, environment effect component d, and environment effect component e, etc. The environment effect component can be used to determine the range of the edited environment effect in the game editing scene.

[0196] When it is detected that the user drags the environment effect component e in the component region to the game editing scene, the creation of the environment effect component e in the game editing scene can be triggered to determine the corresponding environment effect range in the game editing scene according to the environment effect component e, that is, Figure 17The graphical user interface shown in the lower side, wherein the environment effect range corresponding to the environment effect component e is displayed in the game editing scene, and the user can further adjust the parameters of the created environment effect component e to adjust the environment effect range. Thus, the user can set the environment effect effect in the environment effect range in the game editing scene.

[0197] In an optional embodiment, when editing the scene through the scene environment editing page, the independent environment effect component provided by the system is combined by acquiring the parameters such as the effect type, effect range, shape, etc. set in the scene environment editing page, and the range, shape, etc. of the corresponding environment effect component are adjusted through the effect range, shape, etc. At the same time, at the game running stage, the adjusted environment effect component is controlled to move along with the movement of the target virtual object, and the corresponding environment effect is rendered according to the range, shape, etc. of the environment effect component.

[0198] In an optional embodiment, when editing the scene through the scene environment editing page, the environment effect information determined through the editing operation is acquired, and at the game running stage, the corresponding environment effect is rendered in the game scene according to the environment effect information.

[0199] The embodiment of the application discloses an editing method of a virtual scene, which comprises the following steps: displaying a game editing scene through a graphical user interface, wherein the game editing scene is configured to generate a corresponding game running scene at a game running stage; in response to a scene editing instruction, displaying a scene environment editing page corresponding to a target virtual object; in response to a scene editing operation on the scene environment editing page, determining environment effect information corresponding to the target virtual object, wherein the environment effect information comprises a target environment effect and a target effect display range of the target environment effect relative to the target virtual object; in response to a game running instruction, generating a game running scene corresponding to the game editing scene, wherein the game running scene comprises the target virtual object; and rendering the environment effect in the game running scene according to the position of the target virtual object and the environment effect information. In this way, the editing efficiency of the virtual scene can be improved.

[0200] In order to better implement the editing method of the virtual scene provided by the embodiment of the application, the embodiment of the application further provides an editing device of the virtual scene based on the above-mentioned editing method of the virtual scene. The meanings of the terms are the same as those in the above-mentioned editing method of the virtual scene, and specific implementation details can be referred to the description in the method embodiment.

[0201] Please refer to Figure 18 , Figure 18 The structure block diagram of the editing device of the virtual scene provided by the embodiment of the application, which comprises:

[0202] The first display unit 301 is configured to display a game editing scene through a graphical user interface, the game editing scene being configured to generate a corresponding game running scene in a game running stage.

[0203] The second display unit 302 is configured to display a scene environment editing page corresponding to a target virtual object in response to a scene editing instruction.

[0204] The first determination unit 303 is configured to determine environment special effect information corresponding to the target virtual object in response to a scene editing operation on the scene environment editing page, the environment special effect information including a target environment special effect and a target special effect display range of the target environment special effect relative to the target virtual object.

[0205] The generation unit 304 is configured to generate a game running scene corresponding to the game editing scene in response to a game running instruction, the game running scene including a target virtual object.

[0206] The rendering unit 305 is configured to render an environment special effect in the game running scene according to a position of the target virtual object and the environment special effect information.

[0207] In some embodiments, the target virtual object is determined by the following way:

[0208] The scene environment editing page is associated with a virtual object by default.

[0209] In response to an association instruction, an associated virtual object corresponding to the scene environment editing page is determined from a set of virtual objects to be associated.

[0210] The set of virtual objects to be associated includes at least one of the following: a virtual object component located in the game editing scene, and a selectable virtual object provided by a system.

[0211] In some embodiments, the scene environment editing page provides at least one candidate environment special effect, and the first determination unit 303 can include:

[0212] A first determination subunit is configured to determine the target environment special effect in response to a selection operation on the at least one candidate environment special effect.

[0213] A second determination subunit is configured to determine the target special effect display range in response to a display range editing operation on the target environment special effect.

[0214] A third determination subunit is configured to obtain the environment special effect information based on the target environment special effect and the target special effect display range.

[0215] In some embodiments, the scene environment editing page includes a first editing area.

[0216] The second determining sub-unit can be specifically used for:

[0217] The first editing area displays the range editing component corresponding to the target environmental special effect, and the range editing component can be used to edit the special effect display range of the environmental special effect.

[0218] In response to an editing operation on the range editing component, the target special effect display range is determined.

[0219] In some embodiments, the object identifier of the target virtual object is included in the first editing area, and the range editing component is a target shape component.

[0220] The second determining sub-unit can be specifically used for:

[0221] In the first editing area, the object identifier and the target shape component are displayed in a first relative positional relationship.

[0222] In some embodiments, the shape of the target shape component includes a ring shape or other shapes.

[0223] In some embodiments, the setting mode of the shape of the target shape component includes at least one of the following:

[0224] System default setting;

[0225] Player self-defined setting;

[0226] The player selects a shape from a plurality of shapes provided by the system.

[0227] In some embodiments, the second determining sub-unit can be specifically used for:

[0228] In response to a distance adjustment operation on the target shape component and the object identifier, the distance between the target environmental special effect and the position of the target virtual object is determined based on the adjusted distance; and / or,

[0229] In response to a distance adjustment operation on the inner ring and the outer ring of the ring component, the display width of the target environmental special effect is determined based on the adjusted distance.

[0230] Based on the distance and / or the display width, the target special effect display range of the target environmental special effect relative to the target virtual object is obtained.

[0231] In some embodiments, the target environmental special effect includes a plurality of target environmental special effects, and the first editing area includes a target shape component corresponding to each target environmental special effect.

[0232] The device can further include:

[0233] The switching unit is configured to, in response to a position switching operation between at least two target shape components in the first editing area, update a special effect display range of a target environmental special effect corresponding to the at least two target shape components based on a position after switching.

[0234] In some embodiments, the second determining sub-unit can be specifically configured to:

[0235] In response to a trigger operation on the target environmental special effect, display a second editing area corresponding to the target environmental special effect, the second editing area being provided with an environmental range parameter;

[0236] In response to a configuration operation on the environmental range parameter, obtain the target special effect display range.

[0237] In some embodiments, the second editing area includes a thickness parameter and a distance parameter.

[0238] The second determining sub-unit can be specifically configured to:

[0239] In response to a configuration operation on the distance parameter, determine a distance between the target environmental special effect and a position of the target virtual object based on the configured distance parameter.

[0240] In response to a configuration operation on the thickness parameter, determine a display width of the target environmental special effect based on the configured thickness parameter.

[0241] Based on the distance and the display width, obtain a target special effect display range of the target environmental special effect relative to the target virtual object.

[0242] In some embodiments, the apparatus can further include:

[0243] The first updating unit is configured to, in response to a configuration operation on the environmental range parameter, update a target shape component displayed in the first editing area based on the configured environmental range parameter.

[0244] In some embodiments, the second editing area is further provided with an environmental type editing control.

[0245] The apparatus can further include:

[0246] The second determining unit is configured to, in response to an editing operation on the environmental type editing control, determine a target special effect type from a plurality of special effect types corresponding to the target environmental special effect.

[0247] In some embodiments, the third determining sub-unit can be specifically configured to:

[0248] The environment effect information is obtained based on the target effect type under the target environment effect and the target effect display range.

[0249] In some embodiments, the apparatus can further include:

[0250] The third determining unit is configured to determine an added environment effect in response to an environment effect adding operation on the scene environment editing page.

[0251] The second updating unit is configured to update the environment effect information based on the added environment effect and an effect display range of the added environment effect relative to the target virtual object.

[0252] Embodiments of the present application disclose an editing apparatus of a virtual scene. The first display unit 301 displays a game editing scene through a graphical user interface. The game editing scene is configured to generate a corresponding game running scene in a game running stage. The second display unit 302 displays a scene environment editing page corresponding to a target virtual object in response to a scene editing instruction. The first determining unit 303 determines environment effect information corresponding to the target virtual object in response to a scene editing operation on the scene environment editing page. The environment effect information includes a target environment effect and a target effect display range of the target environment effect relative to the target virtual object. The generating unit 304 generates a game running scene corresponding to the game editing scene in response to a game running instruction. The game running scene includes the target virtual object. The rendering unit 305 renders an environment effect in the game running scene according to a position of the target virtual object and the environment effect information. In this way, the editing efficiency of the virtual scene can be improved.

[0253] Correspondingly, the present application also provides a computer device, which can be a terminal. As shown in Figure 19 Figure 19 The computer device provided by the embodiments of the present application is shown in a structural schematic diagram. The computer device 600 includes a processor 601 having one or more processing cores, a memory 602 having one or more computer readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. Those skilled in the art can understand that the computer device structure shown in the figure does not constitute a limitation on the computer device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0254] ​The processor 601 is a control center of the computer device 600, connects various parts of the computer device 600 by using various interfaces and lines, performs various functions of the computer device 600 and processes data by running or loading software programs and / or modules stored in the memory 602 and calling data stored in the memory 602, and thus monitors the computer device 600 as a whole.

[0255] In the embodiment of the present application, the processor 601 in the computer device 600 loads the instructions corresponding to the processes of one or more application programs into the memory 602, and runs the application programs stored in the memory 602 by the processor 601, so as to realize various functions according to the following steps:

[0256] The game editing scene is displayed through a graphical user interface, and the game editing scene is configured to generate a corresponding game running scene in a game running stage;

[0257] In response to a scene editing instruction, a scene environment editing page corresponding to the target virtual object is displayed;

[0258] In response to a scene editing operation on the scene environment editing page, environment special effect information corresponding to the target virtual object is determined, and the environment special effect information includes a target environment special effect and a target special effect display range of the target environment special effect relative to the target virtual object;

[0259] In response to a game running instruction, a game running scene corresponding to the game editing scene is generated, and the game running scene includes the target virtual object;

[0260] According to the position of the target virtual object and the environment special effect information, the environment special effect is rendered in the game running scene.

[0261] In some embodiments, the target virtual object is determined by the following way:

[0262] The scene environment editing page is associated with a virtual object by default;

[0263] In response to an association instruction, an associated virtual object corresponding to the scene environment editing page is determined from a set of virtual objects to be associated;

[0264] The set of virtual objects to be associated includes at least one of the following: a virtual object component located in the game editing scene, and a selectable virtual object provided by a system.

[0265] In some embodiments, the scene environment editing page provides at least one candidate environment special effect;

[0266] In response to a scene editing operation on the scene environment editing page, the environment special effect information corresponding to the target virtual object is determined, including:

[0267] in response to a selection operation for the at least one candidate environmental special effect, determining a target environmental special effect;

[0268] in response to a display range editing operation for the target environmental special effect, determining a target special effect display range;

[0269] based on the target environmental special effect and the target special effect display range, obtaining environmental special effect information.

[0270] In some embodiments, the scene environment editing page includes a first editing area;

[0271] in response to a display range editing operation for the target environmental special effect, determining a target special effect display range, includes:

[0272] displaying, through the first editing area, a range editing component corresponding to the target environmental special effect, the range editing component being available for editing a special effect display range of the environmental special effect;

[0273] in response to an editing operation for the range editing component, determining the target special effect display range.

[0274] In some embodiments, the first editing area includes an object identifier of the target virtual object, and the range editing component is a target shape component;

[0275] displaying, through the first editing area, a range editing component corresponding to the target environmental special effect, includes:

[0276] displaying, in the first editing area, the object identifier and the target shape component in a first relative positional relationship.

[0277] In some embodiments, the shape of the target shape component includes a ring shape or other shapes.

[0278] In some embodiments, the setting manner of the shape of the target shape component includes at least one of:

[0279] system default setting;

[0280] player self-defined setting;

[0281] player selection from a plurality of shapes provided by the system.

[0282] In some embodiments, the target shape component is a ring component; in response to an editing operation for the range editing component, determining the target special effect display range, includes:

[0283] in response to a distance adjustment operation for the ring component and the object identifier, determining a distance between the target environmental special effect and a position of the target virtual object based on the adjusted distance;

[0284] In response to a distance adjustment operation for the inner ring and the outer ring of the ring-shaped component, a display width of the target environmental special effect is determined based on the adjusted distance.

[0285] Based on the distance and / or the display width, a target special effect display range of the target environmental special effect relative to the target virtual object is obtained.

[0286] In some embodiments, in response to an editing operation for the range editing component, the target special effect display range is determined, including:

[0287] In response to a distance adjustment operation for the distance between the target shape component and the object identifier, a distance between the target environmental special effect and the position of the target virtual object is determined based on the adjusted distance.

[0288] Based on the distance, the target special effect display range is determined.

[0289] In some embodiments, the target shape component is a ring-shaped component; in response to an editing operation for the range editing component, the target special effect display range is determined, including:

[0290] In response to a distance adjustment operation for the inner ring and the outer ring of the ring-shaped component, a display width of the target environmental special effect is determined based on the adjusted distance.

[0291] Based on the display width, the target special effect display range is determined.

[0292] In some embodiments, the target environmental special effect includes a plurality of target environmental special effects, and each target environmental special effect corresponds to a target shape component in the first editing area.

[0293] The method further includes:

[0294] In response to a position switching operation between at least two target shape components in the first editing area, the special effect display range of the target environmental special effect corresponding to the at least two target shape components is updated based on the switched position.

[0295] In some embodiments, in response to a display range editing operation for the target environmental special effect, the target special effect display range is determined, including:

[0296] In response to a triggering operation for the target environmental special effect, a second editing area corresponding to the target environmental special effect is displayed, and the second editing area is provided with an environmental range parameter.

[0297] In response to a configuration operation for the environmental range parameter, the target special effect display range is obtained.

[0298] In some embodiments, the second editing area includes a thickness parameter and a distance parameter.

[0299] In response to a configuration operation for the environmental range parameter, the target special effect display range is obtained, including:

[0300] in response to the configuration operation for the distance parameter, determining a distance between the target environmental special effect and the position of the target virtual object based on the configured distance parameter;

[0301] in response to the configuration operation for the thickness parameter, determining a display width of the target environmental special effect based on the configured thickness parameter;

[0302] based on the distance and the display width, obtaining a target special effect display range of the target environmental special effect relative to the target virtual object.

[0303] In some embodiments, the method further comprises:

[0304] in response to the configuration operation for the environmental range parameter, updating the target shape component displayed in the first editing area based on the configured environmental range parameter.

[0305] In some embodiments, the second editing area is further provided with an environmental type editing control;

[0306] The method further comprises:

[0307] in response to the editing operation for the environmental type editing control, determining a target special effect type from the multiple special effect types corresponding to the target environmental special effect;

[0308] based on the target environmental special effect and the target special effect display range, obtaining environmental special effect information, comprising:

[0309] based on the target special effect type under the target environmental special effect and the target special effect display range, obtaining the environmental special effect information.

[0310] In some embodiments, the method further comprises:

[0311] in response to an environmental special effect adding operation for the scene environment editing page, determining an added environmental special effect;

[0312] based on the added environmental special effect and a special effect display range of the added environmental special effect relative to the target virtual object, updating the environmental special effect information.

[0313] The scheme displays a scene environment editing page corresponding to the target virtual object in response to a scene editing instruction; determines environment special effect information corresponding to the target virtual object in response to a scene editing operation on the scene environment editing page, the environment special effect information including: a target environment special effect and a target special effect display range of the target environment special effect relative to the target virtual object; displays a game page of the target game, and renders the environment special effect in a game running scene according to the position of the target virtual object and the environment special effect information. In this way, by setting the display range of the environment special effect corresponding to the virtual object, the display area of the environment special effect can be controlled according to the position of the virtual object in the virtual scene, which is convenient to operate, thereby improving the editing efficiency of the virtual scene.

[0314] The specific implementation of each operation can refer to the foregoing embodiments, which will not be described here.

[0315] Optionally, as shown in Figure 19 The computer device 600 further includes a touch display screen 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected with the touch display screen 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607, respectively. Those skilled in the art can understand that the computer device structure shown in the figure does not constitute a limitation on the computer device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements. Figure 19 The computer device structure shown in the figure does not constitute a limitation on the computer device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0316] The touch display screen 603 can be used to display a graphical user interface and receive operation instructions generated by user acting on the graphical user interface. The touch display screen 603 can include a display panel and a touch panel. The display panel can be used to display information input by the user or provided to the user and various graphical user interfaces of the computer device, which can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED) or the like. The touch panel can be used to collect touch operations (such as operations of the user using a finger, a stylus or any suitable object or accessory on or near the touch panel) of the user thereon or therearound, and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel can include two parts of a touch detection device and a touch controller. The touch detection device detects the touch position of the user and detects signals generated by the touch operation, and transmits the signals to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into touch coordinates, and then sends it to the processor 601, and can also receive commands from the processor 601 and execute them. The touch panel can cover the display panel, and when the touch panel detects a touch operation thereon or therearound, it transmits to the processor 601 to determine the type of the touch event, and then the processor 601 provides corresponding visual output on the display panel according to the type of the touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 603 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can realize the input and output functions as two independent components. That is, the touch display screen 603 can also realize the input function as part of the input unit 606.

[0317] The radio frequency circuit 604 can be used to transceive radio frequency signals to establish wireless communication with network devices or other computer devices, and transceive signals between network devices or other computer devices.

[0318] The audio circuit 605 can be used to provide an audio interface between the user and the computer device through the speaker and the microphone. The audio circuit 605 can convert the received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal output. On the other hand, the microphone collects sound signals and converts them into electrical signals, which are received by the audio circuit 605 and converted into audio data. After being processed by the processor 601, the audio data is transmitted to another computer device through the radio frequency circuit 604, or output to the memory 602 for further processing. The audio circuit 605 can also include an earphone jack to provide communication between an external earphone and the computer device.

[0319] The input unit 606 can be configured to receive inputted digital, character information or user feature information (e.g., fingerprint, iris, face information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0320] The power supply 607 is configured to supply power to various components of the computer device 600. Optionally, the power supply 607 can be logically connected to the processor 601 through a power management system, so as to realize functions such as management of charging, discharging and power consumption management through the power management system. The power supply 607 can also include one or more direct current or alternating current power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, etc.

[0321] Although Figure 19 The computer device 600 can also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which are not described herein.

[0322] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.

[0323] As can be seen from the above, the computer device provided in the embodiment can display a game editing scene through a graphical user interface, the game editing scene is configured to generate a corresponding game running scene in a game running stage; in response to a scene editing instruction, a scene environment editing page corresponding to a target virtual object is displayed; in response to a scene editing operation on the scene environment editing page, environment special effect information corresponding to the target virtual object is determined, the environment special effect information includes: a target environment special effect and a target special effect display range of the target environment special effect relative to the target virtual object; in response to a game running instruction, a game running scene corresponding to the game editing scene is generated, the game running scene includes the target virtual object; and the environment special effect is rendered in the game running scene according to the position of the target virtual object and the environment special effect information.

[0324] Those skilled in the art can understand that all or part of the steps of the various methods in the above embodiments can be completed by instructions, or by related hardware controlled by the instructions, the instructions can be stored in a computer readable storage medium and loaded and executed by a processor.

[0325] To this end, the embodiment of the present application provides a computer readable storage medium, which stores a plurality of computer programs. The computer programs can be loaded by a processor to execute the steps in any of the editing methods of the virtual scene provided by the embodiments of the present application. For example, the computer programs can execute the following steps:

[0326] display a game editing scene through a graphical user interface, the game editing scene being configured to generate a corresponding game running scene in a game running stage;

[0327] in response to a scene editing instruction, display a scene environment editing page corresponding to the target virtual object;

[0328] in response to a scene editing operation on the scene environment editing page, determine environment special effect information corresponding to the target virtual object, the environment special effect information including: a target environment special effect and a target special effect display range of the target environment special effect relative to the target virtual object;

[0329] in response to a game running instruction, generate a game running scene corresponding to the game editing scene, the game running scene including the target virtual object;

[0330] render the environment special effect in the game running scene according to the position of the target virtual object and the environment special effect information.

[0331] In some embodiments, the target virtual object is determined by the following way:

[0332] a default associated virtual object of the scene environment editing page;

[0333] in response to an association instruction, determine an associated virtual object corresponding to the scene environment editing page from a set of virtual objects to be associated;

[0334] wherein the set of virtual objects to be associated includes at least one of: a virtual object component located in the game editing scene, and a selectable virtual object provided by a system.

[0335] In some embodiments, the scene environment editing page provides at least one candidate environment special effect;

[0336] in response to a scene editing operation on the scene environment editing page, determining the environment special effect information corresponding to the target virtual object, includes:

[0337] in response to a selection operation on the at least one candidate environment special effect, determining the target environment special effect;

[0338] in response to a display range editing operation on the target environment special effect, determining the target special effect display range;

[0339] based on the target environment special effect and the target special effect display range, obtaining the environment special effect information.

[0340] In some embodiments, the scene environment editing page includes a first editing area;

[0341] in response to a display range editing operation on the target environment special effect, determining the target special effect display range, includes:

[0342] The first editing area displays a range editing component corresponding to the target environmental effect special effect, and the range editing component is used for editing a special effect display range of the environmental effect special effect;

[0343] In response to an editing operation on the range editing component, a target special effect display range is determined.

[0344] In some embodiments, the object identifier including the target virtual object in the first editing area is a target shape component;

[0345] The first editing area displays a range editing component corresponding to the target environmental effect special effect, and the range editing component is used for editing a special effect display range of the environmental effect special effect, including:

[0346] In the first editing area, the object identifier and the target shape component are displayed in a first relative position relationship.

[0347] In some embodiments, the shape of the target shape component includes a ring shape or other shapes.

[0348] In some embodiments, the setting mode of the shape of the target shape component includes at least one of the following:

[0349] System default setting;

[0350] Player self-defined setting;

[0351] The player selects a setting from a plurality of shapes provided by the system.

[0352] In some embodiments, the target shape component is a ring component; in response to an editing operation on the range editing component, a target special effect display range is determined, including:

[0353] In response to a distance adjustment operation on the ring component and the object identifier, a distance between the target environmental effect special effect and the position of the target virtual object is determined based on the adjusted distance;

[0354] In response to a distance adjustment operation on the inner ring and the outer ring of the ring component, a display width of the target environmental effect special effect is determined based on the adjusted distance;

[0355] Based on the distance and / or the display width, a target special effect display range of the target environmental effect special effect relative to the target virtual object is obtained.

[0356] In some embodiments, in response to an editing operation on the range editing component, a target special effect display range is determined, including:

[0357] In response to a distance adjustment operation on the target shape component and the object identifier, a distance between the target environmental effect special effect and the position of the target virtual object is determined based on the adjusted distance;

[0358] Based on the distance, a target special effect display range is determined.

[0359] In some embodiments, the target shape component is a ring component; in response to an editing operation on the range editing component, the target special effect display range is determined, including:

[0360] In response to a distance adjustment operation on the inner ring and the outer ring of the ring component, a display width of the target environment special effect is determined based on the adjusted distance;

[0361] Based on the display width, the target special effect display range is determined.

[0362] In some embodiments, the target environment special effect includes a plurality of, and the first editing area includes a target shape component corresponding to each target environment special effect respectively;

[0363] The method further includes:

[0364] In response to a position switching operation between at least two target shape components in the first editing area, the special effect display range of the target environment special effect corresponding to the at least two target shape components is updated based on the switched position.

[0365] In some embodiments, in response to a display range editing operation on the target environment special effect, the target special effect display range is determined, including:

[0366] In response to a trigger operation on the target environment special effect, a second editing area corresponding to the target environment special effect is displayed, and the second editing area is provided with an environment range parameter;

[0367] In response to a configuration operation on the environment range parameter, the target special effect display range is obtained.

[0368] In some embodiments, the second editing area includes a thickness parameter and a distance parameter;

[0369] In response to a configuration operation on the environment range parameter, the target special effect display range is obtained, including:

[0370] In response to a configuration operation on the distance parameter, a distance between the target environment special effect and the position of the target virtual object is determined based on the configured distance parameter;

[0371] In response to a configuration operation on the thickness parameter, a display width of the target environment special effect is determined based on the configured thickness parameter;

[0372] Based on the distance and the display width, the target special effect display range of the target environment special effect relative to the target virtual object is obtained.

[0373] In some embodiments, the method further includes:

[0374] In response to the configuration operation on the environment range parameter, the target shape component in the first editing area is updated based on the configured environment range parameter.

[0375] In some embodiments, the second editing area is further provided with an environment type editing control;

[0376] The method further includes:

[0377] In response to the editing operation on the environment type editing control, a target special effect type is determined from the multiple special effect types corresponding to the target environment special effect;

[0378] Based on the target environment special effect and the target special effect display range, environment special effect information is obtained, including:

[0379] Based on the target special effect type under the target environment special effect and the target special effect display range, the environment special effect information is obtained.

[0380] In some embodiments, the method further includes:

[0381] In response to the environment special effect adding operation on the scene environment editing page, an added environment special effect is determined;

[0382] Based on the added environment special effect and the special effect display range of the added environment special effect relative to the target virtual object, the environment special effect information is updated.

[0383] The present scheme displays a scene environment editing page corresponding to a target virtual object in response to a scene editing instruction; determines environment special effect information corresponding to the target virtual object in response to a scene editing operation on the scene environment editing page, the environment special effect information including: a target environment special effect and a target special effect display range of the target environment special effect relative to the target virtual object; displays a game page of a target game, and renders the environment special effect in a game running scene according to the position of the target virtual object and the environment special effect information. In this way, by setting the display range of the environment special effect corresponding to the virtual object, the display area of the environment special effect can be controlled according to the position of the virtual object in the virtual scene, which is convenient to operate, thereby improving the editing efficiency of the virtual scene.

[0384] The specific implementation of each operation can be referred to the foregoing embodiments, which will not be described here.

[0385] The storage medium can include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0386] Since the computer program stored in the storage medium can execute the steps in any of the virtual scene editing methods provided by the embodiments of the present application, the beneficial effects that can be achieved by any of the virtual scene editing methods provided by the embodiments of the present application can be achieved. For details, see the foregoing embodiments, which will not be repeated here.

[0387] The above describes in detail the virtual scene editing method, device, storage medium and computer device provided by the embodiments of the present application. The principles and implementation manners of the present application are described by applying specific examples. The above description of the embodiments is only used to help understand the method and its core idea of the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manners and application ranges will be changed. In summary, the content of the specification should not be understood as a limitation of the present application.

Claims

1. A method of editing a virtual scene, characterized by, The method comprises: displaying a game editing scene through a graphical user interface, the game editing scene being configured to generate a corresponding game running scene in a game running stage; in response to a scene editing instruction, displaying a scene environment editing page corresponding to a target virtual object, the scene environment editing page providing at least one candidate environment special effect and a first editing area; in response to a scene editing operation on the scene environment editing page, determining environment special effect information corresponding to the target virtual object, the environment special effect information comprising: a target environment special effect and a target special effect display range of the target environment special effect relative to the target virtual object; in response to a game running instruction, generating a game running scene corresponding to the game editing scene, the game running scene comprising a target virtual object; rendering an environment special effect in the game running scene according to a position of the target virtual object and the environment special effect information; the response to the scene editing operation on the scene environment editing page to determine the environment special effect information corresponding to the target virtual object comprises: in response to a selection operation on the at least one candidate environment special effect, determining the target environment special effect; in response to a display range editing operation on the target environment special effect, determining the target special effect display range; based on the target environment special effect and the target special effect display range, obtaining the environment special effect information; the response to the display range editing operation on the target environment special effect to determine the target special effect display range comprises: displaying a range editing component corresponding to the target environment special effect through the first editing area, the range editing component being available for editing a special effect display range of an environment special effect; in response to an editing operation on the range editing component, determining the target special effect display range.

2. The method of claim 1, wherein, The target virtual object is determined in the following manner: a default associated virtual object of the scene environment editing page; in response to an association instruction, determining an associated virtual object corresponding to the scene environment editing page from a set of virtual objects to be associated; wherein the set of virtual objects to be associated comprises at least one of: a virtual object component in the game editing scene, and a selectable virtual object provided by a system.

3. The method of claim 1, wherein, The first editing area comprises an object identifier of the target virtual object, and the range editing component is a target shape component; the displaying of the range editing component corresponding to the target environment special effect through the first editing area comprises: in the first editing area, displaying the object identifier and the target shape component in a first relative positional relationship.

4. The method of claim 3, wherein, The shape of the target shape component comprises a ring shape or another shape.

5. The method of claim 3, wherein, The shape of the target shape component is set in at least one of the following manners: system default setting; player self-defined setting; player selection from a plurality of shapes provided by a system.

6. The method of claim 3, wherein, The target shape component is a ring component; and the response to the editing operation on the range editing component to determine the target special effect display range comprises: in response to a distance adjustment operation for the ring-shaped component and the object identifier, determining a distance between the target environmental effect and a position of the target virtual object based on the adjusted distance; in response to a distance adjustment operation for an inner ring and an outer ring of the ring-shaped component, determining a display width of the target environmental effect based on the adjusted distance; based on the distance and / or the display width, obtaining a target effect display range of the target environmental effect relative to the target virtual object.

7. The method of claim 3, wherein, The determining the target effect display range in response to the editing operation for the range editing component includes: in response to a distance adjustment operation for the target shape component and the object identifier, determining a distance between the target environmental effect and a position of the target virtual object based on the adjusted distance; based on the distance, determining the target effect display range.

8. The method of claim 3, wherein, The target shape component is a ring-shaped component; and the determining the target effect display range in response to the editing operation for the range editing component includes: in response to a distance adjustment operation for an inner ring and an outer ring of the ring-shaped component, determining a display width of the target environmental effect based on the adjusted distance; based on the display width, determining the target effect display range.

9. The method of claim 3, wherein, The target environmental effect includes a plurality of target environmental effects, and each target shape component in the first editing area corresponds to a target environmental effect. The method further includes: in response to a position switching operation between at least two target shape components in the first editing area, updating effect display ranges of target environmental effects corresponding to the at least two target shape components based on the switched positions.

10. The method of claim 1, wherein, The determining the target effect display range in response to the display range editing operation for the target environmental effect includes: in response to a trigger operation for the target environmental effect, displaying a second editing area corresponding to the target environmental effect, the second editing area being provided with an environmental range parameter; in response to a configuration operation for the environmental range parameter, obtaining the target effect display range.

11. The method of claim 10, wherein, The second editing area includes a thickness parameter and a distance parameter; The obtaining the target effect display range in response to the configuration operation for the environmental range parameter includes: in response to a configuration operation for the distance parameter, determining a distance between the target environmental effect and a position of the target virtual object based on the configured distance parameter; in response to a configuration operation for the thickness parameter, determining a display width of the target environmental effect based on the configured thickness parameter; based on the distance and the display width, obtaining a target effect display range of the target environmental effect relative to the target virtual object.

12. The method of claim 10, wherein, The method further includes: in response to the configuration operation for the environmental range parameter, updating the target shape component in the first editing area based on the configured environmental range parameter.

13. The method of claim 10, wherein, The second editing area is further provided with an environmental type editing control; The method further includes: in response to an editing operation for the environmental type editing control, determining a target environmental type from a plurality of effect types corresponding to the target environmental effect; and in response to a distance adjustment operation for the ring-shaped component and the object identifier, determining a distance between the target environmental effect and a position of the target virtual object based on the adjusted distance; in response to a distance adjustment operation for an inner ring and an outer ring of the ring-shaped component, determining a display width of the target environmental effect based on the adjusted distance; based on the distance and / or the display width, obtaining a target effect display range of the target environmental effect relative to the target virtual object. The determining the target effect display range in response to the editing operation for the range editing component includes: in response to a distance adjustment operation for the target shape component and the object identifier, determining a distance between the target environmental effect and a position of the target virtual object based on the adjusted distance; based on the distance, determining the target effect display range. The target shape component is a ring-shaped component; and the determining the target effect display range in response to the editing operation for the range editing component includes: in response to a distance adjustment operation for an inner ring and an outer ring of the ring-shaped component, determining a display width of the target environmental effect based on the adjusted distance; based on the display width, determining the target effect display range. The target environmental effect includes a plurality of target environmental effects, and each target shape component in the first editing area corresponds to a target environmental effect. The method further includes: in response to a position switching operation between at least two target shape components in the first editing area, updating effect display ranges of target environmental effects corresponding to the at least two target shape components based on the switched positions. The determining the target effect display range in response to the display range editing operation for the target environmental effect includes: in response to a trigger operation for the target environmental effect, displaying a second editing area corresponding to the target environmental effect, the second editing area being provided with an environmental range parameter; in response to a configuration operation for the environmental range parameter, obtaining the target effect display range. The second editing area includes a thickness parameter and a distance parameter; The obtaining the target effect display range in response to the configuration operation for the environmental range parameter includes: in response to a configuration operation for the distance parameter, determining a distance between the target environmental effect and a position of the target virtual object based on the configured distance parameter; in response to a configuration operation for the thickness parameter, determining a display width of the target environmental effect based on the configured thickness parameter; based on the distance and the display width, obtaining a target effect display range of the target environmental effect relative to the target virtual object. The method further includes: in response to the configuration operation for the environmental range parameter, updating the target shape component in the first editing area based on the configured environmental range parameter. The second editing area is further provided with an environmental type editing control; The method further includes: in response to an editing operation for the environmental type editing control, determining a target environmental type from a plurality of effect types corresponding to the target environmental effect; and The environment effect information is obtained based on the target environment effect and the target effect display range. The environment effect information is obtained based on the target environment effect and the target effect display range.

14. The method of claim 1, wherein, The method further includes: In response to an environment effect adding operation on the scene environment editing page, determining an added environment effect; Based on the added environment effect and an effect display range of the added environment effect relative to the target virtual object, updating the environment effect information.

15. An editing apparatus of a virtual scene, characterized by comprising: The device includes: A first display unit configured to display a game editing scene through a graphical user interface, the game editing scene being configured to generate a corresponding game running scene in a game running stage; A second display unit configured to display a scene environment editing page corresponding to a target virtual object in response to a scene editing instruction, the scene environment editing page providing at least one candidate environment effect and a first editing area; A first determination unit configured to determine environment effect information corresponding to the target virtual object in response to a scene editing operation on the scene environment editing page, the environment effect information including a target environment effect and a target effect display range of the target environment effect relative to the target virtual object; A generation unit configured to generate a game running scene corresponding to the game editing scene in response to a game running instruction, the game running scene including a target virtual object; A rendering unit configured to render an environment effect in the game running scene according to a position of the target virtual object and the environment effect information; The first determination unit includes: A first determination sub-unit configured to determine the target environment effect in response to a selection operation on the at least one candidate environment effect; A second determination sub-unit configured to determine the target effect display range in response to a display range editing operation on the target environment effect; A third determination sub-unit configured to obtain the environment effect information based on the target environment effect and the target effect display range; The second determination sub-unit is specifically configured to: Display a range editing component corresponding to the target environment effect through the first editing area, the range editing component being available for editing an effect display range of an environment effect; Determine the target effect display range in response to an editing operation on the range editing component.

16. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein, The processor implements the editing method of a virtual scene according to any one of claims 1 to 14 when executing the program.

17. A storage medium, characterized by The storage medium stores a plurality of instructions, which are adapted to be loaded by the processor to execute the editing method of a virtual scene according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Scene editing method, device and equipment and computer readable medium

    CN114288668A

  • Method and device for generating two-dimensional object in three-dimensional scene, equipment and medium

    CN117732079A